Build:
  1. 0
2024-10-04 19:21.26: New job: Voodoo prep cudajit.0.5.0; 7f0fa4fd84cd2e3f94160f7fc71b7c50
2024-10-04 19:21.26: Waiting for resource in pool OCluster
2024-10-04 19:22.59: Waiting for worker…
2024-10-04 19:22.59: Got resource from pool OCluster
2024-10-04 19:22.59: Using cache hint "docs-universe-prep-5.1.1"

To reproduce locally:

cat > prep.spec <<'END-OF-SPEC'
((build tools
        ((from ocaml/opam:debian-12-ocaml-5.1@sha256:8454684bf95fc76f026876958cb517051d66ea42a82ff693c5d8d4bb32fb57f4)
         (user (uid 1000) (gid 1000))
         (workdir /home/opam)
         (run (shell "sudo chown opam:opam /home/opam"))
         (run (network host)
              (shell "sudo apt-get update && sudo apt-get install -yy m4 pkg-config"))
         (run (cache (opam-archives (target /home/opam/.opam/download-cache)) (opam-dune-cache (target /home/opam/.cache/dune)))
              (network host)
              (shell "opam pin -ny https://github.com/ocaml-doc/voodoo.git#67ccabec49b5f4d24147839291fcae7c19d3e8c9  && opam depext -iy voodoo-prep"))
         (run (shell "cp $(opam config var bin)/voodoo-prep /home/opam"))))
 (from ocaml/opam:debian-12-ocaml-5.1@sha256:8454684bf95fc76f026876958cb517051d66ea42a82ff693c5d8d4bb32fb57f4)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo chown opam:opam /home/opam"))
 (run (shell "sudo mkdir /src"))
 (copy (src packages) (dst /src/packages))
 (copy (src repo) (dst /src/repo))
 (run (network host)
      (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam && opam init --reinit -ni"))
 (run (shell "opam repo remove default && opam repo add opam /src"))
 (copy (from (build tools)) (src /home/opam/voodoo-prep) (dst /home/opam/))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)) (opam-dune-cache (target /home/opam/.cache/dune)))
      (network host)
      (shell "opam install dune.3.16.0"))
 (env DUNE_CACHE enabled)
 (env DUNE_CACHE_TRANSPORT direct)
 (env DUNE_CACHE_DUPLICATION copy)
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)) (opam-dune-cache (target /home/opam/.cache/dune)))
      (network host)
      (shell "(sudo apt update) && ((opam depext -viy cudajit.0.5.0 time_now.v0.17.0 stdlib-shims.0.3.0 stdio.v0.17.0 sexplib0.v0.17.0 ppxlib_jane.v0.17.0 ppxlib.0.33.1~5.3preview ppx_sexp_conv.v0.17.0 ppx_optcomp.v0.17.0 ppx_inline_test.v0.17.0 ppx_here.v0.17.0 ppx_hash.v0.17.0 ppx_globalize.v0.17.0 ppx_expect.v0.17.0 ppx_enumerate.v0.17.0 ppx_derivers.1.2.1 ppx_compare.v0.17.0 ppx_cold.v0.17.0 ppx_base.v0.17.0 ppx_assert.v0.17.0 ocaml_intrinsics_kernel.v0.17.1 ocaml-compiler-libs.v0.12.4 jst-config.v0.17.0 jane-street-headers.v0.17.0 integers.0.7.0 host-arch-x86_64.1 dune-configurator.3.16.0 dune.3.16.0 ctypes-foreign.0.23.0 ctypes.0.23.0 csexp.1.5.2 conf-pkg-config.3 conf-libffi.2.0.0 conf-cuda-config.1 conf-cuda.1 bigarray-compat.1.1.0 base.v0.17.1 2>&1 | tee ~/opam.err.log) || echo 'Failed to install all packages')"))
 (run (shell "opam exec -- ~/voodoo-prep -u cudajit:7f0fa4fd84cd2e3f94160f7fc71b7c50,conf-cuda-config:d41d8cd98f00b204e9800998ecf8427e,conf-cuda:1c97699f85e02f5a45512eb43759146c"))
 (run (network host)
      (secrets (ssh_privkey (target /home/opam/.ssh/id_rsa)) (ssh_pubkey (target /home/opam/.ssh/id_rsa.pub)) (ssh_config (target /home/opam/.ssh/config)))
      (shell "(echo '0.750274') && (for DATA in prep/universes/1c97699f85e02f5a45512eb43759146c/conf-cuda/1,conf-cuda.1-1c97699f85e02f5a45512eb43759146c,conf-cuda.1 prep/universes/d41d8cd98f00b204e9800998ecf8427e/conf-cuda-config/1,conf-cuda-config.1-d41d8cd98f00b204e9800998ecf8427e,conf-cuda-config.1 prep/universes/7f0fa4fd84cd2e3f94160f7fc71b7c50/cudajit/0.5.0,cudajit.0.5.0-7f0fa4fd84cd2e3f94160f7fc71b7c50,cudajit.0.5.0; do IFS=\",\"; set -- $DATA; ([ -d $1 ] || (echo \"FAILED:$2\" && mkdir -p $1 && cp ~/opam.err.log $1 && opam show $3 --raw > $1/opam)) && (shopt -s nullglob && ((tar -cvf $1.tar $1/*  && rm -R $1/* && mv $1.tar $1/content.tar) || (echo 'Empty directory'))) done) && (for DATA in prep/universes/1c97699f85e02f5a45512eb43759146c/conf-cuda/1,conf-cuda.1-1c97699f85e02f5a45512eb43759146c,conf-cuda.1 prep/universes/d41d8cd98f00b204e9800998ecf8427e/conf-cuda-config/1,conf-cuda-config.1-d41d8cd98f00b204e9800998ecf8427e,conf-cuda-config.1 prep/universes/7f0fa4fd84cd2e3f94160f7fc71b7c50/cudajit/0.5.0,cudajit.0.5.0-7f0fa4fd84cd2e3f94160f7fc71b7c50,cudajit.0.5.0; do IFS=\",\"; set -- $DATA; rsync -aR --no-p ./$1 docs.ci.ocaml.org:/data/.; done) && (for DATA in prep/universes/1c97699f85e02f5a45512eb43759146c/conf-cuda/1,conf-cuda.1-1c97699f85e02f5a45512eb43759146c,conf-cuda.1 prep/universes/d41d8cd98f00b204e9800998ecf8427e/conf-cuda-config/1,conf-cuda-config.1-d41d8cd98f00b204e9800998ecf8427e,conf-cuda-config.1 prep/universes/7f0fa4fd84cd2e3f94160f7fc71b7c50/cudajit/0.5.0,cudajit.0.5.0-7f0fa4fd84cd2e3f94160f7fc71b7c50,cudajit.0.5.0; do IFS=\",\"; set -- $DATA; HASH=$((sha256sum $1/content.tar | cut -d \" \" -f 1)  || echo -n 'empty'); printf \"HASHES:$2:$HASH\\n\"; done)"))
)
END-OF-SPEC

ocluster-client submit-obuilder https://github.com/ocaml/opam-repository.git e1afebcf5c6438a49627e1856b70fddd9c6a97f5 --local-file prep.spec \
--pool linux-x86_64 --connect ocluster-submission.cap --cache-hint docs-universe-prep-5.1.1 \
--secret ssh_privkey:id_rsa --secret ssh_pubkey:id_rsa.pub--secret ssh_config:ssh_config

2024-10-04 19:22.59: RETRYING: 2024-10-04/192126-voodoo-prep-5e45a7 Number of retries: 0 (retriable error condition)
Building on x86-bm-c5.sw.ocaml.org
All commits already cached
Updating files:  68% (22320/32360)
Updating files:  69% (22329/32360)
Updating files:  70% (22652/32360)
Updating files:  71% (22976/32360)
Updating files:  72% (23300/32360)
Updating files:  73% (23623/32360)
Updating files:  74% (23947/32360)
Updating files:  75% (24270/32360)
Updating files:  76% (24594/32360)
Updating files:  77% (24918/32360)
Updating files:  78% (25241/32360)
Updating files:  79% (25565/32360)
Updating files:  80% (25888/32360)
Updating files:  81% (26212/32360)
Updating files:  82% (26536/32360)
Updating files:  83% (26859/32360)
Updating files:  84% (27183/32360)
Updating files:  85% (27506/32360)
Updating files:  86% (27830/32360)
Updating files:  87% (28154/32360)
Updating files:  88% (28477/32360)
Updating files:  89% (28801/32360)
Updating files:  90% (29124/32360)
Updating files:  91% (29448/32360)
Updating files:  92% (29772/32360)
Updating files:  93% (30095/32360)
Updating files:  94% (30419/32360)
Updating files:  95% (30742/32360)
Updating files:  96% (31066/32360)
Updating files:  97% (31390/32360)
Updating files:  98% (31713/32360)
Updating files:  99% (32037/32360)
Updating files: 100% (32360/32360)
Updating files: 100% (32360/32360), done.
HEAD is now at e1afebcf5c Package cudajit.0.5.0: maintainer email

(build "tools" …)

(from ocaml/opam:debian-12-ocaml-5.1@sha256:8454684bf95fc76f026876958cb517051d66ea42a82ff693c5d8d4bb32fb57f4)
2024-10-04 19:15.19 ---> saved as "9a55e2be621a265ca6b967131795132de8f4abdf359ac93d16624739bcfc811d"

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo chown opam:opam /home/opam"))
2024-10-04 19:15.19 ---> saved as "ce07c67eb522cd1e99d4ddcbe25aa3523a2d9355c985d65c082e5ca1be6345c4"

/home/opam: (run (network host)
                 (shell "sudo apt-get update && sudo apt-get install -yy m4 pkg-config"))
Hit:1 http://deb.debian.org/debian bookworm InRelease
Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [186 kB]
Fetched 290 kB in 0s (811 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  libpkgconf3 pkgconf pkgconf-bin
Suggested packages:
  m4-doc
The following NEW packages will be installed:
  libpkgconf3 m4 pkg-config pkgconf pkgconf-bin
0 upgraded, 5 newly installed, 0 to remove and 1 not upgraded.
Need to get 392 kB of archives.
After this operation, 969 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bookworm/main amd64 libpkgconf3 amd64 1.8.1-1 [36.1 kB]
Get:2 http://deb.debian.org/debian bookworm/main amd64 m4 amd64 1.4.19-3 [287 kB]
Get:3 http://deb.debian.org/debian bookworm/main amd64 pkgconf-bin amd64 1.8.1-1 [29.5 kB]
Get:4 http://deb.debian.org/debian bookworm/main amd64 pkgconf amd64 1.8.1-1 [25.9 kB]
Get:5 http://deb.debian.org/debian bookworm/main amd64 pkg-config amd64 1.8.1-1 [13.7 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 392 kB in 0s (16.7 MB/s)
Selecting previously unselected package libpkgconf3: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 ... 18776 files and directories currently installed.)
Preparing to unpack .../libpkgconf3_1.8.1-1_amd64.deb ...
Unpacking libpkgconf3:amd64 (1.8.1-1) ...
Selecting previously unselected package m4.
Preparing to unpack .../archives/m4_1.4.19-3_amd64.deb ...
Unpacking m4 (1.4.19-3) ...
Selecting previously unselected package pkgconf-bin.
Preparing to unpack .../pkgconf-bin_1.8.1-1_amd64.deb ...
Unpacking pkgconf-bin (1.8.1-1) ...
Selecting previously unselected package pkgconf:amd64.
Preparing to unpack .../pkgconf_1.8.1-1_amd64.deb ...
Unpacking pkgconf:amd64 (1.8.1-1) ...
Selecting previously unselected package pkg-config:amd64.
Preparing to unpack .../pkg-config_1.8.1-1_amd64.deb ...
Unpacking pkg-config:amd64 (1.8.1-1) ...
Setting up m4 (1.4.19-3) ...
Setting up libpkgconf3:amd64 (1.8.1-1) ...
Setting up pkgconf-bin (1.8.1-1) ...
Setting up pkgconf:amd64 (1.8.1-1) ...
Setting up pkg-config:amd64 (1.8.1-1) ...
Processing triggers for libc-bin (2.36-9+deb12u8) ...
2024-10-04 19:15.22 ---> saved as "d6192f6fdc647597745c7312994edbf1a60a29f4a4c658735080e746d7fd6e46"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)) (opam-dune-cache (target /home/opam/.cache/dune)))
                 (network host)
                 (shell "opam pin -ny https://github.com/ocaml-doc/voodoo.git#67ccabec49b5f4d24147839291fcae7c19d3e8c9  && opam depext -iy voodoo-prep"))
[voodoo: git]
[voodoo: git]
[voodoo: git]
[voodoo: git]
[voodoo: git]
[voodoo: git]
[voodoo: git]
[voodoo: git]
[voodoo] synchronised from git+https://github.com/ocaml-doc/voodoo.git#67ccabec49b5f4d24147839291fcae7c19d3e8c9
This will pin the following packages: voodoo-prep, voodoo-lib, voodoo-gen, voodoo-do. Continue? [Y/n] y
Package voodoo-prep does not exist, create as a NEW package? [Y/n] y
[voodoo-prep.~dev: git]
[voodoo-prep.~dev: git]
[voodoo-prep.~dev: git]
[voodoo-prep.~dev: git]
[voodoo-prep.~dev: git]
[voodoo-prep.~dev: git]
[voodoo-prep.~dev: git]
[voodoo-prep.~dev: git]
[voodoo-prep.~dev] synchronised from git+https://github.com/ocaml-doc/voodoo.git#67ccabec49b5f4d24147839291fcae7c19d3e8c9
voodoo-prep is now pinned to git+https://github.com/ocaml-doc/voodoo.git#67ccabec49b5f4d24147839291fcae7c19d3e8c9 (version ~dev)
Package voodoo-lib does not exist, create as a NEW package? [Y/n] y
[voodoo-lib.~dev: git]
[voodoo-lib.~dev: git]
[voodoo-lib.~dev: git]
[voodoo-lib.~dev: git]
[voodoo-lib.~dev: git]
[voodoo-lib.~dev: git]
[voodoo-lib.~dev: git]
[voodoo-lib.~dev: git]
[voodoo-lib.~dev] synchronised from git+https://github.com/ocaml-doc/voodoo.git#67ccabec49b5f4d24147839291fcae7c19d3e8c9
voodoo-lib is now pinned to git+https://github.com/ocaml-doc/voodoo.git#67ccabec49b5f4d24147839291fcae7c19d3e8c9 (version ~dev)
Package voodoo-gen does not exist, create as a NEW package? [Y/n] y
[voodoo-gen.~dev: git]
[voodoo-gen.~dev: git]
[voodoo-gen.~dev: git]
[voodoo-gen.~dev: git]
[voodoo-gen.~dev: git]
[voodoo-gen.~dev: git]
[voodoo-gen.~dev: git]
[voodoo-gen.~dev: git]
[voodoo-gen.~dev] synchronised from git+https://github.com/ocaml-doc/voodoo.git#67ccabec49b5f4d24147839291fcae7c19d3e8c9
voodoo-gen is now pinned to git+https://github.com/ocaml-doc/voodoo.git#67ccabec49b5f4d24147839291fcae7c19d3e8c9 (version ~dev)
Package voodoo-do does not exist, create as a NEW package? [Y/n] y
[voodoo-do.~dev: git]
[voodoo-do.~dev: git]
[voodoo-do.~dev: git]
[voodoo-do.~dev: git]
[voodoo-do.~dev: git]
[voodoo-do.~dev: git]
[voodoo-do.~dev: git]
[voodoo-do.~dev: git]
[voodoo-do.~dev] synchronised from git+https://github.com/ocaml-doc/voodoo.git#67ccabec49b5f4d24147839291fcae7c19d3e8c9
voodoo-do is now pinned to git+https://github.com/ocaml-doc/voodoo.git#67ccabec49b5f4d24147839291fcae7c19d3e8c9 (version ~dev)
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
# Now letting opam install the packages

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[voodoo-prep.~dev] no changes from git+https://github.com/ocaml-doc/voodoo.git#67ccabec49b5f4d24147839291fcae7c19d3e8c9

The following actions will be performed:
  - install ocamlbuild       0.15.0 [required by bos]
  - install dune             3.16.0 [required by voodoo-prep]
  - install ocamlfind        1.9.6  [required by bos]
  - install cmdliner         1.3.0  [required by voodoo-prep]
  - install seq              base   [required by re]
  - install swhid_core       0.1    [required by opam-core]
  - install stdlib-shims     0.3.0  [required by ocamlgraph, sha]
  - install opam-file-format 2.1.6  [required by opam-format]
  - install topkg            1.0.7  [required by bos]
  - install re               1.12.0 [required by opam-format]
  - install sha              1.15.4 [required by opam-core]
  - install ocamlgraph       2.1.0  [required by opam-core]
  - install uutf             1.0.3  [required by opam-core]
  - install rresult          0.7.0  [required by bos]
  - install fmt              0.9.0  [required by bos]
  - install astring          0.8.5  [required by bos]
  - install jsonm            1.0.2  [required by opam-core]
  - install logs             0.7.0  [required by bos]
  - install fpath            0.7.3  [required by voodoo-prep]
  - install opam-core        2.2.1  [required by opam-format]
  - install bos              0.2.1  [required by voodoo-prep]
  - install opam-format      2.2.1  [required by voodoo-prep]
  - install voodoo-prep      ~dev*
===== 23 to install =====

<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[astring.0.8.5] found in cache
[bos.0.2.1] found in cache
[cmdliner.1.3.0] found in cache
[dune.3.16.0] found in cache
[fmt.0.9.0] found in cache
[fpath.0.7.3] found in cache
[jsonm.1.0.2] found in cache
[logs.0.7.0] found in cache
[ocamlbuild.0.15.0] found in cache
[ocamlfind.1.9.6] found in cache
[ocamlgraph.2.1.0] found in cache
[opam-core.2.2.1] found in cache
[opam-file-format.2.1.6] found in cache
[opam-format.2.2.1] found in cache
[re.1.12.0] found in cache
[rresult.0.7.0] found in cache
[sha.1.15.4] found in cache
[stdlib-shims.0.3.0] found in cache
[swhid_core.0.1] found in cache
[topkg.1.0.7] found in cache
[uutf.1.0.3] found in cache
[voodoo-prep.~dev] synchronised from git+https://github.com/ocaml-doc/voodoo.git#67ccabec49b5f4d24147839291fcae7c19d3e8c9

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed seq.base
-> installed cmdliner.1.3.0
-> installed ocamlfind.1.9.6
-> installed ocamlbuild.0.15.0
-> installed topkg.1.0.7
-> installed rresult.0.7.0
-> installed uutf.1.0.3
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed fpath.0.7.3
-> installed jsonm.1.0.2
-> installed logs.0.7.0
-> installed bos.0.2.1
-> installed dune.3.16.0
-> installed stdlib-shims.0.3.0
-> installed swhid_core.0.1
-> installed opam-file-format.2.1.6
-> installed re.1.12.0
-> installed sha.1.15.4
-> installed ocamlgraph.2.1.0
-> installed opam-core.2.2.1
-> installed opam-format.2.2.1
-> installed voodoo-prep.~dev
Done.
# Run eval $(opam env) to update the current shell environment
2024-10-04 19:16.22 ---> saved as "4cf8f1f1cb34d47ca43f1ebfa5f6bcaca3f9673f5c4d8e89c169033666ae5780"

/home/opam: (run (shell "cp $(opam config var bin)/voodoo-prep /home/opam"))
2024-10-04 19:16.22 ---> saved as "c28d6fd9880ca45e7829881d0552abb5407dd172e53029579606a86580dfcf04"
2024-10-04 19:16.22 --> finished "tools"

(from ocaml/opam:debian-12-ocaml-5.1@sha256:8454684bf95fc76f026876958cb517051d66ea42a82ff693c5d8d4bb32fb57f4)
2024-10-04 19:16.22 ---> using "9a55e2be621a265ca6b967131795132de8f4abdf359ac93d16624739bcfc811d" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo chown opam:opam /home/opam"))
2024-10-04 19:16.22 ---> using "ce07c67eb522cd1e99d4ddcbe25aa3523a2d9355c985d65c082e5ca1be6345c4" from cache

/home/opam: (run (shell "sudo mkdir /src"))
2024-10-04 19:16.24 ---> saved as "2af0a2c742b9ae2064ca722e4979594de1a7aad2be4b6a00ca1b02664dd2565e"

/home/opam: (copy (src packages) (dst /src/packages))
2024-10-04 19:16.58 ---> saved as "b613cbbc8c47ad2430cbe25de2408d8059a39f71d7dcc9cc21960f8dbc8cf5a1"

/home/opam: (copy (src repo) (dst /src/repo))
2024-10-04 19:16.58 ---> saved as "96fcc26e6b38d1ea5e5aa693f4aa0b9a63c026b1975d8c956c8daf4222ad8084"

/home/opam: (run (network host)
                 (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam && opam init --reinit -ni"))
Configuring from /home/opam/.opamrc and then 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 development version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.1, 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] synchronised from file:///home/opam/opam-repository
2024-10-04 19:18.12 ---> saved as "3814b8f0f840134d9d3763538370844a2263078f29617ae47b7ee19d68770d42"

/home/opam: (run (shell "opam repo remove default && opam repo add opam /src"))
Repositories removed from the selections of switch 5.1. Use '--all' to forget about them altogether.
[opam] Initialised
[NOTE] Repository opam has been added to the selections of switch 5.1 only.
       Run `opam repository add opam --all-switches|--set-default' to use it in all existing switches, or in newly created switches, respectively.

2024-10-04 19:18.33 ---> saved as "e87f8d16f09e08421b977e7f9fe4f1382ed8eccf60e7f7d6db212f9bf05b8e10"

/home/opam: (copy (from (build tools))
                  (src /home/opam/voodoo-prep)
                  (dst /home/opam/))
2024-10-04 19:18.33 ---> saved as "7228055944d47ec1fffc3f43a1c9386d83bd7465d5a82c83d6c24ca20a72aaea"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)) (opam-dune-cache (target /home/opam/.cache/dune)))
                 (network host)
                 (shell "opam install dune.3.16.0"))
The following actions will be performed:
  - install dune 3.16.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.16.0  (cached)
-> installed dune.3.16.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-10-04 19:19.26 ---> saved as "6ccd16e14fc0c0a82e4b0efbbaa0d42000839fb244b5afeedad5731aa88a0fcd"

/home/opam: (env DUNE_CACHE enabled)

/home/opam: (env DUNE_CACHE_TRANSPORT direct)

/home/opam: (env DUNE_CACHE_DUPLICATION copy)

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)) (opam-dune-cache (target /home/opam/.cache/dune)))
                 (network host)
                 (shell "(sudo apt update) && ((opam depext -viy cudajit.0.5.0 time_now.v0.17.0 stdlib-shims.0.3.0 stdio.v0.17.0 sexplib0.v0.17.0 ppxlib_jane.v0.17.0 ppxlib.0.33.1~5.3preview ppx_sexp_conv.v0.17.0 ppx_optcomp.v0.17.0 ppx_inline_test.v0.17.0 ppx_here.v0.17.0 ppx_hash.v0.17.0 ppx_globalize.v0.17.0 ppx_expect.v0.17.0 ppx_enumerate.v0.17.0 ppx_derivers.1.2.1 ppx_compare.v0.17.0 ppx_cold.v0.17.0 ppx_base.v0.17.0 ppx_assert.v0.17.0 ocaml_intrinsics_kernel.v0.17.1 ocaml-compiler-libs.v0.12.4 jst-config.v0.17.0 jane-street-headers.v0.17.0 integers.0.7.0 host-arch-x86_64.1 dune-configurator.3.16.0 dune.3.16.0 ctypes-foreign.0.23.0 ctypes.0.23.0 csexp.1.5.2 conf-pkg-config.3 conf-libffi.2.0.0 conf-cuda-config.1 conf-cuda.1 bigarray-compat.1.1.0 base.v0.17.1 2>&1 | tee ~/opam.err.log) || echo 'Failed to install all packages')"))

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Hit:1 http://deb.debian.org/debian bookworm InRelease
Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [187 kB]
Fetched 290 kB in 0s (997 kB/s)
Reading package lists...
Building dependency tree...
Reading state information...
1 package can be upgraded. Run 'apt list --upgradable' to see it.
Opam plugin "depext" may require upgrading/reinstalling. Reinstall the plugin on the current switch? [Y/n] y
The following actions will be performed:
  - recompile opam-depext 1.2.3

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved opam-depext.1.2.3  (cached)
-> removed   opam-depext.1.2.3
-> installed opam-depext.1.2.3
Done.

<><> opam-depext.1.2.3 installed successfully <><><><><><><><><><><><><><><><><>
=> opam-depext is unnecessary when used with opam >= 2.1. Please use opam install directly instead
# Run eval $(opam env) to update the current shell environment

<><> Carrying on to "opam depext -viy cudajit.0.5.0 time_now.v0.17.0 stdlib-shims.0.3.0 stdio.v0.17.0 sexplib0.v0.17.0 ppxlib_jane.v0.17.0 ppxlib.0.33.1~5.3preview ppx_sexp_conv.v0.17.0 ppx_optcomp.v0.17.0 ppx_inline_test.v0.17.0 ppx_here.v0.17.0 ppx_hash.v0.17.0 ppx_globalize.v0.17.0 ppx_expect.v0.17.0 ppx_enumerate.v0.17.0 ppx_derivers.1.2.1 ppx_compare.v0.17.0 ppx_cold.v0.17.0 ppx_base.v0.17.0 ppx_assert.v0.17.0 ocaml_intrinsics_kernel.v0.17.1 ocaml-compiler-libs.v0.12.4 jst-config.v0.17.0 jane-street-headers.v0.17.0 integers.0.7.0 host-arch-x86_64.1 dune-configurator.3.16.0 dune.3.16.0 ctypes-foreign.0.23.0 ctypes.0.23.0 csexp.1.5.2 conf-pkg-config.3 conf-libffi.2.0.0 conf-cuda-config.1 conf-cuda.1 bigarray-compat.1.1.0 base.v0.17.1" 

Since version 2.1, opam now handles external dependencies alongside OCaml ones, and the `depext` plugin interface is provided for backwards compatibility only. Consider using your usual `opam install` command to install both OCaml and system dependencies, or `opam install <pkg> --depext-only` if you want to only install external dependencies.
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# The following system packages are needed:
libffi-dev
pkg-config
[NOTE] Package dune is already installed (current version is 3.16.0).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
The following actions will be performed:
  - install ppx_derivers            1.2.1
  - install ocaml_intrinsics_kernel v0.17.1
  - install bigarray-compat         1.1.0
  - install sexplib0                v0.17.0
  - install ocaml-compiler-libs     v0.12.4
  - install stdlib-shims            0.3.0
  - install conf-pkg-config         3
  - install jane-street-headers     v0.17.0
  - install csexp                   1.5.2
  - install conf-cuda-config        1
  - install ppxlib                  0.33.1~5.3preview
  - install integers                0.7.0
  - install conf-libffi             2.0.0
  - install dune-configurator       3.16.0
  - install conf-cuda               1
  - install ppxlib_jane             v0.17.0
  - install ctypes                  0.23.0
  - install base                    v0.17.1
  - install ctypes-foreign          0.23.0
  - install stdio                   v0.17.0
  - install ppx_sexp_conv           v0.17.0
  - install ppx_here                v0.17.0
  - install ppx_globalize           v0.17.0
  - install ppx_enumerate           v0.17.0
  - install ppx_compare             v0.17.0
  - install ppx_cold                v0.17.0
  - install ppx_optcomp             v0.17.0
  - install ppx_hash                v0.17.0
  - install ppx_assert              v0.17.0
  - install ppx_base                v0.17.0
  - install jst-config              v0.17.0
  - install time_now                v0.17.0
  - install ppx_inline_test         v0.17.0
  - install ppx_expect              v0.17.0
  - install cudajit                 0.5.0
===== 35 to install =====

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

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
Let opam run your package manager to install the required system packages?
(answer 'n' for other options) [Y/n] y
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libffi-dev" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed
- 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 ... 18776 files and directories currently installed.)
- Preparing to unpack .../libffi-dev_3.4.4-1_amd64.deb ...
- Unpacking libffi-dev:amd64 (3.4.4-1) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../libpkgconf3_1.8.1-1_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../pkgconf-bin_1.8.1-1_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-1) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../pkgconf_1.8.1-1_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../pkg-config_1.8.1-1_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-1) ...
- Setting up libffi-dev:amd64 (3.4.4-1) ...
- Setting up libpkgconf3:amd64 (1.8.1-1) ...
- Setting up pkgconf-bin (1.8.1-1) ...
- Setting up pkgconf:amd64 (1.8.1-1) ...
- Setting up pkg-config:amd64 (1.8.1-1) ...
- Processing triggers for libc-bin (2.36-9+deb12u8) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/105:
Processing  2/105:
Processing  3/105:
Processing  4/105:
Processing  5/105:
Processing  6/105:
Processing  7/105:
Processing  8/105: [conf-cuda-config: sh]
Processing  9/105: [conf-cuda-config: sh] [conf-pkg-config: pkg-config]
-> retrieved base.v0.17.1  (cached)
Processing 10/105: [conf-cuda-config: sh] [conf-pkg-config: pkg-config]
-> retrieved bigarray-compat.1.1.0  (cached)
Processing 11/105: [conf-cuda-config: sh] [conf-pkg-config: pkg-config]
Processing 12/105: [bigarray-compat: dune build] [conf-cuda-config: sh] [conf-pkg-config: pkg-config]
-> retrieved csexp.1.5.2  (cached)
Processing 13/105: [bigarray-compat: dune build] [conf-cuda-config: sh] [conf-pkg-config: pkg-config]
Processing 14/105: [bigarray-compat: dune build] [conf-cuda-config: sh] [conf-pkg-config: pkg-config] [csexp: dune build]
- + [ -z  ]
- + [ -d /usr/local/cuda ]
- + [ -d /opt/cuda ]
- + [ -d /usr/cuda ]
- + [ arch = debian ]
- + CUDA_PATH=/usr/local/cuda
- + CUDA_PREINSTALLED=false
- + [ -z  ]
- + IS_WSL=false
- + cat
-> compiled  conf-cuda-config.1
Processing 14/105: [bigarray-compat: dune build] [conf-pkg-config: pkg-config] [csexp: dune build]
-> installed conf-cuda-config.1
Processing 15/105: [bigarray-compat: dune build] [conf-pkg-config: pkg-config] [csexp: dune build]
Processing 16/105: [bigarray-compat: dune build] [conf-cuda: sh cat <<EOF > test.c
   #include  "cuda.h"
   #include  "nvrtc.h"
   ] [conf-pkg-config: pkg-config] [csexp: dune build]
- usage: pkgconf [OPTIONS] [LIBRARIES]
- 
- basic options:
- 
-   --help                            this message
-   --about                           print pkgconf version and license to stdout
-   --version                         print supported pkg-config version to stdout
-   --atleast-pkgconfig-version       check whether or not pkgconf is compatible
-                                     with a specified pkg-config version
-   --errors-to-stdout                print all errors on stdout instead of stderr
-   --print-errors                    ensure all errors are printed
-   --short-errors                    be less verbose about some errors
-   --silence-errors                  explicitly be silent about errors
-   --list-all                        list all known packages
-   --list-package-names              list all known package names
-   --simulate                        simulate walking the calculated dependency graph
-   --no-cache                        do not cache already seen packages when
-                                     walking the dependency graph
-   --log-file=filename               write an audit log to a specified file
-   --with-path=path                  adds a directory to the search path
-   --define-prefix                   override the prefix variable with one that is guessed based on
-                                     the location of the .pc file
-   --dont-define-prefix              do not override the prefix variable under any circumstances
-   --prefix-variable=varname         sets the name of the variable that pkgconf considers
-                                     to be the package prefix
-   --relocate=path                   relocates a path and exits (mostly for testsuite)
-   --dont-relocate-paths             disables path relocation support
- 
- cross-compilation personality support:
- 
-   --personality=triplet|filename    sets the personality to 'triplet' or a file named 'filename'
-   --dump-personality                dumps details concerning selected personality
- 
- checking specific pkg-config database entries:
- 
-   --atleast-version                 require a specific version of a module
-   --exact-version                   require an exact version of a module
-   --max-version                     require a maximum version of a module
-   --exists                          check whether or not a module exists
-   --uninstalled                     check whether or not an uninstalled module will be used
-   --no-uninstalled                  never use uninstalled modules when satisfying dependencies
-   --no-provides                     do not use 'provides' rules to resolve dependencies
-   --maximum-traverse-depth          maximum allowed depth for dependency graph
-   --static                          be more aggressive when computing dependency graph
-                                     (for static linking)
-   --shared                          use a simplified dependency graph (usually default)
-   --pure                            optimize a static dependency graph as if it were a normal
-                                     dependency graph
-   --env-only                        look only for package entries in PKG_CONFIG_PATH
-   --ignore-conflicts                ignore 'conflicts' rules in modules
-   --validate                        validate specific .pc files for correctness
- 
- querying specific pkg-config database fields:
- 
-   --define-variable=varname=value   define variable 'varname' as 'value'
-   --variable=varname                print specified variable entry to stdout
-   --cflags                          print required CFLAGS to stdout
-   --cflags-only-I                   print required include-dir CFLAGS to stdout
-   --cflags-only-other               print required non-include-dir CFLAGS to stdout
-   --libs                            print required linker flags to stdout
-   --libs-only-L                     print required LDPATH linker flags to stdout
-   --libs-only-l                     print required LIBNAME linker flags to stdout
-   --libs-only-other                 print required other linker flags to stdout
-   --print-requires                  print required dependency frameworks to stdout
-   --print-requires-private          print required dependency frameworks for static
-                                     linking to stdout
-   --print-provides                  print provided dependencies to stdout
-   --print-variables                 print all known variables in module to stdout
-   --digraph                         print entire dependency graph in graphviz 'dot' format
-   --keep-system-cflags              keep -I/usr/include entries in cflags output
-   --keep-system-libs                keep -L/lib:/lib/i386-linux-gnu:/lib/x86_64-linux-gnu:/lib/x86_64-linux-gnux32:/lib32:/libx32:/usr/lib:/usr/lib/i386-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnux32:/usr/lib32:/usr/libx32 entries in libs output
-   --path                            show the exact filenames for any matching .pc files
-   --modversion                      print the specified module's version to stdout
-   --internal-cflags                 do not filter 'internal' cflags from output
- 
- filtering output:
- 
-   --msvc-syntax                     print translatable fragments in MSVC syntax
-   --fragment-filter=types           filter output fragments to the specified types
- 
- report bugs to <https://github.com/pkgconf/pkgconf/issues/new>.
-> compiled  conf-pkg-config.3
Processing 16/105: [bigarray-compat: dune build] [conf-cuda: sh cat <<EOF > test.c
   #include  "cuda.h"
   #include  "nvrtc.h"
   ] [csexp: dune build]
-> installed conf-pkg-config.3
Processing 17/105: [bigarray-compat: dune build] [conf-cuda: sh cat <<EOF > test.c
   #include  "cuda.h"
   #include  "nvrtc.h"
   ] [csexp: dune build]
Processing 18/105: [bigarray-compat: dune build] [conf-cuda: sh cat <<EOF > test.c
   #include  "cuda.h"
   #include  "nvrtc.h"
   ] [conf-libffi: pkg-config libffi] [csexp: dune build]
-> retrieved ctypes.0.23.0  (cached)
Processing 19/105: [bigarray-compat: dune build] [conf-cuda: sh cat <<EOF > test.c
   #include  "cuda.h"
   #include  "nvrtc.h"
   ] [conf-libffi: pkg-config libffi] [csexp: dune build]
-> retrieved ctypes-foreign.0.23.0  (cached)
Processing 20/105: [bigarray-compat: dune build] [conf-cuda: sh cat <<EOF > test.c
   #include  "cuda.h"
   #include  "nvrtc.h"
   ] [conf-libffi: pkg-config libffi] [csexp: dune build]
-> retrieved cudajit.0.5.0  (cached)
Processing 21/105: [bigarray-compat: dune build] [conf-cuda: sh cat <<EOF > test.c
   #include  "cuda.h"
   #include  "nvrtc.h"
   ] [conf-libffi: pkg-config libffi] [csexp: dune build]
- + cat
Processing 21/105: [bigarray-compat: dune build] [conf-cuda: sh] [conf-libffi: pkg-config libffi] [csexp: dune build]
-> compiled  conf-libffi.2.0.0
Processing 21/105: [bigarray-compat: dune build] [conf-cuda: sh] [csexp: dune build]
-> installed conf-libffi.2.0.0
Processing 22/105: [bigarray-compat: dune build] [conf-cuda: sh] [csexp: dune build]
-> retrieved integers.0.7.0  (cached)
Processing 23/105: [bigarray-compat: dune build] [conf-cuda: sh] [csexp: dune build]
-> retrieved jane-street-headers.v0.17.0  (cached)
Processing 24/105: [bigarray-compat: dune build] [conf-cuda: sh] [csexp: dune build]
Processing 25/105: [bigarray-compat: dune build] [conf-cuda: sh] [csexp: dune build] [jane-street-headers: dune build]
- + cc -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] The compilation of conf-cuda.1 failed at "sh -exc cc -c $CFLAGS -I/usr/local/cuda/include test.c".
Processing 25/105: [bigarray-compat: dune build] [csexp: dune build] [jane-street-headers: dune build]
Processing 26/105: [bigarray-compat: dune build] [csexp: dune build] [jane-street-headers: dune build]
-> retrieved jst-config.v0.17.0  (cached)
Processing 27/105: [bigarray-compat: dune build] [csexp: dune build] [jane-street-headers: dune build]
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
Processing 28/105: [bigarray-compat: dune build] [csexp: dune build] [jane-street-headers: dune build]
Processing 29/105: [bigarray-compat: dune build] [csexp: dune build] [jane-street-headers: dune build] [ocaml-compiler-libs: dune build]
-> retrieved ocaml_intrinsics_kernel.v0.17.1  (cached)
Processing 30/105: [bigarray-compat: dune build] [csexp: dune build] [jane-street-headers: dune build] [ocaml-compiler-libs: dune build]
Processing 31/105: [bigarray-compat: dune build] [csexp: dune build] [jane-street-headers: dune build] [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build]
-> compiled  csexp.1.5.2
Processing 31/105: [bigarray-compat: dune build] [jane-street-headers: dune build] [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build]
-> installed csexp.1.5.2
Processing 32/105: [bigarray-compat: dune build] [jane-street-headers: dune build] [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build]
-> compiled  bigarray-compat.1.1.0
Processing 32/105: [jane-street-headers: dune build] [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build]
-> installed bigarray-compat.1.1.0
Processing 33/105: [jane-street-headers: dune build] [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build]
-> retrieved ppx_assert.v0.17.0  (cached)
Processing 34/105: [jane-street-headers: dune build] [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build]
-> retrieved ppx_base.v0.17.0  (cached)
Processing 35/105: [jane-street-headers: dune build] [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build]
-> retrieved ppx_cold.v0.17.0  (cached)
Processing 36/105: [jane-street-headers: dune build] [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build]
-> retrieved ppx_compare.v0.17.0  (cached)
Processing 37/105: [jane-street-headers: dune build] [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build]
-> retrieved ppx_derivers.1.2.1  (cached)
Processing 38/105: [jane-street-headers: dune build] [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build]
Processing 39/105: [jane-street-headers: dune build] [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build] [ppx_derivers: dune build]
-> compiled  jane-street-headers.v0.17.0
Processing 39/105: [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build] [ppx_derivers: dune build]
-> installed jane-street-headers.v0.17.0
Processing 40/105: [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build] [ppx_derivers: dune build]
-> retrieved ppx_enumerate.v0.17.0  (cached)
Processing 41/105: [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build] [ppx_derivers: dune build]
-> retrieved ppx_expect.v0.17.0  (cached)
Processing 42/105: [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build] [ppx_derivers: dune build]
-> retrieved ppx_globalize.v0.17.0  (cached)
Processing 43/105: [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build] [ppx_derivers: dune build]
-> retrieved ppx_hash.v0.17.0  (cached)
Processing 44/105: [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build] [ppx_derivers: dune build]
-> retrieved ppx_here.v0.17.0  (cached)
Processing 45/105: [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build] [ppx_derivers: dune build]
-> retrieved ppx_inline_test.v0.17.0  (cached)
Processing 46/105: [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build] [ppx_derivers: dune build]
-> retrieved ppx_optcomp.v0.17.0  (cached)
Processing 47/105: [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build] [ppx_derivers: dune build]
-> retrieved ppx_sexp_conv.v0.17.0  (cached)
Processing 48/105: [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build] [ppx_derivers: dune build]
-> compiled  ppx_derivers.1.2.1
Processing 48/105: [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build]
-> installed ppx_derivers.1.2.1
Processing 49/105: [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build]
-> retrieved ppxlib.0.33.1~5.3preview  (cached)
Processing 50/105: [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build]
-> retrieved ppxlib_jane.v0.17.0  (cached)
Processing 51/105: [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build]
-> retrieved sexplib0.v0.17.0  (cached)
Processing 52/105: [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build]
Processing 53/105: [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build] [sexplib0: dune build]
-> retrieved stdio.v0.17.0  (cached)
Processing 54/105: [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build] [sexplib0: dune build]
-> retrieved stdlib-shims.0.3.0  (cached)
Processing 55/105: [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build] [sexplib0: dune build] [stdlib-shims: dune build]
-> retrieved time_now.v0.17.0  (cached)
-> retrieved dune-configurator.3.16.0  (cached)
Processing 56/105: [dune-configurator: rm] [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build] [sexplib0: dune build] [stdlib-shims: dune build]
-> compiled  ocaml-compiler-libs.v0.12.4
Processing 56/105: [dune-configurator: rm] [ocaml_intrinsics_kernel: dune build] [sexplib0: dune build] [stdlib-shims: dune build]
-> installed ocaml-compiler-libs.v0.12.4
Processing 57/105: [dune-configurator: rm] [ocaml_intrinsics_kernel: dune build] [sexplib0: dune build] [stdlib-shims: dune build]
-> compiled  ocaml_intrinsics_kernel.v0.17.1
Processing 57/105: [dune-configurator: rm] [sexplib0: dune build] [stdlib-shims: dune build]
-> installed ocaml_intrinsics_kernel.v0.17.1
Processing 58/105: [dune-configurator: rm] [sexplib0: dune build] [stdlib-shims: dune build]
-> compiled  sexplib0.v0.17.0
Processing 58/105: [dune-configurator: rm] [stdlib-shims: dune build]
-> installed sexplib0.v0.17.0
Processing 59/105: [dune-configurator: rm] [stdlib-shims: dune build]
-> compiled  stdlib-shims.0.3.0
Processing 59/105: [dune-configurator: rm]
-> installed stdlib-shims.0.3.0
Processing 60/105: [dune-configurator: rm]
Processing 61/105: [dune-configurator: rm] [integers: dune build]
Processing 62/105: [dune-configurator: rm] [integers: dune build] [ppxlib: dune build]
Processing 62/105: [dune-configurator: dune build] [integers: dune build] [ppxlib: dune build]
-> compiled  integers.0.7.0
Processing 62/105: [dune-configurator: dune build] [ppxlib: dune build]
-> installed integers.0.7.0
Processing 63/105: [dune-configurator: dune build] [ppxlib: dune build]
-> compiled  dune-configurator.3.16.0
Processing 63/105: [ppxlib: dune build]
-> installed dune-configurator.3.16.0
Processing 64/105: [ppxlib: dune build]
Processing 65/105: [base: dune build] [ppxlib: dune build]
Processing 66/105: [base: dune build] [ctypes: dune build] [ppxlib: dune build]
Processing 66/105: [base: dune build] [ctypes: dune install] [ppxlib: dune build]
-> compiled  ctypes.0.23.0
Processing 66/105: [base: dune build] [ppxlib: dune build]
-> installed ctypes.0.23.0
Processing 67/105: [base: dune build] [ppxlib: dune build]
Processing 68/105: [base: dune build] [ctypes-foreign: dune build] [ppxlib: dune build]
Processing 68/105: [base: dune build] [ctypes-foreign: dune install] [ppxlib: dune build]
-> compiled  ctypes-foreign.0.23.0
Processing 68/105: [base: dune build] [ppxlib: dune build]
-> installed ctypes-foreign.0.23.0
Processing 69/105: [base: dune build] [ppxlib: dune build]
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlopt.opt -w -40 -g -I src/.base.objs/byte -I src/.base.objs/native -I /home/opam/.opam/5.1/lib/ocaml_intrinsics_kernel -I /home/opam/.opam/5.1/lib/sexplib0 -I hash_types/src/.base_internalhash_types.objs/byte -I hash_types/src/.base_internalhash_types.objs/native -I shadow-stdlib/src/.shadow_stdlib.objs/byte -I shadow-stdlib/src/.shadow_stdlib.objs/native -intf-suffix .ml -no-alias-deps -open Base__ -o src/.base.objs/native/base__Array.cmx -c -impl src/array.ml)
- File "src/array.ml", line 399, characters 28-75:
- 399 |       result := Bool.select ((keep_left_if [@inlined]) (compare x !result)) x !result
-                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Warning 55 [inlining-impossible]: Cannot inline: Unknown function
-> compiled  base.v0.17.1
Processing 69/105: [ppxlib: dune build]
-> installed base.v0.17.1
Processing 70/105: [ppxlib: dune build]
Processing 71/105: [ppxlib: dune build] [stdio: dune build]
-> compiled  stdio.v0.17.0
Processing 71/105: [ppxlib: dune build]
-> installed stdio.v0.17.0
Processing 72/105: [ppxlib: dune build]
+ /home/opam/.opam/5.1/bin/dune "build" "-p" "ppxlib" "-j" "39" "@install" (CWD=/home/opam/.opam/5.1/.opam-switch/build/ppxlib.0.33.1~5.3preview)
-> compiled  ppxlib.0.33.1~5.3preview
-> installed ppxlib.0.33.1~5.3preview
Processing 74/105: [ppx_cold: dune build]
Processing 75/105: [ppx_cold: dune build] [ppx_here: dune build]
Processing 76/105: [ppx_cold: dune build] [ppx_here: dune build] [ppx_optcomp: dune build]
Processing 77/105: [ppx_cold: dune build] [ppx_here: dune build] [ppx_optcomp: dune build] [ppxlib_jane: dune build]
-> compiled  ppxlib_jane.v0.17.0
Processing 77/105: [ppx_cold: dune build] [ppx_here: dune build] [ppx_optcomp: dune build]
-> installed ppxlib_jane.v0.17.0
Processing 78/105: [ppx_cold: dune build] [ppx_here: dune build] [ppx_optcomp: dune build]
Processing 79/105: [ppx_cold: dune build] [ppx_compare: dune build] [ppx_here: dune build] [ppx_optcomp: dune build]
Processing 80/105: [ppx_cold: dune build] [ppx_compare: dune build] [ppx_enumerate: dune build] [ppx_here: dune build] [ppx_optcomp: dune build]
Processing 81/105: [ppx_cold: dune build] [ppx_compare: dune build] [ppx_enumerate: dune build] [ppx_globalize: dune build] [ppx_here: dune build] [ppx_optcomp: dune build]
Processing 82/105: [ppx_cold: dune build] [ppx_compare: dune build] [ppx_enumerate: dune build] [ppx_globalize: dune build] [ppx_here: dune build] [ppx_optcomp: dune build] [ppx_sexp_conv: dune build]
-> compiled  ppx_optcomp.v0.17.0
Processing 82/105: [ppx_cold: dune build] [ppx_compare: dune build] [ppx_enumerate: dune build] [ppx_globalize: dune build] [ppx_here: dune build] [ppx_sexp_conv: dune build]
-> installed ppx_optcomp.v0.17.0
Processing 83/105: [ppx_cold: dune build] [ppx_compare: dune build] [ppx_enumerate: dune build] [ppx_globalize: dune build] [ppx_here: dune build] [ppx_sexp_conv: dune build]
-> compiled  ppx_here.v0.17.0
Processing 83/105: [ppx_cold: dune build] [ppx_compare: dune build] [ppx_enumerate: dune build] [ppx_globalize: dune build] [ppx_sexp_conv: dune build]
-> installed ppx_here.v0.17.0
Processing 84/105: [ppx_cold: dune build] [ppx_compare: dune build] [ppx_enumerate: dune build] [ppx_globalize: dune build] [ppx_sexp_conv: dune build]
-> compiled  ppx_cold.v0.17.0
Processing 84/105: [ppx_compare: dune build] [ppx_enumerate: dune build] [ppx_globalize: dune build] [ppx_sexp_conv: dune build]
-> installed ppx_cold.v0.17.0
Processing 85/105: [ppx_compare: dune build] [ppx_enumerate: dune build] [ppx_globalize: dune build] [ppx_sexp_conv: dune build]
-> compiled  ppx_enumerate.v0.17.0
Processing 85/105: [ppx_compare: dune build] [ppx_globalize: dune build] [ppx_sexp_conv: dune build]
-> installed ppx_enumerate.v0.17.0
Processing 86/105: [ppx_compare: dune build] [ppx_globalize: dune build] [ppx_sexp_conv: dune build]
-> compiled  ppx_globalize.v0.17.0
Processing 86/105: [ppx_compare: dune build] [ppx_sexp_conv: dune build]
-> installed ppx_globalize.v0.17.0
Processing 87/105: [ppx_compare: dune build] [ppx_sexp_conv: dune build]
-> compiled  ppx_compare.v0.17.0
Processing 87/105: [ppx_sexp_conv: dune build]
-> installed ppx_compare.v0.17.0
Processing 88/105: [ppx_sexp_conv: dune build]
+ /home/opam/.opam/5.1/bin/dune "build" "-p" "ppx_sexp_conv" "-j" "39" (CWD=/home/opam/.opam/5.1/.opam-switch/build/ppx_sexp_conv.v0.17.0)
-> compiled  ppx_sexp_conv.v0.17.0
-> installed ppx_sexp_conv.v0.17.0
Processing 90/105: [ppx_assert: dune build]
Processing 91/105: [ppx_assert: dune build] [ppx_hash: dune build]
-> compiled  ppx_hash.v0.17.0
Processing 91/105: [ppx_assert: dune build]
-> installed ppx_hash.v0.17.0
Processing 92/105: [ppx_assert: dune build]
Processing 93/105: [ppx_assert: dune build] [ppx_base: dune build]
-> compiled  ppx_assert.v0.17.0
Processing 93/105: [ppx_base: dune build]
-> installed ppx_assert.v0.17.0
Processing 94/105: [ppx_base: dune build]
Processing 95/105: [jst-config: dune build] [ppx_base: dune build]
-> compiled  ppx_base.v0.17.0
Processing 95/105: [jst-config: dune build]
-> installed ppx_base.v0.17.0
Processing 96/105: [jst-config: dune build]
+ /home/opam/.opam/5.1/bin/dune "build" "-p" "jst-config" "-j" "39" (CWD=/home/opam/.opam/5.1/.opam-switch/build/jst-config.v0.17.0)
-> compiled  jst-config.v0.17.0
-> installed jst-config.v0.17.0
Processing 98/105: [time_now: dune build]
+ /home/opam/.opam/5.1/bin/dune "build" "-p" "time_now" "-j" "39" (CWD=/home/opam/.opam/5.1/.opam-switch/build/time_now.v0.17.0)
-> compiled  time_now.v0.17.0
-> installed time_now.v0.17.0
Processing 100/105: [ppx_inline_test: dune build]
+ /home/opam/.opam/5.1/bin/dune "build" "-p" "ppx_inline_test" "-j" "39" (CWD=/home/opam/.opam/5.1/.opam-switch/build/ppx_inline_test.v0.17.0)
-> compiled  ppx_inline_test.v0.17.0
-> installed ppx_inline_test.v0.17.0
Processing 102/105: [ppx_expect: dune build]
+ /home/opam/.opam/5.1/bin/dune "build" "-p" "ppx_expect" "-j" "39" (CWD=/home/opam/.opam/5.1/.opam-switch/build/ppx_expect.v0.17.0)
-> compiled  ppx_expect.v0.17.0
-> installed ppx_expect.v0.17.0

#=== ERROR while compiling conf-cuda.1 ========================================#
# context              2.1.6 | linux/x86_64 | ocaml-base-compiler.5.1.1 | file:///src
# path                 ~/.opam/5.1/.opam-switch/build/conf-cuda.1
# command              /usr/bin/sh -exc cc -c $CFLAGS -I/usr/local/cuda/include test.c
# exit-code            1
# env-file             ~/.opam/log/conf-cuda-113-df9b2d.env
# output-file          ~/.opam/log/conf-cuda-113-df9b2d.out
### output ###
# + cc -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 were aborted
| - install cudajit 0.5.0
+- 
+- The following actions failed
| - build conf-cuda 1
+- 
+- The following changes have been performed (the rest was aborted)
| - install base                    v0.17.1
| - install bigarray-compat         1.1.0
| - install conf-cuda-config        1
| - install conf-libffi             2.0.0
| - install conf-pkg-config         3
| - install csexp                   1.5.2
| - install ctypes                  0.23.0
| - install ctypes-foreign          0.23.0
| - install dune-configurator       3.16.0
| - install integers                0.7.0
| - install jane-street-headers     v0.17.0
| - install jst-config              v0.17.0
| - install ocaml-compiler-libs     v0.12.4
| - 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.0
| - install ppx_globalize           v0.17.0
| - install ppx_hash                v0.17.0
| - install ppx_here                v0.17.0
| - install ppx_inline_test         v0.17.0
| - install ppx_optcomp             v0.17.0
| - install ppx_sexp_conv           v0.17.0
| - install ppxlib                  0.33.1~5.3preview
| - install ppxlib_jane             v0.17.0
| - 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. See: https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html
# Run eval $(opam env) to update the current shell environment

The former state can be restored with:
    /usr/bin/opam switch import "/home/opam/.opam/5.1/.opam-switch/backup/state-20241004192040.export"
'opam --cli=2.1 install cudajit.0.5.0 time_now.v0.17.0 stdlib-shims.0.3.0 stdio.v0.17.0 sexplib0.v0.17.0 ppxlib_jane.v0.17.0 ppxlib.0.33.1~5.3preview ppx_sexp_conv.v0.17.0 ppx_optcomp.v0.17.0 ppx_inline_test.v0.17.0 ppx_here.v0.17.0 ppx_hash.v0.17.0 ppx_globalize.v0.17.0 ppx_expect.v0.17.0 ppx_enumerate.v0.17.0 ppx_derivers.1.2.1 ppx_compare.v0.17.0 ppx_cold.v0.17.0 ppx_base.v0.17.0 ppx_assert.v0.17.0 ocaml_intrinsics_kernel.v0.17.1 ocaml-compiler-libs.v0.12.4 jst-config.v0.17.0 jane-street-headers.v0.17.0 integers.0.7.0 host-arch-x86_64.1 dune-configurator.3.16.0 dune.3.16.0 ctypes-foreign.0.23.0 ctypes.0.23.0 csexp.1.5.2 conf-pkg-config.3 conf-libffi.2.0.0 conf-cuda-config.1 conf-cuda.1 bigarray-compat.1.1.0 base.v0.17.1 --verbose --yes --confirm-level=unsafe-yes' failed.
2024-10-04 19:22.44 ---> saved as "cf15af3886496aa10c73646feb93f45305a835e2ad1e5360afe4f8aa0c18d4dc"

/home/opam: (run (shell "opam exec -- ~/voodoo-prep -u cudajit:7f0fa4fd84cd2e3f94160f7fc71b7c50,conf-cuda-config:d41d8cd98f00b204e9800998ecf8427e,conf-cuda:1c97699f85e02f5a45512eb43759146c"))
2024-10-04 19:22.46 ---> saved as "e9134e593abe2fdf530f5013270da25e752d0824d50c1015e28753f2d5ba5a59"

/home/opam: (run (network host)
                 (secrets (ssh_privkey (target /home/opam/.ssh/id_rsa)) (ssh_pubkey (target /home/opam/.ssh/id_rsa.pub)) (ssh_config (target /home/opam/.ssh/config)))
                 (shell "(echo '0.750274') && (for DATA in prep/universes/1c97699f85e02f5a45512eb43759146c/conf-cuda/1,conf-cuda.1-1c97699f85e02f5a45512eb43759146c,conf-cuda.1 prep/universes/d41d8cd98f00b204e9800998ecf8427e/conf-cuda-config/1,conf-cuda-config.1-d41d8cd98f00b204e9800998ecf8427e,conf-cuda-config.1 prep/universes/7f0fa4fd84cd2e3f94160f7fc71b7c50/cudajit/0.5.0,cudajit.0.5.0-7f0fa4fd84cd2e3f94160f7fc71b7c50,cudajit.0.5.0; do IFS=\",\"; set -- $DATA; ([ -d $1 ] || (echo \"FAILED:$2\" && mkdir -p $1 && cp ~/opam.err.log $1 && opam show $3 --raw > $1/opam)) && (shopt -s nullglob && ((tar -cvf $1.tar $1/*  && rm -R $1/* && mv $1.tar $1/content.tar) || (echo 'Empty directory'))) done) && (for DATA in prep/universes/1c97699f85e02f5a45512eb43759146c/conf-cuda/1,conf-cuda.1-1c97699f85e02f5a45512eb43759146c,conf-cuda.1 prep/universes/d41d8cd98f00b204e9800998ecf8427e/conf-cuda-config/1,conf-cuda-config.1-d41d8cd98f00b204e9800998ecf8427e,conf-cuda-config.1 prep/universes/7f0fa4fd84cd2e3f94160f7fc71b7c50/cudajit/0.5.0,cudajit.0.5.0-7f0fa4fd84cd2e3f94160f7fc71b7c50,cudajit.0.5.0; do IFS=\",\"; set -- $DATA; rsync -aR --no-p ./$1 docs.ci.ocaml.org:/data/.; done) && (for DATA in prep/universes/1c97699f85e02f5a45512eb43759146c/conf-cuda/1,conf-cuda.1-1c97699f85e02f5a45512eb43759146c,conf-cuda.1 prep/universes/d41d8cd98f00b204e9800998ecf8427e/conf-cuda-config/1,conf-cuda-config.1-d41d8cd98f00b204e9800998ecf8427e,conf-cuda-config.1 prep/universes/7f0fa4fd84cd2e3f94160f7fc71b7c50/cudajit/0.5.0,cudajit.0.5.0-7f0fa4fd84cd2e3f94160f7fc71b7c50,cudajit.0.5.0; do IFS=\",\"; set -- $DATA; HASH=$((sha256sum $1/content.tar | cut -d \" \" -f 1)  || echo -n 'empty'); printf \"HASHES:$2:$HASH\\n\"; done)"))
0.750274
FAILED:conf-cuda.1-1c97699f85e02f5a45512eb43759146c
prep/universes/1c97699f85e02f5a45512eb43759146c/conf-cuda/1/opam
prep/universes/1c97699f85e02f5a45512eb43759146c/conf-cuda/1/opam.err.log
prep/universes/d41d8cd98f00b204e9800998ecf8427e/conf-cuda-config/1/opam
FAILED:cudajit.0.5.0-7f0fa4fd84cd2e3f94160f7fc71b7c50
prep/universes/7f0fa4fd84cd2e3f94160f7fc71b7c50/cudajit/0.5.0/opam
prep/universes/7f0fa4fd84cd2e3f94160f7fc71b7c50/cudajit/0.5.0/opam.err.log
Warning: Permanently added '[docs.ci.ocaml.org]:2222' (ED25519) to the list of known hosts.
Warning: Permanently added '[docs.ci.ocaml.org]:2222' (ED25519) to the list of known hosts.
Warning: Permanently added '[docs.ci.ocaml.org]:2222' (ED25519) to the list of known hosts.
HASHES:conf-cuda.1-1c97699f85e02f5a45512eb43759146c:a3d9fa0cf67aafa667363d605dd2d3433f419c0c6437006f3ba510157e6d5893
HASHES:conf-cuda-config.1-d41d8cd98f00b204e9800998ecf8427e:715a462d15cf393406c3300772bfa846785c5955873f68bab9be0fede6ec851f
HASHES:cudajit.0.5.0-7f0fa4fd84cd2e3f94160f7fc71b7c50:21d0b0c8a46ab3a9cfc1d8e9b252848513af93c9d38c3f6fa996538b46ad2092
2024-10-04 19:22.52 ---> saved as "41ae22e6af646840c99a0a1d19a88b05894844a94003addc2b6e07c71a7408a2"
Job succeeded
2024-10-04 19:30.05: Failed: conf-cuda.1-1c97699f85e02f5a45512eb43759146c
2024-10-04 19:30.05: Failed: cudajit.0.5.0-7f0fa4fd84cd2e3f94160f7fc71b7c50
2024-10-04 19:30.05: cudajit.0.5.0-7f0fa4fd84cd2e3f94160f7fc71b7c50 -> 21d0b0c8a46ab3a9cfc1d8e9b252848513af93c9d38c3f6fa996538b46ad2092
2024-10-04 19:30.05: conf-cuda-config.1-d41d8cd98f00b204e9800998ecf8427e -> 715a462d15cf393406c3300772bfa846785c5955873f68bab9be0fede6ec851f
2024-10-04 19:30.05: conf-cuda.1-1c97699f85e02f5a45512eb43759146c -> a3d9fa0cf67aafa667363d605dd2d3433f419c0c6437006f3ba510157e6d5893
2024-10-04 19:30.05: Job succeeded