Build:
  1. 0
2025-12-11 02:47.51: New job: test cudajit.0.4.1 with dune.3.21.0~alpha3, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29070/head (a95df9014bc79103fde668cf2adbe6680fd2f9cf)
                              on debian-13-ocaml-5.4/amd64

To reproduce locally:

cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/29070/head" && git reset --hard a95df901
git fetch origin master
git merge --no-edit 810e1f14b7fa6411c66a3549f4c2aff47c52fc36
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.4@sha256:8c62cc7b043f64833949d4049211997093b28a2f1b98377748d3e185ae301c04
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /usr/bin/opam
RUN opam init --reinit -ni
RUN opam option solver=builtin-0install && opam config report
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
ENV OPAMPRECISETRACKING="1"
ENV CI="true"
ENV OPAM_REPO_CI="true"
RUN rm -rf opam-repository/
COPY --chown=1000:1000 . opam-repository/
RUN opam repository set-url --strict default opam-repository/
RUN opam update --depexts || true
RUN opam pin add -k version -yn dune.3.21.0~alpha3 3.21.0~alpha3
RUN opam reinstall dune.3.21.0~alpha3; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    partial_fails=""; \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-13\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'dune.3.21.0~alpha3' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN opam reinstall cudajit.0.4.1; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    partial_fails=""; \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-13\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'cudajit.0.4.1' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN (opam reinstall --with-test cudajit.0.4.1) || true
RUN opam reinstall --with-test --verbose cudajit.0.4.1; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    partial_fails=""; \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-13\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'cudajit.0.4.1' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1

END-OF-DOCKERFILE
docker build -f ../Dockerfile .

2025-12-11 02:47.51: Using cache hint "ocaml/opam:debian-13-ocaml-5.4@sha256:8c62cc7b043f64833949d4049211997093b28a2f1b98377748d3e185ae301c04-dune.3.21.0~alpha3-cudajit.0.4.1-a95df9014bc79103fde668cf2adbe6680fd2f9cf"
2025-12-11 02:47.51: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:8c62cc7b043f64833949d4049211997093b28a2f1b98377748d3e185ae301c04)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
 (run (network host)
      (shell "opam init --reinit --config .opamrc-sandbox -ni"))
 (run (shell "opam option solver=builtin-0install && opam config report"))
 (env OPAMDOWNLOADJOBS 1)
 (env OPAMERRLOGLEN 0)
 (env OPAMPRECISETRACKING 1)
 (env CI true)
 (env OPAM_REPO_CI true)
 (run (shell "rm -rf opam-repository/"))
 (copy (src .) (dst opam-repository/))
 (run (shell "opam repository set-url --strict default opam-repository/"))
 (run (network host)
      (shell "opam update --depexts || true"))
 (run (shell "opam pin add -k version -yn dune.3.21.0~alpha3 3.21.0~alpha3"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall dune.3.21.0~alpha3;\
             \n        res=$?;\
             \n        test \"$res\" != 31 && exit \"$res\";\
             \n        export OPAMCLI=2.0;\
             \n        build_dir=$(opam var prefix)/.opam-switch/build;\
             \n        failed=$(ls \"$build_dir\");\
             \n        partial_fails=\"\";\
             \n        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'dune.3.21.0~alpha3' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall cudajit.0.4.1;\
             \n        res=$?;\
             \n        test \"$res\" != 31 && exit \"$res\";\
             \n        export OPAMCLI=2.0;\
             \n        build_dir=$(opam var prefix)/.opam-switch/build;\
             \n        failed=$(ls \"$build_dir\");\
             \n        partial_fails=\"\";\
             \n        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'cudajit.0.4.1' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (run (network host)
      (shell "(opam reinstall --with-test cudajit.0.4.1) || true"))
 (run (shell  "opam reinstall --with-test --verbose cudajit.0.4.1;\
             \n        res=$?;\
             \n        test \"$res\" != 31 && exit \"$res\";\
             \n        export OPAMCLI=2.0;\
             \n        build_dir=$(opam var prefix)/.opam-switch/build;\
             \n        failed=$(ls \"$build_dir\");\
             \n        partial_fails=\"\";\
             \n        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'cudajit.0.4.1' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2025-12-11 02:47.51: Waiting for resource in pool OCluster
2025-12-11 14:29.32: Waiting for worker…
2025-12-11 14:32.37: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
Updating files:  64% (12203/19017)
Updating files:  65% (12362/19017)
Updating files:  66% (12552/19017)
Updating files:  67% (12742/19017)
Updating files:  68% (12932/19017)
Updating files:  69% (13122/19017)
Updating files:  70% (13312/19017)
Updating files:  71% (13503/19017)
Updating files:  72% (13693/19017)
Updating files:  73% (13883/19017)
Updating files:  74% (14073/19017)
Updating files:  75% (14263/19017)
Updating files:  76% (14453/19017)
Updating files:  77% (14644/19017)
Updating files:  78% (14834/19017)
Updating files:  79% (15024/19017)
Updating files:  80% (15214/19017)
Updating files:  81% (15404/19017)
Updating files:  82% (15594/19017)
Updating files:  83% (15785/19017)
Updating files:  84% (15975/19017)
Updating files:  85% (16165/19017)
Updating files:  86% (16355/19017)
Updating files:  87% (16545/19017)
Updating files:  88% (16735/19017)
Updating files:  89% (16926/19017)
Updating files:  90% (17116/19017)
Updating files:  91% (17306/19017)
Updating files:  92% (17496/19017)
Updating files:  93% (17686/19017)
Updating files:  94% (17876/19017)
Updating files:  95% (18067/19017)
Updating files:  96% (18257/19017)
Updating files:  97% (18447/19017)
Updating files:  98% (18637/19017)
Updating files:  99% (18827/19017)
Updating files: 100% (19017/19017)
Updating files: 100% (19017/19017), done.
HEAD is now at 810e1f14b7 Merge pull request #29066 from gares/release-elpi-v3.4.4
Updating 810e1f14b7..a95df9014b
Fast-forward
 .../chrome-trace/chrome-trace.3.21.0~alpha3/opam   | 41 ++++++++++++
 .../dune-action-plugin.3.21.0~alpha3/opam          | 54 ++++++++++++++++
 .../dune-build-info.3.21.0~alpha3/opam             | 47 ++++++++++++++
 .../dune-configurator.3.21.0~alpha3/opam           | 51 +++++++++++++++
 packages/dune-glob/dune-glob.3.21.0~alpha3/opam    | 44 +++++++++++++
 .../dune-private-libs.3.21.0~alpha3/opam           | 52 +++++++++++++++
 .../dune-rpc-lwt/dune-rpc-lwt.3.21.0~alpha3/opam   | 43 +++++++++++++
 packages/dune-rpc/dune-rpc.3.21.0~alpha3/opam      | 46 +++++++++++++
 packages/dune-site/dune-site.3.21.0~alpha3/opam    | 39 +++++++++++
 packages/dune/dune.3.21.0~alpha3/opam              | 75 ++++++++++++++++++++++
 packages/dyn/dyn.3.21.0~alpha3/opam                | 42 ++++++++++++
 packages/fs-io/fs-io.3.21.0~alpha3/opam            | 40 ++++++++++++
 packages/ocamlc-loc/ocamlc-loc.3.21.0~alpha3/opam  | 45 +++++++++++++
 packages/ordering/ordering.3.21.0~alpha3/opam      | 40 ++++++++++++
 packages/stdune/stdune.3.21.0~alpha3/opam          | 48 ++++++++++++++
 .../top-closure/top-closure.3.21.0~alpha3/opam     | 39 +++++++++++
 packages/xdg/xdg.3.21.0~alpha3/opam                | 41 ++++++++++++
 17 files changed, 787 insertions(+)
 create mode 100644 packages/chrome-trace/chrome-trace.3.21.0~alpha3/opam
 create mode 100644 packages/dune-action-plugin/dune-action-plugin.3.21.0~alpha3/opam
 create mode 100644 packages/dune-build-info/dune-build-info.3.21.0~alpha3/opam
 create mode 100644 packages/dune-configurator/dune-configurator.3.21.0~alpha3/opam
 create mode 100644 packages/dune-glob/dune-glob.3.21.0~alpha3/opam
 create mode 100644 packages/dune-private-libs/dune-private-libs.3.21.0~alpha3/opam
 create mode 100644 packages/dune-rpc-lwt/dune-rpc-lwt.3.21.0~alpha3/opam
 create mode 100644 packages/dune-rpc/dune-rpc.3.21.0~alpha3/opam
 create mode 100644 packages/dune-site/dune-site.3.21.0~alpha3/opam
 create mode 100644 packages/dune/dune.3.21.0~alpha3/opam
 create mode 100644 packages/dyn/dyn.3.21.0~alpha3/opam
 create mode 100644 packages/fs-io/fs-io.3.21.0~alpha3/opam
 create mode 100644 packages/ocamlc-loc/ocamlc-loc.3.21.0~alpha3/opam
 create mode 100644 packages/ordering/ordering.3.21.0~alpha3/opam
 create mode 100644 packages/stdune/stdune.3.21.0~alpha3/opam
 create mode 100644 packages/top-closure/top-closure.3.21.0~alpha3/opam
 create mode 100644 packages/xdg/xdg.3.21.0~alpha3/opam

(from ocaml/opam:debian-13-ocaml-5.4@sha256:8c62cc7b043f64833949d4049211997093b28a2f1b98377748d3e185ae301c04)
2025-12-11 14:33.04 ---> using "5f87df8c1f6f0886e7311dfd3df40b8bbb961cc34c83c0d033c6dd248c84bc7d" from cache

/: (user (uid 1000) (gid 1000))

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-12-11 14:33.04 ---> using "f1296791f2d76481058db697105a569091a6b6345f05c94bbc5a650f1a364f9a" from cache

/home/opam: (run (network host)
                 (shell "opam init --reinit --config .opamrc-sandbox -ni"))
Configuring from /home/opam/.opamrc-sandbox, then /home/opam/.opamrc, and finally from built-in defaults.
Checking for available remotes: rsync and local, git.
  - you won't be able to use mercurial repositories unless you install the hg command on your system.
  - you won't be able to use darcs repositories unless you install the darcs command on your system.

This version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2, which can't be reverted.
You may want to back it up before going further.

Continue? [Y/n] y
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-12-11 14:33.04 ---> using "0cac9a31b4750e6a46df8ed8d2f68352091a988199fdf62c52779549510cd6bf" from cache

/home/opam: (run (shell "opam option solver=builtin-0install && opam config report"))
Set to 'builtin-0install' the field solver in global configuration
# opam config report
# opam-version         2.5.0
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=debian os-version=13
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 71
# repositories         1 (version-controlled)
# pinned               1 (version)
# current-switch       5.4
# invariant            ["ocaml-base-compiler" {>= "5.4.0"}]
# compiler-packages    ocaml-base-compiler.5.4.0, ocaml-compiler.5.4.0, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/5.4/lib/ocaml/stublibs:/home/opam/.opam/5.4/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       5.4.0
2025-12-11 14:33.04 ---> using "1deb91dc3badca969976ed6f3bc5fe7c443d73a2cfa957be662fd6f93e30aa7b" from cache

/home/opam: (env OPAMDOWNLOADJOBS 1)

/home/opam: (env OPAMERRLOGLEN 0)

/home/opam: (env OPAMPRECISETRACKING 1)

/home/opam: (env CI true)

/home/opam: (env OPAM_REPO_CI true)

/home/opam: (run (shell "rm -rf opam-repository/"))
2025-12-11 14:33.04 ---> using "1a02438c8753bf7228a9eb625e65b7af26778a022b9ce0b16be5ef4f294c58cd" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-12-11 14:33.06 ---> using "558efc5d1dade30f771ff827a323991d3b5dc8b22610995de52463f4460db41d" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-12-11 14:33.06 ---> using "58e0c9dd5022cd1436b8b1510f482b6baa4e8929f778f88439cff37971729a44" from cache

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [82.1 kB]
- Fetched 173 kB in 0s (652 kB/s)
- Reading package lists...
- 
2025-12-11 14:33.06 ---> using "de5cbb4e0f295ac93b57d57eef12f594db675884c8bd7983430c50e2fdd12f64" from cache

/home/opam: (run (shell "opam pin add -k version -yn dune.3.21.0~alpha3 3.21.0~alpha3"))
dune is now pinned to version 3.21.0~alpha3
2025-12-11 14:33.06 ---> using "af6cbda9e692e53fa8a8206602afe48a116f589a7ff1dcf8f7ba5c92367c3e3e" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall dune.3.21.0~alpha3;\
                        \n        res=$?;\
                        \n        test \"$res\" != 31 && exit \"$res\";\
                        \n        export OPAMCLI=2.0;\
                        \n        build_dir=$(opam var prefix)/.opam-switch/build;\
                        \n        failed=$(ls \"$build_dir\");\
                        \n        partial_fails=\"\";\
                        \n        for pkg in $failed; do\
                        \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'dune.3.21.0~alpha3' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
dune.3.21.0~alpha3 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 1 package
  - install dune 3.21.0~alpha3 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.21.0~alpha3  (cached)
-> installed dune.3.21.0~alpha3
Done.
# To update the current shell environment, run: eval $(opam env)
2025-12-11 14:33.06 ---> using "4087a133b295dba0068b3ab8cbcc1fe3f8be9e05017b236fa624fde6f6bb2578" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall cudajit.0.4.1;\
                        \n        res=$?;\
                        \n        test \"$res\" != 31 && exit \"$res\";\
                        \n        export OPAMCLI=2.0;\
                        \n        build_dir=$(opam var prefix)/.opam-switch/build;\
                        \n        failed=$(ls \"$build_dir\");\
                        \n        partial_fails=\"\";\
                        \n        for pkg in $failed; do\
                        \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'cudajit.0.4.1' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
cudajit.0.4.1 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 34 packages
  - install base                    v0.17.3       [required by ppx_expect]
  - 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-pkg-config         4             [required by ctypes-foreign]
  - install csexp                   1.5.2         [required by dune-configurator]
  - install ctypes                  0.24.0        [required by cudajit]
  - install ctypes-foreign          0.24.0        [required by cudajit]
  - install cudajit                 0.4.1
  - install dune-configurator       3.21.0~alpha3 [required by ctypes, ctypes-foreign]
  - install integers                0.7.0         [required by ctypes]
  - install jane-street-headers     v0.17.0       [required by time_now]
  - install jst-config              v0.17.0       [required by time_now]
  - install ocaml-compiler-libs     v0.17.0       [required by ppxlib]
  - install ocaml_intrinsics_kernel v0.17.1       [required by base]
  - install ppx_assert              v0.17.0       [required by jst-config]
  - install ppx_base                v0.17.0       [required by time_now]
  - install ppx_cold                v0.17.0       [required by ppx_base]
  - install ppx_compare             v0.17.0       [required by ppx_base]
  - install ppx_derivers            1.2.1         [required by ppxlib]
  - install ppx_enumerate           v0.17.0       [required by ppx_base]
  - install ppx_expect              v0.17.3       [required by cudajit]
  - install ppx_globalize           v0.17.2       [required by ppx_base]
  - install ppx_hash                v0.17.0       [required by ppx_base]
  - install ppx_here                v0.17.0       [required by ppx_expect]
  - install ppx_inline_test         v0.17.1       [required by ppx_expect]
  - install ppx_optcomp             v0.17.1       [required by time_now]
  - install ppx_sexp_conv           v0.17.1       [required by cudajit]
  - install ppxlib                  0.37.0        [required by ppx_expect]
  - install ppxlib_jane             v0.17.4       [required by ppx_globalize, ppx_enumerate, ppx_hash]
  - install sexplib0                v0.17.0       [required by cudajit]
  - install stdio                   v0.17.0       [required by ppx_expect]
  - install stdlib-shims            0.3.0         [required by integers]
  - install time_now                v0.17.0       [required by ppx_inline_test]

The following system packages will first need to be installed:
    libffi-dev pkg-config

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>

opam believes some required external dependencies are missing. opam can:
> 1. Run apt-get to install them (may need root/sudo access)
  2. Display the recommended apt-get 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

+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libffi-dev" "pkg-config"
- Selecting previously unselected package libffi-dev:amd64.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 20653 files and directories currently installed.)
- Preparing to unpack .../libffi-dev_3.4.8-2_amd64.deb ...
- Unpacking libffi-dev:amd64 (3.4.8-2) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../libpkgconf3_1.8.1-4_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../pkgconf-bin_1.8.1-4_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-4) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../pkgconf_1.8.1-4_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../pkg-config_1.8.1-4_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-4) ...
- Setting up libffi-dev:amd64 (3.4.8-2) ...
- Setting up libpkgconf3:amd64 (1.8.1-4) ...
- Setting up pkgconf-bin (1.8.1-4) ...
- Setting up pkgconf:amd64 (1.8.1-4) ...
- Setting up pkg-config:amd64 (1.8.1-4) ...
- Processing triggers for libc-bin (2.41-12) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved base.v0.17.3  (cached)
-> retrieved csexp.1.5.2  (cached)
-> installed conf-cuda-config.1
-> installed conf-pkg-config.4
-> retrieved ctypes.0.24.0, ctypes-foreign.0.24.0  (cached)
-> installed conf-libffi.2.0.0
-> retrieved cudajit.0.4.1  (cached)
-> installed csexp.1.5.2
[ERROR] The compilation of conf-cuda.1 failed at "sh -exc $(ocamlc -config-var c_compiler) -c $CFLAGS -I'/usr/local/cuda/include' test.c".
-> retrieved dune-configurator.3.21.0~alpha3  (cached)
-> retrieved integers.0.7.0  (cached)
-> retrieved jane-street-headers.v0.17.0  (cached)
-> retrieved jst-config.v0.17.0  (cached)
-> retrieved ocaml-compiler-libs.v0.17.0  (cached)
-> retrieved ocaml_intrinsics_kernel.v0.17.1  (cached)
-> retrieved ppx_assert.v0.17.0  (cached)
-> retrieved ppx_base.v0.17.0  (cached)
-> retrieved ppx_cold.v0.17.0  (cached)
-> retrieved ppx_compare.v0.17.0  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_enumerate.v0.17.0  (cached)
-> retrieved ppx_expect.v0.17.3  (cached)
-> retrieved ppx_globalize.v0.17.2  (cached)
-> retrieved ppx_hash.v0.17.0  (cached)
-> retrieved ppx_here.v0.17.0  (cached)
-> retrieved ppx_inline_test.v0.17.1  (cached)
-> installed jane-street-headers.v0.17.0
-> retrieved ppx_optcomp.v0.17.1  (cached)
-> retrieved ppx_sexp_conv.v0.17.1  (cached)
-> installed ppx_derivers.1.2.1
-> installed ocaml_intrinsics_kernel.v0.17.1
-> retrieved ppxlib.0.37.0  (cached)
-> retrieved ppxlib_jane.v0.17.4  (cached)
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved stdio.v0.17.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved time_now.v0.17.0  (cached)
-> installed stdlib-shims.0.3.0
-> installed sexplib0.v0.17.0
-> installed integers.0.7.0
-> installed ocaml-compiler-libs.v0.17.0
-> installed dune-configurator.3.21.0~alpha3
-> installed ctypes.0.24.0
-> installed base.v0.17.3
-> installed stdio.v0.17.0
-> installed ctypes-foreign.0.24.0
-> installed ppxlib.0.37.0
-> installed ppx_optcomp.v0.17.1
-> installed ppxlib_jane.v0.17.4
-> installed ppx_cold.v0.17.0
-> installed ppx_here.v0.17.0
-> installed ppx_globalize.v0.17.2
-> installed ppx_enumerate.v0.17.0
-> installed ppx_compare.v0.17.0
-> installed ppx_sexp_conv.v0.17.1
-> installed ppx_hash.v0.17.0
-> installed ppx_assert.v0.17.0
-> installed ppx_base.v0.17.0
-> installed jst-config.v0.17.0
-> installed time_now.v0.17.0
-> installed ppx_inline_test.v0.17.1
-> installed ppx_expect.v0.17.3

#=== ERROR while compiling conf-cuda.1 ========================================#
# context              2.5.0 | linux/x86_64 | ocaml-base-compiler.5.4.0 | file:///home/opam/opam-repository
# path                 ~/.opam/5.4/.opam-switch/build/conf-cuda.1
# command              ~/.opam/opam-init/hooks/sandbox.sh build sh -exc $(ocamlc -config-var c_compiler) -c $CFLAGS -I'/usr/local/cuda/include' test.c
# exit-code            1
# env-file             ~/.opam/log/conf-cuda-8-74c470.env
# output-file          ~/.opam/log/conf-cuda-8-74c470.out
### output ###
# + ocamlc -config-var c_compiler
# + gcc -c -I/usr/local/cuda/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 failed
| - build conf-cuda 1
+- 
+- The following changes have been performed (the rest was aborted)
| - install base                    v0.17.3
| - install conf-cuda-config        1
| - install conf-libffi             2.0.0
| - install conf-pkg-config         4
| - install csexp                   1.5.2
| - install ctypes                  0.24.0
| - install ctypes-foreign          0.24.0
| - install dune-configurator       3.21.0~alpha3
| - install integers                0.7.0
| - install jane-street-headers     v0.17.0
| - install jst-config              v0.17.0
| - install ocaml-compiler-libs     v0.17.0
| - install ocaml_intrinsics_kernel v0.17.1
| - install ppx_assert              v0.17.0
| - install ppx_base                v0.17.0
| - install ppx_cold                v0.17.0
| - install ppx_compare             v0.17.0
| - install ppx_derivers            1.2.1
| - install ppx_enumerate           v0.17.0
| - install ppx_expect              v0.17.3
| - install ppx_globalize           v0.17.2
| - install ppx_hash                v0.17.0
| - install ppx_here                v0.17.0
| - install ppx_inline_test         v0.17.1
| - install ppx_optcomp             v0.17.1
| - install ppx_sexp_conv           v0.17.1
| - install ppxlib                  0.37.0
| - install ppxlib_jane             v0.17.4
| - install sexplib0                v0.17.0
| - install stdio                   v0.17.0
| - install stdlib-shims            0.3.0
| - install time_now                v0.17.0
+- 

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

<><> conf-cuda.1 troubleshooting ><><><><><><><><><><><><><><><><><><><><><><><>
=> Execute: $ sudo add-apt-repository multiverse; sudo apt update; sudo apt-get install nvidia-cuda-dev nvidia-cuda-toolkit
=> Alternatively: manually install CUDA or verify that CUDA_PATH is set properly, and re-install opam package conf-cuda-config. We recommend using the latest version of CUDA, at least v12.8. See: https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html
# To update the current shell environment, run: eval $(opam env)

The former state can be restored with:
    /usr/bin/opam switch import "/home/opam/.opam/5.4/.opam-switch/backup/state-20251211143307.export"
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
opam-repo-ci detected dependencies failing:  conf-cuda.1
"/usr/bin/env" "bash" "-c" "opam reinstall cudajit.0.4.1;
        res=$?;
        test "$res" != 31 && exit "$res";
        export OPAMCLI=2.0;
        build_dir=$(opam var prefix)/.opam-switch/build;
        failed=$(ls "$build_dir");
        partial_fails="";
        for pkg in $failed; do
          if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-13\""; then
            echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
          fi;
          test "$pkg" != 'cudajit.0.4.1' && partial_fails="$partial_fails $pkg";
        done;
        test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}";
        exit 1" failed with exit status 1
2025-12-11 14:36.20: Job failed: Failed: Build failed
2025-12-11 14:36.20: Log analysis:
2025-12-11 14:36.20: >>> 
[ERROR] The compilation of conf-cuda.1 failed at "sh -exc $(ocamlc -config-var c_compiler) -c $CFLAGS -I'/usr/local/cuda/include' test.c".
 (score = 20)
2025-12-11 14:36.20: >>> 
opam-repo-ci detected dependencies failing:  conf-cuda.1
 (score = 75)
2025-12-11 14:36.20:  conf-cuda.1 failed to build