2025-02-17 10:41.10: New job: test ocaml-ppx/ocamlformat https://github.com/ocaml-ppx/ocamlformat.git#refs/heads/main (5cc318b21438923f6c45c7283b9b55663d8608ea) (linux-x86_64:debian-12-4.10_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-4.10@sha256:76a66136746b1e94578adf52e7f4db227fc1e45e6aa4fb69ea2cdd0276feedb3
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocaml-ppx/ocamlformat.git" -b "main" && cd "ocamlformat" && git reset --hard 5cc318b2
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.10@sha256:76a66136746b1e94578adf52e7f4db227fc1e45e6aa4fb69ea2cdd0276feedb3
# debian-12-4.10_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 3ee951993de4d18fd335fcea4ac7375cab56a637 || git fetch origin master) && git reset -q --hard 3ee951993de4d18fd335fcea4ac7375cab56a637 && 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.8.0 astring.0.8.5 base.v0.15.1 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.17.2 dune-build-info.3.17.2 dune-configurator.3.17.2 either.1.0.0 fix.20230505 fmt.0.9.0 fpath.0.7.3 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.4.10.2 ocaml-base-compiler.4.10.2 ocaml-config.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.7.3 ocamlbuild.0.15.0 ocamlfind.1.9.8 ocp-indent.1.8.1 re.1.11.0 seq.base sexplib0.v0.15.1 stdio.v0.15.0 stdlib-shims.0.3.0 topkg.1.0.7 uucp.15.0.0 uuseg.15.0.0 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 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-02-17 10:41.10: Using cache hint "ocaml-ppx/ocamlformat-ocaml/opam:debian-12-ocaml-4.10@sha256:76a66136746b1e94578adf52e7f4db227fc1e45e6aa4fb69ea2cdd0276feedb3-debian-12-4.10_opam-2.3-5b4341b729ae1edfeeae678ef88fd351"
2025-02-17 10:41.10: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.10@sha256:76a66136746b1e94578adf52e7f4db227fc1e45e6aa4fb69ea2cdd0276feedb3)
(comment debian-12-4.10_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 3ee951993de4d18fd335fcea4ac7375cab56a637 || git fetch origin master) && git reset -q --hard 3ee951993de4d18fd335fcea4ac7375cab56a637 && 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.8.0 astring.0.8.5 base.v0.15.1 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.17.2 dune-build-info.3.17.2 dune-configurator.3.17.2 either.1.0.0 fix.20230505 fmt.0.9.0 fpath.0.7.3 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.4.10.2 ocaml-base-compiler.4.10.2 ocaml-config.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.7.3 ocamlbuild.0.15.0 ocamlfind.1.9.8 ocp-indent.1.8.1 re.1.11.0 seq.base sexplib0.v0.15.1 stdio.v0.15.0 stdlib-shims.0.3.0 topkg.1.0.7 uucp.15.0.0 uuseg.15.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.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-02-17 10:41.10: Waiting for resource in pool OCluster
2025-02-17 10:41.10: Waiting for worker…
2025-02-17 10:41.10: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
HEAD is now at 5cc318b2 generate better asts for function bindings (#2651)
(from ocaml/opam:debian-12-ocaml-4.10@sha256:76a66136746b1e94578adf52e7f4db227fc1e45e6aa4fb69ea2cdd0276feedb3)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.10@sha256:76a66136746b1e94578adf52e7f4db227fc1e45e6aa4fb69ea2cdd0276feedb3' locally
docker.io/ocaml/opam@sha256:76a66136746b1e94578adf52e7f4db227fc1e45e6aa4fb69ea2cdd0276feedb3: Pulling from ocaml/opam
ec6d324e888a: Pulling fs layer
ec6d324e888a: Verifying Checksum
ec6d324e888a: Download complete
ec6d324e888a: Pull complete
Digest: sha256:76a66136746b1e94578adf52e7f4db227fc1e45e6aa4fb69ea2cdd0276feedb3
Status: Downloaded newer image for ocaml/opam@sha256:76a66136746b1e94578adf52e7f4db227fc1e45e6aa4fb69ea2cdd0276feedb3
2025-02-17 10:44.00 ---> saved as "197f2ec906eef7cc3a2a6d66dde9b7407927249d02f4a0a8efa0b795ca1a43af"
/: (comment debian-12-4.10_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-02-17 10:44.00 ---> saved as "aecfe1f35b1addb2eadf73d0d3214ae6884630326b4d4a33fe9a5c208e3a9b45"
/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.
Continue? [y/n] y
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.
[NOTE] The 'jobs' option was reset, its value was 39 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=39 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2025-02-17 10:45.10: Cancelling: Auto-cancelling job because it is no longer needed
Job cancelled