Build:
  1. 0
2025-05-31 21:29.18: New job: build cohttp-connpool-eio.0.1, using opam 2.3
                              from https://github.com/ocaml/opam-repository.git#refs/pull/27972/head (b74273c0b30fbcaea6b94f2c6c614a9d70bc4cf0)
                              on ubuntu-24.10-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/27972/head" && git reset --hard b74273c0
git fetch origin master
git merge --no-edit f96c4f16cc7eb44c5c16b7fcaf148546c8a18eba
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.10-ocaml-4.14@sha256:0d37f23f21e997ade41697d2f8e87dd6a4323119c485fae17003859203a48dea
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.3 /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-connpool-eio.0.1 0.1
RUN opam reinstall cohttp-connpool-eio.0.1; \
    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 "\"ubuntu-24.10\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'cohttp-connpool-eio.0.1' && 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-05-31 21:29.18: Using cache hint "ocaml/opam:ubuntu-24.10-ocaml-4.14@sha256:0d37f23f21e997ade41697d2f8e87dd6a4323119c485fae17003859203a48dea-cohttp-connpool-eio.0.1-b74273c0b30fbcaea6b94f2c6c614a9d70bc4cf0"
2025-05-31 21:29.18: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.10-ocaml-4.14@sha256:0d37f23f21e997ade41697d2f8e87dd6a4323119c485fae17003859203a48dea)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-2.3 /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-connpool-eio.0.1 0.1"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall cohttp-connpool-eio.0.1;\
             \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 \"\\\"ubuntu-24.10\\\"\"; 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-connpool-eio.0.1' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2025-05-31 21:29.18: Waiting for resource in pool OCluster
2025-05-31 21:29.18: Waiting for worker…
2025-05-31 21:29.18: Got resource from pool OCluster
Building on x86-bm-c8.sw.ocaml.org
All commits already cached
HEAD is now at f96c4f16cc Merge pull request #27909 from let-def/release-lwd-v0.4
Updating f96c4f16cc..b74273c0b3
Fast-forward
 .../cohttp-connpool-eio.0.1/opam                   | 44 ++++++++++++++++++++++
 1 file changed, 44 insertions(+)
 create mode 100644 packages/cohttp-connpool-eio/cohttp-connpool-eio.0.1/opam

(from ocaml/opam:ubuntu-24.10-ocaml-4.14@sha256:0d37f23f21e997ade41697d2f8e87dd6a4323119c485fae17003859203a48dea)
2025-05-31 21:29.55 ---> saved as "220d2665685673506c75576dd53d8032a529b3ec1597ac839d2a9d57269684a8"

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-05-31 21:29.55 ---> saved as "b4e7ca46eddde6666a395a2caa943f15fe9bf3d71b5e03b0a912ae0f91cd0077"

/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-05-31 21:30.30 ---> saved as "87a398a52b6b3fa95e1677d080785b7a98d87b0de2cec0812cec9cdf1acb2087"

/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.3.0 (35acd0c5abc5e66cdbd5be16ba77aa6c33a4c724)
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=ubuntu os-version=24.10
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 31
# 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-05-31 21:30.31 ---> saved as "673b3268387087b963422748b9a18050d6f14b4a27d3afc11b3c205e8aa0f0de"

/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-05-31 21:30.39 ---> saved as "27dc4f647c0c90475011b9561d38d04d29ec8335c4da7b89540278c176555783"

/home/opam: (copy (src .) (dst opam-repository/))
2025-05-31 21:30.49 ---> saved as "3ac6c6b71c21386e2ca48a4a5ca0644cd2fdbbd32afd6740c95f7565adad5103"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-05-31 21:31.22 ---> saved as "057e82e0cc96bc425cb46fa707aeda8ee26cf059b11d6024777c7b235a2c5538"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://security.ubuntu.com/ubuntu oracular-security InRelease [126 kB]
- Hit:2 http://archive.ubuntu.com/ubuntu oracular InRelease
- Get:3 http://archive.ubuntu.com/ubuntu oracular-updates InRelease [126 kB]
- Get:4 http://security.ubuntu.com/ubuntu oracular-security/main amd64 Packages [409 kB]
- Get:5 http://archive.ubuntu.com/ubuntu oracular-backports InRelease [126 kB]
- Get:6 http://archive.ubuntu.com/ubuntu oracular-updates/main amd64 Packages [548 kB]
- Get:7 http://security.ubuntu.com/ubuntu oracular-security/restricted amd64 Packages [315 kB]
- Get:8 http://security.ubuntu.com/ubuntu oracular-security/universe amd64 Packages [258 kB]
- Get:9 http://archive.ubuntu.com/ubuntu oracular-updates/restricted amd64 Packages [321 kB]
- Get:10 http://archive.ubuntu.com/ubuntu oracular-updates/universe amd64 Packages [337 kB]
- Fetched 2567 kB in 1s (2526 kB/s)
- Reading package lists...
2025-05-31 21:31.24 ---> saved as "49f47f46a89f095a43c4f354d658306a400059d552a5aef5a6b07532c9c9b27f"

/home/opam: (run (shell "opam pin add -k version -yn cohttp-connpool-eio.0.1 0.1"))
cohttp-connpool-eio is now pinned to version 0.1
2025-05-31 21:31.24 ---> saved as "aac0cdffe49a2e76fdd9324f9fe63198d1b5c28cda71006b09fd36e9fd062ae5"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall cohttp-connpool-eio.0.1;\
                        \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 \"\\\"ubuntu-24.10\\\"\"; 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-connpool-eio.0.1' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
cohttp-connpool-eio.0.1 is not installed. Install it? [y/n] y
  * Incompatible packages:
    - (invariant) -> ocaml-base-compiler = 4.14.2
    - cohttp-connpool-eio -> cohttp-eio -> eio >= 0.6
    You can temporarily relax the switch invariant with `--update-invariant'
  * Incompatible packages:
    - (invariant) -> ocaml-base-compiler = 4.14.2
    - cohttp-connpool-eio -> cohttp-eio -> eio >= 0.6 -> ocaml >= 5.1.0 -> ocaml-variants (< 5.4.1~ | >= 5.5.0~)
  * Missing dependency:
    - cohttp-connpool-eio -> cohttp-eio -> eio >= 0.6 -> ocaml >= 5.1.0 -> ocaml-variants < 5.1.1~ -> xenbigarray
    unknown package
  * Missing dependency:
    - cohttp-connpool-eio -> cohttp-eio -> eio >= 0.6 -> ocaml >= 5.1.0 -> ocaml-variants < 5.1.1~ -> ocaml-beta
    unmet availability conditions: 'enable-ocaml-beta-repository'
  * Missing dependency:
    - cohttp-connpool-eio -> cohttp-eio -> eio >= 0.6 -> 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-connpool-eio.0.1;
        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 "\"ubuntu-24.10\""; then
            echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
          fi;
          test "$pkg" != 'cohttp-connpool-eio.0.1' && 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-05-31 21:31.47: Job failed: Failed: Build failed
2025-05-31 21:31.47: Log analysis:
2025-05-31 21:31.47: >>> 
No solution found, exiting
 (score = 100)
2025-05-31 21:31.47: [SKIP] Package not available