Organisationspatricoferrisppxlib68af53 ()debian-12-5.3+flambda_opam-2.3

debian-12-5.3+flambda_opam-2.3

Logs

Show full logs
2025-04-17 14:57.24: New job: test patricoferris/ppxlib https://github.com/patricoferris/ppxlib.git#refs/heads/ci (68af5338acb54860e18a4e72a933bdb8b1634e74) (linux-x86_64:debian-12-5.3+flambda_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-5.3-flambda@sha256:57510d9b6938a222428a355776c0cf3887f50a22fd5d3a5132de1081d191d2d1
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/patricoferris/ppxlib.git" -b "ci" && cd "ppxlib" && git reset --hard 68af5338
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.3-flambda@sha256:57510d9b6938a222428a355776c0cf3887f50a22fd5d3a5132de1081d191d2d1
# debian-12-5.3+flambda_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 442eddb8a363418dcb02e519972818da08bb7cd4 || git fetch origin master) && git reset -q --hard 442eddb8a363418dcb02e519972818da08bb7cd4 && 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.17.1 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cinaps.v0.15.1 cmdliner.1.3.0 csexp.1.5.2 dune.3.18.1 dune-configurator.3.18.1 ocaml.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-variants.5.3.0+options ocaml_intrinsics_kernel.v0.17.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 re.1.12.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.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 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-04-17 14:57.24: Using cache hint "patricoferris/ppxlib-ocaml/opam:debian-12-ocaml-5.3-flambda@sha256:57510d9b6938a222428a355776c0cf3887f50a22fd5d3a5132de1081d191d2d1-debian-12-5.3+flambda_opam-2.3-68e1af29f663c184b4ea320fbe10eee9"
2025-04-17 14:57.24: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3-flambda@sha256:57510d9b6938a222428a355776c0cf3887f50a22fd5d3a5132de1081d191d2d1)
 (comment debian-12-5.3+flambda_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 442eddb8a363418dcb02e519972818da08bb7cd4 || git fetch origin master) && git reset -q --hard 442eddb8a363418dcb02e519972818da08bb7cd4 && 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.17.1 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cinaps.v0.15.1 cmdliner.1.3.0 csexp.1.5.2 dune.3.18.1 dune-configurator.3.18.1 ocaml.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-variants.5.3.0+options ocaml_intrinsics_kernel.v0.17.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 re.1.12.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.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 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-04-17 14:57.24: Waiting for resource in pool OCluster
2025-04-17 16:15.52: Waiting for worker…
2025-04-17 16:17.42: Got resource from pool OCluster
Building on x86-bm-c1.sw.ocaml.org
All commits already cached
HEAD is now at 68af533 Bump trunk CI to 5.4.0

(from ocaml/opam:debian-12-ocaml-5.3-flambda@sha256:57510d9b6938a222428a355776c0cf3887f50a22fd5d3a5132de1081d191d2d1)
2025-04-17 16:17.42 ---> using "b4d48ba3f105cc4ab134fcca7b86bf8f107b0861360fe5d86acca1be5b903fe3" from cache

/: (comment debian-12-5.3+flambda_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-04-17 16:17.42 ---> using "83f3f64d5439920398c03d8908a2063afc7cacbb6f3ae886d7313ef284c71f3a" 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
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-04-17 16:17.42 ---> using "71c3a0802e45e209b267bf0076f16566b5c2e92bda053abbce0efae66e10a791" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 5.3.0
2.3.0
2025-04-17 16:17.42 ---> using "e9811792301985d6311e08dc8533656a1527132a8d65e6684bed5ab47ddd3fa1" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-04-17 16:17.42 ---> using "bb7f6448901defd058f042d2ff138086769c27539139d6f5512fe96a7739f97b" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 442eddb8a363418dcb02e519972818da08bb7cd4 || git fetch origin master) && git reset -q --hard 442eddb8a363418dcb02e519972818da08bb7cd4 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   da74d7829f..9b3a0a13cf  master     -> origin/master
442eddb8a3 Merge pull request #27761 from maiste/release-dune-3.18.1

<><> 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-04-17 16:17.42 ---> using "09478316d568f244ba55e944116efe09770bf3b7b9b2f0892baa46009b99313c" from cache

/src: (copy (src ppxlib.opam ppxlib-tools.opam ppxlib-bench.opam) (dst ./))
2025-04-17 16:17.43 ---> saved as "df140d2cca33283000202de49657fb40c228d73d94723ed422f4d6f532231324"

/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-04-17 16:17.53 ---> saved as "5218a97ed25e022cba44adf32fbf42af1c18b295c6952583b242a29355328aaa"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-04-17 16:17.53 ---> saved as "3a6e562074e0117e324a41bedc5943479d47db936f3c3024fcfb81341b4641fe"

/src: (env DEPS "base.v0.17.1 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cinaps.v0.15.1 cmdliner.1.3.0 csexp.1.5.2 dune.3.18.1 dune-configurator.3.18.1 ocaml.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-variants.5.3.0+options ocaml_intrinsics_kernel.v0.17.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 re.1.12.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.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 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 [254 kB]
- Fetched 357 kB in 0s (1025 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-variants is already installed (current version is 5.3.0+options).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.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-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
2025-04-17 16:18.10 ---> saved as "d4c06d107df64874a632238810b33f1dc518ed7605d303a7e378d2f2bf7c3597"

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam install $DEPS"))
[NOTE] Package ocaml-variants is already installed (current version is 5.3.0+options).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.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-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains 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                    v0.17.1
  - install cinaps                  v0.15.1
  - install cmdliner                1.3.0
  - install csexp                   1.5.2
  - install dune                    3.18.1
  - install dune-configurator       3.18.1
  - install ocaml-compiler-libs     v0.17.0
  - install ocaml_intrinsics_kernel v0.17.1
  - install ocamlfind               1.9.8
  - install ppx_derivers            1.2.1
  - install re                      1.12.0
  - install seq                     base
  - install sexplib0                v0.17.0
  - install stdlib-shims            0.3.0
  - install yojson                  2.2.2

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cinaps.v0.15.1  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved base.v0.17.1  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved ocaml-compiler-libs.v0.17.0  (cached)
-> retrieved ocaml_intrinsics_kernel.v0.17.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved re.1.12.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved yojson.2.2.2  (cached)
-> retrieved dune.3.18.1, dune-configurator.3.18.1  (cached)
-> installed cmdliner.1.3.0
-> installed ocamlfind.1.9.8
-> installed dune.3.18.1
-> installed ppx_derivers.1.2.1
-> installed csexp.1.5.2
-> installed ocaml_intrinsics_kernel.v0.17.1
-> installed sexplib0.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed ocaml-compiler-libs.v0.17.0
-> installed re.1.12.0
-> installed yojson.2.2.2
-> installed cinaps.v0.15.1
-> installed dune-configurator.3.18.1
-> installed base.v0.17.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-04-17 16:20.00 ---> saved as "4701f5f2663236a641f1ddcd06de851fefb865869a0eec5f4deacb524e6ea269"

/src: (copy (src .) (dst /src))
2025-04-17 16:20.00 ---> saved as "62a04d0b711adb766b1c18f633ed8c40dec2da16baaa1f51d3faa4dadd424557"

/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && /home/opam/.opam/5.3/bin/ocamlopt.opt -w -24 -I ast/.cinaps.5e30bf3c/.cinaps.eobjs/byte -I ast/.cinaps.5e30bf3c/.cinaps.eobjs/native -I /home/opam/.opam/5.3/lib/cinaps/runtime -I ast/cinaps/.ast_cinaps_helpers.objs/byte -I ast/cinaps/.ast_cinaps_helpers.objs/native -intf-suffix .ml-gen -no-alias-deps -o ast/.cinaps.5e30bf3c/.cinaps.eobjs/native/dune__exe__Cinaps.cmx -c -impl ast/.cinaps.5e30bf3c/cinaps.ml-gen)
File "_none_", line 1:
Alert ocaml_deprecated_auto_include: 
OCaml's lib directory layout changed in 5.0. The unix subdirectory has been
automatically added to the search path, but you should add -I +unix to the
command-line to silence this alert (e.g. by adding unix to the list of
libraries in your dune file, or adding use_unix to your _tags file for
ocamlbuild, or using -package unix for ocamlfind).
(cd _build/default && /home/opam/.opam/5.3/bin/ocamlopt.opt -w -24 -I src/.cinaps.ec2be898/.cinaps.eobjs/byte -I src/.cinaps.ec2be898/.cinaps.eobjs/native -I /home/opam/.opam/5.3/lib/cinaps/runtime -I src/cinaps/.ppxlib_cinaps_helpers.objs/byte -I src/cinaps/.ppxlib_cinaps_helpers.objs/native -intf-suffix .ml-gen -no-alias-deps -o src/.cinaps.ec2be898/.cinaps.eobjs/native/dune__exe__Cinaps.cmx -c -impl src/.cinaps.ec2be898/cinaps.ml-gen)
File "_none_", line 1:
Alert ocaml_deprecated_auto_include: 
OCaml's lib directory layout changed in 5.0. The unix subdirectory has been
automatically added to the search path, but you should add -I +unix to the
command-line to silence this alert (e.g. by adding unix to the list of
libraries in your dune file, or adding use_unix to your _tags file for
ocamlbuild, or using -package unix for ocamlfind).
(cd _build/default && /home/opam/.opam/5.3/bin/ocamlopt.opt -w -24 -I astlib/.cinaps.d3f053fc/.cinaps.eobjs/byte -I astlib/.cinaps.d3f053fc/.cinaps.eobjs/native -I /home/opam/.opam/5.3/lib/cinaps/runtime -I astlib/cinaps/.astlib_cinaps_helpers.objs/byte -I astlib/cinaps/.astlib_cinaps_helpers.objs/native -intf-suffix .ml-gen -no-alias-deps -o astlib/.cinaps.d3f053fc/.cinaps.eobjs/native/dune__exe__Cinaps.cmx -c -impl astlib/.cinaps.d3f053fc/cinaps.ml-gen)
File "_none_", line 1:
Alert ocaml_deprecated_auto_include: 
OCaml's lib directory layout changed in 5.0. The unix subdirectory has been
automatically added to the search path, but you should add -I +unix to the
command-line to silence this alert (e.g. by adding unix to the list of
libraries in your dune file, or adding use_unix to your _tags file for
ocamlbuild, or using -package unix for ocamlfind).
File "ast/versions.ml", line 1, characters 0-0:
/usr/bin/git --no-pager diff --no-index --color=always -u _build/default/ast/versions.ml _build/default/ast/versions.ml.cinaps-corrected
diff --git a/_build/default/ast/versions.ml b/_build/default/ast/versions.ml.cinaps-corrected
index 23a2f3e..a2312f4 100644
--- a/_build/default/ast/versions.ml
+++ b/_build/default/ast/versions.ml.cinaps-corrected
@@ -647,6 +647,13 @@ module OCaml_503 = struct
   let string_version = "5.3"
 end
 let ocaml_503 : OCaml_503.types ocaml_version = (module OCaml_503)
+module OCaml_504 = struct
+  module Ast = Astlib.Ast_504
+  include Make_witness(Astlib.Ast_504)
+  let version = 504
+  let string_version = "5.4"
+end
+let ocaml_504 : OCaml_504.types ocaml_version = (module OCaml_504)
 (*$*)
 
 let all_versions : (module OCaml_version) list = [
@@ -663,6 +670,7 @@ let all_versions : (module OCaml_version) list = [
 (module OCaml_501 : OCaml_version);
 (module OCaml_502 : OCaml_version);
 (module OCaml_503 : OCaml_version);
+(module OCaml_504 : OCaml_version);
 (*$*)
 ]
 
@@ -691,6 +699,8 @@ include Register_migration(OCaml_501)(OCaml_502)
     (Astlib.Migrate_501_502)(Astlib.Migrate_502_501)
 include Register_migration(OCaml_502)(OCaml_503)
     (Astlib.Migrate_502_503)(Astlib.Migrate_503_502)
+include Register_migration(OCaml_503)(OCaml_504)
+    (Astlib.Migrate_503_504)(Astlib.Migrate_504_503)
 (*$*)
 
 module OCaml_current = OCaml_OCAML_VERSION
File "ast/versions.mli", line 1, characters 0-0:
/usr/bin/git --no-pager diff --no-index --color=always -u _build/default/ast/versions.mli _build/default/ast/versions.mli.cinaps-corrected
diff --git a/_build/default/ast/versions.mli b/_build/default/ast/versions.mli.cinaps-corrected
index 2ba8b4f..7a3b3a7 100644
--- a/_build/default/ast/versions.mli
+++ b/_build/default/ast/versions.mli.cinaps-corrected
@@ -153,6 +153,7 @@ module OCaml_500 : OCaml_version with module Ast = Astlib.Ast_500
 module OCaml_501 : OCaml_version with module Ast = Astlib.Ast_501
 module OCaml_502 : OCaml_version with module Ast = Astlib.Ast_502
 module OCaml_503 : OCaml_version with module Ast = Astlib.Ast_503
+module OCaml_504 : OCaml_version with module Ast = Astlib.Ast_504
 (*$*)
 
 (* An alias to the current compiler version *)
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2025-04-17 16:21.00: Job failed: Failed: Build failed