2024-12-18 17:26.23: New job: test ahrefs/atd https://github.com/ahrefs/atd.git#refs/pull/418/head (94051f98de3a7e8c91a285a9465646b12d6c4111) (macos-x86_64:macos-homebrew-5.2_opam-2.3)
Base: macos-homebrew-ocaml-5.2
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ahrefs/atd.git" && cd "atd" && git fetch origin "refs/pull/418/head" && git reset --hard 94051f98
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM macos-homebrew-ocaml-5.2
# macos-homebrew-5.2_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 1b58d8c4dd40d1b4a0893c7b9182b698c1b34c44 || git fetch origin master) && git reset -q --hard 1b58d8c4dd40d1b4a0893c7b9182b698c1b34c44 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 atdts.opam atds.opam atdpy.opam atdj.opam atdgen.opam atdgen-runtime.opam atdgen-codec-runtime.opam atdd.opam atdcpp.opam atd.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 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/./'
RUN echo '(lang dune 3.0)' > './src/./dune-project'
ENV DEPS="alcotest.1.8.0 astring.0.8.5 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base biniou.1.2.2 camlp-streams.5.0.1 cmdliner.1.3.0 conf-python-3.9.0.0 dune.3.17.0 easy-format.1.3.4 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.5.2.1 ocaml-base-compiler.5.2.1 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.15.0 ocamlfind.1.9.6 re.1.12.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 atdts.dev atds.dev atdpy.dev atdj.dev atdgen.dev atdgen-runtime.dev atdgen-codec-runtime.dev atdd.dev atdcpp.dev atd.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
2024-12-18 17:26.23: Using cache hint "ahrefs/atd-macos-homebrew-ocaml-5.2-macos-homebrew-5.2_opam-2.3-e6545b2996ebe2910ec124f682dccb23"
2024-12-18 17:26.23: Using OBuilder spec:
((from macos-homebrew-ocaml-5.2)
(comment macos-homebrew-5.2_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 1b58d8c4dd40d1b4a0893c7b9182b698c1b34c44 || git fetch origin master) && git reset -q --hard 1b58d8c4dd40d1b4a0893c7b9182b698c1b34c44 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src atdts.opam atds.opam atdpy.opam atdj.opam atdgen.opam atdgen-runtime.opam atdgen-codec-runtime.opam atdd.opam atdcpp.opam atd.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 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/./'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './src/./dune-project'"))
(env DEPS "alcotest.1.8.0 astring.0.8.5 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base biniou.1.2.2 camlp-streams.5.0.1 cmdliner.1.3.0 conf-python-3.9.0.0 dune.3.17.0 easy-format.1.3.4 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.5.2.1 ocaml-base-compiler.5.2.1 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.15.0 ocamlfind.1.9.6 re.1.12.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 atdts.dev atds.dev atdpy.dev atdj.dev atdgen.dev atdgen-runtime.dev atdgen-codec-runtime.dev atdd.dev atdcpp.dev atd.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"))
)
2024-12-18 17:26.23: Waiting for resource in pool OCluster
2024-12-18 17:26.24: Waiting for worker…
2024-12-18 17:29.30: Cancelling: Auto-cancelling job because it is no longer needed