Build:
  1. 0
2024-05-17 13:37.55: New job: Voodoo prep postgresql.4.4.1; 3dff70f6a111e5aa151e608117798d07
2024-05-17 13:37.55: Connecting to build cluster…
2024-05-17 13:37.55: Waiting for resource in pool OCluster
2024-05-17 13:39.39: Waiting for worker…
2024-05-17 13:48.16: Got resource from pool OCluster
2024-05-17 13:48.16: 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:57d068fb00b19df125347cfd89eefad2653b2fc4b5336b30d766293a6f8414e6)
         (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:57d068fb00b19df125347cfd89eefad2653b2fc4b5336b30d766293a6f8414e6)
 (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.15.2 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 postgresql.4.4.1 stdio.v0.16.0 sexplib0.v0.16.0 ocamlfind.1.9.6 dune-configurator.3.15.2 dune.3.15.2 csexp.1.5.2 conf-bash.1 base-bytes.base base.v0.16.3 2>&1 | tee ~/opam.err.log) || echo 'Failed to install all packages')"))
 (run (shell "opam exec -- ~/voodoo-prep -u postgresql:3dff70f6a111e5aa151e608117798d07"))
 (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.149456') && (for DATA in prep/universes/3dff70f6a111e5aa151e608117798d07/postgresql/4.4.1,postgresql.4.4.1-3dff70f6a111e5aa151e608117798d07,postgresql.4.4.1; do IFS=\",\"; set -- $DATA; ([ -d $1 ] || (echo \"FAILED:$2\" && mkdir -p $1 && cp ~/opam.err.log $1 && opam show $3 --raw > $1/opam)) && (shopt -s nullglob && ((tar -cvf $1.tar $1/*  && rm -R $1/* && mv $1.tar $1/content.tar) || (echo 'Empty directory'))) done) && (for DATA in prep/universes/3dff70f6a111e5aa151e608117798d07/postgresql/4.4.1,postgresql.4.4.1-3dff70f6a111e5aa151e608117798d07,postgresql.4.4.1; do IFS=\",\"; set -- $DATA; rsync -aR --no-p ./$1 docs.ci.ocaml.org:/data/.; done) && (for DATA in prep/universes/3dff70f6a111e5aa151e608117798d07/postgresql/4.4.1,postgresql.4.4.1-3dff70f6a111e5aa151e608117798d07,postgresql.4.4.1; do IFS=\",\"; set -- $DATA; HASH=$((sha256sum $1/content.tar | cut -d \" \" -f 1)  || echo -n 'empty'); printf \"HASHES:$2:$HASH\\n\"; done)"))
)
END-OF-SPEC

ocluster-client submit-obuilder https://github.com/ocaml/opam-repository.git a1171af56c97da410b2fe70387be5d9bffeb9ea7 --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-05-17 13:48.16: RETRYING: 2024-05-17/133755-voodoo-prep-8cc70c Number of retries: 0 (retriable error condition)
Building on x86-bm-c10.sw.ocaml.org
All commits already cached
Updating files:  82% (27657/33696)
Updating files:  83% (27968/33696)
Updating files:  84% (28305/33696)
Updating files:  85% (28642/33696)
Updating files:  86% (28979/33696)
Updating files:  87% (29316/33696)
Updating files:  88% (29653/33696)
Updating files:  89% (29990/33696)
Updating files:  90% (30327/33696)
Updating files:  91% (30664/33696)
Updating files:  92% (31001/33696)
Updating files:  93% (31338/33696)
Updating files:  94% (31675/33696)
Updating files:  95% (32012/33696)
Updating files:  96% (32349/33696)
Updating files:  97% (32686/33696)
Updating files:  98% (33023/33696)
Updating files:  99% (33360/33696)
Updating files: 100% (33696/33696)
Updating files: 100% (33696/33696), done.
HEAD is now at a1171af56c `postgresql` version bounds

(build "tools" …)

(from ocaml/opam:debian-12-ocaml-5.1@sha256:57d068fb00b19df125347cfd89eefad2653b2fc4b5336b30d766293a6f8414e6)
2024-05-17 13:44.37 ---> using "21c8a5b61b5cb4edf66f4190bf5c4b0e52bef7327a05c34de6f8342edd793c57" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo chown opam:opam /home/opam"))
2024-05-17 13:44.37 ---> using "46e86ad6c91a7732e8a7ff32712bee397c6e462e5217d61d9842ae07d5bb5e2c" 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 [156 kB]
Fetched 259 kB in 0s (989 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  libpkgconf3 pkgconf pkgconf-bin
Suggested packages:
  m4-doc
The following NEW packages will be installed:
  libpkgconf3 m4 pkg-config pkgconf pkgconf-bin
0 upgraded, 5 newly installed, 0 to remove and 1 not upgraded.
Need to get 392 kB of archives.
After this operation, 969 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bookworm/main amd64 libpkgconf3 amd64 1.8.1-1 [36.1 kB]
Get:2 http://deb.debian.org/debian bookworm/main amd64 m4 amd64 1.4.19-3 [287 kB]
Get:3 http://deb.debian.org/debian bookworm/main amd64 pkgconf-bin amd64 1.8.1-1 [29.5 kB]
Get:4 http://deb.debian.org/debian bookworm/main amd64 pkgconf amd64 1.8.1-1 [25.9 kB]
Get:5 http://deb.debian.org/debian bookworm/main amd64 pkg-config amd64 1.8.1-1 [13.7 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 392 kB in 0s (14.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 ... 18766 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-05-17 13:44.37 ---> using "efd532a61c81b7400895116d75dd48de3e2df13e2c011e2b49ee47c397bdcfe7" 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.14.3 [required by bos]
  - install cmdliner         1.2.0  [required by voodoo-prep]
  - install ocamlfind        1.9.6  [required by bos]
  - install seq              base   [required by re]
  - install dune             3.15.2 [required by voodoo-prep]
  - install topkg            1.0.7  [required by bos]
  - install stdlib-shims     0.3.0  [required by ocamlgraph]
  - install re               1.11.0 [required by opam-format]
  - install opam-file-format 2.1.6  [required by opam-format]
  - install cppo             1.6.9  [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 ocamlgraph       2.1.0  [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.1.5  [required by opam-format]
  - install bos              0.2.1  [required by voodoo-prep]
  - install opam-format      2.1.5  [required by voodoo-prep]
  - install voodoo-prep      ~dev*
===== 20 to install =====

<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[astring.0.8.5] found in cache
[bos.0.2.1] found in cache
[cmdliner.1.2.0] found in cache
[cppo.1.6.9] found in cache
[dune.3.15.2] found in cache
[fmt.0.9.0] found in cache
[fpath.0.7.3] found in cache
[logs.0.7.0] found in cache
[ocamlbuild.0.14.3] found in cache
[ocamlfind.1.9.6] found in cache
[ocamlgraph.2.1.0] found in cache
[opam-core.2.1.5] found in cache
[opam-file-format.2.1.6] found in cache
[opam-format.2.1.5] found in cache
[re.1.11.0] found in cache
[rresult.0.7.0] found in cache
[stdlib-shims.0.3.0] found in cache
[topkg.1.0.7] 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.2.0
-> installed ocamlfind.1.9.6
-> installed ocamlbuild.0.14.3
-> installed topkg.1.0.7
-> installed rresult.0.7.0
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed fpath.0.7.3
-> installed logs.0.7.0
-> installed bos.0.2.1
-> installed dune.3.15.2
-> installed stdlib-shims.0.3.0
-> installed opam-file-format.2.1.6
-> installed cppo.1.6.9
-> installed re.1.11.0
-> installed ocamlgraph.2.1.0
-> installed opam-core.2.1.5
-> installed opam-format.2.1.5
-> installed voodoo-prep.~dev
Done.
# Run eval $(opam env) to update the current shell environment
2024-05-17 13:44.37 ---> using "86127708139d2d172202f772d6c036323f086431cacbaa6c4a31bf2950cbd98e" from cache

/home/opam: (run (shell "cp $(opam config var bin)/voodoo-prep /home/opam"))
2024-05-17 13:44.37 ---> using "788dec576c57618a4cc15948e396d930abd9675164f1af5c1581ac65f2bc31f5" from cache
2024-05-17 13:44.37 --> finished "tools"

(from ocaml/opam:debian-12-ocaml-5.1@sha256:57d068fb00b19df125347cfd89eefad2653b2fc4b5336b30d766293a6f8414e6)
2024-05-17 13:44.37 ---> using "21c8a5b61b5cb4edf66f4190bf5c4b0e52bef7327a05c34de6f8342edd793c57" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo chown opam:opam /home/opam"))
2024-05-17 13:44.37 ---> using "46e86ad6c91a7732e8a7ff32712bee397c6e462e5217d61d9842ae07d5bb5e2c" from cache

/home/opam: (run (shell "sudo mkdir /src"))
2024-05-17 13:44.37 ---> using "ab330ec315986f22005650272d934940278d598a2dcb280c0888bd32672bfe8d" from cache

/home/opam: (copy (src packages) (dst /src/packages))
2024-05-17 13:44.52 ---> saved as "eff80298e0dceab1b12d8376b00bcd7df258bf2afa8c9e95fc81dde16c91714b"

/home/opam: (copy (src repo) (dst /src/repo))
2024-05-17 13:44.53 ---> saved as "8e940ee936184b1f4d54845afc0a5c059e17ccad327f79b2933df0be9dcaa891"

/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 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-05-17 13:46.13 ---> saved as "d4928d522efd86cddab0da5b7ade4f8acb8fb9c563ec6259530f30309d1edecf"

/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-05-17 13:46.41 ---> saved as "afad9523f2e646f3a6c603ddc282b1dc1645d6e07a85623a3b8d152b076c5705"

/home/opam: (copy (from (build tools))
                  (src /home/opam/voodoo-prep)
                  (dst /home/opam/))
2024-05-17 13:46.41 ---> saved as "44ac28f6eae3b745fc7dcb279867825a3f1aafdf47fea271ef318f38a793a5d0"

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

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved dune.3.15.2  (cached)
-> installed ocamlfind.1.9.6
-> installed dune.3.15.2
Done.
# Run eval $(opam env) to update the current shell environment
2024-05-17 13:47.36 ---> saved as "dee3e1cba7003a64497a507d8543b675d14fe872fb13e293971f98ce60867268"

/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 postgresql.4.4.1 stdio.v0.16.0 sexplib0.v0.16.0 ocamlfind.1.9.6 dune-configurator.3.15.2 dune.3.15.2 csexp.1.5.2 conf-bash.1 base-bytes.base base.v0.16.3 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 [156 kB]
Fetched 259 kB in 0s (898 kB/s)
Reading package lists...
Building dependency tree...
Reading state information...
1 package can be upgraded. Run 'apt list --upgradable' to see it.
Opam plugin "depext" may require upgrading/reinstalling. Reinstall the plugin on the current switch? [Y/n] y
The following actions will be performed:
  - recompile opam-depext 1.2.1-1

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

<><> opam-depext.1.2.1-1 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 postgresql.4.4.1 stdio.v0.16.0 sexplib0.v0.16.0 ocamlfind.1.9.6 dune-configurator.3.15.2 dune.3.15.2 csexp.1.5.2 conf-bash.1 base-bytes.base base.v0.16.3" 

You are using opam 2.1+, where external dependency handling has been integrated: consider calling opam directly, the 'depext' plugin interface is provided for backwards compatibility only
# 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.15.2).
[NOTE] Package ocamlfind is already installed (current version is 1.9.6).
The following actions will be performed:
  - install csexp             1.5.2
  - install base-bytes        base
  - install conf-bash         1
  - install sexplib0          v0.16.0
  - install dune-configurator 3.15.2
  - install base              v0.16.3
  - install stdio             v0.16.0
  - install postgresql        4.4.1
===== 8 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 ... 18766 files and directories currently installed.)
- Preparing to unpack .../libpq5_15.6-0+deb12u1_amd64.deb ...
- Unpacking libpq5:amd64 (15.6-0+deb12u1) ...
- Selecting previously unselected package libssl-dev:amd64.
- Preparing to unpack .../libssl-dev_3.0.11-1~deb12u2_amd64.deb ...
- Unpacking libssl-dev:amd64 (3.0.11-1~deb12u2) ...
- Selecting previously unselected package libpq-dev.
- Preparing to unpack .../libpq-dev_15.6-0+deb12u1_amd64.deb ...
- Unpacking libpq-dev (15.6-0+deb12u1) ...
- Setting up libpq5:amd64 (15.6-0+deb12u1) ...
- Setting up libssl-dev:amd64 (3.0.11-1~deb12u2) ...
- Setting up libpq-dev (15.6-0+deb12u1) ...
- Processing triggers for libc-bin (2.36-9+deb12u7) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/24:
Processing  2/24:
Processing  3/24:
Processing  4/24:
Processing  5/24:
Processing  6/24:
Processing  7/24: [conf-bash: bash]
-> installed base-bytes.base
Processing  8/24: [conf-bash: bash]
-> retrieved base.v0.16.3  (cached)
Processing  9/24: [conf-bash: bash]
-> retrieved csexp.1.5.2  (cached)
Processing 10/24: [conf-bash: bash]
Processing 11/24: [conf-bash: bash] [csexp: dune build]
-> retrieved dune-configurator.3.15.2  (cached)
Processing 12/24: [conf-bash: bash] [csexp: dune build]
- GNU bash, version 5.2.15(1)-release (x86_64-pc-linux-gnu)
- Copyright (C) 2022 Free Software Foundation, Inc.
- License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
- 
- This is free software; you are free to change and redistribute it.
- There is NO WARRANTY, to the extent permitted by law.
-> compiled  conf-bash.1
Processing 12/24: [csexp: dune build]
-> installed conf-bash.1
Processing 13/24: [csexp: dune build]
-> retrieved postgresql.4.4.1  (cached)
-> retrieved sexplib0.v0.16.0  (cached)
Processing 14/24: [csexp: dune build] [sexplib0: dune build]
-> compiled  csexp.1.5.2
Processing 14/24: [sexplib0: dune build]
-> installed csexp.1.5.2
Processing 15/24: [sexplib0: dune build]
Processing 16/24: [dune-configurator: rm] [sexplib0: dune build]
-> retrieved stdio.v0.16.0  (cached)
Processing 16/24: [dune-configurator: dune build] [sexplib0: dune build]
-> compiled  sexplib0.v0.16.0
Processing 16/24: [dune-configurator: dune build]
-> installed sexplib0.v0.16.0
Processing 17/24: [dune-configurator: dune build]
+ /home/opam/.opam/5.1/bin/dune "build" "-p" "dune-configurator" "-j" "31" "@install" (CWD=/home/opam/.opam/5.1/.opam-switch/build/dune-configurator.3.15.2)
-> compiled  dune-configurator.3.15.2
-> installed dune-configurator.3.15.2
Processing 19/24: [base: dune build]
+ /home/opam/.opam/5.1/bin/dune "build" "-p" "base" "-j" "31" (CWD=/home/opam/.opam/5.1/.opam-switch/build/base.v0.16.3)
-> compiled  base.v0.16.3
-> installed base.v0.16.3
Processing 21/24: [stdio: dune build]
+ /home/opam/.opam/5.1/bin/dune "build" "-p" "stdio" "-j" "31" (CWD=/home/opam/.opam/5.1/.opam-switch/build/stdio.v0.16.0)
-> compiled  stdio.v0.16.0
-> installed stdio.v0.16.0
Processing 23/24: [postgresql: dune build]
+ /home/opam/.opam/5.1/bin/dune "build" "-p" "postgresql" "-j" "31" (CWD=/home/opam/.opam/5.1/.opam-switch/build/postgresql.4.4.1)
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w -40 -g -bin-annot -I src/config/.discover.eobjs/byte -I /home/opam/.opam/5.1/lib/base -I /home/opam/.opam/5.1/lib/base/base_internalhash_types -I /home/opam/.opam/5.1/lib/base/caml -I /home/opam/.opam/5.1/lib/base/shadow_stdlib -I /home/opam/.opam/5.1/lib/csexp -I /home/opam/.opam/5.1/lib/dune-configurator -I /home/opam/.opam/5.1/lib/ocaml/unix -I /home/opam/.opam/5.1/lib/sexplib0 -I /home/opam/.opam/5.1/lib/stdio -no-alias-deps -o src/config/.discover.eobjs/byte/discover.cmo -c -impl src/config/discover.ml)
- File "src/config/discover.ml", line 50, characters 12-21:
- 50 |             Caml.exit 1
-                  ^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlopt.opt -w -40 -g -O3 -I src/config/.discover.eobjs/byte -I src/config/.discover.eobjs/native -I /home/opam/.opam/5.1/lib/base -I /home/opam/.opam/5.1/lib/base/base_internalhash_types -I /home/opam/.opam/5.1/lib/base/caml -I /home/opam/.opam/5.1/lib/base/shadow_stdlib -I /home/opam/.opam/5.1/lib/csexp -I /home/opam/.opam/5.1/lib/dune-configurator -I /home/opam/.opam/5.1/lib/ocaml/unix -I /home/opam/.opam/5.1/lib/sexplib0 -I /home/opam/.opam/5.1/lib/stdio -intf-suffix .ml -no-alias-deps -o src/config/.discover.eobjs/native/discover.cmx -c -impl src/config/discover.ml)
- File "src/config/discover.ml", line 50, characters 12-21:
- 50 |             Caml.exit 1
-                  ^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -I/usr/include/postgresql -DPG_OCAML_MAJOR_VERSION=15 -DPG_OCAML_MINOR_VERSION=6 -g -O2 -fPIC -DPIC -g -I /home/opam/.opam/5.1/lib/ocaml -I /home/opam/.opam/5.1/lib/ocaml/threads -I /home/opam/.opam/5.1/lib/ocaml/unix -o postgresql_stubs.o -c postgresql_stubs.c)
- postgresql_stubs.c: In function 'PQocaml_init':
- postgresql_stubs.c:142:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   142 |   v_exc_Oid = caml_named_value("Postgresql.Oid");
-       |             ^
- postgresql_stubs.c:143:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   143 |   v_null_param = caml_named_value("Postgresql.null");
-       |                ^
- postgresql_stubs.c: In function 'copy_params_shallow':
- postgresql_stubs.c:613:15: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   613 |     params[i] = (v_param == *v_null_param) ? NULL : String_val(v_param);
-       |               ^
- In file included from postgresql_stubs.c:48:
- postgresql_stubs.c: In function 'PQgetvalue_stub':
- /home/opam/.opam/5.1/lib/ocaml/caml/mlvalues.h:329:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   329 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ~^~~~~~~~~~~~~~~~~~~~~~~~~
- postgresql_stubs.c:811:12: note: in expansion of macro 'String_val'
-   811 |     memcpy(String_val(v_str), str, len);
-       |            ^~~~~~~~~~
- In file included from postgresql_stubs.c:44:
- /usr/include/string.h:43:39: note: expected 'void * restrict' but argument is of type 'const char *'
-    43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
-       |                      ~~~~~~~~~~~~~~~~~^~~~~~
- postgresql_stubs.c: In function 'unescape_bytea':
- /home/opam/.opam/5.1/lib/ocaml/caml/mlvalues.h:329:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   329 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ~^~~~~~~~~~~~~~~~~~~~~~~~~
- postgresql_stubs.c:866:12: note: in expansion of macro 'String_val'
-   866 |     memcpy(String_val(v_res), buf, res_len);
-       |            ^~~~~~~~~~
- /usr/include/string.h:43:39: note: expected 'void * restrict' but argument is of type 'const char *'
-    43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
-       |                      ~~~~~~~~~~~~~~~~~^~~~~~
- postgresql_stubs.c: In function 'PQgetescval_stub':
- /home/opam/.opam/5.1/lib/ocaml/caml/mlvalues.h:329:24: warning: passing argument 2 of 'decode_bytea_hex' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   329 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ~^~~~~~~~~~~~~~~~~~~~~~~~~
- postgresql_stubs.c:912:29: note: in expansion of macro 'String_val'
-   912 |       decode_bytea_hex(str, String_val(v_str), n_hex_pairs);
-       |                             ^~~~~~~~~~
- postgresql_stubs.c:882:53: note: expected 'char *' but argument is of type 'const char *'
-   882 | static void decode_bytea_hex(const char *src, char *dst, size_t dst_len)
-       |                                               ~~~~~~^~~
- /home/opam/.opam/5.1/lib/ocaml/caml/mlvalues.h:329:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   329 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ~^~~~~~~~~~~~~~~~~~~~~~~~~
- postgresql_stubs.c:918:12: note: in expansion of macro 'String_val'
-   918 |     memcpy(String_val(v_str), str, len);
-       |            ^~~~~~~~~~
- /usr/include/string.h:43:39: note: expected 'void * restrict' but argument is of type 'const char *'
-    43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
-       |                      ~~~~~~~~~~~~~~~~~^~~~~~
- postgresql_stubs.c: In function 'PQescapeStringConn_stub':
- /home/opam/.opam/5.1/lib/ocaml/caml/mlvalues.h:329:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   329 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ~^~~~~~~~~~~~~~~~~~~~~~~~~
- postgresql_stubs.c:1132:12: note: in expansion of macro 'String_val'
-  1132 |     memcpy(String_val(v_res), buf, n_written);
-       |            ^~~~~~~~~~
- /usr/include/string.h:43:39: note: expected 'void * restrict' but argument is of type 'const char *'
-    43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
-       |                      ~~~~~~~~~~~~~~~~~^~~~~~
- postgresql_stubs.c: In function 'PQescapeByteaConn_stub':
- /home/opam/.opam/5.1/lib/ocaml/caml/mlvalues.h:329:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   329 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ~^~~~~~~~~~~~~~~~~~~~~~~~~
- postgresql_stubs.c:1155:10: note: in expansion of macro 'String_val'
-  1155 |   memcpy(String_val(v_res), buf, res_len);
-       |          ^~~~~~~~~~
- /usr/include/string.h:43:39: note: expected 'void * restrict' but argument is of type 'const char *'
-    43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
-       |                      ~~~~~~~~~~~~~~~~~^~~~~~
- postgresql_stubs.c: In function 'PQunescapeBytea_stub':
- /home/opam/.opam/5.1/lib/ocaml/caml/mlvalues.h:329:24: warning: passing argument 2 of 'decode_bytea_hex' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   329 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ~^~~~~~~~~~~~~~~~~~~~~~~~~
- postgresql_stubs.c:1180:46: note: in expansion of macro 'String_val'
-  1180 |     decode_bytea_hex(String_val(v_from) + 2, String_val(v_res), res_len);
-       |                                              ^~~~~~~~~~
- postgresql_stubs.c:882:53: note: expected 'char *' but argument is of type 'const char *'
-   882 | static void decode_bytea_hex(const char *src, char *dst, size_t dst_len)
-       |                                               ~~~~~~^~~
- postgresql_stubs.c: In function 'PQgetline_stub':
- postgresql_stubs.c:1224:28: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-  1224 |   memcpy(String_val(v_buf) + pos, buf, len);
- /usr/include/string.h:43:39: note: expected 'void * restrict' but argument is of type 'const char *'
-    43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
-       |                      ~~~~~~~~~~~~~~~~~^~~~~~
- postgresql_stubs.c: In function 'PQgetlineAsync_stub':
- postgresql_stubs.c:1238:61: warning: passing argument 2 of 'PQgetlineAsync' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-  1238 |   return PQgetlineAsync(get_conn(v_conn), String_val(v_buf) + pos, len);
- In file included from postgresql_stubs.c:57:
- /usr/include/postgresql/libpq-fe.h:488:52: note: expected 'char *' but argument is of type 'const char *'
-   488 | extern int      PQgetlineAsync(PGconn *conn, char *buffer, int bufsize);
-       |                                              ~~~~~~^~~~~~
- postgresql_stubs.c: In function 'lo_read_stub':
- postgresql_stubs.c:1461:28: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-  1461 |   memcpy(String_val(v_buf) + pos, buf, len);
- /usr/include/string.h:43:39: note: expected 'void * restrict' but argument is of type 'const char *'
-    43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
-       |                      ~~~~~~~~~~~~~~~~~^~~~~~
-> compiled  postgresql.4.4.1
-> installed postgresql.4.4.1
Done.
# Run eval $(opam env) to update the current shell environment
2024-05-17 13:49.44 ---> saved as "4dc55935c503962395d455eec7141c4ec324565d87b112fd289277ff1fd65acd"

/home/opam: (run (shell "opam exec -- ~/voodoo-prep -u postgresql:3dff70f6a111e5aa151e608117798d07"))
2024-05-17 13:49.47 ---> saved as "088c6387ba727855396410d1be4b270765f32ad132d8d4f7e6721e840094e543"

/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.149456') && (for DATA in prep/universes/3dff70f6a111e5aa151e608117798d07/postgresql/4.4.1,postgresql.4.4.1-3dff70f6a111e5aa151e608117798d07,postgresql.4.4.1; do IFS=\",\"; set -- $DATA; ([ -d $1 ] || (echo \"FAILED:$2\" && mkdir -p $1 && cp ~/opam.err.log $1 && opam show $3 --raw > $1/opam)) && (shopt -s nullglob && ((tar -cvf $1.tar $1/*  && rm -R $1/* && mv $1.tar $1/content.tar) || (echo 'Empty directory'))) done) && (for DATA in prep/universes/3dff70f6a111e5aa151e608117798d07/postgresql/4.4.1,postgresql.4.4.1-3dff70f6a111e5aa151e608117798d07,postgresql.4.4.1; do IFS=\",\"; set -- $DATA; rsync -aR --no-p ./$1 docs.ci.ocaml.org:/data/.; done) && (for DATA in prep/universes/3dff70f6a111e5aa151e608117798d07/postgresql/4.4.1,postgresql.4.4.1-3dff70f6a111e5aa151e608117798d07,postgresql.4.4.1; do IFS=\",\"; set -- $DATA; HASH=$((sha256sum $1/content.tar | cut -d \" \" -f 1)  || echo -n 'empty'); printf \"HASHES:$2:$HASH\\n\"; done)"))
0.149456
prep/universes/3dff70f6a111e5aa151e608117798d07/postgresql/4.4.1/doc/
prep/universes/3dff70f6a111e5aa151e608117798d07/postgresql/4.4.1/doc/postgresql/
prep/universes/3dff70f6a111e5aa151e608117798d07/postgresql/4.4.1/doc/postgresql/CHANGES.md
prep/universes/3dff70f6a111e5aa151e608117798d07/postgresql/4.4.1/doc/postgresql/LICENSE.md
prep/universes/3dff70f6a111e5aa151e608117798d07/postgresql/4.4.1/doc/postgresql/README.md
prep/universes/3dff70f6a111e5aa151e608117798d07/postgresql/4.4.1/lib/
prep/universes/3dff70f6a111e5aa151e608117798d07/postgresql/4.4.1/lib/postgresql/
prep/universes/3dff70f6a111e5aa151e608117798d07/postgresql/4.4.1/lib/postgresql/postgresql.ocamlobjinfo
prep/universes/3dff70f6a111e5aa151e608117798d07/postgresql/4.4.1/lib/postgresql/META
prep/universes/3dff70f6a111e5aa151e608117798d07/postgresql/4.4.1/lib/postgresql/dune-package
prep/universes/3dff70f6a111e5aa151e608117798d07/postgresql/4.4.1/lib/postgresql/postgresql.cmi
prep/universes/3dff70f6a111e5aa151e608117798d07/postgresql/4.4.1/lib/postgresql/postgresql.cmt
prep/universes/3dff70f6a111e5aa151e608117798d07/postgresql/4.4.1/lib/postgresql/postgresql.cmti
prep/universes/3dff70f6a111e5aa151e608117798d07/postgresql/4.4.1/lib/postgresql/postgresql__.cmi
prep/universes/3dff70f6a111e5aa151e608117798d07/postgresql/4.4.1/lib/postgresql/postgresql__.cmt
prep/universes/3dff70f6a111e5aa151e608117798d07/postgresql/4.4.1/lib/postgresql/postgresql__Error_code.cmi
prep/universes/3dff70f6a111e5aa151e608117798d07/postgresql/4.4.1/lib/postgresql/postgresql__Error_code.cmt
prep/universes/3dff70f6a111e5aa151e608117798d07/postgresql/4.4.1/lib/postgresql/postgresql__Error_field.cmi
prep/universes/3dff70f6a111e5aa151e608117798d07/postgresql/4.4.1/lib/postgresql/postgresql__Error_field.cmt
prep/universes/3dff70f6a111e5aa151e608117798d07/postgresql/4.4.1/opam
Warning: Permanently added '[docs.ci.ocaml.org]:2222' (ED25519) to the list of known hosts.
HASHES:postgresql.4.4.1-3dff70f6a111e5aa151e608117798d07:671fe8c5800bc8b2768a1737d424a4badbdcb1a1b2ed4fb87df9f682ee6481d1
2024-05-17 13:49.48 ---> saved as "d81ce7146c18f44209925d923d533989d38fe2bd9de0f96ea855409d8b2582fe"
Job succeeded
2024-05-17 13:53.50: postgresql.4.4.1-3dff70f6a111e5aa151e608117798d07 -> 671fe8c5800bc8b2768a1737d424a4badbdcb1a1b2ed4fb87df9f682ee6481d1
2024-05-17 13:53.50: Job succeeded