Building on thyme
(from windows-server-2022-amd64-ocaml-5.3)
2026-01-30 03:08.46 ---> 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"))
2026-01-30 03:08.47 ---> 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 f9f7db30fd6e805d48b947df138d463a5433f4d1"))
2026-01-30 03:08.47 ---> using "9ffa4e67a2bc1bb10e9ddbad49fb07bd9ccdabfd46a57b5dc6e4edb83dbbd851" 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.
2026-01-30 03:08.47 ---> using "82d19e1b0719e0b35d8d7240b154fc1d98e1fb03f8ae529f79f6dfe6a46b0e81" from cache
/: (run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\Local\\opam\\download-cache")))
(network host)
(shell "opam switch create --repositories=default '5.3' '5.3.0'"))
<><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><>
Switch invariant: ["ocaml-base-compiler" {= "5.3.0"} | "ocaml-system" {= "5.3.0"}]
<><> 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-compiler.5.3.0 (cached)
-> installed mingw-w64-shims.0.2.0
-> installed ocaml-compiler.5.3.0
-> installed ocaml-base-compiler.5.3.0
-> installed ocaml-config.3
-> installed ocaml.5.3.0
-> installed base-domains.base
-> installed base-effects.base
-> installed base-nnp.base
Done.
# To update the current shell environment, run: eval $(opam env --switch=5.3)
2026-01-30 03:08.47 ---> using "8b7fac19fdffbfdcbbe929eaaa17d227bd9ca5a5ee7e3f828cf2ba2ad64f8ca8" from cache
/: (run (network host)
(shell "opam update --depexts"))
2026-01-30 03:08.47 ---> using "78ba57933dcbd178288706de33aff8e6f3519b4f701f692b063964f16cf2972b" from cache
/: (run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\Local\\opam\\download-cache")))
(network host)
(shell "opam remove -y system-msvc.1\
\nopam install -vy system-msvc.1\
\nres=$?\
\nif [ $res = 31 ]; then\
\n if opam show -f x-ci-accept-failures: system-msvc.1 | 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] system-msvc.1 is not installed.
The following actions will be performed:
=== remove 3 packages
- remove host-system-mingw 1
- remove ocaml-env-mingw64 1
- remove system-mingw 1 [conflicts with system-msvc]
=== recompile 7 packages
- recompile base-domains base [uses ocaml]
- recompile base-effects base [uses ocaml]
- recompile base-nnp base [uses base-domains]
- recompile ocaml 5.3.0 [uses ocaml-base-compiler]
- recompile ocaml-base-compiler 5.3.0 [uses ocaml-compiler]
- recompile ocaml-compiler 5.3.0 [uses system-msvc]
- recompile ocaml-config 3 [uses ocaml-base-compiler]
=== install 7 packages
- install conf-msvc64 1 [required by ocaml-env-msvc64]
- install host-system-msvc 1
- install msvs-detect 0.8.0 [required by conf-msvc64]
- install ocaml-env-msvc64 1 [required by system-msvc]
- install ocaml-option-no-compression 1 [required by ocaml-compiler]
- install system-msvc 1
- install winpthreads 20240209-1 [required by ocaml-compiler]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> removed host-system-mingw.1
Processing 7/52: [msvs-detect.0.8.0: http]
Processing 8/52: [msvs-detect.0.8.0: http]
Processing 9/52: [msvs-detect.0.8.0: http]
Processing 10/52: [msvs-detect.0.8.0: http] [ocaml-compiler.5.3.0: extract]
-> retrieved ocaml-config.3 (cached)
Processing 11/52: [msvs-detect.0.8.0: http] [ocaml-compiler.5.3.0: extract]
Processing 12/52: [msvs-detect.0.8.0: http] [ocaml-compiler.5.3.0: extract]
Processing 13/52: [msvs-detect.0.8.0: http] [ocaml-compiler.5.3.0: extract]
Processing 14/52: [msvs-detect.0.8.0: http] [ocaml-compiler.5.3.0: extract]
Processing 15/52: [msvs-detect.0.8.0: http] [ocaml-compiler.5.3.0: extract] [winpthreads.20240209-1: http]
Processing 16/52: [msvs-detect.0.8.0: http] [ocaml-compiler.5.3.0: extract] [winpthreads.20240209-1: http]
Processing 17/52: [msvs-detect.0.8.0: http] [ocaml-compiler.5.3.0: extract] [winpthreads.20240209-1: http]
-> installed host-system-msvc.1
Processing 18/52: [msvs-detect.0.8.0: http] [ocaml-compiler.5.3.0: extract] [winpthreads.20240209-1: http]
-> installed ocaml-option-no-compression.1
Processing 19/52: [msvs-detect.0.8.0: http] [ocaml-compiler.5.3.0: extract] [winpthreads.20240209-1: http]
Processing 19/52: [msvs-detect.0.8.0: extract] [ocaml-compiler.5.3.0: extract] [winpthreads.20240209-1: http]
Processing 19/52: [msvs-detect.0.8.0: extract] [ocaml-compiler.5.3.0: extract] [winpthreads.20240209-1: extract]
-> retrieved msvs-detect.0.8.0 (https://github.com/metastack/msvs-tools/archive/refs/tags/0.8.0.tar.gz)
Processing 19/52: [ocaml-compiler.5.3.0: extract] [winpthreads.20240209-1: extract]
Processing 20/52: [ocaml-compiler.5.3.0: extract] [winpthreads.20240209-1: extract]
-> installed msvs-detect.0.8.0
Processing 21/52: [ocaml-compiler.5.3.0: extract] [winpthreads.20240209-1: extract]
Processing 22/52: [ocaml-compiler.5.3.0: extract] [winpthreads.20240209-1: extract] [conf-msvc64: bash C:\Users\opam\AppData\Local\opam\5.3\share\msvs-detect\msvs-opam]
-> retrieved winpthreads.20240209-1 (https://github.com/ocaml/winpthreads/archive/20240209-1.tar.gz)
Processing 22/52: [ocaml-compiler.5.3.0: extract] [conf-msvc64: bash C:\Users\opam\AppData\Local\opam\5.3\share\msvs-detect\msvs-opam]
Processing 23/52: [ocaml-compiler.5.3.0: extract] [conf-msvc64: bash C:\Users\opam\AppData\Local\opam\5.3\share\msvs-detect\msvs-opam]
-> removed base-effects.base
Processing 24/52: [ocaml-compiler.5.3.0: extract] [conf-msvc64: bash C:\Users\opam\AppData\Local\opam\5.3\share\msvs-detect\msvs-opam]
-> removed base-nnp.base
Processing 25/52: [ocaml-compiler.5.3.0: extract] [conf-msvc64: bash C:\Users\opam\AppData\Local\opam\5.3\share\msvs-detect\msvs-opam]
-> removed base-domains.base
Processing 26/52: [ocaml-compiler.5.3.0: extract] [conf-msvc64: bash C:\Users\opam\AppData\Local\opam\5.3\share\msvs-detect\msvs-opam]
-> removed ocaml.5.3.0
Processing 27/52: [ocaml-compiler.5.3.0: extract] [conf-msvc64: bash C:\Users\opam\AppData\Local\opam\5.3\share\msvs-detect\msvs-opam]
-> removed ocaml-config.3
Processing 28/52: [ocaml-compiler.5.3.0: extract] [conf-msvc64: bash C:\Users\opam\AppData\Local\opam\5.3\share\msvs-detect\msvs-opam]
-> removed ocaml-base-compiler.5.3.0
Processing 29/52: [ocaml-compiler.5.3.0: extract] [conf-msvc64: bash C:\Users\opam\AppData\Local\opam\5.3\share\msvs-detect\msvs-opam]
-> installed winpthreads.20240209-1
Processing 30/52: [ocaml-compiler.5.3.0: extract] [conf-msvc64: bash C:\Users\opam\AppData\Local\opam\5.3\share\msvs-detect\msvs-opam]
+ C:\cygwin64\bin\bash.exe "C:\\Users\\opam\\AppData\\Local\\opam\\5.3\\share\\msvs-detect\\msvs-opam" "x86_64" "conf-msvc64" "C:\\Users\\opam\\AppData\\Local\\opam\\5.3\\share\\msvs-detect\\msvs-detect" (CWD=C:\Users\opam\AppData\Local\opam\5.3\.opam-switch\build\conf-msvc64.1)
- No compatible Visual Studio installation was found!
- Please install Visual Studio with at least the x64/x86 build tools
- and Windows SDK packages. See https://visualstudio.microsoft.com/downloads/
Processing 30/52: [ocaml-compiler.5.3.0: extract]
Processing 31/52: [ocaml-compiler.5.3.0: extract]
[ERROR] The compilation of conf-msvc64.1 failed at "bash C:\\Users\\opam\\AppData\\Local\\opam\\5.3\\share\\msvs-detect\\msvs-opam x86_64 conf-msvc64 C:\\Users\\opam\\AppData\\Local\\opam\\5.3\\share\\msvs-detect\\msvs-detect".
Processing 32/52: [ocaml-compiler.5.3.0: extract]
Processing 33/52: [ocaml-compiler.5.3.0: extract]
-> retrieved ocaml-compiler.5.3.0 (cached)
-> removed ocaml-compiler.5.3.0
-> removed system-mingw.1
-> removed ocaml-env-mingw64.1
#=== ERROR while compiling conf-msvc64.1 ======================================#
# context 2.3.0 | win32/x86_64 | | file://C:/Users/opam/opam-repository
# path ~\AppData\Local\opam\5.3\.opam-switch\build\conf-msvc64.1
# command C:\cygwin64\bin\bash.exe C:\Users\opam\AppData\Local\opam\5.3\share\msvs-detect\msvs-opam x86_64 conf-msvc64 C:\Users\opam\AppData\Local\opam\5.3\share\msvs-detect\msvs-detect
# exit-code 1
# env-file ~\AppData\Local\opam\log\conf-msvc64-2632-f789e1.env
# output-file ~\AppData\Local\opam\log\conf-msvc64-2632-f789e1.out
### output ###
# No compatible Visual Studio installation was found!
# Please install Visual Studio with at least the x64/x86 build tools
# and Windows SDK packages. See https://visualstudio.microsoft.com/downloads/
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions were aborted
| - install base-domains base
| - install base-effects base
| - install base-nnp base
| - install ocaml 5.3.0
| - install ocaml-base-compiler 5.3.0
| - install ocaml-compiler 5.3.0
| - install ocaml-config 3
| - install ocaml-env-msvc64 1
| - install system-msvc 1
+-
+- The following actions failed
| - build conf-msvc64 1
+-
+- The following changes have been performed (the rest was aborted)
| - remove base-domains base
| - remove base-effects base
| - remove base-nnp base
| - remove host-system-mingw 1
| - remove ocaml 5.3.0
| - remove ocaml-base-compiler 5.3.0
| - remove ocaml-compiler 5.3.0
| - remove ocaml-config 3
| - remove ocaml-env-mingw64 1
| - remove system-mingw 1
| - install host-system-msvc 1
| - install msvs-detect 0.8.0
| - install ocaml-option-no-compression 1
| - install winpthreads 20240209-1
+-
<><> conf-msvc64.1 troubleshooting ><><><><><><><><><><><><><><><><><><><><><><>
=> A suitable Visual Studio installation could not be found for x86_64.
Visual Studio can be obtained from https://visualstudio.microsoft.com
# 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\\5.3\\.opam-switch\\backup\\state-20260130031028.export"
Or you can retry to install your package selection with:
C:\cygwin64\bin\opam.exe install --restore
'C:\cygwin64\bin\opam.exe install -vy system-msvc.1' failed.
"opam remove -y system-msvc.1
opam install -vy system-msvc.1
res=$?
if [ $res = 31 ]; then
if opam show -f x-ci-accept-failures: system-msvc.1 | 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