Build:
  1. 0
2024-10-04 01:20.30: New job: Voodoo prep cudajit.0.4.1; 25908b07ba336719dabdfb419d304279
2024-10-04 01:20.30: Waiting for resource in pool OCluster
2024-10-04 01:21.56: Waiting for worker…
2024-10-04 01:21.56: Got resource from pool OCluster
2024-10-04 01:21.56: 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.4.1 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.0 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:25908b07ba336719dabdfb419d304279"))
 (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.853865') && (for DATA in prep/universes/25908b07ba336719dabdfb419d304279/cudajit/0.4.1,cudajit.0.4.1-25908b07ba336719dabdfb419d304279,cudajit.0.4.1; 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/25908b07ba336719dabdfb419d304279/cudajit/0.4.1,cudajit.0.4.1-25908b07ba336719dabdfb419d304279,cudajit.0.4.1; do IFS=\",\"; set -- $DATA; rsync -aR --no-p ./$1 docs.ci.ocaml.org:/data/.; done) && (for DATA in prep/universes/25908b07ba336719dabdfb419d304279/cudajit/0.4.1,cudajit.0.4.1-25908b07ba336719dabdfb419d304279,cudajit.0.4.1; 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 ef826c68ae54223ea190898ee333a2820951ff74 --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 01:21.56: RETRYING: 2024-10-04/012030-voodoo-prep-69b57d Number of retries: 0 (retriable error condition)
Building on doris.caelum.ci.dev
All commits already cached
Updating files:  76% (24719/32342)
Updating files:  77% (24904/32342)
Updating files:  78% (25227/32342)
Updating files:  79% (25551/32342)
Updating files:  80% (25874/32342)
Updating files:  81% (26198/32342)
Updating files:  82% (26521/32342)
Updating files:  83% (26844/32342)
Updating files:  84% (27168/32342)
Updating files:  85% (27491/32342)
Updating files:  86% (27815/32342)
Updating files:  87% (28138/32342)
Updating files:  88% (28461/32342)
Updating files:  89% (28785/32342)
Updating files:  90% (29108/32342)
Updating files:  91% (29432/32342)
Updating files:  92% (29755/32342)
Updating files:  93% (30079/32342)
Updating files:  94% (30402/32342)
Updating files:  95% (30725/32342)
Updating files:  96% (31049/32342)
Updating files:  97% (31372/32342)
Updating files:  98% (31696/32342)
Updating files:  99% (32019/32342)
Updating files: 100% (32342/32342)
Updating files: 100% (32342/32342), done.
HEAD is now at ef826c68ae Package cudajit.0.4.1

(build "tools" …)

(from ocaml/opam:debian-12-ocaml-5.1@sha256:8454684bf95fc76f026876958cb517051d66ea42a82ff693c5d8d4bb32fb57f4)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.1@sha256:8454684bf95fc76f026876958cb517051d66ea42a82ff693c5d8d4bb32fb57f4' locally
docker.io/ocaml/opam@sha256:8454684bf95fc76f026876958cb517051d66ea42a82ff693c5d8d4bb32fb57f4: Pulling from ocaml/opam
2632d5ed6db8: Pulling fs layer
2632d5ed6db8: Verifying Checksum
2632d5ed6db8: Download complete
2632d5ed6db8: Pull complete
Digest: sha256:8454684bf95fc76f026876958cb517051d66ea42a82ff693c5d8d4bb32fb57f4
Status: Downloaded newer image for ocaml/opam@sha256:8454684bf95fc76f026876958cb517051d66ea42a82ff693c5d8d4bb32fb57f4
2024-10-04 01:15.05 ---> saved as "9a55e2be621a265ca6b967131795132de8f4abdf359ac93d16624739bcfc811d"

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo chown opam:opam /home/opam"))
2024-10-04 01:15.05 ---> 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 1s (446 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 (6784 kB/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 01:15.08 ---> 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 jsonm.1.0.2
-> installed fpath.0.7.3
-> installed logs.0.7.0
-> installed dune.3.16.0
-> installed stdlib-shims.0.3.0
-> installed swhid_core.0.1
-> installed bos.0.2.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 01:15.59 ---> saved as "4cf8f1f1cb34d47ca43f1ebfa5f6bcaca3f9673f5c4d8e89c169033666ae5780"

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

(from ocaml/opam:debian-12-ocaml-5.1@sha256:8454684bf95fc76f026876958cb517051d66ea42a82ff693c5d8d4bb32fb57f4)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.1@sha256:8454684bf95fc76f026876958cb517051d66ea42a82ff693c5d8d4bb32fb57f4' locally
docker.io/ocaml/opam@sha256:8454684bf95fc76f026876958cb517051d66ea42a82ff693c5d8d4bb32fb57f4: Pulling from ocaml/opam
2632d5ed6db8: Pulling fs layer
2632d5ed6db8: Verifying Checksum
2632d5ed6db8: Download complete
2632d5ed6db8: Pull complete
Digest: sha256:8454684bf95fc76f026876958cb517051d66ea42a82ff693c5d8d4bb32fb57f4
Status: Downloaded newer image for ocaml/opam@sha256:8454684bf95fc76f026876958cb517051d66ea42a82ff693c5d8d4bb32fb57f4
2024-10-04 01:15.59 ---> 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 01:15.59 ---> using "ce07c67eb522cd1e99d4ddcbe25aa3523a2d9355c985d65c082e5ca1be6345c4" from cache

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

/home/opam: (copy (src packages) (dst /src/packages))
2024-10-04 01:16.10 ---> saved as "b661d1efcfa732af3029889fafb04a90f0f2ec41c1e3c00df10c59ddb160d3fc"

/home/opam: (copy (src repo) (dst /src/repo))
2024-10-04 01:16.10 ---> saved as "5a529e41ae820a07311b02d7de740294257888e044be15598122d80b625014b0"

/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.

Continue? [Y/n] y
Format upgrade done.
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.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-10-04 01:17.16 ---> saved as "65a90de2f155de4833944b600c563f38fcca51e64782a27c151118a1af206165"

/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 01:17.36 ---> saved as "bead521d0c249f188f5f0a4a10d18183896bfa2190b791ef74e9ba9a3393af75"

/home/opam: (copy (from (build tools))
                  (src /home/opam/voodoo-prep)
                  (dst /home/opam/))
2024-10-04 01:17.36 ---> saved as "063e69109ec73f3f2acee8255cb344e0f7c5f31be7719e45dd831a1a3dcaf07d"

/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 01:18.08 ---> saved as "af271b10eb3cc7c8e9d47c077f48b311af537bb611f238902c2a427b7ad8aeba"

/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.4.1 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.0 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 [186 kB]
Fetched 290 kB in 0s (764 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.4.1 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.0 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.0
  - 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.4.1
===== 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: [cudajit.0.4.1: http] [bigarray-compat: dune build] [conf-cuda-config: sh] [conf-pkg-config: pkg-config]
Processing 14/105: [cudajit.0.4.1: http] [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: [cudajit.0.4.1: http] [bigarray-compat: dune build] [conf-pkg-config: pkg-config] [csexp: dune build]
-> installed conf-cuda-config.1
Processing 15/105: [cudajit.0.4.1: http] [bigarray-compat: dune build] [conf-pkg-config: pkg-config] [csexp: dune build]
Processing 16/105: [cudajit.0.4.1: http] [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: [cudajit.0.4.1: http] [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: [cudajit.0.4.1: http] [bigarray-compat: dune build] [conf-cuda: sh cat <<EOF > test.c
   #include  "cuda.h"
   #include  "nvrtc.h"
   ] [csexp: dune build]
Processing 18/105: [cudajit.0.4.1: http] [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: [cudajit.0.4.1: http] [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: [cudajit.0.4.1: http] [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 20/105: [cudajit.0.4.1: http] [bigarray-compat: dune build] [conf-cuda: sh] [conf-libffi: pkg-config libffi] [csexp: dune build]
-> compiled  conf-libffi.2.0.0
Processing 20/105: [cudajit.0.4.1: http] [bigarray-compat: dune build] [conf-cuda: sh] [csexp: dune build]
-> installed conf-libffi.2.0.0
Processing 21/105: [cudajit.0.4.1: http] [bigarray-compat: dune build] [conf-cuda: sh] [csexp: dune build]
-> retrieved integers.0.7.0  (cached)
Processing 22/105: [cudajit.0.4.1: http] [bigarray-compat: dune build] [conf-cuda: sh] [csexp: 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 22/105: [cudajit.0.4.1: http] [bigarray-compat: dune build] [csexp: dune build]
Processing 23/105: [cudajit.0.4.1: http] [bigarray-compat: dune build] [csexp: dune build]
-> retrieved jane-street-headers.v0.17.0  (cached)
Processing 24/105: [cudajit.0.4.1: http] [bigarray-compat: dune build] [csexp: dune build]
Processing 25/105: [cudajit.0.4.1: http] [bigarray-compat: dune build] [csexp: dune build] [jane-street-headers: dune build]
-> retrieved jst-config.v0.17.0  (cached)
Processing 26/105: [cudajit.0.4.1: http] [bigarray-compat: dune build] [csexp: dune build] [jane-street-headers: dune build]
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
Processing 27/105: [cudajit.0.4.1: http] [bigarray-compat: dune build] [csexp: dune build] [jane-street-headers: dune build]
Processing 28/105: [cudajit.0.4.1: http] [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 29/105: [cudajit.0.4.1: http] [bigarray-compat: dune build] [csexp: dune build] [jane-street-headers: dune build] [ocaml-compiler-libs: dune build]
Processing 30/105: [cudajit.0.4.1: http] [bigarray-compat: dune build] [csexp: dune build] [jane-street-headers: dune build] [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build]
-> retrieved ppx_assert.v0.17.0  (cached)
Processing 31/105: [cudajit.0.4.1: http] [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: [cudajit.0.4.1: http] [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: [cudajit.0.4.1: http] [bigarray-compat: dune build] [jane-street-headers: dune build] [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build]
-> retrieved ppx_base.v0.17.0  (cached)
Processing 33/105: [cudajit.0.4.1: http] [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 33/105: [cudajit.0.4.1: http] [jane-street-headers: dune build] [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build]
-> installed bigarray-compat.1.1.0
Processing 34/105: [cudajit.0.4.1: http] [jane-street-headers: dune build] [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build]
-> retrieved ppx_cold.v0.17.0  (cached)
Processing 35/105: [cudajit.0.4.1: http] [jane-street-headers: dune build] [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build]
-> retrieved ppx_compare.v0.17.0  (cached)
Processing 36/105: [cudajit.0.4.1: http] [jane-street-headers: dune build] [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build]
-> retrieved ppx_derivers.1.2.1  (cached)
Processing 37/105: [cudajit.0.4.1: http] [jane-street-headers: dune build] [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build]
Processing 38/105: [cudajit.0.4.1: http] [jane-street-headers: dune build] [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build] [ppx_derivers: dune build]
-> retrieved ppx_enumerate.v0.17.0  (cached)
Processing 39/105: [cudajit.0.4.1: http] [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: [cudajit.0.4.1: http] [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build] [ppx_derivers: dune build]
-> installed jane-street-headers.v0.17.0
Processing 40/105: [cudajit.0.4.1: http] [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build] [ppx_derivers: dune build]
-> retrieved ppx_expect.v0.17.0  (cached)
Processing 41/105: [cudajit.0.4.1: http] [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build] [ppx_derivers: dune build]
-> retrieved ppx_globalize.v0.17.0  (cached)
Processing 42/105: [cudajit.0.4.1: http] [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build] [ppx_derivers: dune build]
Processing 42/105: [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build] [ppx_derivers: dune build]
-> retrieved ppx_hash.v0.17.0  (cached)
Processing 43/105: [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build] [ppx_derivers: dune build]
-> retrieved cudajit.0.4.1  (https://github.com/lukstafi/ocaml-cudajit/archive/refs/tags/0.4.1.1.tar.gz)
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_jane.v0.17.0  (cached)
Processing 50/105: [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build]
-> retrieved sexplib0.v0.17.0  (cached)
Processing 51/105: [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build]
Processing 52/105: [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build] [sexplib0: dune build]
-> retrieved stdio.v0.17.0  (cached)
Processing 53/105: [ocaml-compiler-libs: dune build] [ocaml_intrinsics_kernel: dune build] [sexplib0: dune build]
-> compiled  ocaml_intrinsics_kernel.v0.17.1
Processing 53/105: [ocaml-compiler-libs: dune build] [sexplib0: dune build]
-> installed ocaml_intrinsics_kernel.v0.17.1
Processing 54/105: [ocaml-compiler-libs: dune build] [sexplib0: dune build]
-> retrieved stdlib-shims.0.3.0  (cached)
Processing 55/105: [ocaml-compiler-libs: dune build] [sexplib0: dune build]
Processing 56/105: [ocaml-compiler-libs: dune build] [sexplib0: dune build] [stdlib-shims: dune build]
-> retrieved ppxlib.0.33.0  (cached)
-> retrieved dune-configurator.3.16.0  (cached)
Processing 57/105: [dune-configurator: rm] [ocaml-compiler-libs: dune build] [sexplib0: dune build] [stdlib-shims: dune build]
-> compiled  ocaml-compiler-libs.v0.12.4
Processing 57/105: [dune-configurator: rm] [sexplib0: dune build] [stdlib-shims: dune build]
-> installed ocaml-compiler-libs.v0.12.4
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]
-> retrieved time_now.v0.17.0  (cached)
-> 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]
- (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 68/105: [ctypes-foreign: dune build] [ppxlib: dune build]
-> installed base.v0.17.1
Processing 69/105: [ctypes-foreign: dune build] [ppxlib: dune build]
Processing 70/105: [ctypes-foreign: dune build] [ppxlib: dune build] [stdio: dune build]
-> compiled  stdio.v0.17.0
Processing 70/105: [ctypes-foreign: dune build] [ppxlib: dune build]
-> installed stdio.v0.17.0
Processing 71/105: [ctypes-foreign: dune build] [ppxlib: dune build]
Processing 71/105: [ctypes-foreign: dune install] [ppxlib: dune build]
-> compiled  ctypes-foreign.0.23.0
Processing 71/105: [ppxlib: dune build]
-> installed ctypes-foreign.0.23.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.0)
-> compiled  ppxlib.0.33.0
-> installed ppxlib.0.33.0
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_cold.v0.17.0
Processing 83/105: [ppx_compare: dune build] [ppx_enumerate: dune build] [ppx_globalize: dune build] [ppx_here: dune build] [ppx_sexp_conv: dune build]
-> installed ppx_cold.v0.17.0
Processing 84/105: [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 84/105: [ppx_compare: dune build] [ppx_enumerate: dune build] [ppx_globalize: dune build] [ppx_sexp_conv: dune build]
-> installed ppx_here.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-cac18b.env
# output-file          ~/.opam/log/conf-cuda-113-cac18b.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.4.1
+- 
+- 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.0
| - 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-20241004011902.export"
'opam --cli=2.1 install cudajit.0.4.1 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.0 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 01:20.02 ---> saved as "8c6c8c196c64b9d63e92684e6cdc4d2a4a1ef175cfc80490a4962997f9cda122"

/home/opam: (run (shell "opam exec -- ~/voodoo-prep -u cudajit:25908b07ba336719dabdfb419d304279"))
2024-10-04 01:20.04 ---> saved as "abbaee5c4545aebd73afd6087fe70ced91de29a4f4bfb1372fef50405c3b0429"

/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.853865') && (for DATA in prep/universes/25908b07ba336719dabdfb419d304279/cudajit/0.4.1,cudajit.0.4.1-25908b07ba336719dabdfb419d304279,cudajit.0.4.1; 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/25908b07ba336719dabdfb419d304279/cudajit/0.4.1,cudajit.0.4.1-25908b07ba336719dabdfb419d304279,cudajit.0.4.1; do IFS=\",\"; set -- $DATA; rsync -aR --no-p ./$1 docs.ci.ocaml.org:/data/.; done) && (for DATA in prep/universes/25908b07ba336719dabdfb419d304279/cudajit/0.4.1,cudajit.0.4.1-25908b07ba336719dabdfb419d304279,cudajit.0.4.1; do IFS=\",\"; set -- $DATA; HASH=$((sha256sum $1/content.tar | cut -d \" \" -f 1)  || echo -n 'empty'); printf \"HASHES:$2:$HASH\\n\"; done)"))
0.853865
FAILED:cudajit.0.4.1-25908b07ba336719dabdfb419d304279
prep/universes/25908b07ba336719dabdfb419d304279/cudajit/0.4.1/opam
prep/universes/25908b07ba336719dabdfb419d304279/cudajit/0.4.1/opam.err.log
Warning: Permanently added '[docs.ci.ocaml.org]:2222' (ED25519) to the list of known hosts.
HASHES:cudajit.0.4.1-25908b07ba336719dabdfb419d304279:23dd9d0105b727e9204837008ef0a98e573826ba0d447f29959dca090186c3c6
2024-10-04 01:20.06 ---> saved as "296b373639613619f2333052de150973b35c42faf5f70a09a838725b126a59b9"
Job succeeded
2024-10-04 01:27.36: Failed: cudajit.0.4.1-25908b07ba336719dabdfb419d304279
2024-10-04 01:27.36: cudajit.0.4.1-25908b07ba336719dabdfb419d304279 -> 23dd9d0105b727e9204837008ef0a98e573826ba0d447f29959dca090186c3c6
2024-10-04 01:27.36: Job succeeded