Organisationsocaml-ppxppxlibdde067 ()windows-server-2022-amd64-5.2_opam-2.2

windows-server-2022-amd64-5.2_opam-2.2

Logs

Show full logs
2024-11-07 16:14.28: New job: test ocaml-ppx/ppxlib https://github.com/ocaml-ppx/ppxlib.git#refs/pull/535/head (dde06756126bf29423dedfc74357a4e017ce9e07) (windows-amd64:windows-server-2022-amd64-5.2_opam-2.2)
Base: windows-server-2022-amd64-ocaml-5.2
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/ocaml-ppx/ppxlib.git" && cd "ppxlib" && git fetch origin "refs/pull/535/head" && git reset --hard dde06756
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM windows-server-2022-amd64-ocaml-5.2
# windows-server-2022-amd64-5.2_opam-2.2
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN ln -f /usr/bin/opam-2.2 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
RUN cd ~/opam-repository && (git cat-file -e 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a || git fetch origin master) && git reset -q --hard 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a && git log --no-decorate -n1 --oneline && opam update -u
RUN mkdir -p 'bench/vendored/ppx_sexp_conv.v0.15.1/'
COPY --chown=1000:1000 ppxlib.opam ppxlib-tools.opam ppxlib-bench.opam /Users/opam/src/./
COPY --chown=1000:1000 bench/vendored/ppx_sexp_conv.v0.15.1/ppx_sexp_conv.opam /Users/opam/src/bench/vendored/ppx_sexp_conv.v0.15.1/
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/./' && \
    opam pin add -yn ppx_sexp_conv '/Users/opam/src/bench/vendored/ppx_sexp_conv.v0.15.1/'
ENV DEPS="arch-x86_64.1 base.v0.17.1 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base cinaps.v0.15.1 cmdliner.1.3.0 conf-mingw-w64-gcc-x86_64.1 csexp.1.5.2 dune.3.16.1 dune-configurator.3.16.1 flexdll.0.43 host-arch-x86_64.1 host-system-mingw.1 mingw-w64-shims.0.2.0 ocaml.5.2.0 ocaml-base-compiler.5.2.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.5 ppx_derivers.1.2.1 re.1.12.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 system-mingw.1 yojson.2.2.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y ppxlib.dev ppxlib-tools.dev ppxlib-bench.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /Users/opam/src
RUN cd /cygdrive/c/Users/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build

END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK

2024-11-07 16:14.28: Using cache hint "ocaml-ppx/ppxlib-windows-server-2022-amd64-ocaml-5.2-windows-server-2022-amd64-5.2_opam-2.2-119b6112752a6c2991e7020c40b0d2f2"
2024-11-07 16:14.28: Using OBuilder spec:
((from windows-server-2022-amd64-ocaml-5.2)
 (comment windows-server-2022-amd64-5.2_opam-2.2)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (run (shell "ln -f /usr/bin/opam-2.2 /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 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a || git fetch origin master) && git reset -q --hard 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a && git log --no-decorate -n1 --oneline && opam update -u"))
 (run (shell "mkdir -p 'bench/vendored/ppx_sexp_conv.v0.15.1/'"))
 (copy (src ppxlib.opam ppxlib-tools.opam ppxlib-bench.opam)
       (dst /Users/opam/src/./))
 (copy (src bench/vendored/ppx_sexp_conv.v0.15.1/ppx_sexp_conv.opam)
       (dst /Users/opam/src/bench/vendored/ppx_sexp_conv.v0.15.1/))
 (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/./' && \
             \nopam pin add -yn ppx_sexp_conv '/Users/opam/src/bench/vendored/ppx_sexp_conv.v0.15.1/'"))
 (env DEPS "arch-x86_64.1 base.v0.17.1 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base cinaps.v0.15.1 cmdliner.1.3.0 conf-mingw-w64-gcc-x86_64.1 csexp.1.5.2 dune.3.16.1 dune-configurator.3.16.1 flexdll.0.43 host-arch-x86_64.1 host-system-mingw.1 mingw-w64-shims.0.2.0 ocaml.5.2.0 ocaml-base-compiler.5.2.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.5 ppx_derivers.1.2.1 re.1.12.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 system-mingw.1 yojson.2.2.2")
 (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.2 --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"))
)

2024-11-07 16:14.28: Waiting for resource in pool OCluster
2024-11-08 00:15.29: Waiting for worker…
2024-11-08 02:19.36: Got resource from pool OCluster
Building on alpha
All commits already cached
HEAD is now at dde06756 Parse the keywords item from OCAMLPARAM

(from windows-server-2022-amd64-ocaml-5.2)
2024-11-08 02:19.36 ---> using "112de547835816fcbe31275d69498e33d422e32a95556906be9d3491487c8b0d" from cache

/: (comment windows-server-2022-amd64-5.2_opam-2.2)

/: (user (uid 1000) (gid 1000))

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (run (shell "ln -f /usr/bin/opam-2.2 /usr/bin/opam"))
2024-11-08 02:19.36 ---> using "222150cdc39ce03baa08b6dceb88795bedeb63ece9c3d938b17acd015061df11" 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:\cygwin64
  4. Use another existing Cygwin/MSYS2 installation
  5. Abort initialisation

[1/2/3/4/5] 1
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.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from file://C:/Users/opam/opam-repository
2024-11-08 02:19.36 ---> using "004edafede42d00c8911fe96056b9048b76567fb3ed0c138bd6fc45c62313942" from cache

/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
CYGWIN_NT-10.0-20348 3.5.4-1.x86_64
The OCaml toplevel, version 5.2.0
2.2.1
2024-11-08 02:19.36 ---> using "999c3c7b46aec339a45f42331444bced8e3750e681a11f1b1f3b5aa484fcdfcd" 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 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a || git fetch origin master) && git reset -q --hard 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a && git log --no-decorate -n1 --oneline && opam update -u"))
371a52f4a8 Merge pull request #26816 from maiste/release-dune-3.16.1

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file://C:/Users/opam/opam-repository

Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# Run eval $(opam env) to update the current shell environment
2024-11-08 02:19.36 ---> using "cb751ccf6189d6bd201a5b1841a3615635b5717f1eefa38cf54ca5171f65f2ad" from cache

/: (run (shell "mkdir -p 'bench/vendored/ppx_sexp_conv.v0.15.1/'"))
2024-11-08 02:19.36 ---> using "983c4edc359953b0a110ed03c470c1da136a1cda0054f3f15d13ebb9964934a3" from cache

/: (copy (src ppxlib.opam ppxlib-tools.opam ppxlib-bench.opam)
         (dst /Users/opam/src/./))
2024-11-08 02:19.36 ---> using "35dc1b79382e24e1a3304e5d33b0c9d96f5be0f06f23522f064df608f835ffe3" from cache

/: (copy (src bench/vendored/ppx_sexp_conv.v0.15.1/ppx_sexp_conv.opam)
         (dst /Users/opam/src/bench/vendored/ppx_sexp_conv.v0.15.1/))
2024-11-08 02:19.36 ---> using "a27c34c2a7f1873cb0f1641c447e569e874a911a42e35bb8f4bd92ef6c2523d3" 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/./' && \
               \nopam pin add -yn ppx_sexp_conv '/Users/opam/src/bench/vendored/ppx_sexp_conv.v0.15.1/'"))
[ppxlib.dev] synchronised (file://C:/Users/opam/src/.)
ppxlib is now pinned to file://C:/Users/opam/src/. (version dev)
Package ppxlib-tools does not exist, create as a NEW package? [y/n] y
[ppxlib-tools.dev] synchronised (file://C:/Users/opam/src/.)
ppxlib-tools is now pinned to file://C:/Users/opam/src/. (version dev)
Package ppxlib-bench does not exist, create as a NEW package? [y/n] y
[ppxlib-bench.dev] synchronised (file://C:/Users/opam/src/.)
ppxlib-bench is now pinned to file://C:/Users/opam/src/. (version dev)
[ppx_sexp_conv.v0.17.0] synchronised (file://C:/Users/opam/src/bench/vendored/ppx_sexp_conv.v0.15.1)
ppx_sexp_conv is now pinned to file://C:/Users/opam/src/bench/vendored/ppx_sexp_conv.v0.15.1 (version v0.15.0)
2024-11-08 02:19.36 ---> using "3b2e5ed888d5d8dc3a2db688609edb930eb27db13cb477e2f39e77f9d567f456" from cache

/: (env DEPS "arch-x86_64.1 base.v0.17.1 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base cinaps.v0.15.1 cmdliner.1.3.0 conf-mingw-w64-gcc-x86_64.1 csexp.1.5.2 dune.3.16.1 dune-configurator.3.16.1 flexdll.0.43 host-arch-x86_64.1 host-system-mingw.1 mingw-w64-shims.0.2.0 ocaml.5.2.0 ocaml-base-compiler.5.2.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.5 ppx_derivers.1.2.1 re.1.12.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 system-mingw.1 yojson.2.2.2")

/: (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.2 --depext-only -y ppxlib.dev ppxlib-tools.dev ppxlib-bench.dev $DEPS"))

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ppxlib.dev] synchronised (no changes)
[ppxlib-bench.dev] synchronised (no changes)
[ppxlib-tools.dev] synchronised (no changes)

[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-base-compiler is already installed (current version is 5.2.0).
[NOTE] Package ocaml is already installed (current version is 5.2.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.43).
[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-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).
2024-11-08 02:19.36 ---> using "850dd7d408cb2008bf031a20fe9d4369939191e2ac40b15acb1ab93f5af6644a" 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-base-compiler is already installed (current version is 5.2.0).
[NOTE] Package ocaml is already installed (current version is 5.2.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.43).
[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-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 15 packages
  - install base                    v0.17.1
  - install cinaps                  v0.15.1
  - install cmdliner                1.3.0
  - install csexp                   1.5.2
  - install dune                    3.16.1
  - install dune-configurator       3.16.1
  - install ocaml-compiler-libs     v0.17.0
  - install ocaml_intrinsics_kernel v0.17.1
  - install ocamlfind               1.9.5
  - install ppx_derivers            1.2.1
  - install re                      1.12.0
  - install seq                     base
  - install sexplib0                v0.17.0
  - install stdlib-shims            0.3.0
  - install yojson                  2.2.2

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved base.v0.17.1  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved cinaps.v0.15.1  (https://github.com/ocaml-ppx/cinaps/archive/v0.15.1.tar.gz)
-> retrieved ocaml-compiler-libs.v0.17.0  (cached)
-> retrieved ocaml_intrinsics_kernel.v0.17.1  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ocamlfind.1.9.5  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved re.1.12.0  (cached)
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved yojson.2.2.2  (cached)
-> retrieved dune.3.16.1, dune-configurator.3.16.1  (cached)
-> installed cmdliner.1.3.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.2.0\.opam-switch\build\ocamlfind.1.9.5\src\findlib\ocamlfind.exe
[WARNING] Automatically adding .exe to C:\Users\opam\AppData\Local\opam\5.2.0\.opam-switch\build\ocamlfind.1.9.5\src\findlib\ocamlfind_opt.exe
[WARNING] C:\Users\opam\AppData\Local\opam\5.2.0\bin\safe_camlp4 is a script; the command won't be available
-> installed ocamlfind.1.9.5
-> installed dune.3.16.1
-> installed csexp.1.5.2
-> installed ppx_derivers.1.2.1
-> installed ocaml-compiler-libs.v0.17.0
-> installed ocaml_intrinsics_kernel.v0.17.1
-> installed re.1.12.0
-> installed sexplib0.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed yojson.2.2.2
-> installed cinaps.v0.15.1
-> installed dune-configurator.3.16.1
-> installed base.v0.17.1
Done.
# Run eval $(opam env) to update the current shell environment
2024-11-08 02:19.36 ---> using "dd80f3ba786e4eacafa40b30c9627d6997e0b435ee22816e34c7e5db210c6523" from cache

/: (copy (src .) (dst /Users/opam/src))
2024-11-08 02:20.11 ---> saved as "bff99c1feda207f53c8f8d5003c4db2b9d2344d1c8f9c9eb1d208bddbd0ea440"

/: (run (shell "cd /cygdrive/c/Users/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "astlib/dune", lines 15-17, characters 0-63:
15 | (cinaps
16 |  (files *.ml *.mli)
17 |  (libraries astlib_cinaps_helpers))
(cd _build/default/astlib && .cinaps.d65f99e1/cinaps.exe -diff-cmd -)
Fatal error: exception Sys_error("C:\\Users\\opam\\AppData\\Local\\Temp\\build_449a86_dune\\cinaps104576.ml: Permission denied")
File "src/dune", lines 23-25, characters 0-63:
23 | (cinaps
24 |  (files *.ml *.mli)
25 |  (libraries ppxlib_cinaps_helpers))
(cd _build/default/src && .cinaps.b043d3b4/cinaps.exe -diff-cmd -)
Fatal error: exception Sys_error("C:\\Users\\opam\\AppData\\Local\\Temp\\build_449a86_dune\\cinaps47e300.mli: Permission denied")
File "ast/dune", lines 21-23, characters 0-60:
21 | (cinaps
22 |  (files *.ml *.mli)
23 |  (libraries ast_cinaps_helpers))
(cd _build/default/ast && .cinaps.5e30bf3c/cinaps.exe -diff-cmd -)
Fatal error: exception Sys_error("C:\\Users\\opam\\AppData\\Local\\Temp\\build_449a86_dune\\cinaps90686f.ml: Permission denied")
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/.sandbox/282bb96c2456afdc2d326c9de9763058/default/test/driver/error_embedding/test.t/run.t _build/.sandbox/282bb96c2456afdc2d326c9de9763058/default/test/driver/error_embedding/test.t/run.t.corrected
diff --git a/_build/.sandbox/282bb96c2456afdc2d326c9de9763058/default/test/driver/error_embedding/test.t/run.t b/_build/.sandbox/282bb96c2456afdc2d326c9de9763058/default/test/driver/error_embedding/test.t/run.t.corrected
index dafee10..4b4ed3f 100644
--- a/_build/.sandbox/282bb96c2456afdc2d326c9de9763058/default/test/driver/error_embedding/test.t/run.t
+++ b/_build/.sandbox/282bb96c2456afdc2d326c9de9763058/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 reported
 by 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\build_449a86_dune\camlppxea5dce" "C:\Users\opam\AppData\Local\Temp\build_449a86_dune\camlppx1aeed6"

+  

   [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\\build_449a86_dune\\ocamlpp73f2f3\"\n"]

 
 Also `unknown version` errors are embedded into an AST when using the
 main standalone
File "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/.sandbox/648fa3a625a03a1aeea9bdffd21df79a/default/test/driver/standalone_run_as_ppx/run.t _build/.sandbox/648fa3a625a03a1aeea9bdffd21df79a/default/test/driver/standalone_run_as_ppx/run.t.corrected
diff --git a/_build/.sandbox/648fa3a625a03a1aeea9bdffd21df79a/default/test/driver/standalone_run_as_ppx/run.t b/_build/.sandbox/648fa3a625a03a1aeea9bdffd21df79a/default/test/driver/standalone_run_as_ppx/run.t.corrected
index e36c4bf..4c49434 100644
--- a/_build/.sandbox/648fa3a625a03a1aeea9bdffd21df79a/default/test/driver/standalone_run_as_ppx/run.t
+++ b/_build/.sandbox/648fa3a625a03a1aeea9bdffd21df79a/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\build_449a86_dune\camlppxfa377c" "C:\Users\opam\AppData\Local\Temp\build_449a86_dune\camlppx8d67aa"

+  

+  [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\build_449a86_dune\camlppx8872b8" "C:\Users\opam\AppData\Local\Temp\build_449a86_dune\camlppx16a4c2"

+  

+  [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\build_449a86_dune\camlppx4fab09" "C:\Users\opam\AppData\Local\Temp\build_449a86_dune\camlppx925dac"

+  

+  [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\build_449a86_dune\camlppxed6a54" "C:\Users\opam\AppData\Local\Temp\build_449a86_dune\camlppx4937f2"

+  

   [2]
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/.sandbox/31cececb67fa239a789449cd435f6e33/default/test/driver/flag_cookie/run.t _build/.sandbox/31cececb67fa239a789449cd435f6e33/default/test/driver/flag_cookie/run.t.corrected
diff --git a/_build/.sandbox/31cececb67fa239a789449cd435f6e33/default/test/driver/flag_cookie/run.t b/_build/.sandbox/31cececb67fa239a789449cd435f6e33/default/test/driver/flag_cookie/run.t.corrected
index d6c3fa5..63a5ade 100644
--- a/_build/.sandbox/31cececb67fa239a789449cd435f6e33/default/test/driver/flag_cookie/run.t
+++ b/_build/.sandbox/31cececb67fa239a789449cd435f6e33/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\build_449a86_dune\camlppx6f857c" "C:\Users\opam\AppData\Local\Temp\build_449a86_dune\camlppxc86b3b"

+  

+  [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/.sandbox/39c48429e94ec78c90802101aaa5b376/default/test/driver/run_as_ppx_rewriter/run.t _build/.sandbox/39c48429e94ec78c90802101aaa5b376/default/test/driver/run_as_ppx_rewriter/run.t.corrected
diff --git a/_build/.sandbox/39c48429e94ec78c90802101aaa5b376/default/test/driver/run_as_ppx_rewriter/run.t b/_build/.sandbox/39c48429e94ec78c90802101aaa5b376/default/test/driver/run_as_ppx_rewriter/run.t.corrected
index 0befcac..7cbd41e 100644
--- a/_build/.sandbox/39c48429e94ec78c90802101aaa5b376/default/test/driver/run_as_ppx_rewriter/run.t
+++ b/_build/.sandbox/39c48429e94ec78c90802101aaa5b376/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\build_449a86_dune\camlppx7c209c" "C:\Users\opam\AppData\Local\Temp\build_449a86_dune\camlppx0e8f0f"

+  

+  [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\build_449a86_dune\camlppx492421" "C:\Users\opam\AppData\Local\Temp\build_449a86_dune\camlppx03a146"

+  

   [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\build_449a86_dune\camlppxffc234" "C:\Users\opam\AppData\Local\Temp\build_449a86_dune\camlppxf021cf"

+  

   [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\39c48429e94ec78c90802101aaa5b376\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 reserved
"cd /cygdrive/c/Users/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2024-11-08 02:22.36: Job failed: Failed: Build failed