2025-09-13 13:12.51: New job: test ocaml-ppx/ocamlformat https://github.com/ocaml-ppx/ocamlformat.git#refs/heads/main (6a56a7f337088784ecab93cfa6ada390acc8c5ef) (linux-x86_64:fedora-41-5.3_opam-2.4)
Base: ocaml/opam:fedora-41-ocaml-5.3@sha256:f5f08b3348fe42ae5a91cd3a68fa1c305e7a107b436066fc5fda4e9df66a5e6c
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocaml-ppx/ocamlformat.git" -b "main" && cd "ocamlformat" && git reset --hard 6a56a7f3
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-41-ocaml-5.3@sha256:f5f08b3348fe42ae5a91cd3a68fa1c305e7a107b436066fc5fda4e9df66a5e6c
# fedora-41-5.3_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 1c9b44165f73bd3366a4af940f28503f26d3267e || git fetch origin master) && git reset -q --hard 1c9b44165f73bd3366a4af940f28503f26d3267e && 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.0 astring.0.8.5 base.v0.17.3 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bechamel.0.5.0 camlp-streams.5.0.1 cmdliner.1.3.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.20250428 fmt.0.11.0 fpath.0.7.3 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.1 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocp-indent.1.8.1 re.1.13.2 seq.base sexplib0.v0.17.0 stdio.v0.17.0 stdlib-shims.0.3.0 topkg.1.1.0 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-09-13 13:12.51: Using cache hint "ocaml-ppx/ocamlformat-ocaml/opam:fedora-41-ocaml-5.3@sha256:f5f08b3348fe42ae5a91cd3a68fa1c305e7a107b436066fc5fda4e9df66a5e6c-fedora-41-5.3_opam-2.4-8cf2b48e89edebe8b6af600f858e9602"
2025-09-13 13:12.51: Using OBuilder spec:
((from ocaml/opam:fedora-41-ocaml-5.3@sha256:f5f08b3348fe42ae5a91cd3a68fa1c305e7a107b436066fc5fda4e9df66a5e6c)
(comment fedora-41-5.3_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 1c9b44165f73bd3366a4af940f28503f26d3267e || git fetch origin master) && git reset -q --hard 1c9b44165f73bd3366a4af940f28503f26d3267e && 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.0 astring.0.8.5 base.v0.17.3 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bechamel.0.5.0 camlp-streams.5.0.1 cmdliner.1.3.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.20250428 fmt.0.11.0 fpath.0.7.3 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.1 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocp-indent.1.8.1 re.1.13.2 seq.base sexplib0.v0.17.0 stdio.v0.17.0 stdlib-shims.0.3.0 topkg.1.1.0 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-09-13 13:12.51: Waiting for resource in pool OCluster
2025-09-13 14:37.07: Waiting for worker…
2025-09-13 14:41.12: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at 6a56a7f3 Reduce diff in vendored parsers (#2722)
(from ocaml/opam:fedora-41-ocaml-5.3@sha256:f5f08b3348fe42ae5a91cd3a68fa1c305e7a107b436066fc5fda4e9df66a5e6c)
Unable to find image 'ocaml/opam:fedora-41-ocaml-5.3@sha256:f5f08b3348fe42ae5a91cd3a68fa1c305e7a107b436066fc5fda4e9df66a5e6c' locally
docker.io/ocaml/opam@sha256:f5f08b3348fe42ae5a91cd3a68fa1c305e7a107b436066fc5fda4e9df66a5e6c: Pulling from ocaml/opam
0c4ea020f5c7: Pulling fs layer
bb5edd328d49: Pulling fs layer
7653d18249da: Pulling fs layer
bb5edd328d49: Waiting
498e80679739: Pulling fs layer
0c4ea020f5c7: Waiting
780a651e82b9: Pulling fs layer
d26ab6d443f2: Pulling fs layer
780a651e82b9: Waiting
bb5edd328d49: Verifying Checksum
bb5edd328d49: Download complete
0c4ea020f5c7: Verifying Checksum
0c4ea020f5c7: Download complete
498e80679739: Download complete
780a651e82b9: Verifying Checksum
780a651e82b9: Download complete
d26ab6d443f2: Verifying Checksum
d26ab6d443f2: Download complete
0c4ea020f5c7: Pull complete
bb5edd328d49: Pull complete
7653d18249da: Verifying Checksum
7653d18249da: Download complete
7653d18249da: Pull complete
498e80679739: Pull complete
780a651e82b9: Pull complete
d26ab6d443f2: Pull complete
Digest: sha256:f5f08b3348fe42ae5a91cd3a68fa1c305e7a107b436066fc5fda4e9df66a5e6c
Status: Downloaded newer image for ocaml/opam@sha256:f5f08b3348fe42ae5a91cd3a68fa1c305e7a107b436066fc5fda4e9df66a5e6c
2025-09-13 14:41.13 ---> using "77932ed08d0a913a0be50df49d164ac702f06db62378e7fc2fe69b435778c931" from cache
/: (comment fedora-41-5.3_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 41 - x86_64 - Updates 100% | 11.2 KiB/s | 18.1 KiB | 00m02s
Fedora 41 - x86_64 100% | 21.9 KiB/s | 26.0 KiB | 00m01s
Fedora 41 openh264 (From Cisco) - x86_ 100% | 2.7 KiB/s | 986.0 B | 00m00s
Repositories loaded.
Package "findutils-1:4.10.0-4.fc41.x86_64" is already installed.
Nothing to do.
2025-09-13 14:41.13 ---> using "5a11b3ecc08c13b474f973c6ed6bda9d943e5e42d89b96e76b2acf1288582de1" from cache
/src: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-09-13 14:41.13 ---> using "38018181ca3d651caf83793cac79b175152687b7fd1b8e68982c374718136be1" 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-09-13 14:41.13 ---> using "81d422c2e27804f36d63a7c4ecc0c003e51fdf455e9af60b0ab6f88d6e5655db" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-142-generic
The OCaml toplevel, version 5.3.0
2.4.1
2025-09-13 14:41.13 ---> using "4a5f234704b17b857f4fa77e03c17a26768c9a8a3a79e3a29eb58c5760d8cab9" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-09-13 14:41.13 ---> using "9db28c29175bfe97cd9b16194f056247eb741af3e27b63992acace506e95ed96" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 1c9b44165f73bd3366a4af940f28503f26d3267e || git fetch origin master) && git reset -q --hard 1c9b44165f73bd3366a4af940f28503f26d3267e && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
b3b872a94f..1c9b44165f master -> origin/master
1c9b44165f Merge pull request #28508 from fpottier/opam-publish-menhir.20250912
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository
Already up-to-date.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-09-13 14:41.13 ---> using "2950f0c911b5f8c7fa3ea17cede75ffbe7cf58f1d37d506c9dae975983172dcb" from cache
/src: (copy (src ocamlformat.opam ocamlformat-rpc-lib.opam ocamlformat-lib.opam ocamlformat-bench.opam)
(dst ./))
2025-09-13 14:41.13 ---> saved as "fc98eccb015cfa1b34abe9e5600562214d0ed099629d3af48cdb6eec29e92dc0"
/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-09-13 14:41.16 ---> saved as "018fab7d8a7bcd88032635bec95bf24da263129a84501f3b10b885da6b33c7cd"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-09-13 14:41.16 ---> saved as "08d0af5a9f3131d882fcd2aaeb84c6660abec5bc36c49c215040b35f90244235"
/src: (env DEPS "alcotest.1.9.0 astring.0.8.5 base.v0.17.3 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bechamel.0.5.0 camlp-streams.5.0.1 cmdliner.1.3.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.20250428 fmt.0.11.0 fpath.0.7.3 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.1 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocp-indent.1.8.1 re.1.13.2 seq.base sexplib0.v0.17.0 stdio.v0.17.0 stdlib-shims.0.3.0 topkg.1.1.0 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/bin/sudo "yum" "makecache"
- Updating and loading repositories:
- Fedora 41 - x86_64 - Updates 100% | 137.6 KiB/s | 15.5 KiB | 00m00s
- 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 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-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-09-13 14:41.25 ---> saved as "b6e253be6396e79af39b2e62dc66bb76b9ec7fb1b53bcc9ab5fdd345bcfd5fce"
/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 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-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 35 packages
- install alcotest 1.9.0
- install astring 0.8.5
- install base v0.17.3
- install base-bytes base
- install bechamel 0.5.0
- install camlp-streams 5.0.1
- install cmdliner 1.3.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 20250428
- 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.1
- install ocaml_intrinsics_kernel v0.17.1
- install ocamlbuild 0.16.1
- install ocamlfind 1.9.8
- install ocp-indent 1.8.1
- install re 1.13.2
- install seq base
- install sexplib0 v0.17.0
- install stdio v0.17.0
- install stdlib-shims 0.3.0
- install topkg 1.1.0
- 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.0 (cached)
-> retrieved astring.0.8.5 (cached)
-> retrieved base.v0.17.3 (cached)
-> retrieved bechamel.0.5.0 (cached)
-> retrieved camlp-streams.5.0.1 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved either.1.0.0 (cached)
-> retrieved fmt.0.11.0 (cached)
-> retrieved fix.20250428 (cached)
-> retrieved fpath.0.7.3 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocaml-version.4.0.1 (cached)
-> retrieved ocaml_intrinsics_kernel.v0.17.1 (cached)
-> retrieved menhir.20250912, menhirCST.20250912, menhirLib.20250912, menhirSdk.20250912 (cached)
-> retrieved dune.3.20.2, dune-build-info.3.20.2, dune-configurator.3.20.2 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved seq.base (cached)
-> retrieved ocp-indent.1.8.1 (cached)
-> retrieved re.1.13.2 (cached)
-> retrieved sexplib0.v0.17.0 (cached)
-> retrieved stdio.v0.17.0 (cached)
-> installed cmdliner.1.3.0
-> installed seq.base
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved topkg.1.1.0 (cached)
-> retrieved uuseg.17.0.0 (cached)
-> retrieved uutf.1.0.4 (cached)
-> retrieved uucp.17.0.0 (cached)
-> retrieved yojson.3.0.0 (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.0
-> 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.20250428
-> installed menhirCST.20250912
-> installed menhirLib.20250912
-> installed menhirSdk.20250912
-> installed ocaml-syntax-shims.1.0.0
-> installed ocaml-version.4.0.1
-> installed ocaml_intrinsics_kernel.v0.17.1
-> installed ocp-indent.1.8.1
-> installed re.1.13.2
-> installed sexplib0.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed yojson.3.0.0
-> installed dune-build-info.3.20.2
-> installed alcotest.1.9.0
-> installed dune-configurator.3.20.2
-> installed base.v0.17.3
-> installed stdio.v0.17.0
-> installed uucp.17.0.0
-> installed uuseg.17.0.0
-> installed menhir.20250912
Done.
<><> ocp-indent.1.8.1 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/5.3/share/emacs/site-lisp")
(require 'ocp-indent)
* for Vim, add this line to ~/.vimrc:
set rtp^="/home/opam/.opam/5.3/share/ocp-indent/vim"
# To update the current shell environment, run: eval $(opam env)
2025-09-13 14:42.17 ---> saved as "6b66849ab99f1537f7cc7f8be7b9a2f784358800173c72be694e8bd24bfbf402"
/src: (copy (src .) (dst /src))
2025-09-13 14:42.19 ---> saved as "0cdfb73f935e79c3593adb6706d2b7ff98c2a93edc3d6e02423b12838a158682"
/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 `2T0YLZMQ'.
................................................................................
................................................................................
............................................
2025-09-13 14:42.30 ---> saved as "3a7dd18ca9790c6e5b35e4550291769ca6758c596d07adb09baca9e2161d9079"
Job succeeded
2025-09-13 14:42.31: Job succeeded