Organisationsahrefsatd7f7568 ()macos-homebrew-4.14_arm64_opam-2.5

macos-homebrew-4.14_arm64_opam-2.5

Link Copied
Code Copied

Logs

2026-03-30 07:05.38: New job: test ahrefs/atd https://github.com/ahrefs/atd.git#refs/heads/martin/json-ast (7f756871c3739845fd53d53e3728ad3d01b6084a) (macos-arm64:macos-homebrew-4.14_arm64_opam-2.5)
Base: macos-homebrew-ocaml-4.14
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ahrefs/atd.git" -b "martin/json-ast" && cd "atd" && git reset --hard 7f756871
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM macos-homebrew-ocaml-4.14
# macos-homebrew-4.14_arm64_opam-2.5
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN ln -f ~/local/bin/opam-2.5 ~/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 46f289cd3749314bbebddeede62fc05f9858f680 || git fetch origin master) && git reset -q --hard 46f289cd3749314bbebddeede62fc05f9858f680 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 atdts.opam atds.opam atdpy.opam atdml.opam atdj.opam atdgen.opam atdgen-runtime.opam atdgen-codec-runtime.opam atdd.opam atdcpp.opam atd.opam atd-jsonlike.opam ./src/./
RUN opam pin add -yn atdts.dev './src/./' && \
opam pin add -yn atds.dev './src/./' && \
opam pin add -yn atdpy.dev './src/./' && \
opam pin add -yn atdml.dev './src/./' && \
opam pin add -yn atdj.dev './src/./' && \
opam pin add -yn atdgen.dev './src/./' && \
opam pin add -yn atdgen-runtime.dev './src/./' && \
opam pin add -yn atdgen-codec-runtime.dev './src/./' && \
opam pin add -yn atdd.dev './src/./' && \
opam pin add -yn atdcpp.dev './src/./' && \
opam pin add -yn atd.dev './src/./' && \
opam pin add -yn atd-jsonlike.dev './src/./'
RUN echo '(lang dune 3.0)' > './src/./dune-project'
ENV DEPS="alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base biniou.1.2.2 camlp-streams.5.0.1 cmdliner.2.1.0 conf-python-3.9.0.0 cppo.1.8.0 dune.3.22.0 easy-format.1.3.4 fmt.0.11.0 fpath.0.7.3 menhir.20260209 menhirCST.20260209 menhirGLR.20260209 menhirLib.20260209 menhirSdk.20260209 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 ppx_deriving.6.1.1 ppxlib.0.38.0 re.1.14.0 sexplib0.v0.17.0 stdlib-shims.0.3.0 testo.0.4.0 testo-diff.0.4.0 testo-util.0.4.0 topkg.1.1.1 uutf.1.0.4 yojson.3.0.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.5 --depext-only -y atdts.dev atds.dev atdpy.dev atdml.dev atdj.dev atdgen.dev atdgen-runtime.dev atdgen-codec-runtime.dev atdd.dev atdcpp.dev atd.dev atd-jsonlike.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


2026-03-30 07:05.38: Using cache hint "ahrefs/atd-macos-homebrew-ocaml-4.14-macos-homebrew-4.14_arm64_opam-2.5-2aadc5f08f8ef3c0a0ed287542d8772b"
2026-03-30 07:05.38: Using OBuilder spec:
((from macos-homebrew-ocaml-4.14)
(comment macos-homebrew-4.14_arm64_opam-2.5)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(run (shell "ln -f ~/local/bin/opam-2.5 ~/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 46f289cd3749314bbebddeede62fc05f9858f680 || git fetch origin master) && git reset -q --hard 46f289cd3749314bbebddeede62fc05f9858f680 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src atdts.opam atds.opam atdpy.opam atdml.opam atdj.opam atdgen.opam atdgen-runtime.opam atdgen-codec-runtime.opam atdd.opam atdcpp.opam atd.opam atd-jsonlike.opam)
(dst ./src/./))
(run (network host)
(shell  "opam pin add -yn atdts.dev './src/./' && \
\nopam pin add -yn atds.dev './src/./' && \
\nopam pin add -yn atdpy.dev './src/./' && \
\nopam pin add -yn atdml.dev './src/./' && \
\nopam pin add -yn atdj.dev './src/./' && \
\nopam pin add -yn atdgen.dev './src/./' && \
\nopam pin add -yn atdgen-runtime.dev './src/./' && \
\nopam pin add -yn atdgen-codec-runtime.dev './src/./' && \
\nopam pin add -yn atdd.dev './src/./' && \
\nopam pin add -yn atdcpp.dev './src/./' && \
\nopam pin add -yn atd.dev './src/./' && \
\nopam pin add -yn atd-jsonlike.dev './src/./'"))
(run (shell "echo '(lang dune 3.0)' > './src/./dune-project'"))
(env DEPS "alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base biniou.1.2.2 camlp-streams.5.0.1 cmdliner.2.1.0 conf-python-3.9.0.0 cppo.1.8.0 dune.3.22.0 easy-format.1.3.4 fmt.0.11.0 fpath.0.7.3 menhir.20260209 menhirCST.20260209 menhirGLR.20260209 menhirLib.20260209 menhirSdk.20260209 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 ppx_deriving.6.1.1 ppxlib.0.38.0 re.1.14.0 sexplib0.v0.17.0 stdlib-shims.0.3.0 testo.0.4.0 testo-diff.0.4.0 testo-util.0.4.0 topkg.1.1.1 uutf.1.0.4 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.5 --depext-only -y atdts.dev atds.dev atdpy.dev atdml.dev atdj.dev atdgen.dev atdgen-runtime.dev atdgen-codec-runtime.dev atdd.dev atdcpp.dev atd.dev atd-jsonlike.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"))
)


2026-03-30 07:05.38: Waiting for resource in pool OCluster
2026-03-30 07:05.38: Waiting for worker…
2026-03-30 07:05.38: Got resource from pool OCluster
Building on m1-worker-01
HEAD is now at aa80e71 atdml: Add jsonlike round-trip tests piggybacking on existing test_e2e tests
HEAD is now at 7f75687 atdml: Remove unnecessary trailing underscores from jsonlike helper names


(from macos-homebrew-ocaml-4.14)
2026-03-30 07:05.39 ---> using "0c60f117aee57abea8364cb033d47bb1d63ff0f68e5ee97378e032498e8442af" from cache


/: (comment macos-homebrew-4.14_arm64_opam-2.5)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (run (shell "ln -f ~/local/bin/opam-2.5 ~/local/bin/opam"))
2026-03-30 07:05.40 ---> using "75b1629629d7f21c50a7e1e39b2ef83e2edb8ace81aab34254c0c8782b814749" 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
2026-03-30 07:05.40 ---> using "a61e945ab7671a6fff400f946e3fe88df4d67a783ea1f56fa59dc21595ef1b19" from cache


/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Darwin 24.5.0
The OCaml toplevel, version 4.14.2
2.5.0
2026-03-30 07:05.40 ---> using "11a9923a4c4f0ab256d15330129e4c4938459d2e6239eb4f7bdf0f2620300e09" 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 46f289cd3749314bbebddeede62fc05f9858f680 || git fetch origin master) && git reset -q --hard 46f289cd3749314bbebddeede62fc05f9858f680 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
043b6ea343..46f289cd37  master     -> origin/master
46f289cd37 Merge pull request #29563 from NathanReb/release-ppxlib-0.38.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.5.0
- ocaml-config.3
However, you may "opam upgrade" these packages explicitly at these versions (e.g. "opam upgrade ocaml.5.5.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)
2026-03-30 07:05.40 ---> using "5c298a6bc799212a82bc1980c2a6146833c4e52c907d80e0de73faac53bdf212" from cache


/: (copy (src atdts.opam atds.opam atdpy.opam atdml.opam atdj.opam atdgen.opam atdgen-runtime.opam atdgen-codec-runtime.opam atdd.opam atdcpp.opam atd.opam atd-jsonlike.opam)
(dst ./src/./))
2026-03-30 07:05.40 ---> using "579b0f18571c5dfeb1f36d04ff470b5809b0266f9361b8a8d0f960c8ab02edf6" from cache


/: (run (network host)
(shell  "opam pin add -yn atdts.dev './src/./' && \
\nopam pin add -yn atds.dev './src/./' && \
\nopam pin add -yn atdpy.dev './src/./' && \
\nopam pin add -yn atdml.dev './src/./' && \
\nopam pin add -yn atdj.dev './src/./' && \
\nopam pin add -yn atdgen.dev './src/./' && \
\nopam pin add -yn atdgen-runtime.dev './src/./' && \
\nopam pin add -yn atdgen-codec-runtime.dev './src/./' && \
\nopam pin add -yn atdd.dev './src/./' && \
\nopam pin add -yn atdcpp.dev './src/./' && \
\nopam pin add -yn atd.dev './src/./' && \
\nopam pin add -yn atd-jsonlike.dev './src/./'"))
[atdts.dev] synchronised (file:///Users/mac1000/src)
atdts is now pinned to file:///Users/mac1000/src (version dev)
[atds.dev] synchronised (file:///Users/mac1000/src)
atds is now pinned to file:///Users/mac1000/src (version dev)
[atdpy.dev] synchronised (file:///Users/mac1000/src)
atdpy is now pinned to file:///Users/mac1000/src (version dev)
[atdml.dev] synchronised (file:///Users/mac1000/src)
atdml is now pinned to file:///Users/mac1000/src (version dev)
[atdj.dev] synchronised (file:///Users/mac1000/src)
atdj is now pinned to file:///Users/mac1000/src (version dev)
[atdgen.dev] synchronised (file:///Users/mac1000/src)
atdgen is now pinned to file:///Users/mac1000/src (version dev)
[atdgen-runtime.dev] synchronised (file:///Users/mac1000/src)
atdgen-runtime is now pinned to file:///Users/mac1000/src (version dev)
[atdgen-codec-runtime.dev] synchronised (file:///Users/mac1000/src)
atdgen-codec-runtime is now pinned to file:///Users/mac1000/src (version dev)
[atdd.dev] synchronised (file:///Users/mac1000/src)
atdd is now pinned to file:///Users/mac1000/src (version dev)
[atdcpp.dev] synchronised (file:///Users/mac1000/src)
atdcpp is now pinned to file:///Users/mac1000/src (version dev)
[atd.dev] synchronised (file:///Users/mac1000/src)
atd is now pinned to file:///Users/mac1000/src (version dev)
[NOTE] Package atd-jsonlike does not exist in opam repositories registered in the current switch.
[atd-jsonlike.dev] synchronised (file:///Users/mac1000/src)
atd-jsonlike is now pinned to file:///Users/mac1000/src (version dev)
2026-03-30 07:05.40 ---> using "83a44e3d88bc212d1350d506a7fe55ca7c33fd5264981a58ab16f8d9a19ec888" from cache


/: (run (shell "echo '(lang dune 3.0)' > './src/./dune-project'"))
2026-03-30 07:05.40 ---> using "0bcd8dffeab43c6365a8e3f033cdf5211e8758217eac73d8fcf002eff2536445" from cache


/: (env DEPS "alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base biniou.1.2.2 camlp-streams.5.0.1 cmdliner.2.1.0 conf-python-3.9.0.0 cppo.1.8.0 dune.3.22.0 easy-format.1.3.4 fmt.0.11.0 fpath.0.7.3 menhir.20260209 menhirCST.20260209 menhirGLR.20260209 menhirLib.20260209 menhirSdk.20260209 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 ppx_deriving.6.1.1 ppxlib.0.38.0 re.1.14.0 sexplib0.v0.17.0 stdlib-shims.0.3.0 testo.0.4.0 testo-diff.0.4.0 testo-util.0.4.0 topkg.1.1.1 uutf.1.0.4 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.5 --depext-only -y atdts.dev atds.dev atdpy.dev atdml.dev atdj.dev atdgen.dev atdgen-runtime.dev atdgen-codec-runtime.dev atdd.dev atdcpp.dev atd.dev atd-jsonlike.dev $DEPS"))
+ /opt/homebrew/bin/brew "update"
- ==> Updating Homebrew...
- Already up-to-date.
[ERROR] Package ppxlib has no version 0.38.0.
"/usr/bin/env" "bash" "-c" "opam update --depexts && opam install --cli=2.5 --depext-only -y atdts.dev atds.dev atdpy.dev atdml.dev atdj.dev atdgen.dev atdgen-runtime.dev atdgen-codec-runtime.dev atdd.dev atdcpp.dev atd.dev atd-jsonlike.dev $DEPS" failed with exit status 5
2026-03-30 07:06.07: Job failed: Failed: Build failed