Organisationsocaml-ppxppxlib6426dc ()(lower-bound)

(lower-bound)

Link Copied
Code Copied

Logs

2025-03-03 09:51.09: New job: test ocaml-ppx/ppxlib https://github.com/ocaml-ppx/ppxlib.git#refs/pull/541/head (6426dc0d1a28c1f36363570773aac42291cf4c41) (linux-x86_64:(lower-bound))
Base: ocaml/opam:debian-12-ocaml-4.10@sha256:87bd425c45d35d14fc1af87c98e503e42a74d1f16acafe190a62a37c78168e12
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ocaml-ppx/ppxlib.git" && cd "ppxlib" && git fetch origin "refs/pull/541/head" && git reset --hard 6426dc0d
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.10@sha256:87bd425c45d35d14fc1af87c98e503e42a74d1f16acafe190a62a37c78168e12
# debian-12-4.10_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 5c627de42309bb6474331d403efeb6d68d617b1e || git fetch origin master) && git reset -q --hard 5c627de42309bb6474331d403efeb6d68d617b1e && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 ppxlib.opam ppxlib-tools.opam ppxlib-bench.opam ./
RUN opam pin add -yn ppxlib.dev './' && \
opam pin add -yn ppxlib-tools.dev './' && \
opam pin add -yn ppxlib-bench.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base.v0.15.0 base-bigarray.base base-bytes.base base-threads.base base-unix.base biniou.1.2.0 cinaps.v0.12.1 cmdliner.1.3.0 conf-m4.1 conf-which.1 cppo.1.6.1 dune.2.8.0 dune-configurator.2.3.0 dune-private-libs.2.3.0 easy-format.1.0.1 jbuilder.1.0+beta20.1 ocaml.4.10.2 ocaml-base-compiler.4.10.2 ocaml-compiler-libs.v0.11.0 ocaml-config.1 ocamlfind.1.8.1 ppx_derivers.1.0 re.1.9.0 seq.0.2.2 sexplib0.v0.15.0 stdlib-shims.0.1.0 yojson.1.5.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y ppxlib.dev ppxlib-tools.dev ppxlib-bench.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-03 09:51.09: Using cache hint "ocaml-ppx/ppxlib-ocaml/opam:debian-12-ocaml-4.10@sha256:87bd425c45d35d14fc1af87c98e503e42a74d1f16acafe190a62a37c78168e12-debian-12-4.10_opam-2.3-6e650fc979b521d9cc0bc4191866a6ad"
2025-03-03 09:51.09: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.10@sha256:87bd425c45d35d14fc1af87c98e503e42a74d1f16acafe190a62a37c78168e12)
(comment debian-12-4.10_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 5c627de42309bb6474331d403efeb6d68d617b1e || git fetch origin master) && git reset -q --hard 5c627de42309bb6474331d403efeb6d68d617b1e && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src ppxlib.opam ppxlib-tools.opam ppxlib-bench.opam) (dst ./))
(run (network host)
(shell  "opam pin add -yn ppxlib.dev './' && \
\nopam pin add -yn ppxlib-tools.dev './' && \
\nopam pin add -yn ppxlib-bench.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base.v0.15.0 base-bigarray.base base-bytes.base base-threads.base base-unix.base biniou.1.2.0 cinaps.v0.12.1 cmdliner.1.3.0 conf-m4.1 conf-which.1 cppo.1.6.1 dune.2.8.0 dune-configurator.2.3.0 dune-private-libs.2.3.0 easy-format.1.0.1 jbuilder.1.0+beta20.1 ocaml.4.10.2 ocaml-base-compiler.4.10.2 ocaml-compiler-libs.v0.11.0 ocaml-config.1 ocamlfind.1.8.1 ppx_derivers.1.0 re.1.9.0 seq.0.2.2 sexplib0.v0.15.0 stdlib-shims.0.1.0 yojson.1.5.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 ppxlib.dev ppxlib-tools.dev ppxlib-bench.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-03 09:51.09: Waiting for resource in pool OCluster
2025-03-03 10:08.38: Waiting for worker…
2025-03-03 10:12.30: Got resource from pool OCluster
Building on phoebe.caelum.ci.dev
All commits already cached
HEAD is now at 6426dc0d Mark deriving.end attributes as seen in -no-corrections mode


(from ocaml/opam:debian-12-ocaml-4.10@sha256:87bd425c45d35d14fc1af87c98e503e42a74d1f16acafe190a62a37c78168e12)
2025-03-03 10:12.54 ---> saved as "016595a1a37d3b2733af89ede9df3c3f91526ef1701826fddf0b584f85f08a74"


/: (comment debian-12-4.10_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-03 10:12.55 ---> saved as "812d16d53eb868baa57bf11bd2dff8d6d766fe99953bd482835df72bd4b9a8c1"


/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 39 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=39 --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-03 10:14.33 ---> saved as "1b018b36dcc01863e8efc295b96fcb18136f32323e15ee8352b9ec98671c6d26"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-131-generic
The OCaml toplevel, version 4.10.2
2.3.0
2025-03-03 10:14.34 ---> saved as "8be110a86985a6c2b7f912ec6492cf76b40215cd6bb990e03c4d838494d62c78"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-03-03 10:14.35 ---> saved as "5e29b79e83da817f16d8eceb5c492f14fd06ece37d22d401440f01ea5d1427db"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 5c627de42309bb6474331d403efeb6d68d617b1e || git fetch origin master) && git reset -q --hard 5c627de42309bb6474331d403efeb6d68d617b1e && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
94514fa0d0..ec92f53ef3  master     -> origin/master
5c627de423 Merge pull request #27523 from hannesm/re-add-base-ocamlbuild


<><> 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-03 10:16.16 ---> saved as "e92c8be9beaa3a6528bcec1e091dd37c3d90ee96d7d0b0c74272b44f52008465"


/src: (copy (src ppxlib.opam ppxlib-tools.opam ppxlib-bench.opam) (dst ./))
2025-03-03 10:16.17 ---> saved as "f6f9ee08cb4809c42b223672a4f97101a736d7beb69106ea100ae9b5dc25b4ba"


/src: (run (network host)
(shell  "opam pin add -yn ppxlib.dev './' && \
\nopam pin add -yn ppxlib-tools.dev './' && \
\nopam pin add -yn ppxlib-bench.dev './'"))
[ppxlib.dev] synchronised (file:///src)
ppxlib is now pinned to file:///src (version dev)
[ppxlib-tools.dev] synchronised (file:///src)
ppxlib-tools is now pinned to file:///src (version dev)
Package ppxlib-bench does not exist, create as a NEW package? [y/n] y
[ppxlib-bench.dev] synchronised (file:///src)
ppxlib-bench is now pinned to file:///src (version dev)
2025-03-03 10:16.25 ---> saved as "f9def73107f799d2dfc4365a402ce97c4d43064dce215e966e426e8001e9943d"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-03-03 10:16.25 ---> saved as "40cf9f5911d5c668a983cb5ea2121214b4dc5f353063c7850b03dbc86e2d32aa"


/src: (env DEPS "base.v0.15.0 base-bigarray.base base-bytes.base base-threads.base base-unix.base biniou.1.2.0 cinaps.v0.12.1 cmdliner.1.3.0 conf-m4.1 conf-which.1 cppo.1.6.1 dune.2.8.0 dune-configurator.2.3.0 dune-private-libs.2.3.0 easy-format.1.0.1 jbuilder.1.0+beta20.1 ocaml.4.10.2 ocaml-base-compiler.4.10.2 ocaml-compiler-libs.v0.11.0 ocaml-config.1 ocamlfind.1.8.1 ppx_derivers.1.0 re.1.9.0 seq.0.2.2 sexplib0.v0.15.0 stdlib-shims.0.1.0 yojson.1.5.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 ppxlib.dev ppxlib-tools.dev ppxlib-bench.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 [246 kB]
- Fetched 349 kB in 0s (846 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ppxlib.dev] synchronised (file:///src)
[ppxlib-bench.dev] synchronised (file:///src)
[ppxlib-tools.dev] synchronised (file:///src)


[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.10.2).
[NOTE] Package ocaml is already installed (current version is 4.10.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 system packages will first need to be installed:
m4


<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>


+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "m4"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package m4.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 18745 files and directories currently installed.)
- Preparing to unpack .../archives/m4_1.4.19-3_amd64.deb ...
- Unpacking m4 (1.4.19-3) ...
- Setting up m4 (1.4.19-3) ...
2025-03-03 10:17.08 ---> saved as "389e53be94b8f735602db61d488e9436f6a92b84a2424ff49875d238e0babb39"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.10.2).
[NOTE] Package ocaml is already installed (current version is 4.10.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 21 packages
- install base                v0.15.0
- install base-bytes          base
- install biniou              1.2.0
- install cinaps              v0.12.1
- install cmdliner            1.3.0
- install conf-m4             1
- install conf-which          1
- install cppo                1.6.1
- install dune                2.8.0
- install dune-configurator   2.3.0
- install dune-private-libs   2.3.0
- install easy-format         1.0.1
- install jbuilder            1.0+beta20.1 (deprecated)
- install ocaml-compiler-libs v0.11.0
- install ocamlfind           1.8.1
- install ppx_derivers        1.0
- install re                  1.9.0
- install seq                 0.2.2
- install sexplib0            v0.15.0
- install stdlib-shims        0.1.0
- install yojson              1.5.0


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved biniou.1.2.0  (cached)
-> retrieved cinaps.v0.12.1  (cached)
-> retrieved base.v0.15.0  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved cppo.1.6.1  (cached)
-> installed conf-m4.1
-> installed conf-which.1
-> retrieved easy-format.1.0.1  (cached)
-> retrieved jbuilder.1.0+beta20.1  (cached)
-> retrieved dune.2.8.0  (cached)
-> retrieved dune-configurator.2.3.0, dune-private-libs.2.3.0  (cached)
-> retrieved ocaml-compiler-libs.v0.11.0  (cached)
-> retrieved ocamlfind.1.8.1  (cached)
-> retrieved ppx_derivers.1.0  (cached)
-> retrieved re.1.9.0  (cached)
-> retrieved seq.0.2.2  (cached)
-> retrieved sexplib0.v0.15.0  (cached)
-> retrieved stdlib-shims.0.1.0  (cached)
-> retrieved yojson.1.5.0  (cached)
-> installed cmdliner.1.3.0
-> installed ocamlfind.1.8.1
-> installed base-bytes.base
-> installed easy-format.1.0.1
-> installed jbuilder.1.0+beta20.1
-> installed ppx_derivers.1.0
-> installed biniou.1.2.0
-> installed cppo.1.6.1
-> installed ocaml-compiler-libs.v0.11.0
-> installed dune.2.8.0
-> installed stdlib-shims.0.1.0
-> installed seq.0.2.2
-> installed sexplib0.v0.15.0
-> installed re.1.9.0
-> installed yojson.1.5.0
-> installed cinaps.v0.12.1
-> installed dune-private-libs.2.3.0
-> installed dune-configurator.2.3.0
-> installed base.v0.15.0
Done.


<><> jbuilder.1.0+beta20.1 installed successfully <><><><><><><><><><><><><><><>
=> Note: This package is deprecated.
# To update the current shell environment, run: eval $(opam env)
2025-03-03 10:18.44 ---> saved as "f32bbf4bd8d7e8cb45ff240888ee04fd728518ed5a84ca2ca641bb83b5dbdef5"


/src: (copy (src .) (dst /src))
2025-03-03 10:18.45 ---> saved as "4e0632c11f64c1309b21ac4b01cc3cc271361b07691b3f57908f37ce353159ac"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "/home/opam/.opam/4.10/lib/ocaml-compiler-libs/bytecomp/ocaml-compiler-libs.bytecomp.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.10/lib/ocaml-compiler-libs/common/ocaml-compiler-libs.common.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.10/lib/ocaml-compiler-libs/shadow/ocaml-compiler-libs.shadow.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.10/lib/ocaml-compiler-libs/toplevel/ocaml-compiler-libs.toplevel.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.10/lib/ppx_derivers/ppx_derivers.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.10/lib/biniou/biniou.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
ocamlc bench/.bench.eobjs/byte/dune__exe__Bench.{cmi,cmo,cmt} (exit 2)
(cd _build/default && /home/opam/.opam/4.10/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -I bench/.bench.eobjs/byte -I /home/opam/.opam/4.10/lib/yojson -no-alias-deps -opaque -o bench/.bench.eobjs/byte/dune__exe__Bench.cmo -c -impl bench/bench.ml)
File "bench/bench.ml", line 71, characters 38-46:
71 |     type t = { name : string; value : Yojson.t; units : string }
^^^^^^^^
Error: Unbound type constructor Yojson.t
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2025-03-03 10:19.37: Job failed: Failed: Build failed