2025-01-18 18:34.47: New job: test ocaml-dune/ppx_deriving_dyn https://github.com/ocaml-dune/ppx_deriving_dyn.git#refs/heads/main (bacf84896c3924f4858e40b11acc1a6c16d2ac75) (linux-x86_64:debian-11-4.14_opam-2.3)
Base: ocaml/opam:debian-11-ocaml-4.14@sha256:41704df3926b582b6128ba4d2ad1aead06d73e31f12e8f9a9d65843a63a718ad
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:debian-11-ocaml-4.14@sha256:41704df3926b582b6128ba4d2ad1aead06d73e31f12e8f9a9d65843a63a718ad
# debian-11-4.14_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 './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-threads.base base-unix.base dune.3.17.1 dyn.3.17.1 host-arch-x86_64.1 host-system-other.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 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-18 18:34.47: Using cache hint "ocaml-dune/ppx_deriving_dyn-ocaml/opam:debian-11-ocaml-4.14@sha256:41704df3926b582b6128ba4d2ad1aead06d73e31f12e8f9a9d65843a63a718ad-debian-11-4.14_opam-2.3-97be9d7f28e9f73b5099c65650cb9376"
2025-01-18 18:34.47: Using OBuilder spec:
((from ocaml/opam:debian-11-ocaml-4.14@sha256:41704df3926b582b6128ba4d2ad1aead06d73e31f12e8f9a9d65843a63a718ad)
(comment debian-11-4.14_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 './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base-bigarray.base base-threads.base base-unix.base dune.3.17.1 dyn.3.17.1 host-arch-x86_64.1 host-system-other.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 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-18 18:34.47: Waiting for resource in pool OCluster
2025-01-18 22:02.41: Waiting for worker…
2025-01-18 22:07.07: Got resource from pool OCluster
Building on x86-bm-c7.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:debian-11-ocaml-4.14@sha256:41704df3926b582b6128ba4d2ad1aead06d73e31f12e8f9a9d65843a63a718ad)
Unable to find image 'ocaml/opam:debian-11-ocaml-4.14@sha256:41704df3926b582b6128ba4d2ad1aead06d73e31f12e8f9a9d65843a63a718ad' locally
docker.io/ocaml/opam@sha256:41704df3926b582b6128ba4d2ad1aead06d73e31f12e8f9a9d65843a63a718ad: Pulling from ocaml/opam
852f6c5ed776: Pulling fs layer
852f6c5ed776: Verifying Checksum
852f6c5ed776: Download complete
852f6c5ed776: Pull complete
Digest: sha256:41704df3926b582b6128ba4d2ad1aead06d73e31f12e8f9a9d65843a63a718ad
Status: Downloaded newer image for ocaml/opam@sha256:41704df3926b582b6128ba4d2ad1aead06d73e31f12e8f9a9d65843a63a718ad
2025-01-18 22:07.07 ---> using "1e96671a0653051d10f729136d6e0cc4c4be614dd0f60ccb60146e322f55a932" from cache
/: (comment debian-11-4.14_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-18 22:07.07 ---> using "64869270ba73b4b4975aea60f72ff8787e264fa6242eb89db3154b8ff3c31295" 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-18 22:07.07 ---> using "3e8c538cd7c2ea276eb782ac693e276a499f921f3f85539a06fc31cbc98320bf" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-130-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-01-18 22:07.07 ---> using "9e0be2ee2a73a79f46d4d5d98ba815eb7bac8a1a339371d2880d3f2bb8fca8de" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-01-18 22:07.07 ---> using "7c369c9c4b3b1eb60b7fb6ec7e39b580a977ea5ff74c2ab37a861100b2b66b14" from cache
/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"))
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-18 22:07.07 ---> using "fe4b4d01a75ae8bc56680bece71c5214dccafaa94b5fc40572702e2d071c76bf" from cache
/src: (copy (src ppx_deriving_dyn.opam) (dst ./))
2025-01-18 22:07.07 ---> saved as "611224072dbc3be8dce0babec3bdb46c4b03d61c1c6ce0b9932c652bcb016296"
/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-18 22:07.09 ---> saved as "013ab1bf19b5ab3ba7bc687514683b6a78844ae15635611f7e8e3b902ccdd918"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-01-18 22:07.09 ---> saved as "86a1cb6152f2a2c549cea4f3a1ec76f2a3230ce1cbab5c77eb7be4f0fd6312ea"
/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base dune.3.17.1 dyn.3.17.1 host-arch-x86_64.1 host-system-other.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 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://deb.debian.org/debian bullseye InRelease
- Get:2 http://deb.debian.org/debian-security bullseye-security InRelease [27.2 kB]
- Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
- Get:4 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages [334 kB]
- Fetched 406 kB in 0s (1123 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ppx_deriving_dyn.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 host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 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).
2025-01-18 22:07.29 ---> saved as "cd7a9c23c1955d2be50d0ec44250d04834e02e8c87f80409a33affb82ccc2cc0"
/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 host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 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 9 packages
- install dune 3.17.1
- install dyn 3.17.1
- install ocaml-compiler-libs v0.12.4
- 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.12.4 (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 stdlib-shims.0.3.0
-> installed pp.2.0.0
-> installed ocaml-compiler-libs.v0.12.4
-> 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-18 22:09.13 ---> saved as "25f560244a994408effd4a41ac4d2cf73caa87db03d6a8723ec5ab83f02bc66c"
/src: (copy (src .) (dst /src))
2025-01-18 22:09.13 ---> saved as "3013ca109b423253d1993c527d9077d181af77b5d4d3e4ac0da8a5142f7bfced"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-01-18 22:09.17 ---> saved as "1077054243946d6484d1379c230ec38c0afeb4259fa2ae18723e275c00004234"
Job succeeded
2025-01-18 22:09.17: Job succeeded