Organisationsocaml-ppxppxlib8ce22a ()debian-12-4.14+flambda_opam-2.3

debian-12-4.14+flambda_opam-2.3

Logs

Show full logs
2025-05-28 19:12.45: New job: test ocaml-ppx/ppxlib https://github.com/ocaml-ppx/ppxlib.git#refs/pull/545/head (8ce22a4671f771b72191cbb0e6bb8cfc3cd2ac8c) (linux-x86_64:debian-12-4.14+flambda_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-4.14-flambda@sha256:17f164e87be56c1fbfc25ebae866364eb5136cde967426d38b4d06c80739abbc
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/ocaml-ppx/ppxlib.git" && cd "ppxlib" && git fetch origin "refs/pull/545/head" && git reset --hard 8ce22a46
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14-flambda@sha256:17f164e87be56c1fbfc25ebae866364eb5136cde967426d38b4d06c80739abbc
# debian-12-4.14+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 2df846cb67d6f96ae4fced111519ff4ae27d19ae || git fetch origin master) && git reset -q --hard 2df846cb67d6f96ae4fced111519ff4ae27d19ae && 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.16.4 base-bigarray.base base-threads.base base-unix.base cinaps.v0.15.1 cmdliner.1.3.0 csexp.1.5.2 dune.3.19.0 dune-configurator.3.19.0 ocaml.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-variants.4.14.2+options ocamlfind.1.9.8 ppx_derivers.1.2.1 re.1.12.0 seq.base sexplib0.v0.16.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-05-28 19:12.45: Using cache hint "ocaml-ppx/ppxlib-ocaml/opam:debian-12-ocaml-4.14-flambda@sha256:17f164e87be56c1fbfc25ebae866364eb5136cde967426d38b4d06c80739abbc-debian-12-4.14+flambda_opam-2.3-93ce725dd31f8dc881f19d0a7558a165"
2025-05-28 19:12.45: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14-flambda@sha256:17f164e87be56c1fbfc25ebae866364eb5136cde967426d38b4d06c80739abbc)
 (comment debian-12-4.14+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 2df846cb67d6f96ae4fced111519ff4ae27d19ae || git fetch origin master) && git reset -q --hard 2df846cb67d6f96ae4fced111519ff4ae27d19ae && 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.16.4 base-bigarray.base base-threads.base base-unix.base cinaps.v0.15.1 cmdliner.1.3.0 csexp.1.5.2 dune.3.19.0 dune-configurator.3.19.0 ocaml.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-variants.4.14.2+options ocamlfind.1.9.8 ppx_derivers.1.2.1 re.1.12.0 seq.base sexplib0.v0.16.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-05-28 19:12.45: Waiting for resource in pool OCluster
2025-05-28 19:12.45: Waiting for worker…
2025-05-28 19:12.45: Got resource from pool OCluster
Building on x86-bm-c1.sw.ocaml.org
HEAD is now at 79a61a10 Add printer config to pp_ast
HEAD is now at 8ce22a46 Improve Makefile

(from ocaml/opam:debian-12-ocaml-4.14-flambda@sha256:17f164e87be56c1fbfc25ebae866364eb5136cde967426d38b4d06c80739abbc)
2025-05-28 19:13.04 ---> saved as "4ef1ce058d738d1dd7e34b7acbe513baf538526be7b5466906c4200ea5618417"

/: (comment debian-12-4.14+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-05-28 19:13.04 ---> saved as "9c542ad2b8a3e7fb088319f501a500c28f523f4cc2f2be1cd5d1c2db030f0841"

/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-05-28 19:13.38 ---> saved as "206209894da78489322495360798a464da464bf70aebcc51701df23ce3abe2db"

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-05-28 19:13.38 ---> saved as "c4420f9484d37c3d79075b87ab880fe17b230504251cb9d2f900f2cea2416335"

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-05-28 19:13.38 ---> saved as "f3961320f050e68032496b82893b0937c4fca05b8ed633e3d780255baa5f550c"

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 2df846cb67d6f96ae4fced111519ff4ae27d19ae || git fetch origin master) && git reset -q --hard 2df846cb67d6f96ae4fced111519ff4ae27d19ae && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   0d013e603b..11859fd62a  master     -> origin/master
2df846cb67 Merge pull request #27910 from maiste/release-dune-3.19.0

<><> 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-05-28 19:14.05 ---> saved as "4ccfaeeef341417bc7b27214aec301d40ab28ad72e86769ebf44ef9e60e2a6d1"

/src: (copy (src ppxlib.opam ppxlib-tools.opam ppxlib-bench.opam) (dst ./))
2025-05-28 19:14.05 ---> saved as "44cb3293713177b8e66650ecdcec0a2c7a9f9da567ac48ad5f5fbaff513dca1c"

/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-05-28 19:14.11 ---> saved as "b5d0a14b1a39307012e496a33b8f9e2a29008e7e0bc8e954273dceb239f18908"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-05-28 19:14.11 ---> saved as "c24e41b1a15b745da84837bc7bd5a7ba318f602d54f5754979a34413ffbed17d"

/src: (env DEPS "base.v0.16.4 base-bigarray.base base-threads.base base-unix.base cinaps.v0.15.1 cmdliner.1.3.0 csexp.1.5.2 dune.3.19.0 dune-configurator.3.19.0 ocaml.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-variants.4.14.2+options ocamlfind.1.9.8 ppx_derivers.1.2.1 re.1.12.0 seq.base sexplib0.v0.16.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"
- Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
- 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 bookworm/main amd64 Packages [8793 kB]
- Get:5 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [261 kB]
- Fetched 9309 kB in 1s (6504 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 4.14.2+options).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml is already installed (current version is 4.14.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).
2025-05-28 19:14.25 ---> saved as "8528452f76ec3e956ece4208d09981062d9460be6742c9e12aae5ef5cc3ba5c9"

/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 4.14.2+options).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml is already installed (current version is 4.14.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 14 packages
  - install base                v0.16.4
  - install cinaps              v0.15.1
  - install cmdliner            1.3.0
  - install csexp               1.5.2
  - install dune                3.19.0
  - install dune-configurator   3.19.0
  - install ocaml-compiler-libs v0.12.4
  - install ocamlfind           1.9.8
  - install ppx_derivers        1.2.1
  - install re                  1.12.0
  - install seq                 base
  - install sexplib0            v0.16.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.16.4  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved sexplib0.v0.16.0  (cached)
-> retrieved re.1.12.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved yojson.2.2.2  (cached)
-> retrieved dune.3.19.0, dune-configurator.3.19.0  (cached)
-> installed cmdliner.1.3.0
-> installed ocamlfind.1.9.8
-> installed dune.3.19.0
-> installed ppx_derivers.1.2.1
-> installed stdlib-shims.0.3.0
-> installed csexp.1.5.2
-> installed sexplib0.v0.16.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed re.1.12.0
-> installed cinaps.v0.15.1
-> installed yojson.2.2.2
-> installed dune-configurator.3.19.0
-> installed base.v0.16.4
Done.
# To update the current shell environment, run: eval $(opam env)
2025-05-28 19:15.26 ---> saved as "fbe4c0e5f14fde736fa09269137110c5a8932fb0d9c54b3bed9383456af76fd6"

/src: (copy (src .) (dst /src))
2025-05-28 19:15.26 ---> saved as "9f5eb15c17df2b170dee0db3e636051da08c52979fd2ae603e2dad4257ff12b4"

/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-05-28 19:15.53 ---> saved as "5b7b5da079842cf7c2dd8aaf9899b77ff3a9914f99fdafbf423a7202c73f7afd"
Job succeeded
2025-05-28 19:15.53: Job succeeded