Building on odawa
(from windows-server-2022-amd64-ocaml-5.3)
2025-02-06 08:42.57 ---> 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-02-06 08:42.57 ---> 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 278df338effcd8a80241fbf6902ef949a850372c"))
2025-02-06 08:42.57 ---> using "e39acbd6045a92867247a77cb24a0ffccc792fec4b50da39e9eb78c669ff6c19" from cache
/: (run (shell "rm -rf ~/.opam && opam init -ya --bare ~/opam-repository"))
User configuration:
Updating ~\.bash_profile.
[NOTE] Make sure that ~\.bash_profile is well sourced in your ~/.bashrc.
Added 9 lines after line 1 in ~\.bash_profile.
2025-02-06 08:42.57 ---> using "6c4b1d054ed5940a4b723ed52d95df0d05653b94454ef30df11e527afeff68a2" 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.43 (cached)
-> retrieved ocaml-config.3 (cached)
-> installed flexdll.0.43
-> 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)
2025-02-06 08:42.57 ---> using "9b5104395d4061ff3a84ada5267386e8ce5383f1fb42238552a843189a05feb7" from cache
/: (run (network host)
(shell "opam update --depexts"))
2025-02-06 08:42.57 ---> using "629cc391d7681e4086572935dcad3c3cdc182f616eebec6dcf08b9fbcd50f4fe" from cache
/: (run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\Local\\opam\\download-cache")))
(network host)
(shell "\
\nopam remove -y \"winpthreads.20240209-1\"\
\nopam install -vy \"winpthreads.20240209-1\"\
\nres=$?\
\nif [ $res = 31 ]; then\
\n if opam show -f x-ci-accept-failures: \"winpthreads.20240209-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\
\n"))
Nothing to do.
[NOTE] winpthreads.20240209-1 is not installed.
The following actions will be performed:
=== 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 winpthreads]
- recompile ocaml-config 3 [uses ocaml-base-compiler]
=== install 1 package
- install winpthreads 20240209-1
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 6/31: [ocaml-compiler.5.3.0: extract]
-> retrieved ocaml-config.3 (cached)
Processing 7/31: [ocaml-compiler.5.3.0: extract]
Processing 8/31: [ocaml-compiler.5.3.0: extract] [winpthreads.20240209-1: http]
Processing 8/31: [ocaml-compiler.5.3.0: extract]
[ERROR] Failed to get sources of winpthreads.20240209-1: curl failed
Processing 9/31: [ocaml-compiler.5.3.0: extract]
Processing 10/31: [ocaml-compiler.5.3.0: extract]
Processing 11/31: [ocaml-compiler.5.3.0: extract]
Processing 12/31: [ocaml-compiler.5.3.0: extract]
Processing 13/31: [ocaml-compiler.5.3.0: extract]
Processing 14/31: [ocaml-compiler.5.3.0: extract]
Processing 15/31: [ocaml-compiler.5.3.0: extract]
Processing 16/31: [ocaml-compiler.5.3.0: extract]
-> retrieved ocaml-compiler.5.3.0 (cached)
#=== ERROR while fetching sources for winpthreads.20240209-1 ==================#
OpamSolution.Fetch_fail("https://github.com/ocaml/winpthreads/archive/20240209-1.tar.gz (curl failed: \"C:\\\\Windows\\\\system32\\\\curl.exe --write-out %{http_code}\\\\n --retry 3 --retry-delay 2 --user-agent opam/2.3.0~beta1 -L -o C:\\\\Users\\\\opam\\\\AppData\\\\Local\\\\Temp\\\\opam-3032-d1fca9\\\\20240209-1.tar.gz.part -- https://github.com/ocaml/winpthreads/archive/20240209-1.tar.gz\" exited with code 35)")
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions were aborted
| - recompile base-domains base
| - recompile base-effects base
| - recompile base-nnp base
| - recompile ocaml 5.3.0
| - recompile ocaml-base-compiler 5.3.0
| - recompile ocaml-compiler 5.3.0
| - recompile ocaml-config 3
+-
+- The following actions failed
| - fetch winpthreads 20240209-1
+-
- No changes have been performed
# To update the current shell environment, run: eval $(opam env)
'C:\cygwin64\bin\opam.exe install -vy winpthreads.20240209-1' failed.
"
opam remove -y "winpthreads.20240209-1"
opam install -vy "winpthreads.20240209-1"
res=$?
if [ $res = 31 ]; then
if opam show -f x-ci-accept-failures: "winpthreads.20240209-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 40
Failed: Build failed