Organisationsocaml-ppxocamlformat86f811 (main)fedora-43-4.14_opam-2.4

fedora-43-4.14_opam-2.4

Logs

Show full logs
2025-12-15 14:45.02: New job: test ocaml-ppx/ocamlformat https://github.com/ocaml-ppx/ocamlformat.git#refs/heads/main (86f8112ded10d23b731e629ef306ff4d0d9b80e3) (linux-x86_64:fedora-43-4.14_opam-2.4)
Base: ocaml/opam:fedora-43-ocaml-4.14@sha256:c2538b668bdb09c388cf33a32421565b093bd76bff7bd1f20d16f9cf30f87bf8
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/ocaml-ppx/ocamlformat.git" -b "main" && cd "ocamlformat" && git reset --hard 86f8112d
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-43-ocaml-4.14@sha256:c2538b668bdb09c388cf33a32421565b093bd76bff7bd1f20d16f9cf30f87bf8
# fedora-43-4.14_opam-2.4
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.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 ocamlformat.opam ocamlformat-rpc-lib.opam ocamlformat-lib.opam ocamlformat-bench.opam ./
RUN opam pin add -yn ocamlformat.dev './' && \
    opam pin add -yn ocamlformat-rpc-lib.dev './' && \
    opam pin add -yn ocamlformat-lib.dev './' && \
    opam pin add -yn ocamlformat-bench.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.9.1 astring.0.8.5 base.v0.16.4 base-bigarray.base base-threads.base base-unix.base bechamel.0.5.0 camlp-streams.5.0.1 cmdliner.2.1.0 csexp.1.5.2 dune.3.20.2 dune-build-info.3.20.2 dune-configurator.3.20.2 either.1.0.0 fix.20250919 fmt.0.11.0 fpath.0.7.3 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.3 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocp-indent.1.9.0 re.1.14.0 sexplib0.v0.16.0 stdio.v0.16.0 stdlib-shims.0.3.0 topkg.1.1.1 uucp.17.0.0 uuseg.17.0.0 uutf.1.0.4 yojson.3.0.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y ocamlformat.dev ocamlformat-rpc-lib.dev ocamlformat-lib.dev ocamlformat-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-12-15 14:45.02: Using cache hint "ocaml-ppx/ocamlformat-ocaml/opam:fedora-43-ocaml-4.14@sha256:c2538b668bdb09c388cf33a32421565b093bd76bff7bd1f20d16f9cf30f87bf8-fedora-43-4.14_opam-2.4-e79202321c58e675f319638e648809fa"
2025-12-15 14:45.02: Using OBuilder spec:
((from ocaml/opam:fedora-43-ocaml-4.14@sha256:c2538b668bdb09c388cf33a32421565b093bd76bff7bd1f20d16f9cf30f87bf8)
 (comment fedora-43-4.14_opam-2.4)
 (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.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 ocamlformat.opam ocamlformat-rpc-lib.opam ocamlformat-lib.opam ocamlformat-bench.opam)
       (dst ./))
 (run (network host)
      (shell  "opam pin add -yn ocamlformat.dev './' && \
             \nopam pin add -yn ocamlformat-rpc-lib.dev './' && \
             \nopam pin add -yn ocamlformat-lib.dev './' && \
             \nopam pin add -yn ocamlformat-bench.dev './'"))
 (run (network host)
      (shell "echo '(lang dune 3.0)' > './dune-project'"))
 (env DEPS "alcotest.1.9.1 astring.0.8.5 base.v0.16.4 base-bigarray.base base-threads.base base-unix.base bechamel.0.5.0 camlp-streams.5.0.1 cmdliner.2.1.0 csexp.1.5.2 dune.3.20.2 dune-build-info.3.20.2 dune-configurator.3.20.2 either.1.0.0 fix.20250919 fmt.0.11.0 fpath.0.7.3 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.3 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocp-indent.1.9.0 re.1.14.0 sexplib0.v0.16.0 stdio.v0.16.0 stdlib-shims.0.3.0 topkg.1.1.1 uucp.17.0.0 uuseg.17.0.0 uutf.1.0.4 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.4 --depext-only -y ocamlformat.dev ocamlformat-rpc-lib.dev ocamlformat-lib.dev ocamlformat-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-12-15 14:45.02: Waiting for resource in pool OCluster
2025-12-16 00:10.03: Waiting for worker…
2025-12-16 00:11.26: Got resource from pool OCluster
Building on clete
All commits already cached
HEAD is now at 86f8112d ocaml version is set to 5.4.0 by default to allow effects (#2750)

(from ocaml/opam:fedora-43-ocaml-4.14@sha256:c2538b668bdb09c388cf33a32421565b093bd76bff7bd1f20d16f9cf30f87bf8)
Unable to find image 'ocaml/opam:fedora-43-ocaml-4.14@sha256:c2538b668bdb09c388cf33a32421565b093bd76bff7bd1f20d16f9cf30f87bf8' locally
docker.io/ocaml/opam@sha256:c2538b668bdb09c388cf33a32421565b093bd76bff7bd1f20d16f9cf30f87bf8: Pulling from ocaml/opam
3a6ccf50917d: Already exists
2ac39db0f7b1: Already exists
4ab95fa37585: Already exists
ef05642a6c19: Already exists
6ce4105a6817: Already exists
482e731bee2c: Already exists
82b20b1785fc: Already exists
5033efba3ea4: Already exists
ac061f34d5de: Already exists
3699d934db19: Already exists
c70084606501: Already exists
92cba88bcd96: Already exists
87d6cf018c95: Already exists
47a5774c8fa4: Already exists
a7a793f430ef: Already exists
50749af763e4: Already exists
1931ff52ea8f: Already exists
d6cbdb0b2976: Already exists
c21f3fb8010b: Already exists
006e8a0d5bfe: Already exists
4f4fb700ef54: Already exists
bff3cbb02176: Already exists
b5138c38b1e4: Already exists
f9df0a6b27ec: Already exists
199f7dd22bb1: Already exists
4704820b8848: Already exists
813e8e89161a: Already exists
3fef5dd9f9c7: Already exists
33b83451bd83: Already exists
f32a57644710: Already exists
40216abfd9f1: Already exists
d689b2a1b34b: Already exists
c515a0f2353f: Already exists
6b7f7c537f40: Already exists
2def47abdae6: Already exists
fd11b9527539: Already exists
b49b2a2f9119: Already exists
23b9806e7d7a: Already exists
251f6be3be0f: Already exists
7da16a6d9e8c: Already exists
7a4136c504bf: Already exists
e19c7fce326a: Already exists
418b2b7b43fc: Already exists
Digest: sha256:c2538b668bdb09c388cf33a32421565b093bd76bff7bd1f20d16f9cf30f87bf8
Status: Downloaded newer image for ocaml/opam@sha256:c2538b668bdb09c388cf33a32421565b093bd76bff7bd1f20d16f9cf30f87bf8
2025-12-16 00:11.26 ---> using "a51b0f106be4690b07e60d24f33e1310d1d782df2a7400a06464f0e0b48528b1" from cache

/: (comment fedora-43-4.14_opam-2.4)

/: (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 43 - x86_64                     100% |  56.4 KiB/s |  22.6 KiB |  00m00s
 Fedora 43 openh264 (From Cisco) - x86_ 100% |   3.2 KiB/s | 986.0   B |  00m00s
 Fedora 43 - x86_64 - Updates           100% |  78.9 KiB/s |  16.3 KiB |  00m00s
Repositories loaded.
Package "findutils-1:4.10.0-6.fc43.x86_64" is already installed.

Nothing to do.
2025-12-16 00:11.26 ---> using "2b2e46638c144536179d5c37b2de70d91418d83d3a180b29c18c66bd8eb06920" from cache

/src: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-12-16 00:11.26 ---> using "759524c1e1bf708f77a099514c93fc3e43a0e1b6db6fce180487ff8666de0866" 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:11.26 ---> using "99e291459f2bd89547f1913b08ef80ed34fa3dd410356053eabab95807e248b9" from cache

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

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-12-16 00:11.26 ---> using "a4333db763f0b907ca935a79713a519542557af741bf2e280ef0b29fa1652c72" 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
   2ec6d6cc92..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:11.26 ---> using "e99de5440e0690889769c06123cd9d64cdd5a07d1d432ade4664f786a6ab3c67" from cache

/src: (copy (src ocamlformat.opam ocamlformat-rpc-lib.opam ocamlformat-lib.opam ocamlformat-bench.opam)
            (dst ./))
2025-12-16 00:11.28 ---> saved as "fb77c681fd9922b9819314b18436af238baf33908a7269fd0d4f4e069a50ae95"

/src: (run (network host)
           (shell  "opam pin add -yn ocamlformat.dev './' && \
                  \nopam pin add -yn ocamlformat-rpc-lib.dev './' && \
                  \nopam pin add -yn ocamlformat-lib.dev './' && \
                  \nopam pin add -yn ocamlformat-bench.dev './'"))
[ocamlformat.dev] synchronised (file:///src)
ocamlformat is now pinned to file:///src (version dev)
[ocamlformat-rpc-lib.dev] synchronised (file:///src)
ocamlformat-rpc-lib is now pinned to file:///src (version dev)
[ocamlformat-lib.dev] synchronised (file:///src)
ocamlformat-lib is now pinned to file:///src (version dev)
[NOTE] Package ocamlformat-bench does not exist in opam repositories registered in the current switch.
[ocamlformat-bench.dev] synchronised (file:///src)
[WARNING] Failed checks on ocamlformat-bench package definition from source at file:///src:
  warning 68: Missing field 'license'
ocamlformat-bench is now pinned to file:///src (version dev)
2025-12-16 00:11.34 ---> saved as "6a483078155f6e15ccfc17ce2aa4d8f03e6157bb4bd11b8ee0ca09fde7d7b4a1"

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

/src: (env DEPS "alcotest.1.9.1 astring.0.8.5 base.v0.16.4 base-bigarray.base base-threads.base base-unix.base bechamel.0.5.0 camlp-streams.5.0.1 cmdliner.2.1.0 csexp.1.5.2 dune.3.20.2 dune-build-info.3.20.2 dune-configurator.3.20.2 either.1.0.0 fix.20250919 fmt.0.11.0 fpath.0.7.3 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.3 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocp-indent.1.9.0 re.1.14.0 sexplib0.v0.16.0 stdio.v0.16.0 stdlib-shims.0.3.0 topkg.1.1.1 uucp.17.0.0 uuseg.17.0.0 uutf.1.0.4 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.4 --depext-only -y ocamlformat.dev ocamlformat-rpc-lib.dev ocamlformat-lib.dev ocamlformat-bench.dev $DEPS"))
+ /usr/sbin/sudo "yum" "makecache"
- Updating and loading repositories:
- Repositories loaded.
- Metadata cache created.

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ocamlformat.dev] synchronised (file:///src)
[ocamlformat-bench.dev] synchronised (file:///src)
[ocamlformat-lib.dev] synchronised (file:///src)
[ocamlformat-rpc-lib.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.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-12-16 00:11.55 ---> saved as "28a607e82ef1aeb598bab00cdf47237510c23f6b3a7c51c8cec96519ac465c3c"

/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.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 32 packages
  - install alcotest           1.9.1
  - install astring            0.8.5
  - install base               v0.16.4
  - install bechamel           0.5.0
  - install camlp-streams      5.0.1
  - install cmdliner           2.1.0
  - install csexp              1.5.2
  - install dune               3.20.2
  - install dune-build-info    3.20.2
  - install dune-configurator  3.20.2
  - install either             1.0.0
  - install fix                20250919
  - install fmt                0.11.0
  - install fpath              0.7.3
  - install menhir             20250912
  - install menhirCST          20250912
  - install menhirLib          20250912
  - install menhirSdk          20250912
  - install ocaml-syntax-shims 1.0.0
  - install ocaml-version      4.0.3
  - install ocamlbuild         0.16.1
  - install ocamlfind          1.9.8
  - install ocp-indent         1.9.0
  - install re                 1.14.0
  - install sexplib0           v0.16.0
  - install stdio              v0.16.0
  - install stdlib-shims       0.3.0
  - install topkg              1.1.1
  - install uucp               17.0.0
  - install uuseg              17.0.0
  - install uutf               1.0.4
  - install yojson             3.0.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.9.1  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved base.v0.16.4  (cached)
-> retrieved bechamel.0.5.0  (cached)
-> retrieved camlp-streams.5.0.1  (cached)
-> retrieved cmdliner.2.1.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved either.1.0.0  (cached)
-> retrieved fix.20250919  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocaml-version.4.0.3  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved menhir.20250912, menhirCST.20250912, menhirLib.20250912, menhirSdk.20250912  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved dune.3.20.2, dune-build-info.3.20.2, dune-configurator.3.20.2  (cached)
-> retrieved ocp-indent.1.9.0  (cached)
-> retrieved re.1.14.0  (cached)
-> retrieved sexplib0.v0.16.0  (cached)
-> retrieved stdio.v0.16.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved uuseg.17.0.0  (cached)
-> retrieved topkg.1.1.1  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved yojson.3.0.0  (cached)
-> retrieved uucp.17.0.0  (cached)
-> installed cmdliner.2.1.0
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed fpath.0.7.3
-> installed dune.3.20.2
-> installed bechamel.0.5.0
-> installed camlp-streams.5.0.1
-> installed csexp.1.5.2
-> installed either.1.0.0
-> installed fix.20250919
-> installed menhirCST.20250912
-> installed menhirLib.20250912
-> installed menhirSdk.20250912
-> installed ocaml-syntax-shims.1.0.0
-> installed ocaml-version.4.0.3
-> installed re.1.14.0
-> installed ocp-indent.1.9.0
-> installed sexplib0.v0.16.0
-> installed stdlib-shims.0.3.0
-> installed yojson.3.0.0
-> installed dune-build-info.3.20.2
-> installed alcotest.1.9.1
-> installed dune-configurator.3.20.2
-> installed base.v0.16.4
-> installed stdio.v0.16.0
-> installed menhir.20250912
-> installed uucp.17.0.0
-> installed uuseg.17.0.0
Done.

<><> ocp-indent.1.9.0 installed successfully ><><><><><><><><><><><><><><><><><>
=> This package requires additional configuration for use in editors. Install package 'user-setup', or manually:

   * for Emacs, add these lines to ~/.emacs:
     (add-to-list 'load-path "/home/opam/.opam/4.14/share/emacs/site-lisp")
     (require 'ocp-indent)

   * for Vim, add this line to ~/.vimrc:
     set rtp^="/home/opam/.opam/4.14/share/ocp-indent/vim"
# To update the current shell environment, run: eval $(opam env)
2025-12-16 00:13.47 ---> saved as "330fbbc59acddfd3701c1a84cbefd8683856b6cb17a5d1617df6a3e41700aab6"

/src: (copy (src .) (dst /src))
2025-12-16 00:13.50 ---> saved as "8c8eaf77785c95c2685cd118ea8250c37fc66dad6f97cb1867fb199912bf1d54"

/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test/unit && ./test_unit.exe)
Testing `ocamlformat'.
This run has ID `2H6GQI3W'.

................................................................................
................................................................................
............................................

2025-12-16 00:14.46 ---> saved as "eff487e108bb053a1b33dfc55d624f5bbe2d3b43431743bd33e9e740c1dabbe8"
Job succeeded
2025-12-16 00:14.46: Job succeeded