OrganisationsMisterDAocaml-crunchf93590 (main)freebsd-14.3-5.4_opam-2.4

freebsd-14.3-5.4_opam-2.4

Logs

Show full logs
2025-11-26 10:33.57: New job: test MisterDA/ocaml-crunch https://github.com/MisterDA/ocaml-crunch.git#refs/heads/main (f935901cd9715126be398830e6c49c4dfcea3e45) (freebsd-x86_64:freebsd-14.3-5.4_opam-2.4)
Base: freebsd-14.3-ocaml-5.4
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 freebsd-14.3-ocaml-5.4
# freebsd-14.3-5.4_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/local/bin/opam-2.4 /usr/local/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 8a324a5b9945e0e515da441ede437f3756caa83d || git fetch origin master) && git reset -q --hard 8a324a5b9945e0e515da441ede437f3756caa83d && 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-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.2.1.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.1 mirage-ptime.5.2.0 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 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.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-11-26 10:33.57: Using cache hint "MisterDA/ocaml-crunch-freebsd-14.3-ocaml-5.4-freebsd-14.3-5.4_opam-2.4-c0255d5c782c56ae797d0a957fcde667"
2025-11-26 10:33.57: Using OBuilder spec:
((from freebsd-14.3-ocaml-5.4)
 (comment freebsd-14.3-5.4_opam-2.4)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/local/bin/opam-2.4 /usr/local/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 8a324a5b9945e0e515da441ede437f3756caa83d || git fetch origin master) && git reset -q --hard 8a324a5b9945e0e515da441ede437f3756caa83d && 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-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.2.1.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.1 mirage-ptime.5.2.0 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 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.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-11-26 10:33.57: Waiting for resource in pool OCluster
2025-11-26 10:33.57: Waiting for worker…
2025-11-26 11:10.26: Got resource from pool OCluster
Building on rosemary
All commits already cached
HEAD is now at f935901 opam: pinned -> dev

(from freebsd-14.3-ocaml-5.4)
2025-11-26 11:11.55 ---> using "463e9b939b79b2568bf98b05cff00f85b3ec5717170cf88773a44ae3b08f11e7" from cache

/: (comment freebsd-14.3-5.4_opam-2.4)

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

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (workdir /src)

/src: (run (shell "sudo ln -f /usr/local/bin/opam-2.4 /usr/local/bin/opam"))
2025-11-26 11:11.55 ---> using "3a594302e099be4d1fe17d31961c678e53238e61e9f64fbe865d05a177bbd49f" from cache

/src: (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.

This version of opam requires an update to the layout of /home/opam/.opam from version 2.1 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 1 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=1 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///home/opam/opam-repository
2025-11-26 11:11.56 ---> using "966aea62bfa80234ccffa3e603e9d2a2c27a29ab53d209038b434e38821f2fb7" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
FreeBSD 14.3-RELEASE-p3
The OCaml toplevel, version 5.4.0
2.4.1
2025-11-26 11:11.56 ---> using "901289cfc1072ebb5c56e6766d7e4b0939435c511aca0ca5e37a81de9f740bdb" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-11-26 11:11.56 ---> using "1dc6b19784012bf1d34b6ef08bc9997df686c93fa70b17674c490e435d82e9d9" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 8a324a5b9945e0e515da441ede437f3756caa83d || git fetch origin master) && git reset -q --hard 8a324a5b9945e0e515da441ede437f3756caa83d && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   5bf570252b..cdece73aa3  master     -> origin/master
8a324a5b99 Add: cmdliner.2.1.0 (#28962)

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository

Already up-to-date.
Nothing to do.
2025-11-26 11:11.56 ---> using "4e29dabe1dc2429bb5404a25b816ebbae9133e9606d669a9170e0ba8f2e19a96" from cache

/src: (copy (src crunch.opam) (dst ./))
2025-11-26 11:11.57 ---> saved as "223c08a6c1140fd6a2d10e5df5a7b38af6650d04981301954e8fdb3e8a12798a"

/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-11-26 11:11.59 ---> saved as "914208a80c2753c2cbc568367517ea12b07c2d315e25b4e5767c3d63ef727d83"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-11-26 11:11.59 ---> saved as "f888b47d32fbcc538f9843ad49160dc831b20c9d64a5d37001895495692c25a4"

/src: (env DEPS "base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.2.1.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.1 mirage-ptime.5.2.0 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 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.4 --depext-only -y crunch.dev $DEPS"))
[WARNING] Unknown update command for bsd, skipping system update

<><> 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 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml is already installed (current version is 5.4.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-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
2025-11-26 11:12.06 ---> saved as "d774bed401a8a575d9afb1bc317d28c11e5bd400ec6f2598639f86e3b32913a1"

/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 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml is already installed (current version is 5.4.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-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains 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
   base-bytes        base
   cmdliner          2.1.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.1
   mirage-ptime      5.2.0
   ocamlbuild        0.16.1
   ocamlfind         1.9.8
   ocplib-endian     1.2
   optint            0.3.0
   ptime             1.2.0
   topkg             1.1.1

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
 retrieved csexp.1.5.2  (cached)
 retrieved cppo.1.8.0  (cached)
 retrieved cmdliner.2.1.0  (cached)
 retrieved lwt.5.9.2  (cached)
 retrieved fmt.0.11.0  (cached)
 retrieved mirage-kv.6.1.1  (cached)
 retrieved mirage-kv-mem.4.0.1  (cached)
 retrieved mirage-ptime.5.2.0  (cached)
 retrieved ocamlfind.1.9.8  (cached)
 retrieved ocplib-endian.1.2  (cached)
 retrieved ocamlbuild.0.16.1  (cached)
 retrieved ptime.1.2.0  (cached)
 retrieved optint.0.3.0  (cached)
 retrieved topkg.1.1.1  (cached)
 retrieved dune.3.20.2, dune-configurator.3.20.2  (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 ptime.1.2.0
 installed fmt.0.11.0
 installed dune.3.20.2
 installed csexp.1.5.2
 installed optint.0.3.0
 installed mirage-ptime.5.2.0
 installed cppo.1.8.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.1
Done.
2025-11-26 11:12.55 ---> saved as "2ff4d7d7dbf17b9b6080d9c0ae5422ac53d4f89562d8767e6f600bb1046bde17"

/src: (copy (src .) (dst /src))
2025-11-26 11:12.55 ---> saved as "6c577f4e07cde075829a372013a1188a9b9bac940e7c0212a7eeac818cac88b3"

/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/5.4.0/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 -bin-annot-occurrences -I test/.consumer.eobjs/byte -I /home/opam/.opam/5.4.0/lib/bytes -I /home/opam/.opam/5.4.0/lib/fmt -I /home/opam/.opam/5.4.0/lib/lwt -I /home/opam/.opam/5.4.0/lib/lwt/unix -I /home/opam/.opam/5.4.0/lib/mirage-kv -I /home/opam/.opam/5.4.0/lib/mirage-kv-mem -I /home/opam/.opam/5.4.0/lib/mirage-ptime/unix -I /home/opam/.opam/5.4.0/lib/ocaml/threads -I /home/opam/.opam/5.4.0/lib/ocaml/unix -I /home/opam/.opam/5.4.0/lib/ocplib-endian -I /home/opam/.opam/5.4.0/lib/ocplib-endian/bigstring -I /home/opam/.opam/5.4.0/lib/optint -I /home/opam/.opam/5.4.0/lib/ptime -I /home/opam/.opam/5.4.0/lib/ptime/clock -cmi-file test/.consumer.eobjs/byte/dune__exe__T1.cmi -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/5.4.0/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/5.4.0/lib/bytes -I /home/opam/.opam/5.4.0/lib/fmt -I /home/opam/.opam/5.4.0/lib/lwt -I /home/opam/.opam/5.4.0/lib/lwt/unix -I /home/opam/.opam/5.4.0/lib/mirage-kv -I /home/opam/.opam/5.4.0/lib/mirage-kv-mem -I /home/opam/.opam/5.4.0/lib/mirage-ptime/unix -I /home/opam/.opam/5.4.0/lib/ocaml/threads -I /home/opam/.opam/5.4.0/lib/ocaml/unix -I /home/opam/.opam/5.4.0/lib/ocplib-endian -I /home/opam/.opam/5.4.0/lib/ocplib-endian/bigstring -I /home/opam/.opam/5.4.0/lib/optint -I /home/opam/.opam/5.4.0/lib/ptime -I /home/opam/.opam/5.4.0/lib/ptime/clock -cmi-file test/.consumer.eobjs/byte/dune__exe__T1.cmi -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
jail: /usr/bin/su -l opam -c cd '/src' && env OCAMLCI='true' CI='true' DEPS='base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.2.1.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.1 mirage-ptime.5.2.0 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 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' OPAMCOLOR='always' CLICOLOR_FORCE='1' '/usr/bin/env' 'bash' '-c' 'opam exec -- dune build @install @check @runtest && rm -rf _build': failed
"jail" "-c" "name=obuilder_856_125783" "mount.devfs" "path=/obuilder/result/248bfab58d60e6e1ee088885648572b4244b3a3b8f1ae51f1008c95c7fc13959/rootfs" "vnet" "exec.start=/sbin/ifconfig lo0 127.0.0.1/8" "command=/usr/bin/su" "-l" "opam" "-c" "cd '/src' && env OCAMLCI='true' CI='true' DEPS='base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.2.1.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.1 mirage-ptime.5.2.0 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 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' OPAMCOLOR='always' CLICOLOR_FORCE='1' '/usr/bin/env' 'bash' '-c' 'opam exec -- dune build @install @check @runtest && rm -rf _build'" failed with exit status 1
2025-11-26 11:13.08: Job failed: Failed: Build failed