Build:
  1. 0
2024-09-12 08:35.54: New job: Voodoo prep hidapi.1.0; a07893638bb99fa6a9a18cf7e89648ba
2024-09-12 08:35.54: Waiting for resource in pool OCluster
2024-09-12 20:21.14: Waiting for worker…
2024-09-12 20:21.51: Got resource from pool OCluster
2024-09-12 20:21.51: Using cache hint "docs-universe-prep-4.11.2"

To reproduce locally:

cat > prep.spec <<'END-OF-SPEC'
((build tools
        ((from ocaml/opam:debian-12-ocaml-4.11@sha256:7a3d58c501028d55318e8ea9416b7c488fb2b901d00e3eae4ea94bf5181476e7)
         (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-4.11@sha256:7a3d58c501028d55318e8ea9416b7c488fb2b901d00e3eae4ea94bf5181476e7)
 (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.1.11.4 ocamlfind.1.9.6"))
 (env DUNE_CACHE disabled)
 (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 hidapi.1.0 stdio.v0.13.0 sexplib0.v0.13.0 ocamlfind.1.9.6 jbuilder.transition dune-configurator.1.0.0 dune.1.11.4 configurator.v0.11.0 conf-pkg-config.3 conf-hidapi.0 bigstring.0.3 base-bytes.base base.v0.13.2 2>&1 | tee ~/opam.err.log) || echo 'Failed to install all packages')"))
 (run (shell "opam exec -- ~/voodoo-prep -u hidapi:a07893638bb99fa6a9a18cf7e89648ba"))
 (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.530555') && (for DATA in prep/universes/a07893638bb99fa6a9a18cf7e89648ba/hidapi/1.0,hidapi.1.0-a07893638bb99fa6a9a18cf7e89648ba,hidapi.1.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/a07893638bb99fa6a9a18cf7e89648ba/hidapi/1.0,hidapi.1.0-a07893638bb99fa6a9a18cf7e89648ba,hidapi.1.0; do IFS=\",\"; set -- $DATA; rsync -aR --no-p ./$1 docs.ci.ocaml.org:/data/.; done) && (for DATA in prep/universes/a07893638bb99fa6a9a18cf7e89648ba/hidapi/1.0,hidapi.1.0-a07893638bb99fa6a9a18cf7e89648ba,hidapi.1.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 54fcd3e447eb686fafbcc22ff932ebae133ed39e --local-file prep.spec \
--pool linux-x86_64 --connect ocluster-submission.cap --cache-hint docs-universe-prep-4.11.2 \
--secret ssh_privkey:id_rsa --secret ssh_pubkey:id_rsa.pub--secret ssh_config:ssh_config

2024-09-12 20:21.51: RETRYING: 2024-09-12/083554-voodoo-prep-cf314e Number of retries: 0 (retriable error condition)
Building on x86-bm-c2.sw.ocaml.org
All commits already cached
Updating files:  56% (17872/31627)
Updating files:  57% (18028/31627)
Updating files:  58% (18344/31627)
Updating files:  59% (18660/31627)
Updating files:  60% (18977/31627)
Updating files:  61% (19293/31627)
Updating files:  62% (19609/31627)
Updating files:  63% (19926/31627)
Updating files:  64% (20242/31627)
Updating files:  65% (20558/31627)
Updating files:  66% (20874/31627)
Updating files:  67% (21191/31627)
Updating files:  68% (21507/31627)
Updating files:  69% (21823/31627)
Updating files:  70% (22139/31627)
Updating files:  71% (22456/31627)
Updating files:  72% (22772/31627)
Updating files:  73% (23088/31627)
Updating files:  74% (23404/31627)
Updating files:  75% (23721/31627)
Updating files:  76% (24037/31627)
Updating files:  77% (24353/31627)
Updating files:  78% (24670/31627)
Updating files:  79% (24986/31627)
Updating files:  80% (25302/31627)
Updating files:  81% (25618/31627)
Updating files:  82% (25935/31627)
Updating files:  83% (26251/31627)
Updating files:  84% (26567/31627)
Updating files:  85% (26883/31627)
Updating files:  86% (27200/31627)
Updating files:  87% (27516/31627)
Updating files:  88% (27832/31627)
Updating files:  89% (28149/31627)
Updating files:  90% (28465/31627)
Updating files:  91% (28781/31627)
Updating files:  92% (29097/31627)
Updating files:  93% (29414/31627)
Updating files:  94% (29730/31627)
Updating files:  95% (30046/31627)
Updating files:  96% (30362/31627)
Updating files:  97% (30679/31627)
Updating files:  98% (30995/31627)
Updating files:  99% (31311/31627)
Updating files: 100% (31627/31627)
Updating files: 100% (31627/31627), done.
HEAD is now at 54fcd3e447 Update pkg-config depexts for Cygwin

(build "tools" …)

(from ocaml/opam:debian-12-ocaml-4.11@sha256:7a3d58c501028d55318e8ea9416b7c488fb2b901d00e3eae4ea94bf5181476e7)
2024-09-12 20:14.36 ---> using "7c9d80c6275be1f462cb36204c6232602c0fc1a02021eb94be1f064ed4e2f59d" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo chown opam:opam /home/opam"))
2024-09-12 20:14.36 ---> using "0093d7b4c20be4dd707452f439cd49ab24236fab760f7f266c01bc0ee6cd14a1" from cache

/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 bookworm-updates/main amd64 Packages.diff/Index [11.7 kB]
Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2024-09-10-2011.55-F-2024-09-10-2011.55.pdiff [1116 B]
Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2024-09-10-2011.55-F-2024-09-10-2011.55.pdiff [1116 B]
Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [179 kB]
Fetched 295 kB in 0s (821 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 0 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 (15.8 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 ... 18733 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-09-12 20:14.36 ---> using "dfd4b37791106907970385fe62a1efa30f393e29bb49557aec08d4939964d28f" from cache

/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.11.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.11.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 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.11.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-09-12 20:14.36 ---> using "d65d5ed31040ffe11d9e2a12be532dfa11793930e7d989b6ba3e87a4792f8a37" from cache

/home/opam: (run (shell "cp $(opam config var bin)/voodoo-prep /home/opam"))
2024-09-12 20:14.36 ---> using "452314a0c194f85e51fffeb6293563780c98a1438fdc31741df4823e584ee9f9" from cache
2024-09-12 20:14.36 --> finished "tools"

(from ocaml/opam:debian-12-ocaml-4.11@sha256:7a3d58c501028d55318e8ea9416b7c488fb2b901d00e3eae4ea94bf5181476e7)
2024-09-12 20:14.36 ---> using "7c9d80c6275be1f462cb36204c6232602c0fc1a02021eb94be1f064ed4e2f59d" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo chown opam:opam /home/opam"))
2024-09-12 20:14.36 ---> using "0093d7b4c20be4dd707452f439cd49ab24236fab760f7f266c01bc0ee6cd14a1" from cache

/home/opam: (run (shell "sudo mkdir /src"))
2024-09-12 20:14.36 ---> using "2b0453ff944b8fee0761ccc2c65a37945587669066061243f0221d51360f5a60" from cache

/home/opam: (copy (src packages) (dst /src/packages))
2024-09-12 20:14.46 ---> saved as "5d87c3b8ad09f3431c1d0656024b30c8aa87ae8d70efe4b5bda51cfc4653ec6e"

/home/opam: (copy (src repo) (dst /src/repo))
2024-09-12 20:14.46 ---> saved as "80196807d8a3bbf8a869a32198aabe568f3f534e29c4e0706e45a469f8bd105b"

/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-09-12 20:16.07 ---> saved as "a8d8434d85475183aa79455551bbe10e9412240133227281405b5e72b88b7e1c"

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

2024-09-12 20:16.29 ---> saved as "d0826c71120bd5dbae2ee280370c53bd6b04adbab3410edd5ddd92b785f85885"

/home/opam: (copy (from (build tools))
                  (src /home/opam/voodoo-prep)
                  (dst /home/opam/))
2024-09-12 20:16.30 ---> saved as "33bb7e49fffbeb00c200934d24dfa53f8069c6690a2434421630aeb33fad6558"

/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.1.11.4 ocamlfind.1.9.6"))
The following actions will be performed:
  - install dune      1.11.4
  - install ocamlfind 1.9.6
===== 2 to install =====

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved dune.1.11.4  (cached)
-> installed ocamlfind.1.9.6
-> installed dune.1.11.4
Done.
# Run eval $(opam env) to update the current shell environment
2024-09-12 20:17.15 ---> saved as "b3a774c8d720406b617ae27c09b7a34b1b6345221f7b5e9649017004f78efb1a"

/home/opam: (env DUNE_CACHE disabled)

/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 hidapi.1.0 stdio.v0.13.0 sexplib0.v0.13.0 ocamlfind.1.9.6 jbuilder.transition dune-configurator.1.0.0 dune.1.11.4 configurator.v0.11.0 conf-pkg-config.3 conf-hidapi.0 bigstring.0.3 base-bytes.base base.v0.13.2 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 bookworm-updates/main amd64 Packages.diff/Index [11.7 kB]
Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2024-09-10-2011.55-F-2024-09-10-2011.55.pdiff [1116 B]
Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2024-09-10-2011.55-F-2024-09-10-2011.55.pdiff [1116 B]
Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [179 kB]
Fetched 295 kB in 0s (992 kB/s)
Reading package lists...
Building dependency tree...
Reading state information...
All packages are up to date.
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 hidapi.1.0 stdio.v0.13.0 sexplib0.v0.13.0 ocamlfind.1.9.6 jbuilder.transition dune-configurator.1.0.0 dune.1.11.4 configurator.v0.11.0 conf-pkg-config.3 conf-hidapi.0 bigstring.0.3 base-bytes.base base.v0.13.2" 

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:
libhidapi-dev
pkg-config
[NOTE] Package dune is already installed (current version is 1.11.4).
[NOTE] Package ocamlfind is already installed (current version is 1.9.6).
The following actions will be performed:
  - install dune-configurator 1.0.0
  - install base-bytes        base
  - install conf-pkg-config   3
  - install jbuilder          transition
  - install sexplib0          v0.13.0
  - install bigstring         0.3
  - install conf-hidapi       0
  - install base              v0.13.2
  - install stdio             v0.13.0
  - install configurator      v0.11.0
  - install hidapi            1.0
===== 11 to install =====

The following system packages will first need to be installed:
    libhidapi-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" "libhidapi-dev" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libusb-1.0-0: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 ... 18733 files and directories currently installed.)
- Preparing to unpack .../0-libusb-1.0-0_2%3a1.0.26-1_amd64.deb ...
- Unpacking libusb-1.0-0:amd64 (2:1.0.26-1) ...
- Selecting previously unselected package libhidapi-libusb0:amd64.
- Preparing to unpack .../1-libhidapi-libusb0_0.13.1-1_amd64.deb ...
- Unpacking libhidapi-libusb0:amd64 (0.13.1-1) ...
- Selecting previously unselected package libhidapi-hidraw0:amd64.
- Preparing to unpack .../2-libhidapi-hidraw0_0.13.1-1_amd64.deb ...
- Unpacking libhidapi-hidraw0:amd64 (0.13.1-1) ...
- Selecting previously unselected package libhidapi-dev:amd64.
- Preparing to unpack .../3-libhidapi-dev_0.13.1-1_amd64.deb ...
- Unpacking libhidapi-dev:amd64 (0.13.1-1) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../4-libpkgconf3_1.8.1-1_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../5-pkgconf-bin_1.8.1-1_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-1) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../6-pkgconf_1.8.1-1_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../7-pkg-config_1.8.1-1_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-1) ...
- Setting up libhidapi-hidraw0:amd64 (0.13.1-1) ...
- Setting up libpkgconf3:amd64 (1.8.1-1) ...
- Setting up pkgconf-bin (1.8.1-1) ...
- Setting up libusb-1.0-0:amd64 (2:1.0.26-1) ...
- Setting up pkgconf:amd64 (1.8.1-1) ...
- Setting up libhidapi-libusb0:amd64 (0.13.1-1) ...
- Setting up pkg-config:amd64 (1.8.1-1) ...
- Setting up libhidapi-dev:amd64 (0.13.1-1) ...
- Processing triggers for libc-bin (2.36-9+deb12u8) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/33:
Processing  2/33:
Processing  3/33:
Processing  4/33:
Processing  5/33:
Processing  6/33:
Processing  7/33:
Processing  8/33: [conf-pkg-config: pkg-config]
-> installed base-bytes.base
Processing  9/33: [conf-pkg-config: pkg-config]
-> retrieved base.v0.13.2  (cached)
Processing 10/33: [conf-pkg-config: pkg-config]
Processing 11/33: [hidapi.1.0: http] [conf-pkg-config: pkg-config]
Processing 12/33: [hidapi.1.0: http] [conf-pkg-config: pkg-config]
-> installed dune-configurator.1.0.0
Processing 13/33: [hidapi.1.0: http] [conf-pkg-config: pkg-config]
-> retrieved bigstring.0.3  (cached)
Processing 14/33: [hidapi.1.0: http] [conf-pkg-config: pkg-config]
Processing 15/33: [hidapi.1.0: http] [conf-pkg-config: pkg-config]
Processing 16/33: [hidapi.1.0: http] [bigstring: dune build] [conf-pkg-config: pkg-config]
Processing 17/33: [hidapi.1.0: http] [bigstring: dune build] [conf-pkg-config: pkg-config]
-> installed jbuilder.transition
Processing 18/33: [hidapi.1.0: http] [bigstring: dune build] [conf-pkg-config: pkg-config]
-> retrieved configurator.v0.11.0  (cached)
Processing 19/33: [hidapi.1.0: http] [bigstring: dune build] [conf-pkg-config: pkg-config]
- 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 19/33: [hidapi.1.0: http] [bigstring: dune build]
-> installed conf-pkg-config.3
Processing 20/33: [hidapi.1.0: http] [bigstring: dune build]
Processing 21/33: [hidapi.1.0: http] [bigstring: dune build] [conf-hidapi: pkg-config hidapi-libusb]
-> retrieved sexplib0.v0.13.0  (cached)
Processing 22/33: [hidapi.1.0: http] [bigstring: dune build] [conf-hidapi: pkg-config hidapi-libusb] [sexplib0: dune build]
-> retrieved stdio.v0.13.0  (cached)
-> compiled  conf-hidapi.0
Processing 22/33: [hidapi.1.0: http] [bigstring: dune build] [sexplib0: dune build]
-> installed conf-hidapi.0
Processing 23/33: [hidapi.1.0: http] [bigstring: dune build] [sexplib0: dune build]
-> compiled  bigstring.0.3
Processing 23/33: [hidapi.1.0: http] [sexplib0: dune build]
-> installed bigstring.0.3
Processing 24/33: [hidapi.1.0: http] [sexplib0: dune build]
-> compiled  sexplib0.v0.13.0
Processing 24/33: [hidapi.1.0: http]
-> installed sexplib0.v0.13.0
Processing 25/33: [hidapi.1.0: http]
Processing 26/33: [hidapi.1.0: http] [base: dune build]
Processing 26/33: [base: dune build]
-> retrieved hidapi.1.0  (https://github.com/vbmithr/ocaml-hidapi/releases/download/1.0/1.0.tar.gz)
+ /home/opam/.opam/4.11/bin/dune "build" "-p" "base" "-j" "39" (CWD=/home/opam/.opam/4.11/.opam-switch/build/base.v0.13.2)
-> compiled  base.v0.13.2
-> installed base.v0.13.2
Processing 28/33: [stdio: dune build]
+ /home/opam/.opam/4.11/bin/dune "build" "-p" "stdio" "-j" "39" (CWD=/home/opam/.opam/4.11/.opam-switch/build/stdio.v0.13.0)
-> compiled  stdio.v0.13.0
-> installed stdio.v0.13.0
Processing 30/33: [configurator: jbuilder build]
+ /home/opam/.opam/4.11/bin/jbuilder "build" "-p" "configurator" "-j" "39" (CWD=/home/opam/.opam/4.11/.opam-switch/build/configurator.v0.11.0)
- The jbuilder binary is deprecated and will cease to be maintained in July 2019.
- Please switch to dune instead.
- File "src/jbuild", line 1, characters 0-0:
- Warning: jbuild files are deprecated, please convert this file to a dune file
- instead.
- Note: You can use "dune upgrade" to convert your project to dune.
-       ocamlc src/.configurator.objs/byte/configurator.{cmo,cmt}
- File "src/configurator.ml", line 8, characters 20-35:
- 8 | module Pervasives = Caml.Pervasives
-                         ^^^^^^^^^^^^^^^
- Alert deprecated: module Caml.Pervasives
- Use Stdlib instead.
- 
- If you need to stay compatible with OCaml < 4.07, you can use the 
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
-     ocamlopt src/.configurator.objs/native/configurator.{cmx,o}
- File "src/configurator.ml", line 8, characters 20-35:
- 8 | module Pervasives = Caml.Pervasives
-                         ^^^^^^^^^^^^^^^
- Alert deprecated: module Caml.Pervasives
- Use Stdlib instead.
- 
- If you need to stay compatible with OCaml < 4.07, you can use the 
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
-> compiled  configurator.v0.11.0
-> installed configurator.v0.11.0
Processing 32/33: [hidapi: jbuilder build]
+ /home/opam/.opam/4.11/bin/jbuilder "build" "-j" "39" "-p" "hidapi" "@install" (CWD=/home/opam/.opam/4.11/.opam-switch/build/hidapi.1.0)
- The jbuilder binary is deprecated and will cease to be maintained in July 2019.
- Please switch to dune instead.
- File "src/jbuild", line 1, characters 0-0:
- Warning: jbuild files are deprecated, please convert this file to a dune file
- instead.
- Note: You can use "dune upgrade" to convert your project to dune.
- File "src/config/jbuild", line 1, characters 0-0:
- Warning: jbuild files are deprecated, please convert this file to a dune file
- instead.
- Note: You can use "dune upgrade" to convert your project to dune.
- File "test/jbuild", line 1, characters 0-0:
- Warning: jbuild files are deprecated, please convert this file to a dune file
- instead.
- Note: You can use "dune upgrade" to convert your project to dune.
-> compiled  hidapi.1.0
-> installed hidapi.1.0
Done.

<><> jbuilder.transition installed successfully <><><><><><><><><><><><><><><><>
=> Jbuilder has been renamed and the jbuilder package is now a transition package. Use the dune package instead.

<><> configurator.v0.11.0 installed successfully ><><><><><><><><><><><><><><><>
=> configurator is deprecated. Please use dune-configurator in new code and consider switching to it in existing projects.
# Run eval $(opam env) to update the current shell environment
2024-09-12 20:19.46 ---> saved as "a64d1a95c83209de399e02a29c40b4aada52fd8cb8e65b1cb24b5ec5e855058f"

/home/opam: (run (shell "opam exec -- ~/voodoo-prep -u hidapi:a07893638bb99fa6a9a18cf7e89648ba"))
2024-09-12 20:19.48 ---> saved as "5f4f8008a1914ebb809d4ef9a72d7fa6f93a760d73bbfd89d3afaadc23dc5267"

/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.530555') && (for DATA in prep/universes/a07893638bb99fa6a9a18cf7e89648ba/hidapi/1.0,hidapi.1.0-a07893638bb99fa6a9a18cf7e89648ba,hidapi.1.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/a07893638bb99fa6a9a18cf7e89648ba/hidapi/1.0,hidapi.1.0-a07893638bb99fa6a9a18cf7e89648ba,hidapi.1.0; do IFS=\",\"; set -- $DATA; rsync -aR --no-p ./$1 docs.ci.ocaml.org:/data/.; done) && (for DATA in prep/universes/a07893638bb99fa6a9a18cf7e89648ba/hidapi/1.0,hidapi.1.0-a07893638bb99fa6a9a18cf7e89648ba,hidapi.1.0; do IFS=\",\"; set -- $DATA; HASH=$((sha256sum $1/content.tar | cut -d \" \" -f 1)  || echo -n 'empty'); printf \"HASHES:$2:$HASH\\n\"; done)"))
0.530555
prep/universes/a07893638bb99fa6a9a18cf7e89648ba/hidapi/1.0/doc/
prep/universes/a07893638bb99fa6a9a18cf7e89648ba/hidapi/1.0/doc/hidapi/
prep/universes/a07893638bb99fa6a9a18cf7e89648ba/hidapi/1.0/doc/hidapi/LICENSE.md
prep/universes/a07893638bb99fa6a9a18cf7e89648ba/hidapi/1.0/lib/
prep/universes/a07893638bb99fa6a9a18cf7e89648ba/hidapi/1.0/lib/hidapi/
prep/universes/a07893638bb99fa6a9a18cf7e89648ba/hidapi/1.0/lib/hidapi/hidapi.ocamlobjinfo
prep/universes/a07893638bb99fa6a9a18cf7e89648ba/hidapi/1.0/lib/hidapi/META
prep/universes/a07893638bb99fa6a9a18cf7e89648ba/hidapi/1.0/lib/hidapi/dune-package
prep/universes/a07893638bb99fa6a9a18cf7e89648ba/hidapi/1.0/lib/hidapi/hidapi.cmi
prep/universes/a07893638bb99fa6a9a18cf7e89648ba/hidapi/1.0/lib/hidapi/hidapi.cmt
prep/universes/a07893638bb99fa6a9a18cf7e89648ba/hidapi/1.0/lib/hidapi/hidapi.cmti
prep/universes/a07893638bb99fa6a9a18cf7e89648ba/hidapi/1.0/opam
Warning: Permanently added '[docs.ci.ocaml.org]:2222' (ED25519) to the list of known hosts.
HASHES:hidapi.1.0-a07893638bb99fa6a9a18cf7e89648ba:faecb009d9e1574992ca285dae2f7533e8823b828bc824d5ab26688d2d553851
2024-09-12 20:19.48 ---> saved as "bd10d03250d7df06441f9576669bd406ebd61043bcd73110342c8cca7570a945"
Job succeeded
2024-09-12 20:27.13: hidapi.1.0-a07893638bb99fa6a9a18cf7e89648ba -> faecb009d9e1574992ca285dae2f7533e8823b828bc824d5ab26688d2d553851
2024-09-12 20:27.13: Job succeeded