Building on odawa
(from windows-server-2022-amd64-ocaml-5.3)
2025-03-18 19:22.21 ---> 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-03-18 19:22.21 ---> 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 b98fd204f973f02122d3256ca2df1b2876ffbad8"))
2025-03-18 19:22.21 ---> using "d5a4cc53ce391ef1f9f5c5a512ee5f56d67da365729f7b2d1a3802cd60885c21" 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-03-18 19:22.21 ---> using "3dd9890c501211ba92c399f0a7ccec0155bbac3b6317e0cff106bc8e717b4bfb" 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.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-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-03-18 19:22.21 ---> using "396cdfd52f35b719055000654f523782fcd9bd6bdc3b400abe014100f6ae7cfc" from cache
/: (run (network host)
(shell "opam update --depexts"))
2025-03-18 19:22.21 ---> using "99d6a16125912989e8843cf90b16ede8c678ec03a0e52c0ffafd53a092d7952c" from cache
/: (run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\Local\\opam\\download-cache")))
(network host)
(shell "opam remove -y json_decoder.0.1.1\
\nopam install -vy json_decoder.0.1.1\
\nres=$?\
\nif [ $res = 31 ]; then\
\n if opam show -f x-ci-accept-failures: json_decoder.0.1.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] json_decoder.0.1.1 is not installed.
The following actions will be performed:
=== install 8 packages
- install biniou 1.2.2 [required by yojson]
- install camlp-streams 5.0.1 [required by biniou]
- install cppo 1.8.0 [required by yojson]
- install dune 3.17.1 [required by json_decoder]
- install easy-format 1.3.4 [required by yojson]
- install json_decoder 0.1.1
- install result 1.5 [required by json_decoder]
- install yojson 1.7.0 [required by json_decoder]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 1/24: [biniou.1.2.2: extract]
Processing 2/24: [biniou.1.2.2: extract] [camlp-streams.5.0.1: extract]
Processing 3/24: [biniou.1.2.2: extract] [camlp-streams.5.0.1: extract] [cppo.1.8.0: extract]
-> retrieved biniou.1.2.2 (cached)
Processing 3/24: [camlp-streams.5.0.1: extract] [cppo.1.8.0: extract]
Processing 4/24: [camlp-streams.5.0.1: extract] [cppo.1.8.0: extract] [dune.3.17.1: extract]
-> retrieved camlp-streams.5.0.1 (cached)
Processing 4/24: [cppo.1.8.0: extract] [dune.3.17.1: extract]
Processing 5/24: [cppo.1.8.0: extract] [dune.3.17.1: extract] [easy-format.1.3.4: extract]
-> retrieved cppo.1.8.0 (cached)
Processing 5/24: [dune.3.17.1: extract] [easy-format.1.3.4: extract]
Processing 6/24: [dune.3.17.1: extract] [easy-format.1.3.4: extract] [json_decoder.0.1.1: http]
-> retrieved easy-format.1.3.4 (cached)
Processing 6/24: [dune.3.17.1: extract] [json_decoder.0.1.1: http]
Processing 7/24: [dune.3.17.1: extract] [json_decoder.0.1.1: http] [result.1.5: extract]
-> retrieved result.1.5 (cached)
Processing 7/24: [dune.3.17.1: extract] [json_decoder.0.1.1: http]
Processing 8/24: [dune.3.17.1: extract] [json_decoder.0.1.1: http] [yojson.1.7.0: extract]
-> retrieved yojson.1.7.0 (cached)
Processing 8/24: [dune.3.17.1: extract] [json_decoder.0.1.1: http]
[ERROR] Failed to get sources of json_decoder.0.1.1: curl empty response
Processing 8/24: [dune.3.17.1: extract]
-> retrieved dune.3.17.1 (cached)
Processing 9/24: [dune: ocaml 15]
+ C:\Users\opam\AppData\Local\opam\4.14\bin\ocaml.exe "boot/bootstrap.ml" "-j" "15" (CWD=C:\Users\opam\AppData\Local\opam\4.14\.opam-switch\build\dune.3.17.1)
- ocamlc -output-complete-exe -w -24 -g -o .duneboot.exe -I boot unix.cma boot/libs.ml boot/duneboot.ml
- .\.duneboot.exe -j 15
-
Processing 9/24: [dune: ./_boot/dune.exe build]
+ C:\Users\opam\AppData\Local\opam\4.14\.opam-switch\build\dune.3.17.1\./_boot/dune.exe "build" "dune.install" "--release" "--profile" "dune-bootstrap" "-j" "15" (CWD=C:\Users\opam\AppData\Local\opam\4.14\.opam-switch\build\dune.3.17.1)
-> compiled dune.3.17.1
-> installed dune.3.17.1
Processing 11/24: [camlp-streams: dune build]
Processing 12/24: [camlp-streams: dune build] [cppo: dune build]
Processing 13/24: [camlp-streams: dune build] [cppo: dune build] [easy-format: dune build]
Processing 14/24: [camlp-streams: dune build] [cppo: dune build] [easy-format: dune build] [result: dune build]
+ C:\Users\opam\AppData\Local\opam\4.14\bin\dune.exe "build" "-p" "camlp-streams" "-j" "15" "@install" (CWD=C:\Users\opam\AppData\Local\opam\4.14\.opam-switch\build\camlp-streams.5.0.1)
-> compiled camlp-streams.5.0.1
Processing 14/24: [cppo: dune build] [easy-format: dune build] [result: dune build]
-> installed camlp-streams.5.0.1
Processing 15/24: [cppo: dune build] [easy-format: dune build] [result: dune build]
+ C:\Users\opam\AppData\Local\opam\4.14\bin\dune.exe "build" "-p" "easy-format" "-j" "15" "@install" (CWD=C:\Users\opam\AppData\Local\opam\4.14\.opam-switch\build\easy-format.1.3.4)
-> compiled easy-format.1.3.4
Processing 15/24: [cppo: dune build] [result: dune build]
-> installed easy-format.1.3.4
Processing 16/24: [cppo: dune build] [result: dune build]
Processing 17/24: [biniou: dune build] [cppo: dune build] [result: dune build]
+ C:\Users\opam\AppData\Local\opam\4.14\bin\dune.exe "build" "-p" "result" "-j" "15" (CWD=C:\Users\opam\AppData\Local\opam\4.14\.opam-switch\build\result.1.5)
-> compiled result.1.5
Processing 17/24: [biniou: dune build] [cppo: dune build]
-> installed result.1.5
Processing 18/24: [biniou: dune build] [cppo: dune build]
+ C:\Users\opam\AppData\Local\opam\4.14\bin\dune.exe "build" "-p" "cppo" "-j" "15" "@install" (CWD=C:\Users\opam\AppData\Local\opam\4.14\.opam-switch\build\cppo.1.8.0)
-> compiled cppo.1.8.0
Processing 18/24: [biniou: dune build]
-> installed cppo.1.8.0
Processing 19/24: [biniou: dune build]
+ C:\Users\opam\AppData\Local\opam\4.14\bin\dune.exe "build" "-p" "biniou" "-j" "15" (CWD=C:\Users\opam\AppData\Local\opam\4.14\.opam-switch\build\biniou.1.2.2)
-> compiled biniou.1.2.2
-> installed biniou.1.2.2
Processing 21/24: [yojson: dune build]
+ C:\Users\opam\AppData\Local\opam\4.14\bin\dune.exe "build" "-p" "yojson" "-j" "15" (CWD=C:\Users\opam\AppData\Local\opam\4.14\.opam-switch\build\yojson.1.7.0)
-> compiled yojson.1.7.0
-> installed yojson.1.7.0
#=== ERROR while fetching sources for json_decoder.0.1.1 ======================#
OpamSolution.Fetch_fail("https://github.com/dagoof/ocaml-json-decoder/releases/download/v0.1.1/json_decoder-0.1.1.tbz (curl: empty response while downloading https://github.com/dagoof/ocaml-json-decoder/releases/download/v0.1.1/json_decoder-0.1.1.tbz)")
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - fetch json_decoder 0.1.1
+-
+- The following changes have been performed
| - install biniou 1.2.2
| - install camlp-streams 5.0.1
| - install cppo 1.8.0
| - install dune 3.17.1
| - install easy-format 1.3.4
| - install result 1.5
| - install yojson 1.7.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-20250318192236.export"
'C:\cygwin64\bin\opam.exe install -vy json_decoder.0.1.1' failed.
"opam remove -y json_decoder.0.1.1
opam install -vy json_decoder.0.1.1
res=$?
if [ $res = 31 ]; then
if opam show -f x-ci-accept-failures: json_decoder.0.1.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