2025-06-12 14:21.49: New job: test MisterDA/ocaml-crunch https://github.com/MisterDA/ocaml-crunch.git#refs/heads/main (f935901cd9715126be398830e6c49c4dfcea3e45) (openbsd-amd64:openbsd-76-amd64-4.14_opam-2.3)
Base: openbsd-76-amd64-ocaml-4.14
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 openbsd-76-amd64-ocaml-4.14
# openbsd-76-amd64-4.14_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN doas ln -f /usr/bin/opam-2.3 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
RUN cd ~/opam-repository && (git cat-file -e a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 crunch.opam /home/opam/src/./
RUN opam pin add -yn crunch.dev '/home/opam/src/./'
RUN echo '(lang dune 3.0)' > '/home/opam/src/./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.19.1 dune-configurator.3.19.1 fmt.0.10.0 lwt.5.9.1 mirage-kv.6.1.1 mirage-kv-mem.4.0.0 mirage-ptime.5.0.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.0.8"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y crunch.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /home/opam/src
RUN cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2025-06-12 14:21.49: Using cache hint "MisterDA/ocaml-crunch-openbsd-76-amd64-ocaml-4.14-openbsd-76-amd64-4.14_opam-2.3-a3af3d368a18494fe5648e7988085a2f"
2025-06-12 14:21.49: Using OBuilder spec:
((from openbsd-76-amd64-ocaml-4.14)
(comment openbsd-76-amd64-4.14_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(run (shell "doas ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
(run (shell "opam init --reinit -ni"))
(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src crunch.opam) (dst /home/opam/src/./))
(run (network host)
(shell "opam pin add -yn crunch.dev '/home/opam/src/./'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > '/home/opam/src/./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.19.1 dune-configurator.3.19.1 fmt.0.10.0 lwt.5.9.1 mirage-kv.6.1.1 mirage-kv-mem.4.0.0 mirage-ptime.5.0.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.0.8")
(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.3 --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 /home/opam/src))
(run (shell "cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
)
2025-06-12 14:21.49: Waiting for resource in pool OCluster
2025-06-13 14:15.24: Waiting for worker…
2025-06-13 20:14.48: Got resource from pool OCluster
Building on oregano
All commits already cached
HEAD is now at f935901 opam: pinned -> dev
(from openbsd-76-amd64-ocaml-4.14)
2025-06-13 20:14.48 ---> using "273e81235ea8a6b452476629509f5a1e49a129b613e30bfb7515f80881f75048" from cache
/: (comment openbsd-76-amd64-4.14_opam-2.3)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (run (shell "doas ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-06-13 20:14.48 ---> using "8f4c505b74dc31d91c5d30f3e3d123c2567bb97ae9c1708d719a97f14994a2cb" from cache
/: (run (shell "opam init --reinit -ni"))
No configuration file found, using 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.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2025-06-13 20:14.48 ---> using "b66ba35f8a9a53257673fce4c0b7f7307b571514bb7b92fa06cc7e407f80f85e" from cache
/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
OpenBSD 7.6
The OCaml toplevel, version 4.14.2
2.3.0
2025-06-13 20:14.48 ---> using "136946daf17d74755f97e0e0d17c355664b0b582f53f270159dfd90ff2a9858b" from cache
/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
727427c1e7..a28eb8a148 master -> origin/master
a28eb8a148 Merge pull request #28017 from maiste/release-dune-3.19.1
<><> 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.
# To update the current shell environment, run: eval $(opam env)
2025-06-13 20:14.48 ---> using "a77e8bfa3d5268311e95ce8032dc2820d043de2635800f76e4216e4afa6e335f" from cache
/: (copy (src crunch.opam) (dst /home/opam/src/./))
2025-06-13 20:15.30 ---> saved as "d2077087de502c721c14fb38a408dbe460aaf45ea36be02c139b159083bfdd6d"
/: (run (network host)
(shell "opam pin add -yn crunch.dev '/home/opam/src/./'"))
[crunch.dev] synchronised (file:///home/opam/src)
crunch is now pinned to file:///home/opam/src (version dev)
2025-06-13 20:16.14 ---> saved as "e8b1d984255dc901d93499341c0a357bbeab8e5f4e64a04e284eae98d1eb1fad"
/: (run (network host)
(shell "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'"))
2025-06-13 20:17.11 ---> saved as "4fa7512e179dae2c0b5e861ee8812d536eac8a916476ae19e15e5025138538d4"
/: (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.19.1 dune-configurator.3.19.1 fmt.0.10.0 lwt.5.9.1 mirage-kv.6.1.1 mirage-kv-mem.4.0.0 mirage-ptime.5.0.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.0.8")
/: (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.3 --depext-only -y crunch.dev $DEPS"))
[WARNING] Unknown update command for bsd, skipping system update
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[crunch.dev] synchronised (file:///home/opam/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-06-13 20:18.17 ---> saved as "56e3bb72d688839f79c5b1b8e307ff11cdab98e67c0cf0ad30e28497b195a011"
/: (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.19.1
- install dune-configurator 3.19.1
- install fmt 0.10.0
- install lwt 5.9.1
- install mirage-kv 6.1.1
- install mirage-kv-mem 4.0.0
- install mirage-ptime 5.0.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.0.8
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved csexp.1.5.2 (cached)
-> retrieved cppo.1.8.0 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved fmt.0.10.0 (cached)
-> retrieved lwt.5.9.1 (cached)
-> retrieved mirage-kv.6.1.1 (cached)
-> retrieved mirage-kv-mem.4.0.0 (cached)
-> retrieved mirage-ptime.5.0.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.0.8 (cached)
-> retrieved dune.3.19.1, dune-configurator.3.19.1 (cached)
-> installed cmdliner.1.3.0
-> installed dune.3.19.1
-> installed ocamlbuild.0.16.1
-> installed cppo.1.8.0
-> installed csexp.1.5.2
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed dune-configurator.3.19.1
-> installed optint.0.3.0
-> installed ocplib-endian.1.2
-> installed topkg.1.0.8
-> installed lwt.5.9.1
-> installed fmt.0.10.0
-> installed ptime.1.2.0
-> installed mirage-kv.6.1.1
-> installed mirage-ptime.5.0.0
-> installed mirage-kv-mem.4.0.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-06-13 20:26.33 ---> saved as "99a2da15eacf97695fa537f791a6006ecb50d2a492780e7460a7ce15824927b5"
/: (copy (src .) (dst /home/opam/src))
2025-06-13 20:27.32 ---> saved as "5b3b72c754f515ac1753d0ecd162f63451c64781bdb4ce0266e0af475f462da7"
/: (run (shell "cd /home/opam/src && 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.2/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.2/lib/bytes -I /home/opam/.opam/4.14.2/lib/fmt -I /home/opam/.opam/4.14.2/lib/lwt -I /home/opam/.opam/4.14.2/lib/lwt/unix -I /home/opam/.opam/4.14.2/lib/mirage-kv -I /home/opam/.opam/4.14.2/lib/mirage-kv-mem -I /home/opam/.opam/4.14.2/lib/mirage-ptime/unix -I /home/opam/.opam/4.14.2/lib/ocaml/threads -I /home/opam/.opam/4.14.2/lib/ocplib-endian -I /home/opam/.opam/4.14.2/lib/ocplib-endian/bigstring -I /home/opam/.opam/4.14.2/lib/optint -I /home/opam/.opam/4.14.2/lib/ptime -I /home/opam/.opam/4.14.2/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.2/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.2/lib/bytes -I /home/opam/.opam/4.14.2/lib/fmt -I /home/opam/.opam/4.14.2/lib/lwt -I /home/opam/.opam/4.14.2/lib/lwt/unix -I /home/opam/.opam/4.14.2/lib/mirage-kv -I /home/opam/.opam/4.14.2/lib/mirage-kv-mem -I /home/opam/.opam/4.14.2/lib/mirage-ptime/unix -I /home/opam/.opam/4.14.2/lib/ocaml/threads -I /home/opam/.opam/4.14.2/lib/ocplib-endian -I /home/opam/.opam/4.14.2/lib/ocplib-endian/bigstring -I /home/opam/.opam/4.14.2/lib/optint -I /home/opam/.opam/4.14.2/lib/ptime -I /home/opam/.opam/4.14.2/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
"cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2025-06-13 20:28.27: Job failed: Failed: Build failed