(not at the head of any monitored branch or PR)
2022-09-21 15:05.47: New job: build caqti-driver-postgresql.1.9.1, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/22139/head (d7e07175260e109d3f8f66a7d395f955a84895f7)
                              on ubuntu-18.04-ocaml-4.14/amd64

To reproduce locally:

cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/22139/head" && git reset --hard d7e07175
git fetch origin master
git merge --no-edit bfaca3a2fad82b13bec30734883c953ea6150e50
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-18.04-ocaml-4.14@sha256:8a13a6ec970bb392f9111dc9dc94c233ee8ed6ab550868f27cc2c73a186cb0f9
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /usr/bin/opam
RUN opam init --reinit -ni
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
ENV OPAMSOLVERTIMEOUT="500"
ENV OPAMPRECISETRACKING="1"
RUN rm -rf opam-repository/
COPY --chown=1000:1000 . opam-repository/
RUN opam repository set-url --strict default opam-repository/
ENV OPAMCRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
ENV OPAMFIXUPCRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
ENV OPAMUPGRADECRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
RUN opam pin add -k version -yn caqti-driver-postgresql.1.9.1 1.9.1
RUN opam update --depexts
RUN opam reinstall caqti-driver-postgresql.1.9.1; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"ubuntu-18.04\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    done; \
    exit 1

END-OF-DOCKERFILE
docker build -f ../Dockerfile .

2022-09-21 15:05.47: Using cache hint "ocaml/opam:ubuntu-18.04-ocaml-4.14@sha256:8a13a6ec970bb392f9111dc9dc94c233ee8ed6ab550868f27cc2c73a186cb0f9-caqti-driver-postgresql.1.9.1-d7e07175260e109d3f8f66a7d395f955a84895f7"
2022-09-21 15:05.47: Using OBuilder spec:
((from ocaml/opam:ubuntu-18.04-ocaml-4.14@sha256:8a13a6ec970bb392f9111dc9dc94c233ee8ed6ab550868f27cc2c73a186cb0f9)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
 (run (shell "opam init --reinit --config .opamrc-sandbox -ni"))
 (env OPAMDOWNLOADJOBS 1)
 (env OPAMERRLOGLEN 0)
 (env OPAMSOLVERTIMEOUT 500)
 (env OPAMPRECISETRACKING 1)
 (run (shell "rm -rf opam-repository/"))
 (copy (src .) (dst opam-repository/))
 (run (shell "opam repository set-url --strict default opam-repository/"))
 (env OPAMCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (env OPAMFIXUPCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (env OPAMUPGRADECRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (run (shell "opam pin add -k version -yn caqti-driver-postgresql.1.9.1 1.9.1"))
 (run (network host)
      (shell "opam update --depexts"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall caqti-driver-postgresql.1.9.1;\
             \n        res=$?;\
             \n        test \"$res\" != 31 && exit \"$res\";\
             \n        export OPAMCLI=2.0;\
             \n        build_dir=$(opam var prefix)/.opam-switch/build;\
             \n        failed=$(ls \"$build_dir\");\
             \n        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"ubuntu-18.04\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n        done;\
             \n        exit 1"))
)

2022-09-21 15:05.47: Waiting for resource in pool OCluster
2022-09-21 15:05.48: Waiting for worker...
2022-09-21 15:05.48: Got resource from pool OCluster
Building on x86-bm-3.ocamllabs.io
All commits already cached
Updating files:  23% (6400/27383)
Updating files:  24% (6572/27383)
Updating files:  25% (6846/27383)
Updating files:  26% (7120/27383)
Updating files:  27% (7394/27383)
Updating files:  28% (7668/27383)
Updating files:  29% (7942/27383)
Updating files:  30% (8215/27383)
Updating files:  31% (8489/27383)
Updating files:  32% (8763/27383)
Updating files:  33% (9037/27383)
Updating files:  34% (9311/27383)
Updating files:  35% (9585/27383)
Updating files:  36% (9858/27383)
Updating files:  37% (10132/27383)
Updating files:  38% (10406/27383)
Updating files:  39% (10680/27383)
Updating files:  40% (10954/27383)
Updating files:  41% (11228/27383)
Updating files:  42% (11501/27383)
Updating files:  43% (11775/27383)
Updating files:  44% (12049/27383)
Updating files:  45% (12323/27383)
Updating files:  46% (12597/27383)
Updating files:  47% (12871/27383)
Updating files:  48% (13144/27383)
Updating files:  48% (13416/27383)
Updating files:  49% (13418/27383)
Updating files:  50% (13692/27383)
Updating files:  51% (13966/27383)
Updating files:  52% (14240/27383)
Updating files:  53% (14513/27383)
Updating files:  54% (14787/27383)
Updating files:  55% (15061/27383)
Updating files:  56% (15335/27383)
Updating files:  57% (15609/27383)
Updating files:  58% (15883/27383)
Updating files:  59% (16156/27383)
Updating files:  60% (16430/27383)
Updating files:  61% (16704/27383)
Updating files:  62% (16978/27383)
Updating files:  63% (17252/27383)
Updating files:  64% (17526/27383)
Updating files:  65% (17799/27383)
Updating files:  66% (18073/27383)
Updating files:  67% (18347/27383)
Updating files:  68% (18621/27383)
Updating files:  69% (18895/27383)
Updating files:  70% (19169/27383)
Updating files:  71% (19442/27383)
Updating files:  72% (19716/27383)
Updating files:  73% (19990/27383)
Updating files:  74% (20264/27383)
Updating files:  75% (20538/27383)
Updating files:  76% (20812/27383)
Updating files:  76% (20960/27383)
Updating files:  77% (21085/27383)
Updating files:  78% (21359/27383)
Updating files:  79% (21633/27383)
Updating files:  80% (21907/27383)
Updating files:  81% (22181/27383)
Updating files:  82% (22455/27383)
Updating files:  83% (22728/27383)
Updating files:  84% (23002/27383)
Updating files:  85% (23276/27383)
Updating files:  86% (23550/27383)
Updating files:  87% (23824/27383)
Updating files:  88% (24098/27383)
Updating files:  89% (24371/27383)
Updating files:  90% (24645/27383)
Updating files:  91% (24919/27383)
Updating files:  92% (25193/27383)
Updating files:  93% (25467/27383)
Updating files:  94% (25741/27383)
Updating files:  95% (26014/27383)
Updating files:  96% (26288/27383)
Updating files:  97% (26562/27383)
Updating files:  98% (26836/27383)
Updating files:  99% (27110/27383)
Updating files: 100% (27383/27383)
Updating files: 100% (27383/27383), done.
HEAD is now at bfaca3a2fa Merge pull request #22137 from kit-ty-kate/fix-24
Merge made by the 'ort' strategy.
 .../caqti-driver-postgresql.1.9.1/opam             | 36 ++++++++++++++++++++++
 1 file changed, 36 insertions(+)
 create mode 100644 packages/caqti-driver-postgresql/caqti-driver-postgresql.1.9.1/opam

(from ocaml/opam:ubuntu-18.04-ocaml-4.14@sha256:8a13a6ec970bb392f9111dc9dc94c233ee8ed6ab550868f27cc2c73a186cb0f9)
Unable to find image 'ocaml/opam:ubuntu-18.04-ocaml-4.14@sha256:8a13a6ec970bb392f9111dc9dc94c233ee8ed6ab550868f27cc2c73a186cb0f9' locally
docker.io/ocaml/opam@sha256:8a13a6ec970bb392f9111dc9dc94c233ee8ed6ab550868f27cc2c73a186cb0f9: Pulling from ocaml/opam
8ad748de22cf: Pulling fs layer
8ad748de22cf: Verifying Checksum
8ad748de22cf: Download complete
8ad748de22cf: Pull complete
Digest: sha256:8a13a6ec970bb392f9111dc9dc94c233ee8ed6ab550868f27cc2c73a186cb0f9
Status: Downloaded newer image for ocaml/opam@sha256:8a13a6ec970bb392f9111dc9dc94c233ee8ed6ab550868f27cc2c73a186cb0f9
2022-09-21 15:06.03 ---> using "67b37c9cb9a6e3a52df98db135f9de06c7b40b11aae1b08936452cd8e73935f6" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2022-09-21 15:06.03 ---> using "4850ba246d0bce5477197f6d7c9bfb48c110ac20e7f26f2e06a8850e9146d324" from cache

/home/opam: (run (shell "opam init --reinit --config .opamrc-sandbox -ni"))
Configuring from /home/opam/.opamrc-sandbox, then /home/opam/.opamrc, and finally 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
2022-09-21 15:06.03 ---> using "6f5a08cca1f7c1f680882affdf9cce860ac5db0afd03b26b95a2059131c74037" from cache

/home/opam: (env OPAMDOWNLOADJOBS 1)

/home/opam: (env OPAMERRLOGLEN 0)

/home/opam: (env OPAMSOLVERTIMEOUT 500)

/home/opam: (env OPAMPRECISETRACKING 1)

/home/opam: (run (shell "rm -rf opam-repository/"))
2022-09-21 15:06.03 ---> using "e80e5fe14312af21da4d8eefca8e647b8566dd23d37d44008668e62d7c97a488" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2022-09-21 15:06.29 ---> saved as "d040203e66963b89281da574205fe134f0a1260a04c3f1b5332c4b2d22181fa8"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2022-09-21 15:07.46 ---> saved as "02b1d812b987d1f316687d47b38c852e732b952e4515ab1e06f5d4ce54fba39b"

/home/opam: (env OPAMCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/home/opam: (env OPAMFIXUPCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/home/opam: (env OPAMUPGRADECRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/home/opam: (run (shell "opam pin add -k version -yn caqti-driver-postgresql.1.9.1 1.9.1"))
caqti-driver-postgresql is now pinned to version 1.9.1
2022-09-21 15:07.58 ---> saved as "19dfb825fd2945b1599773b7d7f048d466aeb5f69da1f44c521eee0d220f3bff"

/home/opam: (run (network host)
                 (shell "opam update --depexts"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
- Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease
- Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
- Get:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
- Get:5 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [2990 kB]
- Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [3422 kB]
- Get:7 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [1161 kB]
- Get:8 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [1545 kB]
- Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [2322 kB]
- Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [1202 kB]
- Fetched 12.9 MB in 3s (4243 kB/s)
- Reading package lists...
- 
2022-09-21 15:08.13 ---> saved as "d29d90ba1f2a8cb23c2d5457b2939256d2191611e74f645371b7089546293650"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall caqti-driver-postgresql.1.9.1;\
                        \n        res=$?;\
                        \n        test \"$res\" != 31 && exit \"$res\";\
                        \n        export OPAMCLI=2.0;\
                        \n        build_dir=$(opam var prefix)/.opam-switch/build;\
                        \n        failed=$(ls \"$build_dir\");\
                        \n        for pkg in $failed; do\
                        \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"ubuntu-18.04\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n        done;\
                        \n        exit 1"))
caqti-driver-postgresql.1.9.1 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 21 packages
  - install angstrom                0.15.0
  - install base-bytes              base
  - install bigstringaf             0.9.0
  - install caqti                   1.9.0
  - install caqti-driver-postgresql 1.9.1 (pinned)
  - install conf-pkg-config         2
  - install conf-postgresql         1
  - install cppo                    1.6.9
  - install csexp                   1.5.1
  - install dune                    3.4.1
  - install dune-configurator       3.4.1
  - install logs                    0.7.0
  - install ocaml-syntax-shims      1.0.0
  - install ocamlbuild              0.14.1
  - install ocamlfind               1.9.5
  - install postgresql              5.0.0
  - install ptime                   1.0.0
  - install result                  1.5
  - install stringext               1.6.0
  - install topkg                   1.0.5
  - install uri                     4.2.0

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

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>

opam believes some required external dependencies are missing. opam can:
> 1. Run apt-get to install them (may need root/sudo access)
  2. Display the recommended apt-get command and wait while you run it manually (e.g. in another terminal)
  3. Attempt installation anyway, and permanently register that this external dependency is present, but not detectable
  4. Abort the installation

[1/2/3/4] 1
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libpq-dev" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libglib2.0-0:amd64.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 15276 files and directories currently installed.)
- Preparing to unpack .../0-libglib2.0-0_2.56.4-0ubuntu0.18.04.9_amd64.deb ...
- Unpacking libglib2.0-0:amd64 (2.56.4-0ubuntu0.18.04.9) ...
- Selecting previously unselected package libglib2.0-data.
- Preparing to unpack .../1-libglib2.0-data_2.56.4-0ubuntu0.18.04.9_all.deb ...
- Unpacking libglib2.0-data (2.56.4-0ubuntu0.18.04.9) ...
- Selecting previously unselected package libicu60:amd64.
- Preparing to unpack .../2-libicu60_60.2-3ubuntu3.2_amd64.deb ...
- Unpacking libicu60:amd64 (60.2-3ubuntu3.2) ...
- Selecting previously unselected package libxml2:amd64.
- Preparing to unpack .../3-libxml2_2.9.4+dfsg1-6.1ubuntu1.7_amd64.deb ...
- Unpacking libxml2:amd64 (2.9.4+dfsg1-6.1ubuntu1.7) ...
- Selecting previously unselected package shared-mime-info.
- Preparing to unpack .../4-shared-mime-info_1.9-2_amd64.deb ...
- Unpacking shared-mime-info (1.9-2) ...
- Selecting previously unselected package xdg-user-dirs.
- Preparing to unpack .../5-xdg-user-dirs_0.17-1ubuntu1_amd64.deb ...
- Unpacking xdg-user-dirs (0.17-1ubuntu1) ...
- Selecting previously unselected package libpq5:amd64.
- Preparing to unpack .../6-libpq5_10.22-0ubuntu0.18.04.1_amd64.deb ...
- Unpacking libpq5:amd64 (10.22-0ubuntu0.18.04.1) ...
- Selecting previously unselected package libpq-dev.
- Preparing to unpack .../7-libpq-dev_10.22-0ubuntu0.18.04.1_amd64.deb ...
- Unpacking libpq-dev (10.22-0ubuntu0.18.04.1) ...
- Selecting previously unselected package pkg-config.
- Preparing to unpack .../8-pkg-config_0.29.1-0ubuntu2_amd64.deb ...
- Unpacking pkg-config (0.29.1-0ubuntu2) ...
- Setting up libicu60:amd64 (60.2-3ubuntu3.2) ...
- Setting up libglib2.0-0:amd64 (2.56.4-0ubuntu0.18.04.9) ...
- No schema files found: doing nothing.
- Setting up libxml2:amd64 (2.9.4+dfsg1-6.1ubuntu1.7) ...
- Setting up pkg-config (0.29.1-0ubuntu2) ...
- Setting up libglib2.0-data (2.56.4-0ubuntu0.18.04.9) ...
- Setting up libpq5:amd64 (10.22-0ubuntu0.18.04.1) ...
- Setting up shared-mime-info (1.9-2) ...
- Setting up xdg-user-dirs (0.17-1ubuntu1) ...
- Setting up libpq-dev (10.22-0ubuntu0.18.04.1) ...
- Processing triggers for libc-bin (2.27-3ubuntu1.6) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved angstrom.0.15.0  (cached)
-> retrieved bigstringaf.0.9.0  (cached)
-> retrieved caqti.1.9.0  (cached)
-> retrieved caqti-driver-postgresql.1.9.1  (https://github.com/paurkedal/ocaml-caqti/releases/download/v1.9.1/caqti-v1.9.1.tbz)
-> retrieved cppo.1.6.9  (cached)
-> retrieved csexp.1.5.1  (cached)
-> retrieved dune.3.4.1, dune-configurator.3.4.1  (cached)
-> installed conf-pkg-config.2
-> installed conf-postgresql.1
-> retrieved logs.0.7.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlbuild.0.14.1  (cached)
-> retrieved ocamlfind.1.9.5  (cached)
-> retrieved postgresql.5.0.0  (cached)
-> retrieved ptime.1.0.0  (cached)
-> retrieved result.1.5  (cached)
-> retrieved stringext.1.6.0  (cached)
-> retrieved topkg.1.0.5  (cached)
-> retrieved uri.4.2.0  (cached)
-> installed ocamlfind.1.9.5
-> installed base-bytes.base
-> installed ocamlbuild.0.14.1
-> installed topkg.1.0.5
-> installed logs.0.7.0
-> installed ptime.1.0.0
-> installed dune.3.4.1
-> installed bigstringaf.0.9.0
-> installed stringext.1.6.0
-> installed csexp.1.5.1
-> installed result.1.5
-> installed ocaml-syntax-shims.1.0.0
-> installed cppo.1.6.9
-> installed angstrom.0.15.0
-> installed dune-configurator.3.4.1
-> installed uri.4.2.0
-> installed postgresql.5.0.0
-> installed caqti.1.9.0
-> installed caqti-driver-postgresql.1.9.1
Done.
# Run eval $(opam env) to update the current shell environment
2022-09-21 15:10.05 ---> saved as "77646b96f9c4e96bc16aa7169de2614c7fa2ef45149a34bda819b5652381ec64"
Job succeeded
2022-09-21 15:13.12: Job succeeded