Organisationsocaml-ppxppx_deriving_yojson67e1d3 ()(lower-bound)

(lower-bound)

Link Copied
Code Copied

Logs

2025-03-21 10:51.06: New job: test ocaml-ppx/ppx_deriving_yojson https://github.com/ocaml-ppx/ppx_deriving_yojson.git#refs/heads/master (67e1d3334c1e3b94152bbc9c8600b71d5ee61b39) (linux-x86_64:(lower-bound))
Base: ocaml/opam:debian-12-ocaml-4.05@sha256:a55bca4befb0c3ec00078ecb83089efdee8a3ac0a76bdf70edd4f247015fae14
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 67e1d333
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.05@sha256:a55bca4befb0c3ec00078ecb83089efdee8a3ac0a76bdf70edd4f247015fae14
# 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 cb8df6db0195538a02cc2b2eb20e468f22c475a7 || git fetch origin master) && git reset -q --hard cb8df6db0195538a02cc2b2eb20e468f22c475a7 && 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.6.1 dune.2.7.0 easy-format.1.0.1 jbuilder.1.0+beta20.1 ocaml.4.05.0 ocaml-base-compiler.4.05.0 ocaml-compiler-libs.v0.11.0 ocaml-config.1 ocaml-secondary-compiler.4.08.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.5 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


2025-03-21 10:51.06: Using cache hint "ocaml-ppx/ppx_deriving_yojson-ocaml/opam:debian-12-ocaml-4.05@sha256:a55bca4befb0c3ec00078ecb83089efdee8a3ac0a76bdf70edd4f247015fae14-debian-12-4.05_opam-2.3-b6466ba27003a307d743ae5601a4a479"
2025-03-21 10:51.06: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.05@sha256:a55bca4befb0c3ec00078ecb83089efdee8a3ac0a76bdf70edd4f247015fae14)
(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 cb8df6db0195538a02cc2b2eb20e468f22c475a7 || git fetch origin master) && git reset -q --hard cb8df6db0195538a02cc2b2eb20e468f22c475a7 && 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.6.1 dune.2.7.0 easy-format.1.0.1 jbuilder.1.0+beta20.1 ocaml.4.05.0 ocaml-base-compiler.4.05.0 ocaml-compiler-libs.v0.11.0 ocaml-config.1 ocaml-secondary-compiler.4.08.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.5 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"))
)


2025-03-21 10:51.06: Waiting for resource in pool OCluster
2025-03-21 10:51.06: Waiting for worker…
2025-03-21 10:51.06: Got resource from pool OCluster
Building on x86-bm-c4.sw.ocaml.org
All commits already cached
HEAD is now at 67e1d33 Release 3.9.1


(from ocaml/opam:debian-12-ocaml-4.05@sha256:a55bca4befb0c3ec00078ecb83089efdee8a3ac0a76bdf70edd4f247015fae14)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.05@sha256:a55bca4befb0c3ec00078ecb83089efdee8a3ac0a76bdf70edd4f247015fae14' locally
docker.io/ocaml/opam@sha256:a55bca4befb0c3ec00078ecb83089efdee8a3ac0a76bdf70edd4f247015fae14: Pulling from ocaml/opam
1f100d92527a: Pulling fs layer
1f100d92527a: Verifying Checksum
1f100d92527a: Download complete
1f100d92527a: Pull complete
Digest: sha256:a55bca4befb0c3ec00078ecb83089efdee8a3ac0a76bdf70edd4f247015fae14
Status: Downloaded newer image for ocaml/opam@sha256:a55bca4befb0c3ec00078ecb83089efdee8a3ac0a76bdf70edd4f247015fae14
2025-03-21 10:54.14 ---> saved as "f489abf84b2bd9c48733192fde70aa1fbfa9ca4b20aab43ef114489ba23ee9e1"


/: (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"))
2025-03-21 10:54.14 ---> saved as "8b24ae16b19125162f271ea49552765370e545a14c940e6affaad334771cf790"


/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
[NOTE] The 'jobs' option was reset, its value was 39 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
opam option jobs=39 --global
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] Could not update repository "opam-repository-archive": "/usr/bin/git fetch -q" exited with code 128 "fatal: unable to access 'https://github.com/ocaml/opam-repository-archive/': Could not resolve host: github.com"
[default] synchronised from file:///home/opam/opam-repository
2025-03-21 10:55.44 ---> saved as "b4e858a04673f5fda467ed9befe38973b4f4dbdf76cc6fc48e7269b10360154b"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 4.05.0
2.3.0
2025-03-21 10:55.45 ---> saved as "e1d00dbe47d86746a5c473f1f62f32cac6a5fad7f0c6826a5fabb32cb95fac85"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-03-21 10:55.45 ---> saved as "c913839d12d08656f18776f3f5b07a2bf913f2f8062351c1c403ac4425baa98a"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e cb8df6db0195538a02cc2b2eb20e468f22c475a7 || git fetch origin master) && git reset -q --hard cb8df6db0195538a02cc2b2eb20e468f22c475a7 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
a8ed476033..6cf83229dd  master     -> origin/master
cb8df6db01 Merge pull request #27631 from dbuenzli/incompatible-cmdliner2


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] synchronised from git+https://github.com/ocaml/opam-repository-archive
[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-03-21 10:56.43 ---> saved as "4eacc2eb31a70a106d3d32d17b97f227039e8c0c75afe4bc9359af5e04b837a5"


/src: (copy (src ppx_deriving_yojson.opam) (dst ./))
2025-03-21 10:56.43 ---> saved as "a5cde775ee4771fdf470e0a8afb2bc78fc7be71f98e829b8c60aefe5762bce7f"


/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)
2025-03-21 10:56.45 ---> saved as "f89584c81e0dbf8a27190aeb516a48bd00e5b0f9064eb24e515a5c44facb6e47"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-03-21 10:56.45 ---> saved as "77b52431fa775bbf25e413c38cb571fcbfd82420643d2002e3cf171ec66ecb16"


/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.6.1 dune.2.7.0 easy-format.1.0.1 jbuilder.1.0+beta20.1 ocaml.4.05.0 ocaml-base-compiler.4.05.0 ocaml-compiler-libs.v0.11.0 ocaml-config.1 ocaml-secondary-compiler.4.08.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.5 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 [249 kB]
- Fetched 353 kB in 0s (1232 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) ...
2025-03-21 10:57.04 ---> saved as "f5a77428b1725a850327429673f45958aa8e965bff95e0f4bfc03f61d5f4a61e"


/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 19 packages
- install   base-bytes               base
- install   biniou                   1.2.0
- install   conf-m4                  1
- install   conf-which               1
- install   cppo                     1.6.1
- install   dune                     2.7.0
- install   easy-format              1.0.1
- install   jbuilder                 1.0+beta20.1 (deprecated)
- install   ocaml-compiler-libs      v0.11.0
- 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.5
- 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.6.1  (cached)
-> installed conf-m4.1
-> installed conf-which.1
-> retrieved easy-format.1.0.1  (cached)
-> retrieved ocaml-compiler-libs.v0.11.0  (cached)
-> retrieved jbuilder.1.0+beta20.1  (cached)
-> retrieved dune.2.7.0  (cached)
-> retrieved ocaml-secondary-compiler.4.08.1  (cached)
-> retrieved ocamlfind.1.8.1, ocamlfind-secondary.1.8.1  (cached)
-> retrieved ounit2.2.2.0  (cached)
-> retrieved ppx_derivers.1.0  (cached)
-> retrieved ppx_deriving.5.2  (cached)
-> retrieved result.1.5  (cached)
-> retrieved sexplib0.v0.12.0  (cached)
-> retrieved stdlib-shims.0.1.0  (cached)
-> retrieved yojson.1.6.0  (cached)
-> retrieved ppxlib.0.30.0  (cached)
-> installed ocamlfind.1.8.1
-> installed base-bytes.base
-> installed easy-format.1.0.1
-> installed jbuilder.1.0+beta20.1
-> installed ppx_derivers.1.0
-> installed biniou.1.2.0
-> installed ocaml-compiler-libs.v0.11.0
-> installed cppo.1.6.1
-> 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 result.1.5
-> installed stdlib-shims.0.1.0
-> installed sexplib0.v0.12.0
-> installed ounit2.2.2.0
-> installed yojson.1.6.0
-> installed ppxlib.0.30.0
-> installed ppx_deriving.5.2
Done.


<><> jbuilder.1.0+beta20.1 installed successfully <><><><><><><><><><><><><><><>
=> Note: This package is deprecated.
# To update the current shell environment, run: eval $(opam env)
2025-03-21 11:02.32 ---> saved as "14426c0b59cf5d06f7fb2482605e2e02e72d104ba5071a0c45a396f54e5503eb"


/src: (copy (src .) (dst /src))
2025-03-21 11:02.33 ---> saved as "01869e153b61826fcd257d4ac10519200ef54ed669afb32057c48832ba273a9d"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "/home/opam/.opam/4.05/lib/ocaml-compiler-libs/bytecomp/ocaml-compiler-libs.bytecomp.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.05/lib/ocaml-compiler-libs/common/ocaml-compiler-libs.common.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.05/lib/ocaml-compiler-libs/shadow/ocaml-compiler-libs.shadow.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.05/lib/ocaml-compiler-libs/toplevel/ocaml-compiler-libs.toplevel.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.05/lib/ppx_derivers/ppx_derivers.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.05/lib/biniou/biniou.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
test_ppx_yojson alias src_test/runtest
.................................
Ran: 33 tests in: 5.78 seconds.
OK
2025-03-21 11:02.43 ---> saved as "354b267a27712446b6390070c1e4b5dedddb85288ab991c02a4e49c9006ef10a"
Job succeeded
2025-03-21 11:02.44: Job succeeded