(for PR #29027)

2025-12-06 22:13.29: New job: build cohttp-top.6.2.0, using opam 2.0
                              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.0 /usr/bin/opam
RUN opam init --reinit -ni
RUN 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 depext -u || true
RUN opam pin add -k version -yn cohttp-top.6.2.0 6.2.0
RUN opam depext cohttp-top.6.2.0 && opam reinstall cohttp-top.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-top.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-top.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.0 /usr/bin/opam"))
 (run (network host)
      (shell "opam init --reinit --config .opamrc-sandbox -ni"))
 (run (shell "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 depext -u || true"))
 (run (shell "opam pin add -k version -yn cohttp-top.6.2.0 6.2.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam depext cohttp-top.6.2.0 && opam reinstall cohttp-top.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-top.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:35.21: Waiting for worker…
2025-12-06 22:39.00: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
All commits already cached
Updating files:  62% (11928/18994)
Updating files:  63% (11967/18994)
Updating files:  64% (12157/18994)
Updating files:  65% (12347/18994)
Updating files:  66% (12537/18994)
Updating files:  67% (12726/18994)
Updating files:  68% (12916/18994)
Updating files:  69% (13106/18994)
Updating files:  70% (13296/18994)
Updating files:  71% (13486/18994)
Updating files:  72% (13676/18994)
Updating files:  73% (13866/18994)
Updating files:  74% (14056/18994)
Updating files:  75% (14246/18994)
Updating files:  76% (14436/18994)
Updating files:  77% (14626/18994)
Updating files:  78% (14816/18994)
Updating files:  79% (15006/18994)
Updating files:  80% (15196/18994)
Updating files:  81% (15386/18994)
Updating files:  82% (15576/18994)
Updating files:  83% (15766/18994)
Updating files:  84% (15955/18994)
Updating files:  85% (16145/18994)
Updating files:  86% (16335/18994)
Updating files:  87% (16525/18994)
Updating files:  88% (16715/18994)
Updating files:  89% (16905/18994)
Updating files:  90% (17095/18994)
Updating files:  91% (17285/18994)
Updating files:  92% (17475/18994)
Updating files:  93% (17665/18994)
Updating files:  94% (17855/18994)
Updating files:  95% (18045/18994)
Updating files:  96% (18235/18994)
Updating files:  97% (18425/18994)
Updating files:  98% (18615/18994)
Updating files:  99% (18805/18994)
Updating files: 100% (18994/18994)
Updating files: 100% (18994/18994), done.
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: Download complete
44824355a76a: Verifying Checksum
44824355a76a: Download complete
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.04 ---> using "fac428a8c7735f97c9831d58777f84ed5f5edf7a45e1d8d6ff738a3eabdf91c6" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam"))
2025-12-06 22:39.04 ---> saved as "74f169e56b89b574e3e75fc60fa16558f8bfcd3fb2866e75bb68623f0e6cab71"

/home/opam: (run (network host)
                 (shell "opam init --reinit --config .opamrc-sandbox -ni"))
[NOTE] Will configure 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.

[WARNING] Recommended dependencies -- most packages rely on these:
  - m4

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
default (at git+file:///home/opam/opam-repository): 
    [INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)

2025-12-06 22:40.53 ---> saved as "296d103825dd601aa8cdbacf5139eb248aa8b5f510514fff8606876774b6a3c3"

/home/opam: (run (shell "opam config report"))
# opam config report
# opam-version      2.0.10 (adc1e1829a2bef5b240746df80341b508290fe3b) 
# self-upgrade      no
# system            arch=x86_64 os=linux os-distribution=debian os-version=13
# solver            builtin-mccs+glpk
# install-criteria  -removed,-count[version-lag,request],-count[version-lag,changed],-changed
# upgrade-criteria  -removed,-count[version-lag,solution],-new
# jobs              71
# repositories      1 (version-controlled)
# pinned            1 (version)
# current-switch    4.14
2025-12-06 22:40.54 ---> saved as "b1ba62bbc3aba6750ec86b9cb13dabb1af3b10a08daf22281aaae14a7f2dcafb"

/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:41.09 ---> saved as "a4955a390fe747da509f4d0f8d7ea72450a4fe880b1af21a0aa3555d0689e421"

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

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
default (at file:///home/opam/opam-repository): 
    [INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)

2025-12-06 22:41.37 ---> saved as "4e2d36a6e23da86f2d43bc7f59b0a741c81bb4638c6ae66621c8a8b586ae402e"

/home/opam: (run (network host)
                 (shell "opam depext -u || true"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
The following command needs to be run through "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 (1317 kB/s)
Reading package lists...
# OS package update successful
2025-12-06 22:41.40 ---> saved as "54255e3f4ae6395e524ec3cf65bc44c58cf34b283eecb8a9c9808ad7fa8f7507"

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

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam depext cohttp-top.6.2.0 && opam reinstall cohttp-top.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-top.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"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
cohttp-top.6.2.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
  - install ocamlbuild          0.16.1  [required by logs]
  - install ocamlfind           1.9.8   [required by logs]
  - install dune                3.20.2  [required by cohttp-top]
  - install topkg               1.1.1   [required by logs]
  - install stringext           1.6.0   [required by cohttp]
  - install stdlib-shims        0.3.0   [required by ppxlib]
  - install sexplib0            v0.14.0 [required by cohttp]
  - install re                  1.14.0  [required by cohttp]
  - install ppx_derivers        1.2.1   [required by ppxlib]
  - install ocaml-compiler-libs v0.12.4 [required by ppxlib]
  - install macaddr             5.6.1   [required by ipaddr]
  - install http                6.2.0   [required by cohttp]
  - install domain-name         0.5.0   [required by ipaddr]
  - install csexp               1.5.2   [required by dune-configurator]
  - install base64              3.5.2   [required by cohttp]
  - install logs                0.10.0  [required by cohttp]
  - install uri                 3.1.0   [required by cohttp]
  - install ppxlib              0.25.1  [required by ppx_sexp_conv]
  - install ipaddr              5.6.1   [required by cohttp]
  - install dune-configurator   3.20.2  [required by base]
  - install base                v0.14.3 [required by ppx_sexp_conv]
  - install ppx_sexp_conv       v0.14.3 [required by cohttp]
  - install uri-sexp            3.1.0   [required by cohttp]
  - install cohttp              6.2.0   [required by cohttp-top]
  - install cohttp-top          6.2.0*
===== 25 to install =====

<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[base.v0.14.3] found in cache
[base64.3.5.2] found in cache
[cohttp.6.2.0] found in cache
[cohttp-top.6.2.0] found in cache
[csexp.1.5.2] found in cache
[domain-name.0.5.0] found in cache
[dune.3.20.2] found in cache
[dune-configurator.3.20.2] found in cache
[http.6.2.0] found in cache
[ipaddr.5.6.1] found in cache
[logs.0.10.0] found in cache
[macaddr.5.6.1] found in cache
[ocaml-compiler-libs.v0.12.4] found in cache
[ocamlbuild.0.16.1] found in cache
[ocamlfind.1.9.8] found in cache
[ppx_derivers.1.2.1] found in cache
[ppx_sexp_conv.v0.14.3] found in cache
[ppxlib.0.25.1] found in cache
[re.1.14.0] found in cache
[sexplib0.v0.14.0] found in cache
[stdlib-shims.0.3.0] found in cache
[stringext.1.6.0] found in cache
[topkg.1.1.1] found in cache
[uri.3.1.0] found in cache
[uri-sexp.3.1.0] found in cache

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed logs.0.10.0
-> installed dune.3.20.2
-> installed ppx_derivers.1.2.1
-> installed base64.3.5.2
-> installed csexp.1.5.2
-> installed domain-name.0.5.0
-> installed http.6.2.0
-> installed macaddr.5.6.1
-> installed ocaml-compiler-libs.v0.12.4
-> installed re.1.14.0
-> installed sexplib0.v0.14.0
-> installed stdlib-shims.0.3.0
-> installed stringext.1.6.0
-> installed ipaddr.5.6.1
-> installed uri.3.1.0
-> installed dune-configurator.3.20.2
-> installed base.v0.14.3
-> installed ppxlib.0.25.1
-> installed ppx_sexp_conv.v0.14.3
-> installed uri-sexp.3.1.0
-> installed cohttp.6.2.0
-> installed cohttp-top.6.2.0
Done.
# Run eval $(opam env) to update the current shell environment
2025-12-06 22:42.52 ---> saved as "4ff4650d4aaac2d39b8654a142579ddbc56ec23cda1c7ef3242d945eec140200"
Job succeeded
2025-12-06 22:43.01: Job succeeded