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-x86_64:macos-homebrew-4.14_opam-2.5) Base: macos-homebrew-ocaml-4.14 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-4.14 # macos-homebrew-4.14_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 24618e1786711fef2cc7e5a769e742b764fd7f0c || git fetch origin master) && git reset -q --hard 24618e1786711fef2cc7e5a769e742b764fd7f0c && 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.16.5 base-bigarray.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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.1.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocp-indent.1.9.0 re.1.14.0 sexplib0.v0.16.0 stdio.v0.16.0 stdlib-shims.0.3.0 topkg.1.1.1 uucp.17.0.0 uuseg.17.0.0 uutf.1.0.4 yojson.3.0.0" ENV CI="true" ENV OCAMLCI="true" RUN opam update --depexts && opam install --cli=2.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-4.14-macos-homebrew-4.14_opam-2.5-565f62a72ef4ab9dc690314b8ca8f6b5" 2026-04-25 17:24.11: Using OBuilder spec: ((from macos-homebrew-ocaml-4.14) (comment macos-homebrew-4.14_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 24618e1786711fef2cc7e5a769e742b764fd7f0c || git fetch origin master) && git reset -q --hard 24618e1786711fef2cc7e5a769e742b764fd7f0c && 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.16.5 base-bigarray.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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.1.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocp-indent.1.9.0 re.1.14.0 sexplib0.v0.16.0 stdio.v0.16.0 stdlib-shims.0.3.0 topkg.1.1.1 uucp.17.0.0 uuseg.17.0.0 uutf.1.0.4 yojson.3.0.0") (env CI true) (env OCAMLCI true) (run (cache (opam-archives (target /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 20:24.36: Got resource from pool OCluster Building on i7-worker-03 All commits already cached HEAD is now at c7659bfa4 FMT (from macos-homebrew-ocaml-4.14) 2026-04-25 20:24.37 ---> using "0c60f117aee57abea8364cb033d47bb1d63ff0f68e5ee97378e032498e8442af" from cache /: (comment macos-homebrew-4.14_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 20:24.38 ---> using "75b1629629d7f21c50a7e1e39b2ef83e2edb8ace81aab34254c0c8782b814749" 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 20:24.38 ---> using "a61e945ab7671a6fff400f946e3fe88df4d67a783ea1f56fa59dc21595ef1b19" from cache /: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) Darwin 24.5.0 The OCaml toplevel, version 4.14.2 2.5.0 2026-04-25 20:24.38 ---> using "11a9923a4c4f0ab256d15330129e4c4938459d2e6239eb4f7bdf0f2620300e09" 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 24618e1786711fef2cc7e5a769e742b764fd7f0c || git fetch origin master) && git reset -q --hard 24618e1786711fef2cc7e5a769e742b764fd7f0c && git log --no-decorate -n1 --oneline && opam update -u")) From https://github.com/ocaml/opam-repository * branch master -> FETCH_HEAD 95f7875db7..6b6b0c375b master -> origin/master 24618e1786 Merge pull request #29744 from nmatschke/opam-publish-base.v0.16.5 <><> 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-config.3 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 20:24.39 ---> using "a4a9e8cf28a748af4b0622664d38f62a7a86e5a2ee2a001d439728c4f50feeca" from cache /: (copy (src ocamlformat.opam ocamlformat-rpc-lib.opam ocamlformat-lib.opam ocamlformat-bench.opam) (dst ./src/./)) 2026-04-25 20:24.41 ---> saved as "566d9c1fdc26bd949eb498178840d287d1f3061c004db1da98454becf8c3735a" /: (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 20:25.01 ---> saved as "0174f5a0644e89f32bab489bb62202a1fb1c76e5576ca977bd43f25f17019a60" /: (run (shell "echo '(lang dune 3.0)' > './src/./dune-project'")) 2026-04-25 20:25.02 ---> saved as "38bae1c67aa57f66c95ec29c88ff6d4ca9afe4301ba6f75393a2346457a0f20f" /: (env DEPS "alcotest.1.9.1 astring.0.8.5 base.v0.16.5 base-bigarray.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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.1.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocp-indent.1.9.0 re.1.14.0 sexplib0.v0.16.0 stdio.v0.16.0 stdlib-shims.0.3.0 topkg.1.1.1 uucp.17.0.0 uuseg.17.0.0 uutf.1.0.4 yojson.3.0.0") /: (env CI true) /: (env OCAMLCI true) /: (run (cache (opam-archives (target /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")) + /usr/local/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 2). [NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2). [NOTE] Package ocaml is already installed (current version is 4.14.2). [NOTE] Package base-unix is already installed (current version is base). [NOTE] Package base-threads is already installed (current version is base). [NOTE] Package base-bigarray is already installed (current version is base). # To update the current shell environment, run: eval $(opam env) 2026-04-25 20:25.33 ---> saved as "46fb49ea4edb45b315e0e5ccc6cc08b84c5b7534135377e9965e35697f832847" /: (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 2). [NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2). [NOTE] Package ocaml is already installed (current version is 4.14.2). [NOTE] Package base-unix is already installed (current version is base). [NOTE] Package base-threads is already installed (current version is base). [NOTE] Package base-bigarray is already installed (current version is base). The following actions will be performed: === install 33 packages - install alcotest 1.9.1 - install astring 0.8.5 - install base v0.16.5 - 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 ocamlbuild 0.16.1 - install ocamlfind 1.9.8 - install ocp-indent 1.9.0 - install re 1.14.0 - install sexplib0 v0.16.0 - install stdio v0.16.0 - install stdlib-shims 0.3.0 - install topkg 1.1.1 - install uucp 17.0.0 - install uuseg 17.0.0 - install uutf 1.0.4 - install yojson 3.0.0 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved base.v0.16.5 (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 menhir.20260209, menhirCST.20260209, menhirGLR.20260209, menhirLib.20260209, menhirSdk.20260209 (cached) -> retrieved ocamlbuild.0.16.1 (cached) -> retrieved ocamlfind.1.9.8 (cached) -> retrieved re.1.14.0 (cached) -> retrieved ocp-indent.1.9.0 (cached) -> retrieved sexplib0.v0.16.0 (cached) -> retrieved stdio.v0.16.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 menhirCST.20260209 -> installed either.1.0.0 -> installed csexp.1.5.2 -> installed fix.20250919 -> installed ocp-indent.1.9.0 -> installed ocaml-version.4.1.0 -> installed ocaml-syntax-shims.1.0.0 -> installed menhirSdk.20260209 -> installed menhirLib.20260209 -> installed menhirGLR.20260209 -> installed stdlib-shims.0.3.0 -> installed dune-build-info.3.22.2 -> installed camlp-streams.5.0.1 -> installed bechamel.0.5.0 -> installed sexplib0.v0.16.0 -> installed dune-configurator.3.22.2 -> installed yojson.3.0.0 -> installed re.1.14.0 -> installed alcotest.1.9.1 -> installed base.v0.16.5 -> installed stdio.v0.16.0 -> installed menhir.20260209 -> installed uucp.17.0.0 -> installed uuseg.17.0.0 Done. <><> ocp-indent.1.9.0 installed successfully ><><><><><><><><><><><><><><><><><> => This package requires additional configuration for use in editors. Install package 'user-setup', or manually: * for Emacs, add these lines to ~/.emacs: (add-to-list 'load-path "/Users/mac1000/.opam/4.14.2/share/emacs/site-lisp") (require 'ocp-indent) * for Vim, add this line to ~/.vimrc: set rtp^="/Users/mac1000/.opam/4.14.2/share/ocp-indent/vim" # To update the current shell environment, run: eval $(opam env) 2026-04-25 20:27.28 ---> saved as "d0c739b49f24876419721b4f7172a7b07e6d218bf57e765d749e1e7a9e206c42" /: (copy (src .) (dst ./src)) 2026-04-25 20:27.30 ---> saved as "aecac7860f22abd4e69e2388d2932bd9efe41b7cdcd1be00c47afd86401acac1" /: (run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build")) (cd _build/default && /Users/mac1000/.opam/4.14.2/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 -I test/passing/gen/.gen.eobjs/byte -intf-suffix .ml -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/4.14.2/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 -I test/failing/gen/.gen.eobjs/byte -intf-suffix .ml -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/4.14.2/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 -intf-suffix .ml -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/4.14.2/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 -intf-suffix .ml -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/1ed97bf0ee5b1389740543d6aff1f14a/default && /Users/mac1000/.opam/4.14.2/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..871714e 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/hf/hvwp3tks6dqdlx9y0m2sn3th0000z8/T/build_ce08e5_dune/need_format38bf72.prev.ml" "/var/folders/hf/hvwp3tks6dqdlx9y0m2sn3th0000z8/T/build_ce08e5_dune/need_format87f5a4.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..07e4ab9 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/hf/hvwp3tks6dqdlx9y0m2sn3th0000z8/T/build_ce08e5_dune/need_format945d19.prev.ml" "/var/folders/hf/hvwp3tks6dqdlx9y0m2sn3th0000z8/T/build_ce08e5_dune/need_format9e8b30.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..6bd00d7 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/hf/hvwp3tks6dqdlx9y0m2sn3th0000z8/T/build_ce08e5_dune/need_formatd8aa86.prev.ml" "/var/folders/hf/hvwp3tks6dqdlx9y0m2sn3th0000z8/T/build_ce08e5_dune/need_format88dcf3.next.ml" ocamlformat: "need_format.ml" was not already formatted. ([max-iters = 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..728ca93 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/hf/hvwp3tks6dqdlx9y0m2sn3th0000z8/T/build_ce08e5_dune/need_formata6a76c.prev.ml" "/var/folders/hf/hvwp3tks6dqdlx9y0m2sn3th0000z8/T/build_ce08e5_dune/need_formatae1d24.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..5eac9e4 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/hf/hvwp3tks6dqdlx9y0m2sn3th0000z8/T/build_ce08e5_dune/ae82a0f.prev.ml" "/var/folders/hf/hvwp3tks6dqdlx9y0m2sn3th0000z8/T/build_ce08e5_dune/a460aba.next.ml" ocamlformat: "a.ml" was not already formatted. ([max-iters = 1]) [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 `RMV7KF70'. ................................................................................ ................................................................................ ............................................ "/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 20:28.00: Job failed: Failed: Build failed