2025-07-04 15:14.37: New job: test ocaml-opam/opam-compiler https://github.com/ocaml-opam/opam-compiler.git#refs/heads/master (c09b015b7c4cbc0ffa2b1008b7dc148a4c88b2b4) (macos-arm64:macos-homebrew-4.14_arm64_opam-2.3)
Base: macos-homebrew-ocaml-4.14
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocaml-opam/opam-compiler.git" -b "master" && cd "opam-compiler" && git reset --hard c09b015b
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM macos-homebrew-ocaml-4.14
# macos-homebrew-4.14_arm64_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 382e02b4c17b5b59d503254784ac3a5d78916d5a || git fetch origin master) && git reset -q --hard 382e02b4c17b5b59d503254784ac3a5d78916d5a && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 opam-compiler.opam ./src/./
RUN opam pin add -yn opam-compiler.dev './src/./'
RUN echo '(lang dune 3.0)' > './src/./dune-project'
ENV DEPS="alcotest.1.9.0 astring.0.8.5 atd.2.16.0 atdgen.2.15.0 atdgen-runtime.2.16.0 base-bigarray.base base-threads.base base-unix.base biniou.1.2.2 bos.0.2.1 camlp-streams.5.0.1 cmdliner.1.3.0 curly.0.3.0 dune.3.19.1 easy-format.1.3.4 either.1.0.0 fmt.0.10.0 fpath.0.7.3 github-data.4.4.1 logs.0.8.0 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.13.2 result.1.5 rresult.0.7.0 seq.base stdlib-shims.0.3.0 topkg.1.0.8 uutf.1.0.4 yojson.2.2.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y opam-compiler.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-07-04 15:14.37: Using cache hint "ocaml-opam/opam-compiler-macos-homebrew-ocaml-4.14-macos-homebrew-4.14_arm64_opam-2.3-d4f42ec7683e99b3f99d54e2d08d97e7"
2025-07-04 15:14.37: Using OBuilder spec:
((from macos-homebrew-ocaml-4.14)
(comment macos-homebrew-4.14_arm64_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 382e02b4c17b5b59d503254784ac3a5d78916d5a || git fetch origin master) && git reset -q --hard 382e02b4c17b5b59d503254784ac3a5d78916d5a && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src opam-compiler.opam) (dst ./src/./))
(run (network host)
(shell "opam pin add -yn opam-compiler.dev './src/./'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './src/./dune-project'"))
(env DEPS "alcotest.1.9.0 astring.0.8.5 atd.2.16.0 atdgen.2.15.0 atdgen-runtime.2.16.0 base-bigarray.base base-threads.base base-unix.base biniou.1.2.2 bos.0.2.1 camlp-streams.5.0.1 cmdliner.1.3.0 curly.0.3.0 dune.3.19.1 easy-format.1.3.4 either.1.0.0 fmt.0.10.0 fpath.0.7.3 github-data.4.4.1 logs.0.8.0 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.13.2 result.1.5 rresult.0.7.0 seq.base stdlib-shims.0.3.0 topkg.1.0.8 uutf.1.0.4 yojson.2.2.2")
(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 opam-compiler.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-07-04 15:14.37: Waiting for resource in pool OCluster
2025-07-04 22:51.28: Waiting for worker…
2025-07-05 01:55.18: Got resource from pool OCluster
Building on m1-worker-04
All commits already cached
HEAD is now at c09b015 Prepare 0.2.0
(from macos-homebrew-ocaml-4.14)
2025-07-05 01:55.18 ---> using "0c60f117aee57abea8364cb033d47bb1d63ff0f68e5ee97378e032498e8442af" from cache
/: (comment macos-homebrew-4.14_arm64_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-07-05 01:55.19 ---> 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-07-05 01:55.19 ---> using "1a239dab0512a5f76e4948de67b26faca67b4de935df003aa7f81d4e2d68958d" from cache
/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Darwin 24.5.0
The OCaml toplevel, version 4.14.2
2.3.0
2025-07-05 01:55.19 ---> 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 382e02b4c17b5b59d503254784ac3a5d78916d5a || git fetch origin master) && git reset -q --hard 382e02b4c17b5b59d503254784ac3a5d78916d5a && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
67e940587b..ee56c84f60 master -> origin/master
382e02b4c1 Merge pull request #28124 from kit-ty-kate/opam-publish-re.1.13.2
<><> 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-07-05 01:55.19 ---> using "52ef6060efda8fca6d5658ef1472b4e0a186a948d88ead6d10983e4f82a1db7f" from cache
/: (copy (src opam-compiler.opam) (dst ./src/./))
2025-07-05 01:55.20 ---> saved as "c18728e7f694d2f270fecc53401b359a43752fe66c192bfdc48703ba98439b4a"
/: (run (network host)
(shell "opam pin add -yn opam-compiler.dev './src/./'"))
[opam-compiler.dev] synchronised (file:///Users/mac1000/src)
opam-compiler is now pinned to file:///Users/mac1000/src (version dev)
2025-07-05 01:55.33 ---> saved as "95e1dc5898c721d5d74b3436345c4fac8f45f0061d5757d7870bc2443e57b518"
/: (run (network host)
(shell "echo '(lang dune 3.0)' > './src/./dune-project'"))
2025-07-05 01:55.34 ---> saved as "6bf60cbc6ff741dc99b4de705cf01439676c2e81281b6f24b1abb552b293d9cc"
/: (env DEPS "alcotest.1.9.0 astring.0.8.5 atd.2.16.0 atdgen.2.15.0 atdgen-runtime.2.16.0 base-bigarray.base base-threads.base base-unix.base biniou.1.2.2 bos.0.2.1 camlp-streams.5.0.1 cmdliner.1.3.0 curly.0.3.0 dune.3.19.1 easy-format.1.3.4 either.1.0.0 fmt.0.10.0 fpath.0.7.3 github-data.4.4.1 logs.0.8.0 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.13.2 result.1.5 rresult.0.7.0 seq.base stdlib-shims.0.3.0 topkg.1.0.8 uutf.1.0.4 yojson.2.2.2")
/: (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 opam-compiler.dev $DEPS"))
+ /opt/homebrew/bin/brew "update"
- ==> Updating Homebrew...
- Already up-to-date.
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[opam-compiler.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-07-05 01:56.00 ---> saved as "d0da8d9e0294bd0e2c263fc43b602c0c48612af2fc2672a69c81dbc2449ff6de"
/: (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 33 packages
- install alcotest 1.9.0
- install astring 0.8.5
- install atd 2.16.0
- install atdgen 2.15.0
- install atdgen-runtime 2.16.0
- install biniou 1.2.2
- install bos 0.2.1
- install camlp-streams 5.0.1
- install cmdliner 1.3.0
- install curly 0.3.0
- install dune 3.19.1
- install easy-format 1.3.4
- install either 1.0.0
- install fmt 0.10.0
- install fpath 0.7.3
- install github-data 4.4.1
- install logs 0.8.0
- install menhir 20240715
- install menhirCST 20240715
- install menhirLib 20240715
- install menhirSdk 20240715
- install ocaml-syntax-shims 1.0.0
- install ocaml-version 4.0.1
- install ocamlbuild 0.16.1
- install ocamlfind 1.9.8
- install re 1.13.2
- install result 1.5
- install rresult 0.7.0
- install seq base
- install stdlib-shims 0.3.0
- install topkg 1.0.8
- install uutf 1.0.4
- install yojson 2.2.2
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5 (cached)
-> retrieved alcotest.1.9.0 (cached)
-> retrieved biniou.1.2.2 (cached)
-> retrieved bos.0.2.1 (cached)
-> retrieved camlp-streams.5.0.1 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved curly.0.3.0 (cached)
-> retrieved atd.2.16.0, atdgen-runtime.2.16.0 (cached)
-> retrieved atdgen.2.15.0 (cached)
-> retrieved easy-format.1.3.4 (cached)
-> retrieved either.1.0.0 (cached)
-> retrieved fmt.0.10.0 (cached)
-> retrieved fpath.0.7.3 (cached)
-> retrieved logs.0.8.0 (cached)
-> retrieved github-data.4.4.1 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocaml-version.4.0.1 (cached)
-> retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved re.1.13.2 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved rresult.0.7.0 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved result.1.5 (cached)
-> retrieved dune.3.19.1 (cached)
-> retrieved uutf.1.0.4 (cached)
-> retrieved topkg.1.0.8 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved yojson.2.2.2 (cached)
-> installed cmdliner.1.3.0
-> installed ocamlbuild.0.16.1
-> installed ocamlfind.1.9.8
-> installed topkg.1.0.8
-> installed rresult.0.7.0
-> installed uutf.1.0.4
-> installed fmt.0.10.0
-> installed astring.0.8.5
-> installed fpath.0.7.3
-> installed logs.0.8.0
-> installed bos.0.2.1
-> installed dune.3.19.1
-> installed easy-format.1.3.4
-> installed camlp-streams.5.0.1
-> installed either.1.0.0
-> installed menhirCST.20240715
-> installed menhirSdk.20240715
-> installed ocaml-syntax-shims.1.0.0
-> installed result.1.5
-> installed stdlib-shims.0.3.0
-> installed biniou.1.2.2
-> installed menhirLib.20240715
-> installed ocaml-version.4.0.1
-> installed curly.0.3.0
-> installed re.1.13.2
-> installed yojson.2.2.2
-> installed atdgen-runtime.2.16.0
-> installed alcotest.1.9.0
-> installed menhir.20240715
-> installed atd.2.16.0
-> installed atdgen.2.15.0
-> installed github-data.4.4.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-07-05 01:56.55 ---> saved as "ccdc3ca93c0b5173434ba9373582882e329d23e85c0f8485ea2170253724d539"
/: (copy (src .) (dst ./src))
2025-07-05 01:56.57 ---> saved as "9da3ae4bc693c6ce1d10b74ee29a32a52621f08f04f5594491c6bfdccfcb07b5"
/: (run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test/unit && ./test.exe --compact)
Testing `opam-compiler'.
This run has ID `VI7RMHLC'.
......................
2025-07-05 01:56.58 ---> saved as "981e618e8f0bfb016d5451e2c05911bd374e8c67ab24c5efc9844a7736481e01"
Job succeeded
2025-07-05 01:57.03: Job succeeded