OrganisationsMisterDAocaml-crunchf93590 (main)macos-homebrew-5.3_arm64_opam-2.4

macos-homebrew-5.3_arm64_opam-2.4

Link Copied
Code Copied

Logs

2025-09-16 10:13.50: New job: test MisterDA/ocaml-crunch https://github.com/MisterDA/ocaml-crunch.git#refs/heads/main (f935901cd9715126be398830e6c49c4dfcea3e45) (macos-arm64:macos-homebrew-5.3_arm64_opam-2.4)
Base: macos-homebrew-ocaml-5.3
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-5.3
# macos-homebrew-5.3_arm64_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN ln -f ~/local/bin/opam-2.4 ~/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 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 ./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-domains.base base-effects.base base-nnp.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.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.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.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 cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build


END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK


2025-09-16 10:13.50: Using cache hint "MisterDA/ocaml-crunch-macos-homebrew-ocaml-5.3-macos-homebrew-5.3_arm64_opam-2.4-007b732942ab2b48905daee7cf054728"
2025-09-16 10:13.50: Using OBuilder spec:
((from macos-homebrew-ocaml-5.3)
(comment macos-homebrew-5.3_arm64_opam-2.4)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(run (shell "ln -f ~/local/bin/opam-2.4 ~/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 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && 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-domains.base base-effects.base base-nnp.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.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.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.0")
(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.4 --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-09-16 10:13.50: Waiting for resource in pool OCluster
2025-09-17 00:36.34: Waiting for worker…
2025-09-17 05:01.33: Got resource from pool OCluster
Building on m1-worker-01
All commits already cached
HEAD is now at f935901 opam: pinned -> dev


(from macos-homebrew-ocaml-5.3)
2025-09-17 05:01.34 ---> using "6ee950b55569b1a3f8a7953dc679318bf303d3a70ac7d49901c0ac2ca3805d7c" from cache


/: (comment macos-homebrew-5.3_arm64_opam-2.4)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (run (shell "ln -f ~/local/bin/opam-2.4 ~/local/bin/opam"))
2025-09-17 05:01.34 ---> using "98f27ffc931cc35f6fd0434c4b7cb74004ae5b966eac1b4d0d724f37574600ad" 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-09-17 05:01.34 ---> using "05bef02621f4f152ba73fa5008f45408f9224fb6a3f95400ffe628ff48189e9f" from cache


/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Darwin 24.5.0
The OCaml toplevel, version 5.3.0
2.4.1
2025-09-17 05:01.34 ---> using "a78de44d0fa6eb2299c3aff4eac17004df22cc4faa362aec41a39eccbcb56bb5" 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 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
f6368c68f9..7949ff40d8  master     -> origin/master
6ef6813522 Merge pull request #28449 from dra27/ocaml-compiler-msvc


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


Already up-to-date.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-09-17 05:01.34 ---> using "c75343fe439a095d4287a0be3640a73f56aad132b898fca37874f86897182883" from cache


/: (copy (src crunch.opam) (dst ./src/./))
2025-09-17 05:01.35 ---> saved as "c825fa093128dd350f9e9a675995f4de3af7afe76e324fa9a5382aac5fef5a44"


/: (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-09-17 05:01.43 ---> saved as "bfa70c315a299671c8466352dff226918c61864cd435137964b584e30185b943"


/: (run (network host)
(shell "echo '(lang dune 3.0)' > './src/./dune-project'"))
2025-09-17 05:01.44 ---> saved as "2d923f89816be4254f476c73bfc14329cc9ca3964ac52fdfdafb8c2f9c94e9e8"


/: (env DEPS "base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.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.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.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.0")


/: (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.4 --depext-only -y crunch.dev $DEPS"))
+ /opt/homebrew/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 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.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-09-17 05:02.00 ---> saved as "15a9ce7024746153b53ae623b92721d04145374740482f99e5a78e0398721b50"


/: (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 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.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
- 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 csexp.1.5.2  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved cmdliner.1.3.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.0  (cached)
-> retrieved mirage-ptime.5.1.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.0  (cached)
-> retrieved dune.3.20.2, dune-configurator.3.20.2  (cached)
-> installed ocamlbuild.0.16.1
-> installed cmdliner.1.3.0
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed topkg.1.1.0
-> installed fmt.0.11.0
-> installed ptime.1.2.0
-> installed dune.3.20.2
-> installed csexp.1.5.2
-> installed optint.0.3.0
-> installed mirage-ptime.5.1.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.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-09-17 05:02.46 ---> saved as "3da8d6af75ba90a04ea8681ab9363a4b2f6697f1afc8be7be40530804c2fa6bc"


/: (copy (src .) (dst ./src))
2025-09-17 05:02.47 ---> saved as "cf6040496b9c73ecf79334c1c9f1f3656bfb27107356c7fcd3d9eabecd245511"


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