Organisationsocaml-ppxppx_import70c312 (master)(lower-bound)

(lower-bound)

Logs

Show full logs
2024-10-31 14:17.52: New job: test ocaml-ppx/ppx_import https://github.com/ocaml-ppx/ppx_import.git#refs/heads/master (70c3120f3348b01a929873040fb589137655c6d7) (linux-x86_64:(lower-bound))
Base: ocaml/opam:debian-12-ocaml-4.05@sha256:2900c04221c1bd8d9e957c1c38cae5b803703db790b820d82b6c4984484e9909
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 70c3120f
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.05@sha256:2900c04221c1bd8d9e957c1c38cae5b803703db790b820d82b6c4984484e9909
# debian-12-4.05_opam-2.2
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.2 /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 ebd5ba0a8930a274e5ae57b90cb133346875b120 || git fetch origin master) && git reset -q --hard ebd5ba0a8930a274e5ae57b90cb133346875b120 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 ppx_import.opam ./
RUN opam pin add -yn ppx_import.dev './'
ENV DEPS="base-bigarray.base base-threads.base base-unix.base camlp4.4.05+1 conf-m4.1 cppo.1.1.0 dune.3.0.2 jbuilder.1.0+beta12 ocaml.4.05.0 ocaml-base-compiler.4.05.0 ocaml-compiler-libs.v0.11.0 ocaml-config.1 ocaml-secondary-compiler.4.08.1 ocamlbuild.0.9.1 ocamlfind.1.8.1 ocamlfind-secondary.1.8.1 ounit.1.1.2 ppx_derivers.1.0 ppx_deriving.5.2 ppxlib.0.26.0 result.1.0 sexplib0.v0.15.0 stdlib-shims.0.1.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --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

2024-10-31 14:17.52: Using cache hint "ocaml-ppx/ppx_import-ocaml/opam:debian-12-ocaml-4.05@sha256:2900c04221c1bd8d9e957c1c38cae5b803703db790b820d82b6c4984484e9909-debian-12-4.05_opam-2.2-3a54f61507e03df0ebc0043ec5f6cdff"
2024-10-31 14:17.52: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.05@sha256:2900c04221c1bd8d9e957c1c38cae5b803703db790b820d82b6c4984484e9909)
 (comment debian-12-4.05_opam-2.2)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/bin/opam-2.2 /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 ebd5ba0a8930a274e5ae57b90cb133346875b120 || git fetch origin master) && git reset -q --hard ebd5ba0a8930a274e5ae57b90cb133346875b120 && 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 './'"))
 (env DEPS "base-bigarray.base base-threads.base base-unix.base camlp4.4.05+1 conf-m4.1 cppo.1.1.0 dune.3.0.2 jbuilder.1.0+beta12 ocaml.4.05.0 ocaml-base-compiler.4.05.0 ocaml-compiler-libs.v0.11.0 ocaml-config.1 ocaml-secondary-compiler.4.08.1 ocamlbuild.0.9.1 ocamlfind.1.8.1 ocamlfind-secondary.1.8.1 ounit.1.1.2 ppx_derivers.1.0 ppx_deriving.5.2 ppxlib.0.26.0 result.1.0 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.2 --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"))
)

2024-10-31 14:17.52: Waiting for resource in pool OCluster
2024-10-31 14:29.17: Waiting for worker…
2024-10-31 14:33.54: Got resource from pool OCluster
Building on x86-bm-c7.sw.ocaml.org
All commits already cached
HEAD is now at 70c3120 Merge pull request #94 from kit-ty-kate/ocaml-5.2

(from ocaml/opam:debian-12-ocaml-4.05@sha256:2900c04221c1bd8d9e957c1c38cae5b803703db790b820d82b6c4984484e9909)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.05@sha256:2900c04221c1bd8d9e957c1c38cae5b803703db790b820d82b6c4984484e9909' locally
docker.io/ocaml/opam@sha256:2900c04221c1bd8d9e957c1c38cae5b803703db790b820d82b6c4984484e9909: Pulling from ocaml/opam
ed6e0e027b2e: Pulling fs layer
ed6e0e027b2e: Download complete
ed6e0e027b2e: Pull complete
Digest: sha256:2900c04221c1bd8d9e957c1c38cae5b803703db790b820d82b6c4984484e9909
Status: Downloaded newer image for ocaml/opam@sha256:2900c04221c1bd8d9e957c1c38cae5b803703db790b820d82b6c4984484e9909
2024-10-31 14:33.54 ---> using "bd94adfcc271ba20f314d020143d3308b6e202b36fed76509c63b5b1f31d1016" from cache

/: (comment debian-12-4.05_opam-2.2)

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

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (workdir /src)

/src: (run (shell "sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam"))
2024-10-31 14:33.54 ---> using "605b1992b4fe1d016a07b1e96dd48ffe2666afe3eda4d1727975d620631197eb" 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
[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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-10-31 14:34.36 ---> saved as "6d36e7d309d80fa5fdf87443abae2980557896451018c6b2e1a369e5fc3f5cbe"

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-122-generic
The OCaml toplevel, version 4.05.0
2.2.1
2024-10-31 14:34.37 ---> saved as "78c35fc4cea04c7ba68f029fb401fc3998c814d2d278ab0e858d84588f9e064e"

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2024-10-31 14:34.37 ---> saved as "39934bd6d2e4bf2d4fd2236bb19324a2a644c87cb264f188d7ecca6db7b0cdf2"

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e ebd5ba0a8930a274e5ae57b90cb133346875b120 || git fetch origin master) && git reset -q --hard ebd5ba0a8930a274e5ae57b90cb133346875b120 && git log --no-decorate -n1 --oneline && opam update -u"))
ebd5ba0a89 Merge pull request #26702 from jmid/ppx_deriving-upper-bounds

<><> 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.
# Run eval $(opam env) to update the current shell environment
2024-10-31 14:35.38 ---> saved as "70166315dd0ed1c71d56699be09124862549a54f4c15361b940ae0ff8fdc6c1e"

/src: (copy (src ppx_import.opam) (dst ./))
2024-10-31 14:35.38 ---> saved as "3dedc7355d289a24336c27d1d7a605ff013adaeaed7dfd40268084e093f5bd7f"

/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)
2024-10-31 14:35.40 ---> saved as "68e015f0bfcc5601452c671e000c068ff91903d5fea05706153ddb94348d0677"

/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base camlp4.4.05+1 conf-m4.1 cppo.1.1.0 dune.3.0.2 jbuilder.1.0+beta12 ocaml.4.05.0 ocaml-base-compiler.4.05.0 ocaml-compiler-libs.v0.11.0 ocaml-config.1 ocaml-secondary-compiler.4.08.1 ocamlbuild.0.9.1 ocamlfind.1.8.1 ocamlfind-secondary.1.8.1 ounit.1.1.2 ppx_derivers.1.0 ppx_deriving.5.2 ppxlib.0.26.0 result.1.0 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.2 --depext-only -y ppx_import.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 [190 kB]
- Fetched 293 kB in 0s (1144 kB/s)
- Reading package lists...
- 

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ppx_import.dev] synchronised (no changes)

[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.05.0).
[NOTE] Package ocaml is already installed (current version is 4.05.0).
[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) ...
2024-10-31 14:35.58 ---> saved as "b3fd16f0a9968d5aff86a0daa3b8b89a680aea2fea180758d38b5efebced43e8"

/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.05.0).
[NOTE] Package ocaml is already installed (current version is 4.05.0).
[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:
=== downgrade 1 package
  - downgrade ocaml-secondary-compiler 4.14.2 to 4.08.1
=== install 16 packages
  - install   camlp4                   4.05+1
  - install   conf-m4                  1
  - install   cppo                     1.1.0
  - install   dune                     3.0.2
  - install   jbuilder                 1.0+beta12
  - install   ocaml-compiler-libs      v0.11.0
  - install   ocamlbuild               0.9.1
  - install   ocamlfind                1.8.1
  - install   ocamlfind-secondary      1.8.1
  - install   ounit                    1.1.2
  - install   ppx_derivers             1.0
  - install   ppx_deriving             5.2
  - install   ppxlib                   0.26.0
  - install   result                   1.0
  - install   sexplib0                 v0.15.0
  - install   stdlib-shims             0.1.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.1.0  (cached)
-> installed conf-m4.1
-> retrieved dune.3.0.2  (cached)
-> retrieved ocaml-compiler-libs.v0.11.0  (cached)
-> retrieved jbuilder.1.0+beta12  (https://github.com/janestreet/jbuilder/releases/download/1.0+beta12/jbuilder-1.0.beta12.tbz)
-> retrieved ocamlbuild.0.9.1  (cached)
-> retrieved ocamlfind.1.8.1, ocamlfind-secondary.1.8.1  (cached)
-> retrieved ocaml-secondary-compiler.4.08.1  (cached)
-> retrieved camlp4.4.05+1  (https://github.com/ocaml/camlp4/archive/4.05+1.tar.gz)
-> retrieved ppx_derivers.1.0  (cached)
-> retrieved ppx_deriving.5.2  (cached)
-> retrieved ounit.1.1.2  (https://download.ocamlcore.org/ounit/ounit/1.1.2/ounit-1.1.2.tar.gz)
-> retrieved result.1.0  (cached)
-> retrieved sexplib0.v0.15.0  (cached)
-> retrieved stdlib-shims.0.1.0  (cached)
-> retrieved ppxlib.0.26.0  (cached)
-> installed result.1.0
-> installed ocamlfind.1.8.1
-> installed ocamlbuild.0.9.1
-> installed cppo.1.1.0
-> installed jbuilder.1.0+beta12
-> installed ppx_derivers.1.0
-> installed ocaml-compiler-libs.v0.11.0
-> installed camlp4.4.05+1
-> installed ounit.1.1.2
-> removed   ocaml-secondary-compiler.4.14.2
-> installed ocaml-secondary-compiler.4.08.1
-> installed ocamlfind-secondary.1.8.1
-> installed dune.3.0.2
-> installed stdlib-shims.0.1.0
-> installed sexplib0.v0.15.0
-> installed ppxlib.0.26.0
-> installed ppx_deriving.5.2
Done.
# Run eval $(opam env) to update the current shell environment
2024-10-31 14:40.01 ---> saved as "4efd403afeff03935d5dbe8ad14b2d2bf3e7ac5f14bbdf316c0443d3969abe21"

/src: (copy (src .) (dst /src))
2024-10-31 14:40.01 ---> saved as "94d3e478780362f77e48d952f77c7fca548637d0829a10767e0af5300e9540a6"

/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && /home/opam/.opam/4.05/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 -w -32-34 -g -ppx '.ppx/f2be36633256b1bab9fcbc63f3fdc0d4/ppx.exe --as-ppx' -bin-annot -I src_test/ppx_deriving/.test_ppx_import.eobjs/byte -I /home/opam/.opam/4.05/lib/oUnit -I /home/opam/.opam/4.05/lib/ocaml/compiler-libs -I /home/opam/.opam/4.05/lib/ppx_deriving/runtime -I /home/opam/.opam/4.05/lib/result -intf-suffix .ml -no-alias-deps -opaque -open Dune__exe -o src_test/ppx_deriving/.test_ppx_import.eobjs/byte/dune__exe__Test_ppx_import.cmo -c -impl src_test/ppx_deriving/test_ppx_import.ml)
File "src_test/ppx_deriving/test_ppx_import.ml", line 1, characters 5-11:
Error: Unbound module OUnit2
(cd _build/default && /home/opam/.opam/4.05/bin/ocamlopt.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -32-34 -g -ppx '.ppx/f2be36633256b1bab9fcbc63f3fdc0d4/ppx.exe --as-ppx' -I src_test/ppx_deriving/.test_ppx_import.eobjs/byte -I src_test/ppx_deriving/.test_ppx_import.eobjs/native -I /home/opam/.opam/4.05/lib/oUnit -I /home/opam/.opam/4.05/lib/ocaml/compiler-libs -I /home/opam/.opam/4.05/lib/ppx_deriving/runtime -I /home/opam/.opam/4.05/lib/result -intf-suffix .ml -no-alias-deps -opaque -open Dune__exe -o src_test/ppx_deriving/.test_ppx_import.eobjs/native/dune__exe__Test_ppx_import.cmx -c -impl src_test/ppx_deriving/test_ppx_import.ml)
File "src_test/ppx_deriving/test_ppx_import.ml", line 1, characters 5-11:
Error: Unbound module OUnit2
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2024-10-31 14:40.05: Job failed: Failed: Build failed