Organisationsocaml-ppxppxlib0cb6ee ()(lower-bound)

(lower-bound)

Logs

Show full logs
2025-01-28 13:50.13: New job: test ocaml-ppx/ppxlib https://github.com/ocaml-ppx/ppxlib.git#refs/pull/552/head (0cb6ee77ac918dd240489e1612736e8f2488b7d9) (linux-x86_64:(lower-bound))
Base: ocaml/opam:debian-12-ocaml-4.08@sha256:5ed944c28bc353d9e7177b46518ac79c4f79307a96346ab47f69f23048661167
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/ocaml-ppx/ppxlib.git" && cd "ppxlib" && git fetch origin "refs/pull/552/head" && git reset --hard 0cb6ee77
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.08@sha256:5ed944c28bc353d9e7177b46518ac79c4f79307a96346ab47f69f23048661167
# debian-12-4.08_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-bigarray.base base-threads.base base-unix.base cinaps.v0.12.1 cmdliner.1.3.0 conf-m4.1 dune.3.8.0 jbuilder.1.0+beta20.1 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-compiler-libs.v0.11.0 ocaml-config.1 ocamlfind.1.8.0 ppx_derivers.1.0 re.1.9.0 seq.0.2.2 sexplib0.v0.15.0 stdlib-shims.0.1.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y ppxlib.dev ppxlib-tools.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build --only-packages=ppxlib,ppxlib-tools @install @check @runtest && rm -rf _build

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

2025-01-28 13:50.13: Using cache hint "ocaml-ppx/ppxlib-ocaml/opam:debian-12-ocaml-4.08@sha256:5ed944c28bc353d9e7177b46518ac79c4f79307a96346ab47f69f23048661167-debian-12-4.08_opam-2.3-56c45781a98d4059966218626db31db3"
2025-01-28 13:50.13: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.08@sha256:5ed944c28bc353d9e7177b46518ac79c4f79307a96346ab47f69f23048661167)
 (comment debian-12-4.08_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-bigarray.base base-threads.base base-unix.base cinaps.v0.12.1 cmdliner.1.3.0 conf-m4.1 dune.3.8.0 jbuilder.1.0+beta20.1 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-compiler-libs.v0.11.0 ocaml-config.1 ocamlfind.1.8.0 ppx_derivers.1.0 re.1.9.0 seq.0.2.2 sexplib0.v0.15.0 stdlib-shims.0.1.0")
 (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-tools.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-tools @install @check @runtest && rm -rf _build"))
)

2025-01-28 13:50.13: Waiting for resource in pool OCluster
2025-01-28 13:50.14: Waiting for worker…
2025-01-28 13:50.14: Got resource from pool OCluster
Building on x86-bm-c2.sw.ocaml.org
All commits already cached
HEAD is now at 0cb6ee77 Add changelog entry

(from ocaml/opam:debian-12-ocaml-4.08@sha256:5ed944c28bc353d9e7177b46518ac79c4f79307a96346ab47f69f23048661167)
2025-01-28 13:50.15 ---> using "12d8e57f55730dcaba296a0cfe8a3658e193293e6af74e1cd089421a248727f7" from cache

/: (comment debian-12-4.08_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-28 13:50.15 ---> using "fd475b7cad787a808124cd103b01984603dbe5d9d1887c3150e31074abbeaf75" 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
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2025-01-28 13:50.15 ---> using "c6489d51e89c34fccf7587ee63131c0b8ab282c115ce5a53aa4db42d78ad7125" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-130-generic
The OCaml toplevel, version 4.08.1
2.3.0
2025-01-28 13:50.15 ---> using "bfa08a1810e0c61edadd3fa7837391f83c0eb3994330a4eaa8fc5609201b9732" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-01-28 13:50.15 ---> using "dcc82ecc7bcb5d82752557551fb3c287d38d29d2c4a7cf75b10c0bb0e8bc3c29" 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"))
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-28 13:50.15 ---> using "33cf8d01c24ec7c1d9104eedc954f9dd36fe441c7bbaef2312551e75edcaeea4" from cache

/src: (copy (src ppxlib.opam ppxlib-tools.opam ppxlib-bench.opam) (dst ./))
2025-01-28 13:50.15 ---> using "4fa80cd4f868c5b69f1c0c8326cc31a15bc9e760a4e2669565018e9406bc5eaa" 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-28 13:50.15 ---> using "600741cb10365620d3a31ccf51feca32c6cb575b15b543c529b5cf66dbed3124" from cache

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-01-28 13:50.15 ---> using "496d4d5b9810b9c3de20fbb28235d3e63cbf01ef491b3aca0665c5ecba7756a0" from cache

/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base cinaps.v0.12.1 cmdliner.1.3.0 conf-m4.1 dune.3.8.0 jbuilder.1.0+beta20.1 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-compiler-libs.v0.11.0 ocaml-config.1 ocamlfind.1.8.0 ppx_derivers.1.0 re.1.9.0 seq.0.2.2 sexplib0.v0.15.0 stdlib-shims.0.1.0")

/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-tools.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- 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-security bookworm-security/main amd64 Packages [243 kB]
- Fetched 346 kB in 0s (1256 kB/s)
- Reading package lists...

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ppxlib.dev] synchronised (file:///src)
[ppxlib-tools.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.08.1).
[NOTE] Package ocaml is already installed (current version is 4.08.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).

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-28 13:50.15 ---> using "fb40b1e18b527ad8d96f95591239870457c2a57cda3a5eef8c9cad46dbe59356" 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.08.1).
[NOTE] Package ocaml is already installed (current version is 4.08.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).
The following actions will be performed:
=== install 12 packages
  - install cinaps              v0.12.1
  - install cmdliner            1.3.0
  - install conf-m4             1
  - install dune                3.8.0
  - install jbuilder            1.0+beta20.1 (deprecated)
  - install ocaml-compiler-libs v0.11.0
  - install ocamlfind           1.8.0
  - install ppx_derivers        1.0
  - install re                  1.9.0
  - install seq                 0.2.2
  - install sexplib0            v0.15.0
  - install stdlib-shims        0.1.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cinaps.v0.12.1  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> installed conf-m4.1
-> retrieved jbuilder.1.0+beta20.1  (cached)
-> retrieved ocaml-compiler-libs.v0.11.0  (cached)
-> retrieved ocamlfind.1.8.0  (cached)
-> retrieved ppx_derivers.1.0  (cached)
-> retrieved re.1.9.0  (cached)
-> retrieved seq.0.2.2  (cached)
-> retrieved sexplib0.v0.15.0  (cached)
-> retrieved stdlib-shims.0.1.0  (cached)
-> retrieved dune.3.8.0  (cached)
-> installed cmdliner.1.3.0
-> installed ocamlfind.1.8.0
-> installed jbuilder.1.0+beta20.1
-> installed ppx_derivers.1.0
-> installed ocaml-compiler-libs.v0.11.0
-> installed dune.3.8.0
-> installed seq.0.2.2
-> installed stdlib-shims.0.1.0
-> installed sexplib0.v0.15.0
-> installed re.1.9.0
-> installed cinaps.v0.12.1
Done.

<><> jbuilder.1.0+beta20.1 installed successfully <><><><><><><><><><><><><><><>
=> Note: This package is deprecated.
# To update the current shell environment, run: eval $(opam env)
2025-01-28 13:50.15 ---> using "49c039cd573c985eac7dea3bc1076d9c72b8a8f8baef63735027b00dfce5cb2d" from cache

/src: (copy (src .) (dst /src))
2025-01-28 13:50.15 ---> saved as "489407fbc55b67b35bd580ad5e24aba6f82c3d2506bc66de794d821974c81572"

/src: (run (shell "opam exec -- dune build --only-packages=ppxlib,ppxlib-tools @install @check @runtest && rm -rf _build"))
File "/home/opam/.opam/4.08/lib/ocaml-compiler-libs/bytecomp/ocaml-compiler-libs.bytecomp.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.08/lib/ocaml-compiler-libs/common/ocaml-compiler-libs.common.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.08/lib/ocaml-compiler-libs/shadow/ocaml-compiler-libs.shadow.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.08/lib/ocaml-compiler-libs/toplevel/ocaml-compiler-libs.toplevel.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.08/lib/ppx_derivers/ppx_derivers.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "test/driver/compiler-pp/run.t", line 1, characters 0-0:
/usr/bin/git --no-pager diff --no-index --color=always -u _build/.sandbox/745751a712dec9f1c1858f06690b32b3/default/test/driver/compiler-pp/run.t _build/.sandbox/745751a712dec9f1c1858f06690b32b3/default/test/driver/compiler-pp/run.t.corrected
diff --git a/_build/.sandbox/745751a712dec9f1c1858f06690b32b3/default/test/driver/compiler-pp/run.t b/_build/.sandbox/745751a712dec9f1c1858f06690b32b3/default/test/driver/compiler-pp/run.t.corrected
index 5ef6170..68a010d 100644
--- a/_build/.sandbox/745751a712dec9f1c1858f06690b32b3/default/test/driver/compiler-pp/run.t
+++ b/_build/.sandbox/745751a712dec9f1c1858f06690b32b3/default/test/driver/compiler-pp/run.t.corrected
@@ -58,7 +58,7 @@ If we run the driver without `--use-compiler-pp`:
 and with the flag:
 
   $ ./driver.exe test_inline.ml -diff-cmd - --use-compiler-pp
-  File "test_inline.ml", lines 1-2, characters 0-38:
+  File "test_inline.ml", line 1, characters 0-51:
   1 | type t = int
   2 | [@@deriving_inline named_existentials]
   Error: migration error: existentials in pattern-matching is not supported before OCaml 4.13
2025-01-28 13:50.46: Cancelling: Auto-cancelling job because it is no longer needed
Job cancelled