2025-10-29 16:12.33: New job: test ocaml-ppx/ocamlformat https://github.com/ocaml-ppx/ocamlformat.git#refs/pull/2745/head (35e1b7660102cb7edf67ef57ad5a1875752306cb) (macos-arm64:macos-homebrew-5.4_arm64_opam-2.4)Base: macos-homebrew-ocaml-5.4Opam project buildTo reproduce locally:git clone --recursive "https://github.com/ocaml-ppx/ocamlformat.git" && cd "ocamlformat" && git fetch origin "refs/pull/2745/head" && git reset --hard 35e1b766cat > Dockerfile <<'END-OF-DOCKERFILE'FROM macos-homebrew-ocaml-5.4# macos-homebrew-5.4_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 7f9c784b97b368cd82ee80890d9866b8e66b7c1b || git fetch origin master) && git reset -q --hard 7f9c784b97b368cd82ee80890d9866b8e66b7c1b && 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.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.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-29 16:12.33: Using cache hint "ocaml-ppx/ocamlformat-macos-homebrew-ocaml-5.4-macos-homebrew-5.4_arm64_opam-2.4-10a07eb5fc9be104a5cac3d37a95add9"2025-10-29 16:12.33: Using OBuilder spec:((from macos-homebrew-ocaml-5.4)(comment macos-homebrew-5.4_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 7f9c784b97b368cd82ee80890d9866b8e66b7c1b || git fetch origin master) && git reset -q --hard 7f9c784b97b368cd82ee80890d9866b8e66b7c1b && 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.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.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-29 16:12.33: Waiting for resource in pool OCluster2025-10-29 16:12.33: Waiting for worker…2025-10-29 16:12.33: Got resource from pool OClusterBuilding on m1-worker-01HEAD is now at 0c3acc59 changelogHEAD is now at 35e1b766 fmt(from macos-homebrew-ocaml-5.4)2025-10-29 16:12.34 ---> using "338135fbf1889e924a607b47198b8b308c32a925cc9436066d65a9bdc402cad5" from cache/: (comment macos-homebrew-5.4_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-29 16:12.35 ---> using "c45c11c7286cf606ab2156414383237a0e197bf48b9278e9465cc1693c9332b7" 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-29 16:12.35 ---> using "59a16318ff40c58338bc0b572a2d778111fa14b30a0dc4a11f6465d8abb80bbd" from cache/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))Darwin 24.5.0The OCaml toplevel, version 5.4.02.4.12025-10-29 16:12.35 ---> using "03cbf303c2ae412068cf1b7f097ec773b09f8e6d693af9a4cf051761664f96f9" 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 7f9c784b97b368cd82ee80890d9866b8e66b7c1b || git fetch origin master) && git reset -q --hard 7f9c784b97b368cd82ee80890d9866b8e66b7c1b && git log --no-decorate -n1 --oneline && opam update -u"))From https://github.com/ocaml/opam-repository* branch master -> FETCH_HEAD5bf570252b..7f9c784b97 master -> origin/master7f9c784b97 Merge pull request #28787 from ocaml/mseri-patch-1<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>[default] synchronised from git+file:///Users/mac1000/opam-repositoryAlready up-to-date.Nothing to do.# To update the current shell environment, run: eval $(opam env)2025-10-29 16:12.35 ---> using "0d3b40e06fac490f5b93247996fcf52b04dc54fb28708e299ea5669ed85fd164" from cache/: (copy (src ocamlformat.opam ocamlformat-rpc-lib.opam ocamlformat-lib.opam ocamlformat-bench.opam)(dst ./src/./))2025-10-29 16:12.35 ---> using "88d519c2e927d0f1e214f359be2efe1bafdd7fc9910a59bf73a5e01874969f8f" 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-29 16:12.35 ---> using "045b4a8f9f26d103905af1779d2a339646d08bade0bb8ceb0fad774836168415" from cache/: (run (network host)(shell "echo '(lang dune 3.0)' > './src/./dune-project'"))2025-10-29 16:12.35 ---> using "7a467e9b47686b882552da6dddabc7aeccb93c16a3f8d8b7a6dc391c28f5fcba" 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.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.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.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).2025-10-29 16:12.36 ---> using "c3d691bd5b21cf8a47535323deb9a657a970fab87a3708259a107132a283ae84" 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.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 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 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.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 yojson.3.0.0 (cached)-> retrieved uucp.17.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.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)2025-10-29 16:12.36 ---> using "8791f7b6f79583b4a87e60114dfd020d6532291b8f4c6175c66c8851f4a2ff62" from cache/: (copy (src .) (dst ./src))2025-10-29 16:12.37 ---> saved as "9c50ef4f01331f1d496ac5dd654ab42d1961c4e029a10c02efb371ad23552f3f"/: (run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build"))File "test/unit/dune", line 2, characters 7-16:2 | (name test_unit)^^^^^^^^^(cd _build/default/test/unit && ./test_unit.exe)Testing `ocamlformat'.This run has ID `G3ZCPIF7'..............................................................................................................................................................................................F..............┌──────────────────────────────────────────────────────────────────────────────┐│ [FAIL] Fmt_ast 0 updated AST. │└──────────────────────────────────────────────────────────────────────────────┘ASSERT updated AST: xASSERT updated AST: 1_2ASSERT updated AST: 12lASSERT updated AST: 'a'ASSERT updated AST: '\n'ASSERT updated AST: "a\013"ASSERT updated AST: {|a|}ASSERT updated AST: 12e1ASSERT updated AST: let rec x = 1 and y = 2 in ()ASSERT updated AST: let x = 1 and y = 2 in ()ASSERT updated AST: fun x y : a -> function 1 -> 1ASSERT updated AST: f a ~b ?cASSERT updated AST: match () with () -> () | () -> ()ASSERT updated AST: try () with () -> () | () -> ()ASSERT updated AST: ((), ())ASSERT updated AST: Some (); NoneASSERT updated AST: `Some (); `NoneASSERT updated AST: { a = 1; b : float = 2 }, { r with a }ASSERT updated AST: a.xASSERT updated AST: a.x <- 1ASSERT updated AST: [| 1; 2 |]ASSERT updated AST: [ 1; 2 ]ASSERT updated AST: if a then b else if c then d else eASSERT updated AST: a; bASSERT updated AST: while a do b doneASSERT updated AST: for a = b to c do d doneASSERT updated AST: (a : b)ASSERT updated AST: (a : b :> c)ASSERT updated AST: a#bASSERT updated AST: x <- 2ASSERT updated AST: {<x = 1>}ASSERT updated AST: let module M = struct end in ()ASSERT updated AST: let exception E in ()ASSERT updated AST: assert ()ASSERT updated AST: lazy 1ASSERT updated AST: object val x = 1 endASSERT updated AST: (module M)ASSERT updated AST: (module M : S)ASSERT updated AST: let open M in 1ASSERT updated AST: M.(1)ASSERT updated AST: let+ x = 1 and+ y = 2 in ()ASSERT updated AST: [%extension 1]ASSERT updated AST: function _ -> .ASSERT updated AST: _ASSERT updated AST: begin () endFile "test/unit/test_fmt_ast.ml", line 117, character 8:FAIL updated AST: begin () endExpected: `"begin\n ()\nend"'Received: `"begin () end"'Raised at Alcotest_engine__Test.check in file "src/alcotest-engine/test.ml", lines 216-226, characters 4-19Called from Dune__exe__Test_fmt_ast.updated_ast_tests.(fun) in file "test/unit/test_fmt_ast.ml", line 117, characters 8-60Called from Alcotest_engine__Core.Make.protect_test.(fun) in file "src/alcotest-engine/core.ml", line 186, characters 17-23Called from Alcotest_engine__Monad.Identity.catch in file "src/alcotest-engine/monad.ml", line 24, characters 31-35Logs saved to `~/src/_build/default/test/unit/_build/_tests/ocamlformat/Fmt_ast.000.output'.──────────────────────────────────────────────────────────────────────────────Full test results in `~/src/_build/default/test/unit/_build/_tests/ocamlformat'.1 failure! in 0.021s. 204 tests run."/usr/bin/env" "bash" "-c" "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 12025-10-29 16:12.55: Job failed: Failed: Build failed