Building on odawa (from windows-server-2022-amd64-ocaml-4.14.2) 2024-11-12 00:53.54 ---> using "b1ae2ad36af625524288c188f7e099c501706c4119a38e11e1b5610819652cec" 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")) 2024-11-12 00:53.54 ---> using "4b57a7007c87218b9b3ddcf81f74c22338c638c8bcdfdaa01c2afa888290f021" 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 eecf6d033c6c13a6bda9b445601ddcbaa09dd288")) 2024-11-12 00:53.54 ---> using "916fc88efba39c7529535e5586ef636983924e64382c926374941dfb70826c38" 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. 2024-11-12 00:53.54 ---> using "7dff50a164197daeb211f43cc31c3b4201b1bd2d0c774a26d6925a430147bec7" from cache /: (run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\Local\\opam\\download-cache"))) (network host) (shell "opam switch create --repositories=default 'default' 'ocaml-base-compiler.4.14.2'")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-base-compiler" {= "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=default) 2024-11-12 00:53.54 ---> using "ae60b92c2a5a4da67e8935d52ddeae392cd8745a47ba71ee33b6f19f5c2bd60f" from cache /: (run (network host) (shell "opam update --depexts")) 2024-11-12 00:53.54 ---> using "79f391d910b12f0453cbe8a949bb8e140683a166720331d05045e2d73e88ecc9" from cache /: (run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\Local\\opam\\download-cache"))) (network host) (shell "\ \nopam remove -y \"unix-errno.0.6.2\"\ \nopam install -vy \"unix-errno.0.6.2\"\ \nres=$?\ \nif [ $res = 31 ]; then\ \n if opam show -f x-ci-accept-failures: \"unix-errno.0.6.2\" | grep -q '\"windows-server-2022-amd64-ocaml-4.14.2\"'; 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] unix-errno.0.6.2 is not installed. The following actions will be performed: === install 9 packages - install bigarray-compat 1.1.0 [required by ctypes] - install csexp 1.5.2 [required by dune-configurator] - install ctypes 0.23.0 [required by unix-errno] - install dune 3.16.1 [required by unix-errno] - install dune-configurator 3.16.1 [required by ctypes] - install integers 0.7.0 [required by unix-errno] - install result 1.5 [required by unix-errno] - install stdlib-shims 0.3.0 [required by integers] - install unix-errno 0.6.2 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 1/26: [bigarray-compat.1.1.0: extract] Processing 2/26: [bigarray-compat.1.1.0: extract] [csexp.1.5.2: extract] Processing 3/26: [bigarray-compat.1.1.0: extract] [csexp.1.5.2: extract] [ctypes.0.23.0: extract] -> retrieved bigarray-compat.1.1.0 (cached) Processing 3/26: [csexp.1.5.2: extract] [ctypes.0.23.0: extract] Processing 4/26: [csexp.1.5.2: extract] [ctypes.0.23.0: extract] [dune.3.16.1, dune-configurator.3.16.1: extract] -> retrieved csexp.1.5.2 (cached) Processing 4/26: [ctypes.0.23.0: extract] [dune.3.16.1, dune-configurator.3.16.1: extract] Processing 5/26: [ctypes.0.23.0: extract] [dune.3.16.1, dune-configurator.3.16.1: extract] [integers.0.7.0: extract] -> retrieved integers.0.7.0 (cached) Processing 5/26: [ctypes.0.23.0: extract] [dune.3.16.1, dune-configurator.3.16.1: extract] Processing 6/26: [ctypes.0.23.0: extract] [dune.3.16.1, dune-configurator.3.16.1: extract] [result.1.5: extract] -> retrieved result.1.5 (cached) Processing 6/26: [ctypes.0.23.0: extract] [dune.3.16.1, dune-configurator.3.16.1: extract] Processing 7/26: [ctypes.0.23.0: extract] [dune.3.16.1, dune-configurator.3.16.1: extract] [stdlib-shims.0.3.0: extract] -> retrieved ctypes.0.23.0 (cached) Processing 7/26: [dune.3.16.1, dune-configurator.3.16.1: extract] [stdlib-shims.0.3.0: extract] Processing 8/26: [dune.3.16.1, dune-configurator.3.16.1: extract] [stdlib-shims.0.3.0: extract] [unix-errno.0.6.2: http] -> retrieved stdlib-shims.0.3.0 (cached) Processing 8/26: [dune.3.16.1, dune-configurator.3.16.1: extract] [unix-errno.0.6.2: http] Processing 8/26: [dune.3.16.1, dune-configurator.3.16.1: extract] [unix-errno.0.6.2: extract] -> retrieved unix-errno.0.6.2 (https://github.com/xapi-project/ocaml-unix-errno/releases/download/0.6.2/unix-errno-0.6.2.tbz) Processing 8/26: [dune.3.16.1, dune-configurator.3.16.1: extract] -> retrieved dune.3.16.1, dune-configurator.3.16.1 (cached) Processing 9/26: [dune: ocaml 31] + C:\Users\opam\AppData\Local\opam\default\bin\ocaml.exe "boot/bootstrap.ml" "-j" "31" (CWD=C:\Users\opam\AppData\Local\opam\default\.opam-switch\build\dune.3.16.1) - ocamlc -output-complete-exe -w -24 -g -o .duneboot.exe -I boot unix.cma boot/libs.ml boot/duneboot.ml - .\.duneboot.exe -j 31 - Processing 9/26: [dune: ./_boot/dune.exe build] + C:\Users\opam\AppData\Local\opam\default\.opam-switch\build\dune.3.16.1\./_boot/dune.exe "build" "dune.install" "--release" "--profile" "dune-bootstrap" "-j" "31" (CWD=C:\Users\opam\AppData\Local\opam\default\.opam-switch\build\dune.3.16.1) -> compiled dune.3.16.1 -> installed dune.3.16.1 Processing 11/26: [bigarray-compat: dune build] Processing 12/26: [bigarray-compat: dune build] [csexp: dune build] Processing 13/26: [bigarray-compat: dune build] [csexp: dune build] [result: dune build] Processing 14/26: [bigarray-compat: dune build] [csexp: dune build] [result: dune build] [stdlib-shims: dune build] + C:\Users\opam\AppData\Local\opam\default\bin\dune.exe "build" "-p" "stdlib-shims" "-j" "31" (CWD=C:\Users\opam\AppData\Local\opam\default\.opam-switch\build\stdlib-shims.0.3.0) -> compiled stdlib-shims.0.3.0 Processing 14/26: [bigarray-compat: dune build] [csexp: dune build] [result: dune build] -> installed stdlib-shims.0.3.0 Processing 15/26: [bigarray-compat: dune build] [csexp: dune build] [result: dune build] Processing 16/26: [bigarray-compat: dune build] [csexp: dune build] [integers: dune build] [result: dune build] + C:\Users\opam\AppData\Local\opam\default\bin\dune.exe "build" "-p" "bigarray-compat" "-j" "31" (CWD=C:\Users\opam\AppData\Local\opam\default\.opam-switch\build\bigarray-compat.1.1.0) -> compiled bigarray-compat.1.1.0 Processing 16/26: [csexp: dune build] [integers: dune build] [result: dune build] -> installed bigarray-compat.1.1.0 Processing 17/26: [csexp: dune build] [integers: dune build] [result: dune build] + C:\Users\opam\AppData\Local\opam\default\bin\dune.exe "build" "-p" "csexp" "-j" "31" "@install" (CWD=C:\Users\opam\AppData\Local\opam\default\.opam-switch\build\csexp.1.5.2) -> compiled csexp.1.5.2 Processing 17/26: [integers: dune build] [result: dune build] -> installed csexp.1.5.2 Processing 18/26: [integers: dune build] [result: dune build] Processing 19/26: [dune-configurator: rm] [integers: dune build] [result: dune build] + C:\Users\opam\AppData\Local\opam\default\bin\dune.exe "build" "-p" "integers" "-j" "31" (CWD=C:\Users\opam\AppData\Local\opam\default\.opam-switch\build\integers.0.7.0) -> compiled integers.0.7.0 Processing 19/26: [dune-configurator: rm] [result: dune build] -> installed integers.0.7.0 Processing 20/26: [dune-configurator: rm] [result: dune build] + C:\cygwin64\bin\rm.exe "-rf" "vendor/csexp" (CWD=C:\Users\opam\AppData\Local\opam\default\.opam-switch\build\dune-configurator.3.16.1) + C:\Users\opam\AppData\Local\opam\default\bin\dune.exe "build" "-p" "result" "-j" "31" (CWD=C:\Users\opam\AppData\Local\opam\default\.opam-switch\build\result.1.5) -> compiled result.1.5 Processing 20/26: [dune-configurator: rm] -> installed result.1.5 Processing 21/26: [dune-configurator: rm] + C:\cygwin64\bin\rm.exe "-rf" "vendor/pp" (CWD=C:\Users\opam\AppData\Local\opam\default\.opam-switch\build\dune-configurator.3.16.1) Processing 21/26: [dune-configurator: dune build] + C:\Users\opam\AppData\Local\opam\default\bin\dune.exe "build" "-p" "dune-configurator" "-j" "31" "@install" (CWD=C:\Users\opam\AppData\Local\opam\default\.opam-switch\build\dune-configurator.3.16.1) -> compiled dune-configurator.3.16.1 -> installed dune-configurator.3.16.1 Processing 23/26: [ctypes: dune build] + C:\Users\opam\AppData\Local\opam\default\bin\dune.exe "build" "-p" "ctypes" "-j" "31" "--promote-install-files=false" "@install" (CWD=C:\Users\opam\AppData\Local\opam\default\.opam-switch\build\ctypes.0.23.0) Processing 23/26: [ctypes: dune install] + C:\Users\opam\AppData\Local\opam\default\bin\dune.exe "install" "-p" "ctypes" "--create-install-files" "ctypes" (CWD=C:\Users\opam\AppData\Local\opam\default\.opam-switch\build\ctypes.0.23.0) -> compiled ctypes.0.23.0 -> installed ctypes.0.23.0 Processing 25/26: [unix-errno: dune build] + C:\Users\opam\AppData\Local\opam\default\bin\dune.exe "build" "-p" "unix-errno" "-j" "31" (CWD=C:\Users\opam\AppData\Local\opam\default\.opam-switch\build\unix-errno.0.6.2) - File "unix/dune", line 7, characters 37-52: - 7 | (foreign_stubs (language c) (names unix_errno_util unix_errno_stubs)) - ^^^^^^^^^^^^^^^ - (cd _build/default/unix && C:\Users\opam\AppData\Local\opam\default\bin\x86_64-w64-mingw32-gcc.exe -O2 -fno-strict-aliasing -fwrapv -mms-bitfields -O2 -fno-strict-aliasing -fwrapv -mms-bitfields -g -I C:/Users/opam/AppData/Local/opam/default/lib/ocaml -I C:\Users\opam\AppData\Local\opam\default\lib\ctypes -I C:\Users\opam\AppData\Local\opam\default\lib\ctypes\stubs -I C:\Users\opam\AppData\Local\opam\default\lib\integers -I ../lib -I ../lib_gen -o unix_errno_util.o -c unix_errno_util.c) - unix_errno_util.c: In function 'unix_errno_echrng': - unix_errno_util.c:26:10: error: 'ECHRNG' undeclared (first use in this function) - 26 | return ECHRNG; - | ^~~~~~ - unix_errno_util.c:26:10: note: each undeclared identifier is reported only once for each function it appears in - unix_errno_util.c: In function 'unix_errno_el2nsync': - unix_errno_util.c:35:10: error: 'EL2NSYNC' undeclared (first use in this function) - 35 | return EL2NSYNC; - | ^~~~~~~~ - unix_errno_util.c: In function 'unix_errno_el3hlt': - unix_errno_util.c:44:10: error: 'EL3HLT' undeclared (first use in this function) - 44 | return EL3HLT; - | ^~~~~~ - unix_errno_util.c: In function 'unix_errno_el3rst': - unix_errno_util.c:53:10: error: 'EL3RST' undeclared (first use in this function) - 53 | return EL3RST; - | ^~~~~~ - unix_errno_util.c: In function 'unix_errno_elnrng': - unix_errno_util.c:62:10: error: 'ELNRNG' undeclared (first use in this function) - 62 | return ELNRNG; - | ^~~~~~ - unix_errno_util.c: In function 'unix_errno_eunatch': - unix_errno_util.c:71:10: error: 'EUNATCH' undeclared (first use in this function) - 71 | return EUNATCH; - | ^~~~~~~ - unix_errno_util.c: In function 'unix_errno_enocsi': - unix_errno_util.c:80:10: error: 'ENOCSI' undeclared (first use in this function); did you mean 'ENOMSG'? - 80 | return ENOCSI; - | ^~~~~~ - | ENOMSG - unix_errno_util.c: In function 'unix_errno_el2hlt': - unix_errno_util.c:89:10: error: 'EL2HLT' undeclared (first use in this function) - 89 | return EL2HLT; - | ^~~~~~ - unix_errno_util.c: In function 'unix_errno_ebade': - unix_errno_util.c:98:10: error: 'EBADE' undeclared (first use in this function); did you mean 'EBADF'? - 98 | return EBADE; - | ^~~~~ - | EBADF - unix_errno_util.c: In function 'unix_errno_ebadr': - unix_errno_util.c:107:10: error: 'EBADR' undeclared (first use in this function); did you mean 'EBADF'? - 107 | return EBADR; - | ^~~~~ - | EBADF - unix_errno_util.c: In function 'unix_errno_exfull': - unix_errno_util.c:116:10: error: 'EXFULL' undeclared (first use in this function) - 116 | return EXFULL; - | ^~~~~~ - unix_errno_util.c: In function 'unix_errno_enoano': - unix_errno_util.c:125:10: error: 'ENOANO' undeclared (first use in this function); did you mean 'ENOENT'? - 125 | return ENOANO; - | ^~~~~~ - | ENOENT - unix_errno_util.c: In function 'unix_errno_ebadrqc': - unix_errno_util.c:134:10: error: 'EBADRQC' undeclared (first use in this function); did you mean 'EBADF'? - 134 | return EBADRQC; - | ^~~~~~~ - | EBADF - unix_errno_util.c: In function 'unix_errno_ebadslt': - unix_errno_util.c:143:10: error: 'EBADSLT' undeclared (first use in this function); did you mean 'EBADF'? - 143 | return EBADSLT; - | ^~~~~~~ - | EBADF - unix_errno_util.c: In function 'unix_errno_ebfont': - unix_errno_util.c:152:10: error: 'EBFONT' undeclared (first use in this function) - 152 | return EBFONT; - | ^~~~~~ - unix_errno_util.c: In function 'unix_errno_enonet': - unix_errno_util.c:161:10: error: 'ENONET' undeclared (first use in this function); did you mean 'ENOENT'? - 161 | return ENONET; - | ^~~~~~ - | ENOENT - unix_errno_util.c: In function 'unix_errno_enopkg': - unix_errno_util.c:170:10: error: 'ENOPKG' undeclared (first use in this function); did you mean 'ENOMSG'? - 170 | return ENOPKG; - | ^~~~~~ - | ENOMSG - unix_errno_util.c: In function 'unix_errno_eadv': - unix_errno_util.c:179:10: error: 'EADV' undeclared (first use in this function) - 179 | return EADV; - | ^~~~ - unix_errno_util.c: In function 'unix_errno_esrmnt': - unix_errno_util.c:188:10: error: 'ESRMNT' undeclared (first use in this function) - 188 | return ESRMNT; - | ^~~~~~ - unix_errno_util.c: In function 'unix_errno_ecomm': - unix_errno_util.c:197:10: error: 'ECOMM' undeclared (first use in this function); did you mean 'ENOMEM'? - 197 | return ECOMM; - | ^~~~~ - | ENOMEM - unix_errno_util.c: In function 'unix_errno_edotdot': - unix_errno_util.c:206:10: error: 'EDOTDOT' undeclared (first use in this function) - 206 | return EDOTDOT; - | ^~~~~~~ - unix_errno_util.c: In function 'unix_errno_enotuniq': - unix_errno_util.c:215:10: error: 'ENOTUNIQ' undeclared (first use in this function) - 215 | return ENOTUNIQ; - | ^~~~~~~~ - unix_errno_util.c: In function 'unix_errno_ebadfd': - unix_errno_util.c:224:10: error: 'EBADFD' undeclared (first use in this function); did you mean 'EBADF'? - 224 | return EBADFD; - | ^~~~~~ - | EBADF - unix_errno_util.c: In function 'unix_errno_eremchg': - unix_errno_util.c:233:10: error: 'EREMCHG' undeclared (first use in this function) - 233 | return EREMCHG; - | ^~~~~~~ - unix_errno_util.c: In function 'unix_errno_elibacc': - unix_errno_util.c:242:10: error: 'ELIBACC' undeclared (first use in this function) - 242 | return ELIBACC; - | ^~~~~~~ - unix_errno_util.c: In function 'unix_errno_elibbad': - unix_errno_util.c:251:10: error: 'ELIBBAD' undeclared (first use in this function) - 251 | return ELIBBAD; - | ^~~~~~~ - unix_errno_util.c: In function 'unix_errno_elibscn': - unix_errno_util.c:260:10: error: 'ELIBSCN' undeclared (first use in this function) - 260 | return ELIBSCN; - | ^~~~~~~ - unix_errno_util.c: In function 'unix_errno_elibmax': - unix_errno_util.c:269:10: error: 'ELIBMAX' undeclared (first use in this function) - 269 | return ELIBMAX; - | ^~~~~~~ - unix_errno_util.c: In function 'unix_errno_elibexec': - unix_errno_util.c:278:10: error: 'ELIBEXEC' undeclared (first use in this function) - 278 | return ELIBEXEC; - | ^~~~~~~~ - unix_errno_util.c: In function 'unix_errno_erestart': - unix_errno_util.c:287:10: error: 'ERESTART' undeclared (first use in this function) - 287 | return ERESTART; - | ^~~~~~~~ - unix_errno_util.c: In function 'unix_errno_estrpipe': - unix_errno_util.c:296:10: error: 'ESTRPIPE' undeclared (first use in this function); did you mean 'ESPIPE'? - 296 | return ESTRPIPE; - | ^~~~~~~~ - | ESPIPE - unix_errno_util.c: In function 'unix_errno_euclean': - unix_errno_util.c:305:10: error: 'EUCLEAN' undeclared (first use in this function) - 305 | return EUCLEAN; - | ^~~~~~~ - unix_errno_util.c: In function 'unix_errno_enotnam': - unix_errno_util.c:314:10: error: 'ENOTNAM' undeclared (first use in this function) - 314 | return ENOTNAM; - | ^~~~~~~ - unix_errno_util.c: In function 'unix_errno_enavail': - unix_errno_util.c:323:10: error: 'ENAVAIL' undeclared (first use in this function) - 323 | return ENAVAIL; - | ^~~~~~~ - unix_errno_util.c: In function 'unix_errno_eisnam': - unix_errno_util.c:332:10: error: 'EISNAM' undeclared (first use in this function) - 332 | return EISNAM; - | ^~~~~~ - unix_errno_util.c: In function 'unix_errno_eremoteio': - unix_errno_util.c:341:10: error: 'EREMOTEIO' undeclared (first use in this function) - 341 | return EREMOTEIO; - | ^~~~~~~~~ - unix_errno_util.c: In function 'unix_errno_enomedium': - unix_errno_util.c:350:10: error: 'ENOMEDIUM' undeclared (first use in this function); did you mean 'ENOMEM'? - 350 | return ENOMEDIUM; - | ^~~~~~~~~ - | ENOMEM - unix_errno_util.c: In function 'unix_errno_emediumtype': - unix_errno_util.c:359:10: error: 'EMEDIUMTYPE' undeclared (first use in this function) - 359 | return EMEDIUMTYPE; - | ^~~~~~~~~~~ - unix_errno_util.c: In function 'unix_errno_enokey': - unix_errno_util.c:368:10: error: 'ENOKEY' undeclared (first use in this function); did you mean 'ENOTTY'? - 368 | return ENOKEY; - | ^~~~~~ - | ENOTTY - unix_errno_util.c: In function 'unix_errno_ekeyexpired': - unix_errno_util.c:377:10: error: 'EKEYEXPIRED' undeclared (first use in this function) - 377 | return EKEYEXPIRED; - | ^~~~~~~~~~~ - unix_errno_util.c: In function 'unix_errno_ekeyrevoked': - unix_errno_util.c:386:10: error: 'EKEYREVOKED' undeclared (first use in this function) - 386 | return EKEYREVOKED; - | ^~~~~~~~~~~ - unix_errno_util.c: In function 'unix_errno_ekeyrejected': - unix_errno_util.c:395:10: error: 'EKEYREJECTED' undeclared (first use in this function) - 395 | return EKEYREJECTED; - | ^~~~~~~~~~~~ - unix_errno_util.c: In function 'unix_errno_erfkill': - unix_errno_util.c:404:10: error: 'ERFKILL' undeclared (first use in this function) - 404 | return ERFKILL; - | ^~~~~~~ - unix_errno_util.c: In function 'unix_errno_ehwpoison': - unix_errno_util.c:413:10: error: 'EHWPOISON' undeclared (first use in this function) - 413 | return EHWPOISON; - | ^~~~~~~~~ - unix_errno_util.c: In function 'unix_errno_epwroff': - unix_errno_util.c:424:10: error: 'EPWROFF' undeclared (first use in this function) - 424 | return EPWROFF; - | ^~~~~~~ - unix_errno_util.c: In function 'unix_errno_edeverr': - unix_errno_util.c:433:10: error: 'EDEVERR' undeclared (first use in this function) - 433 | return EDEVERR; - | ^~~~~~~ - unix_errno_util.c: In function 'unix_errno_ebadexec': - unix_errno_util.c:442:10: error: 'EBADEXEC' undeclared (first use in this function) - 442 | return EBADEXEC; - | ^~~~~~~~ - unix_errno_util.c: In function 'unix_errno_ebadarch': - unix_errno_util.c:451:10: error: 'EBADARCH' undeclared (first use in this function) - 451 | return EBADARCH; - | ^~~~~~~~ - unix_errno_util.c: In function 'unix_errno_eshlibvers': - unix_errno_util.c:460:10: error: 'ESHLIBVERS' undeclared (first use in this function) - 460 | return ESHLIBVERS; - | ^~~~~~~~~~ - unix_errno_util.c: In function 'unix_errno_ebadmacho': - unix_errno_util.c:469:10: error: 'EBADMACHO' undeclared (first use in this function) - 469 | return EBADMACHO; - | ^~~~~~~~~ - unix_errno_util.c: In function 'unix_errno_enopolicy': - unix_errno_util.c:478:10: error: 'ENOPOLICY' undeclared (first use in this function) - 478 | return ENOPOLICY; - | ^~~~~~~~~ - unix_errno_util.c: In function 'unix_errno_eqfull': - unix_errno_util.c:487:10: error: 'EQFULL' undeclared (first use in this function) - 487 | return EQFULL; - | ^~~~~~ - unix_errno_util.c: In function 'unix_errno_edoofus': - unix_errno_util.c:498:10: error: 'EDOOFUS' undeclared (first use in this function); did you mean 'EROFS'? - 498 | return EDOOFUS; - | ^~~~~~~ - | EROFS - unix_errno_util.c: In function 'unix_errno_enotcapable': - unix_errno_util.c:507:10: error: 'ENOTCAPABLE' undeclared (first use in this function) - 507 | return ENOTCAPABLE; - | ^~~~~~~~~~~ - unix_errno_util.c: In function 'unix_errno_ecapmode': - unix_errno_util.c:516:10: error: 'ECAPMODE' undeclared (first use in this function) - 516 | return ECAPMODE; - | ^~~~~~~~ - unix_errno_util.c: In function 'unix_errno_eproclim': - unix_errno_util.c:527:10: error: 'EPROCLIM' undeclared (first use in this function) - 527 | return EPROCLIM; - | ^~~~~~~~ - unix_errno_util.c: In function 'unix_errno_ebadrpc': - unix_errno_util.c:536:10: error: 'EBADRPC' undeclared (first use in this function); did you mean 'EBADF'? - 536 | return EBADRPC; - | ^~~~~~~ - | EBADF - unix_errno_util.c: In function 'unix_errno_erpcmismatch': [ERROR] The compilation of unix-errno.0.6.2 failed at "dune build -p unix-errno -j 31". - unix_errno_util.c:545:10: error: 'ERPCMISMATCH' undeclared (first use in this function) - 545 | return ERPCMISMATCH; - | ^~~~~~~~~~~~ - unix_errno_util.c: In function 'unix_errno_eprogunavail': - unix_errno_util.c:554:10: error: 'EPROGUNAVAIL' undeclared (first use in this function) - 554 | return EPROGUNAVAIL; - | ^~~~~~~~~~~~ - unix_errno_util.c: In function 'unix_errno_eprogmismatch': - unix_errno_util.c:563:10: error: 'EPROGMISMATCH' undeclared (first use in this function) - 563 | return EPROGMISMATCH; - | ^~~~~~~~~~~~~ - unix_errno_util.c: In function 'unix_errno_eprocunavail': - unix_errno_util.c:572:10: error: 'EPROCUNAVAIL' undeclared (first use in this function) - 572 | return EPROCUNAVAIL; - | ^~~~~~~~~~~~ - unix_errno_util.c: In function 'unix_errno_eftype': - unix_errno_util.c:581:10: error: 'EFTYPE' undeclared (first use in this function) - 581 | return EFTYPE; - | ^~~~~~ - unix_errno_util.c: In function 'unix_errno_eauth': - unix_errno_util.c:590:10: error: 'EAUTH' undeclared (first use in this function) - 590 | return EAUTH; - | ^~~~~ - unix_errno_util.c: In function 'unix_errno_eneedauth': - unix_errno_util.c:599:10: error: 'ENEEDAUTH' undeclared (first use in this function) - 599 | return ENEEDAUTH; - | ^~~~~~~~~ - unix_errno_util.c: In function 'unix_errno_enoattr': - unix_errno_util.c:608:10: error: 'ENOATTR' undeclared (first use in this function); did you mean 'ENOTTY'? - 608 | return ENOATTR; - | ^~~~~~~ - | ENOTTY - File "lib_gen/dune", lines 48-53, characters 0-207: - 48 | (rule - 49 | (targets unix_errno_types_detect.exe) - 50 | (deps unix_errno_types_detect.c) - 51 | (action (bash - 52 | "%{cc} %{deps} -I `dirname %{lib:ctypes:ctypes_cstubs_internals.h}` -I %{ocaml_where} -o %{targets}")) - 53 | ) - (cd _build/default/lib_gen && C:\cygwin64\bin\bash.exe -e -u -o pipefail -c "x86_64-w64-mingw32-gcc -O2 -fno-strict-aliasing -fwrapv -mms-bitfields unix_errno_types_detect.c -I `dirname C:\Users\opam\AppData\Local\opam\default\lib\ctypes\ctypes_cstubs_internals.h` -I C:/Users/opam/AppData/Local/opam/default/lib/ocaml -o unix_errno_types_detect.exe") - unix_errno_types_detect.c:4:10: fatal error: ctypes_cstubs_internals.h: No such file or directory - 4 | #include "ctypes_cstubs_internals.h" - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ - compilation terminated. #=== ERROR while compiling unix-errno.0.6.2 ===================================# # context 2.3.0~beta1 | win32/x86_64 | ocaml-base-compiler.4.14.2 | file://C:/Users/opam/opam-repository # path ~\AppData\Local\opam\default\.opam-switch\build\unix-errno.0.6.2 # command ~\AppData\Local\opam\default\bin\dune.exe build -p unix-errno -j 31 # exit-code 1 # env-file ~\AppData\Local\opam\log\unix-errno-3688-829768.env # output-file ~\AppData\Local\opam\log\unix-errno-3688-829768.out ### output ### # [...] # File "lib_gen/dune", lines 48-53, characters 0-207: # 48 | (rule # 49 | (targets unix_errno_types_detect.exe) # 50 | (deps unix_errno_types_detect.c) # 51 | (action (bash # 52 | "%{cc} %{deps} -I `dirname %{lib:ctypes:ctypes_cstubs_internals.h}` -I %{ocaml_where} -o %{targets}")) # 53 | ) # (cd _build/default/lib_gen && C:\cygwin64\bin\bash.exe -e -u -o pipefail -c "x86_64-w64-mingw32-gcc -O2 -fno-strict-aliasing -fwrapv -mms-bitfields unix_errno_types_detect.c -I `dirname C:\Users\opam\AppData\Local\opam\default\lib\ctypes\ctypes_cstubs_internals.h` -I C:/Users/opam/AppData/Local/opam/default/lib/ocaml -o unix_errno_types_detect.exe") # unix_errno_types_detect.c:4:10: fatal error: ctypes_cstubs_internals.h: No such file or directory # 4 | #include "ctypes_cstubs_internals.h" # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ # compilation terminated. <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +- The following actions failed | - build unix-errno 0.6.2 +- +- The following changes have been performed | - install bigarray-compat 1.1.0 | - install csexp 1.5.2 | - install ctypes 0.23.0 | - install dune 3.16.1 | - install dune-configurator 3.16.1 | - install integers 0.7.0 | - install result 1.5 | - install stdlib-shims 0.3.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\\default\\.opam-switch\\backup\\state-20241112005408.export" 'C:\cygwin64\bin\opam.exe install -vy unix-errno.0.6.2' failed. " opam remove -y "unix-errno.0.6.2" opam install -vy "unix-errno.0.6.2" res=$? if [ $res = 31 ]; then if opam show -f x-ci-accept-failures: "unix-errno.0.6.2" | grep -q '"windows-server-2022-amd64-ocaml-4.14.2"'; 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