2025-06-17 18:26.59: New job: test ocaml-ppx/ppx_tools https://github.com/ocaml-ppx/ppx_tools.git#refs/heads/master (7d7dd5b61e85aec2fc42acf139341621c181e50f) (linux-arm64:debian-12-4.14_arm64_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-4.14@sha256:917f88b62776594a1765ee493319c20552daa24bd5650f3686d77d2a4c834d3a
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocaml-ppx/ppx_tools.git" -b "master" && cd "ppx_tools" && git reset --hard 7d7dd5b6
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:917f88b62776594a1765ee493319c20552daa24bd5650f3686d77d2a4c834d3a
# debian-12-4.14_arm64_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 a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 ppx_tools.opam ./
RUN opam pin add -yn ppx_tools.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-threads.base base-unix.base cppo.1.8.0 dune.3.19.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y ppx_tools.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-06-17 18:26.59: Using cache hint "ocaml-ppx/ppx_tools-ocaml/opam:debian-12-ocaml-4.14@sha256:917f88b62776594a1765ee493319c20552daa24bd5650f3686d77d2a4c834d3a-debian-12-4.14_arm64_opam-2.3-256e5b62126e170517f2160598bf770a"
2025-06-17 18:26.59: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:917f88b62776594a1765ee493319c20552daa24bd5650f3686d77d2a4c834d3a)
(comment debian-12-4.14_arm64_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 a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src ppx_tools.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn ppx_tools.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base-bigarray.base base-threads.base base-unix.base cppo.1.8.0 dune.3.19.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1")
(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 ppx_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 @install @check @runtest && rm -rf _build"))
)
2025-06-17 18:26.59: Waiting for resource in pool OCluster
2025-06-17 18:48.20: Waiting for worker…
2025-06-17 19:04.55: Got resource from pool OCluster
Building on kydoime.caelum.ci.dev
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty Git repository in /var/cache/obuilder/ocluster/git/ppx_tools.git-710cbf157d58f97b15f3eeb2dfcc1df3ede88687/.git/
HEAD is now at 7d7dd5b Version 6.6
(from ocaml/opam:debian-12-ocaml-4.14@sha256:917f88b62776594a1765ee493319c20552daa24bd5650f3686d77d2a4c834d3a)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14@sha256:917f88b62776594a1765ee493319c20552daa24bd5650f3686d77d2a4c834d3a' locally
docker.io/ocaml/opam@sha256:917f88b62776594a1765ee493319c20552daa24bd5650f3686d77d2a4c834d3a: Pulling from ocaml/opam
846ba23f7e65: Pulling fs layer
846ba23f7e65: Verifying Checksum
846ba23f7e65: Download complete
846ba23f7e65: Pull complete
Digest: sha256:917f88b62776594a1765ee493319c20552daa24bd5650f3686d77d2a4c834d3a
Status: Downloaded newer image for ocaml/opam@sha256:917f88b62776594a1765ee493319c20552daa24bd5650f3686d77d2a4c834d3a
2025-06-17 19:04.56 ---> using "11d19f84cb930f3d6a4c8f86d2191508a43befa6559297f1fd2bcae65bdc877b" from cache
/: (comment debian-12-4.14_arm64_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-06-17 19:04.56 ---> using "85df4472775e0e47cd1b46937b61a81bae88e16265d2314168ca69abc8f9c720" 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] Initialised
2025-06-17 19:04.56 ---> using "7ecd163ad6b3b717443fbd526461bbccff30db10ebb94e4193f5f19bc0da321a" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-06-17 19:04.56 ---> using "79cfde54565251707f8c6b9aa29e6281ba5f020714a012422cea3a51a197c1c5" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-06-17 19:04.56 ---> using "0bc0d206574dd8bfb0f2a8360c500fee7965d33bea04df26fb8bd47b108815fa" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && git log --no-decorate -n1 --oneline && opam update -u"))
a28eb8a148 Merge pull request #28017 from maiste/release-dune-3.19.1
<><> 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, 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-06-17 19:04.56 ---> using "f73bfb77153d0633fb70a999704f92fced87d317ca4f09447477dba0053e68a6" from cache
/src: (copy (src ppx_tools.opam) (dst ./))
2025-06-17 19:04.56 ---> saved as "64cc9deec152a7d9cc20730a86942afc054e323d41484e2f07f1344806d8d0a1"
/src: (run (network host)
(shell "opam pin add -yn ppx_tools.dev './'"))
[ppx_tools.dev] synchronised (file:///src)
ppx_tools is now pinned to file:///src (version dev)
2025-06-17 19:04.58 ---> saved as "358a4df20b64f93cf004aa5b09c7904db364be2b721b3d3426e3c00bcdae07c1"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-06-17 19:04.58 ---> saved as "3a0ad36fbe6d7334e6919fb793eb5dd49c0943c2c19db8946f20868fb651715f"
/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base cppo.1.8.0 dune.3.19.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1")
/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 ppx_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 arm64 Packages [259 kB]
- Fetched 362 kB in 0s (889 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ppx_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-06-17 19:05.09 ---> saved as "4eb11765b6c23ce8586cd9d0eeef8d0083d33fcbc963cbdc99b08a1aa5b5c5d2"
/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 2 packages
- install cppo 1.8.0
- install dune 3.19.1
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.8.0 (cached)
-> retrieved dune.3.19.1 (cached)
-> installed dune.3.19.1
-> installed cppo.1.8.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-06-17 19:05.48 ---> saved as "91a14b3484d05f149346dd890da132a72dce27a4fc973f48375034f8649b15e6"
/src: (copy (src .) (dst /src))
2025-06-17 19:05.49 ---> saved as "c24cc44337461f475579f521de89f59ce370323c934f5c7a3d5ff747b6756d87"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-06-17 19:05.52 ---> saved as "8e6d60fb5820354e86d6c0a9e48bffbb26be1264e0e14445d135bd49addd0134"
Job succeeded
2025-06-17 19:05.52: Job succeeded