Organisationsocaml-ppxppx_deriving_yojson1a4b06 (master)ubuntu-25.10-4.14_opam-2.5

ubuntu-25.10-4.14_opam-2.5

Logs

Show full logs
2026-01-09 21:47.26: New job: test ocaml-ppx/ppx_deriving_yojson https://github.com/ocaml-ppx/ppx_deriving_yojson.git#refs/heads/master (1a4b06d2045ed91f30d72cdd8cce7d002c3c2503) (linux-x86_64:ubuntu-25.10-4.14_opam-2.5)
Base: ocaml/opam:ubuntu-25.10-ocaml-4.14@sha256:4087553a96c02e8760fc4cfc5a30f7b1dd51349a77a7a908d4d845cd58b8e173
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:ubuntu-25.10-ocaml-4.14@sha256:4087553a96c02e8760fc4cfc5a30f7b1dd51349a77a7a908d4d845cd58b8e173
# ubuntu-25.10-4.14_opam-2.5
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.5 /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 c65fcb116531ae66ad3316b265e233443ef25044 || git fetch origin master) && git reset -q --hard c65fcb116531ae66ad3316b265e233443ef25044 && 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-threads.base base-unix.base cppo.1.8.0 dune.3.20.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 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.5 --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

2026-01-09 21:47.26: Using cache hint "ocaml-ppx/ppx_deriving_yojson-ocaml/opam:ubuntu-25.10-ocaml-4.14@sha256:4087553a96c02e8760fc4cfc5a30f7b1dd51349a77a7a908d4d845cd58b8e173-ubuntu-25.10-4.14_opam-2.5-0dd6b5b503606005b3d41bd0def0a014"
2026-01-09 21:47.26: Using OBuilder spec:
((from ocaml/opam:ubuntu-25.10-ocaml-4.14@sha256:4087553a96c02e8760fc4cfc5a30f7b1dd51349a77a7a908d4d845cd58b8e173)
 (comment ubuntu-25.10-4.14_opam-2.5)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/bin/opam-2.5 /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 c65fcb116531ae66ad3316b265e233443ef25044 || git fetch origin master) && git reset -q --hard c65fcb116531ae66ad3316b265e233443ef25044 && 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-threads.base base-unix.base cppo.1.8.0 dune.3.20.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 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.5 --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"))
)

2026-01-09 21:47.26: Waiting for resource in pool OCluster
2026-01-09 23:35.16: Waiting for worker…
2026-01-09 23:35.30: Got resource from pool OCluster
Building on clete
All commits already cached
HEAD is now at 1a4b06d Remove the disclaimer to not use ppx_deriving_yojson from the README

(from ocaml/opam:ubuntu-25.10-ocaml-4.14@sha256:4087553a96c02e8760fc4cfc5a30f7b1dd51349a77a7a908d4d845cd58b8e173)
Unable to find image 'ocaml/opam:ubuntu-25.10-ocaml-4.14@sha256:4087553a96c02e8760fc4cfc5a30f7b1dd51349a77a7a908d4d845cd58b8e173' locally
docker.io/ocaml/opam@sha256:4087553a96c02e8760fc4cfc5a30f7b1dd51349a77a7a908d4d845cd58b8e173: Pulling from ocaml/opam
a206cee1e839: Already exists
31a4860f1a71: Already exists
39e1a38aeb75: Already exists
809ec5b87400: Already exists
093176b16caf: Already exists
ac0434fe2275: Already exists
86111f9687be: Already exists
acba9462cead: Already exists
9b773cbc6ab7: Already exists
169f0c98de02: Already exists
79d5a71e5d4d: Already exists
c8ad29fa07f4: Already exists
38362d2beb6c: Already exists
9735327f785c: Already exists
25d986e4e09c: Already exists
08765368831e: Already exists
263d027970a4: Already exists
263d027970a4: Already exists
0db8ad403ffc: Already exists
0774a22e03ec: Already exists
ecae8e86db15: Already exists
7bde8086daf3: Already exists
4f4fb700ef54: Already exists
c8795f0be74f: Already exists
bf1686ddcf2f: Already exists
6190e5884020: Already exists
d3ef051d940f: Already exists
74516cbf13d5: Already exists
2b9c6d0ca8aa: Already exists
828602f5a7e1: Already exists
1c2200cbac34: Already exists
ddcac09cadd2: Already exists
f72178fefb52: Already exists
e391052d0a0a: Already exists
092f96d7da41: Already exists
728c71316025: Already exists
26503a58709c: Already exists
e6440340e603: Already exists
c919b1d29ded: Already exists
7dba17a6ef30: Already exists
e91032db10a1: Already exists
2f57edf6fe74: Already exists
1cdd68167d33: Already exists
6115e63915a5: Already exists
dcf82fa7072e: Already exists
Digest: sha256:4087553a96c02e8760fc4cfc5a30f7b1dd51349a77a7a908d4d845cd58b8e173
Status: Downloaded newer image for ocaml/opam@sha256:4087553a96c02e8760fc4cfc5a30f7b1dd51349a77a7a908d4d845cd58b8e173
2026-01-09 23:35.31 ---> using "12e1d80dd71b085b54062164a54764ef454482e5efb893e28a3c1ca8536b6c5f" from cache

/: (comment ubuntu-25.10-4.14_opam-2.5)

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

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (workdir /src)

/src: (run (shell "sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam"))
2026-01-09 23:35.31 ---> using "60a1f4c28d2ee6aef759b4a4af5ca177528c1ba80c802fb732ee42d2f4fec255" 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
2026-01-09 23:35.31 ---> using "df92ed50f34733f252e728a5461db343f986f9ae329a6fdc3f87c67fb5803609" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-90-generic
The OCaml toplevel, version 4.14.2
2.5.0
2026-01-09 23:35.31 ---> using "145e19d5744b0635444b937f544b5407772d860c5b23b5f94f5c61355cc05509" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2026-01-09 23:35.31 ---> using "150b4004128f5f536600261c195250554b697ec77e063f003b4f273a393c2adb" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e c65fcb116531ae66ad3316b265e233443ef25044 || git fetch origin master) && git reset -q --hard c65fcb116531ae66ad3316b265e233443ef25044 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   ee48e882f0..a6b2f19780  master     -> origin/master
c65fcb1165 Merge pull request #29080 from dra27/ocaml-config-urls

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+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 at these versions (e.g. "opam upgrade ocaml.5.4.0"), which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2026-01-09 23:35.31 ---> using "ab48323040a58e302277182673b42ab695dab1c8727755dc6b5f20c4497af4f8" from cache

/src: (copy (src ppx_deriving_yojson.opam) (dst ./))
2026-01-09 23:35.32 ---> saved as "cd4b61c02f299723d1a5c7337553fbbfb37aa454d4e280ed3b7cdc7f06729d65"

/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)
2026-01-09 23:35.35 ---> saved as "bf037d85b2073fc3886a1d6f88da3d6d2f70bc179b5c0e8f7a63d20e18fff23a"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-01-09 23:35.35 ---> saved as "ce0d74aeaf3c670a967008a0ecfe7737a67030be31e47c317d9c889628f248ab"

/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base cppo.1.8.0 dune.3.20.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 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.5 --depext-only -y ppx_deriving_yojson.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu questing InRelease
- Get:2 http://archive.ubuntu.com/ubuntu questing-updates InRelease [136 kB]
- Get:3 http://security.ubuntu.com/ubuntu questing-security InRelease [136 kB]
- Get:4 http://archive.ubuntu.com/ubuntu questing-backports InRelease [133 kB]
- Get:5 http://archive.ubuntu.com/ubuntu questing-updates/multiverse amd64 Packages [1689 B]
- Get:6 http://archive.ubuntu.com/ubuntu questing-updates/restricted amd64 Packages [122 kB]
- Get:7 http://security.ubuntu.com/ubuntu questing-security/universe amd64 Packages [99.7 kB]
- Get:8 http://archive.ubuntu.com/ubuntu questing-updates/universe amd64 Packages [154 kB]
- Get:9 http://archive.ubuntu.com/ubuntu questing-updates/main amd64 Packages [284 kB]
- Get:10 http://security.ubuntu.com/ubuntu questing-security/main amd64 Packages [153 kB]
- Get:11 http://archive.ubuntu.com/ubuntu questing-backports/universe amd64 Packages [666 B]
- Fetched 1220 kB in 0s (5073 kB/s)
- Reading package lists...
- 

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ppx_deriving_yojson.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 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).
# To update the current shell environment, run: eval $(opam env)
2026-01-09 23:35.53 ---> saved as "5e011714ce3f08947025d7719c4870cc84c09f6b6a0b51f9c19a6d0b7340e956"

/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 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 12 packages
  - install cppo                1.8.0
  - install dune                3.20.2
  - install ocaml-compiler-libs v0.12.4
  - 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.12.4  (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 yojson.3.0.0  (cached)
-> retrieved ppxlib.0.37.0  (cached)
-> retrieved dune.3.20.2  (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 ocaml-compiler-libs.v0.12.4
-> installed cppo.1.8.0
-> installed ounit2.2.2.7
-> installed yojson.3.0.0
-> installed ppxlib.0.37.0
-> installed ppx_deriving.6.1.1
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-09 23:37.31 ---> saved as "b2c54a307c7be058bfb72a03e91b3c67b643f023d0eb6785d7c04b1ad55c44cb"

/src: (copy (src .) (dst /src))
2026-01-09 23:37.32 ---> saved as "e28ee602f2ec1db66d523e9360c646649021e00103847c6844e83f1f5f57437b"

/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: 5.89 seconds.
OK
2026-01-09 23:37.45 ---> saved as "fed51fcc7abd46c21e745f30dd578cfba82d79c581f0c6fdbbe262a05a2958f8"
Job succeeded
2026-01-09 23:37.45: Job succeeded