Organisationsocaml-ppxppx_deriving_yojsonc6c2ad ()ubuntu-25.04-5.3_opam-2.4

ubuntu-25.04-5.3_opam-2.4

Link Copied
Code Copied

Logs

2025-07-31 07:30.31: New job: test ocaml-ppx/ppx_deriving_yojson https://github.com/ocaml-ppx/ppx_deriving_yojson.git#refs/heads/master (c6c2adbe033f0cfd68a9cfc93f0a66df5d00b3ac) (linux-x86_64:ubuntu-25.04-5.3_opam-2.4)
Base: ocaml/opam:ubuntu-25.04-ocaml-5.3@sha256:124a52160e4ea699e59a91d7f5e2e8443befd060c18b27eb6007f855adc30d93
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 c6c2adbe
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-25.04-ocaml-5.3@sha256:124a52160e4ea699e59a91d7f5e2e8443befd060c18b27eb6007f855adc30d93
# ubuntu-25.04-5.3_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 c44248fe760182a13f686e82e49611e36beb937c || git fetch origin master) && git reset -q --hard c44248fe760182a13f686e82e49611e36beb937c && 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.19.1 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.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.36.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-07-31 07:30.31: Using cache hint "ocaml-ppx/ppx_deriving_yojson-ocaml/opam:ubuntu-25.04-ocaml-5.3@sha256:124a52160e4ea699e59a91d7f5e2e8443befd060c18b27eb6007f855adc30d93-ubuntu-25.04-5.3_opam-2.4-43cfe4bcf32f1ab517c96c8894fae51b"
2025-07-31 07:30.31: Using OBuilder spec:
((from ocaml/opam:ubuntu-25.04-ocaml-5.3@sha256:124a52160e4ea699e59a91d7f5e2e8443befd060c18b27eb6007f855adc30d93)
(comment ubuntu-25.04-5.3_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 c44248fe760182a13f686e82e49611e36beb937c || git fetch origin master) && git reset -q --hard c44248fe760182a13f686e82e49611e36beb937c && 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.19.1 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.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.36.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-07-31 07:30.31: Waiting for resource in pool OCluster
2025-07-31 09:48.51: Waiting for worker…
2025-07-31 09:50.44: Got resource from pool OCluster
Building on eumache
All commits already cached
HEAD is now at c6c2adb Merge pull request #164 from Niols/issue-163


(from ocaml/opam:ubuntu-25.04-ocaml-5.3@sha256:124a52160e4ea699e59a91d7f5e2e8443befd060c18b27eb6007f855adc30d93)
Unable to find image 'ocaml/opam:ubuntu-25.04-ocaml-5.3@sha256:124a52160e4ea699e59a91d7f5e2e8443befd060c18b27eb6007f855adc30d93' locally
docker.io/ocaml/opam@sha256:124a52160e4ea699e59a91d7f5e2e8443befd060c18b27eb6007f855adc30d93: Pulling from ocaml/opam
eb6d2f107685: Pulling fs layer
eb6d2f107685: Waiting
eb6d2f107685: Verifying Checksum
eb6d2f107685: Download complete
eb6d2f107685: Pull complete
Digest: sha256:124a52160e4ea699e59a91d7f5e2e8443befd060c18b27eb6007f855adc30d93
Status: Downloaded newer image for ocaml/opam@sha256:124a52160e4ea699e59a91d7f5e2e8443befd060c18b27eb6007f855adc30d93
2025-07-31 09:50.44 ---> using "d30519b4acdd57742b165f681c15a599aecbfb24619a803ce0d60757b34b2167" from cache


/: (comment ubuntu-25.04-5.3_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-07-31 09:50.44 ---> using "f246f4986611cfad265009a42a8a72d8438f00b872c9afcda05da64805d1beae" 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-07-31 09:50.44 ---> using "1fbf02475475c348bd88f5d066d3fe619ade5b4a8db6c274116d5ef338e91925" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-131-generic
The OCaml toplevel, version 5.3.0
2.4.1
2025-07-31 09:50.44 ---> using "e907eaf9f29c835755a2fe7116a0f8cae47cfe00d485f386f422668b72dfcb60" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-07-31 09:50.44 ---> using "03e37adb747b7c9a784a95a214bcb087341bc9513415faa991b59cd13889a2ce" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e c44248fe760182a13f686e82e49611e36beb937c || git fetch origin master) && git reset -q --hard c44248fe760182a13f686e82e49611e36beb937c && git log --no-decorate -n1 --oneline && opam update -u"))
c44248fe76 Merge pull request #28193 from kit-ty-kate/opam-publish-ppx_deriving.6.1.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-07-31 09:50.51 ---> saved as "298ab21b44731ad3ff630bb0a43fdc02a3a920fb4587ed69e3cfbb3873c3dbfa"


/src: (copy (src ppx_deriving_yojson.opam) (dst ./))
2025-07-31 09:50.51 ---> saved as "d6276337e298a359471f62aab466c66ba77cc990ec6415458e506c159272de45"


/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-07-31 09:50.54 ---> saved as "0249cc98add4d519757a4f057de2ee69e94bf4d9445065c2a1607069746799b4"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-07-31 09:50.54 ---> saved as "5d77bf6b40717cd97be1c90b4005b6458d7239e3510e1edfb80474cfb5fb20cf"


/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.19.1 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.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.36.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"
- Get:1 http://security.ubuntu.com/ubuntu plucky-security InRelease [126 kB]
- Hit:2 http://archive.ubuntu.com/ubuntu plucky InRelease
- Get:3 http://archive.ubuntu.com/ubuntu plucky-updates InRelease [126 kB]
- Get:4 http://archive.ubuntu.com/ubuntu plucky-backports InRelease [126 kB]
- Get:5 http://security.ubuntu.com/ubuntu plucky-security/universe amd64 Packages [129 kB]
- Get:6 http://security.ubuntu.com/ubuntu plucky-security/main amd64 Packages [217 kB]
- Get:7 http://archive.ubuntu.com/ubuntu plucky-updates/universe amd64 Packages [231 kB]
- Get:8 http://security.ubuntu.com/ubuntu plucky-security/restricted amd64 Packages [163 kB]
- Get:9 http://archive.ubuntu.com/ubuntu plucky-updates/main amd64 Packages [333 kB]
- Get:10 http://archive.ubuntu.com/ubuntu plucky-updates/restricted amd64 Packages [181 kB]
- Fetched 1632 kB in 0s (6867 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.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.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-07-31 09:51.15 ---> saved as "73ad4a81f0651e0d7296996c61eeff8d631d09ddd7022f8f98e2004589326d94"


/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.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.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.19.1
- 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.36.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.36.0  (cached)
-> retrieved dune.3.19.1  (cached)
-> installed ocamlfind.1.9.8
-> installed dune.3.19.1
-> installed ppx_derivers.1.2.1
-> installed stdlib-shims.0.3.0
-> installed sexplib0.v0.17.0
-> installed ocaml-compiler-libs.v0.17.0
-> installed cppo.1.8.0
-> installed yojson.3.0.0
-> installed ounit2.2.2.7
-> installed ppxlib.0.36.0
-> installed ppx_deriving.6.1.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-07-31 09:52.50 ---> saved as "86b41707067c7bd8e515bd819f353fb93119bacee0697fb1cd4587c5457587aa"


/src: (copy (src .) (dst /src))
2025-07-31 09:52.50 ---> saved as "d1f4fc43168813fdc048b9101c461e2467157cf84012b986c6b773e2253c48ff"


/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: 6.88 seconds.
OK
2025-07-31 09:53.03 ---> saved as "1308a585b5b15595e6cbac19c631f2f9c53c237a1119a54a384682847861a175"
Job succeeded
2025-07-31 09:53.03: Job succeeded