Organisationsahrefsatdaa80e7 ()macos-homebrew-5.4_opam-2.5

macos-homebrew-5.4_opam-2.5

Link Copied
Code Copied

Logs

2026-03-30 07:04.06: New job: test ahrefs/atd https://github.com/ahrefs/atd.git#refs/heads/martin/json-ast (aa80e717f257aa6714a6d4b414412df17f0cce2e) (macos-x86_64:macos-homebrew-5.4_opam-2.5)
Base: macos-homebrew-ocaml-5.4
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ahrefs/atd.git" -b "martin/json-ast" && cd "atd" && git reset --hard aa80e717
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM macos-homebrew-ocaml-5.4
# macos-homebrew-5.4_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-domains.base base-effects.base base-nnp.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.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 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:04.06: Using cache hint "ahrefs/atd-macos-homebrew-ocaml-5.4-macos-homebrew-5.4_opam-2.5-d5840337bd58c3f1a6614126ebd446f6"
2026-03-30 07:04.06: Using OBuilder spec:
((from macos-homebrew-ocaml-5.4)
(comment macos-homebrew-5.4_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-domains.base base-effects.base base-nnp.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.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 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:04.06: Waiting for resource in pool OCluster
2026-03-30 07:04.06: Waiting for worker…
2026-03-30 07:04.06: Got resource from pool OCluster
Building on i7-worker-03
HEAD is now at 325b673 atd-jsonlike: add README, unit tests, and Makefile
HEAD is now at aa80e71 atdml: Add jsonlike round-trip tests piggybacking on existing test_e2e tests


(from macos-homebrew-ocaml-5.4)
2026-03-30 07:04.09 ---> using "338135fbf1889e924a607b47198b8b308c32a925cc9436066d65a9bdc402cad5" from cache


/: (comment macos-homebrew-5.4_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:04.09 ---> using "0e9d0f8ed44ab1f77ef30c8d8456629e6c63f869a24319cbb64657a84e315111" 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:04.09 ---> using "06effe220fa63e5f9fae9bf4643255961d59bf292a94931a0e1dd6d81a9fa7c6" from cache


/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Darwin 24.5.0
The OCaml toplevel, version 5.4.0
2.5.0
2026-03-30 07:04.10 ---> using "78e99acc02a52806060d0075d40f6ea681e9ef77eb60ecbbaff6e5155272646b" 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
95f7875db7..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
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:04.10 ---> using "c8fe2cfa027e72ca918aeeedbc74107cb443df6605d62a31e3ed96c4c32b9920" 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:04.10 ---> using "1b351eed9bad1df4de835869e63a043e78adf9d0939508a60990c0c52bd76304" 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:04.10 ---> using "5da573252348a6d483e537ed59a645e6ef83f98668880896bbb3c4e5911154ee" from cache


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


/: (env DEPS "alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.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.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 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"))
+ /usr/local/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:04.46: Job failed: Failed: Build failed