Organisationsocaml-ppxocamlformatd594d9 ()ubuntu-22.04-4.14_opam-2.3

ubuntu-22.04-4.14_opam-2.3

Logs

Show full logs
2025-04-16 09:58.19: New job: test ocaml-ppx/ocamlformat https://github.com/ocaml-ppx/ocamlformat.git#refs/heads/main (d594d9ccb47b2ad077dff018a65b50ea296fb3b3) (linux-x86_64:ubuntu-22.04-4.14_opam-2.3)
Base: ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:eaa64f8574c61bb1c518fd3060586bbb073a56a253172864970622b2d5046483
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/ocaml-ppx/ocamlformat.git" -b "main" && cd "ocamlformat" && git reset --hard d594d9cc
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:eaa64f8574c61bb1c518fd3060586bbb073a56a253172864970622b2d5046483
# ubuntu-22.04-4.14_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.3 /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 d38f51f8d3b0761a1b11d6159006dc415dcaf7b9 || git fetch origin master) && git reset -q --hard d38f51f8d3b0761a1b11d6159006dc415dcaf7b9 && 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 './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.9.0 astring.0.8.5 base.v0.16.4 base-bigarray.base base-bytes.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.18.0 dune-build-info.3.18.0 dune-configurator.3.18.0 either.1.0.0 fix.20230505 fmt.0.10.0 fpath.0.7.3 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocp-indent.1.8.1 re.1.12.0 seq.base sexplib0.v0.16.0 stdio.v0.16.0 stdlib-shims.0.3.0 topkg.1.0.8 uucp.16.0.0 uuseg.16.0.0 uutf.1.0.4 yojson.2.2.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --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

2025-04-16 09:58.19: Using cache hint "ocaml-ppx/ocamlformat-ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:eaa64f8574c61bb1c518fd3060586bbb073a56a253172864970622b2d5046483-ubuntu-22.04-4.14_opam-2.3-a3473a8741d547741762bdad7cc84d19"
2025-04-16 09:58.19: Using OBuilder spec:
((from ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:eaa64f8574c61bb1c518fd3060586bbb073a56a253172864970622b2d5046483)
 (comment ubuntu-22.04-4.14_opam-2.3)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/bin/opam-2.3 /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 d38f51f8d3b0761a1b11d6159006dc415dcaf7b9 || git fetch origin master) && git reset -q --hard d38f51f8d3b0761a1b11d6159006dc415dcaf7b9 && 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 './'"))
 (run (network host)
      (shell "echo '(lang dune 3.0)' > './dune-project'"))
 (env DEPS "alcotest.1.9.0 astring.0.8.5 base.v0.16.4 base-bigarray.base base-bytes.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.18.0 dune-build-info.3.18.0 dune-configurator.3.18.0 either.1.0.0 fix.20230505 fmt.0.10.0 fpath.0.7.3 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocp-indent.1.8.1 re.1.12.0 seq.base sexplib0.v0.16.0 stdio.v0.16.0 stdlib-shims.0.3.0 topkg.1.0.8 uucp.16.0.0 uuseg.16.0.0 uutf.1.0.4 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.3 --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"))
)

2025-04-16 09:58.19: Waiting for resource in pool OCluster
2025-04-16 09:58.20: Waiting for worker…
2025-04-16 09:58.20: Got resource from pool OCluster
Building on phoebe.caelum.ci.dev
All commits already cached
HEAD is now at d594d9cc `|> begin` is now printed on a single line (#2685)

(from ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:eaa64f8574c61bb1c518fd3060586bbb073a56a253172864970622b2d5046483)
Unable to find image 'ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:eaa64f8574c61bb1c518fd3060586bbb073a56a253172864970622b2d5046483' locally
docker.io/ocaml/opam@sha256:eaa64f8574c61bb1c518fd3060586bbb073a56a253172864970622b2d5046483: Pulling from ocaml/opam
7eb0c20ad244: Pulling fs layer
afe2f081e023: Pulling fs layer
e55d65f0df53: Pulling fs layer
e8cefa29fc96: Pulling fs layer
baa558d9eba7: Pulling fs layer
b462d22c24a6: Pulling fs layer
b462d22c24a6: Waiting
e8cefa29fc96: Waiting
baa558d9eba7: Waiting
afe2f081e023: Verifying Checksum
afe2f081e023: Download complete
e8cefa29fc96: Download complete
baa558d9eba7: Verifying Checksum
baa558d9eba7: Download complete
b462d22c24a6: Verifying Checksum
b462d22c24a6: Download complete
e55d65f0df53: Verifying Checksum
e55d65f0df53: Download complete
7eb0c20ad244: Verifying Checksum
7eb0c20ad244: Download complete
7eb0c20ad244: Pull complete
afe2f081e023: Pull complete
e55d65f0df53: Pull complete
e8cefa29fc96: Pull complete
baa558d9eba7: Pull complete
b462d22c24a6: Pull complete
Digest: sha256:eaa64f8574c61bb1c518fd3060586bbb073a56a253172864970622b2d5046483
Status: Downloaded newer image for ocaml/opam@sha256:eaa64f8574c61bb1c518fd3060586bbb073a56a253172864970622b2d5046483
2025-04-16 10:00.06 ---> saved as "9a3d980fdfe902ca4c2d7923fb32b8fd49ee14ae3a131bf1249fe1bbf4132ad9"

/: (comment ubuntu-22.04-4.14_opam-2.3)

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

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (workdir /src)

/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-04-16 10:00.06 ---> saved as "d4ea10c8e2c559c3e30290213f69d2aecb6ac41890c20ae2052f8e7f6f4a7209"

/src: (run (shell "opam init --reinit -ni"))
Configuring from /home/opam/.opamrc and then from 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 development version of opam requires an update to the layout of /home/opam/.opam from version 2.0 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 255 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=255 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
2025-04-16 10:00.25: Cancelling: Auto-cancelling job because it is no longer needed
Job cancelled