2025-09-29 11:35.11: New job: test ocaml-ppx/ppxlib https://github.com/ocaml-ppx/ppxlib.git#refs/heads/0.37 (284b6b1b06b34b3798fa128747a4768fe07093d0) (macos-arm64:macos-homebrew-4.14_arm64_opam-2.4)
Base: macos-homebrew-ocaml-4.14
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocaml-ppx/ppxlib.git" -b "0.37" && cd "ppxlib" && git reset --hard 284b6b1b
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM macos-homebrew-ocaml-4.14
# macos-homebrew-4.14_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 dbd126f1b3e13b70b1010ac087a896c6f0d80bc5 || git fetch origin master) && git reset -q --hard dbd126f1b3e13b70b1010ac087a896c6f0d80bc5 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 ppxlib.opam ppxlib-tools.opam ppxlib-bench.opam ./src/./
RUN opam pin add -yn ppxlib.dev './src/./' && \
opam pin add -yn ppxlib-tools.dev './src/./' && \
opam pin add -yn ppxlib-bench.dev './src/./'
RUN echo '(lang dune 3.0)' > './src/./dune-project'
ENV DEPS="base.v0.16.4 base-bigarray.base base-threads.base base-unix.base cinaps.v0.15.1 cmdliner.2.0.0 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 re.1.14.0 sexplib0.v0.16.0 stdlib-shims.0.3.0 yojson.3.0.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y ppxlib.dev ppxlib-tools.dev ppxlib-bench.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-29 11:35.11: Using cache hint "ocaml-ppx/ppxlib-macos-homebrew-ocaml-4.14-macos-homebrew-4.14_arm64_opam-2.4-5d05309b40e33ba20f94e1fd632e479b"
2025-09-29 11:35.11: Using OBuilder spec:
((from macos-homebrew-ocaml-4.14)
(comment macos-homebrew-4.14_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 dbd126f1b3e13b70b1010ac087a896c6f0d80bc5 || git fetch origin master) && git reset -q --hard dbd126f1b3e13b70b1010ac087a896c6f0d80bc5 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src ppxlib.opam ppxlib-tools.opam ppxlib-bench.opam) (dst ./src/./))
(run (network host)
(shell "opam pin add -yn ppxlib.dev './src/./' && \
\nopam pin add -yn ppxlib-tools.dev './src/./' && \
\nopam pin add -yn ppxlib-bench.dev './src/./'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './src/./dune-project'"))
(env DEPS "base.v0.16.4 base-bigarray.base base-threads.base base-unix.base cinaps.v0.15.1 cmdliner.2.0.0 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 re.1.14.0 sexplib0.v0.16.0 stdlib-shims.0.3.0 yojson.3.0.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 ppxlib.dev ppxlib-tools.dev ppxlib-bench.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-29 11:35.11: Waiting for resource in pool OCluster
2025-09-29 17:59.07: Waiting for worker…
2025-09-30 00:19.21: Got resource from pool OCluster
Building on m1-worker-04
All commits already cached
HEAD is now at 284b6b1b Merge pull request #586 from NathanReb/backport-pprintast-fix
(from macos-homebrew-ocaml-4.14)
2025-09-30 00:19.21 ---> using "0c60f117aee57abea8364cb033d47bb1d63ff0f68e5ee97378e032498e8442af" from cache
/: (comment macos-homebrew-4.14_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-30 00:19.21 ---> using "16fd332aba96a180769fbf49639a0f9a6aa6ed7d2edfa24c2b9bea4039176eb4" 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-30 00:19.21 ---> using "441082522a992e4675bb61cf184ac4d487fcb27eccab875ab68ef480e42527a0" from cache
/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Darwin 24.5.0
The OCaml toplevel, version 4.14.2
2.4.1
2025-09-30 00:19.21 ---> using "73a23ad864bce177bda3ef5ed15fdc258f712e067e25e839184501078d169a1f" 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 dbd126f1b3e13b70b1010ac087a896c6f0d80bc5 || git fetch origin master) && git reset -q --hard dbd126f1b3e13b70b1010ac087a896c6f0d80bc5 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
ec0dc125ad..6bfdcda303 master -> origin/master
dbd126f1b3 Merge pull request #28599 from dbuenzli/b0-publish-cmdliner.2.0.0
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///Users/mac1000/opam-repository
Everything as up-to-date as possible
The following packages are not being upgraded because the new versions conflict with other installed packages:
- ocaml.5.3.0
- ocaml-config.3
However, you may "opam upgrade" these packages explicitly at these versions (e.g. "opam upgrade ocaml.5.3.0"), 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-09-30 00:19.22 ---> using "687d45dd77c8fdc26286a730264b0dd91afdd4584c9dd2eb8ce82035738287a2" from cache
/: (copy (src ppxlib.opam ppxlib-tools.opam ppxlib-bench.opam) (dst ./src/./))
2025-09-30 00:19.23 ---> saved as "734493473e0f111c917223b3b21241e37aece784774a0682bfd3a33a932e19fe"
/: (run (network host)
(shell "opam pin add -yn ppxlib.dev './src/./' && \
\nopam pin add -yn ppxlib-tools.dev './src/./' && \
\nopam pin add -yn ppxlib-bench.dev './src/./'"))
[ppxlib.dev] synchronised (file:///Users/mac1000/src)
ppxlib is now pinned to file:///Users/mac1000/src (version dev)
[ppxlib-tools.dev] synchronised (file:///Users/mac1000/src)
ppxlib-tools is now pinned to file:///Users/mac1000/src (version dev)
[NOTE] Package ppxlib-bench does not exist in opam repositories registered in the current switch.
[ppxlib-bench.dev] synchronised (file:///Users/mac1000/src)
ppxlib-bench is now pinned to file:///Users/mac1000/src (version dev)
2025-09-30 00:19.34 ---> saved as "e6ba4638264409ce0a4fb0c8c496cbd49173a1a53c90e5f78019fe3223701040"
/: (run (network host)
(shell "echo '(lang dune 3.0)' > './src/./dune-project'"))
2025-09-30 00:19.35 ---> saved as "8f1f54de1617eebf9640bf15a5b7045e7c852e625b93e41b9bdde9f5faf42eff"
/: (env DEPS "base.v0.16.4 base-bigarray.base base-threads.base base-unix.base cinaps.v0.15.1 cmdliner.2.0.0 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 re.1.14.0 sexplib0.v0.16.0 stdlib-shims.0.3.0 yojson.3.0.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 ppxlib.dev ppxlib-tools.dev ppxlib-bench.dev $DEPS"))
+ /opt/homebrew/bin/brew "update"
- ==> Updating Homebrew...
- Already up-to-date.
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ppxlib-tools.dev] synchronised (file:///Users/mac1000/src)
[ppxlib-bench.dev] synchronised (file:///Users/mac1000/src)
[ppxlib.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-09-30 00:19.48 ---> saved as "8e589e2ab55d373742c120596635dff8438e0253446a7bc15b31e60410a9ce60"
/: (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 13 packages
- install base v0.16.4
- install cinaps v0.15.1
- install cmdliner 2.0.0
- install csexp 1.5.2
- install dune 3.20.2
- install dune-configurator 3.20.2
- install ocaml-compiler-libs v0.12.4
- install ocamlfind 1.9.8
- install ppx_derivers 1.2.1
- install re 1.14.0
- install sexplib0 v0.16.0
- install stdlib-shims 0.3.0
- install yojson 3.0.0
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cmdliner.2.0.0 (cached)
-> retrieved cinaps.v0.15.1 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved base.v0.16.4 (cached)
-> retrieved ocaml-compiler-libs.v0.12.4 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved sexplib0.v0.16.0 (cached)
-> retrieved re.1.14.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved yojson.3.0.0 (cached)
-> retrieved dune.3.20.2, dune-configurator.3.20.2 (cached)
-> installed cmdliner.2.0.0
-> installed ocamlfind.1.9.8
-> installed dune.3.20.2
-> installed ppx_derivers.1.2.1
-> installed csexp.1.5.2
-> installed yojson.3.0.0
-> installed stdlib-shims.0.3.0
-> installed re.1.14.0
-> installed sexplib0.v0.16.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed cinaps.v0.15.1
-> installed dune-configurator.3.20.2
-> installed base.v0.16.4
Done.
# To update the current shell environment, run: eval $(opam env)
2025-09-30 00:20.33 ---> saved as "726d42c0438589394fcdd353b9fadf8f70603cc9b08c211fac765f56a461a090"
/: (copy (src .) (dst ./src))
2025-09-30 00:20.34 ---> saved as "50f6c03ee2bec3815509812a552b2fe0c1439d5fd66ff19030dea12a010ba09c"
/: (run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-09-30 00:20.51 ---> saved as "1171ab9bd2353791f7fb307a3c9d34913bae2f1f7d47e565be3f9c027e128c0d"
Job succeeded
2025-09-30 00:20.55: Job succeeded