Organisationsocaml-ppxppx_tools7d7dd5 (master)ubuntu-22.04-4.14_opam-2.4

ubuntu-22.04-4.14_opam-2.4

Link Copied
Code Copied

Logs

2025-09-29 07:24.47: New job: test ocaml-ppx/ppx_tools https://github.com/ocaml-ppx/ppx_tools.git#refs/heads/master (7d7dd5b61e85aec2fc42acf139341621c181e50f) (linux-x86_64:ubuntu-22.04-4.14_opam-2.4)
Base: ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:cfb3d3ee9f97531ca09ce0ee81e93e7dda6b52db2b76c7273df0e869aa375ff8
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:ubuntu-22.04-ocaml-4.14@sha256:cfb3d3ee9f97531ca09ce0ee81e93e7dda6b52db2b76c7273df0e869aa375ff8
# ubuntu-22.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 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && 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.20.2 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.4 --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-09-29 07:24.47: Using cache hint "ocaml-ppx/ppx_tools-ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:cfb3d3ee9f97531ca09ce0ee81e93e7dda6b52db2b76c7273df0e869aa375ff8-ubuntu-22.04-4.14_opam-2.4-7d90eb2f287216aadc70b82405e99e82"
2025-09-29 07:24.47: Using OBuilder spec:
((from ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:cfb3d3ee9f97531ca09ce0ee81e93e7dda6b52db2b76c7273df0e869aa375ff8)
(comment ubuntu-22.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 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && 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.20.2 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.4 --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-09-29 07:24.47: Waiting for resource in pool OCluster
2025-09-29 08:38.06: Waiting for worker…
2025-09-29 08:39.48: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at 7d7dd5b Version 6.6


(from ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:cfb3d3ee9f97531ca09ce0ee81e93e7dda6b52db2b76c7273df0e869aa375ff8)
2025-09-29 08:39.48 ---> using "c2d1b1c43ba0e8115d4ef094e7bbb5f5d768fd178fc645f3130833655f5f966d" from cache


/: (comment ubuntu-22.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-09-29 08:39.48 ---> using "b6cf9fd262ca97f1dcc013bf66603a914c1003aaa3e95e1161af3d792ec60976" 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-09-29 08:39.48 ---> using "7f7434f68d5d051905856406be1680f76505eecc1a1857e74faae6903f888ace" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-142-generic
The OCaml toplevel, version 4.14.2
2.4.1
2025-09-29 08:39.48 ---> using "0d9b4b9c251b3d8aed988c976b33eaafefda0a5f803d73b82e18f64afc9c0564" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-09-29 08:39.48 ---> using "695c461c9df56cc5c37026057d86bbfc6892d6f7fe0add163dd43cb7cdfbaf97" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
bcac5d1731..64dfb8c8f3  master     -> origin/master
6ef6813522 Merge pull request #28449 from dra27/ocaml-compiler-msvc


<><> 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-09-29 08:39.48 ---> using "00f33ac771fe9f995f68ecab29efacfacc732bd08b3ea94689038ab5f3a78916" from cache


/src: (copy (src ppx_tools.opam) (dst ./))
2025-09-29 08:39.49 ---> saved as "c45f53078129877b2a68061e01be02a500ce9776451c44a7e8508aaf5cd5c47e"


/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-09-29 08:39.51 ---> saved as "37a925dea7cef3ae7fcec1785c8a44d0bb63267df2d4aa99662f86caef89f66a"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-09-29 08:39.51 ---> saved as "5524aaeb71f4e3bf00cd9da7e498e22426ae1bcc18ed45db580ade04678f05e7"


/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base cppo.1.8.0 dune.3.20.2 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.4 --depext-only -y ppx_tools.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
- Get:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
- Get:3 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
- Get:4 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
- Get:5 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [5804 kB]
- Get:6 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages [69.1 kB]
- Get:7 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1577 kB]
- Get:8 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [3690 kB]
- Get:9 http://archive.ubuntu.com/ubuntu jammy-backports/universe amd64 Packages [35.2 kB]
- Get:10 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [3371 kB]
- Get:11 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 Packages [71.0 kB]
- Get:12 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1274 kB]
- Get:13 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [5609 kB]
- Fetched 21.9 MB in 4s (6045 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-09-29 08:40.04 ---> saved as "4e51c2a99a226d96cafb9b61dc703bfe6a08eefdde9eddb4c59832e7135ec46d"


/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.20.2


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.8.0  (cached)
-> retrieved dune.3.20.2  (cached)
-> installed dune.3.20.2
-> installed cppo.1.8.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-09-29 08:40.32 ---> saved as "ba49b6bdf3132b6bcf4b8fbb4cb57e2cf7ab4f74b3aa0967e4f96f8ecabf4ecd"


/src: (copy (src .) (dst /src))
2025-09-29 08:40.32 ---> saved as "198afa3e5dabbe1d9594b81259eab7d695a2a03a27fb4f0915e7d7896b2d5004"


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