(for PR #29027)

2025-12-06 22:13.29: New job: build cohttp-server-lwt-unix.6.2.0, using opam 2.2
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29027/head (1943a08a49bd8ad146df90b1b6fce4343775819f)
                              on debian-13-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:debian-13-ocaml-4.14@sha256:fddbf238ab4328743d25c83fb30c90359c9e4dc5f71c84c4d4b45ff7ccb90a42
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.2 /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-server-lwt-unix.6.2.0 6.2.0
RUN opam reinstall cohttp-server-lwt-unix.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" != 'cohttp-server-lwt-unix.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.29: Using cache hint "ocaml/opam:debian-13-ocaml-4.14@sha256:fddbf238ab4328743d25c83fb30c90359c9e4dc5f71c84c4d4b45ff7ccb90a42-cohttp-server-lwt-unix.6.2.0-1943a08a49bd8ad146df90b1b6fce4343775819f"
2025-12-06 22:13.29: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14@sha256:fddbf238ab4328743d25c83fb30c90359c9e4dc5f71c84c4d4b45ff7ccb90a42)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-2.2 /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-server-lwt-unix.6.2.0 6.2.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall cohttp-server-lwt-unix.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\" != 'cohttp-server-lwt-unix.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.29: Waiting for resource in pool OCluster
2025-12-06 22:36.11: Waiting for worker…
2025-12-06 22:38.59: Got resource from pool OCluster
Building on clete
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@sha256:fddbf238ab4328743d25c83fb30c90359c9e4dc5f71c84c4d4b45ff7ccb90a42)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.14@sha256:fddbf238ab4328743d25c83fb30c90359c9e4dc5f71c84c4d4b45ff7ccb90a42' locally
docker.io/ocaml/opam@sha256:fddbf238ab4328743d25c83fb30c90359c9e4dc5f71c84c4d4b45ff7ccb90a42: 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
90ef457de5f6: Pulling fs layer
a083513427ff: Pulling fs layer
44824355a76a: Pulling fs layer
e614a8301c85: Pulling fs layer
e614a8301c85: Waiting
a083513427ff: Verifying Checksum
a083513427ff: Download complete
44824355a76a: Verifying Checksum
44824355a76a: Download complete
e614a8301c85: Verifying Checksum
e614a8301c85: Download complete
90ef457de5f6: Verifying Checksum
90ef457de5f6: Download complete
90ef457de5f6: Pull complete
a083513427ff: Pull complete
44824355a76a: Pull complete
e614a8301c85: Pull complete
Digest: sha256:fddbf238ab4328743d25c83fb30c90359c9e4dc5f71c84c4d4b45ff7ccb90a42
Status: Downloaded newer image for ocaml/opam@sha256:fddbf238ab4328743d25c83fb30c90359c9e4dc5f71c84c4d4b45ff7ccb90a42
2025-12-06 22:39.06 ---> using "fac428a8c7735f97c9831d58777f84ed5f5edf7a45e1d8d6ff738a3eabdf91c6" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam"))
2025-12-06 22:39.06 ---> saved as "9a4a3fb3c87c3249df97788e099b35e1429df6de5a49a38ad7788ef4c65f1e88"

/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, 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:39.41 ---> saved as "fd64dea9c02c3015b6a6406a418532819250ecd7d27cc639e20320bb2c086b26"

/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.2.1 (01e9a24a61e23e42d513b4b775d8c30c807439b2)
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=debian os-version=13
# solver               builtin-0install
# install-criteria     
# upgrade-criteria     
# 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:39.42 ---> saved as "736b8fe8e00c4c9ca7ff3854ea0fd078494304cba4b5947aac2cee466c42d740"

/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:39.51 ---> saved as "280ff19e16337af8e46bdc3d17b223d18f4cadafb0e733557fd99fbdf3a48a5a"

/home/opam: (copy (src .) (dst opam-repository/))
2025-12-06 22:40.05 ---> saved as "50d24d20c4c9d309829c5dabca472255572e4e9104e0d6f9d7255e2e7151e052"

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

/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 (1120 kB/s)
- Reading package lists...
- 
2025-12-06 22:40.36 ---> saved as "9b404d50cf37451fed4788e61dd4cc39b69b0c3bc215d6c6efd07bd769573d59"

/home/opam: (run (shell "opam pin add -k version -yn cohttp-server-lwt-unix.6.2.0 6.2.0"))
cohttp-server-lwt-unix is now pinned to version 6.2.0
2025-12-06 22:40.37 ---> saved as "c738ef5f057573a0d0d5c53de5d9a1b0813f132ee7393385c11c5f421ab807af"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall cohttp-server-lwt-unix.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\" != 'cohttp-server-lwt-unix.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-server-lwt-unix.6.2.0 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 10 packages
  - install base-bytes             base           [required by ocplib-endian]
  - install cohttp-server-lwt-unix 6.2.0 (pinned)
  - install cppo                   1.8.0          [required by lwt]
  - install csexp                  1.5.2          [required by dune-configurator]
  - install dune                   3.20.2         [required by cohttp-server-lwt-unix]
  - install dune-configurator      3.20.2         [required by lwt]
  - install http                   6.2.0          [required by cohttp-server-lwt-unix]
  - install lwt                    6.0.0~alpha00  [required by cohttp-server-lwt-unix]
  - install ocamlfind              1.9.8          [required by base-bytes]
  - install ocplib-endian          1.2            [required by lwt]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cohttp-server-lwt-unix.6.2.0, http.6.2.0  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved dune.3.20.2, dune-configurator.3.20.2  (cached)
-> retrieved lwt.6.0.0~alpha00  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed dune.3.20.2
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed http.6.2.0
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.20.2
-> installed lwt.6.0.0~alpha00
-> installed cohttp-server-lwt-unix.6.2.0
Done.
# Run eval $(opam env) to update the current shell environment
2025-12-06 22:41.26 ---> saved as "f82e5bc826a569317743a7a291f6ad22121b385aa4330f914a742ce1e1187afe"
Job succeeded
2025-12-06 22:41.39: Job succeeded