2025-01-11 18:06.13: 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 82749c0bc5cc2afb8d47b6abd46d44554f7bf5bc || git fetch origin master) && git reset -q --hard 82749c0bc5cc2afb8d47b6abd46d44554f7bf5bc && 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/./'
ENV DEPS="alcotest.1.8.0 astring.0.8.5 atd.2.15.0 atdgen.2.15.0 atdgen-runtime.2.15.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.17.1 easy-format.1.3.4 either.1.0.0 fmt.0.9.0 fpath.0.7.3 github-data.4.4.1 host-arch-arm64.1 host-system-other.1 logs.0.7.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.3.7.3 ocamlbuild.0.15.0 ocamlfind.1.9.6 re.1.12.0 result.1.5 rresult.0.7.0 seq.base stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3 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-01-11 18:06.13: Using cache hint "ocaml-opam/opam-compiler-macos-homebrew-ocaml-4.14-macos-homebrew-4.14_arm64_opam-2.3-f605f61bfcf515d9235f3ce7e78c61cf"
2025-01-11 18:06.13: 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 82749c0bc5cc2afb8d47b6abd46d44554f7bf5bc || git fetch origin master) && git reset -q --hard 82749c0bc5cc2afb8d47b6abd46d44554f7bf5bc && 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/./'"))
(env DEPS "alcotest.1.8.0 astring.0.8.5 atd.2.15.0 atdgen.2.15.0 atdgen-runtime.2.15.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.17.1 easy-format.1.3.4 either.1.0.0 fmt.0.9.0 fpath.0.7.3 github-data.4.4.1 host-arch-arm64.1 host-system-other.1 logs.0.7.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.3.7.3 ocamlbuild.0.15.0 ocamlfind.1.9.6 re.1.12.0 result.1.5 rresult.0.7.0 seq.base stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3 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-01-11 18:06.13: Waiting for resource in pool OCluster
2025-01-11 22:50.21: Waiting for worker…
2025-01-12 00:48.27: Got resource from pool OCluster
Building on m1-worker-02
Initialized empty Git repository in /private/var/lib/ocluster-worker/git/opam-compiler.git-50902b586649fc62479e085b8aaa1e34eb0e0ed2/.git/
HEAD is now at c09b015 Prepare 0.2.0
(from macos-homebrew-ocaml-4.14)
2025-01-12 00:48.29 ---> 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-01-12 00:48.29 ---> 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-01-12 00:48.29 ---> 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-01-12 00:48.29 ---> 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 82749c0bc5cc2afb8d47b6abd46d44554f7bf5bc || git fetch origin master) && git reset -q --hard 82749c0bc5cc2afb8d47b6abd46d44554f7bf5bc && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
67e940587b..84f0fe59c5 master -> origin/master
82749c0bc5 Merge pull request #27235 from dbuenzli/erratique-maintenance-intent
<><> 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.4.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-01-12 00:48.29 ---> using "1b91d35c1c2501c4c04f3521471d3c092b7778f82ba7bddca8a51bf51caacbd2" from cache
/: (copy (src opam-compiler.opam) (dst ./src/./))
2025-01-12 00:48.30 ---> saved as "c80c57b0e0a0878ee617eaa248678080a8a6178eacebdf8821228b3c580cdec9"
/: (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-01-12 00:48.45 ---> saved as "4828b6ae6fb40150f102b464709bc3e57c82e60e14ac168576993b3b2224347e"
/: (env DEPS "alcotest.1.8.0 astring.0.8.5 atd.2.15.0 atdgen.2.15.0 atdgen-runtime.2.15.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.17.1 easy-format.1.3.4 either.1.0.0 fmt.0.9.0 fpath.0.7.3 github-data.4.4.1 host-arch-arm64.1 host-system-other.1 logs.0.7.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.3.7.3 ocamlbuild.0.15.0 ocamlfind.1.9.6 re.1.12.0 result.1.5 rresult.0.7.0 seq.base stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3 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 (no changes)
[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 host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-arm64 is already installed (current version is 1).
[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-01-12 00:49.00 ---> saved as "14cfbf3c1aee7c19d3e8ec7cc8db8f82c9ad5816d1d4698eb32d180a7ab1bd8d"
/: (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 host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-arm64 is already installed (current version is 1).
[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.8.0
- install astring 0.8.5
- install atd 2.15.0
- install atdgen 2.15.0
- install atdgen-runtime 2.15.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.17.1
- install easy-format 1.3.4
- install either 1.0.0
- install fmt 0.9.0
- install fpath 0.7.3
- install github-data 4.4.1
- install logs 0.7.0
- install menhir 20240715
- install menhirCST 20240715
- install menhirLib 20240715
- install menhirSdk 20240715
- install ocaml-syntax-shims 1.0.0
- install ocaml-version 3.7.3
- install ocamlbuild 0.15.0
- install ocamlfind 1.9.6
- install re 1.12.0
- install result 1.5
- install rresult 0.7.0
- install seq base
- install stdlib-shims 0.3.0
- install topkg 1.0.7
- install uutf 1.0.3
- install yojson 2.2.2
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5 (cached)
-> retrieved alcotest.1.8.0 (cached)
-> retrieved biniou.1.2.2 (cached)
-> retrieved camlp-streams.5.0.1 (cached)
-> retrieved bos.0.2.1 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved atd.2.15.0, atdgen.2.15.0, atdgen-runtime.2.15.0 (cached)
-> retrieved easy-format.1.3.4 (cached)
-> retrieved either.1.0.0 (cached)
-> retrieved fmt.0.9.0 (cached)
-> retrieved fpath.0.7.3 (cached)
-> retrieved github-data.4.4.1 (cached)
-> retrieved curly.0.3.0 (https://github.com/rgrinberg/curly/releases/download/0.3.0/curly-0.3.0.tbz)
-> retrieved logs.0.7.0 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocaml-version.3.7.3 (cached)
-> retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715 (cached)
-> retrieved ocamlbuild.0.15.0 (cached)
-> retrieved re.1.12.0 (cached)
-> retrieved ocamlfind.1.9.6 (cached)
-> retrieved rresult.0.7.0 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved result.1.5 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved dune.3.17.1 (cached)
-> retrieved yojson.2.2.2 (cached)
-> retrieved uutf.1.0.3 (cached)
-> retrieved topkg.1.0.7 (cached)
-> installed cmdliner.1.3.0
-> installed ocamlbuild.0.15.0
-> installed ocamlfind.1.9.6
-> installed topkg.1.0.7
-> installed rresult.0.7.0
-> installed uutf.1.0.3
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed fpath.0.7.3
-> installed logs.0.7.0
-> installed bos.0.2.1
-> installed dune.3.17.1
-> installed either.1.0.0
-> installed easy-format.1.3.4
-> installed menhirCST.20240715
-> installed camlp-streams.5.0.1
-> installed stdlib-shims.0.3.0
-> installed result.1.5
-> installed ocaml-syntax-shims.1.0.0
-> installed menhirSdk.20240715
-> installed menhirLib.20240715
-> installed ocaml-version.3.7.3
-> installed curly.0.3.0
-> installed biniou.1.2.2
-> installed re.1.12.0
-> installed yojson.2.2.2
-> installed atdgen-runtime.2.15.0
-> installed alcotest.1.8.0
-> installed menhir.20240715
-> installed atd.2.15.0
-> installed atdgen.2.15.0
-> installed github-data.4.4.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-01-12 00:49.54 ---> saved as "26cfc1af5d5c2b05a2db0fb99c2b5ee6d79e786343b356efe5c14dc2a5cffaa8"
/: (copy (src .) (dst ./src))
2025-01-12 00:49.55 ---> saved as "1f015d18473da4458897dad936c60563b7b8c3d55a9f3838f4097ce08845a69d"
/: (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 `3X620PDG'.
......................
2025-01-12 00:49.57 ---> saved as "ca9550dda99b951fa9d4a198ee9262789d477baf5640cc83ffd89d210538c4a6"
Job succeeded
2025-01-12 00:50.02: Job succeeded