2025-01-16 07:51.44: New job: test ocaml-ppx/ppxlib https://github.com/ocaml-ppx/ppxlib.git#refs/pull/526/head (2e69e20ba4d70ac419b7498b02ce47f1ae905eed) (linux-x86_64:debian-12-4.05_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-4.05@sha256:f9176fc8094ad7f27aed2c5a4d3cb88f774a2893c3b29ab47b8004469a53f684
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocaml-ppx/ppxlib.git" && cd "ppxlib" && git fetch origin "refs/pull/526/head" && git reset --hard 2e69e20b
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.05@sha256:f9176fc8094ad7f27aed2c5a4d3cb88f774a2893c3b29ab47b8004469a53f684
# debian-12-4.05_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 47950d8d7324f9d7c80eaaccd551df897ffa89cc || git fetch origin master) && git reset -q --hard 47950d8d7324f9d7c80eaaccd551df897ffa89cc && 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 './' && \
opam pin add -yn ppxlib-tools.dev './' && \
opam pin add -yn ppxlib-bench.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base.v0.9.0 base-bigarray.base base-threads.base base-unix.base cinaps.v0.15.1 dune.3.17.1 host-arch-x86_64.1 host-system-other.1 jbuilder.1.0+beta7 ocaml.4.05.0 ocaml-base-compiler.4.05.0 ocaml-compiler-libs.v0.12.4 ocaml-config.1 ocaml-secondary-compiler.4.14.2 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6 ppx_derivers.1.2.1 re.1.11.0 seq.0.3.1 sexplib0.v0.15.0 stdlib-shims.0.3.0 yojson.2.2.2"
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
2025-01-16 07:51.44: Using cache hint "ocaml-ppx/ppxlib-ocaml/opam:debian-12-ocaml-4.05@sha256:f9176fc8094ad7f27aed2c5a4d3cb88f774a2893c3b29ab47b8004469a53f684-debian-12-4.05_opam-2.3-406d0c9e4260c3730d584dc32b62158b"
2025-01-16 07:51.44: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.05@sha256:f9176fc8094ad7f27aed2c5a4d3cb88f774a2893c3b29ab47b8004469a53f684)
(comment debian-12-4.05_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 47950d8d7324f9d7c80eaaccd551df897ffa89cc || git fetch origin master) && git reset -q --hard 47950d8d7324f9d7c80eaaccd551df897ffa89cc && 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 './' && \
\nopam pin add -yn ppxlib-tools.dev './' && \
\nopam pin add -yn ppxlib-bench.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base.v0.9.0 base-bigarray.base base-threads.base base-unix.base cinaps.v0.15.1 dune.3.17.1 host-arch-x86_64.1 host-system-other.1 jbuilder.1.0+beta7 ocaml.4.05.0 ocaml-base-compiler.4.05.0 ocaml-compiler-libs.v0.12.4 ocaml-config.1 ocaml-secondary-compiler.4.14.2 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6 ppx_derivers.1.2.1 re.1.11.0 seq.0.3.1 sexplib0.v0.15.0 stdlib-shims.0.3.0 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 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"))
)
2025-01-16 07:51.44: Waiting for resource in pool OCluster
2025-01-16 07:51.44: Waiting for worker…
2025-01-16 07:51.44: Got resource from pool OCluster
Building on x86-bm-c2.sw.ocaml.org
All commits already cached
HEAD is now at 2e69e20b Add json mapper for pp_ast
(from ocaml/opam:debian-12-ocaml-4.05@sha256:f9176fc8094ad7f27aed2c5a4d3cb88f774a2893c3b29ab47b8004469a53f684)
2025-01-16 07:52.26 ---> saved as "3007a3c8f9b58271e7badddd7b965d35065b824925e16445edd980e5c2fc7f6c"
/: (comment debian-12-4.05_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-01-16 07:52.26 ---> saved as "4e22ac539cd061059ea090c3b78e766fa8ba492e88a53769971e21dc86771502"
/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.
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2025-01-16 07:54.00 ---> saved as "a6d52bf856cd14fe13d56625e12288b3d757bb9c8686e958b449e3725446b129"
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-130-generic
The OCaml toplevel, version 4.05.0
2.3.0
2025-01-16 07:54.00 ---> saved as "4b82ea725e45b10814a69eead08675245f22dd013ad0c0f6e4fa4a9212da908a"
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-01-16 07:54.00 ---> saved as "38483d57c8635812a48a4b3981dbaaa47c40349459fa520d33b7323c39c42e2b"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 47950d8d7324f9d7c80eaaccd551df897ffa89cc || git fetch origin master) && git reset -q --hard 47950d8d7324f9d7c80eaaccd551df897ffa89cc && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
de786e28db..3db09e98ab master -> origin/master
47950d8d73 Merge pull request #27256 from maiste/chore/mark-jbuilder-as-deprecated
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-01-16 07:55.34 ---> saved as "543904e0b810cea9f3497a6f12488d9de151e3a10e190dfd836437490ed5473e"
/src: (copy (src ppxlib.opam ppxlib-tools.opam ppxlib-bench.opam) (dst ./))
2025-01-16 07:55.34 ---> saved as "33ad839b6c67695d336c7b04d4690250178049cfa3f6f1eac187fe2a18d84586"
/src: (run (network host)
(shell "opam pin add -yn ppxlib.dev './' && \
\nopam pin add -yn ppxlib-tools.dev './' && \
\nopam pin add -yn ppxlib-bench.dev './'"))
[ppxlib.dev] synchronised (file:///src)
ppxlib is now pinned to file:///src (version dev)
[ppxlib-tools.dev] synchronised (file:///src)
ppxlib-tools is now pinned to file:///src (version dev)
Package ppxlib-bench does not exist, create as a NEW package? [y/n] y
[ppxlib-bench.dev] synchronised (file:///src)
ppxlib-bench is now pinned to file:///src (version dev)
2025-01-16 07:55.39 ---> saved as "008d55a29d0a41c273cfce821f7739992aaac49c49e7ef1822578b65dfa15cba"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-01-16 07:55.39 ---> saved as "aa675debc323b5c4033f6d7e17985a303abfd19ce0951b5e7d0a9d2653c0d6cf"
/src: (env DEPS "base.v0.9.0 base-bigarray.base base-threads.base base-unix.base cinaps.v0.15.1 dune.3.17.1 host-arch-x86_64.1 host-system-other.1 jbuilder.1.0+beta7 ocaml.4.05.0 ocaml-base-compiler.4.05.0 ocaml-compiler-libs.v0.12.4 ocaml-config.1 ocaml-secondary-compiler.4.14.2 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6 ppx_derivers.1.2.1 re.1.11.0 seq.0.3.1 sexplib0.v0.15.0 stdlib-shims.0.3.0 yojson.2.2.2")
/src: (env CI true)
/src: (env OCAMLCI true)
/src: (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"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian bookworm/main amd64 Packages [8792 kB]
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages.diff/Index [15.1 kB]
- Get:6 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2025-01-14-2009.05-F-2025-01-14-2009.05.pdiff [5693 B]
- Get:6 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2025-01-14-2009.05-F-2025-01-14-2009.05.pdiff [5693 B]
- Get:7 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [241 kB]
- Fetched 9309 kB in 1s (7539 kB/s)
- Reading package lists...
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ppxlib.dev] synchronised (file:///src)
[ppxlib-bench.dev] synchronised (file:///src)
[NOTE] Package ocaml-secondary-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.05.0).
[NOTE] Package ocaml is already installed (current version is 4.05.0).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
2025-01-16 07:56.03 ---> saved as "a8551902957c868bdaae8f79c35f5d2d553a1ebf826beed2052b0ac3b781f151"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-secondary-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.05.0).
[NOTE] Package ocaml is already installed (current version is 4.05.0).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
2025-01-16 07:56.19: Cancelling: Auto-cancelling job because it is no longer needed
Job cancelled