Organisationsocaml-ppxppxlib3573ee ()ubuntu-24.04-4.14_opam-2.4

ubuntu-24.04-4.14_opam-2.4

Logs

Show full logs
2025-10-29 07:25.22: New job: test ocaml-ppx/ppxlib https://github.com/ocaml-ppx/ppxlib.git#refs/pull/611/head (3573eeab338c6b14237df405c592f5d94f47af19) (linux-x86_64:ubuntu-24.04-4.14_opam-2.4)
Base: ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:011a081ba2e0d7281d7b96cf1086aad06fec7d91e320e447d2943bc128323970
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/ocaml-ppx/ppxlib.git" && cd "ppxlib" && git fetch origin "refs/pull/611/head" && git reset --hard 3573eeab
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:011a081ba2e0d7281d7b96cf1086aad06fec7d91e320e447d2943bc128323970
# ubuntu-24.04-4.14_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.4 /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 dbd126f1b3e13b70b1010ac087a896c6f0d80bc5 || git fetch origin master) && git reset -q --hard dbd126f1b3e13b70b1010ac087a896c6f0d80bc5 && 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.16.4 base-bigarray.base base-threads.base base-unix.base cinaps.v0.15.1 cmdliner.2.0.0 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 re.1.14.0 sexplib0.v0.16.0 stdlib-shims.0.3.0 yojson.3.0.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y ppxlib.dev ppxlib-tools.dev ppxlib-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-10-29 07:25.22: Using cache hint "ocaml-ppx/ppxlib-ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:011a081ba2e0d7281d7b96cf1086aad06fec7d91e320e447d2943bc128323970-ubuntu-24.04-4.14_opam-2.4-5d05309b40e33ba20f94e1fd632e479b"
2025-10-29 07:25.22: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:011a081ba2e0d7281d7b96cf1086aad06fec7d91e320e447d2943bc128323970)
 (comment ubuntu-24.04-4.14_opam-2.4)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/bin/opam-2.4 /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 dbd126f1b3e13b70b1010ac087a896c6f0d80bc5 || git fetch origin master) && git reset -q --hard dbd126f1b3e13b70b1010ac087a896c6f0d80bc5 && 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.16.4 base-bigarray.base base-threads.base base-unix.base cinaps.v0.15.1 cmdliner.2.0.0 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 re.1.14.0 sexplib0.v0.16.0 stdlib-shims.0.3.0 yojson.3.0.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.4 --depext-only -y ppxlib.dev ppxlib-tools.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 @install @check @runtest && rm -rf _build"))
)

2025-10-29 07:25.22: Waiting for resource in pool OCluster
2025-10-29 08:27.55: Waiting for worker…
2025-10-29 08:32.49: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
HEAD is now at 3573eeab Add Mod.apply_unit Signed-off-by: christophe Raffalli <christophe@raffallu.eu>

(from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:011a081ba2e0d7281d7b96cf1086aad06fec7d91e320e447d2943bc128323970)
Unable to find image 'ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:011a081ba2e0d7281d7b96cf1086aad06fec7d91e320e447d2943bc128323970' locally
docker.io/ocaml/opam@sha256:011a081ba2e0d7281d7b96cf1086aad06fec7d91e320e447d2943bc128323970: Pulling from ocaml/opam
4b3ffd8ccb52: Already exists
4148ae2a78e8: Already exists
9d0cb29e3ad1: Already exists
a3efedc9bbd5: Already exists
eb374a5f5912: Already exists
111688a001cd: Already exists
dde5f2d51665: Already exists
4b6835d3da0f: Already exists
5cda0c429e9f: Already exists
d63395e27500: Already exists
5cff5d02be72: Already exists
aa7f4e792152: Already exists
92ef9464fee0: Already exists
99692bbe3867: Already exists
162eab67d997: Already exists
c3f8a74e6b28: Already exists
c3f8a74e6b28: Already exists
80d600733c57: Already exists
d4e01cc77175: Already exists
aeb7c173974a: Already exists
1798e3179753: Already exists
4f4fb700ef54: Already exists
b999f8be0da9: Already exists
5d9cfad8e442: Already exists
bb5a424da7fd: Already exists
abfd00b2c912: Already exists
5b6afbbbcb75: Already exists
481f0eacae21: Already exists
10cc21c3e011: Already exists
d24bf096b60f: Already exists
ed92a44aea53: Already exists
754ea0facddd: Already exists
eb6ed2785a1a: Already exists
c5b314c76484: Already exists
37ace5f56789: Already exists
fb62153e2626: Already exists
04652fbc5dcd: Already exists
93dc8c8f1f01: Already exists
45fb38f15075: Already exists
ecff35836b82: Already exists
2bb86c372c95: Already exists
4b773839d1a7: Already exists
dbcc1f19e5a0: Already exists
7c71181e552e: Already exists
Digest: sha256:011a081ba2e0d7281d7b96cf1086aad06fec7d91e320e447d2943bc128323970
Status: Downloaded newer image for ocaml/opam@sha256:011a081ba2e0d7281d7b96cf1086aad06fec7d91e320e447d2943bc128323970
2025-10-29 08:32.50 ---> using "753e54694d78261139b53be94a2438ee58a6873aca695598eb980c6201d1e9f1" from cache

/: (comment ubuntu-24.04-4.14_opam-2.4)

/: (user (uid 1000) (gid 1000))

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (workdir /src)

/src: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-10-29 08:32.50 ---> using "5e03300aae311ad456547c13963df2ca8e3d01f9cc20eba433d31bd1b346f892" 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 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] Initialised
2025-10-29 08:32.50 ---> using "51eae7720001da5f108a2d11b831ea540e611b02b033a040c496f3848363a515" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-157-generic
The OCaml toplevel, version 4.14.2
2.4.1
2025-10-29 08:32.50 ---> using "fa2dad920ff98e055be60f145ae2ade48808ada8d12b4e8cbd3fd952e0fd2c66" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-10-29 08:32.50 ---> using "e1ae1dbf9134a85912c4b0b0f8e0623e9b042895738c86a3ed01c5069d62fede" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e dbd126f1b3e13b70b1010ac087a896c6f0d80bc5 || git fetch origin master) && git reset -q --hard dbd126f1b3e13b70b1010ac087a896c6f0d80bc5 && git log --no-decorate -n1 --oneline && opam update -u"))
dbd126f1b3 Merge pull request #28599 from dbuenzli/b0-publish-cmdliner.2.0.0

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+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 at these versions (e.g. "opam upgrade ocaml.5.3.0"), 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-10-29 08:32.50 ---> using "6a868a0126f0df64ce9770b0072d0fc82cee142d910dc811e2cdbbf5e1914349" from cache

/src: (copy (src ppxlib.opam ppxlib-tools.opam ppxlib-bench.opam) (dst ./))
2025-10-29 08:32.50 ---> using "4568bfa80ec2c595720b25d1edad0512377aa555804aea81a7e46d5ea727f1ec" 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)
[NOTE] Package ppxlib-bench does not exist in opam repositories registered in the current switch.
[ppxlib-bench.dev] synchronised (file:///src)
ppxlib-bench is now pinned to file:///src (version dev)
2025-10-29 08:32.50 ---> using "d52dd34cc760c34307bd267cdf378577b150f782443322f3d6e059d7e1365539" from cache

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-10-29 08:32.50 ---> using "b2890d73df47d50184fcfa0cf847b8af203799a1fbb900aef4ecc6ef09aa29a3" from cache

/src: (env DEPS "base.v0.16.4 base-bigarray.base base-threads.base base-unix.base cinaps.v0.15.1 cmdliner.2.0.0 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 re.1.14.0 sexplib0.v0.16.0 stdlib-shims.0.3.0 yojson.3.0.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.4 --depext-only -y ppxlib.dev ppxlib-tools.dev ppxlib-bench.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu noble InRelease
- Get:2 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
- Get:3 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]
- Get:4 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]
- Get:5 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Packages [2764 kB]
- Get:6 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [1939 kB]
- Get:7 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [1961 kB]
- Get:8 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [1169 kB]
- Get:9 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [1599 kB]
- Get:10 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [2638 kB]
- Fetched 12.4 MB in 2s (6987 kB/s)
- Reading package lists...
- 

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ppxlib.dev] synchronised (file:///src)
[ppxlib-bench.dev] synchronised (file:///src)
[ppxlib-tools.dev] synchronised (file:///src)

[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.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).
2025-10-29 08:33.14 ---> saved as "837e381354a311c1818a0a13b20dd0b59676d38a52740737e23a77a28dd1ee2e"

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam install $DEPS"))
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.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:
=== install 13 packages
  - install base                v0.16.4
  - install cinaps              v0.15.1
  - install cmdliner            2.0.0
  - install csexp               1.5.2
  - install dune                3.20.2
  - install dune-configurator   3.20.2
  - install ocaml-compiler-libs v0.12.4
  - install ocamlfind           1.9.8
  - install ppx_derivers        1.2.1
  - install re                  1.14.0
  - install sexplib0            v0.16.0
  - install stdlib-shims        0.3.0
  - install yojson              3.0.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved base.v0.16.4  (cached)
-> retrieved cinaps.v0.15.1  (cached)
-> retrieved cmdliner.2.0.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved re.1.14.0  (cached)
-> retrieved sexplib0.v0.16.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved yojson.3.0.0  (cached)
-> retrieved dune.3.20.2, dune-configurator.3.20.2  (cached)
-> installed cmdliner.2.0.0
-> installed ocamlfind.1.9.8
-> installed dune.3.20.2
-> installed ppx_derivers.1.2.1
-> installed stdlib-shims.0.3.0
-> installed csexp.1.5.2
-> installed sexplib0.v0.16.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed re.1.14.0
-> installed yojson.3.0.0
-> installed cinaps.v0.15.1
-> installed dune-configurator.3.20.2
-> installed base.v0.16.4
Done.
# To update the current shell environment, run: eval $(opam env)
2025-10-29 08:35.07 ---> saved as "4d8e0917607f6851940a24e5e7fccab0eb21eebaf98a47199db755df1f5986f8"

/src: (copy (src .) (dst /src))
2025-10-29 08:35.08 ---> saved as "a3b418a9e826e3513d06c098c1d2953fe470525f06eb9baa0a45491a2f7afc39"

/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-10-29 08:36.43 ---> saved as "bc9b81f780af8376f682567107bbc0b070591c0af7b007e21297ca062197c240"
Job succeeded
2025-10-29 08:36.43: Job succeeded