Organisationsocaml-ppxppxlib8dcd1f ()(lower-bound)

(lower-bound)

Link Copied
Code Copied

Logs

2025-07-23 10:06.20: New job: test ocaml-ppx/ppxlib https://github.com/ocaml-ppx/ppxlib.git#refs/pull/587/head (8dcd1fe231aa675bf7ba58a13028451a9566fee5) (linux-x86_64:(lower-bound))
Base: ocaml/opam:debian-12-ocaml-4.08@sha256:4b3e5b2d1be26cada6c08f752ca0b48d3b0ba20fec23648d53395a83f1ae2517
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ocaml-ppx/ppxlib.git" && cd "ppxlib" && git fetch origin "refs/pull/587/head" && git reset --hard 8dcd1fe2
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.08@sha256:4b3e5b2d1be26cada6c08f752ca0b48d3b0ba20fec23648d53395a83f1ae2517
# debian-12-4.08_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 48010ffa790be06f04234994c933fa3f7254b6cc || git fetch origin master) && git reset -q --hard 48010ffa790be06f04234994c933fa3f7254b6cc && 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-bigarray.base base-threads.base base-unix.base cinaps.v0.12.1 cmdliner.1.3.0 conf-m4.1 dune.3.10.0 jbuilder.1.0+beta20.1 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-compiler-libs.v0.11.0 ocaml-config.1 ocamlfind.1.8.0 ppx_derivers.1.0 re.1.9.0 seq.0.3 sexplib0.v0.15.0 stdlib-shims.0.1.0 yojson.2.2.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y ppxlib.dev ppxlib-tools.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build --only-packages=ppxlib,ppxlib-tools @install @check @runtest && rm -rf _build


END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK


2025-07-23 10:06.20: Using cache hint "ocaml-ppx/ppxlib-ocaml/opam:debian-12-ocaml-4.08@sha256:4b3e5b2d1be26cada6c08f752ca0b48d3b0ba20fec23648d53395a83f1ae2517-debian-12-4.08_opam-2.3-3bf455d3bdacbc2a9c65028f0dc8659d"
2025-07-23 10:06.20: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.08@sha256:4b3e5b2d1be26cada6c08f752ca0b48d3b0ba20fec23648d53395a83f1ae2517)
(comment debian-12-4.08_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 48010ffa790be06f04234994c933fa3f7254b6cc || git fetch origin master) && git reset -q --hard 48010ffa790be06f04234994c933fa3f7254b6cc && 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-bigarray.base base-threads.base base-unix.base cinaps.v0.12.1 cmdliner.1.3.0 conf-m4.1 dune.3.10.0 jbuilder.1.0+beta20.1 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-compiler-libs.v0.11.0 ocaml-config.1 ocamlfind.1.8.0 ppx_derivers.1.0 re.1.9.0 seq.0.3 sexplib0.v0.15.0 stdlib-shims.0.1.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 ppxlib.dev ppxlib-tools.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 --only-packages=ppxlib,ppxlib-tools @install @check @runtest && rm -rf _build"))
)


2025-07-23 10:06.20: Waiting for resource in pool OCluster
2025-07-23 10:06.20: Waiting for worker…
2025-07-23 10:06.48: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
HEAD is now at 8dcd1fe2 Simplify gencopy arrow_type helper


(from ocaml/opam:debian-12-ocaml-4.08@sha256:4b3e5b2d1be26cada6c08f752ca0b48d3b0ba20fec23648d53395a83f1ae2517)
2025-07-23 10:06.48 ---> using "6cffc1a1a52caf2843bd473effea9756e568737c821ae9874d1cb7264a14fd20" from cache


/: (comment debian-12-4.08_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-07-23 10:06.48 ---> using "595084c061d017442a31357b3f5a72128cb21d34df65b6da905d2ccafd242754" 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.


Continue? [y/n] y
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.


Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-07-23 10:06.48 ---> using "dad5cf1508a872dffd05ca58770cb1bff27c344414c9bbf01c2e2ff94eb1b398" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-142-generic
The OCaml toplevel, version 4.08.1
2.3.0
2025-07-23 10:06.48 ---> using "af83ccb0343af8e0c3189356134afe28549acab0c59760e3a0fa77d82021edfb" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-07-23 10:06.48 ---> using "f8866462a7295fbde11333d891cc6737e7a175183c1f91978f63358fa4c7a3ff" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 48010ffa790be06f04234994c933fa3f7254b6cc || git fetch origin master) && git reset -q --hard 48010ffa790be06f04234994c933fa3f7254b6cc && git log --no-decorate -n1 --oneline && opam update -u"))
48010ffa79 Restrict non-working ocaml version for dune (#28092)


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+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-07-23 10:06.48 ---> using "4fe124cff03bd5748c82697985e9517304915f755c69c2b656329d4a134c9a7e" from cache


/src: (copy (src ppxlib.opam ppxlib-tools.opam ppxlib-bench.opam) (dst ./))
2025-07-23 10:06.48 ---> using "d1e3f5a3ea7843684ce3d972567e194b52ab72881d6b7251dc15278da9179c40" from cache


/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-07-23 10:06.48 ---> using "d69acad4ec23ca7c425c3f0d8e742ba5652d0da6014243e7588235d6ec7a7c8c" from cache


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-07-23 10:06.48 ---> using "70a2959500a1f9cd705c8d7fb02d48a6c8e3dfaccbc5b6298c79312b9055f384" from cache


/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base cinaps.v0.12.1 cmdliner.1.3.0 conf-m4.1 dune.3.10.0 jbuilder.1.0+beta20.1 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-compiler-libs.v0.11.0 ocaml-config.1 ocamlfind.1.8.0 ppx_derivers.1.0 re.1.9.0 seq.0.3 sexplib0.v0.15.0 stdlib-shims.0.1.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 ppxlib.dev ppxlib-tools.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 [272 kB]
- Fetched 375 kB in 0s (819 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ppxlib-tools.dev] synchronised (file:///src)
[ppxlib.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.08.1).
[NOTE] Package ocaml is already installed (current version is 4.08.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 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 ... 18747 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-07-23 10:06.48 ---> using "7ba477cbccb806570ea64231aba422266d80ccb324270501b611436c41e1d5d9" from cache


/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.08.1).
[NOTE] Package ocaml is already installed (current version is 4.08.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 13 packages
- install cinaps              v0.12.1
- install cmdliner            1.3.0
- install conf-m4             1
- install dune                3.10.0
- install jbuilder            1.0+beta20.1 (deprecated)
- install ocaml-compiler-libs v0.11.0
- install ocamlfind           1.8.0
- install ppx_derivers        1.0
- install re                  1.9.0
- install seq                 0.3
- install sexplib0            v0.15.0
- install stdlib-shims        0.1.0
- install yojson              2.2.2


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cinaps.v0.12.1  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> installed conf-m4.1
-> retrieved ocaml-compiler-libs.v0.11.0  (cached)
-> retrieved ocamlfind.1.8.0  (cached)
-> retrieved ppx_derivers.1.0  (cached)
-> retrieved jbuilder.1.0+beta20.1  (cached)
-> retrieved re.1.9.0  (cached)
-> retrieved seq.0.3  (cached)
-> retrieved sexplib0.v0.15.0  (cached)
-> retrieved stdlib-shims.0.1.0  (cached)
-> retrieved yojson.2.2.2  (cached)
-> retrieved dune.3.10.0  (cached)
-> installed cmdliner.1.3.0
-> installed ocamlfind.1.8.0
-> installed jbuilder.1.0+beta20.1
-> installed ppx_derivers.1.0
-> installed ocaml-compiler-libs.v0.11.0
-> installed dune.3.10.0
-> installed seq.0.3
-> installed stdlib-shims.0.1.0
-> installed sexplib0.v0.15.0
-> installed re.1.9.0
-> installed yojson.2.2.2
-> installed cinaps.v0.12.1
Done.


<><> jbuilder.1.0+beta20.1 installed successfully <><><><><><><><><><><><><><><>
=> Note: This package is deprecated.
# To update the current shell environment, run: eval $(opam env)
2025-07-23 10:06.48 ---> using "ec7a58ace9136b148250edc6845375908f9046d95214ab8e69f4adbe5701eb3e" from cache


/src: (copy (src .) (dst /src))
2025-07-23 10:06.49 ---> saved as "8bec0a679ea5fbe46ab87b34adfe29031eb97c9c1a4c9e2001f360306374fd3c"


/src: (run (shell "opam exec -- dune build --only-packages=ppxlib,ppxlib-tools @install @check @runtest && rm -rf _build"))
File "/home/opam/.opam/4.08/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.08/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.08/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.08/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.08/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.
(cd _build/default && /home/opam/.opam/4.08/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62@67@69-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -I dev/gencopy/.gencopy.eobjs/byte -I ast/.ppxlib_ast.objs/byte -I astlib/.astlib.objs/byte -I src/.ppxlib.objs/byte -intf-suffix .ml -no-alias-deps -opaque -o dev/gencopy/.gencopy.eobjs/byte/dune__exe__Gencopy.cmo -c -impl dev/gencopy/gencopy.pp.ml)
File "dev/gencopy/gencopy.ml", line 116, characters 16-31:
116 |     let index = List.find_index is_var decl.ptype_params in
^^^^^^^^^^^^^^^
Error: Unbound value List.find_index
(cd _build/default && /home/opam/.opam/4.08/bin/ocamlopt.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62@67@69-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -I dev/gencopy/.gencopy.eobjs/byte -I dev/gencopy/.gencopy.eobjs/native -I ast/.ppxlib_ast.objs/byte -I ast/.ppxlib_ast.objs/native -I astlib/.astlib.objs/byte -I astlib/.astlib.objs/native -I src/.ppxlib.objs/byte -I src/.ppxlib.objs/native -intf-suffix .ml -no-alias-deps -opaque -o dev/gencopy/.gencopy.eobjs/native/dune__exe__Gencopy.cmx -c -impl dev/gencopy/gencopy.pp.ml)
File "dev/gencopy/gencopy.ml", line 116, characters 16-31:
116 |     let index = List.find_index is_var decl.ptype_params in
^^^^^^^^^^^^^^^
Error: Unbound value List.find_index
"/usr/bin/env" "bash" "-c" "opam exec -- dune build --only-packages=ppxlib,ppxlib-tools @install @check @runtest && rm -rf _build" failed with exit status 1
2025-07-23 10:07.13: Job failed: Failed: Build failed