(for PR #29027)

2025-12-06 22:13.30: New job: build http.6.2.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29027/head (1943a08a49bd8ad146df90b1b6fce4343775819f)
                              on debian-13-ocaml-4.14-nnpchecker/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:debian-13-ocaml-4.14-nnpchecker@sha256:92d21e051250716acaf0fab93cc36f03d9108f25b0414a869af66a9e770f3c1a
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 http.6.2.0 6.2.0
RUN opam reinstall http.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 "\"debian-13\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'http.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.30: Using cache hint "ocaml/opam:debian-13-ocaml-4.14-nnpchecker@sha256:92d21e051250716acaf0fab93cc36f03d9108f25b0414a869af66a9e770f3c1a-http.6.2.0-1943a08a49bd8ad146df90b1b6fce4343775819f"
2025-12-06 22:13.30: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14-nnpchecker@sha256:92d21e051250716acaf0fab93cc36f03d9108f25b0414a869af66a9e770f3c1a)
 (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 http.6.2.0 6.2.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall http.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 \"\\\"debian-13\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'http.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.30: Waiting for resource in pool OCluster
2025-12-06 22:40.02: Waiting for worker…
2025-12-06 22:42.41: 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:debian-13-ocaml-4.14-nnpchecker@sha256:92d21e051250716acaf0fab93cc36f03d9108f25b0414a869af66a9e770f3c1a)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.14-nnpchecker@sha256:92d21e051250716acaf0fab93cc36f03d9108f25b0414a869af66a9e770f3c1a' locally
docker.io/ocaml/opam@sha256:92d21e051250716acaf0fab93cc36f03d9108f25b0414a869af66a9e770f3c1a: Pulling from ocaml/opam
53c88f1dfeb7: Already exists
f40653bbd569: Already exists
7810c66e401b: Already exists
d941667067ac: Already exists
6e099de50dbd: Already exists
45940f4cdce1: Already exists
cbbdea3b6efd: Already exists
4c34326b882a: Already exists
d8a1b7be7128: Already exists
b30719ba72c1: Already exists
eb031d51ba4a: Already exists
a59529ec7b26: Already exists
1049e4f3b9e4: Already exists
e2ab32c77566: Already exists
f6ef7bc31988: Already exists
28c3b5beaa3f: Already exists
83ebb7ec29e3: Already exists
186714418599: Already exists
5045c0de4fc9: Already exists
3312ff3bfd69: Already exists
335847f13b00: Already exists
4f4fb700ef54: Already exists
b7958021acdb: Already exists
d92ce1afae3a: Already exists
7842835bd039: Already exists
3a60e5befc90: Already exists
7efeca794a8f: Already exists
efc7f994cef1: Already exists
ba91afca1a0a: Already exists
8216b6db35fa: Already exists
229184d6690a: Already exists
40e4db8e45e7: Already exists
12fb3f269d42: Already exists
c0196b69a0ef: Already exists
b731bd241e4b: Already exists
53512a47261a: Already exists
b1be3290ddde: Already exists
fe5803a9f63d: Already exists
5cf61ec03f01: Already exists
d44c5e23965f: Already exists
10499f0e7a11: Pulling fs layer
7193801fe131: Pulling fs layer
334fa4f215d5: Pulling fs layer
db5d83df1f0b: Pulling fs layer
7193801fe131: Download complete
334fa4f215d5: Download complete
db5d83df1f0b: Verifying Checksum
db5d83df1f0b: Download complete
10499f0e7a11: Verifying Checksum
10499f0e7a11: Download complete
10499f0e7a11: Pull complete
7193801fe131: Pull complete
334fa4f215d5: Pull complete
db5d83df1f0b: Pull complete
Digest: sha256:92d21e051250716acaf0fab93cc36f03d9108f25b0414a869af66a9e770f3c1a
Status: Downloaded newer image for ocaml/opam@sha256:92d21e051250716acaf0fab93cc36f03d9108f25b0414a869af66a9e770f3c1a
2025-12-06 22:43.28 ---> saved as "bf262b68753459483a6ee3b4082f27b61ff5f356de9ea8fac043671250c59adc"

/: (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:43.28 ---> saved as "dffe9cf0e517ac91b60c1fade7eb7e98ba9bc6ecc4c2268737f898ec5279c837"

/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:43.56 ---> saved as "53aae97fcf378c4a319eaeee269da8b75ad095c0a000b1ac1caaf3f7170b91ba"

/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=debian os-version=13
# 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-options-only-nnpchecker"]
# compiler-packages    ocaml-option-nnpchecker.1, ocaml-options-only-nnpchecker.1, ocaml-variants.4.14.2+options
# 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+options
2025-12-06 22:43.57 ---> saved as "9e5db7a9547442140fd020aedab2953aeac145cd4cdc94f3772f55a6af26be70"

/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:44.05 ---> saved as "86333ab792b7b8d8c0b26964fc5f8b87246b21f0ef73aefd3a990761154e1583"

/home/opam: (copy (src .) (dst opam-repository/))
2025-12-06 22:44.23 ---> saved as "312c30dcdd354e6e52c80c66ed7596b50e76e7beb9c07f9628b8919b3a1fc43b"

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

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [81.6 kB]
- Fetched 172 kB in 0s (1636 kB/s)
- Reading package lists...
- 
2025-12-06 22:44.51 ---> saved as "e86f51751ab2ee34e0ee8999d1f0d076dfbc4ba1a92a99a5aeaf9232050c26e3"

/home/opam: (run (shell "opam pin add -k version -yn http.6.2.0 6.2.0"))
http is now pinned to version 6.2.0
2025-12-06 22:44.53 ---> saved as "1fa2cd855c4a3c9d4db19ad31e96db8d40da0346ec5f7e04b08d5a59d2b0c3e0"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall http.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 \"\\\"debian-13\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'http.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"))
http.6.2.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 2 packages
  - install dune 3.20.2         [required by http]
  - install http 6.2.0 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.20.2  (cached)
-> retrieved http.6.2.0  (cached)
-> installed dune.3.20.2
-> installed http.6.2.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-12-06 22:45.36 ---> saved as "e04ff34ff960448e4a39122b409a494f7e038e094185b71a4567bde46321cae8"
Job succeeded
2025-12-06 22:45.46: Job succeeded