Build:
  1. 0
2024-02-11 20:23.48: New job: test cohttp-curl-lwt.6.0.0~alpha1 with conf-pkg-config.1.2, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/25235/head (8c7391d6ec81e93f24de221eb32a886b72d1ede6)
                              on debian-12-ocaml-5.1/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/25235/head" && git reset --hard 8c7391d6
git fetch origin master
git merge --no-edit 8477e9a74beb40d85534ab7653b65d45607a147f
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.1@sha256:931805f2c2fdb0b5642ae8463ff0780c2ee3f4afb48734a7d94e2d5163429930
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"
ENV CI="true"
ENV OPAM_REPO_CI="true"
RUN rm -rf opam-repository/
COPY --chown=1000:1000 . opam-repository/
RUN opam repository set-url --strict default opam-repository/
RUN opam update --depexts || true
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 conf-pkg-config.1.2 1.2
RUN opam reinstall conf-pkg-config.1.2; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    partial_fails=""; \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'conf-pkg-config.1.2' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
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 reinstall cohttp-curl-lwt.6.0.0~alpha1; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    partial_fails=""; \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'cohttp-curl-lwt.6.0.0~alpha1' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
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 reinstall --with-test cohttp-curl-lwt.6.0.0~alpha1) || true
RUN opam reinstall --with-test --verbose cohttp-curl-lwt.6.0.0~alpha1; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    partial_fails=""; \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'cohttp-curl-lwt.6.0.0~alpha1' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1

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

2024-02-11 20:23.48: Using cache hint "ocaml/opam:debian-12-ocaml-5.1@sha256:931805f2c2fdb0b5642ae8463ff0780c2ee3f4afb48734a7d94e2d5163429930-conf-pkg-config.1.2-cohttp-curl-lwt.6.0.0~alpha1-8c7391d6ec81e93f24de221eb32a886b72d1ede6"
2024-02-11 20:23.48: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.1@sha256:931805f2c2fdb0b5642ae8463ff0780c2ee3f4afb48734a7d94e2d5163429930)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
 (run (network host)
      (shell "opam init --reinit --config .opamrc-sandbox -ni"))
 (env OPAMDOWNLOADJOBS 1)
 (env OPAMERRLOGLEN 0)
 (env OPAMSOLVERTIMEOUT 500)
 (env OPAMPRECISETRACKING 1)
 (env CI true)
 (env OPAM_REPO_CI true)
 (run (shell "rm -rf opam-repository/"))
 (copy (src .) (dst opam-repository/))
 (run (shell "opam repository set-url --strict default opam-repository/"))
 (run (network host)
      (shell "opam update --depexts || true"))
 (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 conf-pkg-config.1.2 1.2"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall conf-pkg-config.1.2;\
             \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        partial_fails=\"\";\
             \n        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-12\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'conf-pkg-config.1.2' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (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 (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall cohttp-curl-lwt.6.0.0~alpha1;\
             \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        partial_fails=\"\";\
             \n        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-12\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'cohttp-curl-lwt.6.0.0~alpha1' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (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 (network host)
      (shell "(opam reinstall --with-test cohttp-curl-lwt.6.0.0~alpha1) || true"))
 (run (shell  "opam reinstall --with-test --verbose cohttp-curl-lwt.6.0.0~alpha1;\
             \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        partial_fails=\"\";\
             \n        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-12\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'cohttp-curl-lwt.6.0.0~alpha1' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2024-02-11 20:23.48: Waiting for resource in pool OCluster
2024-02-12 19:29.25: Waiting for worker…
2024-02-12 19:30.03: Got resource from pool OCluster
Building on phoebe.caelum.ci.dev
All commits already cached
Updating files:  41% (13797/32918)
Updating files:  42% (13826/32918)
Updating files:  43% (14155/32918)
Updating files:  44% (14484/32918)
Updating files:  45% (14814/32918)
Updating files:  46% (15143/32918)
Updating files:  47% (15472/32918)
Updating files:  48% (15801/32918)
Updating files:  49% (16130/32918)
Updating files:  50% (16459/32918)
Updating files:  51% (16789/32918)
Updating files:  52% (17118/32918)
Updating files:  53% (17447/32918)
Updating files:  54% (17776/32918)
Updating files:  55% (18105/32918)
Updating files:  56% (18435/32918)
Updating files:  57% (18764/32918)
Updating files:  58% (19093/32918)
Updating files:  59% (19422/32918)
Updating files:  60% (19751/32918)
Updating files:  61% (20080/32918)
Updating files:  62% (20410/32918)
Updating files:  63% (20739/32918)
Updating files:  64% (21068/32918)
Updating files:  65% (21397/32918)
Updating files:  66% (21726/32918)
Updating files:  67% (22056/32918)
Updating files:  68% (22385/32918)
Updating files:  69% (22714/32918)
Updating files:  70% (23043/32918)
Updating files:  71% (23372/32918)
Updating files:  72% (23701/32918)
Updating files:  73% (24031/32918)
Updating files:  74% (24360/32918)
Updating files:  75% (24689/32918)
Updating files:  76% (25018/32918)
Updating files:  77% (25347/32918)
Updating files:  78% (25677/32918)
Updating files:  79% (26006/32918)
Updating files:  80% (26335/32918)
Updating files:  81% (26664/32918)
Updating files:  82% (26993/32918)
Updating files:  83% (27322/32918)
Updating files:  84% (27652/32918)
Updating files:  85% (27981/32918)
Updating files:  86% (28310/32918)
Updating files:  87% (28639/32918)
Updating files:  87% (28707/32918)
Updating files:  88% (28968/32918)
Updating files:  89% (29298/32918)
Updating files:  90% (29627/32918)
Updating files:  91% (29956/32918)
Updating files:  92% (30285/32918)
Updating files:  93% (30614/32918)
Updating files:  94% (30943/32918)
Updating files:  95% (31273/32918)
Updating files:  96% (31602/32918)
Updating files:  97% (31931/32918)
Updating files:  98% (32260/32918)
Updating files:  99% (32589/32918)
Updating files: 100% (32918/32918)
Updating files: 100% (32918/32918), done.
HEAD is now at 8477e9a74b Merge pull request #25221 from nberth/mlgmpidl-1.3.0
Updating 8477e9a74b..8c7391d6ec
Fast-forward
 packages/conf-pkg-config/conf-pkg-config.1.0/opam | 2 +-
 packages/conf-pkg-config/conf-pkg-config.1.1/opam | 1 +
 packages/conf-pkg-config/conf-pkg-config.1.2/opam | 1 +
 packages/conf-pkg-config/conf-pkg-config.1.3/opam | 1 +
 packages/conf-pkg-config/conf-pkg-config.2/opam   | 1 +
 packages/conf-pkg-config/conf-pkg-config.3/opam   | 4 +++-
 6 files changed, 8 insertions(+), 2 deletions(-)

(from ocaml/opam:debian-12-ocaml-5.1@sha256:931805f2c2fdb0b5642ae8463ff0780c2ee3f4afb48734a7d94e2d5163429930)
2024-02-12 19:32.35 ---> using "4df7ce52b8e0afe130cbfff7d9b001e43cae58bd8e8710cd073ce7c11b1c6ac8" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2024-02-12 19:32.35 ---> using "2ee14a5dbb7aa54ab1dfa5adba4422c5a5483941525d4174e8eeed0c4c5e97aa" from cache

/home/opam: (run (network host)
                 (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.2~alpha, 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-02-12 19:32.35 ---> using "d58131e4d084860f74dbebecfc9a35ebb7fbb42cf58093b5ac6cf0adf11ed898" from cache

/home/opam: (env OPAMDOWNLOADJOBS 1)

/home/opam: (env OPAMERRLOGLEN 0)

/home/opam: (env OPAMSOLVERTIMEOUT 500)

/home/opam: (env OPAMPRECISETRACKING 1)

/home/opam: (env CI true)

/home/opam: (env OPAM_REPO_CI true)

/home/opam: (run (shell "rm -rf opam-repository/"))
2024-02-12 19:32.35 ---> using "e76676ee91f5598b65d18de047738848e5af056a75e3436903dc82ff5702c5a6" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2024-02-12 19:32.38 ---> using "00dcf922e87fec2f8ccdd0b44355d41faed143c596db4bfe8812d0e9c5f33f02" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2024-02-12 19:32.38 ---> using "d6c8604b98b9d01914259989eafdfad7780b6c9f761a469dfe3162a56ba73510" from cache

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [52.1 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian bookworm/main amd64 Packages [8786 kB]
- Get:5 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [137 kB]
- Fetched 9175 kB in 3s (3413 kB/s)
- Reading package lists...
- 
2024-02-12 19:32.38 ---> using "6245d7929b862e6b37f451133c05d21883283d0248743f67197f2e424fe52d69" from cache

/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 conf-pkg-config.1.2 1.2"))
conf-pkg-config is now pinned to version 1.2
2024-02-12 19:32.38 ---> using "8c93380d2ff9f8574e0d694d02b593f1bcffc4ad4341b85941c7abc0f7411957" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall conf-pkg-config.1.2;\
                        \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        partial_fails=\"\";\
                        \n        for pkg in $failed; do\
                        \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-12\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'conf-pkg-config.1.2' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
conf-pkg-config.1.2 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 1 package
  - install conf-pkg-config 1.2 (pinned)

The following system packages will first need to be installed:
    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. Continue anyway, and, upon success, 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" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed
- 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 ... 18774 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 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 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+deb12u4) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-pkg-config.1.2
Done.
# Run eval $(opam env) to update the current shell environment
2024-02-12 19:32.38 ---> using "5e9c2e7cd37deee211329af698b5958f49f052be907d8360c30cbb9696858e09" from cache

/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 (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall cohttp-curl-lwt.6.0.0~alpha1;\
                        \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        partial_fails=\"\";\
                        \n        for pkg in $failed; do\
                        \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-12\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'cohttp-curl-lwt.6.0.0~alpha1' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
cohttp-curl-lwt.6.0.0~alpha1 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 14 packages
  - install base-bytes        base         [required by ocplib-endian]
  - install cohttp-curl       6.0.0~alpha1 [required by cohttp-curl-lwt]
  - install cohttp-curl-lwt   6.0.0~alpha1
  - install conf-libcurl      2            [required by ocurl]
  - install cppo              1.6.9        [required by lwt]
  - install csexp             1.5.2        [required by dune-configurator]
  - install dune              3.13.1       [required by cohttp-curl-lwt]
  - install dune-configurator 3.13.1       [required by lwt]
  - install http              6.0.0~alpha1 [required by cohttp-curl-lwt]
  - install lwt               5.7.0        [required by cohttp-curl-lwt]
  - install ocamlfind         1.9.6        [required by ocurl]
  - install ocplib-endian     1.2          [required by lwt]
  - install ocurl             0.9.2        [required by cohttp-curl-lwt]
  - install stringext         1.6.0        [required by cohttp-curl-lwt]

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

<><> 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. Continue anyway, and, upon success, 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" "libcurl4-gnutls-dev"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libcurl4-gnutls-dev: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 ... 18810 files and directories currently installed.)
- Preparing to unpack .../libcurl4-gnutls-dev_7.88.1-10+deb12u5_amd64.deb ...
- Unpacking libcurl4-gnutls-dev:amd64 (7.88.1-10+deb12u5) ...
- Setting up libcurl4-gnutls-dev:amd64 (7.88.1-10+deb12u5) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cohttp-curl.6.0.0~alpha1, cohttp-curl-lwt.6.0.0~alpha1, http.6.0.0~alpha1  (cached)
-> retrieved cppo.1.6.9  (cached)
-> retrieved csexp.1.5.2  (cached)
-> installed conf-libcurl.2
-> retrieved dune.3.13.1, dune-configurator.3.13.1  (cached)
-> retrieved lwt.5.7.0  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved ocurl.0.9.2  (cached)
-> retrieved stringext.1.6.0  (cached)
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> installed dune.3.13.1
-> installed stringext.1.6.0
-> installed csexp.1.5.2
-> installed http.6.0.0~alpha1
-> installed cppo.1.6.9
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.13.1
-> installed lwt.5.7.0
-> installed ocurl.0.9.2
-> installed cohttp-curl.6.0.0~alpha1
-> installed cohttp-curl-lwt.6.0.0~alpha1
Done.
# Run eval $(opam env) to update the current shell environment
2024-02-12 19:35.24 ---> saved as "d15bb85979825e2896dd8663ac183862c6f2dc4259b3c9ca84ce630650738308"

/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 (network host)
                 (shell "(opam reinstall --with-test cohttp-curl-lwt.6.0.0~alpha1) || true"))
The following actions will be performed:
=== recompile 1 package
  - recompile cohttp-curl-lwt     6.0.0~alpha1
=== install 58 packages
  - install   alcotest            1.7.0        [required by cohttp-curl-lwt]
  - install   angstrom            0.16.0       [required by uri]
  - install   asn1-combinators    0.2.6        [required by x509]
  - install   astring             0.8.5        [required by alcotest]
  - install   base                v0.16.3      [required by ppx_sexp_conv]
  - install   base64              3.5.1        [required by cohttp]
  - install   bigstringaf         0.9.1        [required by angstrom]
  - install   bos                 0.2.1        [required by ca-certs]
  - install   ca-certs            0.2.3        [required by conduit-lwt-unix]
  - install   cmdliner            1.2.0        [required by alcotest, cohttp-lwt-unix]
  - install   cohttp              6.0.0~alpha1 [required by cohttp-curl-lwt]
  - install   cohttp-lwt          6.0.0~alpha1 [required by cohttp-curl-lwt]
  - install   cohttp-lwt-unix     6.0.0~alpha1 [required by cohttp-curl-lwt]
  - install   conduit             6.2.1        [required by conduit-lwt]
  - install   conduit-lwt         6.2.1        [required by cohttp-curl-lwt]
  - install   conduit-lwt-unix    6.2.1        [required by cohttp-lwt-unix]
  - install   conf-gmp            4            [required by zarith, conf-gmp-powm-sec]
  - install   conf-gmp-powm-sec   3            [required by mirage-crypto-pk]
  - install   cstruct             6.2.0        [required by mirage-crypto, x509]
  - install   domain-name         0.4.0        [required by ipaddr, x509]
  - install   duration            0.2.1        [required by mirage-crypto-rng]
  - install   eqaf                0.9          [required by mirage-crypto]
  - install   fmt                 0.9.0        [required by alcotest, cohttp-lwt-unix]
  - install   fpath               0.7.3        [required by ca-certs]
  - install   gmap                0.3.0        [required by x509]
  - install   ipaddr              5.5.0        [required by conduit-lwt-unix]
  - install   ipaddr-sexp         5.5.0        [required by conduit-lwt-unix]
  - install   logs                0.7.0        [required by cohttp-lwt, cohttp-lwt-unix]
  - install   macaddr             5.5.0        [required by ipaddr]
  - install   magic-mime          1.3.1        [required by cohttp-lwt-unix]
  - install   mirage-crypto       0.11.2       [required by ca-certs]
  - install   mirage-crypto-ec    0.11.2       [required by x509]
  - install   mirage-crypto-pk    0.11.2       [required by x509]
  - install   mirage-crypto-rng   0.11.2       [required by x509]
  - install   num                 1.5          [required by sexplib]
  - install   ocaml-compiler-libs v0.12.4      [required by ppxlib]
  - install   ocaml-syntax-shims  1.0.0        [required by alcotest]
  - install   ocamlbuild          0.14.3       [required by uutf, astring, fmt, logs]
  - install   ounit               2.2.7        [required by cohttp-curl-lwt]
  - install   ounit2              2.2.7        [required by ounit]
  - install   parsexp             v0.16.0      [required by sexplib]
  - install   pbkdf               1.2.0        [required by x509]
  - install   ppx_derivers        1.2.1        [required by ppxlib]
  - install   ppx_sexp_conv       v0.16.0      [required by cohttp-lwt, cohttp, cohttp-lwt-unix]
  - install   ppxlib              0.32.0       [required by ppx_sexp_conv]
  - install   ptime               1.1.0        [required by ca-certs]
  - install   re                  1.11.0       [required by alcotest, cohttp]
  - install   rresult             0.7.0        [required by bos]
  - install   seq                 base         [required by re, ounit2]
  - install   sexplib             v0.16.0      [required by conduit-lwt]
  - install   sexplib0            v0.16.0      [required by cohttp, cohttp-lwt]
  - install   stdlib-shims        0.3.0        [required by alcotest]
  - install   topkg               1.0.7        [required by uutf, astring, fmt, logs]
  - install   uri                 4.4.0        [required by cohttp-curl-lwt]
  - install   uri-sexp            4.4.0        [required by cohttp]
  - install   uutf                1.0.3        [required by alcotest]
  - install   x509                0.16.5       [required by ca-certs]
  - install   zarith              1.13         [required by asn1-combinators, mirage-crypto-pk]

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

<><> 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. Continue anyway, and, upon success, 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" "libgmp-dev"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libgmpxx4ldbl: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 ... 18835 files and directories currently installed.)
- Preparing to unpack .../libgmpxx4ldbl_2%3a6.2.1+dfsg1-1.1_amd64.deb ...
- Unpacking libgmpxx4ldbl:amd64 (2:6.2.1+dfsg1-1.1) ...
- Selecting previously unselected package libgmp-dev:amd64.
- Preparing to unpack .../libgmp-dev_2%3a6.2.1+dfsg1-1.1_amd64.deb ...
- Unpacking libgmp-dev:amd64 (2:6.2.1+dfsg1-1.1) ...
- Setting up libgmpxx4ldbl:amd64 (2:6.2.1+dfsg1-1.1) ...
- Setting up libgmp-dev:amd64 (2:6.2.1+dfsg1-1.1) ...
- Processing triggers for libc-bin (2.36-9+deb12u4) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.7.0  (https://github.com/mirage/alcotest/releases/download/1.7.0/alcotest-1.7.0.tbz)
-> retrieved angstrom.0.16.0  (https://github.com/inhabitedtype/angstrom/archive/0.16.0.tar.gz)
-> retrieved asn1-combinators.0.2.6  (https://github.com/mirleft/ocaml-asn1-combinators/releases/download/v0.2.6/asn1-combinators-v0.2.6.tbz)
-> retrieved astring.0.8.5  (https://erratique.ch/software/astring/releases/astring-0.8.5.tbz)
-> retrieved base.v0.16.3  (https://github.com/janestreet/base/archive/refs/tags/v0.16.3.tar.gz)
-> retrieved base64.3.5.1  (https://github.com/mirage/ocaml-base64/releases/download/v3.5.1/base64-3.5.1.tbz)
-> retrieved bigstringaf.0.9.1  (https://github.com/inhabitedtype/bigstringaf/archive/0.9.1.tar.gz)
-> retrieved bos.0.2.1  (https://erratique.ch/software/bos/releases/bos-0.2.1.tbz)
-> installed base64.3.5.1
-> retrieved ca-certs.0.2.3  (https://github.com/mirage/ca-certs/releases/download/v0.2.3/ca-certs-0.2.3.tbz)
-> retrieved cmdliner.1.2.0  (https://erratique.ch/software/cmdliner/releases/cmdliner-1.2.0.tbz)
-> installed bigstringaf.0.9.1
-> retrieved cohttp.6.0.0~alpha1, cohttp-curl-lwt.6.0.0~alpha1, cohttp-lwt.6.0.0~alpha1, cohttp-lwt-unix.6.0.0~alpha1  (https://github.com/mirage/ocaml-cohttp/releases/download/v6.0.0_alpha1/cohttp-6.0.0.alpha1.tbz)
-> retrieved conduit.6.2.1, conduit-lwt.6.2.1, conduit-lwt-unix.6.2.1  (https://github.com/mirage/ocaml-conduit/releases/download/v6.2.1/conduit-6.2.1.tbz)
-> installed conf-gmp.4
-> installed conf-gmp-powm-sec.3
-> retrieved cstruct.6.2.0  (https://github.com/mirage/ocaml-cstruct/releases/download/v6.2.0/cstruct-6.2.0.tbz)
-> retrieved domain-name.0.4.0  (https://github.com/hannesm/domain-name/releases/download/v0.4.0/domain-name-0.4.0.tbz)
-> installed domain-name.0.4.0
-> retrieved duration.0.2.1  (https://github.com/hannesm/duration/releases/download/v0.2.1/duration-0.2.1.tbz)
-> installed duration.0.2.1
-> retrieved eqaf.0.9  (https://github.com/mirage/eqaf/releases/download/v0.9/eqaf-0.9.tbz)
-> retrieved fmt.0.9.0  (https://erratique.ch/software/fmt/releases/fmt-0.9.0.tbz)
-> retrieved fpath.0.7.3  (https://erratique.ch/software/fpath/releases/fpath-0.7.3.tbz)
-> retrieved gmap.0.3.0  (https://github.com/hannesm/gmap/releases/download/0.3.0/gmap-0.3.0.tbz)
-> installed cmdliner.1.2.0
-> installed gmap.0.3.0
-> retrieved ipaddr.5.5.0, ipaddr-sexp.5.5.0, macaddr.5.5.0  (https://github.com/mirage/ocaml-ipaddr/releases/download/v5.5.0/ipaddr-5.5.0.tbz)
-> retrieved logs.0.7.0  (https://erratique.ch/software/logs/releases/logs-0.7.0.tbz)
-> installed macaddr.5.5.0
-> retrieved magic-mime.1.3.1  (https://github.com/mirage/ocaml-magic-mime/releases/download/v1.3.1/magic-mime-1.3.1.tbz)
-> installed ipaddr.5.5.0
-> retrieved mirage-crypto.0.11.2, mirage-crypto-ec.0.11.2, mirage-crypto-pk.0.11.2, mirage-crypto-rng.0.11.2  (https://github.com/mirage/mirage-crypto/releases/download/v0.11.2/mirage-crypto-0.11.2.tbz)
-> installed magic-mime.1.3.1
-> retrieved num.1.5  (https://github.com/ocaml/num/archive/v1.5.tar.gz)
-> retrieved ocaml-compiler-libs.v0.12.4  (https://github.com/janestreet/ocaml-compiler-libs/releases/download/v0.12.4/ocaml-compiler-libs-v0.12.4.tbz)
-> retrieved ocaml-syntax-shims.1.0.0  (https://github.com/ocaml-ppx/ocaml-syntax-shims/releases/download/1.0.0/ocaml-syntax-shims-1.0.0.tbz)
-> retrieved ocamlbuild.0.14.3  (https://github.com/ocaml/ocamlbuild/archive/refs/tags/0.14.3.tar.gz)
-> retrieved ounit.2.2.7, ounit2.2.2.7  (https://github.com/gildor478/ounit/releases/download/v2.2.7/ounit-2.2.7.tbz)
-> installed ocaml-compiler-libs.v0.12.4
-> retrieved parsexp.v0.16.0  (https://ocaml.janestreet.com/ocaml-core/v0.16/files/parsexp-v0.16.0.tar.gz)
-> installed ocaml-syntax-shims.1.0.0
-> installed num.1.5
-> retrieved pbkdf.1.2.0  (https://github.com/abeaumont/ocaml-pbkdf/archive/1.2.0.tar.gz)
-> retrieved ppx_derivers.1.2.1  (https://github.com/ocaml-ppx/ppx_derivers/archive/1.2.1.tar.gz)
-> installed angstrom.0.16.0
-> installed ppx_derivers.1.2.1
-> retrieved ppx_sexp_conv.v0.16.0  (https://ocaml.janestreet.com/ocaml-core/v0.16/files/ppx_sexp_conv-v0.16.0.tar.gz)
-> retrieved ppxlib.0.32.0  (https://github.com/ocaml-ppx/ppxlib/releases/download/0.32.0/ppxlib-0.32.0.tbz)
-> retrieved ptime.1.1.0  (https://erratique.ch/software/ptime/releases/ptime-1.1.0.tbz)
-> retrieved re.1.11.0  (https://github.com/ocaml/ocaml-re/releases/download/1.11.0/re-1.11.0.tbz)
-> retrieved rresult.0.7.0  (https://erratique.ch/software/rresult/releases/rresult-0.7.0.tbz)
-> installed seq.base
-> retrieved sexplib.v0.16.0  (https://ocaml.janestreet.com/ocaml-core/v0.16/files/sexplib-v0.16.0.tar.gz)
-> retrieved sexplib0.v0.16.0  (https://ocaml.janestreet.com/ocaml-core/v0.16/files/sexplib0-v0.16.0.tar.gz)
-> retrieved stdlib-shims.0.3.0  (https://github.com/ocaml/stdlib-shims/releases/download/0.3.0/stdlib-shims-0.3.0.tbz)
-> retrieved topkg.1.0.7  (https://erratique.ch/software/topkg/releases/topkg-1.0.7.tbz)
-> installed re.1.11.0
-> installed sexplib0.v0.16.0
-> installed stdlib-shims.0.3.0
-> retrieved uri.4.4.0, uri-sexp.4.4.0  (https://github.com/mirage/ocaml-uri/releases/download/v4.4.0/uri-4.4.0.tbz)
-> retrieved uutf.1.0.3  (https://erratique.ch/software/uutf/releases/uutf-1.0.3.tbz)
-> retrieved x509.0.16.5  (https://github.com/mirleft/ocaml-x509/releases/download/v0.16.5/x509-0.16.5.tbz)
-> retrieved zarith.1.13  (https://github.com/ocaml/Zarith/archive/release-1.13.tar.gz)
-> installed ounit2.2.2.7
-> installed ounit.2.2.7
-> installed parsexp.v0.16.0
-> installed uri.4.4.0
-> removed   cohttp-curl-lwt.6.0.0~alpha1
-> installed ocamlbuild.0.14.3
-> installed sexplib.v0.16.0
-> installed zarith.1.13
-> installed base.v0.16.3
-> installed topkg.1.0.7
-> installed rresult.0.7.0
-> installed uutf.1.0.3
-> installed fmt.0.9.0
-> installed ptime.1.1.0
-> installed astring.0.8.5
-> installed cstruct.6.2.0
-> installed eqaf.0.9
-> installed asn1-combinators.0.2.6
-> installed fpath.0.7.3
-> installed logs.0.7.0
-> installed alcotest.1.7.0
-> installed mirage-crypto.0.11.2
-> installed pbkdf.1.2.0
-> installed mirage-crypto-rng.0.11.2
-> installed mirage-crypto-pk.0.11.2
-> installed bos.0.2.1
-> installed ppxlib.0.32.0
-> installed mirage-crypto-ec.0.11.2
-> installed ppx_sexp_conv.v0.16.0
-> installed x509.0.16.5
-> installed uri-sexp.4.4.0
-> installed ipaddr-sexp.5.5.0
-> installed ca-certs.0.2.3
-> installed conduit.6.2.1
-> installed cohttp.6.0.0~alpha1
-> installed conduit-lwt.6.2.1
-> installed cohttp-lwt.6.0.0~alpha1
-> installed conduit-lwt-unix.6.2.1
-> installed cohttp-lwt-unix.6.0.0~alpha1
-> installed cohttp-curl-lwt.6.0.0~alpha1
Done.
# Run eval $(opam env) to update the current shell environment
2024-02-12 19:37.11 ---> saved as "ce1f2357500f0bb5ce946c266745b5a369f4140552a30233c0a18fd264b53315"

/home/opam: (run (shell  "opam reinstall --with-test --verbose cohttp-curl-lwt.6.0.0~alpha1;\
                        \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        partial_fails=\"\";\
                        \n        for pkg in $failed; do\
                        \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-12\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'cohttp-curl-lwt.6.0.0~alpha1' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
The following actions will be performed:
=== recompile 1 package
  - recompile cohttp-curl-lwt 6.0.0~alpha1

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/4:
-> retrieved cohttp-curl-lwt.6.0.0~alpha1  (cached)
Processing  2/4: [cohttp-curl-lwt: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "cohttp-curl-lwt" "-j" "71" "@install" "@cohttp-curl-lwt/runtest" (CWD=/home/opam/.opam/5.1/.opam-switch/build/cohttp-curl-lwt.6.0.0~alpha1)
- (cd _build/default/cohttp-curl-lwt/test && ./cohttp_curl_lwt_tests.exe)
- .
- Ran: 1 tests in: 0.00 seconds.
- OK
- [DEBUG][application]: Cohttp debugging output is active
- [INFO][application]: Running simple request
- [INFO][application]: Test Cohttp Server Test running on http://localhost:25190
- ASSERT test 1
-> compiled  cohttp-curl-lwt.6.0.0~alpha1
-> removed   cohttp-curl-lwt.6.0.0~alpha1
-> installed cohttp-curl-lwt.6.0.0~alpha1
Done.
# Run eval $(opam env) to update the current shell environment
2024-02-12 19:37.32 ---> saved as "fcbda45b63665d2f3620be3d6c2509b8f9113cdb66fa428a3a1c79bbc60cf294"
Job succeeded
2024-02-12 19:39.07: Job succeeded