2025-01-13 15:54.06: New job: test ocaml-dune/ppx_deriving_dyn https://github.com/ocaml-dune/ppx_deriving_dyn.git#refs/heads/main (bacf84896c3924f4858e40b11acc1a6c16d2ac75) (linux-x86_64:ubuntu-20.04-5.3_opam-2.3)
Base: ocaml/opam:ubuntu-20.04-ocaml-5.3@sha256:822883f6f581125d4e99b2bdd4a550e4685d57e78f64c1678af120455937c994
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocaml-dune/ppx_deriving_dyn.git" -b "main" && cd "ppx_deriving_dyn" && git reset --hard bacf8489
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-20.04-ocaml-5.3@sha256:822883f6f581125d4e99b2bdd4a550e4685d57e78f64c1678af120455937c994
# ubuntu-20.04-5.3_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 85e5d991b8369d632f5b367be8b432341e488f88 || git fetch origin master) && git reset -q --hard 85e5d991b8369d632f5b367be8b432341e488f88 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 ppx_deriving_dyn.opam ./
RUN opam pin add -yn ppx_deriving_dyn.dev './'
ENV DEPS="base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base dune.3.17.1 dyn.3.17.1 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ordering.3.17.1 pp.2.0.0 ppx_derivers.1.2.1 ppxlib.0.34.0 sexplib0.v0.17.0 stdlib-shims.0.3.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y ppx_deriving_dyn.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-01-13 15:54.06: Using cache hint "ocaml-dune/ppx_deriving_dyn-ocaml/opam:ubuntu-20.04-ocaml-5.3@sha256:822883f6f581125d4e99b2bdd4a550e4685d57e78f64c1678af120455937c994-ubuntu-20.04-5.3_opam-2.3-4bfc2a68fa47cc09e94d8bc8bc768214"
2025-01-13 15:54.06: Using OBuilder spec:
((from ocaml/opam:ubuntu-20.04-ocaml-5.3@sha256:822883f6f581125d4e99b2bdd4a550e4685d57e78f64c1678af120455937c994)
(comment ubuntu-20.04-5.3_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 85e5d991b8369d632f5b367be8b432341e488f88 || git fetch origin master) && git reset -q --hard 85e5d991b8369d632f5b367be8b432341e488f88 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src ppx_deriving_dyn.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn ppx_deriving_dyn.dev './'"))
(env DEPS "base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base dune.3.17.1 dyn.3.17.1 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ordering.3.17.1 pp.2.0.0 ppx_derivers.1.2.1 ppxlib.0.34.0 sexplib0.v0.17.0 stdlib-shims.0.3.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 ppx_deriving_dyn.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-01-13 15:54.06: Waiting for resource in pool OCluster
2025-01-13 22:07.46: Waiting for worker…
2025-01-13 22:22.02: Got resource from pool OCluster
Building on x86-bm-c5.sw.ocaml.org
All commits already cached
HEAD is now at bacf848 Merge pull request #6 from NathanReb/support-mutually-rec-types
(from ocaml/opam:ubuntu-20.04-ocaml-5.3@sha256:822883f6f581125d4e99b2bdd4a550e4685d57e78f64c1678af120455937c994)
Unable to find image 'ocaml/opam:ubuntu-20.04-ocaml-5.3@sha256:822883f6f581125d4e99b2bdd4a550e4685d57e78f64c1678af120455937c994' locally
docker.io/ocaml/opam@sha256:822883f6f581125d4e99b2bdd4a550e4685d57e78f64c1678af120455937c994: Pulling from ocaml/opam
399f4a636c21: Pulling fs layer
399f4a636c21: Verifying Checksum
399f4a636c21: Download complete
399f4a636c21: Pull complete
Digest: sha256:822883f6f581125d4e99b2bdd4a550e4685d57e78f64c1678af120455937c994
Status: Downloaded newer image for ocaml/opam@sha256:822883f6f581125d4e99b2bdd4a550e4685d57e78f64c1678af120455937c994
2025-01-13 22:24.32 ---> saved as "4589903a774af036e44ccd2c6bde948f9a00d13fb294b6b4ba1c61a2ec98225e"
/: (comment ubuntu-20.04-5.3_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-13 22:24.32 ---> saved as "3ce36f3a4f61418a7433c20623c129897a52f855141a33803097f2ae9494b75d"
/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-13 22:26.03 ---> saved as "c0d2b71df88d0456d7cd0c4140100a606e439649f0c06b93f44253b9a86ef009"
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-130-generic
The OCaml toplevel, version 5.3.0
2.3.0
2025-01-13 22:26.03 ---> saved as "2fec1fbf4d83c2a0b4234fb22e040d030422a06786032549d476af9a4aa88e26"
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-01-13 22:26.04 ---> saved as "da33132f08e87546281ea2159fe833d513da26ba85d25f06329b2235a2e4aa0b"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 85e5d991b8369d632f5b367be8b432341e488f88 || git fetch origin master) && git reset -q --hard 85e5d991b8369d632f5b367be8b432341e488f88 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
f93eb7cb02..8cf9020b27 master -> origin/master
85e5d991b8 Merge pull request #27251 from NathanReb/ppxlib-maintenance-intent
<><> 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-13 22:27.43 ---> saved as "1ffed041141bdd62484be6ba26d196e1a5117a915a19a41436fcc811e8586040"
/src: (copy (src ppx_deriving_dyn.opam) (dst ./))
2025-01-13 22:27.43 ---> saved as "b2a59ba545da0b533fe67cbdc76aeda659f31fcf14c0cc1a14a419ac95b6c62e"
/src: (run (network host)
(shell "opam pin add -yn ppx_deriving_dyn.dev './'"))
Package ppx_deriving_dyn does not exist, create as a NEW package? [y/n] y
[ppx_deriving_dyn.dev] synchronised (file:///src)
ppx_deriving_dyn is now pinned to file:///src (version dev)
2025-01-13 22:27.47 ---> saved as "67ed803284859a7d5899f652dc43650e63fe684a99c6a1b0d777275e5dba22a3"
/src: (env DEPS "base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base dune.3.17.1 dyn.3.17.1 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ordering.3.17.1 pp.2.0.0 ppx_derivers.1.2.1 ppxlib.0.34.0 sexplib0.v0.17.0 stdlib-shims.0.3.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 ppx_deriving_dyn.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease
- Get:2 http://archive.ubuntu.com/ubuntu focal-updates InRelease [128 kB]
- Get:3 http://security.ubuntu.com/ubuntu focal-security InRelease [128 kB]
- Get:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease [128 kB]
- Get:5 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [4276 kB]
- Get:6 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [4186 kB]
- Get:7 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 Packages [30.9 kB]
- Get:8 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [1297 kB]
- Get:9 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [4661 kB]
- Get:10 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1588 kB]
- Fetched 16.4 MB in 2s (7652 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ppx_deriving_dyn.dev] synchronised (no changes)
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.0).
[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-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
2025-01-13 22:28.21 ---> saved as "6d865c555e5fde1d73af1b4eedb9f3a9db93e119f0b51c53b76f96faefa3f71b"
/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 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.0).
[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-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains 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 9 packages
- install dune 3.17.1
- install dyn 3.17.1
- install ocaml-compiler-libs v0.17.0
- install ordering 3.17.1
- install pp 2.0.0
- install ppx_derivers 1.2.1
- install ppxlib 0.34.0
- install sexplib0 v0.17.0
- install stdlib-shims 0.3.0
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocaml-compiler-libs.v0.17.0 (cached)
-> retrieved pp.2.0.0 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved sexplib0.v0.17.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved ppxlib.0.34.0 (cached)
-> retrieved dune.3.17.1, dyn.3.17.1, ordering.3.17.1 (cached)
-> installed dune.3.17.1
-> installed ppx_derivers.1.2.1
-> installed pp.2.0.0
-> installed stdlib-shims.0.3.0
-> installed ocaml-compiler-libs.v0.17.0
-> installed sexplib0.v0.17.0
-> installed ordering.3.17.1
-> installed dyn.3.17.1
-> installed ppxlib.0.34.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-01-13 22:30.25 ---> saved as "4229c99e1751fdee7ec368917bf6919704e653b75d0e2fdb5360f43221b8d336"
/src: (copy (src .) (dst /src))
2025-01-13 22:30.25 ---> saved as "11bb35a2328e9381f1652ff177ce972c70269d48cbd68c4689d8b0de9ed1c6bf"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-01-13 22:30.33 ---> saved as "786dc96152f347a86bd41bcc667f023ded541d2e3d2523129cf514598613376a"
Job succeeded
2025-01-13 22:30.33: Job succeeded