Organisationsocaml-ppxppx_deriving_yojson1a4b06 (master)debian-13-5.4+flambda_opam-2.4

debian-13-5.4+flambda_opam-2.4

Link Copied
Code Copied

Logs

2025-10-27 22:42.30: New job: test ocaml-ppx/ppx_deriving_yojson https://github.com/ocaml-ppx/ppx_deriving_yojson.git#refs/heads/master (1a4b06d2045ed91f30d72cdd8cce7d002c3c2503) (linux-x86_64:debian-13-5.4+flambda_opam-2.4)
Base: ocaml/opam:debian-13-ocaml-5.4-flambda@sha256:2d484900314a99f185d54e7a73ea63099b36698761204da91a02457d87673933
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 1a4b06d2
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.4-flambda@sha256:2d484900314a99f185d54e7a73ea63099b36698761204da91a02457d87673933
# debian-13-5.4+flambda_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.4 /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 7f9c784b97b368cd82ee80890d9866b8e66b7c1b || git fetch origin master) && git reset -q --hard 7f9c784b97b368cd82ee80890d9866b8e66b7c1b && 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-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cppo.1.8.0 dune.3.20.2 ocaml.5.4.0 ocaml-compiler.5.4.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-variants.5.4.0+options ocamlfind.1.9.8 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.1.1 ppxlib.0.37.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 yojson.3.0.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --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-10-27 22:42.30: Using cache hint "ocaml-ppx/ppx_deriving_yojson-ocaml/opam:debian-13-ocaml-5.4-flambda@sha256:2d484900314a99f185d54e7a73ea63099b36698761204da91a02457d87673933-debian-13-5.4+flambda_opam-2.4-c4c32316e998654e0b4af65fba377a6f"
2025-10-27 22:42.30: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4-flambda@sha256:2d484900314a99f185d54e7a73ea63099b36698761204da91a02457d87673933)
(comment debian-13-5.4+flambda_opam-2.4)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.4 /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 7f9c784b97b368cd82ee80890d9866b8e66b7c1b || git fetch origin master) && git reset -q --hard 7f9c784b97b368cd82ee80890d9866b8e66b7c1b && 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-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cppo.1.8.0 dune.3.20.2 ocaml.5.4.0 ocaml-compiler.5.4.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-variants.5.4.0+options ocamlfind.1.9.8 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.1.1 ppxlib.0.37.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 yojson.3.0.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.4 --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-10-27 22:42.30: Waiting for resource in pool OCluster
2025-10-27 23:45.21: Waiting for worker…
2025-10-27 23:47.35: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
All commits already cached
HEAD is now at 1a4b06d Remove the disclaimer to not use ppx_deriving_yojson from the README


(from ocaml/opam:debian-13-ocaml-5.4-flambda@sha256:2d484900314a99f185d54e7a73ea63099b36698761204da91a02457d87673933)
2025-10-27 23:47.36 ---> using "6aac88b40f8371df71ceaa583553943aaa2f334eb9f2c24a03f1036a44dbf41f" from cache


/: (comment debian-13-5.4+flambda_opam-2.4)


/: (user (uid 1000) (gid 1000))


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-10-27 23:47.36 ---> using "4af4db56322f2f0c85d629dbe510932763c6b2b1976cf88a8d80b906e22d12a4" 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] Initialised
2025-10-27 23:47.36 ---> using "d0e85ef98074b40067e94f168ff3ed5cb417c68cb50047d7d91df4680844c444" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-85-generic
The OCaml toplevel, version 5.4.0
2.4.1
2025-10-27 23:47.36 ---> using "d4c745d416d0ad39026f729b7e42fa33645ccd268b3c6ce110c95ee11b42edf3" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-10-27 23:47.36 ---> using "ff3572a5540826f30578995d37df9333fd351510fd19da0873c9c071bb414e99" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 7f9c784b97b368cd82ee80890d9866b8e66b7c1b || git fetch origin master) && git reset -q --hard 7f9c784b97b368cd82ee80890d9866b8e66b7c1b && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
5bf570252b..7f9c784b97  master     -> origin/master
7f9c784b97 Merge pull request #28787 from ocaml/mseri-patch-1


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository


Already up-to-date.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-10-27 23:47.36 ---> using "be30462f485b29f643d3db96f4478dc1c708996905ab52547c4aa9df9f2d6019" from cache


/src: (copy (src ppx_deriving_yojson.opam) (dst ./))
2025-10-27 23:47.36 ---> saved as "78b9b352aa5ca550cd9ced04aa873fe7f82b5ca0f15bf362afdb18f24ac6d4b4"


/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-10-27 23:47.39 ---> saved as "92a19bb7d55183daed13f48270ef1c8d965025ae514522b67f253297d00ba95b"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-10-27 23:47.40 ---> saved as "36460912580f5a1fd645b6005baecee7c545fe9ff4a9a14b01b59498aff766c1"


/src: (env DEPS "base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cppo.1.8.0 dune.3.20.2 ocaml.5.4.0 ocaml-compiler.5.4.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-variants.5.4.0+options ocamlfind.1.9.8 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.1.1 ppxlib.0.37.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 yojson.3.0.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.4 --depext-only -y ppx_deriving_yojson.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [65.1 kB]
- Fetched 156 kB in 0s (634 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ppx_deriving_yojson.dev] synchronised (file:///src)


[NOTE] Package ocaml-variants is already installed (current version is 5.4.0+options).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml is already installed (current version is 5.4.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-10-27 23:48.00 ---> saved as "df8fe03633e20aea0526070478e285a41bbf51260b55477287e7963c56398436"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-variants is already installed (current version is 5.4.0+options).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml is already installed (current version is 5.4.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 12 packages
- install cppo                1.8.0
- install dune                3.20.2
- install ocaml-compiler-libs v0.17.0
- install ocamlfind           1.9.8
- install ounit2              2.2.7
- install ppx_derivers        1.2.1
- install ppx_deriving        6.1.1
- install ppxlib              0.37.0
- install seq                 base
- install sexplib0            v0.17.0
- install stdlib-shims        0.3.0
- install yojson              3.0.0


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.8.0  (cached)
-> retrieved ocaml-compiler-libs.v0.17.0  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ounit2.2.2.7  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_deriving.6.1.1  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved dune.3.20.2  (cached)
-> retrieved ppxlib.0.37.0  (cached)
-> retrieved yojson.3.0.0  (cached)
-> installed ocamlfind.1.9.8
-> installed dune.3.20.2
-> installed ppx_derivers.1.2.1
-> installed stdlib-shims.0.3.0
-> installed sexplib0.v0.17.0
-> installed cppo.1.8.0
-> installed ounit2.2.2.7
-> installed yojson.3.0.0
-> installed ocaml-compiler-libs.v0.17.0
-> installed ppxlib.0.37.0
-> installed ppx_deriving.6.1.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-10-27 23:51.50 ---> saved as "612617cea5a94ea69bdc75d1daa3a5ee764bba3486959b9bf112a520a02e3678"


/src: (copy (src .) (dst /src))
2025-10-27 23:51.51 ---> saved as "d66423f24a8c0ea2a4a836e9f1fc5167238a049b96674a5efed18c98652f3494"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/src_test && ./test_ppx_yojson.exe)
....................................
Ran: 36 tests in: 7.93 seconds.
OK
2025-10-27 23:52.13 ---> saved as "08602365467a205221e82794f4f2a5ceaaf31b7a95f55c8e959f9a289972ac0a"
Job succeeded
2025-10-27 23:52.13: Job succeeded