(for PR #29027)

2025-12-06 22:13.27: New job: build cohttp-async.6.2.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29027/head (1943a08a49bd8ad146df90b1b6fce4343775819f)
                              on ubuntu-22.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/29027/head" && git reset --hard 1943a08a
git fetch origin master
git merge --no-edit 2ab7464b16d46be89975bea0595240dd3fccf608
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:c250d757ea9391b0034fd5b1a0e13831d5807d322da32a04cff8a221fb0bc205
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /usr/bin/opam
RUN opam init --reinit -ni
RUN opam option solver=builtin-0install && opam config report
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
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
RUN opam pin add -k version -yn cohttp-async.6.2.0 6.2.0
RUN opam reinstall cohttp-async.6.2.0; \
    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 "\"ubuntu-22.04\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'cohttp-async.6.2.0' && 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 .

2025-12-06 22:13.27: Using cache hint "ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:c250d757ea9391b0034fd5b1a0e13831d5807d322da32a04cff8a221fb0bc205-cohttp-async.6.2.0-1943a08a49bd8ad146df90b1b6fce4343775819f"
2025-12-06 22:13.27: Using OBuilder spec:
((from ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:c250d757ea9391b0034fd5b1a0e13831d5807d322da32a04cff8a221fb0bc205)
 (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"))
 (run (shell "opam option solver=builtin-0install && opam config report"))
 (env OPAMDOWNLOADJOBS 1)
 (env OPAMERRLOGLEN 0)
 (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"))
 (run (shell "opam pin add -k version -yn cohttp-async.6.2.0 6.2.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall cohttp-async.6.2.0;\
             \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 \"\\\"ubuntu-22.04\\\"\"; 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-async.6.2.0' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2025-12-06 22:13.27: Waiting for resource in pool OCluster
2025-12-06 22:25.30: Waiting for worker…
2025-12-06 22:28.39: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
HEAD is now at 2ab7464b16 Merge pull request #29022 from thatportugueseguy/release-passage-0.3.1
Merge made by the 'ort' strategy.
 packages/cohttp-async/cohttp-async.6.2.0/opam      | 74 +++++++++++++++++++++
 packages/cohttp-bench/cohttp-bench.6.2.0/opam      | 62 ++++++++++++++++++
 .../cohttp-curl-async/cohttp-curl-async.6.2.0/opam | 63 ++++++++++++++++++
 .../cohttp-curl-lwt/cohttp-curl-lwt.6.2.0/opam     | 63 ++++++++++++++++++
 packages/cohttp-curl/cohttp-curl.6.2.0/opam        | 51 +++++++++++++++
 packages/cohttp-eio/cohttp-eio.6.2.0/opam          | 64 ++++++++++++++++++
 .../cohttp-lwt-jsoo/cohttp-lwt-jsoo.6.2.0/opam     | 63 ++++++++++++++++++
 .../cohttp-lwt-unix/cohttp-lwt-unix.6.2.0/opam     | 70 ++++++++++++++++++++
 packages/cohttp-lwt/cohttp-lwt.6.2.0/opam          | 63 ++++++++++++++++++
 packages/cohttp-mirage/cohttp-mirage.6.2.0/opam    | 70 ++++++++++++++++++++
 .../cohttp-server-lwt-unix.6.2.0/opam              | 57 ++++++++++++++++
 packages/cohttp-top/cohttp-top.6.2.0/opam          | 54 +++++++++++++++
 packages/cohttp/cohttp.6.2.0/opam                  | 76 ++++++++++++++++++++++
 packages/http/http.6.2.0/opam                      | 60 +++++++++++++++++
 14 files changed, 890 insertions(+)
 create mode 100644 packages/cohttp-async/cohttp-async.6.2.0/opam
 create mode 100644 packages/cohttp-bench/cohttp-bench.6.2.0/opam
 create mode 100644 packages/cohttp-curl-async/cohttp-curl-async.6.2.0/opam
 create mode 100644 packages/cohttp-curl-lwt/cohttp-curl-lwt.6.2.0/opam
 create mode 100644 packages/cohttp-curl/cohttp-curl.6.2.0/opam
 create mode 100644 packages/cohttp-eio/cohttp-eio.6.2.0/opam
 create mode 100644 packages/cohttp-lwt-jsoo/cohttp-lwt-jsoo.6.2.0/opam
 create mode 100644 packages/cohttp-lwt-unix/cohttp-lwt-unix.6.2.0/opam
 create mode 100644 packages/cohttp-lwt/cohttp-lwt.6.2.0/opam
 create mode 100644 packages/cohttp-mirage/cohttp-mirage.6.2.0/opam
 create mode 100644 packages/cohttp-server-lwt-unix/cohttp-server-lwt-unix.6.2.0/opam
 create mode 100644 packages/cohttp-top/cohttp-top.6.2.0/opam
 create mode 100644 packages/cohttp/cohttp.6.2.0/opam
 create mode 100644 packages/http/http.6.2.0/opam

(from ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:c250d757ea9391b0034fd5b1a0e13831d5807d322da32a04cff8a221fb0bc205)
Unable to find image 'ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:c250d757ea9391b0034fd5b1a0e13831d5807d322da32a04cff8a221fb0bc205' locally
docker.io/ocaml/opam@sha256:c250d757ea9391b0034fd5b1a0e13831d5807d322da32a04cff8a221fb0bc205: Pulling from ocaml/opam
7e49dc6156b0: Pulling fs layer
768d64ea629a: Pulling fs layer
13f966afb43f: Pulling fs layer
d317d63ec75a: Pulling fs layer
7b28ec5a47c5: Pulling fs layer
c79ab4744130: Pulling fs layer
9f4374e76e53: Pulling fs layer
c00e9d063089: Pulling fs layer
8f89430c71ba: Pulling fs layer
8804dd9d4247: Pulling fs layer
1b758e22faf2: Pulling fs layer
87c6735c3ed0: Pulling fs layer
7b28ec5a47c5: Waiting
c79ab4744130: Waiting
c00e9d063089: Waiting
9ebfbcc18a0e: Pulling fs layer
9f4374e76e53: Waiting
8f89430c71ba: Waiting
fff65106f106: Pulling fs layer
1b758e22faf2: Waiting
d317d63ec75a: Waiting
2eb08f7bc86f: Pulling fs layer
9ebfbcc18a0e: Waiting
fff65106f106: Waiting
8804dd9d4247: Waiting
ccbe335f000d: Pulling fs layer
2eb08f7bc86f: Waiting
ccbe335f000d: Waiting
4f4fb700ef54: Pulling fs layer
169ebc0440cf: Pulling fs layer
4f4fb700ef54: Waiting
16adc1f339fa: Pulling fs layer
d8c9fad8978c: Pulling fs layer
a3768aef1a3e: Pulling fs layer
05fda9abd084: Pulling fs layer
14290e3ad0f3: Pulling fs layer
a3768aef1a3e: Waiting
e36548c1d475: Pulling fs layer
e971923db03d: Pulling fs layer
e36548c1d475: Waiting
7b75f102c29d: Pulling fs layer
268e0b508931: Pulling fs layer
7b75f102c29d: Waiting
e971923db03d: Waiting
f1b4e2606483: Pulling fs layer
e11b305fd86a: Pulling fs layer
268e0b508931: Waiting
f53e8e6f8ec7: Pulling fs layer
f1b4e2606483: Waiting
e11b305fd86a: Waiting
5387c1bd6879: Pulling fs layer
f53e8e6f8ec7: Waiting
81bc11e864e5: Pulling fs layer
792fa9a99fb4: Pulling fs layer
81bc11e864e5: Waiting
6e35f8095d9a: Pulling fs layer
b5086d7e76b8: Pulling fs layer
58159774068b: Pulling fs layer
53514f5e36a5: Pulling fs layer
5387c1bd6879: Waiting
58159774068b: Waiting
4d7334707010: Pulling fs layer
02d8649acb0b: Pulling fs layer
53514f5e36a5: Waiting
4d7334707010: Waiting
184d5ad0fc54: Pulling fs layer
0656bd37c9e5: Pulling fs layer
bd247c1280e6: Pulling fs layer
184d5ad0fc54: Waiting
bd247c1280e6: Waiting
768d64ea629a: Verifying Checksum
768d64ea629a: Download complete
13f966afb43f: Verifying Checksum
13f966afb43f: Download complete
7b28ec5a47c5: Download complete
7e49dc6156b0: Verifying Checksum
7e49dc6156b0: Download complete
9f4374e76e53: Verifying Checksum
9f4374e76e53: Download complete
7e49dc6156b0: Pull complete
c79ab4744130: Verifying Checksum
c79ab4744130: Download complete
768d64ea629a: Pull complete
13f966afb43f: Pull complete
c00e9d063089: Verifying Checksum
c00e9d063089: Download complete
8f89430c71ba: Verifying Checksum
8f89430c71ba: Download complete
8804dd9d4247: Verifying Checksum
8804dd9d4247: Download complete
d317d63ec75a: Verifying Checksum
d317d63ec75a: Download complete
87c6735c3ed0: Verifying Checksum
87c6735c3ed0: Download complete
1b758e22faf2: Verifying Checksum
1b758e22faf2: Download complete
9ebfbcc18a0e: Verifying Checksum
9ebfbcc18a0e: Download complete
fff65106f106: Verifying Checksum
fff65106f106: Download complete
2eb08f7bc86f: Verifying Checksum
2eb08f7bc86f: Download complete
4f4fb700ef54: Verifying Checksum
4f4fb700ef54: Download complete
169ebc0440cf: Verifying Checksum
169ebc0440cf: Download complete
ccbe335f000d: Verifying Checksum
ccbe335f000d: Download complete
16adc1f339fa: Verifying Checksum
16adc1f339fa: Download complete
d8c9fad8978c: Verifying Checksum
d8c9fad8978c: Download complete
05fda9abd084: Download complete
a3768aef1a3e: Verifying Checksum
a3768aef1a3e: Download complete
14290e3ad0f3: Verifying Checksum
14290e3ad0f3: Download complete
e36548c1d475: Download complete
e971923db03d: Download complete
7b75f102c29d: Verifying Checksum
7b75f102c29d: Download complete
268e0b508931: Verifying Checksum
268e0b508931: Download complete
f1b4e2606483: Verifying Checksum
f1b4e2606483: Download complete
e11b305fd86a: Verifying Checksum
e11b305fd86a: Download complete
f53e8e6f8ec7: Download complete
5387c1bd6879: Download complete
d317d63ec75a: Pull complete
81bc11e864e5: Download complete
7b28ec5a47c5: Pull complete
6e35f8095d9a: Verifying Checksum
6e35f8095d9a: Download complete
58159774068b: Download complete
53514f5e36a5: Download complete
4d7334707010: Verifying Checksum
4d7334707010: Download complete
792fa9a99fb4: Verifying Checksum
792fa9a99fb4: Download complete
184d5ad0fc54: Verifying Checksum
184d5ad0fc54: Download complete
0656bd37c9e5: Verifying Checksum
0656bd37c9e5: Download complete
bd247c1280e6: Download complete
c79ab4744130: Pull complete
9f4374e76e53: Pull complete
c00e9d063089: Pull complete
8f89430c71ba: Pull complete
8804dd9d4247: Pull complete
1b758e22faf2: Pull complete
87c6735c3ed0: Pull complete
9ebfbcc18a0e: Pull complete
fff65106f106: Pull complete
2eb08f7bc86f: Pull complete
ccbe335f000d: Pull complete
4f4fb700ef54: Pull complete
169ebc0440cf: Pull complete
16adc1f339fa: Pull complete
b5086d7e76b8: Verifying Checksum
b5086d7e76b8: Download complete
d8c9fad8978c: Pull complete
a3768aef1a3e: Pull complete
05fda9abd084: Pull complete
14290e3ad0f3: Pull complete
e36548c1d475: Pull complete
e971923db03d: Pull complete
7b75f102c29d: Pull complete
268e0b508931: Pull complete
f1b4e2606483: Pull complete
e11b305fd86a: Pull complete
f53e8e6f8ec7: Pull complete
5387c1bd6879: Pull complete
81bc11e864e5: Pull complete
02d8649acb0b: Verifying Checksum
02d8649acb0b: Download complete
792fa9a99fb4: Pull complete
6e35f8095d9a: Pull complete
b5086d7e76b8: Pull complete
58159774068b: Pull complete
53514f5e36a5: Pull complete
4d7334707010: Pull complete
02d8649acb0b: Pull complete
184d5ad0fc54: Pull complete
0656bd37c9e5: Pull complete
bd247c1280e6: Pull complete
Digest: sha256:c250d757ea9391b0034fd5b1a0e13831d5807d322da32a04cff8a221fb0bc205
Status: Downloaded newer image for ocaml/opam@sha256:c250d757ea9391b0034fd5b1a0e13831d5807d322da32a04cff8a221fb0bc205
2025-12-06 22:30.21 ---> saved as "9e8c12847d31817864c75468fea0d223a7a465c4978f418faeb4235d1936b2b7"

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-12-06 22:30.21 ---> saved as "1b96286c8a53eb4c7893a1977ccb73dab0fc8bfb191e44fa4255c3cecbc14785"

/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 version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2, 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] Initialised
2025-12-06 22:30.44 ---> saved as "dc48433e8c0e15d1109137822961ee196d206aa8240a63c33a58fb82d26e8678"

/home/opam: (run (shell "opam option solver=builtin-0install && opam config report"))
Set to 'builtin-0install' the field solver in global configuration
# opam config report
# opam-version         2.5.0
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=ubuntu os-version=22.04
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 71
# repositories         1 (version-controlled)
# pinned               1 (version)
# current-switch       4.14
# invariant            ["ocaml-base-compiler" {= "4.14.2"}]
# compiler-packages    ocaml-base-compiler.4.14.2, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/4.14/lib/ocaml/stublibs:/home/opam/.opam/4.14/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       4.14.2
2025-12-06 22:30.44 ---> saved as "8dae8b9938d11a66037019e34f41143eba761e861a8dffd81e12a38817a9e918"

/home/opam: (env OPAMDOWNLOADJOBS 1)

/home/opam: (env OPAMERRLOGLEN 0)

/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/"))
2025-12-06 22:31.02 ---> saved as "239f55b3e90383983a26a1b95acf7d886e8c900a83477f1bd274057aba8d8d55"

/home/opam: (copy (src .) (dst opam-repository/))
2025-12-06 22:31.13 ---> saved as "962005f2de5c01773626f3d914dfd552e56b19677aab331fbc29625800b60899"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-12-06 22:31.29 ---> saved as "8e28df1dda0c19e21e22de4fd4d4bbf20ac7b473132b0ad8e55b1e010e38c759"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
- Get:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
- Get:3 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
- Get:4 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [3901 kB]
- Get:5 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
- Get:6 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [6281 kB]
- Get:7 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1598 kB]
- Get:8 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [3571 kB]
- Get:9 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [6081 kB]
- Get:10 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1286 kB]
- Fetched 23.1 MB in 3s (9155 kB/s)
- Reading package lists...
- 
2025-12-06 22:31.33 ---> saved as "0e8148195c6bbe8f84eb1dfee7d1ca387fd2c4ec02044ef86c024865646a15e7"

/home/opam: (run (shell "opam pin add -k version -yn cohttp-async.6.2.0 6.2.0"))
cohttp-async is now pinned to version 6.2.0
2025-12-06 22:31.46 ---> saved as "efdacb3f220133df4f57318f3a4b9d7b6f8da12c898c8bae6807d7fbdf52a5c3"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall cohttp-async.6.2.0;\
                        \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 \"\\\"ubuntu-22.04\\\"\"; 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-async.6.2.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
cohttp-async.6.2.0 is not installed. Install it? [Y/n] y
  * No agreement on the version of ocaml:
    - (invariant) -> ocaml-base-compiler = 4.14.2 -> ocaml = 4.14.2
    - cohttp-async >= 6.2.0 -> async_kernel >= v0.17.0 -> ocaml >= 5.1.0
    You can temporarily relax the switch invariant with `--update-invariant'

No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall cohttp-async.6.2.0;
        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 "\"ubuntu-22.04\""; then
            echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
          fi;
          test "$pkg" != 'cohttp-async.6.2.0' && partial_fails="$partial_fails $pkg";
        done;
        test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}";
        exit 1" failed with exit status 20
2025-12-06 22:31.58: Job failed: Failed: Build failed
2025-12-06 22:31.58: Log analysis:
2025-12-06 22:31.58: >>> 
No solution found, exiting
 (score = 100)
2025-12-06 22:31.58: [SKIP] Package not available