Organisationsocaml-ppxppx_deriving_yojson0a2574 ()ubuntu-24.10-4.14_opam-2.3

ubuntu-24.10-4.14_opam-2.3

Logs

Show full 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-x86_64:ubuntu-24.10-4.14_opam-2.3)
Base: ocaml/opam:ubuntu-24.10-ocaml-4.14@sha256:7ff598f88846325fa04b81f1c3c12ade09f1f3dc7268e1dc0318df571d406cd0
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:ubuntu-24.10-ocaml-4.14@sha256:7ff598f88846325fa04b81f1c3c12ade09f1f3dc7268e1dc0318df571d406cd0
# ubuntu-24.10-4.14_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 12:18.28: Using cache hint "ocaml-ppx/ppx_deriving_yojson-ocaml/opam:ubuntu-24.10-ocaml-4.14@sha256:7ff598f88846325fa04b81f1c3c12ade09f1f3dc7268e1dc0318df571d406cd0-ubuntu-24.10-4.14_opam-2.3-39ba17401e76f4fa51ac2d65b6d73808"
2025-03-21 12:18.28: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.10-ocaml-4.14@sha256:7ff598f88846325fa04b81f1c3c12ade09f1f3dc7268e1dc0318df571d406cd0)
 (comment ubuntu-24.10-4.14_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 12:18.28: Waiting for resource in pool OCluster
2025-03-21 12:18.28: Waiting for worker…
2025-03-21 12:19.25: Got resource from pool OCluster
Building on x86-bm-c7.sw.ocaml.org
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:ubuntu-24.10-ocaml-4.14@sha256:7ff598f88846325fa04b81f1c3c12ade09f1f3dc7268e1dc0318df571d406cd0)
Unable to find image 'ocaml/opam:ubuntu-24.10-ocaml-4.14@sha256:7ff598f88846325fa04b81f1c3c12ade09f1f3dc7268e1dc0318df571d406cd0' locally
docker.io/ocaml/opam@sha256:7ff598f88846325fa04b81f1c3c12ade09f1f3dc7268e1dc0318df571d406cd0: Pulling from ocaml/opam
66d5cc01118a: Pulling fs layer
b08d2b25797e: Pulling fs layer
7f316ebab83d: Pulling fs layer
4afd441860c6: Pulling fs layer
978ff824f19e: Pulling fs layer
7f316ebab83d: Waiting
554ff85afde4: Pulling fs layer
4afd441860c6: Waiting
978ff824f19e: Waiting
554ff85afde4: Waiting
b08d2b25797e: Verifying Checksum
b08d2b25797e: Download complete
4afd441860c6: Verifying Checksum
4afd441860c6: Download complete
978ff824f19e: Download complete
554ff85afde4: Verifying Checksum
554ff85afde4: Download complete
7f316ebab83d: Verifying Checksum
7f316ebab83d: Download complete
66d5cc01118a: Verifying Checksum
66d5cc01118a: Download complete
66d5cc01118a: Pull complete
b08d2b25797e: Pull complete
7f316ebab83d: Pull complete
4afd441860c6: Pull complete
978ff824f19e: Pull complete
554ff85afde4: Pull complete
Digest: sha256:7ff598f88846325fa04b81f1c3c12ade09f1f3dc7268e1dc0318df571d406cd0
Status: Downloaded newer image for ocaml/opam@sha256:7ff598f88846325fa04b81f1c3c12ade09f1f3dc7268e1dc0318df571d406cd0
2025-03-21 12:19.27 ---> using "f870553c4f64492ca7dd954962a36f87b29167099bf71fae9af12ec8b5a4e6f6" from cache

/: (comment ubuntu-24.10-4.14_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 12:19.27 ---> using "91b01504a311c652214a5aa8fdb12fc8e20f087fc10e7d7a32adcff1bcaa9309" 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:19.27 ---> using "9b4d50469c1ccd2745a9b7cac105fdb9a5e1f3c0d669059e992b451204319943" 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 12:19.27 ---> using "dbd85c52e0f15ac09bc876e12af14b415b3fb7c7ca6ab1f04a971822adf1f048" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-03-21 12:19.27 ---> using "17f259275aed59811fe877fe9b23b7b7cd51c99a07e49b91631b23580c90c8ff" 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..6cf83229dd  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:19.27 ---> using "384f650143b655b379a9d41408bff4eeb2cd4d4746fe35b3d319a78817af218d" from cache

/src: (copy (src ppx_deriving_yojson.opam) (dst ./))
2025-03-21 12:19.27 ---> using "546002680502db6748d916aaa000872b88f6f3d350eb637bca2b5ce53836abba" 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:19.27 ---> using "628ceb291d5a56fe9cc3820255d52dca850268ffc63d9ac37ada665ab26ce3f6" from cache

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

/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://security.ubuntu.com/ubuntu oracular-security InRelease [126 kB]
- Hit:2 http://archive.ubuntu.com/ubuntu oracular InRelease
- Get:3 http://archive.ubuntu.com/ubuntu oracular-updates InRelease [126 kB]
- Get:4 http://archive.ubuntu.com/ubuntu oracular-backports InRelease [126 kB]
- Get:5 http://security.ubuntu.com/ubuntu oracular-security/universe amd64 Packages [191 kB]
- Get:6 http://security.ubuntu.com/ubuntu oracular-security/main amd64 Packages [300 kB]
- Get:7 http://archive.ubuntu.com/ubuntu oracular-updates/main amd64 Packages [421 kB]
- Get:8 http://archive.ubuntu.com/ubuntu oracular-updates/universe amd64 Packages [259 kB]
- Fetched 1549 kB in 1s (2413 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 12:19.27 ---> using "5547170cd5ece5e3384d896b27903537e88053a536543db9e4e006322aad3496" 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-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.17.2
  - 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              2.2.2

<><> 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.2.2.2  (cached)
-> retrieved ppxlib.0.36.0  (cached)
-> retrieved dune.3.17.2  (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.17.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed cppo.1.8.0
-> installed ounit2.2.2.7
-> installed yojson.2.2.2
-> 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:19.27 ---> using "75c69a821babb935a37c31adff698a48d2dc8917ddb5a33fa40a330c9146735f" from cache

/src: (copy (src .) (dst /src))
2025-03-21 12:19.27 ---> using "3680e3dc98fad256f5885b27306207113a94270b195b9fce4fea73f5b5971754" 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: 2.85 seconds.
OK
2025-03-21 12:19.27 ---> using "31a81f6c4d15d56e26a01efa8f5c123d571d1453564de4b9370af898659e2949" from cache
Job succeeded
2025-03-21 12:19.27: Job succeeded