(for PR #29027)

2025-12-06 22:13.28: New job: build cohttp-eio.6.2.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29027/head (1943a08a49bd8ad146df90b1b6fce4343775819f)
                              on archlinux-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:archlinux-ocaml-4.14@sha256:64173e9c4534bfe258fba6d5b5004dfd5bf1f07dae0f24642cd08154f1c779be
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-eio.6.2.0 6.2.0
RUN opam reinstall cohttp-eio.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 "\"archlinux\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'cohttp-eio.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.28: Using cache hint "ocaml/opam:archlinux-ocaml-4.14@sha256:64173e9c4534bfe258fba6d5b5004dfd5bf1f07dae0f24642cd08154f1c779be-cohttp-eio.6.2.0-1943a08a49bd8ad146df90b1b6fce4343775819f"
2025-12-06 22:13.28: Using OBuilder spec:
((from ocaml/opam:archlinux-ocaml-4.14@sha256:64173e9c4534bfe258fba6d5b5004dfd5bf1f07dae0f24642cd08154f1c779be)
 (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-eio.6.2.0 6.2.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall cohttp-eio.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 \"\\\"archlinux\\\"\"; 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-eio.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.28: Waiting for resource in pool OCluster
2025-12-06 22:30.38: Waiting for worker…
2025-12-06 22:33.52: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
Updating files:  99% (18857/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:archlinux-ocaml-4.14@sha256:64173e9c4534bfe258fba6d5b5004dfd5bf1f07dae0f24642cd08154f1c779be)
Unable to find image 'ocaml/opam:archlinux-ocaml-4.14@sha256:64173e9c4534bfe258fba6d5b5004dfd5bf1f07dae0f24642cd08154f1c779be' locally
docker.io/ocaml/opam@sha256:64173e9c4534bfe258fba6d5b5004dfd5bf1f07dae0f24642cd08154f1c779be: Pulling from ocaml/opam
a59b1e251b85: Pulling fs layer
849b0775ea0f: Pulling fs layer
3e52a961755f: Pulling fs layer
224a02071566: Pulling fs layer
c57b92cf1806: Pulling fs layer
bb83e57897c7: Pulling fs layer
2d8fa5e5e0f8: Pulling fs layer
2572018af50c: Pulling fs layer
0aa467b21dbb: Pulling fs layer
d35ebb7d036c: Pulling fs layer
514460bb466b: Pulling fs layer
1c115408c37c: Pulling fs layer
808235e5bcba: Pulling fs layer
26e0f43d744c: Pulling fs layer
4f4fb700ef54: Pulling fs layer
927931d27cda: Pulling fs layer
110573e06f41: Pulling fs layer
53e3cb07b3db: Pulling fs layer
1ae0a0342e13: Pulling fs layer
c5024aafe9d2: Pulling fs layer
b67f5a660940: Pulling fs layer
c0b45f29b5f3: Pulling fs layer
ebf53e39f210: Pulling fs layer
a4bbb3a8a321: Pulling fs layer
023d9d0fb6c4: Pulling fs layer
3b57713b3cd4: Pulling fs layer
035bb7f6e809: Pulling fs layer
e97d723b1377: Pulling fs layer
c2e0e9ad5736: Pulling fs layer
243a7a01874a: Pulling fs layer
f05c6eaf40ff: Pulling fs layer
ea82ac1fac6b: Pulling fs layer
eab700195634: Pulling fs layer
aade01efa255: Pulling fs layer
85e7e9cab15a: Pulling fs layer
be5fc829e691: Pulling fs layer
dca3adcefd26: Pulling fs layer
a59b1e251b85: Waiting
849b0775ea0f: Waiting
3e52a961755f: Waiting
224a02071566: Waiting
c57b92cf1806: Waiting
bb83e57897c7: Waiting
2d8fa5e5e0f8: Waiting
2572018af50c: Waiting
0aa467b21dbb: Waiting
023d9d0fb6c4: Waiting
3b57713b3cd4: Waiting
035bb7f6e809: Waiting
e97d723b1377: Waiting
110573e06f41: Waiting
d35ebb7d036c: Waiting
c2e0e9ad5736: Waiting
514460bb466b: Waiting
243a7a01874a: Waiting
53e3cb07b3db: Waiting
c0b45f29b5f3: Waiting
1ae0a0342e13: Waiting
ebf53e39f210: Waiting
f05c6eaf40ff: Waiting
c5024aafe9d2: Waiting
a4bbb3a8a321: Waiting
b67f5a660940: Waiting
ea82ac1fac6b: Waiting
eab700195634: Waiting
1c115408c37c: Waiting
aade01efa255: Waiting
808235e5bcba: Waiting
85e7e9cab15a: Waiting
26e0f43d744c: Waiting
dca3adcefd26: Waiting
be5fc829e691: Waiting
4f4fb700ef54: Waiting
849b0775ea0f: Download complete
224a02071566: Verifying Checksum
224a02071566: Download complete
c57b92cf1806: Verifying Checksum
c57b92cf1806: Download complete
bb83e57897c7: Download complete
a59b1e251b85: Verifying Checksum
a59b1e251b85: Download complete
2d8fa5e5e0f8: Verifying Checksum
2d8fa5e5e0f8: Download complete
2572018af50c: Verifying Checksum
2572018af50c: Download complete
0aa467b21dbb: Verifying Checksum
0aa467b21dbb: Download complete
514460bb466b: Download complete
1c115408c37c: Download complete
d35ebb7d036c: Verifying Checksum
d35ebb7d036c: Download complete
808235e5bcba: Download complete
26e0f43d744c: Download complete
4f4fb700ef54: Verifying Checksum
4f4fb700ef54: Download complete
927931d27cda: Download complete
110573e06f41: Verifying Checksum
110573e06f41: Download complete
53e3cb07b3db: Download complete
1ae0a0342e13: Verifying Checksum
1ae0a0342e13: Download complete
c5024aafe9d2: Verifying Checksum
c5024aafe9d2: Download complete
b67f5a660940: Verifying Checksum
b67f5a660940: Download complete
ebf53e39f210: Download complete
023d9d0fb6c4: Verifying Checksum
023d9d0fb6c4: Download complete
3b57713b3cd4: Download complete
a4bbb3a8a321: Verifying Checksum
a4bbb3a8a321: Download complete
035bb7f6e809: Verifying Checksum
c2e0e9ad5736: Download complete
a59b1e251b85: Pull complete
849b0775ea0f: Pull complete
e97d723b1377: Verifying Checksum
e97d723b1377: Download complete
f05c6eaf40ff: Download complete
243a7a01874a: Verifying Checksum
243a7a01874a: Download complete
ea82ac1fac6b: Download complete
eab700195634: Verifying Checksum
eab700195634: Download complete
85e7e9cab15a: Download complete
be5fc829e691: Verifying Checksum
be5fc829e691: Download complete
dca3adcefd26: Verifying Checksum
dca3adcefd26: Download complete
3e52a961755f: Download complete
aade01efa255: Verifying Checksum
aade01efa255: Download complete
3e52a961755f: Pull complete
224a02071566: Pull complete
c57b92cf1806: Pull complete
bb83e57897c7: Pull complete
2d8fa5e5e0f8: Pull complete
2572018af50c: Pull complete
0aa467b21dbb: Pull complete
d35ebb7d036c: Pull complete
514460bb466b: Pull complete
1c115408c37c: Pull complete
808235e5bcba: Pull complete
26e0f43d744c: Pull complete
4f4fb700ef54: Pull complete
927931d27cda: Pull complete
110573e06f41: Pull complete
53e3cb07b3db: Pull complete
1ae0a0342e13: Pull complete
c5024aafe9d2: Pull complete
b67f5a660940: Pull complete
c0b45f29b5f3: Pull complete
ebf53e39f210: Pull complete
a4bbb3a8a321: Pull complete
023d9d0fb6c4: Pull complete
3b57713b3cd4: Pull complete
035bb7f6e809: Pull complete
e97d723b1377: Pull complete
c2e0e9ad5736: Pull complete
243a7a01874a: Pull complete
f05c6eaf40ff: Pull complete
ea82ac1fac6b: Pull complete
eab700195634: Pull complete
aade01efa255: Pull complete
85e7e9cab15a: Pull complete
be5fc829e691: Pull complete
dca3adcefd26: Pull complete
Digest: sha256:64173e9c4534bfe258fba6d5b5004dfd5bf1f07dae0f24642cd08154f1c779be
Status: Downloaded newer image for ocaml/opam@sha256:64173e9c4534bfe258fba6d5b5004dfd5bf1f07dae0f24642cd08154f1c779be
2025-12-06 22:36.33 ---> saved as "459e930c6c08a9a41c4085457dab91a1e415127494c525e2a88d918186f812c9"

/: (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:36.38 ---> saved as "1b6f3febfb8696ec6a718c71bf07ce9c04f1cf534d9766b0855bab317d80ed72"

/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:37.06 ---> saved as "3b85de3e2f6c8deda472a85bbc13ed37c6707f99df9ae3105a73192d6b7a324b"

/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=arch os-version=20251019.0.436919
# 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:37.07 ---> saved as "6caa52ff8c0dc66bbd43458e8814f48aefb4ec3f246840c872e004fc7bb34810"

/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:37.16 ---> saved as "24575e4e4d266d5938d41fd456a2c8097dc65f011488fc437b194d7fd77efd09"

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

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

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/sbin/sudo "pacman" "-Sy"
- :: Synchronizing package databases...
-  core downloading...
-  extra downloading...
2025-12-06 22:37.48 ---> saved as "ef1e8b5968160fcb60fd5ba3916af60a68b903a93fbe865cfd822e39afddf333"

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

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall cohttp-eio.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 \"\\\"archlinux\\\"\"; 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-eio.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-eio.6.2.0 is not installed. Install it? [Y/n] y
  * Incompatible packages:
    - (invariant) → ocaml-base-compiler = 4.14.2
    - cohttp-eio >= 6.2.0 → eio >= 0.12
    You can temporarily relax the switch invariant with `--update-invariant'
  * Incompatible packages:
    - (invariant) → ocaml-base-compiler = 4.14.2
    - cohttp-eio >= 6.2.0 → eio >= 0.12 → ocaml >= 5.1.0 → ocaml-variants < 5.5.1~
  * Missing dependency:
    - cohttp-eio >= 6.2.0 → eio >= 0.12 → ocaml >= 5.1.0 → ocaml-variants < 5.1.1~ → ocaml-beta
    unmet availability conditions: 'enable-ocaml-beta-repository'
  * Missing dependency:
    - cohttp-eio >= 6.2.0 → eio >= 0.12 → ocaml >= 5.1.0 → ocaml-variants < 5.2.1~ → system-msvc
    unmet availability conditions: 'os = "win32"'

No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall cohttp-eio.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 "\"archlinux\""; then
            echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
          fi;
          test "$pkg" != 'cohttp-eio.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:38.09: Job failed: Failed: Build failed
2025-12-06 22:38.09: Log analysis:
2025-12-06 22:38.09: >>> 
No solution found, exiting
 (score = 100)
2025-12-06 22:38.09: [SKIP] Package not available