OrganisationsMisterDAocaml-crunchf93590 (main)macos-homebrew-4.14_opam-2.3

macos-homebrew-4.14_opam-2.3

Link Copied
Code Copied

Logs

2025-06-12 14:21.49: New job: test MisterDA/ocaml-crunch https://github.com/MisterDA/ocaml-crunch.git#refs/heads/main (f935901cd9715126be398830e6c49c4dfcea3e45) (macos-x86_64:macos-homebrew-4.14_opam-2.3)
Base: macos-homebrew-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 macos-homebrew-ocaml-4.14
# macos-homebrew-4.14_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN ln -f ~/local/bin/opam-2.3 ~/local/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 ./src/./
RUN opam pin add -yn crunch.dev './src/./'
RUN echo '(lang dune 3.0)' > './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 . ./src
RUN cd ./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-macos-homebrew-ocaml-4.14-macos-homebrew-4.14_opam-2.3-a3af3d368a18494fe5648e7988085a2f"
2025-06-12 14:21.49: Using OBuilder spec:
((from macos-homebrew-ocaml-4.14)
(comment macos-homebrew-4.14_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(run (shell "ln -f ~/local/bin/opam-2.3 ~/local/bin/opam"))
(run (shell "opam init --reinit -ni"))
(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
(run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(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 ./src/./))
(run (network host)
(shell "opam pin add -yn crunch.dev './src/./'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './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 /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "opam update --depexts && opam install --cli=2.3 --depext-only -y crunch.dev $DEPS"))
(run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst ./src))
(run (shell "cd ./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 03:06.56: Waiting for worker…
2025-06-13 06:30.07: Got resource from pool OCluster
Building on i7-worker-03
All commits already cached
HEAD is now at f935901 opam: pinned -> dev


(from macos-homebrew-ocaml-4.14)
2025-06-13 06:30.08 ---> using "0c60f117aee57abea8364cb033d47bb1d63ff0f68e5ee97378e032498e8442af" from cache


/: (comment macos-homebrew-4.14_opam-2.3)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (run (shell "ln -f ~/local/bin/opam-2.3 ~/local/bin/opam"))
2025-06-13 06:30.08 ---> using "d185bb362ab7a62e22c76fe28c4578fe7a4e17f7cc7bc09a3073972dfb5efd3b" 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.


This version of opam requires an update to the layout of /Users/mac1000/.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:///Users/mac1000/opam-repository
2025-06-13 06:30.08 ---> using "1a239dab0512a5f76e4948de67b26faca67b4de935df003aa7f81d4e2d68958d" from cache


/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Darwin 23.4.0
The OCaml toplevel, version 4.14.2
2.3.0
2025-06-13 06:30.09 ---> using "f52eecff7be584d99550d2f8c42b8f22f9135c2276c46c827a485f089226c5ac" from cache


/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(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
11bdbee611..a28eb8a148  master     -> origin/master
a28eb8a148 Merge pull request #28017 from maiste/release-dune-3.19.1


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


Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).


The following packages are not being upgraded because the new versions conflict with other installed packages:
- ocaml.5.5.0
- ocaml-config.3
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 06:30.09 ---> using "cbe0def484142b57e323ed60e71b5ea1be1c62ce432e64083775819603125847" from cache


/: (copy (src crunch.opam) (dst ./src/./))
2025-06-13 06:30.11 ---> saved as "336bd810baf6b45cb1e0589274a91fd5620995eea8d9b988cbf0eef486c3e9cf"


/: (run (network host)
(shell "opam pin add -yn crunch.dev './src/./'"))
[crunch.dev] synchronised (file:///Users/mac1000/src)
crunch is now pinned to file:///Users/mac1000/src (version dev)
2025-06-13 06:30.21 ---> saved as "e892b19610812253bcb648a456f7f45a9792f35c6d17eb19e6e14d186e1c5f5b"


/: (run (network host)
(shell "echo '(lang dune 3.0)' > './src/./dune-project'"))
2025-06-13 06:30.23 ---> saved as "0a77b45cecff538fbea5001412f0336059863ba1e8bb87b0f68b8887ea09dd02"


/: (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 /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "opam update --depexts && opam install --cli=2.3 --depext-only -y crunch.dev $DEPS"))
+ /usr/local/bin/brew "update"
- ==> Updating Homebrew...
- Already up-to-date.


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[crunch.dev] synchronised (file:///Users/mac1000/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 06:31.00 ---> saved as "1c4e3ec83fbb5619214750a90bd374bb6ca013a663eddc71dbd586fdc3b3eba8"


/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(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 mirage-kv.6.1.1  (cached)
-> retrieved lwt.5.9.1  (cached)
-> retrieved mirage-kv-mem.4.0.0  (cached)
-> retrieved mirage-ptime.5.0.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.0.8  (cached)
-> retrieved dune.3.19.1, dune-configurator.3.19.1  (cached)
-> installed ocamlbuild.0.16.1
-> installed cmdliner.1.3.0
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed topkg.1.0.8
-> installed ptime.1.2.0
-> installed fmt.0.10.0
-> installed dune.3.19.1
-> installed csexp.1.5.2
-> installed optint.0.3.0
-> installed mirage-ptime.5.0.0
-> installed cppo.1.8.0
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.19.1
-> installed lwt.5.9.1
-> 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-06-13 06:32.25 ---> saved as "fcca017ccf55ada43871b2e8aacc2d84b158970ab9c592cee38744cb2e5979a6"


/: (copy (src .) (dst ./src))
2025-06-13 06:32.27 ---> saved as "9684cce089a02500147388e15faeca06439f2c9692eae3ec51990fe3aa3e60bb"


/: (run (shell "cd ./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 && /Users/mac1000/.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 /Users/mac1000/.opam/4.14.2/lib/bytes -I /Users/mac1000/.opam/4.14.2/lib/fmt -I /Users/mac1000/.opam/4.14.2/lib/lwt -I /Users/mac1000/.opam/4.14.2/lib/lwt/unix -I /Users/mac1000/.opam/4.14.2/lib/mirage-kv -I /Users/mac1000/.opam/4.14.2/lib/mirage-kv-mem -I /Users/mac1000/.opam/4.14.2/lib/mirage-ptime/unix -I /Users/mac1000/.opam/4.14.2/lib/ocaml/threads -I /Users/mac1000/.opam/4.14.2/lib/ocplib-endian -I /Users/mac1000/.opam/4.14.2/lib/ocplib-endian/bigstring -I /Users/mac1000/.opam/4.14.2/lib/optint -I /Users/mac1000/.opam/4.14.2/lib/ptime -I /Users/mac1000/.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 && /Users/mac1000/.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 /Users/mac1000/.opam/4.14.2/lib/bytes -I /Users/mac1000/.opam/4.14.2/lib/fmt -I /Users/mac1000/.opam/4.14.2/lib/lwt -I /Users/mac1000/.opam/4.14.2/lib/lwt/unix -I /Users/mac1000/.opam/4.14.2/lib/mirage-kv -I /Users/mac1000/.opam/4.14.2/lib/mirage-kv-mem -I /Users/mac1000/.opam/4.14.2/lib/mirage-ptime/unix -I /Users/mac1000/.opam/4.14.2/lib/ocaml/threads -I /Users/mac1000/.opam/4.14.2/lib/ocplib-endian -I /Users/mac1000/.opam/4.14.2/lib/ocplib-endian/bigstring -I /Users/mac1000/.opam/4.14.2/lib/optint -I /Users/mac1000/.opam/4.14.2/lib/ptime -I /Users/mac1000/.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
"/usr/bin/env" "bash" "-c" "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2025-06-13 06:32.34: Job failed: Failed: Build failed