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

ubuntu-25.10-5.4_opam-2.5

Link Copied
Code Copied

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-5.4_opam-2.5)
Base: ocaml/opam:ubuntu-25.10-ocaml-5.4@sha256:9cbf3da9bfd77a10b23a729cefa9f882afad591e9ce96d8832affb9695de0ab3
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-5.4@sha256:9cbf3da9bfd77a10b23a729cefa9f882afad591e9ce96d8832affb9695de0ab3
# ubuntu-25.10-5.4_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-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-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 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-5.4@sha256:9cbf3da9bfd77a10b23a729cefa9f882afad591e9ce96d8832affb9695de0ab3-ubuntu-25.10-5.4_opam-2.5-0fdca9beb29b1b71b1ad62853926d0c0"
2026-01-09 21:47.26: Using OBuilder spec:
((from ocaml/opam:ubuntu-25.10-ocaml-5.4@sha256:9cbf3da9bfd77a10b23a729cefa9f882afad591e9ce96d8832affb9695de0ab3)
(comment ubuntu-25.10-5.4_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-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-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 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.15: Waiting for worker…
2026-01-09 23:35.29: Got resource from pool OCluster
Building on clete
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
Initialized empty Git repository in /var/cache/obuilder/ocluster/git/ppx_deriving_yojson.git-62ad71e24375dc0302a06acfff5434faebefd03f/.git/
HEAD is now at 1a4b06d Remove the disclaimer to not use ppx_deriving_yojson from the README


(from ocaml/opam:ubuntu-25.10-ocaml-5.4@sha256:9cbf3da9bfd77a10b23a729cefa9f882afad591e9ce96d8832affb9695de0ab3)
2026-01-09 23:35.31 ---> using "2d3af8a2eb621494054029e85a3557d7609b364473df85d89e2f074564c464ef" from cache


/: (comment ubuntu-25.10-5.4_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 "564d88f7a87962dfeb6f5f53d8b8eeb863e6a3dd4e50380cdb5f3e64d911b9a3" 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 "163bc07db16bfb613e84b924d498023109cbaac350b865dd2268aa75cade598d" from cache


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


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2026-01-09 23:35.31 ---> using "74120422c8add92672a5d3454fbf07b14e993b395e7d21f5a9d9561b29cda0b9" 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


Already up-to-date.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2026-01-09 23:35.31 ---> using "c61f1622de6f45dafc2cda254e1aefb226a52c776fa6b09a878073b4ce106508" from cache


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


/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.34 ---> saved as "3d63f3e4f57d389a2e0fbf9ef705808b9aab32e76896616e6f1bf5ae0c26290c"


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


/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-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 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://security.ubuntu.com/ubuntu questing-security/main amd64 Packages [153 kB]
- 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/multiverse amd64 Packages [1689 B]
- Get:9 http://archive.ubuntu.com/ubuntu questing-updates/universe amd64 Packages [154 kB]
- Get:10 http://archive.ubuntu.com/ubuntu questing-updates/main amd64 Packages [284 kB]
- Get:11 http://archive.ubuntu.com/ubuntu questing-backports/universe amd64 Packages [666 B]
- Fetched 1220 kB in 0s (4971 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 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml-base-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).
# To update the current shell environment, run: eval $(opam env)
2026-01-09 23:35.53 ---> saved as "2a3a834ef6c37bc1bbf1a5a22192d3869714ef4004bdade2de56a07c1ab5f08b"


/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 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml-base-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 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 cppo.1.8.0
-> installed ounit2.2.2.7
-> installed ocaml-compiler-libs.v0.17.0
-> 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.44 ---> saved as "d1ad592e9f9754ebb0b697ed7d6b0c846891d8ddbf814be1ccb954cced141535"


/src: (copy (src .) (dst /src))
2026-01-09 23:37.44 ---> saved as "1ecd3b3022f9c8261073b8359ae6175ff7660378a2fe663be7267bdbb13f7614"


/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: 8.55 seconds.
OK
2026-01-09 23:38.02 ---> saved as "c00d20899631848ef1dad61f2d830b4338a796f3ada1cecf55c714bbc527c0d2"
Job succeeded
2026-01-09 23:38.03: Job succeeded