Organisationsocaml-ppxocamlformate1f556 ()debian-11-5.2_opam-2.2

debian-11-5.2_opam-2.2

Logs

Show full logs
2024-11-14 10:04.33: New job: test ocaml-ppx/ocamlformat https://github.com/ocaml-ppx/ocamlformat.git#refs/pull/2619/head (e1f5566bb2d90f7271f33d4e21b8db819944ad95) (linux-x86_64:debian-11-5.2_opam-2.2)
Base: ocaml/opam:debian-11-ocaml-5.2@sha256:2c40b5419800cb711bb00e43bb47fcfe9c7f05a0b35004d0630583a6bae48bd4
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/ocaml-ppx/ocamlformat.git" && cd "ocamlformat" && git fetch origin "refs/pull/2619/head" && git reset --hard e1f5566b
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-11-ocaml-5.2@sha256:2c40b5419800cb711bb00e43bb47fcfe9c7f05a0b35004d0630583a6bae48bd4
# debian-11-5.2_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 654ee104df48ee785861d169cd1ca7eba64b6668 || git fetch origin master) && git reset -q --hard 654ee104df48ee785861d169cd1ca7eba64b6668 && 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.8.0 astring.0.8.5 base.v0.17.1 base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base bechamel.0.5.0 camlp-streams.5.0.1 cmdliner.1.3.0 csexp.1.5.2 dune.3.16.1 dune-build-info.3.16.1 dune-configurator.3.16.1 either.1.0.0 fix.20230505 fmt.0.9.0 fpath.0.7.3 host-arch-x86_64.1 host-system-other.1 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.7.0 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocp-indent.1.8.1 re.1.12.0 seq.base sexplib0.v0.17.0 stdio.v0.17.0 stdlib-shims.0.3.0 topkg.1.0.7 uucp.16.0.0 uuseg.16.0.0 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 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-11-14 10:04.33: Using cache hint "ocaml-ppx/ocamlformat-ocaml/opam:debian-11-ocaml-5.2@sha256:2c40b5419800cb711bb00e43bb47fcfe9c7f05a0b35004d0630583a6bae48bd4-debian-11-5.2_opam-2.2-6f4d51e5c70b67c32e8739d997b431b9"
2024-11-14 10:04.33: Using OBuilder spec:
((from ocaml/opam:debian-11-ocaml-5.2@sha256:2c40b5419800cb711bb00e43bb47fcfe9c7f05a0b35004d0630583a6bae48bd4)
 (comment debian-11-5.2_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 654ee104df48ee785861d169cd1ca7eba64b6668 || git fetch origin master) && git reset -q --hard 654ee104df48ee785861d169cd1ca7eba64b6668 && 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.8.0 astring.0.8.5 base.v0.17.1 base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base bechamel.0.5.0 camlp-streams.5.0.1 cmdliner.1.3.0 csexp.1.5.2 dune.3.16.1 dune-build-info.3.16.1 dune-configurator.3.16.1 either.1.0.0 fix.20230505 fmt.0.9.0 fpath.0.7.3 host-arch-x86_64.1 host-system-other.1 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.7.0 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocp-indent.1.8.1 re.1.12.0 seq.base sexplib0.v0.17.0 stdio.v0.17.0 stdlib-shims.0.3.0 topkg.1.0.7 uucp.16.0.0 uuseg.16.0.0 uutf.1.0.3 yojson.2.2.2")
 (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-11-14 10:04.33: Waiting for resource in pool OCluster
2024-11-14 10:04.33: Waiting for worker…
2024-11-14 10:05.22: Got resource from pool OCluster
Building on x86-bm-c19.sw.ocaml.org
HEAD is now at 8af2ec4d test: Test all profiles (#2618)
HEAD is now at e1f5566b More coverage of 'fmt_str_loc'

(from ocaml/opam:debian-11-ocaml-5.2@sha256:2c40b5419800cb711bb00e43bb47fcfe9c7f05a0b35004d0630583a6bae48bd4)
Unable to find image 'ocaml/opam:debian-11-ocaml-5.2@sha256:2c40b5419800cb711bb00e43bb47fcfe9c7f05a0b35004d0630583a6bae48bd4' locally
docker.io/ocaml/opam@sha256:2c40b5419800cb711bb00e43bb47fcfe9c7f05a0b35004d0630583a6bae48bd4: Pulling from ocaml/opam
24c40659df18: Pulling fs layer
24c40659df18: Verifying Checksum
24c40659df18: Download complete
2024-11-14 10:06.23: Cancelling: Auto-cancelling job because it is no longer needed
24c40659df18: Pull complete
Digest: sha256:2c40b5419800cb711bb00e43bb47fcfe9c7f05a0b35004d0630583a6bae48bd4
Status: Downloaded newer image for ocaml/opam@sha256:2c40b5419800cb711bb00e43bb47fcfe9c7f05a0b35004d0630583a6bae48bd4
2024-11-14 10:07.18 ---> saved as "f0c230aabde05de7500aa34e907c88777911e074998208335c27ae11b0e964e2"

/: (comment debian-11-5.2_opam-2.2)

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

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (workdir /src)

/src: (run (shell "sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam"))
Job cancelled