Organisationsjmidmutaml783831 (main)windows-server-mingw-ltsc2025-5.4_opam-2.5

windows-server-mingw-ltsc2025-5.4_opam-2.5

Link Copied
Code Copied

Logs

2026-03-29 12:09.55: New job: test jmid/mutaml https://github.com/jmid/mutaml.git#refs/heads/main (783831dcb58310a4cd7a6c03dc12c45cd8b74f36) (windows-x86_64:windows-server-mingw-ltsc2025-5.4_opam-2.5)
Base: ocaml/opam:windows-server-mingw-ltsc2025-ocaml-5.4@sha256:0e4fa08d05a319101c6ab90f612f6b79d83aa94d5df9b492774b9176694093e1
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/jmid/mutaml.git" -b "main" && cd "mutaml" && git reset --hard 783831dc
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:windows-server-mingw-ltsc2025-ocaml-5.4@sha256:0e4fa08d05a319101c6ab90f612f6b79d83aa94d5df9b492774b9176694093e1
# windows-server-mingw-ltsc2025-5.4_opam-2.5
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN ln -f /usr/local/bin/opam-2.5 /usr/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 46f289cd3749314bbebddeede62fc05f9858f680 || git fetch origin master) && git reset -q --hard 46f289cd3749314bbebddeede62fc05f9858f680 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 mutaml.opam /cygwin64/home/opam/src/./
RUN opam pin add -yn mutaml.dev '/cygwin64/home/opam/src/./'
RUN echo '(lang dune 3.0)' > '/home/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 conf-diffutils.2 conf-mingw-w64-gcc-x86_64.1 conf-timeout.1 cppo.1.8.0 csexp.1.5.2 dune.3.22.0 dune-configurator.3.22.0 flexdll.0.44 host-arch-x86_64.1 host-system-mingw.1 mingw-w64-shims.0.2.0 ocaml.5.4.1 ocaml-base-compiler.5.4.1 ocaml-compiler.5.4.1 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 octavius.1.2.2 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.1.1 ppx_js_style.v0.17.1 ppx_yojson_conv.v0.17.1 ppx_yojson_conv_lib.v0.17.0 ppxlib.0.38.0 seq.base sexplib0.v0.17.0 stdlib-random.1.2.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.5 --depext-only -y mutaml.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /cygwin64/home/opam/src
RUN cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build


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


2026-03-29 12:09.55: Using cache hint "jmid/mutaml-ocaml/opam:windows-server-mingw-ltsc2025-ocaml-5.4@sha256:0e4fa08d05a319101c6ab90f612f6b79d83aa94d5df9b492774b9176694093e1-windows-server-mingw-ltsc2025-5.4_opam-2.5-4aabd847107f3ff2b9c0f25f35f4a7fe"
2026-03-29 12:09.55: Using OBuilder spec:
((from ocaml/opam:windows-server-mingw-ltsc2025-ocaml-5.4@sha256:0e4fa08d05a319101c6ab90f612f6b79d83aa94d5df9b492774b9176694093e1)
(comment windows-server-mingw-ltsc2025-5.4_opam-2.5)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(run (shell "ln -f /usr/local/bin/opam-2.5 /usr/local/bin/opam"))
(run (shell "opam init --reinit -ni"))
(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
(run (cache (opam-archives (target "c:\\opam\\.opam\\download-cache")))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 46f289cd3749314bbebddeede62fc05f9858f680 || git fetch origin master) && git reset -q --hard 46f289cd3749314bbebddeede62fc05f9858f680 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src mutaml.opam) (dst /cygwin64/home/opam/src/./))
(run (network host)
(shell "opam pin add -yn mutaml.dev '/cygwin64/home/opam/src/./'"))
(run (shell "echo '(lang dune 3.0)' > '/home/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 conf-diffutils.2 conf-mingw-w64-gcc-x86_64.1 conf-timeout.1 cppo.1.8.0 csexp.1.5.2 dune.3.22.0 dune-configurator.3.22.0 flexdll.0.44 host-arch-x86_64.1 host-system-mingw.1 mingw-w64-shims.0.2.0 ocaml.5.4.1 ocaml-base-compiler.5.4.1 ocaml-compiler.5.4.1 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 octavius.1.2.2 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.1.1 ppx_js_style.v0.17.1 ppx_yojson_conv.v0.17.1 ppx_yojson_conv_lib.v0.17.0 ppxlib.0.38.0 seq.base sexplib0.v0.17.0 stdlib-random.1.2.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:\\opam\\.opam\\download-cache")))
(network host)
(shell "opam update --depexts && opam install --cli=2.5 --depext-only -y mutaml.dev $DEPS"))
(run (cache (opam-archives (target "c:\\opam\\.opam\\download-cache")))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst /cygwin64/home/opam/src))
(run (shell "cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
)


2026-03-29 12:09.55: Waiting for resource in pool OCluster
2026-03-29 12:12.13: Waiting for worker…
2026-03-29 15:08.37: Got resource from pool OCluster
Building on ltsc2025-3
All commits already cached
HEAD is now at 783831d Merge pull request #44 from jmid/dependabot/github_actions/actions/checkout-5


(from ocaml/opam:windows-server-mingw-ltsc2025-ocaml-5.4@sha256:0e4fa08d05a319101c6ab90f612f6b79d83aa94d5df9b492774b9176694093e1)
2026-03-29 15:08.53 ---> using "e6e8a2cf62a928430568e9b050d6cc986ddb11ca371f3b24e6b6f1ad80860153" from cache


C:/: (comment windows-server-mingw-ltsc2025-5.4_opam-2.5)


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


C:/: (env CLICOLOR_FORCE 1)


C:/: (env OPAMCOLOR always)


C:/: (run (shell "ln -f /usr/local/bin/opam-2.5 /usr/local/bin/opam"))
2026-03-29 15:08.53 ---> using "8371c7bbeda21231937607a48921d4490a1c9c23810f1d7416ef9e1aa874f8e3" from cache


C:/: (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] Initialised
2026-03-29 15:08.53 ---> using "8bf506c77ce4ea2b6efe0b049434ba77c8ea5f4c0beccb9cedbfead0127ea0b7" from cache


C:/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
CYGWIN_NT-10.0-26100 3.6.7-1.x86_64
The OCaml toplevel, version 5.4.1
2.5.0
2026-03-29 15:08.53 ---> using "017acac92f6c222a89f675ad77684e3ed5874f73aa36dd7947a6dd1cf4a5b5c7" from cache


C:/: (run (cache (opam-archives (target "c:\\opam\\.opam\\download-cache")))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 46f289cd3749314bbebddeede62fc05f9858f680 || git fetch origin master) && git reset -q --hard 46f289cd3749314bbebddeede62fc05f9858f680 && git log --no-decorate -n1 --oneline && opam update -u"))
46f289cd37 Merge pull request #29563 from NathanReb/release-ppxlib-0.38.0


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file://C:/cygwin64/home/opam/opam-repository


Everything as up-to-date as possible
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-03-29 15:08.53 ---> using "0af21dc82edf4e87874be91831d3af62effe64193e01dfd6b1885511d045ca31" from cache


C:/: (copy (src mutaml.opam) (dst /cygwin64/home/opam/src/./))
2026-03-29 15:09.43 ---> saved as "75b313fb3992c37238f92962e0681f835c5beae975ccaf1ddba599f735f423e9"


C:/: (run (network host)
(shell "opam pin add -yn mutaml.dev '/cygwin64/home/opam/src/./'"))
[mutaml.dev] synchronised (file://C:/cygwin64/home/opam/src)
mutaml is now pinned to file://C:/cygwin64/home/opam/src (version dev)
2026-03-29 15:10.49 ---> saved as "edff71b38641c101bb313bd9253d7618c5b97dcccdb8ebe331a30721f2e68a69"


C:/: (run (shell "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'"))
2026-03-29 15:11.32 ---> saved as "13138f3668e484afe01863f46a601f0ad3d713e9353a10f33f74ea9c2ce082c8"


C:/: (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 conf-diffutils.2 conf-mingw-w64-gcc-x86_64.1 conf-timeout.1 cppo.1.8.0 csexp.1.5.2 dune.3.22.0 dune-configurator.3.22.0 flexdll.0.44 host-arch-x86_64.1 host-system-mingw.1 mingw-w64-shims.0.2.0 ocaml.5.4.1 ocaml-base-compiler.5.4.1 ocaml-compiler.5.4.1 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 octavius.1.2.2 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.1.1 ppx_js_style.v0.17.1 ppx_yojson_conv.v0.17.1 ppx_yojson_conv_lib.v0.17.0 ppxlib.0.38.0 seq.base sexplib0.v0.17.0 stdlib-random.1.2.0 stdlib-shims.0.3.0 system-mingw.1 yojson.3.0.0")


C:/: (env CI true)


C:/: (env OCAMLCI true)


C:/: (run (cache (opam-archives (target "c:\\opam\\.opam\\download-cache")))
(network host)
(shell "opam update --depexts && opam install --cli=2.5 --depext-only -y mutaml.dev $DEPS"))


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[mutaml.dev] synchronised (file://C:/cygwin64/home/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.1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.1).
[NOTE] Package ocaml is already installed (current version is 5.4.1).
[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).
# To update the current shell environment, run: eval $(opam env)
2026-03-29 15:15.31 ---> saved as "4eb94bf007ebd48fd3ff5a66b60f1141854ccabfc09ea1d74d4ce7560d76c530"


C:/: (run (cache (opam-archives (target "c:\\opam\\.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.1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.1).
[NOTE] Package ocaml is already installed (current version is 5.4.1).
[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 23 packages
- install base                    v0.17.3
- install conf-diffutils          2
- install conf-timeout            1
- install cppo                    1.8.0
- install csexp                   1.5.2
- install dune                    3.22.0
- install dune-configurator       3.22.0
- install ocaml-compiler-libs     v0.17.0
- install ocaml_intrinsics_kernel v0.17.1
- install ocamlfind               1.9.8
- install octavius                1.2.2
- install ounit2                  2.2.7
- install ppx_derivers            1.2.1
- install ppx_deriving            6.1.1
- install ppx_js_style            v0.17.1
- install ppx_yojson_conv         v0.17.1
- install ppx_yojson_conv_lib     v0.17.0
- install ppxlib                  0.38.0
- install seq                     base
- install sexplib0                v0.17.0
- install stdlib-random           1.2.0
- install stdlib-shims            0.3.0
- install yojson                  3.0.0


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved base.v0.17.3  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved ocaml-compiler-libs.v0.17.0  (cached)
-> retrieved ocaml_intrinsics_kernel.v0.17.1  (cached)
-> installed conf-diffutils.2
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved octavius.1.2.2  (cached)
-> retrieved ounit2.2.2.7  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> installed conf-timeout.1
-> retrieved ppx_deriving.6.1.1  (cached)
-> retrieved ppx_js_style.v0.17.1  (cached)
-> retrieved ppx_yojson_conv.v0.17.1  (cached)
-> retrieved ppx_yojson_conv_lib.v0.17.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved stdlib-random.1.2.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved ppxlib.0.38.0  (cached)
-> retrieved yojson.3.0.0  (cached)
-> retrieved dune.3.22.0, dune-configurator.3.22.0  (cached)
[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:\opam\.opam\5.4\.opam-switch\build\ocamlfind.1.9.8\src\findlib\ocamlfind.exe
[WARNING] Automatically adding .exe to C:\opam\.opam\5.4\.opam-switch\build\ocamlfind.1.9.8\src\findlib\ocamlfind_opt.exe
[WARNING] C:\opam\.opam\5.4\bin\safe_camlp4 is a script; the command won't be available
-> installed ocamlfind.1.9.8
-> installed dune.3.22.0
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed ocaml-compiler-libs.v0.17.0
-> installed ocaml_intrinsics_kernel.v0.17.1
-> installed octavius.1.2.2
-> installed ppx_derivers.1.2.1
-> installed sexplib0.v0.17.0
-> installed stdlib-random.1.2.0
-> installed stdlib-shims.0.3.0
-> installed yojson.3.0.0
-> installed dune-configurator.3.22.0
-> installed ppx_yojson_conv_lib.v0.17.0
-> installed ounit2.2.2.7
-> installed base.v0.17.3
-> installed ppxlib.0.38.0
-> installed ppx_deriving.6.1.1
-> installed ppx_js_style.v0.17.1
-> installed ppx_yojson_conv.v0.17.1
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-29 15:38.22 ---> saved as "406c74cacdb05390de8e93bb023a278982b2cd30aba7e7e17cb9a0d0ead8892e"


C:/: (copy (src .) (dst /cygwin64/home/opam/src))
2026-03-29 15:39.28 ---> saved as "71dc734c31251f52dc2778411bf9cd8e63ca16c780ba2350a9817cea1b20ad2e"


C:/: (run (shell "cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/examples/testproj-2-modules/test && .\ounittest.exe)
..
Ran: 2 tests in: 0.00 seconds.
OK
(cd _build/default/examples/testproj-1-module && .\ounittest.exe)
....
Ran: 4 tests in: 0.01 seconds.
OK
(cd _build/default && C:\opam\.opam\5.4\bin\ocamlc.opt.exe -w @1..3@5..28@31..39@43@46..47@49..57@61..62@67@69-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -bin-annot-occurrences -I src/ppx/.mutaml_ppx.objs/byte -I C:/opam/.opam/5.4/lib/ocaml\compiler-libs -I C:\opam\.opam\5.4\lib\ocaml-compiler-libs\common -I C:\opam\.opam\5.4\lib\ocaml-compiler-libs\shadow -I C:\opam\.opam\5.4\lib\ppx_derivers -I C:\opam\.opam\5.4\lib\ppx_yojson_conv_lib -I C:\opam\.opam\5.4\lib\ppxlib -I C:\opam\.opam\5.4\lib\ppxlib\ast -I C:\opam\.opam\5.4\lib\ppxlib\astlib -I C:\opam\.opam\5.4\lib\ppxlib\print_diff -I C:\opam\.opam\5.4\lib\ppxlib\stdppx -I C:\opam\.opam\5.4\lib\ppxlib\traverse_builtins -I C:\opam\.opam\5.4\lib\sexplib0 -I C:\opam\.opam\5.4\lib\stdlib-random\v4 -I C:\opam\.opam\5.4\lib\stdlib-shims -I C:\opam\.opam\5.4\lib\yojson -I src/common/.mutaml_common.objs/byte -no-alias-deps -opaque -o src/ppx/.mutaml_ppx.objs/byte/mutaml_ppx.cmo -c -impl src/ppx/mutaml_ppx.pp.ml)
File "src/ppx/mutaml_ppx.ml", line 466, characters 9-28:
466 |     | _, Pexp_function cases ->
^^^^^^^^^^^^^^^^^^^
Error: The constructor Pexp_function expects 3 argument(s),
but is applied here to 1 argument(s)
"C:\cygwin64\bin\bash.exe" "-lc" "cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2026-03-29 15:40.57: Job failed: Failed: Build failed