Build:
  1. 0
2024-09-12 08:34.46: New job: Voodoo prep header-check.0.1.0; 7bffac1c340f193eebbb87049392e276
2024-09-12 08:34.46: Connecting to build cluster…
2024-09-12 08:34.46: Waiting for resource in pool OCluster
2024-09-12 10:07.36: Waiting for worker…
2024-09-12 10:16.37: Got resource from pool OCluster
2024-09-12 10:16.37: 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:75bd1ae213986d8838505129c07e17fc5916ce86841a444e1bf5d1c9bcf5332b)
         (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:75bd1ae213986d8838505129c07e17fc5916ce86841a444e1bf5d1c9bcf5332b)
 (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 header-check.0.1.0 seq.base re.1.12.0 ocplib_stuff.0.4.0 ez_file.0.3.0 dune.3.16.0 2>&1 | tee ~/opam.err.log) || echo 'Failed to install all packages')"))
 (run (shell "opam exec -- ~/voodoo-prep -u header-check:7bffac1c340f193eebbb87049392e276,ez_file:1c491be0dc0eb7c47657bad7cfd865c1"))
 (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.732791') && (for DATA in prep/universes/1c491be0dc0eb7c47657bad7cfd865c1/ez_file/0.3.0,ez_file.0.3.0-1c491be0dc0eb7c47657bad7cfd865c1,ez_file.0.3.0 prep/universes/7bffac1c340f193eebbb87049392e276/header-check/0.1.0,header-check.0.1.0-7bffac1c340f193eebbb87049392e276,header-check.0.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/1c491be0dc0eb7c47657bad7cfd865c1/ez_file/0.3.0,ez_file.0.3.0-1c491be0dc0eb7c47657bad7cfd865c1,ez_file.0.3.0 prep/universes/7bffac1c340f193eebbb87049392e276/header-check/0.1.0,header-check.0.1.0-7bffac1c340f193eebbb87049392e276,header-check.0.1.0; do IFS=\",\"; set -- $DATA; rsync -aR --no-p ./$1 docs.ci.ocaml.org:/data/.; done) && (for DATA in prep/universes/1c491be0dc0eb7c47657bad7cfd865c1/ez_file/0.3.0,ez_file.0.3.0-1c491be0dc0eb7c47657bad7cfd865c1,ez_file.0.3.0 prep/universes/7bffac1c340f193eebbb87049392e276/header-check/0.1.0,header-check.0.1.0-7bffac1c340f193eebbb87049392e276,header-check.0.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 7feaa1f912b00a5f981075e59af0763556f8bc75 --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-09-12 10:16.37: RETRYING: 2024-09-12/083446-voodoo-prep-52fabb Number of retries: 0 (retriable error condition)
Building on x86-bm-c5.sw.ocaml.org
All commits already cached
Updating files:  52% (16804/32042)
Updating files:  53% (16983/32042)
Updating files:  54% (17303/32042)
Updating files:  55% (17624/32042)
Updating files:  56% (17944/32042)
Updating files:  57% (18264/32042)
Updating files:  58% (18585/32042)
Updating files:  59% (18905/32042)
Updating files:  60% (19226/32042)
Updating files:  61% (19546/32042)
Updating files:  62% (19867/32042)
Updating files:  63% (20187/32042)
Updating files:  64% (20507/32042)
Updating files:  65% (20828/32042)
Updating files:  66% (21148/32042)
Updating files:  67% (21469/32042)
Updating files:  68% (21789/32042)
Updating files:  69% (22109/32042)
Updating files:  70% (22430/32042)
Updating files:  71% (22750/32042)
Updating files:  72% (23071/32042)
Updating files:  73% (23391/32042)
Updating files:  74% (23712/32042)
Updating files:  75% (24032/32042)
Updating files:  76% (24352/32042)
Updating files:  77% (24673/32042)
Updating files:  78% (24993/32042)
Updating files:  79% (25314/32042)
Updating files:  80% (25634/32042)
Updating files:  81% (25955/32042)
Updating files:  82% (26275/32042)
Updating files:  83% (26595/32042)
Updating files:  84% (26916/32042)
Updating files:  85% (27236/32042)
Updating files:  86% (27557/32042)
Updating files:  87% (27877/32042)
Updating files:  88% (28197/32042)
Updating files:  89% (28518/32042)
Updating files:  90% (28838/32042)
Updating files:  91% (29159/32042)
Updating files:  92% (29479/32042)
Updating files:  93% (29800/32042)
Updating files:  94% (30120/32042)
Updating files:  95% (30440/32042)
Updating files:  96% (30761/32042)
Updating files:  97% (31081/32042)
Updating files:  98% (31402/32042)
Updating files:  99% (31722/32042)
Updating files: 100% (32042/32042)
Updating files: 100% (32042/32042), done.
HEAD is now at 7feaa1f912 Apply suggestions from code review

(build "tools" …)

(from ocaml/opam:debian-12-ocaml-5.1@sha256:75bd1ae213986d8838505129c07e17fc5916ce86841a444e1bf5d1c9bcf5332b)
2024-09-12 10:09.22 ---> using "4c7d809399bb207da0fd7e41f1744e0b774f33b83c9f971e29ee4e527ca6a31c" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo chown opam:opam /home/opam"))
2024-09-12 10:09.22 ---> using "dfe5e4646be142d6fc9d6a77140d209b028acc1d77475a5901c4ed3a5b4fb944" 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 (1242 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 (17.9 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 ... 18764 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 10:09.22 ---> using "00bd9b10ee4005c80d7af1faad8dfcb4e6ab122a52aeb43a33fdea8ec26bd562" 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.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 bos.0.2.1
-> installed dune.3.16.0
-> installed stdlib-shims.0.3.0
-> installed swhid_core.0.1
-> installed opam-file-format.2.1.6
-> installed re.1.12.0
-> installed sha.1.15.4
-> installed ocamlgraph.2.1.0
-> installed opam-core.2.2.1
-> installed opam-format.2.2.1
-> installed voodoo-prep.~dev
Done.
# Run eval $(opam env) to update the current shell environment
2024-09-12 10:09.22 ---> using "c0ffca0379d767eba96c496d9c3d5a7963b49f0084e5d4e2addf8acd8b75d3e3" from cache

/home/opam: (run (shell "cp $(opam config var bin)/voodoo-prep /home/opam"))
2024-09-12 10:09.22 ---> using "b3e1bb4015a777b85e55a6a5ba3e4cb907c2d4ba79725c400a82b494d511dc59" from cache
2024-09-12 10:09.22 --> finished "tools"

(from ocaml/opam:debian-12-ocaml-5.1@sha256:75bd1ae213986d8838505129c07e17fc5916ce86841a444e1bf5d1c9bcf5332b)
2024-09-12 10:09.22 ---> using "4c7d809399bb207da0fd7e41f1744e0b774f33b83c9f971e29ee4e527ca6a31c" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo chown opam:opam /home/opam"))
2024-09-12 10:09.22 ---> using "dfe5e4646be142d6fc9d6a77140d209b028acc1d77475a5901c4ed3a5b4fb944" from cache

/home/opam: (run (shell "sudo mkdir /src"))
2024-09-12 10:09.22 ---> using "2b0e5c6a092f9ca1bbda95f5b7a2ea41fa9d1fb5a59427c4d5a1765abb041698" from cache

/home/opam: (copy (src packages) (dst /src/packages))
2024-09-12 10:09.24 ---> using "cb956a19be6c2f33f752147aac320198f95dea4898355525fcff09b11743199a" from cache

/home/opam: (copy (src repo) (dst /src/repo))
2024-09-12 10:09.24 ---> using "9ba4c90d766570a5a608b52ba80c25e2066d36f5853f915be4827c3a6185d708" from cache

/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 10:09.24 ---> using "f4defe74fc95453916d4f327b0dbe6f530e218d081a6732128db1c9756f4751a" from cache

/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-09-12 10:09.24 ---> using "ed22f21fd3c4e38c8dccb2e8942f8fc51999a76180fc1a292c945d2acc673301" from cache

/home/opam: (copy (from (build tools))
                  (src /home/opam/voodoo-prep)
                  (dst /home/opam/))
2024-09-12 10:09.24 ---> using "09e902352b6ed4a0ccf5eaf814ab62da49154bf7c169ae8fea512878722840f0" 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 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-09-12 10:09.24 ---> using "c1994b40852723a4f79526529d30fe10b5736f55e7676395276c298ccc19b686" from cache

/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 header-check.0.1.0 seq.base re.1.12.0 ocplib_stuff.0.4.0 ez_file.0.3.0 dune.3.16.0 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 (1087 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 header-check.0.1.0 seq.base re.1.12.0 ocplib_stuff.0.4.0 ez_file.0.3.0 dune.3.16.0" 

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
# No extra OS packages requirements found.
[NOTE] Package dune is already installed (current version is 3.16.0).
The following actions will be performed:
  - install seq          base
  - install ocplib_stuff 0.4.0
  - install re           1.12.0
  - install ez_file      0.3.0
  - install header-check 0.1.0
===== 5 to install =====

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/15:
Processing  2/15: [header-check.0.1.0: http]
Processing  3/15: [header-check.0.1.0: http]
-> retrieved ez_file.0.3.0  (cached)
Processing  4/15: [header-check.0.1.0: http]
-> retrieved ocplib_stuff.0.4.0  (cached)
-> retrieved seq.base  (cached)
Processing  5/15: [header-check.0.1.0: http]
Processing  6/15: [header-check.0.1.0: http] [ocplib_stuff: sh]
Processing  7/15: [header-check.0.1.0: http] [ocplib_stuff: sh]
-> installed seq.base
Processing  8/15: [header-check.0.1.0: http] [ocplib_stuff: sh]
Processing  8/15: [ocplib_stuff: sh]
-> retrieved re.1.12.0  (cached)
Processing  9/15: [ocplib_stuff: sh] [re: dune build]
Processing  9/15: [ocplib_stuff: dune build] [re: dune build]
-> retrieved header-check.0.1.0  (https://github.com/ocamlpro/header-check/archive/v0.1.0.tar.gz)
Processing  9/15: [ocplib_stuff: sh] [re: dune build]
-> compiled  ocplib_stuff.0.4.0
Processing  9/15: [re: dune build]
Processing 10/15: [re: dune build] [ocplib_stuff: sh]
-> installed ocplib_stuff.0.4.0
Processing 10/15: [re: dune build]
+ /home/opam/.opam/5.1/bin/dune "build" "-p" "re" "-j" "39" (CWD=/home/opam/.opam/5.1/.opam-switch/build/re.1.12.0)
-> compiled  re.1.12.0
-> installed re.1.12.0
Processing 12/15: [ez_file: sh]
+ /usr/bin/sh "-c" "./scripts/before.sh build 'ez_file'" (CWD=/home/opam/.opam/5.1/.opam-switch/build/ez_file.0.3.0)
Processing 12/15: [ez_file: dune build]
+ /home/opam/.opam/5.1/bin/dune "build" "-p" "ez_file" "-j" "39" "@install" (CWD=/home/opam/.opam/5.1/.opam-switch/build/ez_file.0.3.0)
Processing 12/15: [ez_file: sh]
+ /usr/bin/sh "-c" "./scripts/after.sh build 'ez_file'" (CWD=/home/opam/.opam/5.1/.opam-switch/build/ez_file.0.3.0)
-> compiled  ez_file.0.3.0
Processing 13/15: [ez_file: sh]
+ /usr/bin/sh "-c" "./scripts/before.sh install 'ez_file'" (CWD=/home/opam/.opam/5.1/.opam-switch/build/ez_file.0.3.0)
-> installed ez_file.0.3.0
Processing 14/15: [header-check: sh]
+ /usr/bin/sh "-c" "./scripts/before.sh build 'header-check'" (CWD=/home/opam/.opam/5.1/.opam-switch/build/header-check.0.1.0)
Processing 14/15: [header-check: dune build]
+ /home/opam/.opam/5.1/bin/dune "build" "-p" "header-check" "-j" "39" "@install" (CWD=/home/opam/.opam/5.1/.opam-switch/build/header-check.0.1.0)
Processing 14/15: [header-check: sh]
+ /usr/bin/sh "-c" "./scripts/after.sh build 'header-check'" (CWD=/home/opam/.opam/5.1/.opam-switch/build/header-check.0.1.0)
-> compiled  header-check.0.1.0
Processing 15/15: [header-check: sh]
+ /usr/bin/sh "-c" "./scripts/before.sh install 'header-check'" (CWD=/home/opam/.opam/5.1/.opam-switch/build/header-check.0.1.0)
-> installed header-check.0.1.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-09-12 10:11.11 ---> saved as "673ba62c9a83291b115a3dde894f7fab5497f6e5dce9fa9086c8a950946e3ac9"

/home/opam: (run (shell "opam exec -- ~/voodoo-prep -u header-check:7bffac1c340f193eebbb87049392e276,ez_file:1c491be0dc0eb7c47657bad7cfd865c1"))
2024-09-12 10:11.14 ---> saved as "6073f1bcd5948f2294f563b3e519e4eb62881f51d23812f00292f6b8c3bee8af"

/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.732791') && (for DATA in prep/universes/1c491be0dc0eb7c47657bad7cfd865c1/ez_file/0.3.0,ez_file.0.3.0-1c491be0dc0eb7c47657bad7cfd865c1,ez_file.0.3.0 prep/universes/7bffac1c340f193eebbb87049392e276/header-check/0.1.0,header-check.0.1.0-7bffac1c340f193eebbb87049392e276,header-check.0.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/1c491be0dc0eb7c47657bad7cfd865c1/ez_file/0.3.0,ez_file.0.3.0-1c491be0dc0eb7c47657bad7cfd865c1,ez_file.0.3.0 prep/universes/7bffac1c340f193eebbb87049392e276/header-check/0.1.0,header-check.0.1.0-7bffac1c340f193eebbb87049392e276,header-check.0.1.0; do IFS=\",\"; set -- $DATA; rsync -aR --no-p ./$1 docs.ci.ocaml.org:/data/.; done) && (for DATA in prep/universes/1c491be0dc0eb7c47657bad7cfd865c1/ez_file/0.3.0,ez_file.0.3.0-1c491be0dc0eb7c47657bad7cfd865c1,ez_file.0.3.0 prep/universes/7bffac1c340f193eebbb87049392e276/header-check/0.1.0,header-check.0.1.0-7bffac1c340f193eebbb87049392e276,header-check.0.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.732791
prep/universes/1c491be0dc0eb7c47657bad7cfd865c1/ez_file/0.3.0/doc/
prep/universes/1c491be0dc0eb7c47657bad7cfd865c1/ez_file/0.3.0/doc/ez_file/
prep/universes/1c491be0dc0eb7c47657bad7cfd865c1/ez_file/0.3.0/doc/ez_file/CHANGES.md
prep/universes/1c491be0dc0eb7c47657bad7cfd865c1/ez_file/0.3.0/doc/ez_file/LICENSE.md
prep/universes/1c491be0dc0eb7c47657bad7cfd865c1/ez_file/0.3.0/doc/ez_file/README.md
prep/universes/1c491be0dc0eb7c47657bad7cfd865c1/ez_file/0.3.0/doc/ez_file/odoc-pages/
prep/universes/1c491be0dc0eb7c47657bad7cfd865c1/ez_file/0.3.0/doc/ez_file/odoc-pages/index.mld
prep/universes/1c491be0dc0eb7c47657bad7cfd865c1/ez_file/0.3.0/lib/
prep/universes/1c491be0dc0eb7c47657bad7cfd865c1/ez_file/0.3.0/lib/ez_file/
prep/universes/1c491be0dc0eb7c47657bad7cfd865c1/ez_file/0.3.0/lib/ez_file/ez_file.ocamlobjinfo
prep/universes/1c491be0dc0eb7c47657bad7cfd865c1/ez_file/0.3.0/lib/ez_file/META
prep/universes/1c491be0dc0eb7c47657bad7cfd865c1/ez_file/0.3.0/lib/ez_file/dune-package
prep/universes/1c491be0dc0eb7c47657bad7cfd865c1/ez_file/0.3.0/lib/ez_file/ez_file.cmi
prep/universes/1c491be0dc0eb7c47657bad7cfd865c1/ez_file/0.3.0/lib/ez_file/ez_file.cmt
prep/universes/1c491be0dc0eb7c47657bad7cfd865c1/ez_file/0.3.0/lib/ez_file/ez_file__FileAbstract.cmi
prep/universes/1c491be0dc0eb7c47657bad7cfd865c1/ez_file/0.3.0/lib/ez_file/ez_file__FileAbstract.cmt
prep/universes/1c491be0dc0eb7c47657bad7cfd865c1/ez_file/0.3.0/lib/ez_file/ez_file__FileAbstract.cmti
prep/universes/1c491be0dc0eb7c47657bad7cfd865c1/ez_file/0.3.0/lib/ez_file/ez_file__FileChannel.cmi
prep/universes/1c491be0dc0eb7c47657bad7cfd865c1/ez_file/0.3.0/lib/ez_file/ez_file__FileChannel.cmt
prep/universes/1c491be0dc0eb7c47657bad7cfd865c1/ez_file/0.3.0/lib/ez_file/ez_file__FileChannel.cmti
prep/universes/1c491be0dc0eb7c47657bad7cfd865c1/ez_file/0.3.0/lib/ez_file/ez_file__FileDirMaker.cmi
prep/universes/1c491be0dc0eb7c47657bad7cfd865c1/ez_file/0.3.0/lib/ez_file/ez_file__FileDirMaker.cmt
prep/universes/1c491be0dc0eb7c47657bad7cfd865c1/ez_file/0.3.0/lib/ez_file/ez_file__FileDirMaker.cmti
prep/universes/1c491be0dc0eb7c47657bad7cfd865c1/ez_file/0.3.0/lib/ez_file/ez_file__FileOS.cmi
prep/universes/1c491be0dc0eb7c47657bad7cfd865c1/ez_file/0.3.0/lib/ez_file/ez_file__FileOS.cmt
prep/universes/1c491be0dc0eb7c47657bad7cfd865c1/ez_file/0.3.0/lib/ez_file/ez_file__FileOS.cmti
prep/universes/1c491be0dc0eb7c47657bad7cfd865c1/ez_file/0.3.0/lib/ez_file/ez_file__FileSelector.cmi
prep/universes/1c491be0dc0eb7c47657bad7cfd865c1/ez_file/0.3.0/lib/ez_file/ez_file__FileSelector.cmt
prep/universes/1c491be0dc0eb7c47657bad7cfd865c1/ez_file/0.3.0/lib/ez_file/ez_file__FileSelector.cmti
prep/universes/1c491be0dc0eb7c47657bad7cfd865c1/ez_file/0.3.0/lib/ez_file/ez_file__FileSig.cmi
prep/universes/1c491be0dc0eb7c47657bad7cfd865c1/ez_file/0.3.0/lib/ez_file/ez_file__FileSig.cmt
prep/universes/1c491be0dc0eb7c47657bad7cfd865c1/ez_file/0.3.0/lib/ez_file/ez_file__FileString.cmi
prep/universes/1c491be0dc0eb7c47657bad7cfd865c1/ez_file/0.3.0/lib/ez_file/ez_file__FileString.cmt
prep/universes/1c491be0dc0eb7c47657bad7cfd865c1/ez_file/0.3.0/lib/ez_file/ez_file__FileString.cmti
prep/universes/1c491be0dc0eb7c47657bad7cfd865c1/ez_file/0.3.0/lib/ez_file/ez_file__V1.cmi
prep/universes/1c491be0dc0eb7c47657bad7cfd865c1/ez_file/0.3.0/lib/ez_file/ez_file__V1.cmt
prep/universes/1c491be0dc0eb7c47657bad7cfd865c1/ez_file/0.3.0/opam
prep/universes/7bffac1c340f193eebbb87049392e276/header-check/0.1.0/doc/
prep/universes/7bffac1c340f193eebbb87049392e276/header-check/0.1.0/doc/header-check/
prep/universes/7bffac1c340f193eebbb87049392e276/header-check/0.1.0/doc/header-check/CHANGES.md
prep/universes/7bffac1c340f193eebbb87049392e276/header-check/0.1.0/doc/header-check/LICENSE.md
prep/universes/7bffac1c340f193eebbb87049392e276/header-check/0.1.0/doc/header-check/README.md
prep/universes/7bffac1c340f193eebbb87049392e276/header-check/0.1.0/lib/
prep/universes/7bffac1c340f193eebbb87049392e276/header-check/0.1.0/lib/header-check/
prep/universes/7bffac1c340f193eebbb87049392e276/header-check/0.1.0/lib/header-check/META
prep/universes/7bffac1c340f193eebbb87049392e276/header-check/0.1.0/lib/header-check/dune-package
prep/universes/7bffac1c340f193eebbb87049392e276/header-check/0.1.0/opam
Warning: Permanently added '[docs.ci.ocaml.org]:2222' (ED25519) to the list of known hosts.
Warning: Permanently added '[docs.ci.ocaml.org]:2222' (ED25519) to the list of known hosts.
HASHES:ez_file.0.3.0-1c491be0dc0eb7c47657bad7cfd865c1:8f216492bc309052e546ff62a6e061459ac328e23aaea601de4621dff8b74f4c
HASHES:header-check.0.1.0-7bffac1c340f193eebbb87049392e276:74b2c2ebba507d524eab65492001bf56d68f093ed004feed5371f92c6c123bac
2024-09-12 10:11.17 ---> saved as "2e0e93a92901ba84a7e2ba4e98df44bc0ac54d421e467aeee73320e7b367857e"
Job succeeded
2024-09-12 10:18.46: header-check.0.1.0-7bffac1c340f193eebbb87049392e276 -> 74b2c2ebba507d524eab65492001bf56d68f093ed004feed5371f92c6c123bac
2024-09-12 10:18.46: ez_file.0.3.0-1c491be0dc0eb7c47657bad7cfd865c1 -> 8f216492bc309052e546ff62a6e061459ac328e23aaea601de4621dff8b74f4c
2024-09-12 10:18.46: Job succeeded