2024-11-19 18:55.10: New job: test ocaml-ppx/ppx_deriving_yojson https://github.com/ocaml-ppx/ppx_deriving_yojson.git#refs/heads/master (5c073f127a275a1332f791b6f7e0cfe047ed3ec2) (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 5c073f12
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 './'
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-11-19 18:55.10: 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-11-19 18:55.10: 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 './'"))
(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-11-19 18:55.10: Waiting for resource in pool OCluster
2024-11-20 07:56.04: Waiting for worker…
2024-11-20 07:58.24: Got resource from pool OCluster
Building on x86-bm-c1.sw.ocaml.org
All commits already cached
HEAD is now at 5c073f1 Switch changelog back to dev mode
(from ocaml/opam:debian-12-ocaml-4.05@sha256:b61a7061be89548724714beddf2fff5979bb7650024bf81208469526add3b904)
2024-11-20 07:58.24 ---> using "197d61c582d585eac7fd8df4255400bf4591df9d4ce1cabca3b3a855ece1ca34" from cache
/: (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-11-20 07:58.24 ---> using "662a49f99342937cba59aa758a1b4f481a77fdee85b89ecd8b6d4c9c9abafeb1" 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] synchronised from file:///home/opam/opam-repository
2024-11-20 07:58.24 ---> using "619cdfd7a2cf96f1195ee041d25a3e264398243447e62f82449bb6a4c5bea1d7" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-125-generic
The OCaml toplevel, version 4.05.0
2.3.0
2024-11-20 07:58.24 ---> using "6bb8331ed741b79cc496548a63365326f42fe66751b3f984d5f78ba09d99808f" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-11-20 07:58.24 ---> using "d8e91dfdffe2f45b658a134712d5fbf1da6c470648e0b23a3a69e3acd16847e2" from cache
/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-11-20 07:58.24 ---> using "a6164eb32d107c40997399032f5e467b0d3da755db4a97c09b911c2896eda08a" from cache
/src: (copy (src ppx_deriving_yojson.opam) (dst ./))
2024-11-20 07:58.24 ---> 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-11-20 07:58.27 ---> saved as "15ec519c38a29a6089492617301d3cd08f5a680c80f409fe4dde29525a784028"
/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-security bookworm-security/main amd64 Packages [204 kB]
- Fetched 308 kB in 0s (1164 kB/s)
- Reading package lists...
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ppx_deriving_yojson.dev] synchronised (no changes)
[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-11-20 07:58.52 ---> saved as "f994eba657fe313cebad006cf12c5cd26742657d94bca75d1cde9f7838350152"
/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 <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-which.1
-> installed conf-m4.1
-> retrieved dune.2.7.0 (cached)
-> retrieved biniou.1.2.0 (https://github.com/mjambon/biniou/archive/v1.2.0.tar.gz)
-> retrieved cppo.1.1.0 (https://github.com/mjambon/cppo/archive/v1.1.0.tar.gz)
-> retrieved ocaml-compiler-libs.v0.12.0 (cached)
-> retrieved ocaml-secondary-compiler.4.08.1 (cached)
-> retrieved ocamlbuild.0.9.1 (cached)
-> retrieved jbuilder.1.0+beta7 (https://github.com/janestreet/jbuilder/archive/1.0+beta7.tar.gz)
-> retrieved ocamlfind.1.8.1, ocamlfind-secondary.1.8.1 (cached)
-> retrieved ppx_derivers.1.0 (cached)
-> retrieved easy-format.1.0.1 (https://github.com/mjambon/easy-format/archive/v1.0.1.tar.gz)
-> retrieved ppxlib.0.30.0 (cached)
-> retrieved result.1.0 (cached)
-> retrieved ounit2.2.2.0 (https://github.com/gildor478/ounit/releases/download/v2.2.0/ounit-v2.2.0.tbz)
-> retrieved stdlib-shims.0.1.0 (cached)
-> installed result.1.0
-> retrieved sexplib0.v0.12.0 (https://ocaml.janestreet.com/ocaml-core/v0.12/files/sexplib0-v0.12.0.tar.gz)
-> retrieved ppx_deriving.5.2 (https://github.com/ocaml-ppx/ppx_deriving/releases/download/v5.2/ppx_deriving-v5.2.tbz)
-> retrieved yojson.1.6.0 (https://github.com/ocaml-community/yojson/releases/download/1.6.0/yojson-1.6.0.tbz)
-> 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-11-20 08:04.14 ---> saved as "7d791b55184dcb767455bd270f550e1e370880e9084aa506f83236991dd5ef49"
/src: (copy (src .) (dst /src))
2024-11-20 08:04.14 ---> saved as "34c21976af3c180529197ed42478dee05a1f0565a17d76750d33d5c3f5b6fdfa"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
test_ppx_yojson alias src_test/runtest
.................................
Ran: 33 tests in: 9.27 seconds.
OK
2024-11-20 08:04.30 ---> saved as "fe1f18d5f8fa7ce6df8d6d053c47cdf2a15c8a85ffeff57638d007fa89f54951"
Job succeeded
2024-11-20 08:04.30: Job succeeded