Building on thyme (from windows-server-2022-amd64-ocaml-5.3) 2025-08-06 13:55.36 ---> using "1d6ffeb5a52124df73b2e951323e99615c52ca4f9bdf0f65039be6146fabdaab" from cache /: (user (uid 1000) (gid 1000)) /: (env OPAMPRECISETRACKING 1) /: (env OPAMUTF8 never) /: (env OPAMEXTERNALSOLVER builtin-0install) /: (env OPAMCRITERIA +removed) /: (env CI true) /: (env OPAM_HEALTH_CHECK_CI true) /: (run (shell "ln -f /usr/bin/opam-dev.exe /usr/bin/opam.exe")) 2025-08-06 13:55.36 ---> using "75bf3fbea1cbc65a9803f40104651d67c546cddf5606f6a4af6db8fca92eb5c0" from cache /: (run (network host) (shell "rm -rf ~/opam-repository && git clone -q 'https://github.com/ocaml/opam-repository' ~/opam-repository && git -C ~/opam-repository checkout -q 3dab8c734b15bf2b5c1d8b99bb134f51361a6bee")) 2025-08-06 13:55.36 ---> using "d9381ad43b9f588aa679648b6019141c82e343fa2438502d58d95452914a1e70" from cache /: (run (shell "rm -rf ~/.opam && opam init -ya --bare ~/opam-repository")) User configuration: [NOTE] Make sure that ~\.bash_profile is well sourced in your ~/.bashrc. Updating ~\.bash_profile. Added 9 lines after line 1 in ~\.bash_profile. 2025-08-06 13:55.36 ---> using "2c54bc97b4e3238121a2e249a275d0cedd74be1d7f842fe1e561e1a09d8b266d" from cache /: (run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\Local\\opam\\download-cache"))) (network host) (shell "opam switch create --repositories=default '4.14' '4.14.2'")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-base-compiler" {= "4.14.2"} | "ocaml-system" {= "4.14.2"}] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> installed arch-x86_64.1 -> installed base-bigarray.base -> installed base-threads.base -> installed base-unix.base -> installed host-arch-x86_64.1 -> installed host-system-mingw.1 -> retrieved flexdll.0.44 (cached) -> retrieved ocaml-config.3 (cached) -> installed flexdll.0.44 -> installed ocaml-options-vanilla.1 -> retrieved mingw-w64-shims.0.2.0 (cached) -> installed conf-mingw-w64-gcc-x86_64.1 -> installed ocaml-env-mingw64.1 -> installed system-mingw.1 -> retrieved ocaml-base-compiler.4.14.2 (cached) -> installed mingw-w64-shims.0.2.0 -> installed ocaml-base-compiler.4.14.2 -> installed ocaml-config.3 -> installed ocaml.4.14.2 Done. # To update the current shell environment, run: eval $(opam env --switch=4.14) 2025-08-06 13:55.36 ---> using "cd319445602ecde81f3f27831566e813a10ce3b4c550297897aacee5cd90b053" from cache /: (run (network host) (shell "opam update --depexts")) 2025-08-06 13:55.36 ---> using "e1ca68dd7dcc64d80b2ac9aa7cf4b1b66ec882be9d79fdfd052fe4542c2df6ae" from cache /: (run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\Local\\opam\\download-cache"))) (network host) (shell "opam remove -y euler.0.3\ \nopam install -vy euler.0.3\ \nres=$?\ \nif [ $res = 31 ]; then\ \n if opam show -f x-ci-accept-failures: euler.0.3 | grep -q 'windows-server-2022-amd64-ocaml-5.3'; then\ \n echo \"This package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\"\ \n exit 69\ \n fi\ \nfi \ \n\ \n\ \nexit $res")) Nothing to do. [NOTE] euler.0.3 is not installed. The following actions will be performed: === install 8 packages - install conf-autoconf 0.2 [required by stdcompat] - install containers 3.16 [required by euler] - install csexp 1.5.2 [required by dune-configurator] - install dune 3.19.1 [required by euler] - install dune-configurator 3.19.1 [required by containers] - install either 1.0.0 [required by containers] - install euler 0.3 - install stdcompat 20.1 [required by euler] The following system packages will first need to be installed: autoconf <><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><> opam believes some required external dependencies are missing. opam can: > 1. Run C:\Users\opam\AppData\Local\opam\.cygwin\setup-x86_64.exe to install them (may need root/sudo access) 2. Display the recommended C:\Users\opam\AppData\Local\opam\.cygwin\setup-x86_64.exe command and wait while you run it manually (e.g. in another terminal) 3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable 4. Abort the installation [1/2/3/4] 1 + C:\Users\opam\AppData\Local\opam\.cygwin\setup-x86_64.exe "--root" "C:\\cygwin64" "--quiet-mode" "unattended" "--no-shortcuts" "--no-startmenu" "--no-desktop" "--no-admin" "--no-version-check" "--no-write-registry" "--packages" "autoconf" - Starting cygwin install, version 2.934 - User has backup/restore rights - User has symlink creation right - Current Directory: C:\Windows\system32 - root: C:\cygwin64 system - Changing gid to Administrators - Selected local directory: C:\Windows\system32 - net: Preconfig - site: https://cygwin.mirror.constant.com/ - solving: 1 tasks, update: no, use test packages: no - solving: 8 tasks, update: no, use test packages: no - Augmented Transaction List: - 0 install libdb18.1 18.1.40-1 - 1 install libgdbm_compat4 1.24-1 - 2 install m4 1.4.20-1 - 3 install perl 5.40.3-1 - 4 install autoconf2.7 2.72-1 - 5 install autoconf2.5 2.69-5 - 6 install autoconf2.1 2.13-12 - 7 install autoconf 15-2 - Downloaded C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/x86_64/release/db/libdb18.1/libdb18.1-18.1.40-1.tar.xz - Downloaded C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/x86_64/release/gdbm/libgdbm_compat4/libgdbm_compat4-1.24-1.tar.xz - Downloaded C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/x86_64/release/m4/m4-1.4.20-1-x86_64.tar.xz - Downloaded C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/x86_64/release/perl/perl-5.40.3-1-x86_64.tar.zst - Downloaded C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/autoconf2.7/autoconf2.7-2.72-1.tar.zst - Downloaded C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/autoconf2.5/autoconf2.5-2.69-5.tar.zst - Downloaded C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/autoconf2.1/autoconf2.1-2.13-12.tar.bz2 - Downloaded C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/autoconf/autoconf-15-2.tar.zst - Extracting from file://C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/x86_64/release/db/libdb18.1/libdb18.1-18.1.40-1.tar.xz - Extracting from file://C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/x86_64/release/gdbm/libgdbm_compat4/libgdbm_compat4-1.24-1.tar.xz - Extracting from file://C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/x86_64/release/m4/m4-1.4.20-1-x86_64.tar.xz - Extracting from file://C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/x86_64/release/perl/perl-5.40.3-1-x86_64.tar.zst - Extracting from file://C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/autoconf2.7/autoconf2.7-2.72-1.tar.zst - Extracting from file://C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/autoconf2.5/autoconf2.5-2.69-5.tar.zst - Extracting from file://C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/autoconf2.1/autoconf2.1-2.13-12.tar.bz2 - Extracting from file://C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/autoconf/autoconf-15-2.tar.zst - running: C:\cygwin64\bin\dash.exe "/etc/postinstall/0p_000_autorebase.dash" - running: C:\cygwin64\bin\dash.exe "/etc/postinstall/0p_update-info-dir.dash" - running: C:\cygwin64\bin\dash.exe "/etc/postinstall/zp_man-db-update-index.dash" - Ending cygwin install - NOTE: you should run 'diskperf -y' to enable the disk statistics - NOTE: you should run 'diskperf -y' to enable the disk statistics <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 2/23: [containers.3.16: http] Processing 3/23: [containers.3.16: http] [csexp.1.5.2: extract] Processing 4/23: [containers.3.16: http] [csexp.1.5.2: extract] [dune.3.19.1, dune-configurator.3.19.1: http] Processing 5/23: [containers.3.16: http] [csexp.1.5.2: extract] [dune.3.19.1, dune-configurator.3.19.1: http] [conf-autoconf: sh autoconf -V] -> retrieved csexp.1.5.2 (cached) Processing 5/23: [containers.3.16: http] [dune.3.19.1, dune-configurator.3.19.1: http] [conf-autoconf: sh autoconf -V] Processing 6/23: [containers.3.16: http] [dune.3.19.1, dune-configurator.3.19.1: http] [either.1.0.0: extract] [conf-autoconf: sh autoconf -V] Processing 6/23: [containers.3.16: extract] [dune.3.19.1, dune-configurator.3.19.1: http] [either.1.0.0: extract] [conf-autoconf: sh autoconf -V] Processing 6/23: [containers.3.16: extract] [dune.3.19.1, dune-configurator.3.19.1: extract] [either.1.0.0: extract] [conf-autoconf: sh autoconf -V] -> retrieved either.1.0.0 (cached) Processing 6/23: [containers.3.16: extract] [dune.3.19.1, dune-configurator.3.19.1: extract] [conf-autoconf: sh autoconf -V] Processing 7/23: [containers.3.16: extract] [dune.3.19.1, dune-configurator.3.19.1: extract] [euler.0.3: extract] [conf-autoconf: sh autoconf -V] + C:\cygwin64\bin\sh.exe "-exc" "autoconf -V" (CWD=C:\Users\opam\AppData\Local\opam\4.14\.opam-switch\build\conf-autoconf.0.2) - + autoconf -V - autoconf (GNU Autoconf) 2.72 - Copyright (C) 2023 Free Software Foundation, Inc. - License GPLv3+/Autoconf: GNU GPL version 3 or later - <https://gnu.org/licenses/gpl.html>, <https://gnu.org/licenses/exceptions.html> - This is free software: you are free to change and redistribute it. - There is NO WARRANTY, to the extent permitted by law. - - Written by David J. MacKenzie and Akim Demaille. -> compiled conf-autoconf.0.2 Processing 7/23: [containers.3.16: extract] [dune.3.19.1, dune-configurator.3.19.1: extract] [euler.0.3: extract] -> installed conf-autoconf.0.2 Processing 8/23: [containers.3.16: extract] [dune.3.19.1, dune-configurator.3.19.1: extract] [euler.0.3: extract] -> retrieved euler.0.3 (cached) Processing 8/23: [containers.3.16: extract] [dune.3.19.1, dune-configurator.3.19.1: extract] Processing 9/23: [containers.3.16: extract] [dune.3.19.1, dune-configurator.3.19.1: extract] [stdcompat.20.1: extract] -> retrieved containers.3.16 (https://github.com/c-cube/ocaml-containers/releases/download/v3.16/containers-3.16.tbz) Processing 9/23: [dune.3.19.1, dune-configurator.3.19.1: extract] [stdcompat.20.1: extract] [WARNING] Warning: cannot copy C:\Users\opam\AppData\Local\Temp\opam-2224-3a21b7\stdcompat-20.1\README to C:\Users\opam\AppData\Local\opam\4.14\.opam-switch\sources\stdcompat.20.1 -> retrieved stdcompat.20.1 (cached) Processing 9/23: [dune.3.19.1, dune-configurator.3.19.1: extract] -> retrieved dune.3.19.1, dune-configurator.3.19.1 (https://github.com/ocaml/dune/releases/download/3.19.1/dune-3.19.1.tbz) Processing 10/23: [dune: ocaml 7] + C:\Users\opam\AppData\Local\opam\4.14\bin\ocaml.exe "boot/bootstrap.ml" "-j" "7" (CWD=C:\Users\opam\AppData\Local\opam\4.14\.opam-switch\build\dune.3.19.1) - ocamlc -output-complete-exe -w -24 -g -o .duneboot.exe -I boot unix.cma boot/libs.ml boot/duneboot.ml - .\.duneboot.exe -j 7 - Processing 10/23: [dune: ./_boot/dune.exe build] + C:\Users\opam\AppData\Local\opam\4.14\.opam-switch\build\dune.3.19.1\./_boot/dune.exe "build" "dune.install" "--release" "--profile" "dune-bootstrap" "-j" "7" (CWD=C:\Users\opam\AppData\Local\opam\4.14\.opam-switch\build\dune.3.19.1) -> compiled dune.3.19.1 -> installed dune.3.19.1 Processing 12/23: [csexp: dune build] Processing 13/23: [csexp: dune build] [either: dune build] Processing 14/23: [csexp: dune build] [either: dune build] [stdcompat: dune build] + C:\Users\opam\AppData\Local\opam\4.14\bin\dune.exe "build" "-p" "csexp" "-j" "7" "@install" (CWD=C:\Users\opam\AppData\Local\opam\4.14\.opam-switch\build\csexp.1.5.2) -> compiled csexp.1.5.2 Processing 14/23: [either: dune build] [stdcompat: dune build] -> installed csexp.1.5.2 Processing 15/23: [either: dune build] [stdcompat: dune build] Processing 16/23: [dune-configurator: rm] [either: dune build] [stdcompat: dune build] + C:\Users\opam\AppData\Local\opam\4.14\bin\dune.exe "build" "-p" "either" "-j" "7" "@install" (CWD=C:\Users\opam\AppData\Local\opam\4.14\.opam-switch\build\either.1.0.0) -> compiled either.1.0.0 Processing 16/23: [dune-configurator: rm] [stdcompat: dune build] -> installed either.1.0.0 Processing 17/23: [dune-configurator: rm] [stdcompat: dune build] + C:\cygwin64\bin\rm.exe "-rf" "vendor/csexp" (CWD=C:\Users\opam\AppData\Local\opam\4.14\.opam-switch\build\dune-configurator.3.19.1) + C:\Users\opam\AppData\Local\opam\4.14\bin\dune.exe "build" "-p" "stdcompat" "-j" "7" (CWD=C:\Users\opam\AppData\Local\opam\4.14\.opam-switch\build\stdcompat.20.1) - File "dune", lines 134-502, characters 0-9371: - 134 | (rule - 135 | (targets - 136 | META - ..... - 500 | stdcompat__weak_s.mli.in - 501 | stdcompat_tests.ml.in) - 502 | (action (run sh %{configure}))) - (cd _build/default && C:\cygwin64\bin\sh.exe configure) - checking for a BSD-compatible install... /usr/bin/install -c - checking whether sleep supports fractional seconds... yes - checking filesystem timestamp resolution... 0.01 - checking whether build environment is sane... yes - checking for a race-free mkdir -p... /usr/bin/mkdir -p - checking for gawk... gawk - checking whether make sets $(MAKE)... yes - checking whether make supports nested variables... yes - checking xargs -n works... yes - checking whether to enable maintainer-specific portions of Makefiles... no - checking for ocaml... ocaml - checking for ocamlc.opt... ocamlc.opt - checking OCaml version... 4.14.2 - checking for ocamlfind... no - checking for ocamlopt.opt... ocamlopt.opt - checking for ocamldoc.opt... ocamldoc.opt - checking for ocamldep.opt... ocamldep.opt - checking for ocamlmklib.opt... ocamlmklib.opt - checking whether make supports the include directive... yes (GNU style) - checking for gcc... no - checking for cc... no - checking for cl.exe... no - checking for clang... no - configure: error: in '/cygdrive/c/Users/opam/AppData/Local/opam/4.14/.opam-switch/build/stdcompat.20.1/_build/default': - configure: error: no acceptable C compiler found in $PATH - See 'config.log' for more details [ERROR] The compilation of stdcompat.20.1 failed at "dune build -p stdcompat -j 7". Processing 17/23: [dune-configurator: rm] Processing 18/23: [dune-configurator: rm] + C:\cygwin64\bin\rm.exe "-rf" "vendor/pp" (CWD=C:\Users\opam\AppData\Local\opam\4.14\.opam-switch\build\dune-configurator.3.19.1) Processing 18/23: [dune-configurator: dune build] + C:\Users\opam\AppData\Local\opam\4.14\bin\dune.exe "build" "-p" "dune-configurator" "-j" "7" "@install" (CWD=C:\Users\opam\AppData\Local\opam\4.14\.opam-switch\build\dune-configurator.3.19.1) -> compiled dune-configurator.3.19.1 -> installed dune-configurator.3.19.1 Processing 20/23: [containers: dune build] + C:\Users\opam\AppData\Local\opam\4.14\bin\dune.exe "build" "-p" "containers" "-j" "7" (CWD=C:\Users\opam\AppData\Local\opam\4.14\.opam-switch\build\containers.3.16) - (cd _build/default/src/leb128 && C:\Users\opam\AppData\Local\opam\4.14\bin\x86_64-w64-mingw32-gcc.exe -O2 -fno-strict-aliasing -fwrapv -mms-bitfields -Wall -fdiagnostics-color=always -std=c99 -O2 -g -I C:/Users/opam/AppData/Local/opam/4.14/lib/ocaml -I C:\Users\opam\AppData\Local\opam\4.14\lib\either -I ../core -I ../monomorphic -o stubs.o -c stubs.c) - In file included from C:/Users/opam/AppData/Local/opam/4.14/lib/ocaml/caml/alloc.h:24, - from stubs.c:4: - stubs.c: In function 'caml_cc_leb128_varint': - C:/Users/opam/AppData/Local/opam/4.14/lib/ocaml/caml/mlvalues.h:294:22: warning: pointer targets in initialization of 'char *' from 'unsigned char *' differ in signedness [-Wpointer-sign] - 294 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) - | ^ - stubs.c:61:15: note: in expansion of macro 'Bytes_val' - 61 | char *str = Bytes_val(_str); - | ^~~~~~~~~ - stubs.c:62:24: warning: pointer targets in passing argument 1 of 'ix_leb128_varint' differ in signedness [-Wpointer-sign] - 62 | ix_leb128_varint(str + idx, i); - | ~~~~^~~~~ - | | - | char * - stubs.c:45:52: note: expected 'unsigned char *' but argument is of type 'char *' - 45 | static inline void ix_leb128_varint(unsigned char *str, uint64_t i) { - | ~~~~~~~~~~~~~~~^~~ - stubs.c: In function 'caml_cc_leb128_varint_byte': - C:/Users/opam/AppData/Local/opam/4.14/lib/ocaml/caml/mlvalues.h:294:22: warning: pointer targets in initialization of 'char *' from 'unsigned char *' differ in signedness [-Wpointer-sign] - 294 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) - | ^ - stubs.c:68:15: note: in expansion of macro 'Bytes_val' - 68 | char *str = Bytes_val(_str); - | ^~~~~~~~~ - stubs.c:71:24: warning: pointer targets in passing argument 1 of 'ix_leb128_varint' differ in signedness [-Wpointer-sign] - 71 | ix_leb128_varint(str + idx, i); - | ~~~~^~~~~ - | | - | char * - stubs.c:45:52: note: expected 'unsigned char *' but argument is of type 'char *' - 45 | static inline void ix_leb128_varint(unsigned char *str, uint64_t i) { - | ~~~~~~~~~~~~~~~^~~ -> compiled containers.3.16 -> installed containers.3.16 #=== ERROR while compiling stdcompat.20.1 =====================================# # context 2.3.0 | win32/x86_64 | ocaml-base-compiler.4.14.2 | file://C:/Users/opam/opam-repository # path ~\AppData\Local\opam\4.14\.opam-switch\build\stdcompat.20.1 # command ~\AppData\Local\opam\4.14\bin\dune.exe build -p stdcompat -j 7 # exit-code 1 # env-file ~\AppData\Local\opam\log\stdcompat-2224-79da2f.env # output-file ~\AppData\Local\opam\log\stdcompat-2224-79da2f.out ### output ### # [...] # checking for ocamlopt.opt... ocamlopt.opt # checking for ocamldoc.opt... ocamldoc.opt # checking for ocamldep.opt... ocamldep.opt # checking for ocamlmklib.opt... ocamlmklib.opt # checking whether make supports the include directive... yes (GNU style) # checking for gcc... no # checking for cc... no # checking for cl.exe... no # checking for clang... no # configure: error: in '/cygdrive/c/Users/opam/AppData/Local/opam/4.14/.opam-switch/build/stdcompat.20.1/_build/default': # configure: error: no acceptable C compiler found in $PATH # See 'config.log' for more details <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +- The following actions were aborted | - install euler 0.3 +- +- The following actions failed | - build stdcompat 20.1 +- +- The following changes have been performed (the rest was aborted) | - install conf-autoconf 0.2 | - install containers 3.16 | - install csexp 1.5.2 | - install dune 3.19.1 | - install dune-configurator 3.19.1 | - install either 1.0.0 +- # To update the current shell environment, run: eval $(opam env) The former state can be restored with: C:\cygwin64\bin\opam.exe switch import "C:\\Users\\opam\\AppData\\Local\\opam\\4.14\\.opam-switch\\backup\\state-20250806140157.export" 'C:\cygwin64\bin\opam.exe install -vy euler.0.3' failed. "opam remove -y euler.0.3 opam install -vy euler.0.3 res=$? if [ $res = 31 ]; then if opam show -f x-ci-accept-failures: euler.0.3 | grep -q 'windows-server-2022-amd64-ocaml-5.3'; then echo "This package failed and has been disabled for CI using the 'x-ci-accept-failures' field." exit 69 fi fi exit $res" failed with exit status 31 Failed: Build failed