(for PR #29921)

2026-05-22 14:38.26: New job: build awso-sync.0.9.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29921/head (26b581962da4b56e20652e11f59c3ecd2f3e2823)
                              on ubuntu-25.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/29921/head" && git reset --hard 26b58196
git fetch origin master
git merge --no-edit 3e30e43808721339489775ee25d69c4c9c441697
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-25.10-ocaml-4.14@sha256:4b8a8389e00ed6255a6d5579bb2f37e5c6e27a27276cbfbf09bedcb83a31f121
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-sync.0.9.0 0.9.0
RUN opam reinstall awso-sync.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-25.10\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'awso-sync.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-25.10-ocaml-4.14@sha256:4b8a8389e00ed6255a6d5579bb2f37e5c6e27a27276cbfbf09bedcb83a31f121-awso-sync.0.9.0-26b581962da4b56e20652e11f59c3ecd2f3e2823"
2026-05-22 14:38.26: Using OBuilder spec:
((from ocaml/opam:ubuntu-25.10-ocaml-4.14@sha256:4b8a8389e00ed6255a6d5579bb2f37e5c6e27a27276cbfbf09bedcb83a31f121)
 (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-sync.0.9.0 0.9.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall awso-sync.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-25.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\" != 'awso-sync.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:43.49: Waiting for worker…
2026-05-22 14:59.31: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
HEAD is now at 0875f02e09 Merge commit '1a971af2d3172ba4057c7206622d2f5a01d463bd'
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-25.10-ocaml-4.14@sha256:4b8a8389e00ed6255a6d5579bb2f37e5c6e27a27276cbfbf09bedcb83a31f121)
2026-05-22 15:01.20 ---> using "7d42f7b527b21a50e9c485d51cd4562c3b21cb305a289008a67ad4a1619765d8" from cache

/: (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:01.35 ---> saved as "66e269269fc04e360f44757317087996d95a70738a4e87899f92486c0181a42a"

/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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ocaml-patches-overlay] no changes from git+https://github.com/ocurrent/opam-repository#patches
[default] no changes from git+file:///home/opam/opam-repository
2026-05-22 15:02.00 ---> saved as "a443fd58d77ff0ed64a335cf4e7817096dda541bf2a9247400cadbd6aac44908"

/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=25.10
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 71
# repositories         2 (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:02.20 ---> saved as "31d00ecd04fe6af944ea53b9a41509b33406b913a5475ed7fabcabe2102a2fe1"

/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:02.47 ---> saved as "bc7ddaeb70fde709cc55cc88ac819ed10edb11fb8aad4c3f282eb1002cc196d7"

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

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

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu questing InRelease
- Get:2 http://security.ubuntu.com/ubuntu questing-security InRelease [136 kB]
- Get:3 http://archive.ubuntu.com/ubuntu questing-updates InRelease [136 kB]
- Get:4 http://archive.ubuntu.com/ubuntu questing-backports InRelease [133 kB]
- Get:5 http://security.ubuntu.com/ubuntu questing-security/universe amd64 Packages [318 kB]
- Get:6 http://archive.ubuntu.com/ubuntu questing-updates/restricted amd64 Packages [323 kB]
- Get:7 http://security.ubuntu.com/ubuntu questing-security/main amd64 Packages [397 kB]
- Get:8 http://archive.ubuntu.com/ubuntu questing-updates/universe amd64 Packages [401 kB]
- Get:9 http://security.ubuntu.com/ubuntu questing-security/restricted amd64 Packages [287 kB]
- Get:10 http://archive.ubuntu.com/ubuntu questing-updates/main amd64 Packages [542 kB]
- Get:11 http://security.ubuntu.com/ubuntu questing-security/multiverse amd64 Packages [19.3 kB]
- Get:12 http://archive.ubuntu.com/ubuntu questing-updates/multiverse amd64 Packages [22.9 kB]
- Fetched 2714 kB in 9s (305 kB/s)
- Reading package lists...
- 
2026-05-22 15:06.13 ---> saved as "7b944b50de25716883714ca19e2c151e661f7230dced15bfc506e8de1dd45c70"

/home/opam: (run (shell "opam pin add -k version -yn awso-sync.0.9.0 0.9.0"))
awso-sync is now pinned to version 0.9.0
2026-05-22 15:06.28 ---> saved as "9fa996432f15205ab570c2f830b71d775570d8e47afa1f95aa2285a1ab7f290b"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall awso-sync.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-25.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\" != 'awso-sync.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-sync.0.9.0 is not installed. Install it? [Y/n] y
  * Incompatible packages:
    - (invariant) -> ocaml-base-compiler = 4.14.3
    - awso-sync -> ocaml >= 5.3.0 -> ocaml-variants < 5.6.1~
    You can temporarily relax the switch invariant with `--update-invariant'
  * Missing dependency:
    - awso-sync -> ocaml >= 5.3.0 -> ocaml-variants < 5.3.1~ -> base-implicits
    unknown package
  * Missing dependency:
    - awso-sync -> ocaml >= 5.3.0 -> ocaml-variants < 5.3.1~ -> ocaml-beta
    unmet availability conditions: 'enable-ocaml-beta-repository'
  * Missing dependency:
    - awso-sync -> ocaml >= 5.3.0 -> ocaml-variants < 5.3.1~ -> ocaml (= 4.02.4 | = 4.03.1 | = 4.04.3 | = 4.05.1 | = 4.06.2 | = 4.07.2 | = 4.08.2)
    no matching version
  * Missing dependency:
    - awso-sync -> ocaml >= 5.3.0 -> ocaml-variants < 5.3.1~ -> system-msvc
    unmet availability conditions: 'os = "win32"'

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