Organisationsjmidmutamlab175d ()windows-server-2022-amd64-5.4_opam-2.5

windows-server-2022-amd64-5.4_opam-2.5

Link Copied
Code Copied

Logs

2026-02-13 08:05.29: New job: test jmid/mutaml https://github.com/jmid/mutaml.git#refs/heads/dependabot/github_actions/actions/checkout-6 (ab175d87a5b0b03034040da9b3097a82fc0b9958) (windows-amd64:windows-server-2022-amd64-5.4_opam-2.5)
Base: windows-server-2022-amd64-ocaml-5.4
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/jmid/mutaml.git" -b "dependabot/github_actions/actions/checkout-6" && cd "mutaml" && git reset --hard ab175d87
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM windows-server-2022-amd64-ocaml-5.4
# windows-server-2022-amd64-5.4_opam-2.5
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN ln -f /usr/bin/opam-2.5 /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 302e116c4009da2f5a31c350a57c8b3c9b27289e || git fetch origin master) && git reset -q --hard 302e116c4009da2f5a31c350a57c8b3c9b27289e && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 mutaml.opam /Users/opam/src/./
RUN opam pin add -yn mutaml.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 conf-diffutils.2 conf-mingw-w64-gcc-x86_64.1 conf-timeout.1 cppo.1.8.0 csexp.1.5.2 dune.3.21.1 dune-configurator.3.21.1 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 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.37.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 . /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


2026-02-13 08:05.29: Using cache hint "jmid/mutaml-windows-server-2022-amd64-ocaml-5.4-windows-server-2022-amd64-5.4_opam-2.5-4e92cbbf3bfda62189dc2145aa8a172b"
2026-02-13 08:05.29: Using OBuilder spec:
((from windows-server-2022-amd64-ocaml-5.4)
(comment windows-server-2022-amd64-5.4_opam-2.5)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(run (shell "ln -f /usr/bin/opam-2.5 /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 302e116c4009da2f5a31c350a57c8b3c9b27289e || git fetch origin master) && git reset -q --hard 302e116c4009da2f5a31c350a57c8b3c9b27289e && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src mutaml.opam) (dst /Users/opam/src/./))
(run (network host)
(shell "opam pin add -yn mutaml.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 conf-diffutils.2 conf-mingw-w64-gcc-x86_64.1 conf-timeout.1 cppo.1.8.0 csexp.1.5.2 dune.3.21.1 dune-configurator.3.21.1 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 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.37.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:\\Users\\opam\\AppData\\local\\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:\\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"))
)


2026-02-13 08:05.29: Waiting for resource in pool OCluster
2026-02-13 08:05.29: Waiting for worker…
2026-02-13 10:12.16: Got resource from pool OCluster
Building on thyme
All commits already cached
HEAD is now at ab175d8 Bump actions/checkout from 5 to 6


(from windows-server-2022-amd64-ocaml-5.4)
2026-02-13 10:12.16 ---> using "dc0473c210cbdaa785843aceeb4b20f70de275b54f2f11b3cd1945755e26c295" from cache


/: (comment windows-server-2022-amd64-5.4_opam-2.5)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (run (shell "ln -f /usr/bin/opam-2.5 /usr/bin/opam"))
2026-02-13 10:12.16 ---> using "458612386af86cf817dbe29d01dc6efb3c2620df43160b102405910eab684d9d" 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
2026-02-13 10:12.16 ---> using "3bceda86eced6c80594b1121f6cd17638cfd192928e335ef4b5c0e6a8a370c40" from cache


/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
CYGWIN_NT-10.0-20348 3.6.5-1.x86_64
The OCaml toplevel, version 5.4.0
2.5.0
2026-02-13 10:12.16 ---> using "bbfe8c5871361a1180a9d803bce7b93263c018d1d780fe6d2ac0f7a771421cb9" 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 302e116c4009da2f5a31c350a57c8b3c9b27289e || git fetch origin master) && git reset -q --hard 302e116c4009da2f5a31c350a57c8b3c9b27289e && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
a6b2f19780..302e116c40  master     -> origin/master
302e116c40 Merge pull request #29374 from shonfeder/release-dune-3.21.1


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


Already up-to-date.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2026-02-13 10:12.16 ---> using "5b9caae1aeda7a027d2d5a6e523ab4f0e26ced0660280ed7ccf4fa416833c78a" from cache


/: (copy (src mutaml.opam) (dst /Users/opam/src/./))
2026-02-13 10:12.16 ---> using "c5c03f5030774dd9e68d247084b892c45c7b992e4520004310f61d2a28469501" from cache


/: (run (network host)
(shell "opam pin add -yn mutaml.dev '/Users/opam/src/./'"))
[mutaml.dev] synchronised (file://C:/Users/opam/src/.)
mutaml is now pinned to file://C:/Users/opam/src/. (version dev)
2026-02-13 10:12.16 ---> using "a05cf512bd1644ac62d70d155c347dd7344f0c2f8228927a9a513372caa1aa62" from cache


/: (run (network host)
(shell "echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'"))
2026-02-13 10:12.16 ---> using "9383ba507fbf5116ba47b50a0ad8ed58a48dff4bca840fa87b793a5b3cb06066" 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 conf-diffutils.2 conf-mingw-w64-gcc-x86_64.1 conf-timeout.1 cppo.1.8.0 csexp.1.5.2 dune.3.21.1 dune-configurator.3.21.1 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 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.37.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:\\Users\\opam\\AppData\\local\\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:/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).
# To update the current shell environment, run: eval $(opam env)
2026-02-13 10:12.16 ---> using "6f7b44c355888ce32ed44414afc6d342e6668fb5f9a3bfdc4177bf7ba1540c1e" 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 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.21.1
- install dune-configurator       3.21.1
- 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.37.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 cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> installed conf-diffutils.2
-> retrieved ocaml-compiler-libs.v0.17.0  (cached)
-> installed conf-timeout.1
-> retrieved ocaml_intrinsics_kernel.v0.17.1  (cached)
-> retrieved base.v0.17.3  (https://github.com/janestreet/base/archive/refs/tags/v0.17.3.tar.gz)
-> 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)
-> retrieved ppx_deriving.6.1.1  (https://github.com/ocaml-ppx/ppx_deriving/releases/download/v6.1.1/ppx_deriving-6.1.1.tar.gz)
-> retrieved ppx_js_style.v0.17.1  (https://github.com/janestreet/ppx_js_style/archive/refs/tags/v0.17.1.tar.gz)
-> retrieved ppx_yojson_conv_lib.v0.17.0  (cached)
-> retrieved ppx_yojson_conv.v0.17.1  (https://github.com/janestreet/ppx_yojson_conv/archive/refs/tags/v0.17.1.tar.gz)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved stdlib-random.1.2.0  (https://github.com/ocaml/stdlib-random/archive/refs/tags/1.2.0.tar.gz)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved yojson.3.0.0  (https://github.com/ocaml-community/yojson/releases/download/3.0.0/yojson-3.0.0.tbz)
-> retrieved ppxlib.0.37.0  (https://github.com/ocaml-ppx/ppxlib/releases/download/0.37.0/ppxlib-0.37.0.tbz)
-> retrieved dune.3.21.1, dune-configurator.3.21.1  (https://github.com/ocaml/dune/releases/download/3.21.1/dune-3.21.1.tbz)
[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.21.1
-> installed csexp.1.5.2
-> installed ppx_derivers.1.2.1
-> 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 sexplib0.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed stdlib-random.1.2.0
-> installed yojson.3.0.0
-> installed dune-configurator.3.21.1
-> installed ppx_yojson_conv_lib.v0.17.0
-> installed ounit2.2.2.7
-> installed ppxlib.0.37.0
-> installed base.v0.17.3
-> 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-02-13 10:12.16 ---> using "227191869f83c14891ce28c9632e96f57ffd75b6ad62ef8cb217067d8853af2c" from cache


/: (copy (src .) (dst /Users/opam/src))
2026-02-13 10:13.13 ---> saved as "f4dbebd0a1ca1189d406eebc2cfc6459b6f33b38a8119cf5c4fd4f9e9a87d362"


/: (run (shell "cd /cygdrive/c/Users/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.02 seconds.
OK
(cd _build/default && C:\Users\opam\AppData\Local\opam\5.4.0\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:/Users/opam/AppData/Local/opam/5.4.0/lib/ocaml\compiler-libs -I C:\Users\opam\AppData\Local\opam\5.4.0\lib\ocaml-compiler-libs\common -I C:\Users\opam\AppData\Local\opam\5.4.0\lib\ocaml-compiler-libs\shadow -I C:\Users\opam\AppData\Local\opam\5.4.0\lib\ppx_derivers -I C:\Users\opam\AppData\Local\opam\5.4.0\lib\ppx_yojson_conv_lib -I C:\Users\opam\AppData\Local\opam\5.4.0\lib\ppxlib -I C:\Users\opam\AppData\Local\opam\5.4.0\lib\ppxlib\ast -I C:\Users\opam\AppData\Local\opam\5.4.0\lib\ppxlib\astlib -I C:\Users\opam\AppData\Local\opam\5.4.0\lib\ppxlib\print_diff -I C:\Users\opam\AppData\Local\opam\5.4.0\lib\ppxlib\stdppx -I C:\Users\opam\AppData\Local\opam\5.4.0\lib\ppxlib\traverse_builtins -I C:\Users\opam\AppData\Local\opam\5.4.0\lib\sexplib0 -I C:\Users\opam\AppData\Local\opam\5.4.0\lib\stdlib-random\v4 -I C:\Users\opam\AppData\Local\opam\5.4.0\lib\stdlib-shims -I C:\Users\opam\AppData\Local\opam\5.4.0\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)
"cd /cygdrive/c/Users/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2026-02-13 10:14.08: Job failed: Failed: Build failed