Organisationsocaml-duneppx_deriving_dynbacf84 (main)ubuntu-24.10-4.14_opam-2.3

ubuntu-24.10-4.14_opam-2.3

Logs

Show full logs
2025-01-18 18:28.14: New job: test ocaml-dune/ppx_deriving_dyn https://github.com/ocaml-dune/ppx_deriving_dyn.git#refs/heads/main (bacf84896c3924f4858e40b11acc1a6c16d2ac75) (linux-x86_64:ubuntu-24.10-4.14_opam-2.3)
Base: ocaml/opam:ubuntu-24.10-ocaml-4.14@sha256:cac7d5705f7cd84dd9a8cf56fa5ed2e72eb0ed05a5d95af2cfce09f542991692
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:ubuntu-24.10-ocaml-4.14@sha256:cac7d5705f7cd84dd9a8cf56fa5ed2e72eb0ed05a5d95af2cfce09f542991692
# 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 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.14.2 ocaml-base-compiler.4.14.2 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.17.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:28.14: Using cache hint "ocaml-dune/ppx_deriving_dyn-ocaml/opam:ubuntu-24.10-ocaml-4.14@sha256:cac7d5705f7cd84dd9a8cf56fa5ed2e72eb0ed05a5d95af2cfce09f542991692-ubuntu-24.10-4.14_opam-2.3-97be9d7f28e9f73b5099c65650cb9376"
2025-01-18 18:28.14: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.10-ocaml-4.14@sha256:cac7d5705f7cd84dd9a8cf56fa5ed2e72eb0ed05a5d95af2cfce09f542991692)
 (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 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.14.2 ocaml-base-compiler.4.14.2 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.17.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:28.14: Waiting for resource in pool OCluster
2025-01-18 20:54.23: Waiting for worker…
2025-01-18 20:56.52: Got resource from pool OCluster
Building on x86-bm-c8.sw.ocaml.org
All commits already cached
HEAD is now at bacf848 Merge pull request #6 from NathanReb/support-mutually-rec-types

(from ocaml/opam:ubuntu-24.10-ocaml-4.14@sha256:cac7d5705f7cd84dd9a8cf56fa5ed2e72eb0ed05a5d95af2cfce09f542991692)
Unable to find image 'ocaml/opam:ubuntu-24.10-ocaml-4.14@sha256:cac7d5705f7cd84dd9a8cf56fa5ed2e72eb0ed05a5d95af2cfce09f542991692' locally
docker.io/ocaml/opam@sha256:cac7d5705f7cd84dd9a8cf56fa5ed2e72eb0ed05a5d95af2cfce09f542991692: Pulling from ocaml/opam
e4914caac1c3: Pulling fs layer
e4914caac1c3: Verifying Checksum
e4914caac1c3: Download complete
e4914caac1c3: Pull complete
Digest: sha256:cac7d5705f7cd84dd9a8cf56fa5ed2e72eb0ed05a5d95af2cfce09f542991692
Status: Downloaded newer image for ocaml/opam@sha256:cac7d5705f7cd84dd9a8cf56fa5ed2e72eb0ed05a5d95af2cfce09f542991692
2025-01-18 20:56.53 ---> using "0c516b93aaa72158f9ad4389dca0e31b22be9e5ffc6e0a8d7aae38a355b1d5eb" 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-01-18 20:56.53 ---> using "4e9df5787f52f4f38bcdb0e3788349aa275be6b8c585e042cefea84ccb95b04c" 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 20:56.53 ---> using "7d40bbfc23f5e589041ecf70d9361a5d93a85df618c7521722b1decab58a7c65" from cache

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

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-01-18 20:56.53 ---> using "684dd922bf13aa0ec3557b0450c0da29f6196c3251700729902bd0e501d6d069" 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 20:56.53 ---> using "1130baa55546476018ea46b0d87f6025be539fa5ed8f360e3557cdaf69af7e8a" from cache

/src: (copy (src ppx_deriving_dyn.opam) (dst ./))
2025-01-18 20:56.53 ---> saved as "c93704aa31513accaf58de3559b7d6358a5453311b70dd638c89f9be748c1549"

/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 20:56.57 ---> saved as "e1ee7fe52688df5dce48ab8761f71754fbd94d044ac3b5bb930bcd1e8883fe90"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-01-18 20:56.57 ---> saved as "9e23c64e7bd103336695af51f0b17a06b899aa0b60fbb65bc70071cc7d38d3fe"

/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.14.2 ocaml-base-compiler.4.14.2 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.17.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://archive.ubuntu.com/ubuntu oracular InRelease
- Get:2 http://security.ubuntu.com/ubuntu oracular-security InRelease [126 kB]
- Get:3 http://archive.ubuntu.com/ubuntu oracular-updates InRelease [126 kB]
- Get:4 http://security.ubuntu.com/ubuntu oracular-security/main amd64 Packages [151 kB]
- Get:5 http://archive.ubuntu.com/ubuntu oracular-backports InRelease [126 kB]
- Get:6 http://archive.ubuntu.com/ubuntu oracular-updates/main amd64 Packages [273 kB]
- Get:7 http://security.ubuntu.com/ubuntu oracular-security/universe amd64 Packages [114 kB]
- Get:8 http://archive.ubuntu.com/ubuntu oracular-updates/universe amd64 Packages [166 kB]
- Fetched 1082 kB in 1s (1197 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.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[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 20:57.27 ---> saved as "839e66284d5f1b799867a3346d4a605ce67c30ce76b1383deb468079a406c0c6"

/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 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.17.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.17.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 ppx_derivers.1.2.1
-> installed ocaml-compiler-libs.v0.12.4
-> installed pp.2.0.0
-> installed stdlib-shims.0.3.0
-> installed sexplib0.v0.17.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:59.05 ---> saved as "f7f09d44177d7ba7a6901f45bb94f4d9e8ee016431ad38cb265a8785329c12e1"

/src: (copy (src .) (dst /src))
2025-01-18 20:59.05 ---> saved as "5f26716fae4285da0f6c5f1572ae38265739489caed0b0247c3fcf5f761b547d"

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