Organisationsocaml-duneppx_deriving_dynbacf84 (main)debian-12-4.13_opam-2.3

debian-12-4.13_opam-2.3

Link Copied
Code Copied

Logs

2025-01-18 18:27.17: New job: test ocaml-dune/ppx_deriving_dyn https://github.com/ocaml-dune/ppx_deriving_dyn.git#refs/heads/main (bacf84896c3924f4858e40b11acc1a6c16d2ac75) (linux-x86_64:debian-12-4.13_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-4.13@sha256:4990a3dd64b41f8b4dffb53846152e2521d3acfc19986faacd875e322b906947
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ocaml-dune/ppx_deriving_dyn.git" -b "main" && cd "ppx_deriving_dyn" && git reset --hard bacf8489
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.13@sha256:4990a3dd64b41f8b4dffb53846152e2521d3acfc19986faacd875e322b906947
# debian-12-4.13_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 85e5d991b8369d632f5b367be8b432341e488f88 || git fetch origin master) && git reset -q --hard 85e5d991b8369d632f5b367be8b432341e488f88 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 ppx_deriving_dyn.opam ./
RUN opam pin add -yn ppx_deriving_dyn.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-threads.base base-unix.base dune.3.17.1 dyn.3.17.1 host-arch-x86_64.1 host-system-other.1 ocaml.4.13.1 ocaml-base-compiler.4.13.1 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ordering.3.17.1 pp.2.0.0 ppx_derivers.1.2.1 ppxlib.0.34.0 sexplib0.v0.16.0 stdlib-shims.0.3.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y ppx_deriving_dyn.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-01-18 18:27.17: Using cache hint "ocaml-dune/ppx_deriving_dyn-ocaml/opam:debian-12-ocaml-4.13@sha256:4990a3dd64b41f8b4dffb53846152e2521d3acfc19986faacd875e322b906947-debian-12-4.13_opam-2.3-fa7bf3d95a55ac3cb06c16c71bd8fe8f"
2025-01-18 18:27.17: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.13@sha256:4990a3dd64b41f8b4dffb53846152e2521d3acfc19986faacd875e322b906947)
(comment debian-12-4.13_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 85e5d991b8369d632f5b367be8b432341e488f88 || git fetch origin master) && git reset -q --hard 85e5d991b8369d632f5b367be8b432341e488f88 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src ppx_deriving_dyn.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn ppx_deriving_dyn.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base-bigarray.base base-threads.base base-unix.base dune.3.17.1 dyn.3.17.1 host-arch-x86_64.1 host-system-other.1 ocaml.4.13.1 ocaml-base-compiler.4.13.1 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ordering.3.17.1 pp.2.0.0 ppx_derivers.1.2.1 ppxlib.0.34.0 sexplib0.v0.16.0 stdlib-shims.0.3.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_dyn.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-01-18 18:27.17: Waiting for resource in pool OCluster
2025-01-18 19:55.44: Waiting for worker…
2025-01-18 19:58.01: Got resource from pool OCluster
Building on x86-bm-c2.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_dyn.git-ec98f56f6389282fb50aacb4d3509d8f836a7ace/.git/
HEAD is now at bacf848 Merge pull request #6 from NathanReb/support-mutually-rec-types


(from ocaml/opam:debian-12-ocaml-4.13@sha256:4990a3dd64b41f8b4dffb53846152e2521d3acfc19986faacd875e322b906947)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.13@sha256:4990a3dd64b41f8b4dffb53846152e2521d3acfc19986faacd875e322b906947' locally
docker.io/ocaml/opam@sha256:4990a3dd64b41f8b4dffb53846152e2521d3acfc19986faacd875e322b906947: Pulling from ocaml/opam
292a29a75fb1: Pulling fs layer
292a29a75fb1: Verifying Checksum
292a29a75fb1: Download complete
292a29a75fb1: Pull complete
Digest: sha256:4990a3dd64b41f8b4dffb53846152e2521d3acfc19986faacd875e322b906947
Status: Downloaded newer image for ocaml/opam@sha256:4990a3dd64b41f8b4dffb53846152e2521d3acfc19986faacd875e322b906947
2025-01-18 19:58.02 ---> using "6f3e998551bbeb988908553d51157518bbd09e6e72ebd8c289084576d682c683" from cache


/: (comment debian-12-4.13_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-01-18 19:58.02 ---> using "9ab29ff9188f13b10cccd9d45a8b31b19ddc29360784b2c37e7c5b5110007d3a" 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] synchronised from file:///home/opam/opam-repository
2025-01-18 19:58.02 ---> using "af0c1a5c16e52e9a8a74bde7051758941985997a27856c3c117d52288b7824ea" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-130-generic
The OCaml toplevel, version 4.13.1
2.3.0
2025-01-18 19:58.02 ---> using "a69289717f17f35785653edec00a4154229e79458dd33e548abfc8a7c4f0ce67" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-01-18 19:58.02 ---> using "c99688228ae3d68d25d1b49e5c4c9d10a31ba809fe6bd34f8d0e9e1bcbb73be0" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 85e5d991b8369d632f5b367be8b432341e488f88 || git fetch origin master) && git reset -q --hard 85e5d991b8369d632f5b367be8b432341e488f88 && git log --no-decorate -n1 --oneline && opam update -u"))
85e5d991b8 Merge pull request #27251 from NathanReb/ppxlib-maintenance-intent


<><> 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)
2025-01-18 19:58.02 ---> using "25a1a68d241266b963bdd600139eb1549f0de8275817d1664554901d1e0132f1" from cache


/src: (copy (src ppx_deriving_dyn.opam) (dst ./))
2025-01-18 19:58.02 ---> saved as "0106e53bafdabf91a1b7e6f0c4680e4b3f566827ee8f0e19e4bebaf016ac54e9"


/src: (run (network host)
(shell "opam pin add -yn ppx_deriving_dyn.dev './'"))
Package ppx_deriving_dyn does not exist, create as a NEW package? [y/n] y
[ppx_deriving_dyn.dev] synchronised (file:///src)
ppx_deriving_dyn is now pinned to file:///src (version dev)
2025-01-18 19:58.05 ---> saved as "053001c3477cb384311e061fd295bfda7d964cd8743834ae41bcf6e86dd3f8ba"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-01-18 19:58.05 ---> saved as "6331652d6887f0a9715dc7f9679df30a2ad25baf9040d7a521c9b4af87ac77c9"


/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base dune.3.17.1 dyn.3.17.1 host-arch-x86_64.1 host-system-other.1 ocaml.4.13.1 ocaml-base-compiler.4.13.1 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ordering.3.17.1 pp.2.0.0 ppx_derivers.1.2.1 ppxlib.0.34.0 sexplib0.v0.16.0 stdlib-shims.0.3.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_dyn.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 amd64 Packages [241 kB]
- Fetched 344 kB in 0s (1237 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ppx_deriving_dyn.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.13.1).
[NOTE] Package ocaml is already installed (current version is 4.13.1).
[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-bigarray is already installed (current version is base).
2025-01-18 19:58.27 ---> saved as "32f975e6a5bf942b7770068e791cf634231782946d4fb2b4f5df8c39f3acb9c9"


/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.13.1).
[NOTE] Package ocaml is already installed (current version is 4.13.1).
[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-bigarray is already installed (current version is base).
The following actions will be performed:
=== install 9 packages
- install dune                3.17.1
- install dyn                 3.17.1
- install ocaml-compiler-libs v0.12.4
- install ordering            3.17.1
- install pp                  2.0.0
- install ppx_derivers        1.2.1
- install ppxlib              0.34.0
- install sexplib0            v0.16.0
- install stdlib-shims        0.3.0


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved pp.2.0.0  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved sexplib0.v0.16.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved ppxlib.0.34.0  (cached)
-> retrieved dune.3.17.1, dyn.3.17.1, ordering.3.17.1  (cached)
-> installed dune.3.17.1
-> installed ocaml-compiler-libs.v0.12.4
-> installed ppx_derivers.1.2.1
-> installed pp.2.0.0
-> installed stdlib-shims.0.3.0
-> installed sexplib0.v0.16.0
-> installed ordering.3.17.1
-> installed dyn.3.17.1
-> installed ppxlib.0.34.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-01-18 20:00.06 ---> saved as "c8b7ab0cd5ebd8149ceaa9e0c55df2177e35fcb326bb8b40995940aa6b66f185"


/src: (copy (src .) (dst /src))
2025-01-18 20:00.06 ---> saved as "537b05a4008f59c8d384fc71b1475b18771e8877b7fa4e8caebe12f6ff957237"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-01-18 20:00.10 ---> saved as "a94e05f6b2e98745955a489f49fcd901121396782b6c8cdd721266d5d2f08d0c"
Job succeeded
2025-01-18 20:00.10: Job succeeded