OrganisationsMisterDAocaml-crunchf93590 (main)ubuntu-25.04-4.14_opam-2.5

ubuntu-25.04-4.14_opam-2.5

Logs

Show full logs
2026-02-03 06:44.48: New job: test MisterDA/ocaml-crunch https://github.com/MisterDA/ocaml-crunch.git#refs/heads/main (f935901cd9715126be398830e6c49c4dfcea3e45) (linux-x86_64:ubuntu-25.04-4.14_opam-2.5)
Base: ocaml/opam:ubuntu-25.04-ocaml-4.14@sha256:863dda63d8d9d4b752c550777d3338cee2095ba25ff8114fc5688b1917f69f14
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-25.04-ocaml-4.14@sha256:863dda63d8d9d4b752c550777d3338cee2095ba25ff8114fc5688b1917f69f14
# ubuntu-25.04-4.14_opam-2.5
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.5 /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 f34b61248bf2b41a5b1430c0f5fbf47ce08e7fb1 || git fetch origin master) && git reset -q --hard f34b61248bf2b41a5b1430c0f5fbf47ce08e7fb1 && 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.2.1.0 cppo.1.8.0 csexp.1.5.2 dune.3.21.0 dune-configurator.3.21.0 fmt.0.11.0 lwt.6.1.0 mirage-kv.6.1.1 mirage-kv-mem.4.0.1 mirage-ptime.5.2.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.1"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.5 --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

2026-02-03 06:44.48: Using cache hint "MisterDA/ocaml-crunch-ocaml/opam:ubuntu-25.04-ocaml-4.14@sha256:863dda63d8d9d4b752c550777d3338cee2095ba25ff8114fc5688b1917f69f14-ubuntu-25.04-4.14_opam-2.5-01ab12cacb44a65f52b14ed8c84b197c"
2026-02-03 06:44.48: Using OBuilder spec:
((from ocaml/opam:ubuntu-25.04-ocaml-4.14@sha256:863dda63d8d9d4b752c550777d3338cee2095ba25ff8114fc5688b1917f69f14)
 (comment ubuntu-25.04-4.14_opam-2.5)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/bin/opam-2.5 /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 f34b61248bf2b41a5b1430c0f5fbf47ce08e7fb1 || git fetch origin master) && git reset -q --hard f34b61248bf2b41a5b1430c0f5fbf47ce08e7fb1 && 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.2.1.0 cppo.1.8.0 csexp.1.5.2 dune.3.21.0 dune-configurator.3.21.0 fmt.0.11.0 lwt.6.1.0 mirage-kv.6.1.1 mirage-kv-mem.4.0.1 mirage-ptime.5.2.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.1")
 (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.5 --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"))
)

2026-02-03 06:44.48: Waiting for resource in pool OCluster
2026-02-03 07:32.36: Waiting for worker…
2026-02-03 07:37.53: Got resource from pool OCluster
Building on eumache
All commits already cached
HEAD is now at f935901 opam: pinned -> dev

(from ocaml/opam:ubuntu-25.04-ocaml-4.14@sha256:863dda63d8d9d4b752c550777d3338cee2095ba25ff8114fc5688b1917f69f14)
Unable to find image 'ocaml/opam:ubuntu-25.04-ocaml-4.14@sha256:863dda63d8d9d4b752c550777d3338cee2095ba25ff8114fc5688b1917f69f14' locally
docker.io/ocaml/opam@sha256:863dda63d8d9d4b752c550777d3338cee2095ba25ff8114fc5688b1917f69f14: Pulling from ocaml/opam
c62190a9ab61: Already exists
40711a051401: Already exists
c085f5ff2319: Already exists
412ed4068436: Already exists
2f55881e7c17: Already exists
208628d88256: Already exists
15e39b9245ec: Already exists
dd37ca65b191: Already exists
6eed2619f1f0: Already exists
220a6634738b: Already exists
5ae888d7638a: Already exists
99610966bbbb: Already exists
98b09a045b22: Already exists
2c04c9e7274a: Already exists
839afca287cc: Already exists
ccf7dd9d1cbf: Already exists
b6ea8c876c09: Already exists
b6ea8c876c09: Already exists
15f333aabb94: Already exists
477b7eb2609b: Already exists
3326c27d9244: Already exists
b8cb47717717: Already exists
4f4fb700ef54: Already exists
2e070f5cd521: Already exists
94b1b55e95dc: Already exists
07aa22141608: Already exists
d7bb015da553: Already exists
9d41ae5c57e0: Already exists
85a0ef716932: Already exists
ca92d3abca91: Already exists
e8a350942cff: Already exists
a308a5ee6283: Already exists
902174a11eba: Already exists
2f1e88d133e2: Already exists
e5494899f718: Already exists
4bdfe959d160: Already exists
07634e87d0e8: Already exists
cb0f432311ea: Already exists
49552e721ed7: Already exists
37b0c9e8febd: Already exists
bb37d1c599f3: Already exists
d8558bdd35b8: Already exists
c14f5ad6c755: Already exists
5b2edbf5da17: Already exists
96a20d219a97: Already exists
Digest: sha256:863dda63d8d9d4b752c550777d3338cee2095ba25ff8114fc5688b1917f69f14
Status: Downloaded newer image for ocaml/opam@sha256:863dda63d8d9d4b752c550777d3338cee2095ba25ff8114fc5688b1917f69f14
2026-02-03 07:37.54 ---> using "a087cecdfee3c27a6dfd3b374223c58ceb06bb9197e0c5bfa09038c2912fa098" from cache

/: (comment ubuntu-25.04-4.14_opam-2.5)

/: (user (uid 1000) (gid 1000))

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (workdir /src)

/src: (run (shell "sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam"))
2026-02-03 07:37.54 ---> using "6628fbaea287be085c1f69116897fa244551695563234cf2a0f2968080bfffcf" 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
[NOTE] The 'jobs' option was reset, its value was 255 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
           opam option jobs=255 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-02-03 07:37.54 ---> using "43b1664771e209c70664e1c4d4aa5215ea00316c213140908fe7d3a3067627b7" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-131-generic
The OCaml toplevel, version 4.14.2
2.5.0
2026-02-03 07:37.54 ---> using "e35201de726e6dcd60ed7658644b5fcf073701a2f448ca0d0784cb8c684ccdfa" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2026-02-03 07:37.54 ---> using "535b3512bf68b6720e90bebbd91312926b30294524d6e2ff60bb8bd88cd1b86d" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e f34b61248bf2b41a5b1430c0f5fbf47ce08e7fb1 || git fetch origin master) && git reset -q --hard f34b61248bf2b41a5b1430c0f5fbf47ce08e7fb1 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   8e1b9a49e8..d01aee6c25  master     -> origin/master
f34b61248b Merge pull request #29295 from raphael-proust/opam-publish-lwt.6.1.0

<><> 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.4.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)
2026-02-03 07:37.54 ---> using "36d2adf070503e023f0ee695088cc1d8816d7baad13c4ce04527599eb8b65cdc" from cache

/src: (copy (src crunch.opam) (dst ./))
2026-02-03 07:37.54 ---> saved as "f1f94660f031887ae60b151c91ab9cd548c9dc9dd7dc4214ca7b71475e37b292"

/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)
2026-02-03 07:37.59 ---> saved as "9a1beeb64be38d98adb5c1c40a84e0bf169979e5b79cad4e59f86103b1a2e20b"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-02-03 07:37.59 ---> saved as "0b81d4f5714e33e049c3c0b3cc9f512ef6944fcd6739db8e74c0e8ce2891dcdd"

/src: (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.2.1.0 cppo.1.8.0 csexp.1.5.2 dune.3.21.0 dune-configurator.3.21.0 fmt.0.11.0 lwt.6.1.0 mirage-kv.6.1.1 mirage-kv-mem.4.0.1 mirage-ptime.5.2.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.1")

/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.5 --depext-only -y crunch.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu plucky InRelease
- Get:2 http://archive.ubuntu.com/ubuntu plucky-updates InRelease [126 kB]
- Get:3 http://archive.ubuntu.com/ubuntu plucky-backports InRelease [126 kB]
- Get:4 http://archive.ubuntu.com/ubuntu plucky-updates/restricted amd64 Packages [363 kB]
- Get:5 http://archive.ubuntu.com/ubuntu plucky-updates/main amd64 Packages [452 kB]
- Get:6 http://archive.ubuntu.com/ubuntu plucky-updates/universe amd64 Packages [325 kB]
- Get:7 http://security.ubuntu.com/ubuntu plucky-security InRelease [126 kB]
- Get:8 http://security.ubuntu.com/ubuntu plucky-security/main amd64 Packages [290 kB]
- Get:9 http://security.ubuntu.com/ubuntu plucky-security/restricted amd64 Packages [330 kB]
- Get:10 http://security.ubuntu.com/ubuntu plucky-security/universe amd64 Packages [233 kB]
- Fetched 2371 kB in 1s (3157 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.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).
# To update the current shell environment, run: eval $(opam env)
2026-02-03 07:38.25 ---> saved as "275b165f45762051355e26aa4bb89ee51d6f3b4f32f31178b356543d4d89efd4"

/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          2.1.0
  - install cppo              1.8.0
  - install csexp             1.5.2
  - install dune              3.21.0
  - install dune-configurator 3.21.0
  - install fmt               0.11.0
  - install lwt               6.1.0
  - install mirage-kv         6.1.1
  - install mirage-kv-mem     4.0.1
  - install mirage-ptime      5.2.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.1

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cmdliner.2.1.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.1  (cached)
-> retrieved lwt.6.1.0  (cached)
-> retrieved mirage-ptime.5.2.0  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved optint.0.3.0  (cached)
-> retrieved ptime.1.2.0  (cached)
-> retrieved topkg.1.1.1  (cached)
-> retrieved dune.3.21.0, dune-configurator.3.21.0  (cached)
-> installed cmdliner.2.1.0
-> installed ocamlbuild.0.16.1
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed topkg.1.1.1
-> installed fmt.0.11.0
-> installed ptime.1.2.0
-> installed dune.3.21.0
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed mirage-ptime.5.2.0
-> installed optint.0.3.0
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.21.0
-> installed lwt.6.1.0
-> installed mirage-kv.6.1.1
-> installed mirage-kv-mem.4.0.1
Done.
# To update the current shell environment, run: eval $(opam env)
2026-02-03 07:40.21 ---> saved as "839acd462f0edd40cbcd3cf1a730276df937fd33d1057fd3eed8afb533865ab7"

/src: (copy (src .) (dst /src))
2026-02-03 07:40.22 ---> saved as "7eb7948f4c2909510458fdaf2991811e1971b65115a3378358b3f12080538305"

/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
2026-02-03 07:40.24: Job failed: Failed: Build failed