2024-10-31 10:27.05: New job: test ocaml-ppx/ocamlformat https://github.com/ocaml-ppx/ocamlformat.git#refs/heads/main (0df6987ec679b32db9075a0a6f1db277846c95c2) (linux-x86_64:(lower-bound))
Base: ocaml/opam:debian-12-ocaml-4.08@sha256:313659e036d93aad64e3d503c7a2aa6326e0a2c7426087b094ccca6aed7d1612
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocaml-ppx/ocamlformat.git" -b "main" && cd "ocamlformat" && git reset --hard 0df6987e
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.08@sha256:313659e036d93aad64e3d503c7a2aa6326e0a2c7426087b094ccca6aed7d1612
# debian-12-4.08_opam-2.2
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
WORKDIR /src
RUN sudo chown opam /src
RUN cd ~/opam-repository && (git cat-file -e 4795e0895b44aa27b6ee67583148aee756966a60 || git fetch origin master) && git reset -q --hard 4795e0895b44aa27b6ee67583148aee756966a60 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 ocamlformat.opam ocamlformat-rpc-lib.opam ocamlformat-lib.opam ocamlformat-bench.opam ./
RUN opam pin add -yn ocamlformat.dev './' && \
opam pin add -yn ocamlformat-rpc-lib.dev './' && \
opam pin add -yn ocamlformat-lib.dev './' && \
opam pin add -yn ocamlformat-bench.dev './'
ENV DEPS="alcotest.1.3.0 astring.0.8.2 base.v0.12.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base bechamel.0.2.0 biniou.1.2.0 camlp-streams.5.0.1 cmdliner.1.2.0 conf-m4.1 conf-which.1 cppo.1.6.1 csexp.1.4.0 dune.2.8.0 dune-build-info.1.11.0 dune-configurator.2.3.0 dune-private-libs.2.3.0 easy-format.1.0.1 either.1.0.0 fix.20130611 fmt.0.9.0 fpath.0.7.3 jbuilder.1.0+beta20.1 menhir.20201216 menhirLib.20201216 menhirSdk.20201216 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocaml-version.3.5.0 ocamlbuild.0.14.0 ocamlfind.1.8.0 ocp-indent.1.8.1 re.1.10.3 result.1.5 seq.0.2.2 sexplib0.v0.12.0 stdio.v0.12.0 stdlib-shims.0.1.0 topkg.1.0.3 uchar.0.0.2 uucp.10.0.0 uuidm.0.9.6 uuseg.10.0.0 uutf.1.0.1 yojson.1.6.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y ocamlformat.dev ocamlformat-rpc-lib.dev ocamlformat-lib.dev ocamlformat-bench.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build @install @check @runtest && rm -rf _build
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2024-10-31 10:27.05: Using cache hint "ocaml-ppx/ocamlformat-ocaml/opam:debian-12-ocaml-4.08@sha256:313659e036d93aad64e3d503c7a2aa6326e0a2c7426087b094ccca6aed7d1612-debian-12-4.08_opam-2.2-0e728fc46e0bf1e0bc06a2744a008add"
2024-10-31 10:27.05: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.08@sha256:313659e036d93aad64e3d503c7a2aa6326e0a2c7426087b094ccca6aed7d1612)
(comment debian-12-4.08_opam-2.2)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam"))
(run (shell "opam init --reinit -ni"))
(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
(workdir /src)
(run (shell "sudo chown opam /src"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 4795e0895b44aa27b6ee67583148aee756966a60 || git fetch origin master) && git reset -q --hard 4795e0895b44aa27b6ee67583148aee756966a60 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src ocamlformat.opam ocamlformat-rpc-lib.opam ocamlformat-lib.opam ocamlformat-bench.opam)
(dst ./))
(run (network host)
(shell "opam pin add -yn ocamlformat.dev './' && \
\nopam pin add -yn ocamlformat-rpc-lib.dev './' && \
\nopam pin add -yn ocamlformat-lib.dev './' && \
\nopam pin add -yn ocamlformat-bench.dev './'"))
(env DEPS "alcotest.1.3.0 astring.0.8.2 base.v0.12.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base bechamel.0.2.0 biniou.1.2.0 camlp-streams.5.0.1 cmdliner.1.2.0 conf-m4.1 conf-which.1 cppo.1.6.1 csexp.1.4.0 dune.2.8.0 dune-build-info.1.11.0 dune-configurator.2.3.0 dune-private-libs.2.3.0 easy-format.1.0.1 either.1.0.0 fix.20130611 fmt.0.9.0 fpath.0.7.3 jbuilder.1.0+beta20.1 menhir.20201216 menhirLib.20201216 menhirSdk.20201216 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocaml-version.3.5.0 ocamlbuild.0.14.0 ocamlfind.1.8.0 ocp-indent.1.8.1 re.1.10.3 result.1.5 seq.0.2.2 sexplib0.v0.12.0 stdio.v0.12.0 stdlib-shims.0.1.0 topkg.1.0.3 uchar.0.0.2 uucp.10.0.0 uuidm.0.9.6 uuseg.10.0.0 uutf.1.0.1 yojson.1.6.0")
(env CI true)
(env OCAMLCI true)
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.2 --depext-only -y ocamlformat.dev ocamlformat-rpc-lib.dev ocamlformat-lib.dev ocamlformat-bench.dev $DEPS"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst /src))
(run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
)
2024-10-31 10:27.05: Waiting for resource in pool OCluster
2024-10-31 10:27.05: Waiting for worker…
2024-10-31 10:27.07: Cancelling: Auto-cancelling job because it is no longer needed