2024-12-18 11:30.40: New job: test ocaml-ppx/ppx_deriving_yojson https://github.com/ocaml-ppx/ppx_deriving_yojson.git#refs/heads/master (e5dbd533bb1030a644b418ec2d0ae690ac10dac0) (linux-x86_64:(lower-bound))
Base: ocaml/opam:debian-12-ocaml-4.05@sha256:b61a7061be89548724714beddf2fff5979bb7650024bf81208469526add3b904
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocaml-ppx/ppx_deriving_yojson.git" -b "master" && cd "ppx_deriving_yojson" && git reset --hard e5dbd533
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.05@sha256:b61a7061be89548724714beddf2fff5979bb7650024bf81208469526add3b904
# debian-12-4.05_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 28daeff6f36e886a2c133aceed8a117d4c6dcd28 || git fetch origin master) && git reset -q --hard 28daeff6f36e886a2c133aceed8a117d4c6dcd28 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 ppx_deriving_yojson.opam ./
RUN opam pin add -yn ppx_deriving_yojson.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-bytes.base base-threads.base base-unix.base biniou.1.2.0 conf-m4.1 conf-which.1 cppo.1.1.0 dune.2.7.0 easy-format.1.0.1 jbuilder.1.0+beta7 ocaml.4.05.0 ocaml-base-compiler.4.05.0 ocaml-compiler-libs.v0.12.0 ocaml-config.1 ocaml-secondary-compiler.4.08.1 ocamlbuild.0.9.1 ocamlfind.1.8.1 ocamlfind-secondary.1.8.1 ounit2.2.2.0 ppx_derivers.1.0 ppx_deriving.5.2 ppxlib.0.30.0 result.1.0 sexplib0.v0.12.0 stdlib-shims.0.1.0 yojson.1.6.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y ppx_deriving_yojson.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
2024-12-18 11:30.40: Using cache hint "ocaml-ppx/ppx_deriving_yojson-ocaml/opam:debian-12-ocaml-4.05@sha256:b61a7061be89548724714beddf2fff5979bb7650024bf81208469526add3b904-debian-12-4.05_opam-2.3-e10ce2800f71a6239d4881d85654c08e"
2024-12-18 11:30.40: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.05@sha256:b61a7061be89548724714beddf2fff5979bb7650024bf81208469526add3b904)
(comment debian-12-4.05_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 28daeff6f36e886a2c133aceed8a117d4c6dcd28 || git fetch origin master) && git reset -q --hard 28daeff6f36e886a2c133aceed8a117d4c6dcd28 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src ppx_deriving_yojson.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn ppx_deriving_yojson.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base biniou.1.2.0 conf-m4.1 conf-which.1 cppo.1.1.0 dune.2.7.0 easy-format.1.0.1 jbuilder.1.0+beta7 ocaml.4.05.0 ocaml-base-compiler.4.05.0 ocaml-compiler-libs.v0.12.0 ocaml-config.1 ocaml-secondary-compiler.4.08.1 ocamlbuild.0.9.1 ocamlfind.1.8.1 ocamlfind-secondary.1.8.1 ounit2.2.2.0 ppx_derivers.1.0 ppx_deriving.5.2 ppxlib.0.30.0 result.1.0 sexplib0.v0.12.0 stdlib-shims.0.1.0 yojson.1.6.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_yojson.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"))
)
2024-12-18 11:30.40: Waiting for resource in pool OCluster
2024-12-18 11:30.40: Waiting for worker…
2024-12-18 11:37.04: Got resource from pool OCluster
Building on x86-bm-c1.sw.ocaml.org
HEAD is now at e86fedf Fix generation of unnecessary Ptyp_poly nodes
HEAD is now at e5dbd53 Merge pull request #162 from NathanReb/fix-5-3-compat
(from ocaml/opam:debian-12-ocaml-4.05@sha256:b61a7061be89548724714beddf2fff5979bb7650024bf81208469526add3b904)
2024-12-18 11:38.34 ---> saved as "197d61c582d585eac7fd8df4255400bf4591df9d4ce1cabca3b3a855ece1ca34"
/: (comment debian-12-4.05_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"))
2024-12-18 11:38.35 ---> saved as "662a49f99342937cba59aa758a1b4f481a77fdee85b89ecd8b6d4c9c9abafeb1"
/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] synchronised from file:///home/opam/opam-repository
2024-12-18 11:40.02 ---> saved as "619cdfd7a2cf96f1195ee041d25a3e264398243447e62f82449bb6a4c5bea1d7"
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-126-generic
The OCaml toplevel, version 4.05.0
2.3.0
2024-12-18 11:40.02 ---> saved as "6bb8331ed741b79cc496548a63365326f42fe66751b3f984d5f78ba09d99808f"
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-12-18 11:40.02 ---> saved as "d8e91dfdffe2f45b658a134712d5fbf1da6c470648e0b23a3a69e3acd16847e2"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 28daeff6f36e886a2c133aceed8a117d4c6dcd28 || git fetch origin master) && git reset -q --hard 28daeff6f36e886a2c133aceed8a117d4c6dcd28 && git log --no-decorate -n1 --oneline && opam update -u"))
28daeff6f3 Merge pull request #26814 from mtelvers/m4
<><> 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)
2024-12-18 11:41.13 ---> saved as "a6164eb32d107c40997399032f5e467b0d3da755db4a97c09b911c2896eda08a"
/src: (copy (src ppx_deriving_yojson.opam) (dst ./))
2024-12-18 11:41.13 ---> saved as "bf886929b261d110189f8399cd9b2704ceddce5f4ecea2bcabee73e8fc0c77c2"
/src: (run (network host)
(shell "opam pin add -yn ppx_deriving_yojson.dev './'"))
[ppx_deriving_yojson.dev] synchronised (file:///src)
ppx_deriving_yojson is now pinned to file:///src (version dev)
2024-12-18 11:41.14 ---> saved as "15ec519c38a29a6089492617301d3cd08f5a680c80f409fe4dde29525a784028"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2024-12-18 11:41.14 ---> saved as "46db8c0b6af87dbce39f1199ad0f902ecefcf41ade8356a9b079b02bce950e8b"
/src: (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base biniou.1.2.0 conf-m4.1 conf-which.1 cppo.1.1.0 dune.2.7.0 easy-format.1.0.1 jbuilder.1.0+beta7 ocaml.4.05.0 ocaml-base-compiler.4.05.0 ocaml-compiler-libs.v0.12.0 ocaml-config.1 ocaml-secondary-compiler.4.08.1 ocamlbuild.0.9.1 ocamlfind.1.8.1 ocamlfind-secondary.1.8.1 ounit2.2.2.0 ppx_derivers.1.0 ppx_deriving.5.2 ppxlib.0.30.0 result.1.0 sexplib0.v0.12.0 stdlib-shims.0.1.0 yojson.1.6.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_yojson.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 bookworm-updates/main amd64 Packages.diff/Index [14.0 kB]
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2024-12-07-2012.31-F-2024-11-27-1405.46.pdiff [7410 B]
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2024-12-07-2012.31-F-2024-11-27-1405.46.pdiff [7410 B]
- Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [236 kB]
- Fetched 361 kB in 0s (1301 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ppx_deriving_yojson.dev] synchronised (file:///src)
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.05.0).
[NOTE] Package ocaml is already installed (current version is 4.05.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-bigarray is already installed (current version is base).
The following system packages will first need to be installed:
m4
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "m4"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package m4.
- (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 18745 files and directories currently installed.)
- Preparing to unpack .../archives/m4_1.4.19-3_amd64.deb ...
- Unpacking m4 (1.4.19-3) ...
- Setting up m4 (1.4.19-3) ...
2024-12-18 11:41.33 ---> saved as "058108fb67a3f8bcec945b236c3936e4d118dc36fa5f15400d4481e96cd587ea"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.05.0).
[NOTE] Package ocaml is already installed (current version is 4.05.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-bigarray is already installed (current version is base).
The following actions will be performed:
=== downgrade 1 package
- downgrade ocaml-secondary-compiler 4.14.2 to 4.08.1
=== install 20 packages
- install base-bytes base
- install biniou 1.2.0
- install conf-m4 1
- install conf-which 1
- install cppo 1.1.0
- install dune 2.7.0
- install easy-format 1.0.1
- install jbuilder 1.0+beta7
- install ocaml-compiler-libs v0.12.0
- install ocamlbuild 0.9.1
- install ocamlfind 1.8.1
- install ocamlfind-secondary 1.8.1
- install ounit2 2.2.0
- install ppx_derivers 1.0
- install ppx_deriving 5.2
- install ppxlib 0.30.0
- install result 1.0
- install sexplib0 v0.12.0
- install stdlib-shims 0.1.0
- install yojson 1.6.0
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved biniou.1.2.0 (cached)
-> retrieved cppo.1.1.0 (cached)
-> installed conf-m4.1
-> installed conf-which.1
-> retrieved easy-format.1.0.1 (cached)
-> retrieved jbuilder.1.0+beta7 (cached)
-> retrieved ocaml-compiler-libs.v0.12.0 (cached)
-> retrieved ocamlbuild.0.9.1 (cached)
-> retrieved ocamlfind.1.8.1, ocamlfind-secondary.1.8.1 (cached)
-> retrieved dune.2.7.0 (cached)
-> retrieved ocaml-secondary-compiler.4.08.1 (cached)
-> retrieved ounit2.2.2.0 (cached)
-> retrieved ppx_derivers.1.0 (cached)
-> retrieved ppx_deriving.5.2 (cached)
-> retrieved result.1.0 (cached)
-> retrieved sexplib0.v0.12.0 (cached)
-> retrieved stdlib-shims.0.1.0 (cached)
-> retrieved yojson.1.6.0 (cached)
-> installed result.1.0
-> retrieved ppxlib.0.30.0 (cached)
-> installed ocamlfind.1.8.1
-> installed base-bytes.base
-> installed ocamlbuild.0.9.1
-> installed easy-format.1.0.1
-> installed cppo.1.1.0
-> installed jbuilder.1.0+beta7
-> installed ppx_derivers.1.0
-> installed biniou.1.2.0
-> removed ocaml-secondary-compiler.4.14.2
-> installed ocaml-secondary-compiler.4.08.1
-> installed ocamlfind-secondary.1.8.1
-> installed dune.2.7.0
-> installed stdlib-shims.0.1.0
-> installed sexplib0.v0.12.0
-> installed ocaml-compiler-libs.v0.12.0
-> installed ounit2.2.2.0
-> installed yojson.1.6.0
-> installed ppxlib.0.30.0
-> installed ppx_deriving.5.2
Done.
# To update the current shell environment, run: eval $(opam env)
2024-12-18 11:46.08 ---> saved as "e2edcaf99a038028b1a4322b4a3664c2cc8ca373e02f9a4f48b5774c995d3e3d"
/src: (copy (src .) (dst /src))
2024-12-18 11:46.09 ---> saved as "242f445b86de4cfb39abf3f49c00dfb8269df7c240d5f4b53aa8fabe29ec7751"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
test_ppx_yojson alias src_test/runtest
.................................
Ran: 33 tests in: 6.58 seconds.
OK
2024-12-18 11:46.21 ---> saved as "9acbaa6572d1f2477e4d496b437e4946c4b2d73d1155d3624709b61a321a2b4a"
Job succeeded
2024-12-18 11:46.22: Job succeeded