2024-05-14 13:03.50: New job: test inhabitedtype/ocaml-dispatch https://github.com/inhabitedtype/ocaml-dispatch.git#refs/heads/master (388dfd121b8fe464d0d6960e13d0c93ce59a8fbc) (linux-x86_64:(lower-bound))
Base: ocaml/opam@sha256:6fd204445a42318dec1d522862f1a0c262f02010d04aaeaa4d301d1d77e01290
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/inhabitedtype/ocaml-dispatch.git" -b "master" && cd "ocaml-dispatch" && git reset --hard 388dfd12
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:6fd204445a42318dec1d522862f1a0c262f02010d04aaeaa4d301d1d77e01290
# debian-12-4.03_opam-2.1
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
WORKDIR /src
RUN sudo chown opam /src
RUN cd ~/opam-repository && (git cat-file -e 819388d34cb9356eecd0223a468956daaae1705a || git fetch origin master) && git reset -q --hard 819388d34cb9356eecd0223a468956daaae1705a && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 dispatch.opam dispatch-js.opam ./
RUN opam pin add -yn dispatch.dev './' && \
opam pin add -yn dispatch-js.dev './'
ENV DEPS="alcotest.0.6.0 astring.0.8.0 base-bigarray.base base-bytes.base base-num.base base-threads.base base-unix.base biniou.1.0.5 cmdliner.0.9.8 conf-m4.1 cppo.1.1.0 dune.1.11.1 easy-format.1.0.1 fmt.0.7.1 jbuilder.transition js_of_ocaml.3.5.0 js_of_ocaml-compiler.3.5.0 js_of_ocaml-lwt.3.5.0 js_of_ocaml-ppx.3.5.0 lwt.4.2.0 mmap.1.0.2 num.0 ocaml.4.03.0 ocaml-base-compiler.4.03.0 ocaml-config.1 ocaml-migrate-parsetree.1.4.0 ocamlbuild.0.9.0 ocamlfind.1.6.2 ppx_derivers.1.0 ppx_tools_versioned.5.2.3 result.1.0 seq.0.1 topkg.0.7.5 uchar.0.0.1 yojson.1.0.3"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y dispatch.dev dispatch-js.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build @install @check @runtest && rm -rf _build
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2024-05-14 13:03.50: Using cache hint "inhabitedtype/ocaml-dispatch-ocaml/opam@sha256:6fd204445a42318dec1d522862f1a0c262f02010d04aaeaa4d301d1d77e01290-debian-12-4.03_opam-2.1-d357c1fbcba5d06944a6adb3ac8e63ca"
2024-05-14 13:03.50: Using OBuilder spec:
((from ocaml/opam@sha256:6fd204445a42318dec1d522862f1a0c262f02010d04aaeaa4d301d1d77e01290)
(comment debian-12-4.03_opam-2.1)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
(run (shell "opam init --reinit -ni"))
(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
(workdir /src)
(run (shell "sudo chown opam /src"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 819388d34cb9356eecd0223a468956daaae1705a || git fetch origin master) && git reset -q --hard 819388d34cb9356eecd0223a468956daaae1705a && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src dispatch.opam dispatch-js.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn dispatch.dev './' && \
\nopam pin add -yn dispatch-js.dev './'"))
(env DEPS "alcotest.0.6.0 astring.0.8.0 base-bigarray.base base-bytes.base base-num.base base-threads.base base-unix.base biniou.1.0.5 cmdliner.0.9.8 conf-m4.1 cppo.1.1.0 dune.1.11.1 easy-format.1.0.1 fmt.0.7.1 jbuilder.transition js_of_ocaml.3.5.0 js_of_ocaml-compiler.3.5.0 js_of_ocaml-lwt.3.5.0 js_of_ocaml-ppx.3.5.0 lwt.4.2.0 mmap.1.0.2 num.0 ocaml.4.03.0 ocaml-base-compiler.4.03.0 ocaml-config.1 ocaml-migrate-parsetree.1.4.0 ocamlbuild.0.9.0 ocamlfind.1.6.2 ppx_derivers.1.0 ppx_tools_versioned.5.2.3 result.1.0 seq.0.1 topkg.0.7.5 uchar.0.0.1 yojson.1.0.3")
(env CI true)
(env OCAMLCI true)
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.1 --depext-only -y dispatch.dev dispatch-js.dev $DEPS"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst /src))
(run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
)
2024-05-14 13:03.50: Waiting for resource in pool OCluster
2024-05-14 13:03.54: Waiting for worker…
2024-05-14 13:03.54: Got resource from pool OCluster
Building on x86-bm-c7.sw.ocaml.org
All commits already cached
HEAD is now at 388dfd1 Merge pull request #30 from anuragsoni/update-readme
(from ocaml/opam@sha256:6fd204445a42318dec1d522862f1a0c262f02010d04aaeaa4d301d1d77e01290)
Unable to find image 'ocaml/opam@sha256:6fd204445a42318dec1d522862f1a0c262f02010d04aaeaa4d301d1d77e01290' locally
docker.io/ocaml/opam@sha256:6fd204445a42318dec1d522862f1a0c262f02010d04aaeaa4d301d1d77e01290: Pulling from ocaml/opam
84082c1d7b36: Pulling fs layer
84082c1d7b36: Verifying Checksum
84082c1d7b36: Download complete
84082c1d7b36: Pull complete
Digest: sha256:6fd204445a42318dec1d522862f1a0c262f02010d04aaeaa4d301d1d77e01290
Status: Downloaded newer image for ocaml/opam@sha256:6fd204445a42318dec1d522862f1a0c262f02010d04aaeaa4d301d1d77e01290
2024-05-14 13:05.54 ---> saved as "c13fd511d8f07c459ff1f91254c2010ec19e559cfccc25ffa7b9832650bfc458"
/: (comment debian-12-4.03_opam-2.1)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2024-05-14 13:05.54 ---> saved as "26aeff56ca68cd58f5a591ad8b6826464c1dbcd8f6294a87f3e1aaa980cb2ef8"
/src: (run (shell "opam init --reinit -ni"))
Configuring from /home/opam/.opamrc and then from built-in defaults.
Checking for available remotes: rsync and local, git.
- you won't be able to use mercurial repositories unless you install the hg command on your system.
- you won't be able to use darcs repositories unless you install the darcs command on your system.
This version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.1, which can't be reverted.
You may want to back it up before going further.
Continue? [Y/n] y
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-05-14 13:07.06 ---> saved as "fea9f90b78a779a8fc74502fbae0d767f794b57922519577f21f911b40de9d6e"
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-106-generic
The OCaml toplevel, version 4.03.0
2.1.5
2024-05-14 13:07.06 ---> saved as "be9e851b7c71b2f58900eba10fa3396a16a54ae49b42d40286dfb1b1e914ebc8"
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-05-14 13:07.06 ---> saved as "93f89608b33cc5ff6df5693f97a2920f0a86216d1a6c5a1ef0b7545f3d235b37"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 819388d34cb9356eecd0223a468956daaae1705a || git fetch origin master) && git reset -q --hard 819388d34cb9356eecd0223a468956daaae1705a && git log --no-decorate -n1 --oneline && opam update -u"))
819388d34c @dra27 maintains the OCaml Museum
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# Run eval $(opam env) to update the current shell environment
2024-05-14 13:08.09 ---> saved as "7c2116cb0d976605743b41fd854c580a2fcbf3cfb4e3f4a3a16f1c0eca06b33a"
/src: (copy (src dispatch.opam dispatch-js.opam) (dst ./))
2024-05-14 13:08.09 ---> saved as "dad0d351ac70402027a2f17edf555ac7cb4b875d8860f908d938a195705326d2"
/src: (run (network host)
(shell "opam pin add -yn dispatch.dev './' && \
\nopam pin add -yn dispatch-js.dev './'"))
[dispatch.dev] synchronised (file:///src)
dispatch is now pinned to file:///src (version dev)
[dispatch-js.dev] synchronised (file:///src)
dispatch-js is now pinned to file:///src (version dev)
2024-05-14 13:08.13 ---> saved as "f12041f58ece0e994a01642bb1d90f610f2392536977ac2aefd0b58af678fcc0"
/src: (env DEPS "alcotest.0.6.0 astring.0.8.0 base-bigarray.base base-bytes.base base-num.base base-threads.base base-unix.base biniou.1.0.5 cmdliner.0.9.8 conf-m4.1 cppo.1.1.0 dune.1.11.1 easy-format.1.0.1 fmt.0.7.1 jbuilder.transition js_of_ocaml.3.5.0 js_of_ocaml-compiler.3.5.0 js_of_ocaml-lwt.3.5.0 js_of_ocaml-ppx.3.5.0 lwt.4.2.0 mmap.1.0.2 num.0 ocaml.4.03.0 ocaml-base-compiler.4.03.0 ocaml-config.1 ocaml-migrate-parsetree.1.4.0 ocamlbuild.0.9.0 ocamlfind.1.6.2 ppx_derivers.1.0 ppx_tools_versioned.5.2.3 result.1.0 seq.0.1 topkg.0.7.5 uchar.0.0.1 yojson.1.0.3")
/src: (env CI true)
/src: (env OCAMLCI true)
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.1 --depext-only -y dispatch.dev dispatch-js.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Fetched 103 kB in 0s (479 kB/s)
- Reading package lists...
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[dispatch.dev] synchronised (no changes)
[dispatch-js.dev] synchronised (no changes)
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.03.0).
[NOTE] Package ocaml is already installed (current version is 4.03.0).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
The following system packages will first need to be installed:
m4
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "m4"
- debconf: delaying package configuration, since apt-utils is not installed
2024-05-14 13:08.28 ---> saved as "6440957e8ee087022a549dc4ef4cddde0f82a9e7158601b416e557f8a3616875"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.03.0).
[NOTE] Package ocaml is already installed (current version is 4.03.0).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
The following actions will be performed:
- install conf-m4 1
- install ocamlbuild 0.9.0
- install base-num base
- install result 1.0
- install dune 1.11.1
- install uchar 0.0.1
- install cmdliner 0.9.8
- install num 0
- install mmap 1.0.2
- install jbuilder transition
- install ocamlfind 1.6.2
- install ppx_derivers 1.0
- install topkg 0.7.5
- install seq 0.1
- install fmt 0.7.1
- install easy-format 1.0.1
- install cppo 1.1.0
- install base-bytes base
- install ocaml-migrate-parsetree 1.4.0
- install biniou 1.0.5
- install lwt 4.2.0
- install astring 0.8.0
- install ppx_tools_versioned 5.2.3
- install yojson 1.0.3
- install alcotest 0.6.0
- install js_of_ocaml-compiler 3.5.0
- install js_of_ocaml 3.5.0
- install js_of_ocaml-ppx 3.5.0
- install js_of_ocaml-lwt 3.5.0
===== 29 to install =====
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed base-num.base
-> retrieved astring.0.8.0 (cached)
-> retrieved alcotest.0.6.0 (https://github.com/mirage/alcotest/releases/download/0.6.0/alcotest-0.6.0.tbz)
-> retrieved biniou.1.0.5 (https://github.com/mjambon/biniou/archive/v1.0.5.tar.gz)
-> retrieved cmdliner.0.9.8 (cached)
-> retrieved cppo.1.1.0 (cached)
-> installed conf-m4.1
-> retrieved easy-format.1.0.1 (cached)
-> retrieved fmt.0.7.1 (http://erratique.ch/software/fmt/releases/fmt-0.7.1.tbz)
-> retrieved js_of_ocaml.3.5.0 (cached)
-> retrieved js_of_ocaml-compiler.3.5.0 (cached)
-> retrieved js_of_ocaml-lwt.3.5.0 (cached)
-> retrieved js_of_ocaml-ppx.3.5.0 (cached)
-> retrieved lwt.4.2.0 (cached)
-> installed num.0
-> retrieved mmap.1.0.2 (cached)
-> retrieved ocamlbuild.0.9.0 (cached)
-> retrieved ocamlfind.1.6.2 (cached)
-> retrieved ocaml-migrate-parsetree.1.4.0 (cached)
-> retrieved ppx_derivers.1.0 (cached)
-> retrieved result.1.0 (cached)
-> retrieved ppx_tools_versioned.5.2.3 (cached)
-> retrieved dune.1.11.1 (https://github.com/ocaml/dune/releases/download/1.11.1/dune-build-info-1.11.1.tbz)
-> installed result.1.0
-> retrieved topkg.0.7.5 (cached)
-> retrieved seq.0.1 (https://github.com/c-cube/seq/archive/0.1.tar.gz)
-> retrieved uchar.0.0.1 (https://github.com/ocaml/uchar/releases/download/v0.0.1/uchar-0.0.1.tbz)
-> retrieved yojson.1.0.3 (https://github.com/mjambon/yojson/archive/v1.0.3.tar.gz)
-> installed ocamlbuild.0.9.0
-> installed uchar.0.0.1
-> installed cmdliner.0.9.8
-> installed ocamlfind.1.6.2
-> installed base-bytes.base
-> installed seq.0.1
-> installed fmt.0.7.1
-> installed easy-format.1.0.1
-> installed astring.0.8.0
-> installed biniou.1.0.5
-> installed cppo.1.1.0
-> installed topkg.0.7.5
-> installed alcotest.0.6.0
-> installed yojson.1.0.3
-> installed dune.1.11.1
-> installed jbuilder.transition
-> installed ppx_derivers.1.0
-> installed mmap.1.0.2
-> installed lwt.4.2.0
-> installed ocaml-migrate-parsetree.1.4.0
-> installed ppx_tools_versioned.5.2.3
-> installed js_of_ocaml-compiler.3.5.0
-> installed js_of_ocaml.3.5.0
-> installed js_of_ocaml-ppx.3.5.0
-> installed js_of_ocaml-lwt.3.5.0
Done.
<><> jbuilder.transition installed successfully <><><><><><><><><><><><><><><><>
=> Jbuilder has been renamed and the jbuilder package is now a transition package. Use the dune package instead.
# Run eval $(opam env) to update the current shell environment
2024-05-14 13:09.49 ---> saved as "2b9b7bb70cc48e8d480598598613c78dc898424059ed293ac88198b9564180d0"
/src: (copy (src .) (dst /src))
2024-05-14 13:09.49 ---> saved as "2fc1e453a6cc8e96e62a35fcb5be7159c58b2cd4b88ce5610474f3afd9fa2bbf"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
ocamlc test/.test_dispatch.eobjs/byte/test_dispatch.{cmi,cmo,cmt} (exit 2)
(cd _build/default && /home/opam/.opam/4.03/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -I test/.test_dispatch.eobjs/byte -I /home/opam/.opam/4.03/lib/alcotest -I /home/opam/.opam/4.03/lib/astring -I /home/opam/.opam/4.03/lib/bytes -I /home/opam/.opam/4.03/lib/cmdliner -I /home/opam/.opam/4.03/lib/fmt -I /home/opam/.opam/4.03/lib/result -I lib/.dispatch.objs/byte -I lib/.dispatch.objs/native -no-alias-deps -opaque -o test/.test_dispatch.eobjs/byte/test_dispatch.cmo -c -impl test/test_dispatch.ml)
File "test/test_dispatch.ml", line 54, characters 41-45:
Error: Unbound value unit
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2024-05-14 13:09.50: Job failed: Failed: Build failed