Organisationsocaml-ppxppx_deriving_yojson7898dd ()debian-12-4.14_ppc64_opam-2.3

debian-12-4.14_ppc64_opam-2.3

Link Copied
Code Copied

Logs

2025-06-27 12:28.12: New job: test ocaml-ppx/ppx_deriving_yojson https://github.com/ocaml-ppx/ppx_deriving_yojson.git#refs/pull/155/head (7898dda12c1b034fd27474b0139326a53b42eb0f) (linux-ppc64:debian-12-4.14_ppc64_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-4.14@sha256:a659b00a2a5f0962865a86106f008a7fe58a07092d808c52423ba23a7454fff2
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ocaml-ppx/ppx_deriving_yojson.git" && cd "ppx_deriving_yojson" && git fetch origin "refs/pull/155/head" && git reset --hard 7898dda1
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:a659b00a2a5f0962865a86106f008a7fe58a07092d808c52423ba23a7454fff2
# debian-12-4.14_ppc64_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 7210227672addfb4db789560e45923f54c0aeab1 || git fetch origin master) && git reset -q --hard 7210227672addfb4db789560e45923f54c0aeab1 && 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.19.1 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.0 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.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-06-27 12:28.12: Using cache hint "ocaml-ppx/ppx_deriving_yojson-ocaml/opam:debian-12-ocaml-4.14@sha256:a659b00a2a5f0962865a86106f008a7fe58a07092d808c52423ba23a7454fff2-debian-12-4.14_ppc64_opam-2.3-fddc94a685d6c23583ef04c06dea790d"
2025-06-27 12:28.12: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:a659b00a2a5f0962865a86106f008a7fe58a07092d808c52423ba23a7454fff2)
(comment debian-12-4.14_ppc64_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 7210227672addfb4db789560e45923f54c0aeab1 || git fetch origin master) && git reset -q --hard 7210227672addfb4db789560e45923f54c0aeab1 && 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.19.1 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.0 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.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-06-27 12:28.12: Waiting for resource in pool OCluster
2025-06-27 12:28.12: Waiting for worker…
2025-06-27 12:28.12: Got resource from pool OCluster
Building on scyleia.caelum.ci.dev
All commits already cached
HEAD is now at 7898dda Support alternative representations of variants


(from ocaml/opam:debian-12-ocaml-4.14@sha256:a659b00a2a5f0962865a86106f008a7fe58a07092d808c52423ba23a7454fff2)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14@sha256:a659b00a2a5f0962865a86106f008a7fe58a07092d808c52423ba23a7454fff2' locally
docker.io/ocaml/opam@sha256:a659b00a2a5f0962865a86106f008a7fe58a07092d808c52423ba23a7454fff2: Pulling from ocaml/opam
65d348c3abfb: Already exists
deedcd54200e: Already exists
07f7e443a3bd: Already exists
0111e65f0847: Already exists
a8ad06d271f3: Already exists
96b25cbcc4a3: Already exists
08234616b706: Already exists
3dd3a7b4e370: Already exists
25fbd4260824: Already exists
164c40a94dc2: Already exists
4f8e0b817022: Already exists
922f0be99302: Already exists
59bfef4e33de: Already exists
73ba29f87e8d: Already exists
025a79c3c441: Already exists
ee433e83068c: Already exists
ed54117e69be: Already exists
6c7c9904215b: Already exists
7a28ffbcadc0: Already exists
85197eeed740: Already exists
4f4fb700ef54: Already exists
9d160f186137: Already exists
91ad559d4e94: Already exists
c01dd5480ad1: Already exists
a90f54b7c22f: Already exists
3b6dc232f7a1: Already exists
beb8792bed3a: Already exists
107640ab09c0: Already exists
4c62795b8a9e: Already exists
14709272be1e: Already exists
f02f490fb831: Already exists
ded8b64fcb22: Already exists
b7c8e1e52965: Already exists
1c76a9ad20b0: Already exists
463cdce9bc7c: Already exists
53639db81755: Already exists
ec8d7e09e85f: Already exists
ce7ddd2c0b63: Already exists
3ab5426f59dd: Already exists
61033c49c2bb: Pulling fs layer
a9e925e8e5e2: Pulling fs layer
1bdcef67e998: Pulling fs layer
f41098025d35: Pulling fs layer
f41098025d35: Waiting
a9e925e8e5e2: Verifying Checksum
a9e925e8e5e2: Download complete
1bdcef67e998: Download complete
f41098025d35: Verifying Checksum
f41098025d35: Download complete
61033c49c2bb: Verifying Checksum
61033c49c2bb: Download complete
61033c49c2bb: Pull complete
a9e925e8e5e2: Pull complete
1bdcef67e998: Pull complete
f41098025d35: Pull complete
Digest: sha256:a659b00a2a5f0962865a86106f008a7fe58a07092d808c52423ba23a7454fff2
Status: Downloaded newer image for ocaml/opam@sha256:a659b00a2a5f0962865a86106f008a7fe58a07092d808c52423ba23a7454fff2
2025-06-27 12:28.12 ---> using "96c6b6d785153ed0cdbfb40596b44c3fa766b0ae593b80dbde0338b44a5d4dcc" from cache


/: (comment debian-12-4.14_ppc64_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-06-27 12:28.12 ---> using "8c1126dd27071e3556c6d3fcde16f5e1d1ed8f63a17bb1015baa75193a215c80" 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 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
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-06-27 12:28.12 ---> using "9559b61327c4b1915d419c68ecdb21f9c545ed21a8ef692a0e5d8a7f4a5d2588" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-60-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-06-27 12:28.12 ---> using "358cb04c4209cac8ce04f5565597e46ec3e0a3e4a047281dd53d3505cf537ee5" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-06-27 12:28.12 ---> using "6e1b4013ba63debadde66160e064162fbbf5126f67d35de82c7eef3e81b8541e" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 7210227672addfb4db789560e45923f54c0aeab1 || git fetch origin master) && git reset -q --hard 7210227672addfb4db789560e45923f54c0aeab1 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
c7269f729a..7210227672  master     -> origin/master
7210227672 Merge pull request #28100 from smuenzel/ppx-deriving-6.1.0-ocaml-5.4


<><> 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, 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-06-27 12:28.12 ---> using "956e6ab03e4601b3fab01f4037a6ba107626274df25428204fb8319e8daff339" from cache


/src: (copy (src ppx_deriving_yojson.opam) (dst ./))
2025-06-27 12:28.13 ---> saved as "5a793e34949fe7c211656fa43de52d4361839b11adab78a9ad628994ca7af7ee"


/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-06-27 12:28.15 ---> saved as "a449cb941750f5b60d350558fe1a5c40e97b4f796c65e09fa602bdf66a9eb33f"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-06-27 12:28.15 ---> saved as "ddc816a5d7aebc6a73d00b72c6fa5b44cf4b0c39f877a7d6e637ba1d3de3552b"


/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base cppo.1.8.0 dune.3.19.1 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.0 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.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 ppc64el Packages [258 kB]
- Fetched 361 kB in 0s (1071 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).
2025-06-27 12:28.26 ---> saved as "f8089cf6b5e6fa2e79f2c9c3340c35e1e58b1f96444e5a06f30728d1764e14ab"


/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.19.1
- 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.0
- 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.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.0  (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.12.4
-> installed cppo.1.8.0
-> installed ounit2.2.2.7
-> installed yojson.3.0.0
-> installed ppxlib.0.36.0
-> installed ppx_deriving.6.1.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-06-27 12:29.25 ---> saved as "5dfa6a80c438168c45cdb20fca27ba97f5fc19ba2e76af1c4e90e36f4ae11f58"


/src: (copy (src .) (dst /src))
2025-06-27 12:29.25 ---> saved as "6365f25282cb262abba6fad7d51134071756104fd80b86c4cacc4829657eb6ae"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/src_test && ./test_ppx_yojson.exe)
............................................
Ran: 44 tests in: 3.06 seconds.
OK
2025-06-27 12:29.33 ---> saved as "f5e660f8bbbd285bd95e023ed9aa878a02515e41a222f12087e5c98967a1fd70"
Job succeeded
2025-06-27 12:29.33: Job succeeded