(for PR #29027)

2025-12-06 22:13.27: New job: build cohttp-lwt.6.2.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29027/head (1943a08a49bd8ad146df90b1b6fce4343775819f)
                              on debian-13-ocaml-5.2/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-5.2@sha256:5e49b12d3b19809d29f92b781085971c9d44139c6d8770cd115b9787c8adcac1
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-lwt.6.2.0 6.2.0
RUN opam reinstall cohttp-lwt.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-lwt.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:debian-13-ocaml-5.2@sha256:5e49b12d3b19809d29f92b781085971c9d44139c6d8770cd115b9787c8adcac1-cohttp-lwt.6.2.0-1943a08a49bd8ad146df90b1b6fce4343775819f"
2025-12-06 22:13.27: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.2@sha256:5e49b12d3b19809d29f92b781085971c9d44139c6d8770cd115b9787c8adcac1)
 (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-lwt.6.2.0 6.2.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall cohttp-lwt.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-lwt.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:13.30: Waiting for worker…
2025-12-06 22:17.02: Got resource from pool OCluster
Building on asteria.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-5.2@sha256:5e49b12d3b19809d29f92b781085971c9d44139c6d8770cd115b9787c8adcac1)
Unable to find image 'ocaml/opam:debian-13-ocaml-5.2@sha256:5e49b12d3b19809d29f92b781085971c9d44139c6d8770cd115b9787c8adcac1' locally
docker.io/ocaml/opam@sha256:5e49b12d3b19809d29f92b781085971c9d44139c6d8770cd115b9787c8adcac1: 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
5741460612b3: Pulling fs layer
53ea8d300e6e: Pulling fs layer
3b879e1c5df8: Pulling fs layer
110e4483d51b: Pulling fs layer
02f7bfeaba29: Pulling fs layer
9673ddbc94ce: Pulling fs layer
c89ed4e9023c: Pulling fs layer
110e4483d51b: Waiting
02f7bfeaba29: Waiting
9673ddbc94ce: Waiting
c89ed4e9023c: Waiting
53ea8d300e6e: Verifying Checksum
53ea8d300e6e: Download complete
5741460612b3: Download complete
3b879e1c5df8: Verifying Checksum
3b879e1c5df8: Download complete
5741460612b3: Pull complete
53ea8d300e6e: Pull complete
3b879e1c5df8: Pull complete
02f7bfeaba29: Download complete
9673ddbc94ce: Verifying Checksum
9673ddbc94ce: Download complete
c89ed4e9023c: Verifying Checksum
c89ed4e9023c: Download complete
110e4483d51b: Verifying Checksum
110e4483d51b: Download complete
110e4483d51b: Pull complete
02f7bfeaba29: Pull complete
9673ddbc94ce: Pull complete
c89ed4e9023c: Pull complete
Digest: sha256:5e49b12d3b19809d29f92b781085971c9d44139c6d8770cd115b9787c8adcac1
Status: Downloaded newer image for ocaml/opam@sha256:5e49b12d3b19809d29f92b781085971c9d44139c6d8770cd115b9787c8adcac1
2025-12-06 22:17.57 ---> saved as "ddc4c134a3771fdd9f83aa6b29bcd3a7c333187ecfc802b68a7bc2791d6b25b5"

/: (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:17.57 ---> saved as "1b44848b4aa8efee8badeb761fc6c8fcf7fca4492f6b9b576f6fddc97c686819"

/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
[NOTE] The 'jobs' option was reset, its value was 71 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
           opam option jobs=71 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-12-06 22:18.21 ---> saved as "df488079b4985efb4a98c432e121b71504115611c91d639d1a27d8be84717133"

/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                 255
# repositories         1 (version-controlled)
# pinned               1 (version)
# current-switch       5.2
# invariant            ["ocaml-base-compiler" {= "5.2.1"}]
# compiler-packages    ocaml-base-compiler.5.2.1, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/5.2/lib/ocaml/stublibs:/home/opam/.opam/5.2/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       5.2.1
2025-12-06 22:18.21 ---> saved as "3cabf5e47f72a44d1f492793f39ec2fcd451a865260ec7433936fdfd04fe14b3"

/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:18.34 ---> saved as "11de9fc026b339efe63e4fb35ba7c0ef51068e3ec80fd4b7316dbcc50233c2ec"

/home/opam: (copy (src .) (dst opam-repository/))
2025-12-06 22:19.11 ---> saved as "8aaf2669a77df18f22b824e49c5e0c46630143d0f082af4dc5964abb136036b5"

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

/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 (1329 kB/s)
- Reading package lists...
2025-12-06 22:19.31 ---> saved as "802b86bef33f9f3278cb8842e54a10cf0c71f51b1dd1ec508c07a2b111136843"

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

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall cohttp-lwt.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-lwt.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-lwt.6.2.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 34 packages
  - install angstrom                0.16.1         [required by uri]
  - install base                    v0.17.3        [required by ppx_sexp_conv]
  - install base-bytes              base           [required by ocplib-endian]
  - install base64                  3.5.2          [required by cohttp]
  - install bigstringaf             0.10.0         [required by angstrom]
  - install cohttp                  6.2.0          [required by cohttp-lwt]
  - install cohttp-lwt              6.2.0 (pinned)
  - install cppo                    1.8.0          [required by lwt]
  - install csexp                   1.5.2          [required by dune-configurator]
  - install domain-name             0.5.0          [required by ipaddr]
  - install dune                    3.20.2         [required by cohttp-lwt]
  - install dune-configurator       3.20.2         [required by lwt, base]
  - install http                    6.2.0          [required by cohttp-lwt]
  - install ipaddr                  5.6.1          [required by cohttp-lwt]
  - install logs                    0.10.0         [required by cohttp-lwt]
  - install lwt                     5.9.2          [required by cohttp-lwt]
  - install macaddr                 5.6.1          [required by ipaddr]
  - install ocaml-compiler-libs     v0.17.0        [required by ppxlib]
  - install ocaml-syntax-shims      1.0.0          [required by angstrom]
  - install ocaml_intrinsics_kernel v0.17.1        [required by base]
  - install ocamlbuild              0.16.1         [required by logs]
  - install ocamlfind               1.9.8          [required by logs]
  - install ocplib-endian           1.2            [required by lwt]
  - install ppx_derivers            1.2.1          [required by ppxlib]
  - install ppx_sexp_conv           v0.17.0        [required by cohttp-lwt]
  - install ppxlib                  0.35.0         [required by ppx_sexp_conv]
  - install ppxlib_jane             v0.17.0        [required by ppx_sexp_conv]
  - install re                      1.14.0         [required by cohttp]
  - install sexplib0                v0.17.0        [required by cohttp-lwt]
  - install stdlib-shims            0.3.0          [required by ppxlib]
  - install stringext               1.6.0          [required by cohttp]
  - install topkg                   1.1.1          [required by logs]
  - install uri                     4.4.0          [required by cohttp-lwt]
  - install uri-sexp                4.4.0          [required by cohttp]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved angstrom.0.16.1  (cached)
-> retrieved base.v0.17.3  (cached)
-> retrieved base64.3.5.2  (cached)
-> retrieved bigstringaf.0.10.0  (cached)
-> retrieved cohttp.6.2.0, cohttp-lwt.6.2.0, http.6.2.0  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved domain-name.0.5.0  (cached)
-> retrieved dune.3.20.2, dune-configurator.3.20.2  (cached)
-> retrieved ipaddr.5.6.1, macaddr.5.6.1  (cached)
-> retrieved logs.0.10.0  (cached)
-> retrieved lwt.5.9.2  (cached)
-> retrieved ocaml-compiler-libs.v0.17.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocaml_intrinsics_kernel.v0.17.1  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_sexp_conv.v0.17.0  (cached)
-> retrieved ppxlib.0.35.0  (cached)
-> retrieved ppxlib_jane.v0.17.0  (cached)
-> retrieved re.1.14.0  (cached)
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved stringext.1.6.0  (cached)
-> retrieved topkg.1.1.1  (cached)
-> retrieved uri.4.4.0, uri-sexp.4.4.0  (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed dune.3.20.2
-> installed base64.3.5.2
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed domain-name.0.5.0
-> installed http.6.2.0
-> installed macaddr.5.6.1
-> installed ocaml-compiler-libs.v0.17.0
-> installed ocaml-syntax-shims.1.0.0
-> installed ocaml_intrinsics_kernel.v0.17.1
-> installed ppx_derivers.1.2.1
-> installed re.1.14.0
-> installed sexplib0.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed stringext.1.6.0
-> installed ocplib-endian.1.2
-> installed ipaddr.5.6.1
-> installed dune-configurator.3.20.2
-> installed bigstringaf.0.10.0
-> installed angstrom.0.16.1
-> installed uri.4.4.0
-> installed lwt.5.9.2
-> installed logs.0.10.0
-> installed base.v0.17.3
-> installed ppxlib.0.35.0
-> installed ppxlib_jane.v0.17.0
-> installed ppx_sexp_conv.v0.17.0
-> installed uri-sexp.4.4.0
-> installed cohttp.6.2.0
-> installed cohttp-lwt.6.2.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-12-06 22:20.25 ---> saved as "9dadd981f8ef0c07905f671d18152fe3550afa501feb1c24aab54c5d3a28ac41"
Job succeeded
2025-12-06 22:20.30: Job succeeded