2025-09-16 10:13.50: New job: test MisterDA/ocaml-crunch https://github.com/MisterDA/ocaml-crunch.git#refs/heads/main (f935901cd9715126be398830e6c49c4dfcea3e45) (linux-x86_64:ubuntu-22.04-4.14_opam-2.4)
Base: ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:5eaf5a903aaa2a66335cabea8fb368b38b20a9302f80e8ed72d5711e05f927f0
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/MisterDA/ocaml-crunch.git" -b "main" && cd "ocaml-crunch" && git reset --hard f935901c
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:5eaf5a903aaa2a66335cabea8fb368b38b20a9302f80e8ed72d5711e05f927f0
# ubuntu-22.04-4.14_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.4 /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 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 crunch.opam ./
RUN opam pin add -yn crunch.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.3.0 cppo.1.8.0 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 fmt.0.11.0 lwt.5.9.2 mirage-kv.6.1.1 mirage-kv-mem.4.0.0 mirage-ptime.5.1.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 optint.0.3.0 ptime.1.2.0 topkg.1.1.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y crunch.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
2025-09-16 10:13.50: Using cache hint "MisterDA/ocaml-crunch-ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:5eaf5a903aaa2a66335cabea8fb368b38b20a9302f80e8ed72d5711e05f927f0-ubuntu-22.04-4.14_opam-2.4-a0afe3677b1b00963f6ec8ea1a36d533"
2025-09-16 10:13.50: Using OBuilder spec:
((from ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:5eaf5a903aaa2a66335cabea8fb368b38b20a9302f80e8ed72d5711e05f927f0)
(comment ubuntu-22.04-4.14_opam-2.4)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.4 /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 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src crunch.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn crunch.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.3.0 cppo.1.8.0 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 fmt.0.11.0 lwt.5.9.2 mirage-kv.6.1.1 mirage-kv-mem.4.0.0 mirage-ptime.5.1.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 optint.0.3.0 ptime.1.2.0 topkg.1.1.0")
(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.4 --depext-only -y crunch.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"))
)
2025-09-16 10:13.50: Waiting for resource in pool OCluster
2025-09-16 14:35.56: Waiting for worker…
2025-09-16 14:41.33: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at f935901 opam: pinned -> dev
(from ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:5eaf5a903aaa2a66335cabea8fb368b38b20a9302f80e8ed72d5711e05f927f0)
Unable to find image 'ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:5eaf5a903aaa2a66335cabea8fb368b38b20a9302f80e8ed72d5711e05f927f0' locally
docker.io/ocaml/opam@sha256:5eaf5a903aaa2a66335cabea8fb368b38b20a9302f80e8ed72d5711e05f927f0: Pulling from ocaml/opam
2bf01afabfb3: Pulling fs layer
0c4c73378cbb: Pulling fs layer
32ff58dcdf62: Pulling fs layer
1fdc92e78b50: Pulling fs layer
3a95fa8fb957: Pulling fs layer
1fdc92e78b50: Waiting
3a95fa8fb957: Waiting
32ff58dcdf62: Verifying Checksum
32ff58dcdf62: Download complete
1fdc92e78b50: Download complete
3a95fa8fb957: Verifying Checksum
3a95fa8fb957: Download complete
2bf01afabfb3: Verifying Checksum
0c4c73378cbb: Verifying Checksum
0c4c73378cbb: Download complete
2bf01afabfb3: Pull complete
0c4c73378cbb: Pull complete
32ff58dcdf62: Pull complete
1fdc92e78b50: Pull complete
3a95fa8fb957: Pull complete
Digest: sha256:5eaf5a903aaa2a66335cabea8fb368b38b20a9302f80e8ed72d5711e05f927f0
Status: Downloaded newer image for ocaml/opam@sha256:5eaf5a903aaa2a66335cabea8fb368b38b20a9302f80e8ed72d5711e05f927f0
2025-09-16 14:41.33 ---> using "9788e33ef607d2b7d16da1da8c9768e17c160a2726ede1f146b519665e9cf0d1" from cache
/: (comment ubuntu-22.04-4.14_opam-2.4)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-09-16 14:41.33 ---> using "36309014802b5585a47bd941a41e09e7bccd90cf2b9c5e55446ac06000110e29" from cache
/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.2, 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] Initialised
2025-09-16 14:41.33 ---> using "367fe7bbb11f9e19633334a09f69b69b2e93cd97a20ba7b1a5418f08fd1b587c" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-142-generic
The OCaml toplevel, version 4.14.2
2.4.1
2025-09-16 14:41.33 ---> using "a63d95c5e399e3449ec90f817a72a36dd76b8b3aacf2c62fbcb73512facb171a" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-09-16 14:41.34 ---> using "e52c3de1fb615b52180169c08dfe256d7833f99199c243c0acfbb71c9b3b81c4" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
ee24528071..7949ff40d8 master -> origin/master
6ef6813522 Merge pull request #28449 from dra27/ocaml-compiler-msvc
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+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 at these versions (e.g. "opam upgrade ocaml.5.3.0"), which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-09-16 14:41.34 ---> using "35cfd2a516f805b236bc932204acfb3f1e62c8559e62b9d18784a097eb8d85db" from cache
/src: (copy (src crunch.opam) (dst ./))
2025-09-16 14:41.34 ---> saved as "d3d9c1d5c0ff6f2e31ca5a741bf8b91cd203c8ebb81144731f13ddfc309cb4cc"
/src: (run (network host)
(shell "opam pin add -yn crunch.dev './'"))
[crunch.dev] synchronised (file:///src)
crunch is now pinned to file:///src (version dev)
2025-09-16 14:41.36 ---> saved as "2615542fcc586ea071061db482515ccdeed666d42a6b511448d9e530dc440053"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-09-16 14:41.36 ---> saved as "c85b74d5ef19af11b03012abf70d7c94592bc04b6f2212bbe82107ded366dbe0"
/src: (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.3.0 cppo.1.8.0 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 fmt.0.11.0 lwt.5.9.2 mirage-kv.6.1.1 mirage-kv-mem.4.0.0 mirage-ptime.5.1.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 optint.0.3.0 ptime.1.2.0 topkg.1.1.0")
/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.4 --depext-only -y crunch.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
- Hit:2 http://archive.ubuntu.com/ubuntu jammy InRelease
- Get:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
- Get:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
- Get:5 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [5441 kB]
- Get:6 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1581 kB]
- Get:7 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages [88.8 kB]
- Get:8 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 Packages [80.3 kB]
- Get:9 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1274 kB]
- Get:10 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [3624 kB]
- Get:11 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [5627 kB]
- Get:12 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [3311 kB]
- Fetched 21.4 MB in 1s (17.2 MB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[crunch.dev] synchronised (file:///src)
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[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).
2025-09-16 14:41.47 ---> saved as "a2cca0dfae06b04260e82359700e64fd97b6aaae067ba6b819a07d29a3c14fbc"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[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 17 packages
- install base-bytes base
- install cmdliner 1.3.0
- install cppo 1.8.0
- install csexp 1.5.2
- install dune 3.20.2
- install dune-configurator 3.20.2
- install fmt 0.11.0
- install lwt 5.9.2
- install mirage-kv 6.1.1
- install mirage-kv-mem 4.0.0
- install mirage-ptime 5.1.0
- install ocamlbuild 0.16.1
- install ocamlfind 1.9.8
- install ocplib-endian 1.2
- install optint 0.3.0
- install ptime 1.2.0
- install topkg 1.1.0
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved cppo.1.8.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved fmt.0.11.0 (cached)
-> retrieved mirage-kv.6.1.1 (cached)
-> retrieved lwt.5.9.2 (cached)
-> retrieved mirage-kv-mem.4.0.0 (cached)
-> retrieved mirage-ptime.5.1.0 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved ocplib-endian.1.2 (cached)
-> retrieved optint.0.3.0 (cached)
-> retrieved ptime.1.2.0 (cached)
-> retrieved topkg.1.1.0 (cached)
-> retrieved dune.3.20.2, dune-configurator.3.20.2 (cached)
-> installed cmdliner.1.3.0
-> installed ocamlbuild.0.16.1
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed topkg.1.1.0
-> installed fmt.0.11.0
-> installed ptime.1.2.0
-> installed dune.3.20.2
-> installed mirage-ptime.5.1.0
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed optint.0.3.0
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.20.2
-> installed lwt.5.9.2
-> installed mirage-kv.6.1.1
-> installed mirage-kv-mem.4.0.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-09-16 14:42.23 ---> saved as "7d3fc630f0f9db8f6c19b18b53a7b266b7da9f24615c2ba08b99691e71eb3239"
/src: (copy (src .) (dst /src))
2025-09-16 14:42.23 ---> saved as "d2f5dcc2860b2aceee0cb4cb17b3186042327273c50a846edc93b4eb2f15b703"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test && ../../install/default/bin/ocaml-crunch --mode=lwt -o t1.ml t1)
Generating t1.ml
Generating t1.mli
(cd _build/default/test && ../../install/default/bin/ocaml-crunch --mode=plain -o t1_plain.ml t1)
Generating t1_plain.ml
Skipping generation of .mli
(cd _build/default && /home/opam/.opam/4.14/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/.consumer.eobjs/byte -I /home/opam/.opam/4.14/lib/bytes -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/lwt -I /home/opam/.opam/4.14/lib/lwt/unix -I /home/opam/.opam/4.14/lib/mirage-kv -I /home/opam/.opam/4.14/lib/mirage-kv-mem -I /home/opam/.opam/4.14/lib/mirage-ptime/unix -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/ocplib-endian -I /home/opam/.opam/4.14/lib/ocplib-endian/bigstring -I /home/opam/.opam/4.14/lib/optint -I /home/opam/.opam/4.14/lib/ptime -I /home/opam/.opam/4.14/lib/ptime/clock -intf-suffix .ml -no-alias-deps -opaque -open Dune__exe -o test/.consumer.eobjs/byte/dune__exe__T1.cmo -c -impl test/t1.ml)
File "test/t1.ml", line 42, characters 8-26:
42 | include Mirage_kv_mem.Make (C)
^^^^^^^^^^^^^^^^^^
Error: Unbound module Mirage_kv_mem.Make
(cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.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 -I test/.consumer.eobjs/byte -I test/.consumer.eobjs/native -I /home/opam/.opam/4.14/lib/bytes -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/lwt -I /home/opam/.opam/4.14/lib/lwt/unix -I /home/opam/.opam/4.14/lib/mirage-kv -I /home/opam/.opam/4.14/lib/mirage-kv-mem -I /home/opam/.opam/4.14/lib/mirage-ptime/unix -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/ocplib-endian -I /home/opam/.opam/4.14/lib/ocplib-endian/bigstring -I /home/opam/.opam/4.14/lib/optint -I /home/opam/.opam/4.14/lib/ptime -I /home/opam/.opam/4.14/lib/ptime/clock -intf-suffix .ml -no-alias-deps -opaque -open Dune__exe -o test/.consumer.eobjs/native/dune__exe__T1.cmx -c -impl test/t1.ml)
File "test/t1.ml", line 42, characters 8-26:
42 | include Mirage_kv_mem.Make (C)
^^^^^^^^^^^^^^^^^^
Error: Unbound module Mirage_kv_mem.Make
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2025-09-16 14:42.24: Job failed: Failed: Build failed