Build:
  1. 0
2024-08-27 15:46.23: New job: Voodoo prep fun-postgresql.0.2.3; c26339fdb7ec39f0c6c69be70338b868
2024-08-27 15:46.23: Waiting for resource in pool OCluster
2024-08-27 18:43.24: Waiting for worker…
2024-08-27 19:01.17: Got resource from pool OCluster
2024-08-27 19:01.17: Using cache hint "docs-universe-prep-5.1.0"

To reproduce locally:

cat > prep.spec <<'END-OF-SPEC'
((build tools
        ((from ocaml/opam:debian-12-ocaml-5.1@sha256:77150679cb3c9870c76e77cb76ec1ad0fc2e3e3cf93b98fb6255d07eb938ea0a)
         (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:77150679cb3c9870c76e77cb76ec1ad0fc2e3e3cf93b98fb6255d07eb938ea0a)
 (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 ocamlfind.1.9.6"))
 (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 fun-postgresql.0.2.3 postgresql.5.0.0 ocamlfind.1.9.6 fun-sql.0.2.3 dune-configurator.3.16.0 dune.3.16.0 csexp.1.5.2 conf-postgresql.1 base-bytes.base 2>&1 | tee ~/opam.err.log) || echo 'Failed to install all packages')"))
 (run (shell "opam exec -- ~/voodoo-prep -u fun-postgresql:c26339fdb7ec39f0c6c69be70338b868,postgresql:715e2c3dfb078cd0775ba70374e51040,conf-postgresql:d41d8cd98f00b204e9800998ecf8427e"))
 (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.746248') && (for DATA in prep/universes/d41d8cd98f00b204e9800998ecf8427e/conf-postgresql/1,conf-postgresql.1-d41d8cd98f00b204e9800998ecf8427e,conf-postgresql.1 prep/universes/715e2c3dfb078cd0775ba70374e51040/postgresql/5.0.0,postgresql.5.0.0-715e2c3dfb078cd0775ba70374e51040,postgresql.5.0.0 prep/universes/c26339fdb7ec39f0c6c69be70338b868/fun-postgresql/0.2.3,fun-postgresql.0.2.3-c26339fdb7ec39f0c6c69be70338b868,fun-postgresql.0.2.3; 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/d41d8cd98f00b204e9800998ecf8427e/conf-postgresql/1,conf-postgresql.1-d41d8cd98f00b204e9800998ecf8427e,conf-postgresql.1 prep/universes/715e2c3dfb078cd0775ba70374e51040/postgresql/5.0.0,postgresql.5.0.0-715e2c3dfb078cd0775ba70374e51040,postgresql.5.0.0 prep/universes/c26339fdb7ec39f0c6c69be70338b868/fun-postgresql/0.2.3,fun-postgresql.0.2.3-c26339fdb7ec39f0c6c69be70338b868,fun-postgresql.0.2.3; do IFS=\",\"; set -- $DATA; rsync -aR --no-p ./$1 staging.docs.ci.ocamllabs.io:/data/.; done) && (for DATA in prep/universes/d41d8cd98f00b204e9800998ecf8427e/conf-postgresql/1,conf-postgresql.1-d41d8cd98f00b204e9800998ecf8427e,conf-postgresql.1 prep/universes/715e2c3dfb078cd0775ba70374e51040/postgresql/5.0.0,postgresql.5.0.0-715e2c3dfb078cd0775ba70374e51040,postgresql.5.0.0 prep/universes/c26339fdb7ec39f0c6c69be70338b868/fun-postgresql/0.2.3,fun-postgresql.0.2.3-c26339fdb7ec39f0c6c69be70338b868,fun-postgresql.0.2.3; 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 e06bf2b8c3dce7604e27950cb51b3eb2d9cbc4e5 --local-file prep.spec \
--pool linux-x86_64 --connect ocluster-submission.cap --cache-hint docs-universe-prep-5.1.0 \
--secret ssh_privkey:id_rsa --secret ssh_pubkey:id_rsa.pub--secret ssh_config:ssh_config

2024-08-27 19:01.17: RETRYING: 2024-08-27/154623-voodoo-prep-5f5bde Number of retries: 0 (retriable error condition)
Building on x86-bm-c10.sw.ocaml.org
All commits already cached
Updating files:  66% (21074/31542)
Updating files:  67% (21134/31542)
Updating files:  68% (21449/31542)
Updating files:  69% (21764/31542)
Updating files:  70% (22080/31542)
Updating files:  71% (22395/31542)
Updating files:  72% (22711/31542)
Updating files:  73% (23026/31542)
Updating files:  74% (23342/31542)
Updating files:  75% (23657/31542)
Updating files:  76% (23972/31542)
Updating files:  77% (24288/31542)
Updating files:  78% (24603/31542)
Updating files:  79% (24919/31542)
Updating files:  80% (25234/31542)
Updating files:  81% (25550/31542)
Updating files:  82% (25865/31542)
Updating files:  83% (26180/31542)
Updating files:  84% (26496/31542)
Updating files:  85% (26811/31542)
Updating files:  86% (27127/31542)
Updating files:  87% (27442/31542)
Updating files:  88% (27757/31542)
Updating files:  89% (28073/31542)
Updating files:  90% (28388/31542)
Updating files:  91% (28704/31542)
Updating files:  92% (29019/31542)
Updating files:  93% (29335/31542)
Updating files:  94% (29650/31542)
Updating files:  95% (29965/31542)
Updating files:  96% (30281/31542)
Updating files:  97% (30596/31542)
Updating files:  98% (30912/31542)
Updating files:  99% (31227/31542)
Updating files: 100% (31542/31542)
Updating files: 100% (31542/31542), done.
HEAD is now at e06bf2b8c3 Merge pull request #26097 from yawaramin/release-fun-sql-v0.2.3

(build "tools" …)

(from ocaml/opam:debian-12-ocaml-5.1@sha256:77150679cb3c9870c76e77cb76ec1ad0fc2e3e3cf93b98fb6255d07eb938ea0a)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.1@sha256:77150679cb3c9870c76e77cb76ec1ad0fc2e3e3cf93b98fb6255d07eb938ea0a' locally
docker.io/ocaml/opam@sha256:77150679cb3c9870c76e77cb76ec1ad0fc2e3e3cf93b98fb6255d07eb938ea0a: Pulling from ocaml/opam
f063fe254241: Pulling fs layer
f063fe254241: Verifying Checksum
f063fe254241: Download complete
f063fe254241: Pull complete
Digest: sha256:77150679cb3c9870c76e77cb76ec1ad0fc2e3e3cf93b98fb6255d07eb938ea0a
Status: Downloaded newer image for ocaml/opam@sha256:77150679cb3c9870c76e77cb76ec1ad0fc2e3e3cf93b98fb6255d07eb938ea0a
2024-08-27 19:01.20 ---> using "7f1fc91569c4944f2a42384167d6a5257d51f4f823a2dc27fc5cd059b17040d7" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo chown opam:opam /home/opam"))
2024-08-27 19:01.20 ---> using "bc3f29ea438c9e2614414d51ac62e10cee52d78977c2addbef0ed4c0d41b35c5" 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-security bookworm-security/main amd64 Packages [179 kB]
Fetched 282 kB in 0s (890 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 (7325 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 ... 18765 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+deb12u7) ...
2024-08-27 19:01.20 ---> using "614ec7772af9d76ed354c2eb70b7b3876f563f1ef6a7a4feb859ebe05e327dc0" 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 fpath.0.7.3
-> installed jsonm.1.0.2
-> installed logs.0.7.0
-> installed bos.0.2.1
-> installed dune.3.16.0
-> installed stdlib-shims.0.3.0
-> installed swhid_core.0.1
-> installed opam-file-format.2.1.6
-> installed re.1.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-08-27 19:01.20 ---> using "ceca5acc4e202d7b9cfcea94f9c2adea7ed720e26117286981a925f91c4d2338" from cache

/home/opam: (run (shell "cp $(opam config var bin)/voodoo-prep /home/opam"))
2024-08-27 19:01.20 ---> using "9a45712bf2660a9bc4b6657d5bcd781f9f0cae0573fdd83f035b20b3cbb42f72" from cache
2024-08-27 19:01.20 --> finished "tools"

(from ocaml/opam:debian-12-ocaml-5.1@sha256:77150679cb3c9870c76e77cb76ec1ad0fc2e3e3cf93b98fb6255d07eb938ea0a)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.1@sha256:77150679cb3c9870c76e77cb76ec1ad0fc2e3e3cf93b98fb6255d07eb938ea0a' locally
docker.io/ocaml/opam@sha256:77150679cb3c9870c76e77cb76ec1ad0fc2e3e3cf93b98fb6255d07eb938ea0a: Pulling from ocaml/opam
f063fe254241: Pulling fs layer
f063fe254241: Verifying Checksum
f063fe254241: Download complete
f063fe254241: Pull complete
Digest: sha256:77150679cb3c9870c76e77cb76ec1ad0fc2e3e3cf93b98fb6255d07eb938ea0a
Status: Downloaded newer image for ocaml/opam@sha256:77150679cb3c9870c76e77cb76ec1ad0fc2e3e3cf93b98fb6255d07eb938ea0a
2024-08-27 19:01.20 ---> using "7f1fc91569c4944f2a42384167d6a5257d51f4f823a2dc27fc5cd059b17040d7" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo chown opam:opam /home/opam"))
2024-08-27 19:01.20 ---> using "bc3f29ea438c9e2614414d51ac62e10cee52d78977c2addbef0ed4c0d41b35c5" from cache

/home/opam: (run (shell "sudo mkdir /src"))
2024-08-27 19:01.20 ---> using "e3f5da4bc36aaf6b25c398ac7eec585bac7e6c1717598971e405e46f7521bd10" from cache

/home/opam: (copy (src packages) (dst /src/packages))
2024-08-27 19:01.30 ---> saved as "3c2c18d2929021f6038fe344959589222b3f73102919c97d28a2e232fa409789"

/home/opam: (copy (src repo) (dst /src/repo))
2024-08-27 19:01.30 ---> saved as "6a6463364537a0de4ae476a305041d5895f5110ba7a07c97c37ab29e24624f73"

/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-08-27 19:02.52 ---> saved as "879fad9b900872292ec62f729612f99dc25e3d855cc5e540b170829ab8cde839"

/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-08-27 19:03.16 ---> saved as "7d3dd79ebdf259938cab42430e125881c0f6f7595060ac7655b8ee4d3d5e6810"

/home/opam: (copy (from (build tools))
                  (src /home/opam/voodoo-prep)
                  (dst /home/opam/))
2024-08-27 19:03.16 ---> saved as "9b8af37153c43511f9db6a477b3fcf31a094cad4595cbdf7c946123916da9e06"

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

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved dune.3.16.0  (cached)
-> installed ocamlfind.1.9.6
-> installed dune.3.16.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-08-27 19:04.01 ---> saved as "a90baf15f5e68fd6b22ec52d8e1a98aa69ed8ce5a898584608493e024ea4b5c4"

/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 fun-postgresql.0.2.3 postgresql.5.0.0 ocamlfind.1.9.6 fun-sql.0.2.3 dune-configurator.3.16.0 dune.3.16.0 csexp.1.5.2 conf-postgresql.1 base-bytes.base 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 [179 kB]
Fetched 282 kB in 0s (901 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 fun-postgresql.0.2.3 postgresql.5.0.0 ocamlfind.1.9.6 fun-sql.0.2.3 dune-configurator.3.16.0 dune.3.16.0 csexp.1.5.2 conf-postgresql.1 base-bytes.base" 

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:
libpq-dev
[NOTE] Package dune is already installed (current version is 3.16.0).
[NOTE] Package ocamlfind is already installed (current version is 1.9.6).
The following actions will be performed:
  - install csexp             1.5.2
  - install fun-sql           0.2.3
  - install base-bytes        base
  - install conf-postgresql   1
  - install dune-configurator 3.16.0
  - install postgresql        5.0.0
  - install fun-postgresql    0.2.3
===== 7 to install =====

The following system packages will first need to be installed:
    libpq-dev

<><> 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" "libpq-dev"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libpq5: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 ... 18765 files and directories currently installed.)
- Preparing to unpack .../libpq5_15.8-0+deb12u1_amd64.deb ...
- Unpacking libpq5:amd64 (15.8-0+deb12u1) ...
- Selecting previously unselected package libssl-dev:amd64.
- Preparing to unpack .../libssl-dev_3.0.13-1~deb12u1_amd64.deb ...
- Unpacking libssl-dev:amd64 (3.0.13-1~deb12u1) ...
- Selecting previously unselected package libpq-dev.
- Preparing to unpack .../libpq-dev_15.8-0+deb12u1_amd64.deb ...
- Unpacking libpq-dev (15.8-0+deb12u1) ...
- Setting up libpq5:amd64 (15.8-0+deb12u1) ...
- Setting up libssl-dev:amd64 (3.0.13-1~deb12u1) ...
- Setting up libpq-dev (15.8-0+deb12u1) ...
- Processing triggers for libc-bin (2.36-9+deb12u7) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  3/21:
Processing  4/21:
Processing  5/21: [fun-postgresql.0.2.3: http]
Processing  6/21: [fun-postgresql.0.2.3: http]
Processing  7/21: [fun-postgresql.0.2.3: http] [conf-postgresql: pg_config]
-> installed base-bytes.base
Processing  8/21: [fun-postgresql.0.2.3: http] [conf-postgresql: pg_config]
-> retrieved csexp.1.5.2  (cached)
Processing  9/21: [fun-postgresql.0.2.3: http] [fun-sql.0.2.3: http] [conf-postgresql: pg_config]
Processing 10/21: [fun-postgresql.0.2.3: http] [fun-sql.0.2.3: http] [conf-postgresql: pg_config] [csexp: dune build]
-> retrieved dune-configurator.3.16.0  (cached)
Processing 11/21: [fun-postgresql.0.2.3: http] [fun-sql.0.2.3: http] [conf-postgresql: pg_config] [csexp: dune build]
Processing 11/21: [fun-sql.0.2.3: http] [conf-postgresql: pg_config] [csexp: dune build]
- BINDIR = /usr/lib/postgresql/15/bin
- DOCDIR = /usr/share/doc/postgresql-doc-15
- HTMLDIR = /usr/share/doc/postgresql-doc-15
- INCLUDEDIR = /usr/include/postgresql
- PKGINCLUDEDIR = /usr/include/postgresql
- INCLUDEDIR-SERVER = /usr/include/postgresql/15/server
- LIBDIR = /usr/lib/x86_64-linux-gnu
- PKGLIBDIR = /usr/lib/postgresql/15/lib
- LOCALEDIR = /usr/share/locale
- MANDIR = /usr/share/postgresql/15/man
- SHAREDIR = /usr/share/postgresql/15
- SYSCONFDIR = /etc/postgresql-common
- PGXS = /usr/lib/postgresql/15/lib/pgxs/src/makefiles/pgxs.mk
- CONFIGURE =  '--build=x86_64-linux-gnu' '--prefix=/usr' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--sysconfdir=/etc' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/x86_64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--with-tcl' '--with-perl' '--with-python' '--with-pam' '--with-openssl' '--with-libxml' '--with-libxslt' '--mandir=/usr/share/postgresql/15/man' '--docdir=/usr/share/doc/postgresql-doc-15' '--sysconfdir=/etc/postgresql-common' '--datarootdir=/usr/share/' '--datadir=/usr/share/postgresql/15' '--bindir=/usr/lib/postgresql/15/bin' '--libdir=/usr/lib/x86_64-linux-gnu/' '--libexecdir=/usr/lib/postgresql/' '--includedir=/usr/include/postgresql/' '--with-extra-version= (Debian 15.8-0+deb12u1)' '--enable-nls' '--enable-thread-safety' '--enable-debug' '--enable-dtrace' '--disable-rpath' '--with-uuid=e2fs' '--with-gnu-ld' '--with-gssapi' '--with-ldap' '--with-pgport=5432' '--with-system-tzdata=/usr/share/zoneinfo' 'AWK=mawk' 'MKDIR_P=/bin/mkdir -p' 'PROVE=/usr/bin/prove' 'PYTHON=/usr/bin/python3' 'TAR=/bin/tar' 'XSLTPROC=xsltproc --nonet' 'CFLAGS=-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fno-omit-frame-pointer' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' '--enable-tap-tests' '--with-icu' '--with-llvm' 'LLVM_CONFIG=/usr/bin/llvm-config-14' 'CLANG=/usr/bin/clang-14' '--with-lz4' '--with-zstd' '--with-systemd' '--with-selinux' 'build_alias=x86_64-linux-gnu' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' 'CXXFLAGS=-g -O2 -fstack-protector-strong -Wformat -Werror=format-security'
- CC = gcc
- CPPFLAGS = -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2
- CFLAGS = -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -g -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fno-omit-frame-pointer
- CFLAGS_SL = -fPIC
- LDFLAGS = -Wl,-z,relro -Wl,-z,now -L/usr/lib/llvm-14/lib -Wl,--as-needed
- LDFLAGS_EX = 
- LDFLAGS_SL = 
- LIBS = -lpgcommon -lpgport -lselinux -lzstd -llz4 -lxslt -lxml2 -lpam -lssl -lcrypto -lgssapi_krb5 -lz -lreadline -lm 
- VERSION = PostgreSQL 15.8 (Debian 15.8-0+deb12u1)
-> compiled  conf-postgresql.1
Processing 11/21: [fun-sql.0.2.3: http] [csexp: dune build]
-> installed conf-postgresql.1
Processing 12/21: [fun-sql.0.2.3: http] [csexp: dune build]
Processing 12/21: [csexp: dune build]
-> compiled  csexp.1.5.2
Processing 12/21:
-> installed csexp.1.5.2
Processing 13/21:
Processing 14/21: [dune-configurator: rm]
-> retrieved postgresql.5.0.0  (cached)
-> retrieved fun-postgresql.0.2.3  (https://github.com/yawaramin/fun-sql/releases/download/v0.2.3/fun-sql-0.2.3.tbz)
-> retrieved fun-sql.0.2.3  (https://github.com/yawaramin/fun-sql/releases/download/v0.2.3/fun-sql-0.2.3.tbz)
Processing 15/21: [dune-configurator: rm] [fun-sql: dune build]
Processing 15/21: [dune-configurator: dune build] [fun-sql: dune build]
-> compiled  fun-sql.0.2.3
Processing 15/21: [dune-configurator: dune build]
-> installed fun-sql.0.2.3
Processing 16/21: [dune-configurator: dune build]
+ /home/opam/.opam/5.1/bin/dune "build" "-p" "dune-configurator" "-j" "39" "@install" (CWD=/home/opam/.opam/5.1/.opam-switch/build/dune-configurator.3.16.0)
-> compiled  dune-configurator.3.16.0
-> installed dune-configurator.3.16.0
Processing 18/21: [postgresql: dune build]
+ /home/opam/.opam/5.1/bin/dune "build" "-p" "postgresql" "-j" "39" (CWD=/home/opam/.opam/5.1/.opam-switch/build/postgresql.5.0.0)
-> compiled  postgresql.5.0.0
-> installed postgresql.5.0.0
Processing 20/21: [fun-postgresql: dune build]
+ /home/opam/.opam/5.1/bin/dune "build" "-p" "fun-postgresql" "-j" "39" "@install" (CWD=/home/opam/.opam/5.1/.opam-switch/build/fun-postgresql.0.2.3)
-> compiled  fun-postgresql.0.2.3
-> installed fun-postgresql.0.2.3
Done.
# Run eval $(opam env) to update the current shell environment
2024-08-27 19:06.08 ---> saved as "5bc668652c23c5e1c3cbb235aa6173759b38b09fb78f66ba9e7b681b2ccd2d4b"

/home/opam: (run (shell "opam exec -- ~/voodoo-prep -u fun-postgresql:c26339fdb7ec39f0c6c69be70338b868,postgresql:715e2c3dfb078cd0775ba70374e51040,conf-postgresql:d41d8cd98f00b204e9800998ecf8427e"))
2024-08-27 19:06.09 ---> saved as "61caaa8d5dbe58eac4b7207de3a65ade86188bf9e924f25b2b3f6c4428c31813"

/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.746248') && (for DATA in prep/universes/d41d8cd98f00b204e9800998ecf8427e/conf-postgresql/1,conf-postgresql.1-d41d8cd98f00b204e9800998ecf8427e,conf-postgresql.1 prep/universes/715e2c3dfb078cd0775ba70374e51040/postgresql/5.0.0,postgresql.5.0.0-715e2c3dfb078cd0775ba70374e51040,postgresql.5.0.0 prep/universes/c26339fdb7ec39f0c6c69be70338b868/fun-postgresql/0.2.3,fun-postgresql.0.2.3-c26339fdb7ec39f0c6c69be70338b868,fun-postgresql.0.2.3; 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/d41d8cd98f00b204e9800998ecf8427e/conf-postgresql/1,conf-postgresql.1-d41d8cd98f00b204e9800998ecf8427e,conf-postgresql.1 prep/universes/715e2c3dfb078cd0775ba70374e51040/postgresql/5.0.0,postgresql.5.0.0-715e2c3dfb078cd0775ba70374e51040,postgresql.5.0.0 prep/universes/c26339fdb7ec39f0c6c69be70338b868/fun-postgresql/0.2.3,fun-postgresql.0.2.3-c26339fdb7ec39f0c6c69be70338b868,fun-postgresql.0.2.3; do IFS=\",\"; set -- $DATA; rsync -aR --no-p ./$1 staging.docs.ci.ocamllabs.io:/data/.; done) && (for DATA in prep/universes/d41d8cd98f00b204e9800998ecf8427e/conf-postgresql/1,conf-postgresql.1-d41d8cd98f00b204e9800998ecf8427e,conf-postgresql.1 prep/universes/715e2c3dfb078cd0775ba70374e51040/postgresql/5.0.0,postgresql.5.0.0-715e2c3dfb078cd0775ba70374e51040,postgresql.5.0.0 prep/universes/c26339fdb7ec39f0c6c69be70338b868/fun-postgresql/0.2.3,fun-postgresql.0.2.3-c26339fdb7ec39f0c6c69be70338b868,fun-postgresql.0.2.3; do IFS=\",\"; set -- $DATA; HASH=$((sha256sum $1/content.tar | cut -d \" \" -f 1)  || echo -n 'empty'); printf \"HASHES:$2:$HASH\\n\"; done)"))
0.746248
prep/universes/d41d8cd98f00b204e9800998ecf8427e/conf-postgresql/1/opam
prep/universes/715e2c3dfb078cd0775ba70374e51040/postgresql/5.0.0/doc/
prep/universes/715e2c3dfb078cd0775ba70374e51040/postgresql/5.0.0/doc/postgresql/
prep/universes/715e2c3dfb078cd0775ba70374e51040/postgresql/5.0.0/doc/postgresql/CHANGES.md
prep/universes/715e2c3dfb078cd0775ba70374e51040/postgresql/5.0.0/doc/postgresql/LICENSE.md
prep/universes/715e2c3dfb078cd0775ba70374e51040/postgresql/5.0.0/doc/postgresql/README.md
prep/universes/715e2c3dfb078cd0775ba70374e51040/postgresql/5.0.0/lib/
prep/universes/715e2c3dfb078cd0775ba70374e51040/postgresql/5.0.0/lib/postgresql/
prep/universes/715e2c3dfb078cd0775ba70374e51040/postgresql/5.0.0/lib/postgresql/postgresql.ocamlobjinfo
prep/universes/715e2c3dfb078cd0775ba70374e51040/postgresql/5.0.0/lib/postgresql/META
prep/universes/715e2c3dfb078cd0775ba70374e51040/postgresql/5.0.0/lib/postgresql/dune-package
prep/universes/715e2c3dfb078cd0775ba70374e51040/postgresql/5.0.0/lib/postgresql/postgresql.cmi
prep/universes/715e2c3dfb078cd0775ba70374e51040/postgresql/5.0.0/lib/postgresql/postgresql.cmt
prep/universes/715e2c3dfb078cd0775ba70374e51040/postgresql/5.0.0/lib/postgresql/postgresql.cmti
prep/universes/715e2c3dfb078cd0775ba70374e51040/postgresql/5.0.0/lib/postgresql/postgresql__.cmi
prep/universes/715e2c3dfb078cd0775ba70374e51040/postgresql/5.0.0/lib/postgresql/postgresql__.cmt
prep/universes/715e2c3dfb078cd0775ba70374e51040/postgresql/5.0.0/lib/postgresql/postgresql__Error_code.cmi
prep/universes/715e2c3dfb078cd0775ba70374e51040/postgresql/5.0.0/lib/postgresql/postgresql__Error_code.cmt
prep/universes/715e2c3dfb078cd0775ba70374e51040/postgresql/5.0.0/lib/postgresql/postgresql__Error_field.cmi
prep/universes/715e2c3dfb078cd0775ba70374e51040/postgresql/5.0.0/lib/postgresql/postgresql__Error_field.cmt
prep/universes/715e2c3dfb078cd0775ba70374e51040/postgresql/5.0.0/opam
prep/universes/c26339fdb7ec39f0c6c69be70338b868/fun-postgresql/0.2.3/doc/
prep/universes/c26339fdb7ec39f0c6c69be70338b868/fun-postgresql/0.2.3/doc/fun-postgresql/
prep/universes/c26339fdb7ec39f0c6c69be70338b868/fun-postgresql/0.2.3/doc/fun-postgresql/CHANGES.md
prep/universes/c26339fdb7ec39f0c6c69be70338b868/fun-postgresql/0.2.3/doc/fun-postgresql/README.md
prep/universes/c26339fdb7ec39f0c6c69be70338b868/fun-postgresql/0.2.3/lib/
prep/universes/c26339fdb7ec39f0c6c69be70338b868/fun-postgresql/0.2.3/lib/fun-postgresql/
prep/universes/c26339fdb7ec39f0c6c69be70338b868/fun-postgresql/0.2.3/lib/fun-postgresql/fun_postgresql.ocamlobjinfo
prep/universes/c26339fdb7ec39f0c6c69be70338b868/fun-postgresql/0.2.3/lib/fun-postgresql/META
prep/universes/c26339fdb7ec39f0c6c69be70338b868/fun-postgresql/0.2.3/lib/fun-postgresql/dune-package
prep/universes/c26339fdb7ec39f0c6c69be70338b868/fun-postgresql/0.2.3/lib/fun-postgresql/fun_postgresql.cmi
prep/universes/c26339fdb7ec39f0c6c69be70338b868/fun-postgresql/0.2.3/lib/fun-postgresql/fun_postgresql.cmt
prep/universes/c26339fdb7ec39f0c6c69be70338b868/fun-postgresql/0.2.3/lib/fun-postgresql/fun_postgresql.cmti
prep/universes/c26339fdb7ec39f0c6c69be70338b868/fun-postgresql/0.2.3/lib/fun-postgresql/fun_postgresql__.cmi
prep/universes/c26339fdb7ec39f0c6c69be70338b868/fun-postgresql/0.2.3/lib/fun-postgresql/fun_postgresql__.cmt
prep/universes/c26339fdb7ec39f0c6c69be70338b868/fun-postgresql/0.2.3/lib/fun-postgresql/fun_postgresql__Impl.cmi
prep/universes/c26339fdb7ec39f0c6c69be70338b868/fun-postgresql/0.2.3/lib/fun-postgresql/fun_postgresql__Impl.cmt
prep/universes/c26339fdb7ec39f0c6c69be70338b868/fun-postgresql/0.2.3/opam
Warning: Permanently added '[staging.docs.ci.ocamllabs.io]:2222' (ED25519) to the list of known hosts.
Warning: Permanently added '[staging.docs.ci.ocamllabs.io]:2222' (ED25519) to the list of known hosts.
Warning: Permanently added '[staging.docs.ci.ocamllabs.io]:2222' (ED25519) to the list of known hosts.
HASHES:conf-postgresql.1-d41d8cd98f00b204e9800998ecf8427e:547af828443919e314f6c5d3d3e52015cdeb8af02f945bedcef42db39d5eff24
HASHES:postgresql.5.0.0-715e2c3dfb078cd0775ba70374e51040:0dd071236e976f682e6d7425d84bec86a04fa613c8fd750a441340954bf0f421
HASHES:fun-postgresql.0.2.3-c26339fdb7ec39f0c6c69be70338b868:29daa8b4656a2027804f9945c40c3f62dc928b29cb9d325b998dc8cde068350b
2024-08-27 19:06.11 ---> saved as "8ddf55037ab5bc0af66b40435464fbcc6ca8fe1dc0c19b3ddbdf3bc590bcd070"
Job succeeded
2024-08-27 19:06.18: fun-postgresql.0.2.3-c26339fdb7ec39f0c6c69be70338b868 -> 29daa8b4656a2027804f9945c40c3f62dc928b29cb9d325b998dc8cde068350b
2024-08-27 19:06.18: postgresql.5.0.0-715e2c3dfb078cd0775ba70374e51040 -> 0dd071236e976f682e6d7425d84bec86a04fa613c8fd750a441340954bf0f421
2024-08-27 19:06.18: conf-postgresql.1-d41d8cd98f00b204e9800998ecf8427e -> 547af828443919e314f6c5d3d3e52015cdeb8af02f945bedcef42db39d5eff24
2024-08-27 19:06.18: Job succeeded