2026-04-25 17:24.11: New job: test ocaml-ppx/ocamlformat https://github.com/ocaml-ppx/ocamlformat.git#refs/heads/mll-support (c7659bfa4e5d900da058214f61964df7f946443f) (macos-arm64:macos-homebrew-5.4_arm64_opam-2.5) Base: macos-homebrew-ocaml-5.4 Opam project build To reproduce locally: git clone --recursive "https://github.com/ocaml-ppx/ocamlformat.git" -b "mll-support" && cd "ocamlformat" && git reset --hard c7659bfa cat > Dockerfile <<'END-OF-DOCKERFILE' FROM macos-homebrew-ocaml-5.4 # macos-homebrew-5.4_arm64_opam-2.5 USER 1000:1000 ENV CLICOLOR_FORCE="1" ENV OPAMCOLOR="always" RUN ln -f ~/local/bin/opam-2.5 ~/local/bin/opam RUN opam init --reinit -ni RUN uname -rs && opam exec -- ocaml -version && opam --version RUN cd ~/opam-repository && (git cat-file -e 036883c5402b41e0d35f6b200245cc7c3a302395 || git fetch origin master) && git reset -q --hard 036883c5402b41e0d35f6b200245cc7c3a302395 && 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 ./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.1.1 csexp.1.5.2 dune.3.22.2 dune-build-info.3.22.2 dune-configurator.3.22.2 either.1.0.0 fix.20250919 fmt.0.11.0 fpath.0.7.3 menhir.20260209 menhirCST.20260209 menhirGLR.20260209 menhirLib.20260209 menhirSdk.20260209 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.1.0 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.1 uucp.17.0.0 uuseg.17.0.0 uutf.1.0.4 yojson.3.0.0" ENV CI="true" ENV OCAMLCI="true" RUN opam update --depexts && opam install --cli=2.5 --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 cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build END-OF-DOCKERFILE docker build . END-REPRO-BLOCK 2026-04-25 17:24.11: Using cache hint "ocaml-ppx/ocamlformat-macos-homebrew-ocaml-5.4-macos-homebrew-5.4_arm64_opam-2.5-8cbae232aa76b9e839bab16a3dc28279" 2026-04-25 17:24.11: Using OBuilder spec: ((from macos-homebrew-ocaml-5.4) (comment macos-homebrew-5.4_arm64_opam-2.5) (user (uid 1000) (gid 1000)) (env CLICOLOR_FORCE 1) (env OPAMCOLOR always) (run (shell "ln -f ~/local/bin/opam-2.5 ~/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 036883c5402b41e0d35f6b200245cc7c3a302395 || git fetch origin master) && git reset -q --hard 036883c5402b41e0d35f6b200245cc7c3a302395 && 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 (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.1.1 csexp.1.5.2 dune.3.22.2 dune-build-info.3.22.2 dune-configurator.3.22.2 either.1.0.0 fix.20250919 fmt.0.11.0 fpath.0.7.3 menhir.20260209 menhirCST.20260209 menhirGLR.20260209 menhirLib.20260209 menhirSdk.20260209 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.1.0 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.1 uucp.17.0.0 uuseg.17.0.0 uutf.1.0.4 yojson.3.0.0") (env CI true) (env OCAMLCI true) (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew))) (network host) (shell "opam update --depexts && opam install --cli=2.5 --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")) ) 2026-04-25 17:24.11: Waiting for resource in pool OCluster 2026-04-25 17:24.36: Waiting for worker… 2026-04-25 21:14.11: Got resource from pool OCluster Building on m1-worker-02 All commits already cached HEAD is now at c7659bfa4 FMT (from macos-homebrew-ocaml-5.4) 2026-04-25 21:14.11 ---> using "338135fbf1889e924a607b47198b8b308c32a925cc9436066d65a9bdc402cad5" from cache /: (comment macos-homebrew-5.4_arm64_opam-2.5) /: (user (uid 1000) (gid 1000)) /: (env CLICOLOR_FORCE 1) /: (env OPAMCOLOR always) /: (run (shell "ln -f ~/local/bin/opam-2.5 ~/local/bin/opam")) 2026-04-25 21:14.11 ---> using "0e9d0f8ed44ab1f77ef30c8d8456629e6c63f869a24319cbb64657a84e315111" 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 --global Format upgrade done. <><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><> [default] no changes from git+file:///Users/mac1000/opam-repository 2026-04-25 21:14.12 ---> using "06effe220fa63e5f9fae9bf4643255961d59bf292a94931a0e1dd6d81a9fa7c6" from cache /: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) Darwin 24.5.0 The OCaml toplevel, version 5.4.0 2.5.0 2026-04-25 21:14.12 ---> using "78e99acc02a52806060d0075d40f6ea681e9ef77eb60ecbbaff6e5155272646b" 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 036883c5402b41e0d35f6b200245cc7c3a302395 || git fetch origin master) && git reset -q --hard 036883c5402b41e0d35f6b200245cc7c3a302395 && git log --no-decorate -n1 --oneline && opam update -u")) From https://github.com/ocaml/opam-repository * branch master -> FETCH_HEAD 95f7875db7..835aa544ea master -> origin/master 036883c540 Merge pull request #29788 from dbuenzli/b0-publish-cmdliner.2.1.1 <><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><> [default] synchronised from git+file:///Users/mac1000/opam-repository default (at git+file:///Users/mac1000/opam-repository): [WARNING] opam is out-of-date. Please consider updating it (https://opam.ocaml.org/doc/Install.html) default (at git+file:///Users/mac1000/opam-repository): [INFO] opam 2.5.1 includes security fixes; please consider upgrading (https://opam.ocaml.org/doc/Install.html) Everything as up-to-date as possible The following packages are not being upgraded because the new versions conflict with other installed packages: - ocaml.5.5.0 - ocaml-compiler.5.4.1 However, you may "opam upgrade" these packages explicitly at these versions (e.g. "opam upgrade ocaml.5.5.0"), which will ask permission to downgrade or uninstall the conflicting packages. Nothing to do. # To update the current shell environment, run: eval $(opam env) 2026-04-25 21:14.12 ---> using "71cc5e00934cb201b0a7fe329a73e3354758237e0d32bb279642d981d93fb031" from cache /: (copy (src ocamlformat.opam ocamlformat-rpc-lib.opam ocamlformat-lib.opam ocamlformat-bench.opam) (dst ./src/./)) 2026-04-25 21:14.13 ---> saved as "d84926f549e34a0592161ee8282f57fe395fbeabe2398f261badc096bdd60684" /: (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) 2026-04-25 21:14.26 ---> saved as "dc8a10734ac929a343eb35a6b3daf7fb6a8eca9803e69afdd12186b2a5485145" /: (run (shell "echo '(lang dune 3.0)' > './src/./dune-project'")) 2026-04-25 21:14.27 ---> saved as "95c9fee63c2bbb0ffc02811df560eea9b09547ef07c6f8b6ffec0d62d56a0440" /: (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.1.1 csexp.1.5.2 dune.3.22.2 dune-build-info.3.22.2 dune-configurator.3.22.2 either.1.0.0 fix.20250919 fmt.0.11.0 fpath.0.7.3 menhir.20260209 menhirCST.20260209 menhirGLR.20260209 menhirLib.20260209 menhirSdk.20260209 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.1.0 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.1 uucp.17.0.0 uuseg.17.0.0 uutf.1.0.4 yojson.3.0.0") /: (env CI true) /: (env OCAMLCI true) /: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew))) (network host) (shell "opam update --depexts && opam install --cli=2.5 --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.4.0). [NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0). [NOTE] Package ocaml is already installed (current version is 5.4.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). # To update the current shell environment, run: eval $(opam env) 2026-04-25 21:14.51 ---> saved as "f1598ec940ad3c7b6bb82c3912d7a8713ebbb7ab07105ddcce50ae537b9b5158" /: (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.4.0). [NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0). [NOTE] Package ocaml is already installed (current version is 5.4.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 34 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.1.1 - install csexp 1.5.2 - install dune 3.22.2 - install dune-build-info 3.22.2 - install dune-configurator 3.22.2 - install either 1.0.0 - install fix 20250919 - install fmt 0.11.0 - install fpath 0.7.3 - install menhir 20260209 - install menhirCST 20260209 - install menhirGLR 20260209 - install menhirLib 20260209 - install menhirSdk 20260209 - install ocaml-syntax-shims 1.0.0 - install ocaml-version 4.1.0 - 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.1 - 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.1.1 (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.1.0 (cached) -> retrieved ocaml_intrinsics_kernel.v0.17.1 (cached) -> retrieved ocamlbuild.0.16.1 (cached) -> retrieved ocamlfind.1.9.8 (cached) -> retrieved menhir.20260209, menhirCST.20260209, menhirGLR.20260209, menhirLib.20260209, menhirSdk.20260209 (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.1 (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.22.2, dune-build-info.3.22.2, dune-configurator.3.22.2 (cached) -> installed ocamlbuild.0.16.1 -> installed cmdliner.2.1.1 -> installed ocamlfind.1.9.8 -> installed topkg.1.1.1 -> installed uutf.1.0.4 -> installed fmt.0.11.0 -> installed astring.0.8.5 -> installed fpath.0.7.3 -> installed dune.3.22.2 -> installed csexp.1.5.2 -> installed camlp-streams.5.0.1 -> installed menhirCST.20260209 -> installed fix.20250919 -> installed either.1.0.0 -> installed dune-build-info.3.22.2 -> installed bechamel.0.5.0 -> installed menhirGLR.20260209 -> installed menhirLib.20260209 -> installed ocaml-version.4.1.0 -> installed menhirSdk.20260209 -> installed ocaml_intrinsics_kernel.v0.17.1 -> installed ocaml-syntax-shims.1.0.0 -> installed dune-configurator.3.22.2 -> installed stdlib-shims.0.3.0 -> installed sexplib0.v0.17.0 -> installed ocp-indent.1.9.0 -> installed re.1.14.0 -> installed yojson.3.0.0 -> installed alcotest.1.9.1 -> installed uucp.17.0.0 -> installed base.v0.17.3 -> installed uuseg.17.0.0 -> installed stdio.v0.17.0 -> installed menhir.20260209 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 "/Users/mac1000/.opam/5.4.0/share/emacs/site-lisp") (require 'ocp-indent) * for Vim, add this line to ~/.vimrc: set rtp^="/Users/mac1000/.opam/5.4.0/share/ocp-indent/vim" # To update the current shell environment, run: eval $(opam env) 2026-04-25 21:15.57 ---> saved as "a2aad1e9f07bcaf1c087bd7d29f838017b730dbc00df4189a834d575dc16a7d8" /: (copy (src .) (dst ./src)) 2026-04-25 21:15.58 ---> saved as "7f239716f5c4148f4198355119a5acf6ea21be6c4793a289b2e353b85dc9bc6a" /: (run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build")) (cd _build/default && /Users/mac1000/.opam/5.4.0/bin/ocamlc.opt -w @1..3@5..28@31..39@43@46..47@49..57@61..62@67@69-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -bin-annot-occurrences -I test/passing/gen/.gen.eobjs/byte -cmi-file test/passing/gen/.gen.eobjs/byte/dune__exe__Gen.cmi -no-alias-deps -opaque -o test/passing/gen/.gen.eobjs/byte/dune__exe__Gen.cmo -c -impl test/passing/gen/gen.ml) File "test/passing/gen/gen.ml", lines 15-16, characters 4-3: 15 | ....mutable base_file: string option 16 | ;.......................... Error (warning 69 [unused-field]): mutable record field base_file is never mutated. (cd _build/default && /Users/mac1000/.opam/5.4.0/bin/ocamlc.opt -w @1..3@5..28@31..39@43@46..47@49..57@61..62@67@69-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -bin-annot-occurrences -I test/failing/gen/.gen.eobjs/byte -cmi-file test/failing/gen/.gen.eobjs/byte/dune__exe__Gen.cmi -no-alias-deps -opaque -o test/failing/gen/.gen.eobjs/byte/dune__exe__Gen.cmo -c -impl test/failing/gen/gen.ml) File "test/failing/gen/gen.ml", lines 7-8, characters 4-3: 7 | ....mutable base_file: string option 8 | ;................................ Error (warning 69 [unused-field]): mutable record field base_file is never mutated. (cd _build/default && /Users/mac1000/.opam/5.4.0/bin/ocamlopt.opt -w @1..3@5..28@31..39@43@46..47@49..57@61..62@67@69-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -I test/passing/gen/.gen.eobjs/byte -I test/passing/gen/.gen.eobjs/native -cmi-file test/passing/gen/.gen.eobjs/byte/dune__exe__Gen.cmi -no-alias-deps -opaque -o test/passing/gen/.gen.eobjs/native/dune__exe__Gen.cmx -c -impl test/passing/gen/gen.ml) File "test/passing/gen/gen.ml", lines 15-16, characters 4-3: 15 | ....mutable base_file: string option 16 | ;.......................... Error (warning 69 [unused-field]): mutable record field base_file is never mutated. (cd _build/default && /Users/mac1000/.opam/5.4.0/bin/ocamlopt.opt -w @1..3@5..28@31..39@43@46..47@49..57@61..62@67@69-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -I test/failing/gen/.gen.eobjs/byte -I test/failing/gen/.gen.eobjs/native -cmi-file test/failing/gen/.gen.eobjs/byte/dune__exe__Gen.cmi -no-alias-deps -opaque -o test/failing/gen/.gen.eobjs/native/dune__exe__Gen.cmx -c -impl test/failing/gen/gen.ml) File "test/failing/gen/gen.ml", lines 7-8, characters 4-3: 7 | ....mutable base_file: string option 8 | ;................................ Error (warning 69 [unused-field]): mutable record field base_file is never mutated. Error: The package ocamlformat-bench does not have any user defined stanzas attached to it. If this is intentional, add (allow_empty) to the package definition in the dune-project file -> required by _build/default/ocamlformat-bench.install -> required by alias install (cd _build/.sandbox/5b3dd01441e50bf57c08891e0742c4a8/default && /Users/mac1000/.opam/5.4.0/bin/menhir --explain vendor/mll-parser/mll_grammar.mly --base vendor/mll-parser/mll_grammar --infer-read-reply vendor/mll-parser/mll_grammar__mock.mli.inferred) Warning: one state has shift/reduce conflicts. Warning: one shift/reduce conflict was arbitrarily resolved. File "test/passing/refs.ahrefs/need_format.ml.err", line 1, characters 0-0: /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/test/passing/refs.ahrefs/need_format.ml.err _build/default/test/passing/refs.ahrefs/need_format.ml.stderr diff --git a/_build/default/test/passing/refs.ahrefs/need_format.ml.err b/_build/default/test/passing/refs.ahrefs/need_format.ml.stderr index 5f78142..995073b 100644 --- a/_build/default/test/passing/refs.ahrefs/need_format.ml.err +++ b/_build/default/test/passing/refs.ahrefs/need_format.ml.stderr @@ -1 +1,2 @@ +git diff --no-index -u "/var/folders/gk/c5n8_58s5q16jwww_7042pq00000z8/T/build_535537_dune/need_format06c049.prev.ml" "/var/folders/gk/c5n8_58s5q16jwww_7042pq00000z8/T/build_535537_dune/need_formatd1b714.next.ml" ocamlformat: "need_format.ml" was not already formatted. ([max-iters = 1]) File "test/passing/refs.default/need_format.ml.err", line 1, characters 0-0: /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/test/passing/refs.default/need_format.ml.err _build/default/test/passing/refs.default/need_format.ml.stderr diff --git a/_build/default/test/passing/refs.default/need_format.ml.err b/_build/default/test/passing/refs.default/need_format.ml.stderr index 5f78142..1b1c0da 100644 --- a/_build/default/test/passing/refs.default/need_format.ml.err +++ b/_build/default/test/passing/refs.default/need_format.ml.stderr @@ -1 +1,2 @@ +git diff --no-index -u "/var/folders/gk/c5n8_58s5q16jwww_7042pq00000z8/T/build_535537_dune/need_formataa461e.prev.ml" "/var/folders/gk/c5n8_58s5q16jwww_7042pq00000z8/T/build_535537_dune/need_format5711b0.next.ml" ocamlformat: "need_format.ml" was not already formatted. ([max-iters = 1]) File "test/passing/refs.janestreet/need_format.ml.err", line 1, characters 0-0: /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/test/passing/refs.janestreet/need_format.ml.err _build/default/test/passing/refs.janestreet/need_format.ml.stderr diff --git a/_build/default/test/passing/refs.janestreet/need_format.ml.err b/_build/default/test/passing/refs.janestreet/need_format.ml.stderr index 5f78142..76f9770 100644 --- a/_build/default/test/passing/refs.janestreet/need_format.ml.err +++ b/_build/default/test/passing/refs.janestreet/need_format.ml.stderr @@ -1 +1,2 @@ +git diff --no-index -u "/var/folders/gk/c5n8_58s5q16jwww_7042pq00000z8/T/build_535537_dune/need_format0da011.prev.ml" "/var/folders/gk/c5n8_58s5q16jwww_7042pq00000z8/T/build_535537_dune/need_format2257ef.next.ml" ocamlformat: "need_format.ml" was not already formatted. ([max-iters = 1]) File "test/cli/max_iters.t", line 1, characters 0-0: /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/test/cli/max_iters.t _build/default/test/cli/max_iters.t.corrected diff --git a/_build/default/test/cli/max_iters.t b/_build/default/test/cli/max_iters.t.corrected index aab5670..7494734 100644 --- a/_build/default/test/cli/max_iters.t +++ b/_build/default/test/cli/max_iters.t.corrected @@ -6,5 +6,6 @@ $ echo 'let x = 1' > a.ml $ ocamlformat --max-iters=1 a.ml + git diff --no-index -u "/var/folders/gk/c5n8_58s5q16jwww_7042pq00000z8/T/build_535537_dune/aa031db.prev.ml" "/var/folders/gk/c5n8_58s5q16jwww_7042pq00000z8/T/build_535537_dune/a30a4a0.next.ml" ocamlformat: "a.ml" was not already formatted. ([max-iters = 1]) [1] File "test/passing/refs.ocamlformat/need_format.ml.err", line 1, characters 0-0: /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/test/passing/refs.ocamlformat/need_format.ml.err _build/default/test/passing/refs.ocamlformat/need_format.ml.stderr diff --git a/_build/default/test/passing/refs.ocamlformat/need_format.ml.err b/_build/default/test/passing/refs.ocamlformat/need_format.ml.stderr index 5f78142..155cab5 100644 --- a/_build/default/test/passing/refs.ocamlformat/need_format.ml.err +++ b/_build/default/test/passing/refs.ocamlformat/need_format.ml.stderr @@ -1 +1,2 @@ +git diff --no-index -u "/var/folders/gk/c5n8_58s5q16jwww_7042pq00000z8/T/build_535537_dune/need_format7a5b58.prev.ml" "/var/folders/gk/c5n8_58s5q16jwww_7042pq00000z8/T/build_535537_dune/need_format932d99.next.ml" ocamlformat: "need_format.ml" was not already formatted. ([max-iters = 1]) File "test/cli/mll.t", line 1, characters 0-0: /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/test/cli/mll.t _build/default/test/cli/mll.t.corrected diff --git a/_build/default/test/cli/mll.t b/_build/default/test/cli/mll.t.corrected index 855ff06..0cbb20b 100644 --- a/_build/default/test/cli/mll.t +++ b/_build/default/test/cli/mll.t.corrected @@ -128,8 +128,8 @@ Full reformat mode preserves comments: (* a definition comment *) let blank = [' ' '\t'] - (* a rule comment *) - rule main = parse + rule (* a rule comment *) + main = parse (* a case comment *) | blank+ { () } | eof { () } (cd _build/default/test/unit && ./test_unit.exe) Testing `ocamlformat'. This run has ID `A7MRFFP4'. ................................................................................ ................................................................................ ............................................ "/usr/bin/env" "bash" "-c" "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1 2026-04-25 21:16.17: Job failed: Failed: Build failed