(for PR #29921)

2026-05-22 14:38.26: New job: build awso-async.0.9.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29921/head (26b581962da4b56e20652e11f59c3ecd2f3e2823)
                              on ubuntu-22.04-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/29921/head" && git reset --hard 26b58196
git fetch origin master
git merge --no-edit 3e30e43808721339489775ee25d69c4c9c441697
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:6b9867f2f28aa69a5f0711bf45e438b8528f41220bf2e98dbb41d7dcadd10102
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 awso-async.0.9.0 0.9.0
RUN opam reinstall awso-async.0.9.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 "\"ubuntu-22.04\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'awso-async.0.9.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 .

2026-05-22 14:38.26: Using cache hint "ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:6b9867f2f28aa69a5f0711bf45e438b8528f41220bf2e98dbb41d7dcadd10102-awso-async.0.9.0-26b581962da4b56e20652e11f59c3ecd2f3e2823"
2026-05-22 14:38.26: Using OBuilder spec:
((from ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:6b9867f2f28aa69a5f0711bf45e438b8528f41220bf2e98dbb41d7dcadd10102)
 (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 awso-async.0.9.0 0.9.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall awso-async.0.9.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 \"\\\"ubuntu-22.04\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'awso-async.0.9.0' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2026-05-22 14:38.26: Waiting for resource in pool OCluster
2026-05-22 14:45.27: Waiting for worker…
2026-05-22 15:02.23: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
All commits already cached
Updating files:  74% (13426/17943)
Updating files:  75% (13458/17943)
Updating files:  76% (13637/17943)
Updating files:  77% (13817/17943)
Updating files:  78% (13996/17943)
Updating files:  79% (14175/17943)
Updating files:  80% (14355/17943)
Updating files:  81% (14534/17943)
Updating files:  82% (14714/17943)
Updating files:  83% (14893/17943)
Updating files:  84% (15073/17943)
Updating files:  85% (15252/17943)
Updating files:  86% (15431/17943)
Updating files:  87% (15611/17943)
Updating files:  88% (15790/17943)
Updating files:  89% (15970/17943)
Updating files:  90% (16149/17943)
Updating files:  91% (16329/17943)
Updating files:  92% (16508/17943)
Updating files:  93% (16687/17943)
Updating files:  94% (16867/17943)
Updating files:  95% (17046/17943)
Updating files:  96% (17226/17943)
Updating files:  97% (17405/17943)
Updating files:  98% (17585/17943)
Updating files:  99% (17764/17943)
Updating files: 100% (17943/17943)
Updating files: 100% (17943/17943), done.
HEAD is now at 3e30e43808 Merge pull request #29935 from sim642/release-odep-0.2.2
Updating 3e30e43808..26b581962d
Fast-forward
 packages/awso-async/awso-async.0.9.0/opam   | 52 ++++++++++++++++++++++++++++
 packages/awso-cli/awso-cli.0.9.0/opam       | 47 +++++++++++++++++++++++++
 packages/awso-common/awso-common.0.9.0/opam | 45 ++++++++++++++++++++++++
 packages/awso-lwt/awso-lwt.0.9.0/opam       | 47 +++++++++++++++++++++++++
 packages/awso-sync/awso-sync.0.9.0/opam     | 47 +++++++++++++++++++++++++
 packages/awso/awso.0.9.0/opam               | 53 +++++++++++++++++++++++++++++
 6 files changed, 291 insertions(+)
 create mode 100644 packages/awso-async/awso-async.0.9.0/opam
 create mode 100644 packages/awso-cli/awso-cli.0.9.0/opam
 create mode 100644 packages/awso-common/awso-common.0.9.0/opam
 create mode 100644 packages/awso-lwt/awso-lwt.0.9.0/opam
 create mode 100644 packages/awso-sync/awso-sync.0.9.0/opam
 create mode 100644 packages/awso/awso.0.9.0/opam

(from ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:6b9867f2f28aa69a5f0711bf45e438b8528f41220bf2e98dbb41d7dcadd10102)
2026-05-22 15:09.16 ---> saved as "ef9578528c7785e5fae5760a378d1176463ee032002ca807828c606583876134"

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-05-22 15:09.17 ---> saved as "03f55ca9b61509c2f5cb7cfa75bb1c5b3bd46d37a83afdb2781cb47ac99971dd"

/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.1 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 1 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=1 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///home/opam/opam-repository
2026-05-22 15:09.28 ---> saved as "e89c263e6924f84f6a6014a2d1d1e491378ce32e18c34e7e7e767310f29106e5"

/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.1
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=ubuntu os-version=22.04
# 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.3"}]
# compiler-packages    ocaml-base-compiler.4.14.3, 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.3
2026-05-22 15:09.29 ---> saved as "3364cdba016e424601821b6a6c65a61dddf8e8790c09d83ace5c47b7333b6080"

/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/"))
2026-05-22 15:09.42 ---> saved as "5b8b7181dfa4f9ab73ebec35da706a9372e0a1c48ec4c1d0442fc9b6c5f8d710"

/home/opam: (copy (src .) (dst opam-repository/))
2026-05-22 15:09.51 ---> saved as "f92d6da62c22fe95d67fc2357282b024f1a882f0355ccf10b8213233bf1f1799"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-05-22 15:10.06 ---> saved as "23d2e02bd70b02a7491a8d10cbb5f92b0b240f58155348e4556e22b9674f1419"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
- Get:2 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
- Get:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
- Get:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
- Get:5 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 Packages [77.8 kB]
- Get:6 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [7070 kB]
- Get:7 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1295 kB]
- Get:8 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1603 kB]
- Get:9 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [3947 kB]
- Get:10 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [7355 kB]
- Get:11 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [4294 kB]
- Get:12 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages [86.4 kB]
- Fetched 26.1 MB in 3s (8566 kB/s)
- Reading package lists...
- 
2026-05-22 15:10.12 ---> saved as "458d89fa81c7e9a9413cd823de730adeb01a76a9ffa30961d2f7a98e637e059d"

/home/opam: (run (shell "opam pin add -k version -yn awso-async.0.9.0 0.9.0"))
awso-async is now pinned to version 0.9.0
2026-05-22 15:10.13 ---> saved as "6989c824c75abf755c56cb5136a89d270ab147c68732eb5b20c83f2297ce822e"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall awso-async.0.9.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 \"\\\"ubuntu-22.04\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'awso-async.0.9.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
awso-async.0.9.0 is not installed. Install it? [Y/n] y
  * No agreement on the version of ocaml:
    - (invariant) -> ocaml-base-compiler = 4.14.3 -> ocaml = 4.14.3
    - awso-async -> ocaml >= 5.3.0
    You can temporarily relax the switch invariant with `--update-invariant'

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