Organisationsocaml-ppxppxlib2a158e ()(lower-bound)

(lower-bound)

Link Copied
Code Copied

Logs

2024-12-11 09:57.59: New job: test ocaml-ppx/ppxlib https://github.com/ocaml-ppx/ppxlib.git#refs/pull/540/head (2a158e9a105726a61c19208a9437a420f3c6722f) (linux-x86_64:(lower-bound))
Base: ocaml/opam:debian-12-ocaml-4.04@sha256:26304ddae1402b96fa743884c22d65d61b4ab7fc6d9056e6148a02dfc9c394cd
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ocaml-ppx/ppxlib.git" && cd "ppxlib" && git fetch origin "refs/pull/540/head" && git reset --hard 2a158e9a
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.04@sha256:26304ddae1402b96fa743884c22d65d61b4ab7fc6d9056e6148a02dfc9c394cd
# debian-12-4.04_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 28daeff6f36e886a2c133aceed8a117d4c6dcd28 || git fetch origin master) && git reset -q --hard 28daeff6f36e886a2c133aceed8a117d4c6dcd28 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 ppxlib.opam ppxlib-tools.opam ppxlib-bench.opam ./
RUN opam pin add -yn ppxlib.dev './' && echo '(lang dune 3.0)' > './dune-project' && \
opam pin add -yn ppxlib-tools.dev './' && echo '(lang dune 3.0)' > './dune-project' && \
opam pin add -yn ppxlib-bench.dev './' && echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base.v0.9.0 base-bigarray.base base-threads.base base-unix.base biniou.1.0.5 cinaps.v0.15.0 conf-m4.1 cppo.0.9.3 dune.2.8.0 easy-format.1.0.1 jbuilder.1.0+beta7 ocaml.4.04.2 ocaml-base-compiler.4.04.2 ocaml-compiler-libs.v0.12.0 ocaml-config.1 ocaml-secondary-compiler.4.08.1 ocamlbuild.0.9.1 ocamlfind.1.8.1 ocamlfind-secondary.1.8.1 ppx_derivers.1.0 re.1.10.3 seq.0.1 sexplib0.v0.15.0 stdlib-shims.0.1.0 yojson.1.0.3"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y ppxlib.dev ppxlib-bench.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build --only-packages=ppxlib,ppxlib-bench @install @check @runtest && rm -rf _build


END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK


2024-12-11 09:57.59: Using cache hint "ocaml-ppx/ppxlib-ocaml/opam:debian-12-ocaml-4.04@sha256:26304ddae1402b96fa743884c22d65d61b4ab7fc6d9056e6148a02dfc9c394cd-debian-12-4.04_opam-2.3-7902a41293cd0dd0b8ad111bff630a8e"
2024-12-11 09:57.59: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.04@sha256:26304ddae1402b96fa743884c22d65d61b4ab7fc6d9056e6148a02dfc9c394cd)
(comment debian-12-4.04_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 28daeff6f36e886a2c133aceed8a117d4c6dcd28 || git fetch origin master) && git reset -q --hard 28daeff6f36e886a2c133aceed8a117d4c6dcd28 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src ppxlib.opam ppxlib-tools.opam ppxlib-bench.opam) (dst ./))
(run (network host)
(shell  "opam pin add -yn ppxlib.dev './' && echo '(lang dune 3.0)' > './dune-project' && \
\nopam pin add -yn ppxlib-tools.dev './' && echo '(lang dune 3.0)' > './dune-project' && \
\nopam pin add -yn ppxlib-bench.dev './' && echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base.v0.9.0 base-bigarray.base base-threads.base base-unix.base biniou.1.0.5 cinaps.v0.15.0 conf-m4.1 cppo.0.9.3 dune.2.8.0 easy-format.1.0.1 jbuilder.1.0+beta7 ocaml.4.04.2 ocaml-base-compiler.4.04.2 ocaml-compiler-libs.v0.12.0 ocaml-config.1 ocaml-secondary-compiler.4.08.1 ocamlbuild.0.9.1 ocamlfind.1.8.1 ocamlfind-secondary.1.8.1 ppx_derivers.1.0 re.1.10.3 seq.0.1 sexplib0.v0.15.0 stdlib-shims.0.1.0 yojson.1.0.3")
(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 ppxlib.dev ppxlib-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 --only-packages=ppxlib,ppxlib-bench @install @check @runtest && rm -rf _build"))
)


2024-12-11 09:57.59: Waiting for resource in pool OCluster
2024-12-11 09:58.00: Waiting for worker…
2024-12-11 09:58.08: Got resource from pool OCluster
Building on x86-bm-c3.sw.ocaml.org
HEAD is now at 562a9fa1 Merge pull request #518 from patricoferris/ast-docs
HEAD is now at 2a158e9a Change Location.none


(from ocaml/opam:debian-12-ocaml-4.04@sha256:26304ddae1402b96fa743884c22d65d61b4ab7fc6d9056e6148a02dfc9c394cd)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.04@sha256:26304ddae1402b96fa743884c22d65d61b4ab7fc6d9056e6148a02dfc9c394cd' locally
docker.io/ocaml/opam@sha256:26304ddae1402b96fa743884c22d65d61b4ab7fc6d9056e6148a02dfc9c394cd: Pulling from ocaml/opam
915a5281776a: Pulling fs layer
915a5281776a: Verifying Checksum
915a5281776a: Download complete
915a5281776a: Pull complete
Digest: sha256:26304ddae1402b96fa743884c22d65d61b4ab7fc6d9056e6148a02dfc9c394cd
Status: Downloaded newer image for ocaml/opam@sha256:26304ddae1402b96fa743884c22d65d61b4ab7fc6d9056e6148a02dfc9c394cd
2024-12-11 10:00.38 ---> saved as "b4f6ad8fc0c449378b4d4551350af53027db2afa2336b0a5b891a2dc80ca5880"


/: (comment debian-12-4.04_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"))
2024-12-11 10:00.38 ---> saved as "7c3443cf8851c881e732a2a7f9fe663b28e31a1476f92d986547fb8f4d67ec6d"


/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 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
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-12-11 10:02.17 ---> saved as "09ec93202893bda15c5ef059cff1e95c21bf5b870904e252d253c97904facb68"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-126-generic
The OCaml toplevel, version 4.04.2
2.3.0
2024-12-11 10:02.17 ---> saved as "4c4a0e5d90260c521f652ccca38b71495cf3c2d405de195baffd8b90d1dbc0c3"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-12-11 10:02.18 ---> saved as "0f681d383649ad040a56d6a84fbfb4a55d48370a5847aca239b1bf6ef9c7dc2b"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 28daeff6f36e886a2c133aceed8a117d4c6dcd28 || git fetch origin master) && git reset -q --hard 28daeff6f36e886a2c133aceed8a117d4c6dcd28 && git log --no-decorate -n1 --oneline && opam update -u"))
28daeff6f3 Merge pull request #26814 from mtelvers/m4


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
2024-12-11 10:02.51: Cancelling: Auto-cancelling job because it is no longer needed
Job cancelled