Organisationsocaml-ppxppx_importe7ff30 (master)(lower-bound)

(lower-bound)

Logs

Show full logs
2025-12-15 14:44.59: New job: test ocaml-ppx/ppx_import https://github.com/ocaml-ppx/ppx_import.git#refs/heads/master (e7ff3012b87dc16be1b058b0f480f944c8d1a165) (linux-x86_64:(lower-bound))
Base: ocaml/opam:debian-13-ocaml-4.08@sha256:6fadef23b5069dc945f3a454c49421fd09e8c17aa57d3f9ad27d3879fce6aa44
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/ocaml-ppx/ppx_import.git" -b "master" && cd "ppx_import" && git reset --hard e7ff3012
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.08@sha256:6fadef23b5069dc945f3a454c49421fd09e8c17aa57d3f9ad27d3879fce6aa44
# debian-13-4.08_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.4 /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 c65fcb116531ae66ad3316b265e233443ef25044 || git fetch origin master) && git reset -q --hard c65fcb116531ae66ad3316b265e233443ef25044 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 ppx_import.opam ./
RUN opam pin add -yn ppx_import.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-bytes.base base-threads.base base-unix.base conf-m4.1 cppo.1.6.1 dune.3.5.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 ocamlbuild.0.14.0 ocamlfind.1.8.0 ounit.2.0.0 ppx_derivers.1.0 ppx_deriving.5.2 ppxlib.0.26.0 result.1.5 sexplib0.v0.15.0 stdlib-shims.0.1.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y ppx_import.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-12-15 14:44.59: Using cache hint "ocaml-ppx/ppx_import-ocaml/opam:debian-13-ocaml-4.08@sha256:6fadef23b5069dc945f3a454c49421fd09e8c17aa57d3f9ad27d3879fce6aa44-debian-13-4.08_opam-2.4-7b859a1bca0e998e52c53452a620ae4d"
2025-12-15 14:44.59: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.08@sha256:6fadef23b5069dc945f3a454c49421fd09e8c17aa57d3f9ad27d3879fce6aa44)
 (comment debian-13-4.08_opam-2.4)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/bin/opam-2.4 /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 c65fcb116531ae66ad3316b265e233443ef25044 || git fetch origin master) && git reset -q --hard c65fcb116531ae66ad3316b265e233443ef25044 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src ppx_import.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn ppx_import.dev './'"))
 (run (network host)
      (shell "echo '(lang dune 3.0)' > './dune-project'"))
 (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base conf-m4.1 cppo.1.6.1 dune.3.5.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 ocamlbuild.0.14.0 ocamlfind.1.8.0 ounit.2.0.0 ppx_derivers.1.0 ppx_deriving.5.2 ppxlib.0.26.0 result.1.5 sexplib0.v0.15.0 stdlib-shims.0.1.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.4 --depext-only -y ppx_import.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-12-15 14:44.59: Waiting for resource in pool OCluster
2025-12-16 00:07.10: Waiting for worker…
2025-12-16 00:09.11: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
All commits already cached
HEAD is now at e7ff301 Merge pull request #100 from Octachron/Support_OCaml_5.4

(from ocaml/opam:debian-13-ocaml-4.08@sha256:6fadef23b5069dc945f3a454c49421fd09e8c17aa57d3f9ad27d3879fce6aa44)
2025-12-16 00:09.12 ---> using "c557567380599a9d74e9cba757661af503505628fe0a86c2e1639761275a17b1" from cache

/: (comment debian-13-4.08_opam-2.4)

/: (user (uid 1000) (gid 1000))

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (workdir /src)

/src: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-12-16 00:09.12 ---> using "91149c8a129307ec9a0196fcf6190b7ca73215979f949f4d42e3f5a6ea56817a" 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 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] Initialised
2025-12-16 00:09.12 ---> using "ce80cf90a6ce7dde54cf47fdd34a3a6e9cfbca5b0b29c88f27bba20c0be781ea" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-85-generic
The OCaml toplevel, version 4.08.1
2.4.1
2025-12-16 00:09.12 ---> using "e246785a959985c65dd7e106af317de205ab1174ecc14d1c7bbe4c2c5e5f2adc" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-12-16 00:09.12 ---> using "b324d0e46102d5726aaa3c2bea22591ead22cefb354605703eef32218012e53f" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e c65fcb116531ae66ad3316b265e233443ef25044 || git fetch origin master) && git reset -q --hard c65fcb116531ae66ad3316b265e233443ef25044 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   ee48e882f0..c65fcb1165  master     -> origin/master
c65fcb1165 Merge pull request #29080 from dra27/ocaml-config-urls

<><> 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 at these versions (e.g. "opam upgrade ocaml.5.4.0"), 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-12-16 00:09.12 ---> using "9a0de3da74ffb6bb3368175eace75fa8ad8659e87b4134c692d8edb713b28d12" from cache

/src: (copy (src ppx_import.opam) (dst ./))
2025-12-16 00:09.13 ---> saved as "a76a3a50516143afcfae8b606d09a8cef053bb62204397d1393c488238eaabae"

/src: (run (network host)
           (shell "opam pin add -yn ppx_import.dev './'"))
[ppx_import.dev] synchronised (file:///src)
ppx_import is now pinned to file:///src (version dev)
2025-12-16 00:09.17 ---> saved as "52fcd97640c35d5bc8eab9f7680cec2618655e1b52158fddb5cf2c42a0bb0160"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-12-16 00:09.18 ---> saved as "8d1f97d6af2ce124d2afb1918cbd8f529dc02cda64bdd2e78210aa36899946fe"

/src: (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base conf-m4.1 cppo.1.6.1 dune.3.5.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 ocamlbuild.0.14.0 ocamlfind.1.8.0 ounit.2.0.0 ppx_derivers.1.0 ppx_deriving.5.2 ppxlib.0.26.0 result.1.5 sexplib0.v0.15.0 stdlib-shims.0.1.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.4 --depext-only -y ppx_import.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [84.8 kB]
- Fetched 176 kB in 0s (1057 kB/s)
- Reading package lists...
- 

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ppx_import.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"
- 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 ... 20622 files and directories currently installed.)
- Preparing to unpack .../archives/m4_1.4.19-8_amd64.deb ...
- Unpacking m4 (1.4.19-8) ...
- Setting up m4 (1.4.19-8) ...
2025-12-16 00:09.45 ---> saved as "980da2163ad875c7a64b4ecaf2f499f0e59f05450a9c570ee390abc592e92979"

/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 15 packages
  - install base-bytes          base
  - install conf-m4             1
  - install cppo                1.6.1
  - install dune                3.5.0
  - install jbuilder            1.0+beta20.1 (deprecated)
  - install ocaml-compiler-libs v0.11.0
  - install ocamlbuild          0.14.0
  - install ocamlfind           1.8.0
  - install ounit               2.0.0
  - install ppx_derivers        1.0
  - install ppx_deriving        5.2
  - install ppxlib              0.26.0
  - install result              1.5
  - install sexplib0            v0.15.0
  - install stdlib-shims        0.1.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.6.1  (cached)
-> retrieved jbuilder.1.0+beta20.1  (cached)
-> retrieved dune.3.5.0  (cached)
-> installed conf-m4.1
-> retrieved ocaml-compiler-libs.v0.11.0  (cached)
-> retrieved ocamlbuild.0.14.0  (cached)
-> retrieved ocamlfind.1.8.0  (cached)
-> retrieved ounit.2.0.0  (cached)
-> retrieved ppx_derivers.1.0  (cached)
-> retrieved ppx_deriving.5.2  (cached)
-> retrieved result.1.5  (cached)
-> retrieved stdlib-shims.0.1.0  (cached)
-> retrieved sexplib0.v0.15.0  (cached)
-> retrieved ppxlib.0.26.0  (cached)
-> installed ocamlfind.1.8.0
-> installed base-bytes.base
-> installed ocamlbuild.0.14.0
-> installed jbuilder.1.0+beta20.1
-> installed ppx_derivers.1.0
-> installed cppo.1.6.1
-> installed ocaml-compiler-libs.v0.11.0
-> installed ounit.2.0.0
-> installed dune.3.5.0
-> installed result.1.5
-> installed stdlib-shims.0.1.0
-> installed sexplib0.v0.15.0
-> installed ppxlib.0.26.0
-> installed ppx_deriving.5.2
Done.

<><> jbuilder.1.0+beta20.1 installed successfully <><><><><><><><><><><><><><><>
=> Note: This package is deprecated.
# To update the current shell environment, run: eval $(opam env)
2025-12-16 00:12.01 ---> saved as "509ce56c5a9465bcdf6fb3c0ba8a7291ec00df6ea597174ded9d22166981de4c"

/src: (copy (src .) (dst /src))
2025-12-16 00:12.03 ---> saved as "a7bdfcc29856a193e8e7f6ef46cb713cded456d2adff5a4c89ac03998bd01ee3"

/src: (run (shell "opam exec -- dune build @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-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -I src/.ppx_import.objs/byte -I /home/opam/.opam/4.08/lib/ocaml-compiler-libs/common -I /home/opam/.opam/4.08/lib/ocaml-compiler-libs/shadow -I /home/opam/.opam/4.08/lib/ocaml/compiler-libs -I /home/opam/.opam/4.08/lib/ppx_derivers -I /home/opam/.opam/4.08/lib/ppxlib -I /home/opam/.opam/4.08/lib/ppxlib/ast -I /home/opam/.opam/4.08/lib/ppxlib/astlib -I /home/opam/.opam/4.08/lib/ppxlib/print_diff -I /home/opam/.opam/4.08/lib/ppxlib/stdppx -I /home/opam/.opam/4.08/lib/ppxlib/traverse_builtins -I /home/opam/.opam/4.08/lib/sexplib0 -I /home/opam/.opam/4.08/lib/stdlib-shims -no-alias-deps -opaque -open Ppx_import__ -o src/.ppx_import.objs/byte/ppx_import.cmo -c -impl src/ppx_import.pp.ml)
File "src/ppx_import.ml", line 37, characters 45-71:
37 | let string_of_lid lid = Format.asprintf "%a" Astlib.Pprintast.longident lid
                                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: Unbound value Astlib.Pprintast.longident
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2025-12-16 00:12.08: Job failed: Failed: Build failed