2025-10-14 13:17.59: New job: test ocaml-ppx/ocamlformat https://github.com/ocaml-ppx/ocamlformat.git#refs/heads/main (be0a74597ef7cd3fd99b995628a776797a0fb1fd) (macos-arm64:macos-homebrew-5.3_arm64_opam-2.4)Base: macos-homebrew-ocaml-5.3Opam project buildTo reproduce locally:git clone --recursive "https://github.com/ocaml-ppx/ocamlformat.git" -b "main" && cd "ocamlformat" && git reset --hard be0a7459cat > Dockerfile <<'END-OF-DOCKERFILE'FROM macos-homebrew-ocaml-5.3# macos-homebrew-5.3_arm64_opam-2.4USER 1000:1000ENV CLICOLOR_FORCE="1"ENV OPAMCOLOR="always"RUN ln -f ~/local/bin/opam-2.4 ~/local/bin/opamRUN opam init --reinit -niRUN uname -rs && opam exec -- ocaml -version && opam --versionRUN cd ~/opam-repository && (git cat-file -e 6fab318652edf2e934926c95dbe83c86f899f133 || git fetch origin master) && git reset -q --hard 6fab318652edf2e934926c95dbe83c86f899f133 && git log --no-decorate -n1 --oneline && opam update -uCOPY --chown=1000:1000 ocamlformat.opam ocamlformat-rpc-lib.opam ocamlformat-lib.opam ocamlformat-bench.opam ./src/./RUN opam pin add -yn ocamlformat.dev './src/./' && \opam pin add -yn ocamlformat-rpc-lib.dev './src/./' && \opam pin add -yn ocamlformat-lib.dev './src/./' && \opam pin add -yn ocamlformat-bench.dev './src/./'RUN echo '(lang dune 3.0)' > './src/./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.3 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 $DEPSRUN opam install $DEPSCOPY --chown=1000:1000 . ./srcRUN cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _buildEND-OF-DOCKERFILEdocker build .END-REPRO-BLOCK2025-10-14 13:17.59: Using cache hint "ocaml-ppx/ocamlformat-macos-homebrew-ocaml-5.3-macos-homebrew-5.3_arm64_opam-2.4-4846dd727dadd944087dd2569d05ebc8"2025-10-14 13:17.59: Using OBuilder spec:((from macos-homebrew-ocaml-5.3)(comment macos-homebrew-5.3_arm64_opam-2.4)(user (uid 1000) (gid 1000))(env CLICOLOR_FORCE 1)(env OPAMCOLOR always)(run (shell "ln -f ~/local/bin/opam-2.4 ~/local/bin/opam"))(run (shell "opam init --reinit -ni"))(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))(run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))(network host)(shell "cd ~/opam-repository && (git cat-file -e 6fab318652edf2e934926c95dbe83c86f899f133 || git fetch origin master) && git reset -q --hard 6fab318652edf2e934926c95dbe83c86f899f133 && git log --no-decorate -n1 --oneline && opam update -u"))(copy (src ocamlformat.opam ocamlformat-rpc-lib.opam ocamlformat-lib.opam ocamlformat-bench.opam)(dst ./src/./))(run (network host)(shell "opam pin add -yn ocamlformat.dev './src/./' && \\nopam pin add -yn ocamlformat-rpc-lib.dev './src/./' && \\nopam pin add -yn ocamlformat-lib.dev './src/./' && \\nopam pin add -yn ocamlformat-bench.dev './src/./'"))(run (network host)(shell "echo '(lang dune 3.0)' > './src/./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.3 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 /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))(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 /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))(network host)(shell "opam install $DEPS"))(copy (src .) (dst ./src))(run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build")))2025-10-14 13:17.59: Waiting for resource in pool OCluster2025-10-14 13:17.59: Waiting for worker…2025-10-14 13:17.59: Got resource from pool OClusterBuilding on m1-worker-03HEAD is now at 7858f66f Merge branch 'MAIN' into pr/2714HEAD is now at be0a7459 effects keyword can be an attribute id (#2714)(from macos-homebrew-ocaml-5.3)2025-10-14 13:18.01 ---> using "6ee950b55569b1a3f8a7953dc679318bf303d3a70ac7d49901c0ac2ca3805d7c" from cache/: (comment macos-homebrew-5.3_arm64_opam-2.4)/: (user (uid 1000) (gid 1000))/: (env CLICOLOR_FORCE 1)/: (env OPAMCOLOR always)/: (run (shell "ln -f ~/local/bin/opam-2.4 ~/local/bin/opam"))2025-10-14 13:18.01 ---> using "98f27ffc931cc35f6fd0434c4b7cb74004ae5b966eac1b4d0d724f37574600ad" from cache/: (run (shell "opam init --reinit -ni"))No configuration file found, using 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 /Users/mac1000/.opam from version 2.1 to version 2.2, which can't be reverted.You may want to back it up before going further.Continue? [Y/n] y[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 --globalFormat upgrade done.<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>[default] no changes from git+file:///Users/mac1000/opam-repository2025-10-14 13:18.01 ---> using "05bef02621f4f152ba73fa5008f45408f9224fb6a3f95400ffe628ff48189e9f" from cache/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))Darwin 24.5.0The OCaml toplevel, version 5.3.02.4.12025-10-14 13:18.01 ---> using "a78de44d0fa6eb2299c3aff4eac17004df22cc4faa362aec41a39eccbcb56bb5" from cache/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))(network host)(shell "cd ~/opam-repository && (git cat-file -e 6fab318652edf2e934926c95dbe83c86f899f133 || git fetch origin master) && git reset -q --hard 6fab318652edf2e934926c95dbe83c86f899f133 && git log --no-decorate -n1 --oneline && opam update -u"))From https://github.com/ocaml/opam-repository* branch master -> FETCH_HEADec0dc125ad..4b164c25f6 master -> origin/master6fab318652 Merge pull request #28690 from mtelvers/opam-publish-ocaml-version.4.0.3<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>[default] synchronised from git+file:///Users/mac1000/opam-repositoryEverything as up-to-date as possibleThe following packages are not being upgraded because the new versions conflict with other installed packages:- ocaml-compiler.5.4.0However, you may "opam upgrade" these packages explicitly at these versions (e.g. "opam upgrade ocaml-base-compiler.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-10-14 13:18.01 ---> using "04b7dc68156227bcac730fd5487e24b6911819554448492a5de7702d4ff5ed35" from cache/: (copy (src ocamlformat.opam ocamlformat-rpc-lib.opam ocamlformat-lib.opam ocamlformat-bench.opam)(dst ./src/./))2025-10-14 13:18.02 ---> using "6b14d90f244ed2c15c6b6d60edbfeab7d4ea9ce306b6e6091443fa00c7be8e30" from cache/: (run (network host)(shell "opam pin add -yn ocamlformat.dev './src/./' && \\nopam pin add -yn ocamlformat-rpc-lib.dev './src/./' && \\nopam pin add -yn ocamlformat-lib.dev './src/./' && \\nopam pin add -yn ocamlformat-bench.dev './src/./'"))[ocamlformat.dev] synchronised (file:///Users/mac1000/src)ocamlformat is now pinned to file:///Users/mac1000/src (version dev)[ocamlformat-rpc-lib.dev] synchronised (file:///Users/mac1000/src)ocamlformat-rpc-lib is now pinned to file:///Users/mac1000/src (version dev)[ocamlformat-lib.dev] synchronised (file:///Users/mac1000/src)ocamlformat-lib is now pinned to file:///Users/mac1000/src (version dev)[NOTE] Package ocamlformat-bench does not exist in opam repositories registered in the current switch.[ocamlformat-bench.dev] synchronised (file:///Users/mac1000/src)[WARNING] Failed checks on ocamlformat-bench package definition from source at file:///Users/mac1000/src:warning 68: Missing field 'license'ocamlformat-bench is now pinned to file:///Users/mac1000/src (version dev)2025-10-14 13:18.02 ---> using "f9ce8ca5a1dde05d26ce19b2dae481fa2819bedfcfc76b7025739a0ed420ea33" from cache/: (run (network host)(shell "echo '(lang dune 3.0)' > './src/./dune-project'"))2025-10-14 13:18.02 ---> using "17663d720c10a5b9550b75b38691b6edaee140737a24c15266cbde6dcccf1e8f" from cache/: (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.3 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 /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))(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"))+ /opt/homebrew/bin/brew "update"- ==> Updating Homebrew...- Already up-to-date.<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>[ocamlformat-lib.dev] synchronised (file:///Users/mac1000/src)[ocamlformat-bench.dev] synchronised (file:///Users/mac1000/src)[ocamlformat.dev] synchronised (file:///Users/mac1000/src)[ocamlformat-rpc-lib.dev] synchronised (file:///Users/mac1000/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-14 13:18.02 ---> using "f3ac04c3e391d369a0796d023847f3e4fb7b14b4630fe19903aef1d06de08558" from cache/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))(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.3- 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 base.v0.17.3 (cached)-> retrieved astring.0.8.5 (cached)-> retrieved alcotest.1.9.1 (cached)-> retrieved camlp-streams.5.0.1 (cached)-> retrieved bechamel.0.5.0 (cached)-> retrieved csexp.1.5.2 (cached)-> retrieved cmdliner.2.0.0 (cached)-> retrieved fix.20250919 (cached)-> retrieved either.1.0.0 (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 ocaml_intrinsics_kernel.v0.17.1 (cached)-> retrieved ocamlbuild.0.16.1 (cached)-> retrieved ocamlfind.1.9.8 (cached)-> retrieved menhir.20250912, menhirCST.20250912, menhirLib.20250912, menhirSdk.20250912 (cached)-> retrieved ocp-indent.1.9.0 (cached)-> retrieved re.1.14.0 (cached)-> retrieved sexplib0.v0.17.0 (cached)-> 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)-> retrieved dune.3.20.2, dune-build-info.3.20.2, dune-configurator.3.20.2 (cached)-> installed ocamlbuild.0.16.1-> installed cmdliner.2.0.0-> installed ocamlfind.1.9.8-> installed topkg.1.1.0-> installed uutf.1.0.4-> installed astring.0.8.5-> installed fmt.0.11.0-> installed fpath.0.7.3-> installed dune.3.20.2-> installed csexp.1.5.2-> installed camlp-streams.5.0.1-> installed menhirCST.20250912-> installed fix.20250919-> installed either.1.0.0-> installed bechamel.0.5.0-> installed dune-build-info.3.20.2-> installed ocaml-version.4.0.3-> installed menhirSdk.20250912-> installed ocaml-syntax-shims.1.0.0-> installed menhirLib.20250912-> installed ocaml_intrinsics_kernel.v0.17.1-> installed stdlib-shims.0.3.0-> installed sexplib0.v0.17.0-> installed dune-configurator.3.20.2-> installed ocp-indent.1.9.0-> installed re.1.14.0-> installed yojson.3.0.0-> installed alcotest.1.9.1-> installed base.v0.17.3-> installed stdio.v0.17.0-> installed uucp.17.0.0-> installed uuseg.17.0.0-> installed menhir.20250912Done.<><> 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 "/Users/mac1000/.opam/5.3.0/share/emacs/site-lisp")(require 'ocp-indent)* for Vim, add this line to ~/.vimrc:set rtp^="/Users/mac1000/.opam/5.3.0/share/ocp-indent/vim"# To update the current shell environment, run: eval $(opam env)2025-10-14 13:19.06 ---> saved as "e5169c751b4e572545adf94798042943ee5bdc4c2ee2997da92126f5991b6c59"/: (copy (src .) (dst ./src))2025-10-14 13:19.07 ---> saved as "167557669691e7c5450a164b49029ec3faae44b888f601295498ecbc9ba81d1f"/: (run (shell "cd ./src && 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.stderrdiff --git a/_build/default/test/passing/refs.ahrefs/option.ml.err b/_build/default/test/passing/refs.ahrefs/option.ml.stderrindex 9cad5c9..b997d2b 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-rFile "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-rFile "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.stderrdiff --git a/_build/default/test/passing/refs.default/option.ml.err b/_build/default/test/passing/refs.default/option.ml.stderrindex 9cad5c9..b997d2b 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-rFile "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-rFile "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.correcteddiff --git a/_build/default/test/cli/env.t b/_build/default/test/cli/env.t.correctedindex 0a85c1a..8d1a436 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]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.stderrdiff --git a/_build/default/test/passing/refs.janestreet/option.ml.err b/_build/default/test/passing/refs.janestreet/option.ml.stderrindex 9cad5c9..b997d2b 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-rFile "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-rFile "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.stderrdiff --git a/_build/default/test/passing/refs.ocamlformat/option.ml.err b/_build/default/test/passing/refs.ocamlformat/option.ml.stderrindex 9cad5c9..b997d2b 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-rFile "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-rFile "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.correcteddiff --git a/_build/default/test/cli/conf.t b/_build/default/test/cli/conf.t.correctedindex 338916a..9fb05a3 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.correcteddiff --git a/_build/default/test/cli/removed_option.t b/_build/default/test/cli/removed_option.t.correctedindex 9347cd6..5cd024b 100644--- a/_build/default/test/cli/removed_option.t+++ b/_build/default/test/cli/removed_option.t.corrected@@ -3,35 +3,32 @@Setting a removed option on the command line should display an error message:$ ocamlformat a.ml --extension-sugar preserve- ocamlformat: option '--extension-sugar': This option has been removed in+ Usage: ocamlformat [--help] [OPTION]… [SRC]…+ ocamlformat: option --extension-sugar: This option has been removed inversion 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- 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.+ 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.[1]$ ocamlformat a.ml --escape-chars preserve- ocamlformat: option '--escape-chars': This option has been removed in version+ Usage: ocamlformat [--help] [OPTION]… [SRC]…+ ocamlformat: option --escape-chars: This option has been removed in version0.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- 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.+ 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.[1]$ ocamlformat a.ml --doc-comments-val unset- ocamlformat: option '--doc-comments-val': This option has been removed in+ Usage: ocamlformat [--help] [OPTION]… [SRC]…+ ocamlformat: option --doc-comments-val: This option has been removed inversion 0.16. If you are using `doc-comments-val=before` incombination with `doc-comments=before` then only`doc-comments=before` is now required to achive the same@@ -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` thesame 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- ocamlformat: option '--break-separators': value `after-and-docked` has been+ Usage: ocamlformat [--help] [OPTION]… [SRC]…+ ocamlformat: option --break-separators: value `after-and-docked` has beenremoved in version 0.12. One can get a similar behaviour bysetting `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- ocamlformat: option '--break-string-literals': value `wrap` has been removed- in version 0.12. It has been replaced by the new default `auto`+ 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 literalsat the margin.- Usage: ocamlformat [OPTION]… [SRC]…- Try 'ocamlformat --help' for more information.[1](cd _build/default/test/unit && ./test_unit.exe)Testing `ocamlformat'.This run has ID `7GY8T53L'.............................................................................................................................................................................................................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.correcteddiff --git a/_build/default/test/cli/stdin.t b/_build/default/test/cli/stdin.t.correctedindex 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" "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 12025-10-14 13:19.24: Job failed: Failed: Build failed