2025-09-16 10:13.51: New job: test MisterDA/ocaml-crunch https://github.com/MisterDA/ocaml-crunch.git#refs/heads/main (f935901cd9715126be398830e6c49c4dfcea3e45) (linux-x86_64:debian-13-4.13_opam-2.4)
Base: ocaml/opam:debian-13-ocaml-4.13@sha256:38155c3ac45ade378a0bdc17d043ef58a1228d4cf8d076d1252504fd9e11685e
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:debian-13-ocaml-4.13@sha256:38155c3ac45ade378a0bdc17d043ef58a1228d4cf8d076d1252504fd9e11685e
# debian-13-4.13_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.13.1 ocaml-base-compiler.4.13.1 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.51: Using cache hint "MisterDA/ocaml-crunch-ocaml/opam:debian-13-ocaml-4.13@sha256:38155c3ac45ade378a0bdc17d043ef58a1228d4cf8d076d1252504fd9e11685e-debian-13-4.13_opam-2.4-bdcdf8e70fb03885a7d818719300dd55"
2025-09-16 10:13.51: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.13@sha256:38155c3ac45ade378a0bdc17d043ef58a1228d4cf8d076d1252504fd9e11685e)
(comment debian-13-4.13_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.13.1 ocaml-base-compiler.4.13.1 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.51: Waiting for resource in pool OCluster
2025-09-16 14:36.38: Waiting for worker…
2025-09-16 14:43.34: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
HEAD is now at f935901 opam: pinned -> dev
(from ocaml/opam:debian-13-ocaml-4.13@sha256:38155c3ac45ade378a0bdc17d043ef58a1228d4cf8d076d1252504fd9e11685e)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.13@sha256:38155c3ac45ade378a0bdc17d043ef58a1228d4cf8d076d1252504fd9e11685e' locally
docker.io/ocaml/opam@sha256:38155c3ac45ade378a0bdc17d043ef58a1228d4cf8d076d1252504fd9e11685e: Pulling from ocaml/opam
15b1d8a5ff03: Already exists
4d5eb3ed0208: Already exists
b44e00377829: Already exists
93018e586176: Already exists
587e432a29e2: Already exists
cdf304204754: Already exists
a444cfe202e3: Already exists
964991c828c0: Already exists
a94458d90f79: Already exists
e972c69afbc9: Already exists
3997d62e9de2: Already exists
d78ea61f72f9: Already exists
c68a1176424c: Already exists
63495b383f1a: Already exists
aa1a6204320d: Already exists
187b2023e0b3: Already exists
4787e66ddf43: Already exists
973a552bac2d: Already exists
8ad831d15267: Already exists
a8377bc33a29: Already exists
84a002321686: Already exists
4f4fb700ef54: Already exists
5d52c4f201d6: Already exists
68ef19bc296a: Already exists
1cda2aa0af1b: Already exists
769f31bcfe07: Already exists
b1d715eb0b34: Already exists
6b92d559de80: Already exists
1552f16d9075: Already exists
7a69328970da: Already exists
e66b1fc86e6f: Already exists
b14737f10b30: Already exists
4b7cf33f8dea: Already exists
0499d18bfcaa: Already exists
fb0e4a52e51b: Already exists
af1ea896d29c: Already exists
cff41317f198: Already exists
fbb90a49a8ca: Already exists
2f7f155032eb: Already exists
02f68e1ce660: Already exists
94722d583c59: Pulling fs layer
271ba31d3db0: Pulling fs layer
c99433d5cb1d: Pulling fs layer
939cd5d5e507: Pulling fs layer
94722d583c59: Waiting
c99433d5cb1d: Waiting
939cd5d5e507: Waiting
94722d583c59: Verifying Checksum
94722d583c59: Download complete
271ba31d3db0: Verifying Checksum
271ba31d3db0: Download complete
c99433d5cb1d: Download complete
939cd5d5e507: Verifying Checksum
939cd5d5e507: Download complete
94722d583c59: Pull complete
271ba31d3db0: Pull complete
c99433d5cb1d: Pull complete
939cd5d5e507: Pull complete
Digest: sha256:38155c3ac45ade378a0bdc17d043ef58a1228d4cf8d076d1252504fd9e11685e
Status: Downloaded newer image for ocaml/opam@sha256:38155c3ac45ade378a0bdc17d043ef58a1228d4cf8d076d1252504fd9e11685e
2025-09-16 14:43.35 ---> using "edc61b5613d526714c47ca7477704e6216df8c199e369c488443808988d2a3ba" from cache
/: (comment debian-13-4.13_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:43.35 ---> using "db0365f9e783ff2c38923d5987189ff7c6b3ea34d00037b79605c8ce09dadc39" 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:43.35 ---> using "d655376f1b328583c124d5aee788d10f9c4f2593bb39a3e9f1a549b759496a57" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 4.13.1
2.4.1
2025-09-16 14:43.35 ---> using "537996ed5dc51738f1bf92750ec11a482391cf41635c886974602ec9c6fcb00f" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-09-16 14:43.35 ---> using "63911a6b594163eaad95d039548bda0913389ae466376dc50b9628593a7aa064" 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
bcac5d1731..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:43.35 ---> using "dbd7c25497fa1fe6f0828b286c8199665ea4e64c36cf136b717121a4ce38f3cd" from cache
/src: (copy (src crunch.opam) (dst ./))
2025-09-16 14:43.35 ---> saved as "542f57bd555a21ef44d3d0e417830be7823d518f4dc3e0dcfdaf5d62d4073f80"
/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:43.38 ---> saved as "3b4d7145337f5f059e35bfded30d168f6281547be30cb990ea946b70ab6f364e"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-09-16 14:43.39 ---> saved as "73799aa39a73cfd8bf5656237a747eb23a8c119e5d602f877aad211975de12f1"
/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.13.1 ocaml-base-compiler.4.13.1 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"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [40.2 kB]
- Fetched 131 kB in 0s (569 kB/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.13.1).
[NOTE] Package ocaml is already installed (current version is 4.13.1).
[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:44.00 ---> saved as "35a4e52eba2a0601709998476ba069b6c4d65f1ff008083a1b6dfa574b73701b"
/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.13.1).
[NOTE] Package ocaml is already installed (current version is 4.13.1).
[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 mirage-kv-mem.4.0.0 (cached)
-> retrieved mirage-ptime.5.1.0 (cached)
-> retrieved lwt.5.9.2 (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 ocamlfind.1.9.8
-> installed base-bytes.base
-> installed ocamlbuild.0.16.1
-> 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:46.13 ---> saved as "68ebce2b153455df1cc952536f6382fd87a3a6fee28aaebb8965a9298d67a33e"
/src: (copy (src .) (dst /src))
2025-09-16 14:46.14 ---> saved as "fc1dcc469767e6a9246c3e6136f8362b45d90af52b1312eebbf3caa64344544c"
/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.13/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.13/lib/bytes -I /home/opam/.opam/4.13/lib/fmt -I /home/opam/.opam/4.13/lib/lwt -I /home/opam/.opam/4.13/lib/lwt/unix -I /home/opam/.opam/4.13/lib/mirage-kv -I /home/opam/.opam/4.13/lib/mirage-kv-mem -I /home/opam/.opam/4.13/lib/mirage-ptime/unix -I /home/opam/.opam/4.13/lib/ocaml/threads -I /home/opam/.opam/4.13/lib/ocplib-endian -I /home/opam/.opam/4.13/lib/ocplib-endian/bigstring -I /home/opam/.opam/4.13/lib/optint -I /home/opam/.opam/4.13/lib/ptime -I /home/opam/.opam/4.13/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.13/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.13/lib/bytes -I /home/opam/.opam/4.13/lib/fmt -I /home/opam/.opam/4.13/lib/lwt -I /home/opam/.opam/4.13/lib/lwt/unix -I /home/opam/.opam/4.13/lib/mirage-kv -I /home/opam/.opam/4.13/lib/mirage-kv-mem -I /home/opam/.opam/4.13/lib/mirage-ptime/unix -I /home/opam/.opam/4.13/lib/ocaml/threads -I /home/opam/.opam/4.13/lib/ocplib-endian -I /home/opam/.opam/4.13/lib/ocplib-endian/bigstring -I /home/opam/.opam/4.13/lib/optint -I /home/opam/.opam/4.13/lib/ptime -I /home/opam/.opam/4.13/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:46.16: Job failed: Failed: Build failed