Organisationsocaml-ppxppx_deriving_yojsondb2292 ()debian-12-4.14_arm64_opam-2.3

debian-12-4.14_arm64_opam-2.3

Logs

Show full logs
2025-03-21 15:49.55: New job: test ocaml-ppx/ppx_deriving_yojson https://github.com/ocaml-ppx/ppx_deriving_yojson.git#refs/heads/master (db2292ec44646fcb822fa11ac42d0bc5c914a0df) (linux-arm64:debian-12-4.14_arm64_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-4.14@sha256:1e4751b2442848f12ba68835d69fa1d0d24d9fec34ae1d975bafa42e29fe79bb
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 db2292ec
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:1e4751b2442848f12ba68835d69fa1d0d24d9fec34ae1d975bafa42e29fe79bb
# debian-12-4.14_arm64_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 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-threads.base base-unix.base cppo.1.8.0 dune.3.17.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.0 ppxlib.0.36.0 seq.base sexplib0.v0.17.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 15:49.55: Using cache hint "ocaml-ppx/ppx_deriving_yojson-ocaml/opam:debian-12-ocaml-4.14@sha256:1e4751b2442848f12ba68835d69fa1d0d24d9fec34ae1d975bafa42e29fe79bb-debian-12-4.14_arm64_opam-2.3-39ba17401e76f4fa51ac2d65b6d73808"
2025-03-21 15:49.55: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:1e4751b2442848f12ba68835d69fa1d0d24d9fec34ae1d975bafa42e29fe79bb)
 (comment debian-12-4.14_arm64_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 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-threads.base base-unix.base cppo.1.8.0 dune.3.17.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.0 ppxlib.0.36.0 seq.base sexplib0.v0.17.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 15:49.55: Waiting for resource in pool OCluster
2025-03-21 15:49.55: Waiting for worker…
2025-03-21 15:49.55: Got resource from pool OCluster
Building on okypous.caelum.ci.dev
HEAD is now at 0a25740 Merge pull request #160 from patricoferris/5.2-ast-bump
HEAD is now at db2292e Update ppx_deriving lower bound

(from ocaml/opam:debian-12-ocaml-4.14@sha256:1e4751b2442848f12ba68835d69fa1d0d24d9fec34ae1d975bafa42e29fe79bb)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14@sha256:1e4751b2442848f12ba68835d69fa1d0d24d9fec34ae1d975bafa42e29fe79bb' locally
docker.io/ocaml/opam@sha256:1e4751b2442848f12ba68835d69fa1d0d24d9fec34ae1d975bafa42e29fe79bb: Pulling from ocaml/opam
d7aa96ae846f: Pulling fs layer
eed031e82c9a: Pulling fs layer
6f4884fe97e0: Pulling fs layer
327048d59589: Pulling fs layer
1b19a27017a1: Pulling fs layer
b64da776b208: Pulling fs layer
b64da776b208: Waiting
1b19a27017a1: Waiting
327048d59589: Waiting
eed031e82c9a: Verifying Checksum
eed031e82c9a: Download complete
327048d59589: Download complete
1b19a27017a1: Verifying Checksum
1b19a27017a1: Download complete
b64da776b208: Verifying Checksum
b64da776b208: Download complete
6f4884fe97e0: Verifying Checksum
6f4884fe97e0: Download complete
d7aa96ae846f: Verifying Checksum
d7aa96ae846f: Download complete
d7aa96ae846f: Pull complete
eed031e82c9a: Pull complete
6f4884fe97e0: Pull complete
327048d59589: Pull complete
1b19a27017a1: Pull complete
b64da776b208: Pull complete
Digest: sha256:1e4751b2442848f12ba68835d69fa1d0d24d9fec34ae1d975bafa42e29fe79bb
Status: Downloaded newer image for ocaml/opam@sha256:1e4751b2442848f12ba68835d69fa1d0d24d9fec34ae1d975bafa42e29fe79bb
2025-03-21 15:49.56 ---> using "94fbe0a682f8a0bf34f691755615aaaa4483955aad0132d6f4195d0e0647fd6b" from cache

/: (comment debian-12-4.14_arm64_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-03-21 15:49.56 ---> using "3d4abbca60bd9f9998e88cfb654e40a03d4cc204f8b28b6546e12658d3ed47e6" 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 15:49.56 ---> using "1109bc2b41a7a8503eef6c741bfb1e9dd51e5584d5abe2d71846e76d70bdaf1f" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-03-21 15:49.56 ---> using "07a945f229188e7c16984f68ea74f81bb05e02cc6ae78f1d14cdc1aa51079b93" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-03-21 15:49.56 ---> using "991847a9f58d7b5cf98e650814457cbb223f249a377267f6b880be781489c93a" 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
   a8ed476033..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 15:49.56 ---> using "232d7ba6e6ff3285d7b467263b607d279897c90a9ccf6f4054c0092888dc58c4" from cache

/src: (copy (src ppx_deriving_yojson.opam) (dst ./))
2025-03-21 15:49.56 ---> saved as "781e9f95def527bd5aa5853ecbc4d25db2926016c29c7ea0753f85bca26a58a5"

/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 15:49.59 ---> saved as "cc6859e15b68786c5330311f31429b3b68d8d4f6392f5d388e56225249ab435e"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-03-21 15:49.59 ---> saved as "eed6de98d6a846ea55ebc954270ed4c20174246b6289f25e4fb9d6f26a1f20d3"

/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base cppo.1.8.0 dune.3.17.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.0 ppxlib.0.36.0 seq.base sexplib0.v0.17.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 arm64 Packages [8692 kB]
- Get:5 http://deb.debian.org/debian-security bookworm-security/main arm64 Packages [245 kB]
- Fetched 9191 kB in 2s (6114 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-03-21 15:50.13 ---> saved as "0bf723cedb5f98567cf183e0b83dc46978fc0f470559bfd7dbecf3c2a47dc6fc"

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam install $DEPS"))
2025-03-21 15:50.15: Cancelling: Auto-cancelling job because it is no longer needed
[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).
Job cancelled