2025-10-02 01:46.56: New job: test ocaml-ppx/ocamlformat https://github.com/ocaml-ppx/ocamlformat.git#refs/heads/main (c6c2477d78cdaa8ccb9fca1fe4b4b052a038df12) (linux-s390x:debian-13-5.3_s390x_opam-2.4) Base: ocaml/opam:debian-13-ocaml-5.3@sha256:946a435b740dedd4445fba93a74cd702a670edc5c67325ef40b9b809a6b09ee1 Opam project build To reproduce locally: git clone --recursive "https://github.com/ocaml-ppx/ocamlformat.git" -b "main" && cd "ocamlformat" && git reset --hard c6c2477d cat > Dockerfile <<'END-OF-DOCKERFILE' FROM ocaml/opam:debian-13-ocaml-5.3@sha256:946a435b740dedd4445fba93a74cd702a670edc5c67325ef40b9b809a6b09ee1 # debian-13-5.3_s390x_opam-2.4 USER 1000:1000 ENV CLICOLOR_FORCE="1" ENV OPAMCOLOR="always" WORKDIR /src 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 f0e79555a122d396c3443ee754a7ea05991c000d || git fetch origin master) && git reset -q --hard f0e79555a122d396c3443ee754a7ea05991c000d && 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.17.3 base-bigarray.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.2.0.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.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.9.0 re.1.14.0 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-10-02 01:46.56: Using cache hint "ocaml-ppx/ocamlformat-ocaml/opam:debian-13-ocaml-5.3@sha256:946a435b740dedd4445fba93a74cd702a670edc5c67325ef40b9b809a6b09ee1-debian-13-5.3_s390x_opam-2.4-de70d2394c56b1ab5da1a0237d21e7ea" 2025-10-02 01:46.56: Using OBuilder spec: ((from ocaml/opam:debian-13-ocaml-5.3@sha256:946a435b740dedd4445fba93a74cd702a670edc5c67325ef40b9b809a6b09ee1) (comment debian-13-5.3_s390x_opam-2.4) (user (uid 1000) (gid 1000)) (env CLICOLOR_FORCE 1) (env OPAMCOLOR always) (workdir /src) (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 f0e79555a122d396c3443ee754a7ea05991c000d || git fetch origin master) && git reset -q --hard f0e79555a122d396c3443ee754a7ea05991c000d && 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.17.3 base-bigarray.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.2.0.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.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.9.0 re.1.14.0 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-10-02 01:46.56: Waiting for resource in pool OCluster 2025-10-02 04:12.32: Waiting for worker… 2025-10-02 13:43.18: Got resource from pool OCluster Building on s390x-worker-01.marist.ci.dev All commits already cached HEAD is now at c6c2477d Fix quadratic command-line parsing (#2724) (from ocaml/opam:debian-13-ocaml-5.3@sha256:946a435b740dedd4445fba93a74cd702a670edc5c67325ef40b9b809a6b09ee1) Unable to find image 'ocaml/opam:debian-13-ocaml-5.3@sha256:946a435b740dedd4445fba93a74cd702a670edc5c67325ef40b9b809a6b09ee1' locally docker.io/ocaml/opam@sha256:946a435b740dedd4445fba93a74cd702a670edc5c67325ef40b9b809a6b09ee1: Pulling from ocaml/opam 28eee642962f: Pulling fs layer a3da74fabe44: Pulling fs layer 954a4b28c4ac: Pulling fs layer 33f722f84002: Pulling fs layer 22230ea145a1: Pulling fs layer fecf6f44f284: Pulling fs layer 217bd4fede6a: Pulling fs layer a33647dc2e72: Pulling fs layer d79780697501: Pulling fs layer 9e23f7ffff2e: Pulling fs layer eb75e063aff4: Pulling fs layer 388fcd98e415: Pulling fs layer c1d354e88d38: Pulling fs layer a0f5e7e96636: Pulling fs layer ba5ff5ec60bd: Pulling fs layer 9aaa23f50bbc: Pulling fs layer d10db0662178: Pulling fs layer cd6f63b0f0f8: Pulling fs layer ac5365aa1a11: Pulling fs layer 6587968fd88d: Pulling fs layer e588d084fdc6: Pulling fs layer 4f4fb700ef54: Pulling fs layer 4a5997d73c6d: Pulling fs layer e541ac1e928e: Pulling fs layer 728b5511169a: Pulling fs layer 959e36346cbe: Pulling fs layer 1b8a5fe2cec2: Pulling fs layer e74fadbc5d0b: Pulling fs layer ed67b78ce4dd: Pulling fs layer 427304383c22: Pulling fs layer 3463eb278ac2: Pulling fs layer 5f56c9cf090b: Pulling fs layer dbb81f611d3c: Pulling fs layer 06c3f641d2b9: Pulling fs layer f910b4833e6f: Pulling fs layer b3a11d4a0fca: Pulling fs layer 0031525c35e8: Pulling fs layer 007ec72ca1b8: Pulling fs layer b29860215095: Pulling fs layer c167a5bdeab6: Pulling fs layer 93d4ce2df207: Pulling fs layer 862c54328363: Pulling fs layer 2e908b3ce2d6: Pulling fs layer f09cf053f2bc: Pulling fs layer 2acb49eeb552: Pulling fs layer 92112839f012: Pulling fs layer 6d8e157125dc: Pulling fs layer 33f722f84002: Waiting 22230ea145a1: Waiting fecf6f44f284: Waiting 217bd4fede6a: Waiting a33647dc2e72: Waiting d79780697501: Waiting 9e23f7ffff2e: Waiting eb75e063aff4: Waiting 388fcd98e415: Waiting c1d354e88d38: Waiting a0f5e7e96636: Waiting ba5ff5ec60bd: Waiting 9aaa23f50bbc: Waiting d10db0662178: Waiting cd6f63b0f0f8: Waiting ac5365aa1a11: Waiting 6587968fd88d: Waiting e588d084fdc6: Waiting 4f4fb700ef54: Waiting 4a5997d73c6d: Waiting e541ac1e928e: Waiting 728b5511169a: Waiting 959e36346cbe: Waiting 1b8a5fe2cec2: Waiting e74fadbc5d0b: Waiting ed67b78ce4dd: Waiting 427304383c22: Waiting 3463eb278ac2: Waiting 5f56c9cf090b: Waiting dbb81f611d3c: Waiting 06c3f641d2b9: Waiting f910b4833e6f: Waiting b3a11d4a0fca: Waiting 0031525c35e8: Waiting 007ec72ca1b8: Waiting b29860215095: Waiting c167a5bdeab6: Waiting 93d4ce2df207: Waiting 862c54328363: Waiting 2e908b3ce2d6: Waiting f09cf053f2bc: Waiting 2acb49eeb552: Waiting 92112839f012: Waiting 6d8e157125dc: Waiting a3da74fabe44: Verifying Checksum a3da74fabe44: Download complete 954a4b28c4ac: Verifying Checksum 954a4b28c4ac: Download complete 28eee642962f: Verifying Checksum 28eee642962f: Download complete 22230ea145a1: Verifying Checksum 22230ea145a1: Download complete 33f722f84002: Verifying Checksum 33f722f84002: Download complete 217bd4fede6a: Verifying Checksum 217bd4fede6a: Download complete a33647dc2e72: Download complete d79780697501: Verifying Checksum d79780697501: Download complete eb75e063aff4: Verifying Checksum eb75e063aff4: Download complete 9e23f7ffff2e: Verifying Checksum 9e23f7ffff2e: Download complete c1d354e88d38: Verifying Checksum c1d354e88d38: Download complete a0f5e7e96636: Download complete ba5ff5ec60bd: Verifying Checksum ba5ff5ec60bd: Download complete 388fcd98e415: Download complete fecf6f44f284: Verifying Checksum fecf6f44f284: Download complete d10db0662178: Verifying Checksum d10db0662178: Download complete 9aaa23f50bbc: Verifying Checksum 9aaa23f50bbc: Download complete ac5365aa1a11: Verifying Checksum ac5365aa1a11: Download complete cd6f63b0f0f8: Verifying Checksum cd6f63b0f0f8: Download complete 6587968fd88d: Verifying Checksum 6587968fd88d: Download complete 4f4fb700ef54: Verifying Checksum 4f4fb700ef54: Download complete e588d084fdc6: Verifying Checksum e588d084fdc6: Download complete 4a5997d73c6d: Verifying Checksum 4a5997d73c6d: Download complete 728b5511169a: Verifying Checksum 728b5511169a: Download complete e541ac1e928e: Verifying Checksum e541ac1e928e: Download complete 1b8a5fe2cec2: Download complete 28eee642962f: Pull complete 959e36346cbe: Verifying Checksum 959e36346cbe: Download complete a3da74fabe44: Pull complete 954a4b28c4ac: Pull complete ed67b78ce4dd: Verifying Checksum ed67b78ce4dd: Download complete e74fadbc5d0b: Verifying Checksum e74fadbc5d0b: Download complete 427304383c22: Download complete 3463eb278ac2: Verifying Checksum 3463eb278ac2: Download complete 5f56c9cf090b: Verifying Checksum 5f56c9cf090b: Download complete dbb81f611d3c: Verifying Checksum dbb81f611d3c: Download complete 06c3f641d2b9: Verifying Checksum 06c3f641d2b9: Download complete b3a11d4a0fca: Verifying Checksum b3a11d4a0fca: Download complete 33f722f84002: Pull complete 22230ea145a1: Pull complete 007ec72ca1b8: Verifying Checksum 007ec72ca1b8: Download complete b29860215095: Verifying Checksum b29860215095: Download complete c167a5bdeab6: Verifying Checksum c167a5bdeab6: Download complete 93d4ce2df207: Verifying Checksum 93d4ce2df207: Download complete 862c54328363: Verifying Checksum 862c54328363: Download complete 2e908b3ce2d6: Verifying Checksum 2e908b3ce2d6: Download complete 0031525c35e8: Verifying Checksum 0031525c35e8: Download complete 2acb49eeb552: Verifying Checksum 2acb49eeb552: Download complete 92112839f012: Verifying Checksum 92112839f012: Download complete 6d8e157125dc: Verifying Checksum 6d8e157125dc: Download complete f910b4833e6f: Verifying Checksum f910b4833e6f: Download complete f09cf053f2bc: Verifying Checksum f09cf053f2bc: Download complete fecf6f44f284: Pull complete 217bd4fede6a: Pull complete a33647dc2e72: Pull complete d79780697501: Pull complete 9e23f7ffff2e: Pull complete eb75e063aff4: Pull complete 388fcd98e415: Pull complete c1d354e88d38: Pull complete a0f5e7e96636: Pull complete ba5ff5ec60bd: Pull complete 9aaa23f50bbc: Pull complete d10db0662178: Pull complete cd6f63b0f0f8: Pull complete ac5365aa1a11: Pull complete 6587968fd88d: Pull complete e588d084fdc6: Pull complete 4f4fb700ef54: Pull complete 4a5997d73c6d: Pull complete e541ac1e928e: Pull complete 728b5511169a: Pull complete 959e36346cbe: Pull complete 1b8a5fe2cec2: Pull complete e74fadbc5d0b: Pull complete ed67b78ce4dd: Pull complete 427304383c22: Pull complete 3463eb278ac2: Pull complete 5f56c9cf090b: Pull complete dbb81f611d3c: Pull complete 06c3f641d2b9: Pull complete f910b4833e6f: Pull complete b3a11d4a0fca: Pull complete 0031525c35e8: Pull complete 007ec72ca1b8: Pull complete b29860215095: Pull complete c167a5bdeab6: Pull complete 93d4ce2df207: Pull complete 862c54328363: Pull complete 2e908b3ce2d6: Pull complete f09cf053f2bc: Pull complete 2acb49eeb552: Pull complete 92112839f012: Pull complete 6d8e157125dc: Pull complete Digest: sha256:946a435b740dedd4445fba93a74cd702a670edc5c67325ef40b9b809a6b09ee1 Status: Downloaded newer image for ocaml/opam@sha256:946a435b740dedd4445fba93a74cd702a670edc5c67325ef40b9b809a6b09ee1 2025-10-02 13:43.19 ---> using "f51549ea15916880479ea2d6ae8549ec2162f9a05d1eb2f1315598fcc77c99bd" from cache /: (comment debian-13-5.3_s390x_opam-2.4) /: (user (uid 1000) (gid 1000)) /: (env CLICOLOR_FORCE 1) /: (env OPAMCOLOR always) /: (workdir /src) /src: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam")) 2025-10-02 13:43.19 ---> using "50ce9141df09d7e4e52c85bbddb9bddf6189f05f72376fdb092faba6e4e00324" 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. Continue? [Y/n] y 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. Format upgrade done. <><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><> [default] Initialised 2025-10-02 13:43.19 ---> using "25149749f2128e0df28440f1bf0610d1cf86fdaf4139dde8888943cbf8ee0ea5" from cache /src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) Linux 6.8.0-71-generic The OCaml toplevel, version 5.3.0 2.4.1 2025-10-02 13:43.19 ---> using "5df43d2eb764aa1167623190f90b158b990b239789d580bb384de5e4089e138b" from cache /src: (workdir /src) /src: (run (shell "sudo chown opam /src")) 2025-10-02 13:43.19 ---> using "b058f37c5099010ae58ca9ac1eaa39cb1c32e6cf8e8b6766771595d615128589" from cache /src: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "cd ~/opam-repository && (git cat-file -e f0e79555a122d396c3443ee754a7ea05991c000d || git fetch origin master) && git reset -q --hard f0e79555a122d396c3443ee754a7ea05991c000d && git log --no-decorate -n1 --oneline && opam update -u")) From https://github.com/ocaml/opam-repository * branch master -> FETCH_HEAD bcac5d1731..647158776f master -> origin/master f0e79555a1 Merge pull request #28630 from NathanReb/release-ocp-indent-1.9.0 <><> 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-10-02 13:43.19 ---> using "8a39d1e00837de71d4257e41d949e9e1e2b079eaf5c038c7a55be9f31b9499c1" from cache /src: (copy (src ocamlformat.opam ocamlformat-rpc-lib.opam ocamlformat-lib.opam ocamlformat-bench.opam) (dst ./)) 2025-10-02 13:43.22 ---> saved as "a289464c91d4ee51e216f51f29ce196e51197c9ba512718f4838a64cdbb1da32" /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. [WARNING] Failed checks on ocamlformat-bench package definition from source at file:///src: warning 68: Missing field 'license' [ocamlformat-bench.dev] synchronised (file:///src) ocamlformat-bench is now pinned to file:///src (version dev) 2025-10-02 13:43.37 ---> saved as "357f264c6ad14eea52db783062602d7fa246eac858d4846d54490b5288c0f238" /src: (run (network host) (shell "echo '(lang dune 3.0)' > './dune-project'")) 2025-10-02 13:43.42 ---> saved as "9df5a4eb50aa718ade54e78e3f949979dd34ea8cc2d378935d7824aa6b66b589" /src: (env DEPS "alcotest.1.9.1 astring.0.8.5 base.v0.17.3 base-bigarray.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.2.0.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.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.9.0 re.1.14.0 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 "apt-get" "update" - Hit:1 http://deb.debian.org/debian trixie InRelease - Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB] - Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB] - Get:4 http://deb.debian.org/debian-security trixie-security/main s390x Packages [42.6 kB] - Fetched 133 kB in 0s (752 kB/s) - Reading package lists... - <><> 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-10-02 13:43.55 ---> saved as "863a0f1a809e909c3cbace8350029a9e8df08dbacbea6e52ffec6d5f6e52f319" /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 33 packages - install alcotest 1.9.1 - install astring 0.8.5 - install base v0.17.3 - install bechamel 0.5.0 - install camlp-streams 5.0.1 - install cmdliner 2.0.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.1 - install ocaml_intrinsics_kernel v0.17.1 - install ocamlbuild 0.16.1 - install ocamlfind 1.9.8 - install ocp-indent 1.9.0 - install re 1.14.0 - 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.1 (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.2.0.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.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 ocaml_intrinsics_kernel.v0.17.1 (cached) -> retrieved ocamlbuild.0.16.1 (cached) -> retrieved ocamlfind.1.9.8 (cached) -> retrieved ocp-indent.1.9.0 (cached) -> retrieved re.1.14.0 (cached) -> retrieved sexplib0.v0.17.0 (cached) -> installed cmdliner.2.0.0 -> retrieved stdio.v0.17.0 (cached) -> 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 ocamlbuild.0.16.1 -> installed topkg.1.1.0 -> installed fmt.0.11.0 -> installed astring.0.8.5 -> installed uutf.1.0.4 -> installed fpath.0.7.3 -> installed dune.3.20.2 -> installed camlp-streams.5.0.1 -> installed csexp.1.5.2 -> installed bechamel.0.5.0 -> installed dune-build-info.3.20.2 -> installed either.1.0.0 -> installed dune-configurator.3.20.2 -> installed menhirCST.20250912 -> installed fix.20250919 -> installed menhirLib.20250912 -> installed menhirSdk.20250912 -> installed ocaml-version.4.0.1 -> installed ocaml-syntax-shims.1.0.0 -> installed ocaml_intrinsics_kernel.v0.17.1 -> installed uucp.17.0.0 -> installed ocp-indent.1.9.0 -> installed sexplib0.v0.17.0 -> installed stdlib-shims.0.3.0 -> installed re.1.14.0 -> installed uuseg.17.0.0 -> installed alcotest.1.9.1 -> installed yojson.3.0.0 -> installed base.v0.17.3 -> installed stdio.v0.17.0 -> installed menhir.20250912 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/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-10-02 13:45.39 ---> saved as "316b6643b0f9c75a81947d1c5ad5d372131c7d8396ff05bba5ba4456d8b0f739" /src: (copy (src .) (dst /src)) 2025-10-02 13:45.41 ---> saved as "b389429fdcf7995de1b8fc391d96acce81a2b85ebfb66de91154691ab7315825" /src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build")) File "test/passing/refs.ahrefs/option.ml.err", line 1, characters 0-0: /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/test/passing/refs.ahrefs/option.ml.err _build/default/test/passing/refs.ahrefs/option.ml.stderr diff --git a/_build/default/test/passing/refs.ahrefs/option.ml.err b/_build/default/test/passing/refs.ahrefs/option.ml.stderr index 9cad5c9..1b9cde2 100644 --- a/_build/default/test/passing/refs.ahrefs/option.ml.err +++ b/_build/default/test/passing/refs.ahrefs/option.ml.stderr @@ -20,10 +20,12 @@ File "option.ml", line 28, characters 3-14: 28 | [@@ocamlformat "if-then-else=bad"] ^^^^^^^^^^^ Warning 47 [attribute-payload]: illegal payload for attribute 'ocamlformat'. -For option "if-then-else": invalid value 'bad', expected one of 'compact', 'fit-or-vertical', 'vertical', 'keyword-first' or 'k-r' +For option "if-then-else": invalid value 'bad', expected one of 'compact', 'fit-or-vertical', +'vertical', 'keyword-first' or 'k-r' File "option.ml", line 39, characters 14-25: 39 | [@@ocamlformat "if-then-else=bad"] ^^^^^^^^^^^ Warning 47 [attribute-payload]: illegal payload for attribute 'ocamlformat'. -For option "if-then-else": invalid value 'bad', expected one of 'compact', 'fit-or-vertical', 'vertical', 'keyword-first' or 'k-r' +For option "if-then-else": invalid value 'bad', expected one of 'compact', 'fit-or-vertical', +'vertical', 'keyword-first' or 'k-r' File "test/passing/refs.default/option.ml.err", line 1, characters 0-0: /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/test/passing/refs.default/option.ml.err _build/default/test/passing/refs.default/option.ml.stderr diff --git a/_build/default/test/passing/refs.default/option.ml.err b/_build/default/test/passing/refs.default/option.ml.stderr index 9cad5c9..1b9cde2 100644 --- a/_build/default/test/passing/refs.default/option.ml.err +++ b/_build/default/test/passing/refs.default/option.ml.stderr @@ -20,10 +20,12 @@ File "option.ml", line 28, characters 3-14: 28 | [@@ocamlformat "if-then-else=bad"] ^^^^^^^^^^^ Warning 47 [attribute-payload]: illegal payload for attribute 'ocamlformat'. -For option "if-then-else": invalid value 'bad', expected one of 'compact', 'fit-or-vertical', 'vertical', 'keyword-first' or 'k-r' +For option "if-then-else": invalid value 'bad', expected one of 'compact', 'fit-or-vertical', +'vertical', 'keyword-first' or 'k-r' File "option.ml", line 39, characters 14-25: 39 | [@@ocamlformat "if-then-else=bad"] ^^^^^^^^^^^ Warning 47 [attribute-payload]: illegal payload for attribute 'ocamlformat'. -For option "if-then-else": invalid value 'bad', expected one of 'compact', 'fit-or-vertical', 'vertical', 'keyword-first' or 'k-r' +For option "if-then-else": invalid value 'bad', expected one of 'compact', 'fit-or-vertical', +'vertical', 'keyword-first' or 'k-r' File "test/passing/refs.janestreet/option.ml.err", line 1, characters 0-0: /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/test/passing/refs.janestreet/option.ml.err _build/default/test/passing/refs.janestreet/option.ml.stderr diff --git a/_build/default/test/passing/refs.janestreet/option.ml.err b/_build/default/test/passing/refs.janestreet/option.ml.stderr index 9cad5c9..1b9cde2 100644 --- a/_build/default/test/passing/refs.janestreet/option.ml.err +++ b/_build/default/test/passing/refs.janestreet/option.ml.stderr @@ -20,10 +20,12 @@ File "option.ml", line 28, characters 3-14: 28 | [@@ocamlformat "if-then-else=bad"] ^^^^^^^^^^^ Warning 47 [attribute-payload]: illegal payload for attribute 'ocamlformat'. -For option "if-then-else": invalid value 'bad', expected one of 'compact', 'fit-or-vertical', 'vertical', 'keyword-first' or 'k-r' +For option "if-then-else": invalid value 'bad', expected one of 'compact', 'fit-or-vertical', +'vertical', 'keyword-first' or 'k-r' File "option.ml", line 39, characters 14-25: 39 | [@@ocamlformat "if-then-else=bad"] ^^^^^^^^^^^ Warning 47 [attribute-payload]: illegal payload for attribute 'ocamlformat'. -For option "if-then-else": invalid value 'bad', expected one of 'compact', 'fit-or-vertical', 'vertical', 'keyword-first' or 'k-r' +For option "if-then-else": invalid value 'bad', expected one of 'compact', 'fit-or-vertical', +'vertical', 'keyword-first' or 'k-r' File "test/passing/refs.ocamlformat/option.ml.err", line 1, characters 0-0: /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/test/passing/refs.ocamlformat/option.ml.err _build/default/test/passing/refs.ocamlformat/option.ml.stderr diff --git a/_build/default/test/passing/refs.ocamlformat/option.ml.err b/_build/default/test/passing/refs.ocamlformat/option.ml.stderr index 9cad5c9..1b9cde2 100644 --- a/_build/default/test/passing/refs.ocamlformat/option.ml.err +++ b/_build/default/test/passing/refs.ocamlformat/option.ml.stderr @@ -20,10 +20,12 @@ File "option.ml", line 28, characters 3-14: 28 | [@@ocamlformat "if-then-else=bad"] ^^^^^^^^^^^ Warning 47 [attribute-payload]: illegal payload for attribute 'ocamlformat'. -For option "if-then-else": invalid value 'bad', expected one of 'compact', 'fit-or-vertical', 'vertical', 'keyword-first' or 'k-r' +For option "if-then-else": invalid value 'bad', expected one of 'compact', 'fit-or-vertical', +'vertical', 'keyword-first' or 'k-r' File "option.ml", line 39, characters 14-25: 39 | [@@ocamlformat "if-then-else=bad"] ^^^^^^^^^^^ Warning 47 [attribute-payload]: illegal payload for attribute 'ocamlformat'. -For option "if-then-else": invalid value 'bad', expected one of 'compact', 'fit-or-vertical', 'vertical', 'keyword-first' or 'k-r' +For option "if-then-else": invalid value 'bad', expected one of 'compact', 'fit-or-vertical', +'vertical', 'keyword-first' or 'k-r' File "test/cli/env.t", line 1, characters 0-0: /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/test/cli/env.t _build/default/test/cli/env.t.corrected diff --git a/_build/default/test/cli/env.t b/_build/default/test/cli/env.t.corrected index 0a85c1a..d02c213 100644 --- a/_build/default/test/cli/env.t +++ b/_build/default/test/cli/env.t.corrected @@ -1,13 +1,14 @@ Invalid option: $ echo 'let x = 1' | OCAMLFORMAT="unknown=true" ocamlformat --impl - - ocamlformat: Error while parsing OCAMLFORMAT environment variable: - Unknown option "unknown" + ocamlformat: Error while parsing OCAMLFORMAT environment variable: Unknown + option "unknown" [1] Invalid value: $ echo 'let x = 1' | OCAMLFORMAT="type-decl=unknown" ocamlformat --impl - - ocamlformat: Error while parsing OCAMLFORMAT environment variable: - For option "type-decl": invalid value 'unknown', expected either 'compact' or 'sparse' + ocamlformat: Error while parsing OCAMLFORMAT environment variable: For option + "type-decl": invalid value 'unknown', expected either 'compact' + or 'sparse' [1] (cd _build/default/test/unit && ./test_unit.exe) Testing `ocamlformat'. This run has ID `U6NE3NPV'. ................................................................................ ................................................................................ ............................................ File "test/cli/conf.t", line 1, characters 0-0: /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/test/cli/conf.t _build/default/test/cli/conf.t.corrected diff --git a/_build/default/test/cli/conf.t b/_build/default/test/cli/conf.t.corrected index 338916a..77ba250 100644 --- a/_build/default/test/cli/conf.t +++ b/_build/default/test/cli/conf.t.corrected @@ -14,8 +14,10 @@ Invalid version: Exit code is printed by hand because sed succeeding would hide the error. $ (<a.ml ocamlformat --impl -; echo [$?]) 2>&1 | sed 's/version is "[^"]*"/version is "..."/g' - ocamlformat: Error while parsing $TESTCASE_ROOT/prj/.ocamlformat: - Project should be formatted using ocamlformat version "bad", but the installed version is "..." + ocamlformat: Error while parsing + $TESTCASE_ROOT/prj/.ocamlformat: + Project should be formatted using ocamlformat version "bad", but + the installed version is "..." [1] Disable version check: @@ -28,7 +30,8 @@ Invalid syntax in .ocamlformat file: $ echo 'a = b = c' > .ocamlformat $ echo 'let x = 1"' | ocamlformat --impl - - ocamlformat: Error while parsing $TESTCASE_ROOT/prj/.ocamlformat: + ocamlformat: Error while parsing + $TESTCASE_ROOT/prj/.ocamlformat: Invalid format "a = b = c" [1] @@ -36,7 +39,8 @@ Invalid option: $ echo 'unknown_option = true' > .ocamlformat $ echo 'let x = 1' | ocamlformat --impl - - ocamlformat: Error while parsing $TESTCASE_ROOT/prj/.ocamlformat: + ocamlformat: Error while parsing + $TESTCASE_ROOT/prj/.ocamlformat: Unknown option "unknown_option" [1] @@ -44,14 +48,20 @@ Invalid option (short negated form): $ echo 'no-wrap-comments' > .ocamlformat $ echo 'let x = 1' | ocamlformat --impl - - ocamlformat: Error while parsing $TESTCASE_ROOT/prj/.ocamlformat: - Unknown option "no-wrap-comments": "no-wrap-comments" is the short form for "wrap-comments=false". It is only accepted on command line, please use "wrap-comments=false" or "wrap-comments=true" instead. + ocamlformat: Error while parsing + $TESTCASE_ROOT/prj/.ocamlformat: + Unknown option "no-wrap-comments": "no-wrap-comments" is the + short form for "wrap-comments=false". It is only accepted on + command line, please use "wrap-comments=false" or + "wrap-comments=true" instead. [1] Invalid value: $ echo 'field-space = unknown_value' > .ocamlformat $ echo 'let x = 1' | ocamlformat --impl - - ocamlformat: Error while parsing $TESTCASE_ROOT/prj/.ocamlformat: - For option "field-space": invalid value 'unknown_value', expected one of 'loose', 'tight' or 'tight-decl' + ocamlformat: Error while parsing + $TESTCASE_ROOT/prj/.ocamlformat: + For option "field-space": invalid value 'unknown_value', + expected one of 'loose', 'tight' or 'tight-decl' [1] File "test/cli/removed_option.t", line 1, characters 0-0: /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/test/cli/removed_option.t _build/default/test/cli/removed_option.t.corrected diff --git a/_build/default/test/cli/removed_option.t b/_build/default/test/cli/removed_option.t.corrected index 9347cd6..91adf54 100644 --- a/_build/default/test/cli/removed_option.t +++ b/_build/default/test/cli/removed_option.t.corrected @@ -3,34 +3,31 @@ Setting a removed option on the command line should display an error message: $ ocamlformat a.ml --extension-sugar preserve + Usage: ocamlformat [--help] [OPTION]… [SRC]… ocamlformat: option '--extension-sugar': This option has been removed in version 0.17. Concrete syntax will now always be preserved. - Usage: ocamlformat [OPTION]… [SRC]… - Try 'ocamlformat --help' for more information. [1] $ ocamlformat a.ml --let-open preserve + Usage: ocamlformat [--help] [OPTION]… [SRC]… ocamlformat: option '--let-open': This option has been removed in version 0.17. Concrete syntax will now always be preserved. - Usage: ocamlformat [OPTION]… [SRC]… - Try 'ocamlformat --help' for more information. [1] $ ocamlformat a.ml --escape-chars preserve + Usage: ocamlformat [--help] [OPTION]… [SRC]… ocamlformat: option '--escape-chars': This option has been removed in version 0.16. Concrete syntax will now always be preserved. - Usage: ocamlformat [OPTION]… [SRC]… - Try 'ocamlformat --help' for more information. [1] $ ocamlformat a.ml --escape-strings preserve + Usage: ocamlformat [--help] [OPTION]… [SRC]… ocamlformat: option '--escape-strings': This option has been removed in version 0.16. Concrete syntax will now always be preserved. - Usage: ocamlformat [OPTION]… [SRC]… - Try 'ocamlformat --help' for more information. [1] $ ocamlformat a.ml --doc-comments-val unset + Usage: ocamlformat [--help] [OPTION]… [SRC]… ocamlformat: option '--doc-comments-val': This option has been removed in version 0.16. If you are using `doc-comments-val=before` in combination with `doc-comments=before` then only @@ -46,34 +43,32 @@ Setting a removed option on the command line should display an error message: the same behavior. If you are using `doc-comments-val=unset` the same behavior can now be achieved by setting `doc-comments` only. - Usage: ocamlformat [OPTION]… [SRC]… - Try 'ocamlformat --help' for more information. [1] An error is also reported if a removed option is set in an .ocamlformat file: $ echo 'escape-chars = preserve' > .ocamlformat $ ocamlformat a.ml - ocamlformat: Error while parsing $TESTCASE_ROOT/.ocamlformat: - For option "escape-chars": This option has been removed in version 0.16. Concrete syntax will now always be preserved. + ocamlformat: Error while parsing + $TESTCASE_ROOT/.ocamlformat: + For option "escape-chars": This option has been removed in + version 0.16. Concrete syntax will now always be preserved. [1] Setting an option to a deprecated value on the command line should also display an error message: $ ocamlformat a.ml --break-separators=after-and-docked + Usage: ocamlformat [--help] [OPTION]… [SRC]… ocamlformat: option '--break-separators': value `after-and-docked` has been removed in version 0.12. One can get a similar behaviour by setting `break-separators=after`, `space-around-lists=false`, and `dock-collection-brackets=false`. - Usage: ocamlformat [OPTION]… [SRC]… - Try 'ocamlformat --help' for more information. [1] $ ocamlformat a.ml --break-string-literals=wrap + Usage: ocamlformat [--help] [OPTION]… [SRC]… ocamlformat: option '--break-string-literals': value `wrap` has been removed in version 0.12. It has been replaced by the new default `auto` value, which breaks lines at newlines and wraps string literals at the margin. - Usage: ocamlformat [OPTION]… [SRC]… - Try 'ocamlformat --help' for more information. [1] File "test/cli/stdin.t", line 1, characters 0-0: /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/test/cli/stdin.t _build/default/test/cli/stdin.t.corrected diff --git a/_build/default/test/cli/stdin.t b/_build/default/test/cli/stdin.t.corrected index a8be0b2..89c5946 100644 --- a/_build/default/test/cli/stdin.t +++ b/_build/default/test/cli/stdin.t.corrected @@ -3,15 +3,18 @@ One of '--impl', '--intf' or '--name' is required when the input is read from stdin: $ ocamlformat - - ocamlformat: Must specify at least one of --name, --impl or --intf when reading from stdin + ocamlformat: Must specify at least one of --name, --impl or --intf when + reading from stdin [1] $ echo 'let x = 1' | ocamlformat - - ocamlformat: Must specify at least one of --name, --impl or --intf when reading from stdin + ocamlformat: Must specify at least one of --name, --impl or --intf when + reading from stdin [1] $ ocamlformat --inplace - - ocamlformat: Must specify at least one of --name, --impl or --intf when reading from stdin + ocamlformat: Must specify at least one of --name, --impl or --intf when + reading from stdin [1] Nominal cases: @@ -30,7 +33,8 @@ The kind of syntax --impl/--intf is inferred from the name: The syntax cannot be inferred if the extension of the file is unsupported: $ ocamlformat --name a.cpp - - ocamlformat: Cannot deduce file kind from passed --name. Please specify --impl or --intf + ocamlformat: Cannot deduce file kind from passed --name. Please specify + --impl or --intf [1] Cannot specify files with stdin: "/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1 2025-10-02 13:46.26: Job failed: Failed: Build failed