Organisationsocaml-ppxppxlibef0e7a ()fedora-42-4.14_opam-2.5

fedora-42-4.14_opam-2.5

Logs

Show full logs
2026-05-28 09:25.34: New job: test ocaml-ppx/ppxlib https://github.com/ocaml-ppx/ppxlib.git#refs/pull/640/head (ef0e7a3d35d47d7deae20411a938c6460280fd8b) (linux-x86_64:fedora-42-4.14_opam-2.5)
Base: ocaml/opam:fedora-42-ocaml-4.14@sha256:c98184b429ae2d8b49f7d5bdb31a1c12d236f4e6f580bbe7a08e8f5126fd8b1c
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/ocaml-ppx/ppxlib.git" && cd "ppxlib" && git fetch origin "refs/pull/640/head" && git reset --hard ef0e7a3d
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-42-ocaml-4.14@sha256:c98184b429ae2d8b49f7d5bdb31a1c12d236f4e6f580bbe7a08e8f5126fd8b1c
# fedora-42-4.14_opam-2.5
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo dnf install -y findutils
RUN sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam
RUN cd ~/opam-repository && (git cat-file -e c180e1630960e0dbb8e30c22b3de89113eb5cc93 || git fetch origin master) && git reset -q --hard c180e1630960e0dbb8e30c22b3de89113eb5cc93 && git log --no-decorate -n1 --oneline
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
WORKDIR /src
RUN sudo chown opam /src
RUN 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.5 base-bigarray.base base-threads.base base-unix.base cinaps.v0.15.1 cmdliner.2.1.1 csexp.1.5.2 dune.3.23.1 dune-configurator.3.23.1 ocaml.4.14.3 ocaml-base-compiler.4.14.3 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 re.1.14.0 sexplib0.v0.16.0 yojson.3.0.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.5 --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

2026-05-28 09:25.34: Using cache hint "ocaml-ppx/ppxlib-ocaml/opam:fedora-42-ocaml-4.14@sha256:c98184b429ae2d8b49f7d5bdb31a1c12d236f4e6f580bbe7a08e8f5126fd8b1c-fedora-42-4.14_opam-2.5-b6845581f92920747431b0604845e618"
2026-05-28 09:25.34: Using OBuilder spec:
((from ocaml/opam:fedora-42-ocaml-4.14@sha256:c98184b429ae2d8b49f7d5bdb31a1c12d236f4e6f580bbe7a08e8f5126fd8b1c)
 (comment fedora-42-4.14_opam-2.5)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (network host)
      (shell "sudo dnf install -y findutils"))
 (run (shell "sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "cd ~/opam-repository && (git cat-file -e c180e1630960e0dbb8e30c22b3de89113eb5cc93 || git fetch origin master) && git reset -q --hard c180e1630960e0dbb8e30c22b3de89113eb5cc93 && git log --no-decorate -n1 --oneline"))
 (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 "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 (shell "echo '(lang dune 3.0)' > './dune-project'"))
 (env DEPS "base.v0.16.5 base-bigarray.base base-threads.base base-unix.base cinaps.v0.15.1 cmdliner.2.1.1 csexp.1.5.2 dune.3.23.1 dune-configurator.3.23.1 ocaml.4.14.3 ocaml-base-compiler.4.14.3 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 re.1.14.0 sexplib0.v0.16.0 yojson.3.0.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.5 --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"))
)

2026-05-28 09:25.34: Waiting for resource in pool OCluster
2026-05-28 09:25.34: Waiting for worker…
2026-05-28 09:25.34: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
HEAD is now at ef0e7a3d Add suggestions to invalid_encoding error

(from ocaml/opam:fedora-42-ocaml-4.14@sha256:c98184b429ae2d8b49f7d5bdb31a1c12d236f4e6f580bbe7a08e8f5126fd8b1c)
2026-05-28 09:25.36 ---> using "d6fe15df77b3a111d45d862be5c74b6456bc40f6c5b697aabe49f618497a8b84" from cache

/: (comment fedora-42-4.14_opam-2.5)

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

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (workdir /src)

/src: (run (network host)
           (shell "sudo dnf install -y findutils"))
Updating and loading repositories:
 Fedora 42 - x86_64 - Updates           100% |   6.8 KiB/s |  15.4 KiB |  00m02s
 Fedora 42 - x86_64                     100% |  24.9 KiB/s |  19.1 KiB |  00m01s
 Fedora 42 openh264 (From Cisco) - x86_ 100% |   3.7 KiB/s | 986.0   B |  00m00s
Repositories loaded.
Package "findutils-1:4.10.0-5.fc42.x86_64" is already installed.

Nothing to do.
2026-05-28 09:25.47 ---> saved as "499faf50fd8058f01ec5851f37f42bbbca95b5b4b71fe30a0639db219e40a217"

/src: (run (shell "sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam"))
2026-05-28 09:25.47 ---> saved as "21cf7ec937c8a39389ed081cf8deff7150aa12b677b816e7637de272b3bb3213"

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e c180e1630960e0dbb8e30c22b3de89113eb5cc93 || git fetch origin master) && git reset -q --hard c180e1630960e0dbb8e30c22b3de89113eb5cc93 && git log --no-decorate -n1 --oneline"))
c180e16309 Merge pull request #29907 from dra27/host-arch-fixes
2026-05-28 09:25.50 ---> saved as "026d5243d2a6a03f034f14226e61aa3b2de58ad6d7a5e919a579980642d87732"

/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.1 to version 2.2, which can't be reverted.
You may want to back it up before going further.

[NOTE] The 'jobs' option was reset, its value was 1 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=1 --global
Continue? [Y/n] y
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] Could not update repository "ocaml-patches-overlay": "/usr/sbin/git fetch -q" exited with code 128 "fatal: unable to access 'https://github.com/ocurrent/opam-repository/': Could not resolve host: github.com"
[default] synchronised from git+file:///home/opam/opam-repository
2026-05-28 09:26.03 ---> saved as "8a89c9b033451e4f687e4772d232356093f39882c4430bf264c5dedcb32c0b48"

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-107-generic
The OCaml toplevel, version 4.14.3
2.5.1
2026-05-28 09:26.03 ---> saved as "3e0026c63498a2cd048ca12681c22ecdd7c9233ab94841a14459d40f8a826cea"

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2026-05-28 09:26.04 ---> saved as "c243b8c10d8539d6d5db26ebd0ca8b54f4b87041b05013eb0e5c8294768732aa"

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam update -u"))

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[ocaml-patches-overlay] no changes from git+https://github.com/ocurrent/opam-repository#patches
[default] no changes from git+file:///home/opam/opam-repository

Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).

The following packages are not being upgraded because the new versions conflict with other installed packages:
  - ocaml.5.5.0
  - ocaml-config.3
However, you may "opam upgrade" these packages explicitly at these versions (e.g. "opam upgrade ocaml.5.5.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)
2026-05-28 09:26.13 ---> saved as "ceaf2c3f8838e544a1f0e43f59f9f9e5f43ad0dd0ce8eed86a167f2fa4dea71b"

/src: (copy (src ppxlib.opam ppxlib-tools.opam ppxlib-bench.opam) (dst ./))
2026-05-28 09:26.13 ---> saved as "8e6f273785f4baf4ee2e93e86c27a0421738eb16ff561666e3865285e25f99c9"

/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)
[NOTE] Package ppxlib-bench does not exist in opam repositories registered in the current switch.
[ppxlib-bench.dev] synchronised (file:///src)
ppxlib-bench is now pinned to file:///src (version dev)
2026-05-28 09:26.16 ---> saved as "a273842b9bdf7f01ef47f5457b6921091724f22ad3508bf0ea0fc1ffcdcc9e5c"

/src: (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-05-28 09:26.16 ---> saved as "fc2766b0a19fda0c3699db2cb0a5d69686c0bda788bb8d5dd463290e46d233ed"

/src: (env DEPS "base.v0.16.5 base-bigarray.base base-threads.base base-unix.base cinaps.v0.15.1 cmdliner.2.1.1 csexp.1.5.2 dune.3.23.1 dune-configurator.3.23.1 ocaml.4.14.3 ocaml-base-compiler.4.14.3 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 re.1.14.0 sexplib0.v0.16.0 yojson.3.0.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.5 --depext-only -y ppxlib.dev ppxlib-tools.dev ppxlib-bench.dev $DEPS"))
+ /usr/sbin/sudo "yum" "makecache"
- Updating and loading repositories:
- Repositories loaded.
- Metadata cache created.

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ppxlib.dev] synchronised (file:///src)
[ppxlib-bench.dev] synchronised (file:///src)
[ppxlib-tools.dev] synchronised (file:///src)

[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.3).
[NOTE] Package ocaml is already installed (current version is 4.14.3).
[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).
# To update the current shell environment, run: eval $(opam env)
2026-05-28 09:26.25 ---> saved as "1f6a9e56ab777c011c2adb0d127aff3beda8332d0df769538c4c375dd2e94301"

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam install $DEPS"))
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.3).
[NOTE] Package ocaml is already installed (current version is 4.14.3).
[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 12 packages
  - install base                v0.16.5
  - install cinaps              v0.15.1
  - install cmdliner            2.1.1
  - install csexp               1.5.2
  - install dune                3.23.1
  - install dune-configurator   3.23.1
  - install ocaml-compiler-libs v0.12.4
  - install ocamlfind           1.9.8
  - install ppx_derivers        1.2.1
  - install re                  1.14.0
  - install sexplib0            v0.16.0
  - install yojson              3.0.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved base.v0.16.5  (cached)
-> retrieved cinaps.v0.15.1  (cached)
-> retrieved cmdliner.2.1.1  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved re.1.14.0  (cached)
-> retrieved sexplib0.v0.16.0  (cached)
-> retrieved yojson.3.0.0  (cached)
-> retrieved dune.3.23.1, dune-configurator.3.23.1  (cached)
-> installed cmdliner.2.1.1
-> installed ocamlfind.1.9.8
-> installed dune.3.23.1
-> installed ppx_derivers.1.2.1
-> installed csexp.1.5.2
-> installed ocaml-compiler-libs.v0.12.4
-> installed re.1.14.0
-> installed sexplib0.v0.16.0
-> installed yojson.3.0.0
-> installed cinaps.v0.15.1
-> installed dune-configurator.3.23.1
-> installed base.v0.16.5
Done.
# To update the current shell environment, run: eval $(opam env)
2026-05-28 09:27.23 ---> saved as "1f642df037c59a1be60d5a94b7790b6cae395ce3fd3c1cbf7eb37ee1ef68c6f1"

/src: (copy (src .) (dst /src))
2026-05-28 09:27.23 ---> saved as "44ca8b3c05ce0144e685140adb2a038fe54f2958dadd824b9bf09e3627ba2143"

/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "dune-project", line 21, characters 2-42:
21 |   (sexplib0 (and :with-test (>= "v0.15"))) ; Printexc.register_printer in sexplib0 changed
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning: Duplicate dependency on package (sexplib0 (and :with-test (>=
v0.15))) in 'depends' field. If you want to specify multiple constraints,
combine them using (and ...).
Hint: To disable this warning, add the following to your dune-project file:
(warnings (duplicate_deps disabled))
2026-05-28 09:27.45 ---> saved as "7074adf31334818288701fb9cbdbc5e4acdc9e48057a9b2830af78de2aaf6f3f"
Job succeeded
2026-05-28 09:27.45: Job succeeded