Organisationsocurrentobuilder8890af ()macos-homebrew-4.14_arm64_opam-2.2

macos-homebrew-4.14_arm64_opam-2.2

Link Copied
Code Copied

Logs

2024-10-28 14:51.29: New job: test ocurrent/obuilder https://github.com/ocurrent/obuilder.git#refs/pull/195/head (8890afb0fd04f7f0293f014b18414ba823a83cce) (macos-arm64:macos-homebrew-4.14_arm64_opam-2.2)
Base: macos-homebrew-ocaml-4.14
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ocurrent/obuilder.git" && cd "obuilder" && git fetch origin "refs/pull/195/head" && git reset --hard 8890afb0
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM macos-homebrew-ocaml-4.14
# macos-homebrew-4.14_arm64_opam-2.2
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN ln -f ~/local/bin/opam-2.2 ~/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 63cfa2da7451530777c99ac51ebfc3a717cff962 || git fetch origin master) && git reset -q --hard 63cfa2da7451530777c99ac51ebfc3a717cff962 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 obuilder.opam obuilder-spec.opam ./src/./
RUN opam pin add -yn obuilder.dev './src/./' && \
opam pin add -yn obuilder-spec.dev './src/./'
ENV DEPS="alcotest.1.8.0 alcotest-lwt.1.8.0 astring.0.8.5 base.v0.16.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base camlp-streams.5.0.1 checkseum.0.5.2 cmdliner.1.3.0 conf-bash.1 conf-pkg-config.3 conf-sqlite3.1 cppo.1.7.0 crunch.3.3.1 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 decompress.1.5.3 dune.3.16.0 dune-configurator.3.16.0 extunix.0.4.2 fmt.0.9.0 fpath.0.7.3 host-arch-arm64.1 host-system-other.1 logs.0.7.0 lwt.5.8.0 num.1.5-1 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.15.0 ocamlfind.1.9.6 ocplib-endian.1.2 optint.0.3.0 parsexp.v0.16.0 ppx_derivers.1.2.1 ppx_deriving.6.0.3 ppx_sexp_conv.v0.16.0 ppxlib.0.33.0 ptime.1.2.0 re.1.12.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 sha.1.15.4 sqlite3.5.2.0 stdlib-shims.0.3.0 tar.2.6.0 tar-unix.2.6.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.2 --depext-only -y obuilder.dev obuilder-spec.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-10-28 14:51.29: Using cache hint "ocurrent/obuilder-macos-homebrew-ocaml-4.14-macos-homebrew-4.14_arm64_opam-2.2-35433bda88d3b604fb3080c24a576f73"
2024-10-28 14:51.29: Using OBuilder spec:
((from macos-homebrew-ocaml-4.14)
(comment macos-homebrew-4.14_arm64_opam-2.2)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(run (shell "ln -f ~/local/bin/opam-2.2 ~/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 63cfa2da7451530777c99ac51ebfc3a717cff962 || git fetch origin master) && git reset -q --hard 63cfa2da7451530777c99ac51ebfc3a717cff962 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src obuilder.opam obuilder-spec.opam) (dst ./src/./))
(run (network host)
(shell  "opam pin add -yn obuilder.dev './src/./' && \
\nopam pin add -yn obuilder-spec.dev './src/./'"))
(env DEPS "alcotest.1.8.0 alcotest-lwt.1.8.0 astring.0.8.5 base.v0.16.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base camlp-streams.5.0.1 checkseum.0.5.2 cmdliner.1.3.0 conf-bash.1 conf-pkg-config.3 conf-sqlite3.1 cppo.1.7.0 crunch.3.3.1 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 decompress.1.5.3 dune.3.16.0 dune-configurator.3.16.0 extunix.0.4.2 fmt.0.9.0 fpath.0.7.3 host-arch-arm64.1 host-system-other.1 logs.0.7.0 lwt.5.8.0 num.1.5-1 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.15.0 ocamlfind.1.9.6 ocplib-endian.1.2 optint.0.3.0 parsexp.v0.16.0 ppx_derivers.1.2.1 ppx_deriving.6.0.3 ppx_sexp_conv.v0.16.0 ppxlib.0.33.0 ptime.1.2.0 re.1.12.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 sha.1.15.4 sqlite3.5.2.0 stdlib-shims.0.3.0 tar.2.6.0 tar-unix.2.6.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.2 --depext-only -y obuilder.dev obuilder-spec.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-10-28 14:51.29: Waiting for resource in pool OCluster
2024-10-28 15:45.53: Waiting for worker…
2024-10-28 18:32.35: Cancelling: Auto-cancelling job because it is no longer needed