Organisationsocaml-ppxppx_deriving5e66e7 ()ubuntu-24.04-4.14_opam-2.3

ubuntu-24.04-4.14_opam-2.3

Link Copied
Code Copied

Logs

2025-03-13 18:01.55: New job: test ocaml-ppx/ppx_deriving https://github.com/ocaml-ppx/ppx_deriving.git#refs/heads/master (5e66e7395bd86bb8ec84c52fb8c11fde0e8c5d4c) (linux-x86_64:ubuntu-24.04-4.14_opam-2.3)
Base: ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:639694be02a920f05d31f036d5f361981d8e3dfca8038105da439dc92b7d5d7d
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ocaml-ppx/ppx_deriving.git" -b "master" && cd "ppx_deriving" && git reset --hard 5e66e739
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:639694be02a920f05d31f036d5f361981d8e3dfca8038105da439dc92b7d5d7d
# ubuntu-24.04-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 06348888ceab6d4a0af165056f0adf0c5f2c9468 || git fetch origin master) && git reset -q --hard 06348888ceab6d4a0af165056f0adf0c5f2c9468 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 ppx_deriving.opam ./
RUN opam pin add -yn ppx_deriving.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 ppxlib.0.36.0 seq.base 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.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-13 18:01.55: Using cache hint "ocaml-ppx/ppx_deriving-ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:639694be02a920f05d31f036d5f361981d8e3dfca8038105da439dc92b7d5d7d-ubuntu-24.04-4.14_opam-2.3-51e3337ed77b76ca47e0a11a63b16a67"
2025-03-13 18:01.55: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:639694be02a920f05d31f036d5f361981d8e3dfca8038105da439dc92b7d5d7d)
(comment ubuntu-24.04-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 06348888ceab6d4a0af165056f0adf0c5f2c9468 || git fetch origin master) && git reset -q --hard 06348888ceab6d4a0af165056f0adf0c5f2c9468 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src ppx_deriving.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn ppx_deriving.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 ppxlib.0.36.0 seq.base 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.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-13 18:01.55: Waiting for resource in pool OCluster
2025-03-13 18:01.56: Waiting for worker…
2025-03-13 18:01.56: Got resource from pool OCluster
Building on x86-bm-c8.sw.ocaml.org
HEAD is now at 6ef0b0b Check Ptyp_poly for empty list
HEAD is now at 5e66e73 Merge pull request #294 from patricoferris/5.2-ast-bump


(from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:639694be02a920f05d31f036d5f361981d8e3dfca8038105da439dc92b7d5d7d)
Unable to find image 'ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:639694be02a920f05d31f036d5f361981d8e3dfca8038105da439dc92b7d5d7d' locally
docker.io/ocaml/opam@sha256:639694be02a920f05d31f036d5f361981d8e3dfca8038105da439dc92b7d5d7d: Pulling from ocaml/opam
1a48a3044b66: Pulling fs layer
1a48a3044b66: Download complete
1a48a3044b66: Pull complete
Digest: sha256:639694be02a920f05d31f036d5f361981d8e3dfca8038105da439dc92b7d5d7d
Status: Downloaded newer image for ocaml/opam@sha256:639694be02a920f05d31f036d5f361981d8e3dfca8038105da439dc92b7d5d7d
2025-03-13 18:04.40 ---> saved as "9d14893a201eb5fa858243b8a40c8dc4522866ab4d4ba531957812f05b1ecccc"


/: (comment ubuntu-24.04-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-13 18:04.40 ---> saved as "433249c5f3d9e6132d2dd50623b4abef6d0392266344ed1967cc9fe43afee6ea"


/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
[NOTE] The 'jobs' option was reset, its value was 255 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
opam option jobs=255 --global
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-13 18:06.07 ---> saved as "1d53373f3c28e4965a45ad787b7b57044365271a310ac91a4a335feb83691560"


/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-13 18:06.07 ---> saved as "625dd2c4246310a7ea601b170be4d6e82ebda44f5c224d11fb590f2f0ac91445"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-03-13 18:06.07 ---> saved as "e5aeafc1d3ac39543e09076eb0b2eff4a5806ec26ed4fdbb08b1829c9f24a90d"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 06348888ceab6d4a0af165056f0adf0c5f2c9468 || git fetch origin master) && git reset -q --hard 06348888ceab6d4a0af165056f0adf0c5f2c9468 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
94514fa0d0..906fb78ee2  master     -> origin/master
06348888ce Merge pull request #27478 from NathanReb/release-ppxlib-0.36.0


<><> 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-13 18:07.13 ---> saved as "ba7c8b20fb282dba7bb90efc4200363c5ef18eb6cb444fe7d08cdd815ed0dd27"


/src: (copy (src ppx_deriving.opam) (dst ./))
2025-03-13 18:07.13 ---> saved as "2ffaf2ff2c49aa3c85029dede6fc6780482e79203d6b992ae0a44e9dbf478d4f"


/src: (run (network host)
(shell "opam pin add -yn ppx_deriving.dev './'"))
[ppx_deriving.dev] synchronised (file:///src)
ppx_deriving is now pinned to file:///src (version dev)
2025-03-13 18:07.15 ---> saved as "a1b5163e48f3bce93ebc90a548917815ce8a5656d82e3ac909fa2164990c7b78"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-03-13 18:07.15 ---> saved as "f2081d3cead7a8c9b005359d15ed071aa840429a0acc28d92d0706724d125fe1"


/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 ppxlib.0.36.0 seq.base 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.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]
- Get:2 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [843 kB]
- Hit:3 http://archive.ubuntu.com/ubuntu noble InRelease
- Get:4 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [916 kB]
- Get:5 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [1057 kB]
- Get:6 http://security.ubuntu.com/ubuntu noble-security/multiverse amd64 Packages [34.0 kB]
- Get:7 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
- Get:8 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]
- Get:9 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [1347 kB]
- Get:10 http://archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 Packages [38.7 kB]
- Get:11 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [1167 kB]
- Get:12 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Packages [962 kB]
- Get:13 http://archive.ubuntu.com/ubuntu noble-backports/universe amd64 Packages [16.0 kB]
- Fetched 6759 kB in 1s (5262 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ppx_deriving.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-13 18:07.46 ---> saved as "abceec8a993e518135e1d7d4beb40625dd1e687f24cc5028da58c47cc65a9054"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
2025-03-13 18:07.48: Cancelling: Auto-cancelling job because it is no longer needed
Job cancelled