2024-11-19 18:55.10: New job: test ocaml-ppx/ppx_deriving_yojson https://github.com/ocaml-ppx/ppx_deriving_yojson.git#refs/heads/master (5c073f127a275a1332f791b6f7e0cfe047ed3ec2) (linux-x86_64:ubuntu-24.10-5.2_opam-2.3)
Base: ocaml/opam:ubuntu-24.10-ocaml-5.2@sha256:0bdcf324f9e892d0d376a861b56009c69e6420cbbc89f74fe0cbe01dbd391f57
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 5c073f12
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.10-ocaml-5.2@sha256:0bdcf324f9e892d0d376a861b56009c69e6420cbbc89f74fe0cbe01dbd391f57
# ubuntu-24.10-5.2_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 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a || git fetch origin master) && git reset -q --hard 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a && 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 './'
ENV DEPS="base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base cppo.1.7.0 dune.3.16.1 host-arch-x86_64.1 host-system-other.1 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.6 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.0.3 ppxlib.0.33.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
2024-11-19 18:55.10: Using cache hint "ocaml-ppx/ppx_deriving_yojson-ocaml/opam:ubuntu-24.10-ocaml-5.2@sha256:0bdcf324f9e892d0d376a861b56009c69e6420cbbc89f74fe0cbe01dbd391f57-ubuntu-24.10-5.2_opam-2.3-448c0b194ba36629f03f3e6e7e293e03"
2024-11-19 18:55.10: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.10-ocaml-5.2@sha256:0bdcf324f9e892d0d376a861b56009c69e6420cbbc89f74fe0cbe01dbd391f57)
(comment ubuntu-24.10-5.2_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 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a || git fetch origin master) && git reset -q --hard 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a && 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 './'"))
(env DEPS "base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base cppo.1.7.0 dune.3.16.1 host-arch-x86_64.1 host-system-other.1 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.6 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.0.3 ppxlib.0.33.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"))
)
2024-11-19 18:55.10: Waiting for resource in pool OCluster
2024-11-19 21:19.55: Waiting for worker…
2024-11-19 21:23.42: Got resource from pool OCluster
Building on x86-bm-c3.sw.ocaml.org
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty Git repository in /var/cache/obuilder/ocluster/git/ppx_deriving_yojson.git-62ad71e24375dc0302a06acfff5434faebefd03f/.git/
HEAD is now at 5c073f1 Switch changelog back to dev mode
(from ocaml/opam:ubuntu-24.10-ocaml-5.2@sha256:0bdcf324f9e892d0d376a861b56009c69e6420cbbc89f74fe0cbe01dbd391f57)
2024-11-19 21:23.42 ---> using "bd7c50b006915a482b05aeed7ef02be578097c5b8ea370ad160a90100bd05d12" from cache
/: (comment ubuntu-24.10-5.2_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"))
2024-11-19 21:23.42 ---> using "a537ce9d5838806d470e962f1edfb730ae80a6ee0dfbbb929846d56570739ed6" 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] synchronised from file:///home/opam/opam-repository
2024-11-19 21:23.42 ---> using "6e44eb40c2ee68a5b11c6fa6537a9d18bcecc39042b4b8f6febdf94bba829911" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-125-generic
The OCaml toplevel, version 5.2.0
2.3.0~rc1
2024-11-19 21:23.42 ---> using "68b4d09dfc98e17696c96a195dd7ec4f364f3d7a3c36d1a026aff98465c8f0d9" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-11-19 21:23.42 ---> using "ce3548f7cbbe538644159a6e4f889ac2b510d7cca3a4477dd4db912ede8939ab" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a || git fetch origin master) && git reset -q --hard 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a && git log --no-decorate -n1 --oneline && opam update -u"))
371a52f4a8 Merge pull request #26816 from maiste/release-dune-3.16.1
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[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)
2024-11-19 21:23.42 ---> using "e09ec90b92e6d47efbb0726f1868a5f868292d22a72c8586ff0bf1939fd63036" from cache
/src: (copy (src ppx_deriving_yojson.opam) (dst ./))
2024-11-19 21:23.43 ---> saved as "88e75df9717cb429beb66e3fa2aad6275a60469c7a0e33342837aeb387ad8fad"
/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)
2024-11-19 21:23.45 ---> saved as "41d716039b9130c6f39a47bba954066adf9f7fad917f638058cdea08c9ae0cc8"
/src: (env DEPS "base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base cppo.1.7.0 dune.3.16.1 host-arch-x86_64.1 host-system-other.1 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.6 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.0.3 ppxlib.0.33.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]
- Get:2 http://security.ubuntu.com/ubuntu oracular-security/universe amd64 Packages [29.3 kB]
- Hit:3 http://archive.ubuntu.com/ubuntu oracular InRelease
- Get:4 http://security.ubuntu.com/ubuntu oracular-security/main amd64 Packages [36.5 kB]
- Get:5 http://archive.ubuntu.com/ubuntu oracular-updates InRelease [126 kB]
- Get:6 http://archive.ubuntu.com/ubuntu oracular-backports InRelease [126 kB]
- Get:7 http://archive.ubuntu.com/ubuntu oracular-updates/universe amd64 Packages [41.8 kB]
- Get:8 http://archive.ubuntu.com/ubuntu oracular-updates/main amd64 Packages [96.0 kB]
- Fetched 582 kB in 1s (734 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ppx_deriving_yojson.dev] synchronised (no changes)
[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-base-compiler is already installed (current version is 5.2.0).
[NOTE] Package ocaml is already installed (current version is 5.2.0).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[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-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
2024-11-19 21:24.10 ---> saved as "080b294092951fdb9eb650ad6cf788af979fb1e4cbd54fd9c7b0bb7bb067e6a5"
/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-base-compiler is already installed (current version is 5.2.0).
[NOTE] Package ocaml is already installed (current version is 5.2.0).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[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-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.7.0
- install dune 3.16.1
- install ocaml-compiler-libs v0.17.0
- install ocamlfind 1.9.6
- install ounit2 2.2.7
- install ppx_derivers 1.2.1
- install ppx_deriving 6.0.3
- install ppxlib 0.33.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.7.0 (cached)
-> retrieved ocaml-compiler-libs.v0.17.0 (cached)
-> retrieved ocamlfind.1.9.6 (cached)
-> retrieved ounit2.2.2.7 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ppx_deriving.6.0.3 (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.33.0 (cached)
-> retrieved dune.3.16.1 (cached)
-> installed ocamlfind.1.9.6
-> installed dune.3.16.1
-> installed ppx_derivers.1.2.1
-> installed stdlib-shims.0.3.0
-> installed sexplib0.v0.17.0
-> installed cppo.1.7.0
-> installed ocaml-compiler-libs.v0.17.0
-> installed ounit2.2.2.7
-> installed yojson.2.2.2
-> installed ppxlib.0.33.0
-> installed ppx_deriving.6.0.3
Done.
# To update the current shell environment, run: eval $(opam env)
2024-11-19 21:25.25 ---> saved as "b214fc435cb3bc7c941f20188e4115dd75cdfabf0d4d01ea8c9c8fc167ebdeca"
/src: (copy (src .) (dst /src))
2024-11-19 21:25.25 ---> saved as "33b0e52676e8d6eead48e7a7e9bf15b5e1ca87af52d72832ec0f2c1c1592a672"
/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: 3.48 seconds.
OK
2024-11-19 21:25.34 ---> saved as "717f58229585e7ab173b13ce2359a2084a8ca0781e81fb438f7262b4838b542e"
Job succeeded
2024-11-19 21:25.35: Job succeeded