2025-01-15 08:55.37: New job: test ocaml-ppx/ppxlib https://github.com/ocaml-ppx/ppxlib.git#refs/pull/526/head (5dd552dc957d9bddedc24a95d8ed6e42a9d8a882) (linux-x86_64:(lower-bound))
Base: ocaml/opam:debian-12-ocaml-4.04@sha256:8d876fd158ecc34ee68484d0186cea526782d513322df9c964f50b5d813c9841
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 5dd552dc
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.04@sha256:8d876fd158ecc34ee68484d0186cea526782d513322df9c964f50b5d813c9841
# 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 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 biniou.1.0.5 cinaps.v0.15.0 conf-m4.1 cppo.0.9.3 dune.3.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
2025-01-15 08:55.37: Using cache hint "ocaml-ppx/ppxlib-ocaml/opam:debian-12-ocaml-4.04@sha256:8d876fd158ecc34ee68484d0186cea526782d513322df9c964f50b5d813c9841-debian-12-4.04_opam-2.3-f168b83beca931d56b1d9e5ff54e1e2b"
2025-01-15 08:55.37: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.04@sha256:8d876fd158ecc34ee68484d0186cea526782d513322df9c964f50b5d813c9841)
(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 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 biniou.1.0.5 cinaps.v0.15.0 conf-m4.1 cppo.0.9.3 dune.3.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"))
)
2025-01-15 08:55.37: Waiting for resource in pool OCluster
2025-01-15 08:55.37: Waiting for worker…
2025-01-15 08:56.02: Got resource from pool OCluster
Building on x86-bm-c4.sw.ocaml.org
HEAD is now at a3210f53 Add json mapper for pp_ast
HEAD is now at 5dd552dc Add json mapper for pp_ast
(from ocaml/opam:debian-12-ocaml-4.04@sha256:8d876fd158ecc34ee68484d0186cea526782d513322df9c964f50b5d813c9841)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.04@sha256:8d876fd158ecc34ee68484d0186cea526782d513322df9c964f50b5d813c9841' locally
docker.io/ocaml/opam@sha256:8d876fd158ecc34ee68484d0186cea526782d513322df9c964f50b5d813c9841: Pulling from ocaml/opam
d98e0d87a400: Pulling fs layer
d98e0d87a400: Verifying Checksum
d98e0d87a400: Download complete
d98e0d87a400: Pull complete
Digest: sha256:8d876fd158ecc34ee68484d0186cea526782d513322df9c964f50b5d813c9841
Status: Downloaded newer image for ocaml/opam@sha256:8d876fd158ecc34ee68484d0186cea526782d513322df9c964f50b5d813c9841
2025-01-15 08:56.04 ---> using "8e3e971a1f7c27fb1dcf78dea00b98d8715ce8ee0ad3f8247dc016846c8033a7" from cache
/: (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"))
2025-01-15 08:56.04 ---> using "a0a85ec86e4dcb2a93f435ff7e84caad3787ef395e406f87ac981b1149844cd3" from cache
/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 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-01-15 08:56.04 ---> using "c7cead35c06a1a282bc29500bf29d4cf8f5d35337b565d8d578eeab918e40bfe" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-130-generic
The OCaml toplevel, version 4.04.2
2.3.0
2025-01-15 08:56.04 ---> using "31402c7ed3d491c49a0d35dba1967e16a40e780f3cff0a98d5f20d84aec651b1" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-01-15 08:56.04 ---> using "cda4353c8858868227a077fb578d9da3ce4d11d983d1729ae25870b59e5ae781" from cache
/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..451b1e526c 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-15 08:56.04 ---> using "acdc5779cc487fc1d08469c5882fb825d1443c7cdf6f9a7330e0563b0e53a084" from cache
/src: (copy (src ppxlib.opam ppxlib-tools.opam ppxlib-bench.opam) (dst ./))
2025-01-15 08:56.04 ---> using "26b4a5cce82b37e4e030b75294828d73a199e0482eefcb15d6b039d1be735ab7" from cache
/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-15 08:56.04 ---> using "08709c2e3f998157f8ce4e48a1dd268cc424d00061d4e848c47d7a9a75b34f5b" from cache
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-01-15 08:56.04 ---> using "16e6a3d12e31c1911442c5a70f149c268cc178e85a1a23e8a5ec0fcc3863dc41" from cache
/src: (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.3.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")
/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 2s (3945 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ppxlib.dev] synchronised (file:///src)
[ppxlib-bench.dev] synchronised (file:///src)
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.04.2).
[NOTE] Package ocaml is already installed (current version is 4.04.2).
[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).
The following system packages will first need to be installed:
m4
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "m4"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package m4.
- (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 18745 files and directories currently installed.)
- Preparing to unpack .../archives/m4_1.4.19-3_amd64.deb ...
- Unpacking m4 (1.4.19-3) ...
- Setting up m4 (1.4.19-3) ...
2025-01-15 08:56.04 ---> using "85284cdfe4dd3fd95ac1ff7dda6acc6acb3ad70447eab08022c3370a7c0cc239" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.04.2).
[NOTE] Package ocaml is already installed (current version is 4.04.2).
[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).
The following actions will be performed:
=== downgrade 1 package
- downgrade ocaml-secondary-compiler 4.14.2 to 4.08.1
=== install 18 packages
- install base v0.9.0
- install biniou 1.0.5
- install cinaps v0.15.0
- install conf-m4 1
- install cppo 0.9.3
- install dune 3.8.0
- install easy-format 1.0.1
- install jbuilder 1.0+beta7 (deprecated)
- install ocaml-compiler-libs v0.12.0
- install ocamlbuild 0.9.1
- install ocamlfind 1.8.1
- install ocamlfind-secondary 1.8.1
- install ppx_derivers 1.0
- install re 1.10.3
- install seq 0.1
- install sexplib0 v0.15.0
- install stdlib-shims 0.1.0
- install yojson 1.0.3
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved biniou.1.0.5 (cached)
-> retrieved cinaps.v0.15.0 (cached)
-> retrieved base.v0.9.0 (cached)
-> retrieved cppo.0.9.3 (cached)
-> installed conf-m4.1
-> retrieved easy-format.1.0.1 (cached)
-> retrieved jbuilder.1.0+beta7 (cached)
-> retrieved ocaml-compiler-libs.v0.12.0 (cached)
-> retrieved ocamlbuild.0.9.1 (cached)
-> retrieved ocamlfind.1.8.1, ocamlfind-secondary.1.8.1 (cached)
-> retrieved ppx_derivers.1.0 (cached)
-> retrieved re.1.10.3 (cached)
-> retrieved ocaml-secondary-compiler.4.08.1 (cached)
-> retrieved dune.3.8.0 (cached)
-> installed cppo.0.9.3
-> retrieved seq.0.1 (cached)
-> retrieved sexplib0.v0.15.0 (cached)
-> retrieved stdlib-shims.0.1.0 (cached)
-> retrieved yojson.1.0.3 (cached)
-> installed ocamlfind.1.8.1
-> installed ocamlbuild.0.9.1
-> installed seq.0.1
-> installed easy-format.1.0.1
-> installed biniou.1.0.5
-> installed yojson.1.0.3
-> installed jbuilder.1.0+beta7
-> installed ppx_derivers.1.0
-> installed base.v0.9.0
2025-01-15 08:57.19: Cancelling: Auto-cancelling job because it is no longer needed
Job cancelled