2025-10-27 22:42.32: New job: test ocaml-ppx/ppxlib https://github.com/ocaml-ppx/ppxlib.git#refs/pull/604/head (a9c9644e44c65d3877e174d77cdd7205e83e8278) (windows-amd64:windows-server-2022-amd64-5.4_opam-2.4)Base: windows-server-2022-amd64-ocaml-5.4Opam project buildTo reproduce locally:git clone --recursive "https://github.com/ocaml-ppx/ppxlib.git" && cd "ppxlib" && git fetch origin "refs/pull/604/head" && git reset --hard a9c9644ecat > Dockerfile <<'END-OF-DOCKERFILE'FROM windows-server-2022-amd64-ocaml-5.4# windows-server-2022-amd64-5.4_opam-2.4USER 1000:1000ENV CLICOLOR_FORCE="1"ENV OPAMCOLOR="always"RUN ln -f /usr/bin/opam-2.4 /usr/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 ppxlib.opam ppxlib-tools.opam ppxlib-bench.opam /Users/opam/src/./RUN opam pin add -yn ppxlib.dev '/Users/opam/src/./' && \opam pin add -yn ppxlib-tools.dev '/Users/opam/src/./' && \opam pin add -yn ppxlib-bench.dev '/Users/opam/src/./'RUN echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'ENV DEPS="arch-x86_64.1 base.v0.17.3 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cinaps.v0.15.1 cmdliner.2.0.0 conf-mingw-w64-gcc-x86_64.1 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 flexdll.0.44 host-arch-x86_64.1 host-system-mingw.1 mingw-w64-shims.0.2.0 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocaml_intrinsics_kernel.v0.17.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 re.1.14.0 sexplib0.v0.17.0 stdlib-shims.0.3.0 system-mingw.1 yojson.3.0.0"ENV CI="true"ENV OCAMLCI="true"RUN opam update --depexts && opam install --cli=2.4 --depext-only -y ppxlib.dev ppxlib-tools.dev ppxlib-bench.dev $DEPSRUN opam install $DEPSCOPY --chown=1000:1000 . /Users/opam/srcRUN cd /cygdrive/c/Users/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _buildEND-OF-DOCKERFILEdocker build .END-REPRO-BLOCK2025-10-27 22:42.32: Using cache hint "ocaml-ppx/ppxlib-windows-server-2022-amd64-ocaml-5.4-windows-server-2022-amd64-5.4_opam-2.4-be0b3f82891cf77871639f30494575bf"2025-10-27 22:42.32: Using OBuilder spec:((from windows-server-2022-amd64-ocaml-5.4)(comment windows-server-2022-amd64-5.4_opam-2.4)(user (uid 1000) (gid 1000))(env CLICOLOR_FORCE 1)(env OPAMCOLOR always)(run (shell "ln -f /usr/bin/opam-2.4 /usr/bin/opam"))(run (shell "opam init --reinit -ni"))(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))(run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))(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 ppxlib.opam ppxlib-tools.opam ppxlib-bench.opam)(dst /Users/opam/src/./))(run (network host)(shell "opam pin add -yn ppxlib.dev '/Users/opam/src/./' && \\nopam pin add -yn ppxlib-tools.dev '/Users/opam/src/./' && \\nopam pin add -yn ppxlib-bench.dev '/Users/opam/src/./'"))(run (network host)(shell "echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'"))(env DEPS "arch-x86_64.1 base.v0.17.3 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cinaps.v0.15.1 cmdliner.2.0.0 conf-mingw-w64-gcc-x86_64.1 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 flexdll.0.44 host-arch-x86_64.1 host-system-mingw.1 mingw-w64-shims.0.2.0 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocaml_intrinsics_kernel.v0.17.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 re.1.14.0 sexplib0.v0.17.0 stdlib-shims.0.3.0 system-mingw.1 yojson.3.0.0")(env CI true)(env OCAMLCI true)(run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))(network host)(shell "opam update --depexts && opam install --cli=2.4 --depext-only -y ppxlib.dev ppxlib-tools.dev ppxlib-bench.dev $DEPS"))(run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))(network host)(shell "opam install $DEPS"))(copy (src .) (dst /Users/opam/src))(run (shell "cd /cygdrive/c/Users/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build")))2025-10-27 22:42.32: Waiting for resource in pool OCluster2025-10-28 02:02.10: Waiting for worker…2025-10-28 06:15.47: Got resource from pool OClusterBuilding on thymeAll commits already cachedHEAD is now at a9c9644e Demonstrate infinite loop and OOM error when passing duplicate attributes.(from windows-server-2022-amd64-ocaml-5.4)2025-10-28 06:15.47 ---> using "dc0473c210cbdaa785843aceeb4b20f70de275b54f2f11b3cd1945755e26c295" from cache/: (comment windows-server-2022-amd64-5.4_opam-2.4)/: (user (uid 1000) (gid 1000))/: (env CLICOLOR_FORCE 1)/: (env OPAMCOLOR always)/: (run (shell "ln -f /usr/bin/opam-2.4 /usr/bin/opam"))2025-10-28 06:15.47 ---> using "2cc10c0de974a41a492b52f4c10e4774291ab2452e1192584f4bd1214eecf165" from cache/: (run (shell "opam init --reinit -ni"))No configuration file found, using built-in defaults.<><> Unix support infrastructure ><><><><><><><><><><><><><><><><><><><><><><><>opam and the OCaml ecosystem in general require various Unix tools in order to operate correctly. At present, this requires the installation of Cygwin to provide these tools.How should opam obtain Unix tools?> 1. Use tools found in PATH (Cygwin installation at C:\cygwin64)2. Automatically create an internal Cygwin installation that will be managed by opam (recommended)3. Use Cygwin installation found in C:\cygwin644. Use another existing Cygwin/MSYS2 installation5. Abort initialisation[1/2/3/4/5] 1Checking 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.<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>[default] no changes from file://C:/Users/opam/opam-repository2025-10-28 06:15.47 ---> using "e3a025f74254e53619e1cb17b830cf27adf6ecfb6e45ea98f6e1b9fc227d98a5" from cache/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))CYGWIN_NT-10.0-20348 3.6.5-1.x86_64The OCaml toplevel, version 5.4.02.4.12025-10-28 06:15.47 ---> using "b2317ce0850b83bf9a96e1d3315a4c08197605467948e554d9a6e5c89b07a70d" from cache/: (run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))(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 file://C:/Users/opam/opam-repositoryAlready up-to-date.Nothing to do.# To update the current shell environment, run: eval $(opam env)2025-10-28 06:15.47 ---> using "bbb896385bc1fda1c995bc3c234fb9b91b84dd5f77658f4c807922434c26e333" from cache/: (copy (src ppxlib.opam ppxlib-tools.opam ppxlib-bench.opam)(dst /Users/opam/src/./))2025-10-28 06:15.47 ---> using "29a280f11b5b6cb778e743b425c9ae800993af4ec3b21b8af210c95f769ac70f" from cache/: (run (network host)(shell "opam pin add -yn ppxlib.dev '/Users/opam/src/./' && \\nopam pin add -yn ppxlib-tools.dev '/Users/opam/src/./' && \\nopam pin add -yn ppxlib-bench.dev '/Users/opam/src/./'"))[ppxlib.dev] synchronised (file://C:/Users/opam/src/.)ppxlib is now pinned to file://C:/Users/opam/src/. (version dev)[ppxlib-tools.dev] synchronised (file://C:/Users/opam/src/.)ppxlib-tools is now pinned to file://C:/Users/opam/src/. (version dev)[NOTE] Package ppxlib-bench does not exist in opam repositories registered in the current switch.[ppxlib-bench.dev] synchronised (file://C:/Users/opam/src/.)ppxlib-bench is now pinned to file://C:/Users/opam/src/. (version dev)2025-10-28 06:15.47 ---> using "98491ccf3a4f04d5030404e900df75e9d4f6d8e25ce61e076f48af65365bffbd" from cache/: (run (network host)(shell "echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'"))2025-10-28 06:15.47 ---> using "993734f9e1014dc7efbb228490358b5c47854f97c4ed7740aca8a296ac6b947a" from cache/: (env DEPS "arch-x86_64.1 base.v0.17.3 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cinaps.v0.15.1 cmdliner.2.0.0 conf-mingw-w64-gcc-x86_64.1 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 flexdll.0.44 host-arch-x86_64.1 host-system-mingw.1 mingw-w64-shims.0.2.0 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocaml_intrinsics_kernel.v0.17.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 re.1.14.0 sexplib0.v0.17.0 stdlib-shims.0.3.0 system-mingw.1 yojson.3.0.0")/: (env CI true)/: (env OCAMLCI true)/: (run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))(network host)(shell "opam update --depexts && opam install --cli=2.4 --depext-only -y ppxlib.dev ppxlib-tools.dev ppxlib-bench.dev $DEPS"))<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>[ppxlib.dev] synchronised (file://C:/Users/opam/src/.)[ppxlib-bench.dev] synchronised (file://C:/Users/opam/src/.)[ppxlib-tools.dev] synchronised (file://C:/Users/opam/src/.)[NOTE] Package system-mingw is already installed (current version is 1).[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).[NOTE] Package ocaml-env-mingw64 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 mingw-w64-shims is already installed (current version is 0.2.0).[NOTE] Package host-system-mingw is already installed (current version is 1).[NOTE] Package host-arch-x86_64 is already installed (current version is 1).[NOTE] Package flexdll is already installed (current version is 0.44).[NOTE] Package conf-mingw-w64-gcc-x86_64 is already installed (current version is 1).[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).[NOTE] Package arch-x86_64 is already installed (current version is 1).2025-10-28 06:15.47 ---> using "92001495e6821f0d0c86cd1ba5b46991c62cfabdf875b99a30c8f25b40363b4a" from cache/: (run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))(network host)(shell "opam install $DEPS"))[NOTE] Package system-mingw is already installed (current version is 1).[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).[NOTE] Package ocaml-env-mingw64 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 mingw-w64-shims is already installed (current version is 0.2.0).[NOTE] Package host-system-mingw is already installed (current version is 1).[NOTE] Package host-arch-x86_64 is already installed (current version is 1).[NOTE] Package flexdll is already installed (current version is 0.44).[NOTE] Package conf-mingw-w64-gcc-x86_64 is already installed (current version is 1).[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).[NOTE] Package arch-x86_64 is already installed (current version is 1).The following actions will be performed:=== install 14 packages- install base v0.17.3- install cinaps v0.15.1- install cmdliner 2.0.0- install csexp 1.5.2- install dune 3.20.2- install dune-configurator 3.20.2- install ocaml-compiler-libs v0.17.0- install ocaml_intrinsics_kernel v0.17.1- install ocamlfind 1.9.8- install ppx_derivers 1.2.1- install re 1.14.0- install sexplib0 v0.17.0- install stdlib-shims 0.3.0- install yojson 3.0.0<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>-> retrieved cmdliner.2.0.0 (https://erratique.ch/software/cmdliner/releases/cmdliner-2.0.0.tbz)-> retrieved csexp.1.5.2 (cached)-> retrieved cinaps.v0.15.1 (https://github.com/ocaml-ppx/cinaps/archive/v0.15.1.tar.gz)-> retrieved base.v0.17.3 (https://github.com/janestreet/base/archive/refs/tags/v0.17.3.tar.gz)-> retrieved ocaml-compiler-libs.v0.17.0 (cached)-> retrieved ocaml_intrinsics_kernel.v0.17.1 (cached)-> retrieved ocamlfind.1.9.8 (cached)-> retrieved ppx_derivers.1.2.1 (cached)-> retrieved sexplib0.v0.17.0 (cached)-> retrieved stdlib-shims.0.3.0 (cached)-> retrieved re.1.14.0 (https://github.com/ocaml/ocaml-re/archive/refs/tags/1.14.0.tar.gz)-> retrieved yojson.3.0.0 (https://github.com/ocaml-community/yojson/releases/download/3.0.0/yojson-3.0.0.tbz)-> retrieved dune.3.20.2, dune-configurator.3.20.2 (https://github.com/ocaml/dune/releases/download/3.20.2/dune-3.20.2.tbz)-> installed cmdliner.2.0.0[WARNING] .install file is missing .exe extension for src/findlib/ocamlfind[WARNING] .install file is missing .exe extension for src/findlib/ocamlfind_opt[WARNING] Automatically adding .exe to C:\Users\opam\AppData\Local\opam\5.4.0\.opam-switch\build\ocamlfind.1.9.8\src\findlib\ocamlfind.exe[WARNING] Automatically adding .exe to C:\Users\opam\AppData\Local\opam\5.4.0\.opam-switch\build\ocamlfind.1.9.8\src\findlib\ocamlfind_opt.exe[WARNING] C:\Users\opam\AppData\Local\opam\5.4.0\bin\safe_camlp4 is a script; the command won't be available-> installed ocamlfind.1.9.8-> installed dune.3.20.2-> installed ppx_derivers.1.2.1-> installed csexp.1.5.2-> installed ocaml-compiler-libs.v0.17.0-> installed ocaml_intrinsics_kernel.v0.17.1-> installed re.1.14.0-> installed sexplib0.v0.17.0-> installed stdlib-shims.0.3.0-> installed yojson.3.0.0-> installed cinaps.v0.15.1-> installed dune-configurator.3.20.2-> installed base.v0.17.3Done.# To update the current shell environment, run: eval $(opam env)2025-10-28 06:15.47 ---> using "cad2d7945fbc2ad022b1fddeaa7ba9690090858798d09688522eacce04910f51" from cache/: (copy (src .) (dst /Users/opam/src))2025-10-28 06:16.28 ---> saved as "80a913a06a86282dbf0dc2a5a6d01f508d8e29cb4ad0864ed9fb38193eab112d"/: (run (shell "cd /cygdrive/c/Users/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))File "src/dune", lines 24-26, characters 0-63:24 | (cinaps25 | (files *.ml *.mli)26 | (libraries ppxlib_cinaps_helpers))(cd _build/default/src && .cinaps.6d0a12df\cinaps.exe -diff-cmd -)Fatal error: exception Sys_error("C:\\Users\\opam\\AppData\\Local\\Temp\\cinapsbb1f8e.mli: Permission denied")File "astlib/dune", lines 15-17, characters 0-63:15 | (cinaps16 | (files *.ml *.mli)17 | (libraries astlib_cinaps_helpers))(cd _build/default/astlib && .cinaps.7d124280\cinaps.exe -diff-cmd -)Fatal error: exception Sys_error("C:\\Users\\opam\\AppData\\Local\\Temp\\cinaps9afeec.ml: Permission denied")File "ast/dune", lines 21-23, characters 0-60:21 | (cinaps22 | (files *.ml *.mli)23 | (libraries ast_cinaps_helpers))(cd _build/default/ast && .cinaps.43bc8a3e\cinaps.exe -diff-cmd -)Fatal error: exception Sys_error("C:\\Users\\opam\\AppData\\Local\\Temp\\cinapsc64ea1.ml: Permission denied")File "test/driver/flag_cookie/run.t", line 1, characters 0-0:C:\cygwin64\bin\git.exe --no-pager diff --no-index --color=always -u --ignore-cr-at-eol _build/default/test/driver/flag_cookie/run.t _build/default/test/driver/flag_cookie/run.t.correcteddiff --git a/_build/default/test/driver/flag_cookie/run.t b/_build/default/test/driver/flag_cookie/run.t.correctedindex d6c3fa5..0fe4981 100644--- a/_build/default/test/driver/flag_cookie/run.t+++ b/_build/default/test/driver/flag_cookie/run.t.corrected@@ -7,4 +7,10 @@ The cookie flag is taken into account, both by the main standalone...and by the `-as-ppx` standalone$ ocaml -ppx './print_cookie_driver.exe --as-ppx -cookie x=1' impl.ml- Value of cookie x: 1+ '.' is not recognized as an internal or external command,+ operable program or batch file.+ File ".\impl.ml", line 1:+ Error: Error while running external preprocessor+ Command line: ./print_cookie_driver.exe --as-ppx -cookie x=1 "C:\Users\opam\AppData\Local\Temp\camlppxa8b558" "C:\Users\opam\AppData\Local\Temp\camlppxb21cce"++ [2]File "test/extensions_and_deriving/floating_attr/run-floating-attr.t", line 1, characters 0-0:C:\cygwin64\bin\git.exe --no-pager diff --no-index --color=always -u --ignore-cr-at-eol _build/default/test/extensions_and_deriving/floating_attr/run-floating-attr.t _build/default/test/extensions_and_deriving/floating_attr/run-floating-attr.t.correcteddiff --git a/_build/default/test/extensions_and_deriving/floating_attr/run-floating-attr.t b/_build/default/test/extensions_and_deriving/floating_attr/run-floating-attr.t.correctedindex 1807b5c..2a273b9 100644--- a/_build/default/test/extensions_and_deriving/floating_attr/run-floating-attr.t+++ b/_build/default/test/extensions_and_deriving/floating_attr/run-floating-attr.t.corrected@@ -12,12 +12,22 @@ Test `attr_str_floating_expect_and_expand` via `@@@identity_inline_expanded`.$ ./ppx.exe -no-color -null -diff-cmd 'diff -u --label "" --label ""' program.ml---+++- @@ -4,4 +4,5 @@- end = struct- let foo = [%suffix "apples"]- end]+ @@ -1,7 +1,8 @@+ -[@@@identity_inline_expanded+ - module T : sig+ - val foo : [%str]+ - end = struct+ - let foo = [%suffix "apples"]+ - end]+ -[@@@end]+ +[@@@identity_inline_expanded+ + module T : sig+ + val foo : [%str]+ + end = struct+ + let foo = [%suffix "apples"]+ + end]+module T : sig val foo : string end = struct let foo = "apples_suffix" end- [@@@end]+ +[@@@end][1]Test `attr_sig_floating_expect_and_expand` via `@@@identity_inline_expanded`.@@ -35,14 +45,24 @@ Test `attr_sig_floating_expect_and_expand` via `@@@identity_inline_expanded`.$ ./ppx.exe -no-color -null -diff-cmd 'diff -u --label "" --label ""' program.ml---+++- @@ -4,5 +4,8 @@- include module type of struct- let foo = [%suffix "apples"]- end]+ @@ -1,8 +1,11 @@+ -module type S = sig+ - [@@@identity_inline_expanded:+ - val foo : [%str]+ - include module type of struct+ - let foo = [%suffix "apples"]+ - end]- [@@@end]+ -end+ +module type S = sig+ + [@@@identity_inline_expanded:+ + val foo : [%str]+ + include module type of struct+ + let foo = [%suffix "apples"]+ + end]++val foo : string+include module type of struct let foo = "apples_suffix" end+[@@@end]- end+ +end[1]File "test/driver/error_embedding/test.t/run.t", line 1, characters 0-0:C:\cygwin64\bin\git.exe --no-pager diff --no-index --color=always -u --ignore-cr-at-eol _build/default/test/driver/error_embedding/test.t/run.t _build/default/test/driver/error_embedding/test.t/run.t.correcteddiff --git a/_build/default/test/driver/error_embedding/test.t/run.t b/_build/default/test/driver/error_embedding/test.t/run.t.correctedindex dafee10..48675a3 100644--- a/_build/default/test/driver/error_embedding/test.t/run.t+++ b/_build/default/test/driver/error_embedding/test.t/run.t.corrected@@ -14,8 +14,12 @@ The same is true when using the `-as-ppx` mode (note that the error is reportedby ocaml itself)$ ocaml -ppx '../raiser.exe -as-ppx' impl.ml- File "./impl.ml", line 1, characters 8-16:- Error: Raising inside the rewriter+ '..' is not recognized as an internal or external command,+ operable program or batch file.+ File ".\impl.ml", line 1:+ Error: Error while running external preprocessor+ Command line: ../raiser.exe -as-ppx "C:\Users\opam\AppData\Local\Temp\camlppx09dbf0" "C:\Users\opam\AppData\Local\Temp\camlppx15ef48"+[2]Also exceptions raised in a preprocessor get embedded into an AST(while the@@ -23,9 +27,10 @@ error from the preprocessor's stderr also gets reported on the driver's stderr)$ touch file.ml$ ../raiser.exe -embed-errors -pp ../pp.exe file.ml | sed "s/> '.*'/> tmpfile/"- Fatal error: exception Raising inside the preprocessor+ '..' is not recognized as an internal or external command,+ operable program or batch file.[%%ocaml.error- "Error while running external preprocessor\nCommand line: ../pp.exe 'file.ml' > tmpfile\n"]+ "Error while running external preprocessor\nCommand line: ../pp.exe \"file.ml\" > \"C:\\Users\\opam\\AppData\\Local\\Temp\\ocamlppf3389f\"\n"]Also `unknown version` errors are embedded into an AST when using themain standaloneFile "test/driver/standalone_run_as_ppx/run.t", line 1, characters 0-0:C:\cygwin64\bin\git.exe --no-pager diff --no-index --color=always -u --ignore-cr-at-eol _build/default/test/driver/standalone_run_as_ppx/run.t _build/default/test/driver/standalone_run_as_ppx/run.t.correcteddiff --git a/_build/default/test/driver/standalone_run_as_ppx/run.t b/_build/default/test/driver/standalone_run_as_ppx/run.t.correctedindex e36c4bf..544b83c 100644--- a/_build/default/test/driver/standalone_run_as_ppx/run.t+++ b/_build/default/test/driver/standalone_run_as_ppx/run.t.corrected@@ -6,7 +6,13 @@ The rewriter gets applied when using `--as-ppx`$ echo "let _ = [%print_hi]" > impl.ml$ ocaml -ppx './print_stuff.exe --as-ppx' impl.ml- hi+ '.' is not recognized as an internal or external command,+ operable program or batch file.+ File ".\impl.ml", line 1:+ Error: Error while running external preprocessor+ Command line: ./print_stuff.exe --as-ppx "C:\Users\opam\AppData\Local\Temp\camlppx2a8ca2" "C:\Users\opam\AppData\Local\Temp\camlppx2ffff9"++ [2]If a non-compatible file gets fed, the file name is reported correctly@@ -20,18 +26,34 @@ The ocaml.ppx.context attribute gets parsed correctly; in particular, the tool n$ echo "let _ = [%print_tool_name]" > impl.ml$ ocaml -ppx './print_stuff.exe --as-ppx' impl.ml- ocaml+ '.' is not recognized as an internal or external command,+ operable program or batch file.+ File ".\impl.ml", line 1:+ Error: Error while running external preprocessor+ Command line: ./print_stuff.exe --as-ppx "C:\Users\opam\AppData\Local\Temp\camlppx8af5af" "C:\Users\opam\AppData\Local\Temp\camlppxcdb19a"++ [2]The driver's `shared_args` arguments are taken into account. For example, `-loc-filename`$ echo "let _ = [%print_fname]" > impl.ml$ ocaml -ppx './print_stuff.exe --as-ppx -loc-filename new_fn.ml' impl.ml- new_fn.ml+ '.' is not recognized as an internal or external command,+ operable program or batch file.+ File ".\impl.ml", line 1:+ Error: Error while running external preprocessor+ Command line: ./print_stuff.exe --as-ppx -loc-filename new_fn.ml "C:\Users\opam\AppData\Local\Temp\camlppx6da596" "C:\Users\opam\AppData\Local\Temp\camlppx2c6ecc"++ [2]or `dont-apply`$ echo "let _ = [%print_hi]" > impl.ml$ ocaml -ppx './print_stuff.exe --as-ppx -dont-apply test' impl.ml- File "./impl.ml", line 1, characters 10-18:- Error: Uninterpreted extension 'print_hi'.+ '.' is not recognized as an internal or external command,+ operable program or batch file.+ File ".\impl.ml", line 1:+ Error: Error while running external preprocessor+ Command line: ./print_stuff.exe --as-ppx -dont-apply test "C:\Users\opam\AppData\Local\Temp\camlppxfd95c0" "C:\Users\opam\AppData\Local\Temp\camlppx960459"+[2]File "test/driver/run_as_ppx_rewriter/run.t", line 1, characters 0-0:C:\cygwin64\bin\git.exe --no-pager diff --no-index --color=always -u --ignore-cr-at-eol _build/default/test/driver/run_as_ppx_rewriter/run.t _build/default/test/driver/run_as_ppx_rewriter/run.t.correcteddiff --git a/_build/default/test/driver/run_as_ppx_rewriter/run.t b/_build/default/test/driver/run_as_ppx_rewriter/run.t.correctedindex f883cc3..d2182bd 100644--- a/_build/default/test/driver/run_as_ppx_rewriter/run.t+++ b/_build/default/test/driver/run_as_ppx_rewriter/run.t.corrected@@ -10,23 +10,35 @@ The registered rewriters get applied when using `run_as_ppx_rewriter` as entry p> let () = [%print_bye]> EOF$ ocaml -ppx './print_greetings.exe' file.ml- hi- bye+ '.' is not recognized as an internal or external command,+ operable program or batch file.+ File ".\file.ml", line 1:+ Error: Error while running external preprocessor+ Command line: ./print_greetings.exe "C:\Users\opam\AppData\Local\Temp\camlppxd0de2a" "C:\Users\opam\AppData\Local\Temp\camlppx3ae8e4"++ [2]The driver's `shared_args` are taken into account, such as `-apply`...$ ocaml -ppx './print_greetings.exe -apply print_hi' file.ml- hi- File "./file.ml", line 2, characters 11-20:- Error: Uninterpreted extension 'print_bye'.+ '.' is not recognized as an internal or external command,+ operable program or batch file.+ File ".\file.ml", line 1:+ Error: Error while running external preprocessor+ Command line: ./print_greetings.exe -apply print_hi "C:\Users\opam\AppData\Local\Temp\camlppx537799" "C:\Users\opam\AppData\Local\Temp\camlppxc9dd4d"+[2]... and `-check`$ echo "[@@@attr non_registered_attr]" > attribute_file.ml$ ocaml -ppx './print_greetings.exe -check' attribute_file.ml- File "./attribute_file.ml", line 1, characters 4-8:- Error: Attribute `attr' was not used+ '.' is not recognized as an internal or external command,+ operable program or batch file.+ File ".\attribute_file.ml", line 1:+ Error: Error while running external preprocessor+ Command line: ./print_greetings.exe -check "C:\Users\opam\AppData\Local\Temp\camlppxf48198" "C:\Users\opam\AppData\Local\Temp\camlppx1666ef"+[2]@@ -48,7 +60,7 @@ The only possible usage is [extra_args] <infile> <outfile>...$ touch some_output$ ./print_greetings.exe some_input some_output -check- ./print_greetings.exe: anonymous arguments not accepted.+ C:\Users\opam\src\_build\.sandbox\e89e0bba6a34d04bc9ab20d7c9f81a31\default\test\driver\run_as_ppx_rewriter\print_greetings.exe: anonymous arguments not accepted.print_greetings.exe [extra_args] <infile> <outfile>-loc-filename <string> File name to use in locations-reserve-namespace <string> Mark the given namespace as reservedFile "test/extensions_and_deriving/floating_attr/run-expand-inline.t", line 1, characters 0-0:C:\cygwin64\bin\git.exe --no-pager diff --no-index --color=always -u --ignore-cr-at-eol _build/default/test/extensions_and_deriving/floating_attr/run-expand-inline.t _build/default/test/extensions_and_deriving/floating_attr/run-expand-inline.t.correcteddiff --git a/_build/default/test/extensions_and_deriving/floating_attr/run-expand-inline.t b/_build/default/test/extensions_and_deriving/floating_attr/run-expand-inline.t.correctedindex 399cdb2..29d0edc 100644--- a/_build/default/test/extensions_and_deriving/floating_attr/run-expand-inline.t+++ b/_build/default/test/extensions_and_deriving/floating_attr/run-expand-inline.t.corrected@@ -12,12 +12,22 @@ Test `expand_inline` for structures.$ ./ppx.exe -no-color -null -diff-cmd 'diff -u --label "" --label ""' program.ml---+++- @@ -4,4 +4,5 @@- end = struct- let foo = [%suffix "apples"]- end]+ @@ -1,7 +1,8 @@+ -[@@@expand_inline+ - module T : sig+ - val foo : [%str]+ - end = struct+ - let foo = [%suffix "apples"]+ - end]+ -[@@@end]+ +[@@@expand_inline+ + module T : sig+ + val foo : [%str]+ + end = struct+ + let foo = [%suffix "apples"]+ + end]+module T : sig val foo : string end = struct let foo = "apples_suffix" end- [@@@end]+ +[@@@end][1]Test `expand_inline` for signatures.@@ -35,16 +45,26 @@ Test `expand_inline` for signatures.$ ./ppx.exe -no-color -null -diff-cmd 'diff -u --label "" --label ""' program.ml---+++- @@ -4,5 +4,8 @@- include module type of struct- let foo = [%suffix "apples"]- end]+ @@ -1,8 +1,11 @@+ -module type S = sig+ - [@@@expand_inline:+ - val foo : [%str]+ - include module type of struct+ - let foo = [%suffix "apples"]+ - end]- [@@@end]+ -end+ +module type S = sig+ + [@@@expand_inline:+ + val foo : [%str]+ + include module type of struct+ + let foo = [%suffix "apples"]+ + end]++val foo : string+include module type of struct let foo = "apples_suffix" end+[@@@end]- end+ +end[1]Test (** ... *) comments get translated using {| |} syntax.@@ -67,14 +87,36 @@ Test (** ... *) comments get translated using {| |} syntax.$ ./ppx.exe -no-color -null -diff-cmd 'diff -u --label "" --label ""' program.ml---+++- @@ -10,4 +10,7 @@- (** baz *)-- ]+ @@ -1,13 +1,16 @@+ -[@@@expand_inline+ -module T : sig+ -(**foo*)+ -val foo : [%str]+ -end = struct+ -(**bar*)+ -let foo = [%suffix "apples"]+ -end+ -+ -(** baz *)+ -+ -]+ -[@@@end]+ +[@@@expand_inline+ +module T : sig+ +(**foo*)+ +val foo : [%str]+ +end = struct+ +(**bar*)+ +let foo = [%suffix "apples"]+ +end+ ++ +(** baz *)+ ++ +]+module T : sig val foo : string[@@ocaml.doc {|foo|}] end =+ struct let foo = "apples_suffix"[@@ocaml.doc {|bar|}] end+[@@@ocaml.text {| baz |}]- [@@@end]+ +[@@@end][1]Test [@@ocaml.doc ...] attributes do not get swapped to using {| |}.@@ -92,13 +134,25 @@ Test [@@ocaml.doc ...] attributes do not get swapped to using {| |}.$ ./ppx.exe -no-color -null -diff-cmd 'diff -u --label "" --label ""' program.ml---+++- @@ -5,4 +5,6 @@- let foo = [%suffix "apples"] [@@ocaml.doc "foo"]- end- ]+ @@ -1,8 +1,10 @@+ -[@@@expand_inline+ -module T : sig+ -val foo : [%str] [@@ocaml.doc "foo"]+ -end = struct+ -let foo = [%suffix "apples"] [@@ocaml.doc "foo"]+ -end+ -]+ -[@@@end]+ +[@@@expand_inline+ +module T : sig+ +val foo : [%str] [@@ocaml.doc "foo"]+ +end = struct+ +let foo = [%suffix "apples"] [@@ocaml.doc "foo"]+ +end+ +]+module T : sig val foo : string[@@ocaml.doc "foo"] end =+ struct let foo = "apples_suffix"[@@ocaml.doc "foo"] end- [@@@end]+ +[@@@end][1]Test the delim finding behaviour when translating (** ... *) comments to {| |} syntax.@@ -113,12 +167,18 @@ Test the delim finding behaviour when translating (** ... *) comments to {| |} s$ ./ppx.exe -no-color -null -diff-cmd 'diff -u --label "" --label ""' program.ml---+++- @@ -2,4 +2,5 @@- (**blah blah |} blah blah*)- let foo = [%suffix "apples"]- ]+ @@ -1,5 +1,6 @@+ -[@@@expand_inline+ -(**blah blah |} blah blah*)+ -let foo = [%suffix "apples"]+ -]+ -[@@@end]+ +[@@@expand_inline+ +(**blah blah |} blah blah*)+ +let foo = [%suffix "apples"]+ +]+let foo = "apples_suffix"[@@ocaml.doc {x|blah blah |} blah blah|x}]- [@@@end]+ +[@@@end][1]$ cat << 'EOF' > program.ml@@ -131,10 +191,16 @@ Test the delim finding behaviour when translating (** ... *) comments to {| |} s$ ./ppx.exe -no-color -null -diff-cmd 'diff -u --label "" --label ""' program.ml---+++- @@ -2,4 +2,5 @@- (**blxxx |} blaxxxxxxxxxh blxxahx*)- let foo = [%suffix "apples"]- ]+ @@ -1,5 +1,6 @@+ -[@@@expand_inline+ -(**blxxx |} blaxxxxxxxxxh blxxahx*)+ -let foo = [%suffix "apples"]+ -]+ -[@@@end]+ +[@@@expand_inline+ +(**blxxx |} blaxxxxxxxxxh blxxahx*)+ +let foo = [%suffix "apples"]+ +]+let foo = "apples_suffix"[@@ocaml.doc {x|blxxx |} blaxxxxxxxxxh blxxahx|x}]- [@@@end]+ +[@@@end][1]File "test/attr_replace/run.t", line 1, characters 0-0:C:\cygwin64\bin\git.exe --no-pager diff --no-index --color=always -u --ignore-cr-at-eol _build/default/test/attr_replace/run.t _build/default/test/attr_replace/run.t.correcteddiff --git a/_build/default/test/attr_replace/run.t b/_build/default/test/attr_replace/run.t.correctedindex b441728..a10d7f0 100644--- a/_build/default/test/attr_replace/run.t+++ b/_build/default/test/attr_replace/run.t.corrected@@ -133,3 +133,5 @@ Demonstrate error when multiple instances of one attribute are passed.> [@suffix "_again"]> EOF$ ./driver.exe test.ml+ Fatal error: exception Out of memory+ [2]"cd /cygdrive/c/Users/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 12025-10-28 06:32.06: Job failed: Failed: Build failed