Organisationsocaml-ppxppx_deriving_yojson0a2574 ()debian-12-5.3_arm32_opam-2.3

debian-12-5.3_arm32_opam-2.3

Link Copied
Code Copied

Logs

2025-03-21 12:18.28: New job: test ocaml-ppx/ppx_deriving_yojson https://github.com/ocaml-ppx/ppx_deriving_yojson.git#refs/heads/master (0a25740298f1cbbcafca1befd684dab868ce2812) (linux-arm64:debian-12-5.3_arm32_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-5.3@sha256:38b5b3209a8ac3180cc408e0506c94ae7284c64e30589eba972e7b49244abe28
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 0a257402
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.3@sha256:38b5b3209a8ac3180cc408e0506c94ae7284c64e30589eba972e7b49244abe28
# debian-12-5.3_arm32_opam-2.3
USER 1000:1000
SHELL [ "/usr/bin/linux32", "/bin/sh", "-c" ]
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 8d19977bcd20607919a25e688e963280f2746425 || git fetch origin master) && git reset -q --hard 8d19977bcd20607919a25e688e963280f2746425 && 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.17.2 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-option-bytecode-only.1 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.16.0 stdlib-shims.0.3.0 yojson.2.2.2"
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-03-21 12:18.28: Using cache hint "ocaml-ppx/ppx_deriving_yojson-ocaml/opam:debian-12-ocaml-5.3@sha256:38b5b3209a8ac3180cc408e0506c94ae7284c64e30589eba972e7b49244abe28-debian-12-5.3_arm32_opam-2.3-7376cd97e6fedd7568f530c13af6b464"
2025-03-21 12:18.28: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3@sha256:38b5b3209a8ac3180cc408e0506c94ae7284c64e30589eba972e7b49244abe28)
(comment debian-12-5.3_arm32_opam-2.3)
(user (uid 1000) (gid 1000))
(shell /usr/bin/linux32 /bin/sh -c)
(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 8d19977bcd20607919a25e688e963280f2746425 || git fetch origin master) && git reset -q --hard 8d19977bcd20607919a25e688e963280f2746425 && 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.17.2 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-option-bytecode-only.1 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.16.0 stdlib-shims.0.3.0 yojson.2.2.2")
(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-03-21 12:18.28: Waiting for resource in pool OCluster
2025-03-21 12:18.28: Waiting for worker…
2025-03-21 12:18.28: Got resource from pool OCluster
Building on molpadia.caelum.ci.dev
HEAD is now at c711494 Fix remaining Ptyp_poly ([], ...) node gen
HEAD is now at 0a25740 Merge pull request #160 from patricoferris/5.2-ast-bump


(from ocaml/opam:debian-12-ocaml-5.3@sha256:38b5b3209a8ac3180cc408e0506c94ae7284c64e30589eba972e7b49244abe28)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.3@sha256:38b5b3209a8ac3180cc408e0506c94ae7284c64e30589eba972e7b49244abe28' locally
docker.io/ocaml/opam@sha256:38b5b3209a8ac3180cc408e0506c94ae7284c64e30589eba972e7b49244abe28: Pulling from ocaml/opam
Digest: sha256:38b5b3209a8ac3180cc408e0506c94ae7284c64e30589eba972e7b49244abe28
Status: Downloaded newer image for ocaml/opam@sha256:38b5b3209a8ac3180cc408e0506c94ae7284c64e30589eba972e7b49244abe28
WARNING: The requested image's platform (linux/arm/v7) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
2025-03-21 12:18.29 ---> using "0cf58097a197ad8d6720c3c1ac4cdf01bb2aef8877063abd54d4315939af0450" from cache


/: (comment debian-12-5.3_arm32_opam-2.3)


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


/: (shell /usr/bin/linux32 /bin/sh -c)


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-03-21 12:18.29 ---> using "8b195f4aea893391f535952171e3d2909dfe5fff2cda153fa8f9f66412d15dce" 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] Could not update repository "opam-repository-archive": "/usr/bin/git fetch -q" exited with code 128 "fatal: unable to access 'https://github.com/ocaml/opam-repository-archive/': Could not resolve host: github.com"
[default] synchronised from file:///home/opam/opam-repository
2025-03-21 12:18.29 ---> using "f057129c8aa70b62a336b420c12b2ee176065dcf8555ee4cd5519d510c67e4ef" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 5.3.0
2.3.0
2025-03-21 12:18.29 ---> using "395d416fef7b7ac52f25dfe0b6b16e390c68eba1c061e0dbd8788a3364db692b" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-03-21 12:18.29 ---> using "546a9447afbd6d734dd4fa81dd5366fe14e3d37fecfaf91ea2e68e54a7d80a83" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 8d19977bcd20607919a25e688e963280f2746425 || git fetch origin master) && git reset -q --hard 8d19977bcd20607919a25e688e963280f2746425 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
862a7640b1..8d19977bcd  master     -> origin/master
8d19977bcd Release ppx_deriving.6.1.0 (#27621)


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] synchronised from git+https://github.com/ocaml/opam-repository-archive
[default] synchronised from 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-03-21 12:18.29 ---> using "6b5cf2edde2a2b57275020e07b70db0f0665a8324a36f31d24b47e9358066572" from cache


/src: (copy (src ppx_deriving_yojson.opam) (dst ./))
2025-03-21 12:18.29 ---> using "f884628f2cabb3341369d5158df84296f14547e445a2964e6ce7423e8f267fb9" from cache


/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-03-21 12:18.29 ---> using "c1dfc25e3a0303bd60294ac965f200b9b36310ed3cac7c2c3b16f191b1451f4a" from cache


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-03-21 12:18.29 ---> using "fc49ed9635bd23bac46b44373e5e6a33dc68a5b3a2ac450b3a5d109602b3799d" from cache


/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.17.2 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-option-bytecode-only.1 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.16.0 stdlib-shims.0.3.0 yojson.2.2.2")


/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"
- Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
- 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 bookworm/main armhf Packages [8507 kB]
- Get:5 http://deb.debian.org/debian-security bookworm-security/main armhf Packages [230 kB]
- Fetched 8991 kB in 3s (3587 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-option-bytecode-only 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-03-21 12:18.29 ---> using "8ec3f88ddd68b642a839f417388fe9358883f3ae989ec7beadbba4feff647459" from cache


/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-option-bytecode-only 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.17.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.0
- install ppxlib              0.36.0
- install seq                 base
- install sexplib0            v0.16.0
- install stdlib-shims        0.3.0
- install yojson              2.2.2


<><> 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.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved sexplib0.v0.16.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved yojson.2.2.2  (cached)
-> retrieved dune.3.17.2  (cached)
-> retrieved ppxlib.0.36.0  (cached)
-> installed ocamlfind.1.9.8
-> installed dune.3.17.2
-> installed ppx_derivers.1.2.1
-> installed stdlib-shims.0.3.0
-> installed sexplib0.v0.16.0
-> installed ounit2.2.2.7
-> installed cppo.1.8.0
-> installed yojson.2.2.2
-> installed ocaml-compiler-libs.v0.17.0
-> installed ppxlib.0.36.0
-> installed ppx_deriving.6.1.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-03-21 12:18.29 ---> using "917ea3572cbcf0f018600545742cc5fe453a784038f7bbd0f18f3d9e8b9da306" from cache


/src: (copy (src .) (dst /src))
2025-03-21 12:18.29 ---> using "1b3dc600776994d2134c6a673fc3821fb2a8eccb26c375528b65e9f4e18c18c0" from cache


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/src_test && ./test_ppx_yojson.exe)
.................................
Ran: 33 tests in: 14.57 seconds.
OK
2025-03-21 12:18.29 ---> using "297c2e94cd6dcdb2780cd3b2fac871798f2cc81cfcfdbf00b96946fd986df15a" from cache
Job succeeded
2025-03-21 12:18.30: Job succeeded