OCamllabs icon Home|Differences with the last checks|Previous runs


Building on thyme

(from windows-server-2022-amd64-ocaml-5.3)
2025-08-06 04:29.03 ---> 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 04:29.03 ---> 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 04:29.03 ---> 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 04:29.03 ---> 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 '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)
2025-08-06 04:29.03 ---> using "d157f6f8002a329ef48a89bb442c5ed143a169d755dfd613ac4c64c647c9715b" from cache

/: (run (network host)
        (shell "opam update --depexts"))
2025-08-06 04:29.03 ---> using "acfedecdb5fabae624475ebec56456af793f7b8634b526413b3f9b625f64a1ec" from cache

/: (run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\Local\\opam\\download-cache")))
        (network host)
        (shell  "opam remove -y cudajit.0.7.1\
               \nopam install -vy cudajit.0.7.1\
               \nres=$?\
               \nif [ $res = 31 ]; then\
               \n    if opam show -f x-ci-accept-failures: cudajit.0.7.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] cudajit.0.7.1 is not installed.

The following actions will be performed:
=== recompile 1 package
  - recompile mingw-w64-shims              0.2.0   [uses conf-mingw-w64-gcc-i686]
=== install 17 packages
  - install   bigarray-compat              1.1.0   [required by ctypes]
  - install   conf-cuda                    1       [required by cudajit]
  - install   conf-cuda-config             1       [required by conf-cuda]
  - install   conf-libffi                  2.0.0   [required by ctypes-foreign]
  - install   conf-mingw-w64-gcc-i686      1       [required by conf-mingw-w64-libffi-i686]
  - install   conf-mingw-w64-libffi-i686   1       [required by conf-libffi]
  - install   conf-mingw-w64-libffi-x86_64 1       [required by conf-libffi]
  - install   conf-pkg-config              4       [required by ctypes-foreign]
  - install   csexp                        1.5.2   [required by dune-configurator]
  - install   ctypes                       0.23.0  [required by cudajit]
  - install   ctypes-foreign               0.23.0  [required by cudajit]
  - install   cudajit                      0.7.1
  - install   dune                         3.19.1  [required by cudajit]
  - install   dune-configurator            3.19.1  [required by ctypes, ctypes-foreign]
  - install   integers                     0.7.0   [required by ctypes]
  - install   sexplib0                     v0.17.0 [required by cudajit]
  - install   stdlib-shims                 0.3.0   [required by integers]

The following system packages will first need to be installed:
    mingw64-i686-gcc-core mingw64-i686-libffi mingw64-x86_64-libffi

<><> 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" "mingw64-i686-gcc-core,mingw64-i686-libffi,mingw64-x86_64-libffi"
- 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: 3 tasks, update: no, use test packages: no
- solving: 8 tasks, update: no, use test packages: no
- Augmented Transaction List:
-    0 install mingw64-i686-binutils                 2.45-1   
-    1 install mingw64-i686-libffi                   3.2.1-1  
-    2 install mingw64-i686-windows-default-manifest 6.4-1    
-    3 install mingw64-i686-winpthreads              13.0.0-1 
-    4 install mingw64-x86_64-libffi                 3.2.1-2  
-    5 install mingw64-i686-headers                  13.0.0-1 
-    6 install mingw64-i686-runtime                  13.0.0-1 
-    7 install mingw64-i686-gcc-core                 13.4.0-1 
- Downloaded C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/x86_64/release/mingw64-i686-binutils/mingw64-i686-binutils-2.45-1-x86_64.tar.zst
- Downloaded C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/mingw64-i686-libffi/mingw64-i686-libffi-3.2.1-1.tar.xz
- Downloaded C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/mingw64-i686-windows-default-manifest/mingw64-i686-windows-default-manifest-6.4-1.tar.xz
- Downloaded C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/mingw64-i686-winpthreads/mingw64-i686-winpthreads-13.0.0-1-noarch.tar.xz
- Downloaded C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/mingw64-x86_64-libffi/mingw64-x86_64-libffi-3.2.1-2.tar.xz
- Downloaded C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/mingw64-i686-headers/mingw64-i686-headers-13.0.0-1-noarch.tar.xz
- Downloaded C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/mingw64-i686-runtime/mingw64-i686-runtime-13.0.0-1-noarch.tar.xz
- Downloaded C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/x86_64/release/mingw64-i686-gcc/mingw64-i686-gcc-core/mingw64-i686-gcc-core-13.4.0-1-x86_64.tar.zst
- Extracting from file://C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/x86_64/release/mingw64-i686-binutils/mingw64-i686-binutils-2.45-1-x86_64.tar.zst
- Extracting from file://C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/mingw64-i686-libffi/mingw64-i686-libffi-3.2.1-1.tar.xz
- Extracting from file://C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/mingw64-i686-windows-default-manifest/mingw64-i686-windows-default-manifest-6.4-1.tar.xz
- Extracting from file://C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/mingw64-i686-winpthreads/mingw64-i686-winpthreads-13.0.0-1-noarch.tar.xz
- Extracting from file://C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/mingw64-x86_64-libffi/mingw64-x86_64-libffi-3.2.1-2.tar.xz
- Extracting from file://C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/mingw64-i686-headers/mingw64-i686-headers-13.0.0-1-noarch.tar.xz
- Extracting from file://C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/mingw64-i686-runtime/mingw64-i686-runtime-13.0.0-1-noarch.tar.xz
- Extracting from file://C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/x86_64/release/mingw64-i686-gcc/mingw64-i686-gcc-core/mingw64-i686-gcc-core-13.4.0-1-x86_64.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  1/53: [bigarray-compat.1.1.0: extract]
Processing  2/53: [bigarray-compat.1.1.0: extract]
Processing  3/53: [bigarray-compat.1.1.0: extract]
Processing  4/53: [bigarray-compat.1.1.0: extract]
Processing  5/53: [bigarray-compat.1.1.0: extract]
Processing  6/53: [bigarray-compat.1.1.0: extract]
Processing  7/53: [bigarray-compat.1.1.0: extract]
Processing  8/53: [bigarray-compat.1.1.0: extract]
Processing  9/53: [bigarray-compat.1.1.0: extract] [csexp.1.5.2: extract]
Processing 10/53: [bigarray-compat.1.1.0: extract] [csexp.1.5.2: extract] [ctypes.0.23.0, ctypes-foreign.0.23.0: extract]
Processing 11/53: [bigarray-compat.1.1.0: extract] [csexp.1.5.2: extract] [ctypes.0.23.0, ctypes-foreign.0.23.0: extract] [conf-cuda-config: sh]
Processing 12/53: [bigarray-compat.1.1.0: extract] [csexp.1.5.2: extract] [ctypes.0.23.0, ctypes-foreign.0.23.0: extract] [conf-cuda-config: sh] [conf-mingw-w64-gcc-i686: i686-w64-mingw32-gcc]
Processing 13/53: [bigarray-compat.1.1.0: extract] [csexp.1.5.2: extract] [ctypes.0.23.0, ctypes-foreign.0.23.0: extract] [conf-cuda-config: sh] [conf-mingw-w64-gcc-i686: i686-w64-mingw32-gcc] [conf-pkg-config: pkgconf]
-> retrieved bigarray-compat.1.1.0  (cached)
Processing 13/53: [csexp.1.5.2: extract] [ctypes.0.23.0, ctypes-foreign.0.23.0: extract] [conf-cuda-config: sh] [conf-mingw-w64-gcc-i686: i686-w64-mingw32-gcc] [conf-pkg-config: pkgconf]
Processing 14/53: [csexp.1.5.2: extract] [ctypes.0.23.0, ctypes-foreign.0.23.0: extract] [cudajit.0.7.1: http] [conf-cuda-config: sh] [conf-mingw-w64-gcc-i686: i686-w64-mingw32-gcc] [conf-pkg-config: pkgconf]
-> retrieved csexp.1.5.2  (cached)
Processing 14/53: [ctypes.0.23.0, ctypes-foreign.0.23.0: extract] [cudajit.0.7.1: http] [conf-cuda-config: sh] [conf-mingw-w64-gcc-i686: i686-w64-mingw32-gcc] [conf-pkg-config: pkgconf]
Processing 15/53: [ctypes.0.23.0, ctypes-foreign.0.23.0: extract] [cudajit.0.7.1: http] [dune.3.19.1, dune-configurator.3.19.1: http] [conf-cuda-config: sh] [conf-mingw-w64-gcc-i686: i686-w64-mingw32-gcc] [conf-pkg-config: pkgconf]
+ C:\cygwin64\bin\sh.exe "-exc" "\n    if [ -d \"$CUDA_PATH\" ]; then\n      CUDA_PREINSTALLED=\"true\"\n    elif [ -d \"/cygdrive/c/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.8\" ]; then\n      CUDA_PATH=\"C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v12.8\"\n      CUDA_PREINSTALLED=\"true\"\n    elif [ -d \"/cygdrive/c/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.9\" ]; then\n      CUDA_PATH=\"C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v12.9\"\n      CUDA_PREINSTALLED=\"true\"\n    elif [ -d \"/cygdrive/c/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v13.0\" ]; then\n      CUDA_PATH=\"C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v13.0\"\n      CUDA_PREINSTALLED=\"true\"\n    elif [ -d \"/cygdrive/c/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v13.1\" ]; then\n      CUDA_PATH=\"C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v13.1\"\n      CUDA_PREINSTALLED=\"true\"\n    elif [ -d \"/cygdrive/c/Program Files/NVIDIA GPU Computing Toolkit/CUDA\" ]; then\n      CUDA_PREINSTALLED=\"true\"\n    else\n      CUDA_PREINSTALLED=\"false\"\n    fi\n    echo 'opam-version: \"2.0\" variables { cuda_preinstalled: \"'$CUDA_PREINSTALLED'\" cuda_path: \"'$CUDA_PATH'\" }' > conf-cuda-config.config\n    " (CWD=C:\Users\opam\AppData\Local\opam\5.3\.opam-switch\build\conf-cuda-config.1)
- + '[' -d '' ']'
- + '[' -d '/cygdrive/c/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.8' ']'
- + '[' -d '/cygdrive/c/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.9' ']'
- + '[' -d '/cygdrive/c/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v13.0' ']'
- + '[' -d '/cygdrive/c/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v13.1' ']'
- + '[' -d '/cygdrive/c/Program Files/NVIDIA GPU Computing Toolkit/CUDA' ']'
- + CUDA_PREINSTALLED=false
- + echo 'opam-version: "2.0" variables { cuda_preinstalled: "false" cuda_path: "" }'
Processing 15/53: [ctypes.0.23.0, ctypes-foreign.0.23.0: extract] [cudajit.0.7.1: http] [dune.3.19.1, dune-configurator.3.19.1: http] [conf-cuda-config: sh cat conf-cuda-config.config] [conf-mingw-w64-gcc-i686: i686-w64-mingw32-gcc] [conf-pkg-config: pkgconf]
+ C:\cygwin64\bin\i686-w64-mingw32-gcc.exe "--version" (CWD=C:\Users\opam\AppData\Local\opam\5.3\.opam-switch\build\conf-mingw-w64-gcc-i686.1)
- i686-w64-mingw32-gcc (GCC) 13.4.0
- Copyright (C) 2023 Free Software Foundation, Inc.
- This is free software; see the source for copying conditions.  There is NO
- warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- 
-> compiled  conf-mingw-w64-gcc-i686.1
Processing 15/53: [ctypes.0.23.0, ctypes-foreign.0.23.0: extract] [cudajit.0.7.1: http] [dune.3.19.1, dune-configurator.3.19.1: http] [conf-cuda-config: sh cat conf-cuda-config.config] [conf-pkg-config: pkgconf]
-> installed conf-mingw-w64-gcc-i686.1
Processing 16/53: [ctypes.0.23.0, ctypes-foreign.0.23.0: extract] [cudajit.0.7.1: http] [dune.3.19.1, dune-configurator.3.19.1: http] [conf-cuda-config: sh cat conf-cuda-config.config] [conf-pkg-config: pkgconf]
-> retrieved ctypes.0.23.0, ctypes-foreign.0.23.0  (cached)
Processing 16/53: [cudajit.0.7.1: http] [dune.3.19.1, dune-configurator.3.19.1: http] [conf-cuda-config: sh cat conf-cuda-config.config] [conf-pkg-config: pkgconf]
Processing 17/53: [cudajit.0.7.1: http] [dune.3.19.1, dune-configurator.3.19.1: http] [integers.0.7.0: extract] [conf-cuda-config: sh cat conf-cuda-config.config] [conf-pkg-config: pkgconf]
Processing 17/53: [cudajit.0.7.1: extract] [dune.3.19.1, dune-configurator.3.19.1: http] [integers.0.7.0: extract] [conf-cuda-config: sh cat conf-cuda-config.config] [conf-pkg-config: pkgconf]
Processing 17/53: [cudajit.0.7.1: extract] [dune.3.19.1, dune-configurator.3.19.1: extract] [integers.0.7.0: extract] [conf-cuda-config: sh cat conf-cuda-config.config] [conf-pkg-config: pkgconf]
-> retrieved cudajit.0.7.1  (https://github.com/lukstafi/ocaml-cudajit/archive/refs/tags/0.7.1.1.tar.gz)
Processing 17/53: [dune.3.19.1, dune-configurator.3.19.1: extract] [integers.0.7.0: extract] [conf-cuda-config: sh cat conf-cuda-config.config] [conf-pkg-config: pkgconf]
Processing 18/53: [dune.3.19.1, dune-configurator.3.19.1: extract] [integers.0.7.0: extract] [mingw-w64-shims.0.2.0: extract] [conf-cuda-config: sh cat conf-cuda-config.config] [conf-pkg-config: pkgconf]
-> retrieved integers.0.7.0  (cached)
Processing 18/53: [dune.3.19.1, dune-configurator.3.19.1: extract] [mingw-w64-shims.0.2.0: extract] [conf-cuda-config: sh cat conf-cuda-config.config] [conf-pkg-config: pkgconf]
Processing 19/53: [dune.3.19.1, dune-configurator.3.19.1: extract] [mingw-w64-shims.0.2.0: extract] [sexplib0.v0.17.0: extract] [conf-cuda-config: sh cat conf-cuda-config.config] [conf-pkg-config: pkgconf]
-> retrieved mingw-w64-shims.0.2.0  (cached)
Processing 19/53: [dune.3.19.1, dune-configurator.3.19.1: extract] [sexplib0.v0.17.0: extract] [conf-cuda-config: sh cat conf-cuda-config.config] [conf-pkg-config: pkgconf]
Processing 20/53: [dune.3.19.1, dune-configurator.3.19.1: extract] [sexplib0.v0.17.0: extract] [stdlib-shims.0.3.0: extract] [conf-cuda-config: sh cat conf-cuda-config.config] [conf-pkg-config: pkgconf]
-> retrieved sexplib0.v0.17.0  (cached)
Processing 20/53: [dune.3.19.1, dune-configurator.3.19.1: extract] [stdlib-shims.0.3.0: extract] [conf-cuda-config: sh cat conf-cuda-config.config] [conf-pkg-config: pkgconf]
-> retrieved stdlib-shims.0.3.0  (cached)
Processing 20/53: [dune.3.19.1, dune-configurator.3.19.1: extract] [conf-cuda-config: sh cat conf-cuda-config.config] [conf-pkg-config: pkgconf]
+ C:\cygwin64\bin\sh.exe "-exc" "cat conf-cuda-config.config" (CWD=C:\Users\opam\AppData\Local\opam\5.3\.opam-switch\build\conf-cuda-config.1)
- + cat conf-cuda-config.config
- opam-version: "2.0" variables { cuda_preinstalled: "false" cuda_path: "" }
Processing 20/53: [dune.3.19.1, dune-configurator.3.19.1: extract] [conf-cuda-config: powershell (Get-Content -Raw conf-cuda-config.config) -replace '\\', '\\' | Set-Content conf-cuda-config.config] [conf-pkg-config: pkgconf]
+ C:\cygwin64\bin\pkgconf.exe "--version" (CWD=C:\Users\opam\AppData\Local\opam\5.3\.opam-switch\build\conf-pkg-config.4)
- 2.5.1
-> compiled  conf-pkg-config.4
Processing 20/53: [dune.3.19.1, dune-configurator.3.19.1: extract] [conf-cuda-config: powershell (Get-Content -Raw conf-cuda-config.config) -replace '\\', '\\' | Set-Content conf-cuda-config.config]
-> removed   mingw-w64-shims.0.2.0
Processing 21/53: [dune.3.19.1, dune-configurator.3.19.1: extract] [conf-cuda-config: powershell (Get-Content -Raw conf-cuda-config.config) -replace '\\', '\\' | Set-Content conf-cuda-config.config]
-> installed conf-pkg-config.4
Processing 22/53: [dune.3.19.1, dune-configurator.3.19.1: extract] [conf-cuda-config: powershell (Get-Content -Raw conf-cuda-config.config) -replace '\\', '\\' | Set-Content conf-cuda-config.config]
Processing 23/53: [dune.3.19.1, dune-configurator.3.19.1: extract] [conf-cuda-config: powershell (Get-Content -Raw conf-cuda-config.config) -replace '\\', '\\' | Set-Content conf-cuda-config.config] [conf-mingw-w64-libffi-i686: pkgconf libffi]
Processing 24/53: [dune.3.19.1, dune-configurator.3.19.1: extract] [conf-cuda-config: powershell (Get-Content -Raw conf-cuda-config.config) -replace '\\', '\\' | Set-Content conf-cuda-config.config] [conf-mingw-w64-libffi-i686: pkgconf libffi] [conf-mingw-w64-libffi-x86_64: pkgconf libffi]
Processing 25/53: [dune.3.19.1, dune-configurator.3.19.1: extract] [conf-cuda-config: powershell (Get-Content -Raw conf-cuda-config.config) -replace '\\', '\\' | Set-Content conf-cuda-config.config] [conf-mingw-w64-libffi-i686: pkgconf libffi] [conf-mingw-w64-libffi-x86_64: pkgconf libffi] [mingw-w64-shims: sh mingw-w64-shims]
+ C:\cygwin64\bin\pkgconf.exe "--personality=i686-w64-mingw32" "libffi" (CWD=C:\Users\opam\AppData\Local\opam\5.3\.opam-switch\build\conf-mingw-w64-libffi-i686.1)
-> compiled  conf-mingw-w64-libffi-i686.1
Processing 25/53: [dune.3.19.1, dune-configurator.3.19.1: extract] [conf-cuda-config: powershell (Get-Content -Raw conf-cuda-config.config) -replace '\\', '\\' | Set-Content conf-cuda-config.config] [conf-mingw-w64-libffi-x86_64: pkgconf libffi] [mingw-w64-shims: sh mingw-w64-shims]
-> installed conf-mingw-w64-libffi-i686.1
Processing 26/53: [dune.3.19.1, dune-configurator.3.19.1: extract] [conf-cuda-config: powershell (Get-Content -Raw conf-cuda-config.config) -replace '\\', '\\' | Set-Content conf-cuda-config.config] [conf-mingw-w64-libffi-x86_64: pkgconf libffi] [mingw-w64-shims: sh mingw-w64-shims]
+ C:\cygwin64\bin\pkgconf.exe "--personality=x86_64-w64-mingw32" "libffi" (CWD=C:\Users\opam\AppData\Local\opam\5.3\.opam-switch\build\conf-mingw-w64-libffi-x86_64.1)
-> compiled  conf-mingw-w64-libffi-x86_64.1
Processing 26/53: [dune.3.19.1, dune-configurator.3.19.1: extract] [conf-cuda-config: powershell (Get-Content -Raw conf-cuda-config.config) -replace '\\', '\\' | Set-Content conf-cuda-config.config] [mingw-w64-shims: sh mingw-w64-shims]
-> installed conf-mingw-w64-libffi-x86_64.1
Processing 27/53: [dune.3.19.1, dune-configurator.3.19.1: extract] [conf-cuda-config: powershell (Get-Content -Raw conf-cuda-config.config) -replace '\\', '\\' | Set-Content conf-cuda-config.config] [mingw-w64-shims: sh mingw-w64-shims]
Processing 28/53: [dune.3.19.1, dune-configurator.3.19.1: extract] [conf-cuda-config: powershell (Get-Content -Raw conf-cuda-config.config) -replace '\\', '\\' | Set-Content conf-cuda-config.config] [conf-libffi: pkgconf libffi] [mingw-w64-shims: sh mingw-w64-shims]
+ C:\cygwin64\bin\pkgconf.exe "--personality=x86_64-w64-mingw32" "libffi" (CWD=C:\Users\opam\AppData\Local\opam\5.3\.opam-switch\build\conf-libffi.2.0.0)
-> compiled  conf-libffi.2.0.0
Processing 28/53: [dune.3.19.1, dune-configurator.3.19.1: extract] [conf-cuda-config: powershell (Get-Content -Raw conf-cuda-config.config) -replace '\\', '\\' | Set-Content conf-cuda-config.config] [mingw-w64-shims: sh mingw-w64-shims]
-> installed conf-libffi.2.0.0
Processing 29/53: [dune.3.19.1, dune-configurator.3.19.1: extract] [conf-cuda-config: powershell (Get-Content -Raw conf-cuda-config.config) -replace '\\', '\\' | Set-Content conf-cuda-config.config] [mingw-w64-shims: sh mingw-w64-shims]
+ C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe "-Command" "(Get-Content -Raw conf-cuda-config.config) -replace '\\\\', '\\\\' | Set-Content conf-cuda-config.config" (CWD=C:\Users\opam\AppData\Local\opam\5.3\.opam-switch\build\conf-cuda-config.1)
Processing 29/53: [dune.3.19.1, dune-configurator.3.19.1: extract] [conf-cuda-config: sh cat conf-cuda-config.config] [mingw-w64-shims: sh mingw-w64-shims]
+ C:\cygwin64\bin\sh.exe "-exc" "cat conf-cuda-config.config" (CWD=C:\Users\opam\AppData\Local\opam\5.3\.opam-switch\build\conf-cuda-config.1)
- + cat conf-cuda-config.config
- opam-version: "2.0" variables { cuda_preinstalled: "false" cuda_path: "" }
- 
-> compiled  conf-cuda-config.1
Processing 29/53: [dune.3.19.1, dune-configurator.3.19.1: extract] [mingw-w64-shims: sh mingw-w64-shims]
-> installed conf-cuda-config.1
Processing 30/53: [dune.3.19.1, dune-configurator.3.19.1: extract] [mingw-w64-shims: sh mingw-w64-shims]
Processing 31/53: [dune.3.19.1, dune-configurator.3.19.1: extract] [conf-cuda: sh cat <<EOF > test.c
   #include  "cuda.h"
   #include  "nvrtc.h"
   ] [mingw-w64-shims: sh mingw-w64-shims]
+ C:\cygwin64\bin\sh.exe "-exc" "cat <<EOF > test.c\n   #include  \"cuda.h\"\n   #include  \"nvrtc.h\"\n   " (CWD=C:\Users\opam\AppData\Local\opam\5.3\.opam-switch\build\conf-cuda.1)
- /usr/bin/sh: line 4: warning: here-document at line 1 delimited by end-of-file (wanted `EOF')
- + cat
Processing 31/53: [dune.3.19.1, dune-configurator.3.19.1: extract] [conf-cuda: sh] [mingw-w64-shims: sh mingw-w64-shims]
+ C:\cygwin64\bin\sh.exe "./gen_config.sh" "mingw-w64-shims" "i686-binutils" "i686-gcc-core" "i686-gcc-g++-false" "x86_64-binutils" "x86_64-gcc-core" "x86_64-gcc-g++-false" "pkgconf" (CWD=C:\Users\opam\AppData\Local\opam\5.3\.opam-switch\build\mingw-w64-shims.0.2.0)
-> compiled  mingw-w64-shims.0.2.0
Processing 31/53: [dune.3.19.1, dune-configurator.3.19.1: extract] [conf-cuda: sh]
-> installed mingw-w64-shims.0.2.0
Processing 32/53: [dune.3.19.1, dune-configurator.3.19.1: extract] [conf-cuda: sh]
-> 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 32/53: [conf-cuda: sh]
Processing 33/53: [conf-cuda: sh] [dune: ocaml 7]
+ C:\cygwin64\bin\sh.exe "-exc" "$(ocamlc -config-var c_compiler) -c $CFLAGS -I'/include' test.c" (CWD=C:\Users\opam\AppData\Local\opam\5.3\.opam-switch\build\conf-cuda.1)
- ++ ocamlc -config-var c_compiler
- + x86_64-w64-mingw32-gcc -c -I/include test.c
- test.c:1:14: fatal error: cuda.h: No such file or directory
-     1 |    #include  "cuda.h"
-       |              ^~~~~~~~
- compilation terminated.
Processing 33/53: [dune: ocaml 7]
Processing 34/53: [dune: ocaml 7]
[ERROR] The compilation of conf-cuda.1 failed at "sh -exc $(ocamlc -config-var c_compiler) -c $CFLAGS -I'/include' test.c".
+ C:\Users\opam\AppData\Local\opam\5.3\bin\ocaml.exe "boot/bootstrap.ml" "-j" "7" (CWD=C:\Users\opam\AppData\Local\opam\5.3\.opam-switch\build\dune.3.19.1)
- ocamlc -output-complete-exe -w -24 -g -o .duneboot.exe -I boot -I +unix unix.cma boot/libs.ml boot/duneboot.ml
- .\.duneboot.exe -j 7
- cd _boot && C:\Users\opam\AppData\Local\opam\5.3\bin\ocamlopt.opt.exe -c -g -no-alias-deps -w -49-6 -alert -unstable -I +unix -I +threads ocamlc_loc.mli
- File "otherlibs/ocamlc-loc/src\\ocamlc_loc.mli", line 1, characters 4-9:

- Warning 53 [misplaced-attribute]: the "alert" attribute cannot appear in this context

- cd _boot && C:\Users\opam\AppData\Local\opam\5.3\bin\ocamlopt.opt.exe -c -g -no-alias-deps -w -49-6 -alert -unstable -I +unix -I +threads dune_action_plugin.mli
- File "otherlibs/dune-action-plugin/src\\dune_action_plugin.mli", line 1, characters 4-9:

- Warning 53 [misplaced-attribute]: the "alert" attribute cannot appear in this context

- 


Processing 34/53: [dune: ./_boot/dune.exe build]
+ C:\Users\opam\AppData\Local\opam\5.3\.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\5.3\.opam-switch\build\dune.3.19.1)
-> compiled  dune.3.19.1
-> installed dune.3.19.1
Processing 36/53: [bigarray-compat: dune build]
Processing 37/53: [bigarray-compat: dune build] [csexp: dune build]
Processing 38/53: [bigarray-compat: dune build] [csexp: dune build] [sexplib0: dune build]
Processing 39/53: [bigarray-compat: dune build] [csexp: dune build] [sexplib0: dune build] [stdlib-shims: dune build]
+ C:\Users\opam\AppData\Local\opam\5.3\bin\dune.exe "build" "-p" "csexp" "-j" "7" "@install" (CWD=C:\Users\opam\AppData\Local\opam\5.3\.opam-switch\build\csexp.1.5.2)
- (cd _build/default && C:\Users\opam\AppData\Local\opam\5.3\bin\ocamlopt.opt.exe -w -40 -g -I src/.csexp.objs/byte -I src/.csexp.objs/native -intf-suffix .ml -no-alias-deps -o src/.csexp.objs/native/csexp.cmx -c -impl src/csexp.ml)
- File "src/csexp.ml", line 236, characters 7-14:
- 236 |     [@@inlined always]
-              ^^^^^^^
- Warning 53 [misplaced-attribute]: the "inlined" attribute cannot appear in this context
- (cd _build/default && C:\Users\opam\AppData\Local\opam\5.3\bin\ocamlc.opt.exe -w -40 -g -bin-annot -bin-annot-occurrences -I src/.csexp.objs/byte -intf-suffix .ml -no-alias-deps -o src/.csexp.objs/byte/csexp.cmo -c -impl src/csexp.ml)
- File "src/csexp.ml", line 236, characters 7-14:
- 236 |     [@@inlined always]
-              ^^^^^^^
- Warning 53 [misplaced-attribute]: the "inlined" attribute cannot appear in this context
-> compiled  csexp.1.5.2
Processing 39/53: [bigarray-compat: dune build] [sexplib0: dune build] [stdlib-shims: dune build]
-> installed csexp.1.5.2
Processing 40/53: [bigarray-compat: dune build] [sexplib0: dune build] [stdlib-shims: dune build]
Processing 41/53: [bigarray-compat: dune build] [dune-configurator: rm] [sexplib0: dune build] [stdlib-shims: dune build]
+ C:\Users\opam\AppData\Local\opam\5.3\bin\dune.exe "build" "-p" "bigarray-compat" "-j" "7" (CWD=C:\Users\opam\AppData\Local\opam\5.3\.opam-switch\build\bigarray-compat.1.1.0)
-> compiled  bigarray-compat.1.1.0
Processing 41/53: [dune-configurator: rm] [sexplib0: dune build] [stdlib-shims: dune build]
-> installed bigarray-compat.1.1.0
Processing 42/53: [dune-configurator: rm] [sexplib0: dune build] [stdlib-shims: dune build]
+ C:\cygwin64\bin\rm.exe "-rf" "vendor/csexp" (CWD=C:\Users\opam\AppData\Local\opam\5.3\.opam-switch\build\dune-configurator.3.19.1)
+ C:\Users\opam\AppData\Local\opam\5.3\bin\dune.exe "build" "-p" "sexplib0" "-j" "7" (CWD=C:\Users\opam\AppData\Local\opam\5.3\.opam-switch\build\sexplib0.v0.17.0)
-> compiled  sexplib0.v0.17.0
Processing 42/53: [dune-configurator: rm] [stdlib-shims: dune build]
-> installed sexplib0.v0.17.0
Processing 43/53: [dune-configurator: rm] [stdlib-shims: dune build]
+ C:\cygwin64\bin\rm.exe "-rf" "vendor/pp" (CWD=C:\Users\opam\AppData\Local\opam\5.3\.opam-switch\build\dune-configurator.3.19.1)
Processing 43/53: [dune-configurator: dune build] [stdlib-shims: dune build]
+ C:\Users\opam\AppData\Local\opam\5.3\bin\dune.exe "build" "-p" "stdlib-shims" "-j" "7" (CWD=C:\Users\opam\AppData\Local\opam\5.3\.opam-switch\build\stdlib-shims.0.3.0)
-> compiled  stdlib-shims.0.3.0
Processing 43/53: [dune-configurator: dune build]
-> installed stdlib-shims.0.3.0
Processing 44/53: [dune-configurator: dune build]
Processing 45/53: [dune-configurator: dune build] [integers: dune build]
+ C:\Users\opam\AppData\Local\opam\5.3\bin\dune.exe "build" "-p" "integers" "-j" "7" (CWD=C:\Users\opam\AppData\Local\opam\5.3\.opam-switch\build\integers.0.7.0)
-> compiled  integers.0.7.0
Processing 45/53: [dune-configurator: dune build]
-> installed integers.0.7.0
Processing 46/53: [dune-configurator: dune build]
+ C:\Users\opam\AppData\Local\opam\5.3\bin\dune.exe "build" "-p" "dune-configurator" "-j" "7" "@install" (CWD=C:\Users\opam\AppData\Local\opam\5.3\.opam-switch\build\dune-configurator.3.19.1)
-> compiled  dune-configurator.3.19.1
-> installed dune-configurator.3.19.1
Processing 48/53: [ctypes: dune build]
+ C:\Users\opam\AppData\Local\opam\5.3\bin\dune.exe "build" "-p" "ctypes" "-j" "7" "--promote-install-files=false" "@install" (CWD=C:\Users\opam\AppData\Local\opam\5.3\.opam-switch\build\ctypes.0.23.0)
- (cd _build/default/src/ctypes && C:\Users\opam\AppData\Local\opam\5.3\bin\x86_64-w64-mingw32-gcc.exe -O2 -fno-strict-aliasing -fwrapv -mms-bitfields -Wall -fdiagnostics-color=always -g -I C:/Users/opam/AppData/Local/opam/5.3/lib/ocaml -I C:\Users\opam\AppData\Local\opam\5.3\lib\bigarray-compat -I C:\Users\opam\AppData\Local\opam\5.3\lib\integers -I C:\Users\opam\AppData\Local\opam\5.3\lib\stdlib-shims -o type_info_stubs.o -c type_info_stubs.c)
- type_info_stubs.c: In function 'ctypes_string_of_prim':
- type_info_stubs.c:147:57: warning: unknown conversion type character 'z' in format [-Wformat=]
-   147 |   case Ctypes_Size_t: len = snprintf(buf, sizeof buf, "%zu", (size_t)ctypes_size_t_val(v)); break;
-       |                                                         ^
- type_info_stubs.c:147:55: warning: too many arguments for format [-Wformat-extra-args]
-   147 |   case Ctypes_Size_t: len = snprintf(buf, sizeof buf, "%zu", (size_t)ctypes_size_t_val(v)); break;
-       |                                                       ^~~~~
- type_info_stubs.c:162:62: warning: format '%Lg' expects argument of type 'double', but argument 4 has type 'long double' [-Wformat=]
-   162 |   case Ctypes_LDouble: len = snprintf(buf, sizeof buf, "%.12Lg", ctypes_ldouble_val(v)); break;
-       |                                                         ~~~~~^   ~~~~~~~~~~~~~~~~~~~~~
-       |                                                              |   |
-       |                                                              |   long double
-       |                                                              double
- type_info_stubs.c:175:43: warning: format '%Lg' expects argument of type 'double', but argument 4 has type 'long double' [-Wformat=]
-   175 |     len = snprintf(buf, sizeof buf, "%.12Lg+%.12Lgi", ctypes_compat_creall(c), ctypes_compat_cimagl(c));
-       |                                      ~~~~~^           ~~~~~~~~~~~~~~~~~~~~~~~
-       |                                           |           |
-       |                                           double      long double
- type_info_stubs.c:175:50: warning: format '%Lg' expects argument of type 'double', but argument 5 has type 'long double' [-Wformat=]
-   175 |     len = snprintf(buf, sizeof buf, "%.12Lg+%.12Lgi", ctypes_compat_creall(c), ctypes_compat_cimagl(c));
-       |                                             ~~~~~^                             ~~~~~~~~~~~~~~~~~~~~~~~
-       |                                                  |                             |
-       |                                                  double                        long double
- (cd _build/default/src/ctypes && C:\Users\opam\AppData\Local\opam\5.3\bin\x86_64-w64-mingw32-gcc.exe -O2 -fno-strict-aliasing -fwrapv -mms-bitfields -Wall -fdiagnostics-color=always -g -I C:/Users/opam/AppData/Local/opam/5.3/lib/ocaml -I C:\Users\opam\AppData\Local\opam\5.3\lib\bigarray-compat -I C:\Users\opam\AppData\Local\opam\5.3\lib\integers -I C:\Users\opam\AppData\Local\opam\5.3\lib\stdlib-shims -o ldouble_stubs.o -c ldouble_stubs.c)
- ldouble_stubs.c: In function 'format_ldouble':
- ldouble_stubs.c:369:39: warning: format '%Lf' expects argument of type 'double', but argument 6 has type 'long double' [-Wformat=]
-   369 |   print_len = snprintf(NULL, 0, "%*.*Lf", width, prec, d);
-       |                                  ~~~~~^                ~
-       |                                       |                |
-       |                                       double           long double
- ldouble_stubs.c:379:36: warning: format '%Lf' expects argument of type 'double', but argument 6 has type 'long double' [-Wformat=]
-   379 |   snprintf(buf, print_len+1, "%*.*Lf", width, prec, d);
-       |                               ~~~~~^                ~
-       |                                    |                |
-       |                                    double           long double
Processing 48/53: [ctypes: dune install]
+ C:\Users\opam\AppData\Local\opam\5.3\bin\dune.exe "install" "-p" "ctypes" "--create-install-files" "ctypes" (CWD=C:\Users\opam\AppData\Local\opam\5.3\.opam-switch\build\ctypes.0.23.0)
-> compiled  ctypes.0.23.0
-> installed ctypes.0.23.0
Processing 50/53: [ctypes-foreign: dune build]
+ C:\Users\opam\AppData\Local\opam\5.3\bin\dune.exe "build" "-p" "ctypes-foreign" "-j" "7" "--promote-install-files=false" "@install" (CWD=C:\Users\opam\AppData\Local\opam\5.3\.opam-switch\build\ctypes-foreign.0.23.0)
Processing 50/53: [ctypes-foreign: dune install]
+ C:\Users\opam\AppData\Local\opam\5.3\bin\dune.exe "install" "-p" "ctypes-foreign" "--create-install-files" "ctypes-foreign" (CWD=C:\Users\opam\AppData\Local\opam\5.3\.opam-switch\build\ctypes-foreign.0.23.0)
-> compiled  ctypes-foreign.0.23.0
-> installed ctypes-foreign.0.23.0

#=== ERROR while compiling conf-cuda.1 ========================================#
# context              2.3.0 | win32/x86_64 | ocaml-base-compiler.5.3.0 | file://C:/Users/opam/opam-repository
# path                 ~\AppData\Local\opam\5.3\.opam-switch\build\conf-cuda.1
# command              C:\cygwin64\bin\sh.exe -exc $(ocamlc -config-var c_compiler) -c $CFLAGS -I'/include' test.c
# exit-code            1
# env-file             ~\AppData\Local\opam\log\conf-cuda-2980-c40b95.env
# output-file          ~\AppData\Local\opam\log\conf-cuda-2980-c40b95.out
### output ###
# ++ ocamlc -config-var c_compiler
# + x86_64-w64-mingw32-gcc -c -I/include test.c
# test.c:1:14: fatal error: cuda.h: No such file or directory
#     1 |    #include  "cuda.h"
#       |              ^~~~~~~~
# compilation terminated.



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions were aborted
| - install cudajit 0.7.1
+- 
+- The following actions failed
| - build conf-cuda 1
+- 
+- The following changes have been performed (the rest was aborted)
| - recompile mingw-w64-shims              0.2.0
| - install   bigarray-compat              1.1.0
| - install   conf-cuda-config             1
| - install   conf-libffi                  2.0.0
| - install   conf-mingw-w64-gcc-i686      1
| - install   conf-mingw-w64-libffi-i686   1
| - install   conf-mingw-w64-libffi-x86_64 1
| - install   conf-pkg-config              4
| - install   csexp                        1.5.2
| - install   ctypes                       0.23.0
| - install   ctypes-foreign               0.23.0
| - install   dune                         3.19.1
| - install   dune-configurator            3.19.1
| - install   integers                     0.7.0
| - install   sexplib0                     v0.17.0
| - install   stdlib-shims                 0.3.0
+- 

<><> conf-cuda-config.1 installed successfully ><><><><><><><><><><><><><><><><>
=> NOTE: assuming CUDA will be installed under 

<><> conf-cuda.1 troubleshooting ><><><><><><><><><><><><><><><><><><><><><><><>
=> Manually install CUDA or verify that CUDA_PATH is set properly. See: https://docs.nvidia.com/cuda/cuda-installation-guide-microsoft-windows/index.html
# 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-20250806043130.export"
'C:\cygwin64\bin\opam.exe install -vy cudajit.0.7.1' failed.
"opam remove -y cudajit.0.7.1
opam install -vy cudajit.0.7.1
res=$?
if [ $res = 31 ]; then
    if opam show -f x-ci-accept-failures: cudajit.0.7.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