(for PR #28222)

2025-07-22 12:16.01: New job: build lwt_direct.6.0.0~alpha01, using opam 2.3
                              from https://github.com/ocaml/opam-repository.git#refs/pull/28222/head (381d421c95f23c7e41d7bd80fe4ee0fa7b4fca2f)
                              on alpine-3.21-ocaml-5.3/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/28222/head" && git reset --hard 381d421c
git fetch origin master
git merge --no-edit 14fd69dba01fe02a6cbf63a81a67897e0f52cbfc
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.21-ocaml-5.3@sha256:e95ffa94012a177daba9f6359136a989fe5805545bc2bf1e8253deaf2af6404d
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 lwt_direct.6.0.0~alpha01 6.0.0~alpha01
RUN opam reinstall lwt_direct.6.0.0~alpha01; \
    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 "\"alpine-3.21\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'lwt_direct.6.0.0~alpha01' && 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-07-22 12:16.01: Using cache hint "ocaml/opam:alpine-3.21-ocaml-5.3@sha256:e95ffa94012a177daba9f6359136a989fe5805545bc2bf1e8253deaf2af6404d-lwt_direct.6.0.0~alpha01-381d421c95f23c7e41d7bd80fe4ee0fa7b4fca2f"
2025-07-22 12:16.01: Using OBuilder spec:
((from ocaml/opam:alpine-3.21-ocaml-5.3@sha256:e95ffa94012a177daba9f6359136a989fe5805545bc2bf1e8253deaf2af6404d)
 (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 lwt_direct.6.0.0~alpha01 6.0.0~alpha01"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall lwt_direct.6.0.0~alpha01;\
             \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 \"\\\"alpine-3.21\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'lwt_direct.6.0.0~alpha01' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2025-07-22 12:16.01: Waiting for resource in pool OCluster
2025-07-22 12:19.18: Waiting for worker…
2025-07-22 12:20.54: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at 14fd69dba0 Merge pull request #28217 from sim642/opam-state-2.4-upper-bounds
Updating 14fd69dba0..381d421c95
Fast-forward
 packages/lwt/lwt.6.0.0~alpha01/opam               | 69 +++++++++++++++++++++++
 packages/lwt_direct/lwt_direct.6.0.0~alpha01/opam | 44 +++++++++++++++
 packages/lwt_log/lwt_log.1.1.0/opam               |  2 +-
 packages/lwt_log/lwt_log.1.1.1/opam               |  2 +-
 packages/lwt_log/lwt_log.1.1.2/opam               |  2 +-
 5 files changed, 116 insertions(+), 3 deletions(-)
 create mode 100644 packages/lwt/lwt.6.0.0~alpha01/opam
 create mode 100644 packages/lwt_direct/lwt_direct.6.0.0~alpha01/opam

(from ocaml/opam:alpine-3.21-ocaml-5.3@sha256:e95ffa94012a177daba9f6359136a989fe5805545bc2bf1e8253deaf2af6404d)
Unable to find image 'ocaml/opam:alpine-3.21-ocaml-5.3@sha256:e95ffa94012a177daba9f6359136a989fe5805545bc2bf1e8253deaf2af6404d' locally
docker.io/ocaml/opam@sha256:e95ffa94012a177daba9f6359136a989fe5805545bc2bf1e8253deaf2af6404d: Pulling from ocaml/opam
0368fd46e3c6: Pulling fs layer
c7b36a554832: Pulling fs layer
0368fd46e3c6: Waiting
8b515f33dcd4: Pulling fs layer
96c3055c6ebe: Pulling fs layer
c7b36a554832: Waiting
7dd098daa08c: Pulling fs layer
8b515f33dcd4: Waiting
9549cbbcd8f8: Pulling fs layer
96c3055c6ebe: Waiting
abc495215edd: Pulling fs layer
5c6ab7e700e2: Pulling fs layer
9549cbbcd8f8: Waiting
c1eb31dc8654: Pulling fs layer
6de6f82d5723: Pulling fs layer
abc495215edd: Waiting
5c6ab7e700e2: Waiting
649a3ee3268e: Pulling fs layer
6351b8049845: Pulling fs layer
649a3ee3268e: Waiting
6de6f82d5723: Waiting
085048897b7c: Pulling fs layer
f59e35c8f2ca: Pulling fs layer
085048897b7c: Waiting
f59e35c8f2ca: Waiting
12f0bd7025b6: Pulling fs layer
4f4fb700ef54: Pulling fs layer
cd666b5f3762: Pulling fs layer
12f0bd7025b6: Waiting
4f4fb700ef54: Waiting
a5c8b3010f9c: Pulling fs layer
cd666b5f3762: Waiting
0320b3d0f83b: Pulling fs layer
a5c8b3010f9c: Waiting
64bace048daf: Pulling fs layer
4165af608116: Pulling fs layer
0320b3d0f83b: Waiting
8d29063d1d8b: Pulling fs layer
64bace048daf: Waiting
4165af608116: Waiting
5b3040eda160: Pulling fs layer
8d29063d1d8b: Waiting
276b0db3848f: Pulling fs layer
3db80319ea12: Pulling fs layer
d096d34edb07: Pulling fs layer
276b0db3848f: Waiting
4a77113e4e73: Pulling fs layer
3db80319ea12: Waiting
d096d34edb07: Waiting
db659dbfa18c: Pulling fs layer
c165a08fca56: Pulling fs layer
4a77113e4e73: Waiting
db659dbfa18c: Waiting
c59e841dd7cb: Pulling fs layer
c165a08fca56: Waiting
3420617a8fcd: Pulling fs layer
73aeea81e54e: Pulling fs layer
f470e37deb22: Pulling fs layer
c59e841dd7cb: Waiting
3420617a8fcd: Waiting
e323483694f7: Pulling fs layer
c50436b2cfc1: Pulling fs layer
e323483694f7: Waiting
7d608d9ce537: Pulling fs layer
d99facee91d9: Pulling fs layer
58711e13cd56: Pulling fs layer
e32556e7d62c: Pulling fs layer
2cdb5805bb82: Pulling fs layer
7d608d9ce537: Waiting
c50436b2cfc1: Waiting
58711e13cd56: Waiting
d99facee91d9: Waiting
2cdb5805bb82: Waiting
0368fd46e3c6: Verifying Checksum
0368fd46e3c6: Download complete
0368fd46e3c6: Pull complete
c7b36a554832: Verifying Checksum
c7b36a554832: Download complete
c7b36a554832: Pull complete
8b515f33dcd4: Verifying Checksum
8b515f33dcd4: Download complete
8b515f33dcd4: Pull complete
7dd098daa08c: Verifying Checksum
7dd098daa08c: Download complete
9549cbbcd8f8: Verifying Checksum
9549cbbcd8f8: Download complete
96c3055c6ebe: Verifying Checksum
96c3055c6ebe: Download complete
abc495215edd: Verifying Checksum
abc495215edd: Download complete
c1eb31dc8654: Verifying Checksum
c1eb31dc8654: Download complete
5c6ab7e700e2: Verifying Checksum
5c6ab7e700e2: Download complete
649a3ee3268e: Download complete
6de6f82d5723: Verifying Checksum
6de6f82d5723: Download complete
6351b8049845: Verifying Checksum
6351b8049845: Download complete
085048897b7c: Download complete
f59e35c8f2ca: Download complete
96c3055c6ebe: Pull complete
4f4fb700ef54: Verifying Checksum
4f4fb700ef54: Download complete
7dd098daa08c: Pull complete
12f0bd7025b6: Verifying Checksum
12f0bd7025b6: Download complete
9549cbbcd8f8: Pull complete
abc495215edd: Pull complete
cd666b5f3762: Download complete
a5c8b3010f9c: Verifying Checksum
a5c8b3010f9c: Download complete
5c6ab7e700e2: Pull complete
c1eb31dc8654: Pull complete
6de6f82d5723: Pull complete
0320b3d0f83b: Verifying Checksum
0320b3d0f83b: Download complete
649a3ee3268e: Pull complete
6351b8049845: Pull complete
085048897b7c: Pull complete
f59e35c8f2ca: Pull complete
4165af608116: Verifying Checksum
4165af608116: Download complete
8d29063d1d8b: Verifying Checksum
64bace048daf: Download complete
5b3040eda160: Verifying Checksum
5b3040eda160: Download complete
3db80319ea12: Verifying Checksum
3db80319ea12: Download complete
12f0bd7025b6: Pull complete
4f4fb700ef54: Pull complete
cd666b5f3762: Pull complete
a5c8b3010f9c: Pull complete
0320b3d0f83b: Pull complete
64bace048daf: Pull complete
4165af608116: Pull complete
8d29063d1d8b: Pull complete
276b0db3848f: Download complete
d096d34edb07: Verifying Checksum
d096d34edb07: Download complete
5b3040eda160: Pull complete
276b0db3848f: Pull complete
3db80319ea12: Pull complete
d096d34edb07: Pull complete
db659dbfa18c: Download complete
4a77113e4e73: Verifying Checksum
4a77113e4e73: Download complete
4a77113e4e73: Pull complete
db659dbfa18c: Pull complete
c59e841dd7cb: Download complete
3420617a8fcd: Verifying Checksum
3420617a8fcd: Download complete
73aeea81e54e: Verifying Checksum
73aeea81e54e: Download complete
f470e37deb22: Verifying Checksum
f470e37deb22: Download complete
e323483694f7: Verifying Checksum
e323483694f7: Download complete
c50436b2cfc1: Verifying Checksum
c50436b2cfc1: Download complete
7d608d9ce537: Verifying Checksum
7d608d9ce537: Download complete
c165a08fca56: Verifying Checksum
c165a08fca56: Download complete
58711e13cd56: Verifying Checksum
58711e13cd56: Download complete
e32556e7d62c: Verifying Checksum
e32556e7d62c: Download complete
2cdb5805bb82: Verifying Checksum
2cdb5805bb82: Download complete
d99facee91d9: Verifying Checksum
d99facee91d9: Download complete
c165a08fca56: Pull complete
c59e841dd7cb: Pull complete
3420617a8fcd: Pull complete
73aeea81e54e: Pull complete
f470e37deb22: Pull complete
e323483694f7: Pull complete
c50436b2cfc1: Pull complete
7d608d9ce537: Pull complete
d99facee91d9: Pull complete
58711e13cd56: Pull complete
e32556e7d62c: Pull complete
2cdb5805bb82: Pull complete
Digest: sha256:e95ffa94012a177daba9f6359136a989fe5805545bc2bf1e8253deaf2af6404d
Status: Downloaded newer image for ocaml/opam@sha256:e95ffa94012a177daba9f6359136a989fe5805545bc2bf1e8253deaf2af6404d
2025-07-22 12:21.19 ---> using "5794646ebcff7618cb90a817408352b20c62064e7172de2a7ca09894fad2fbc5" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-07-22 12:21.19 ---> using "72ffc15cb28d8e0479092ba6b9efc7279b3791d4c7209ffff99f20e3fde38dc3" from cache

/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-07-22 12:21.19 ---> using "d736bdde2000522c64bfa438dbdef052dd4de4461c1a6c08b1a8a50ffc3b3ff8" from cache

/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=alpine os-version=3.21.4
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 255
# repositories         1 (version-controlled)
# pinned               1 (version)
# current-switch       5.3
# invariant            ["ocaml-base-compiler" {= "5.3.0"}]
# compiler-packages    ocaml-base-compiler.5.3.0, ocaml-compiler.5.3.0, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/5.3/lib/ocaml/stublibs:/home/opam/.opam/5.3/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       5.3.0
2025-07-22 12:21.19 ---> using "3ddc64e8b038a2c6dfb7ccd00adedcf419ee914a144755bfe4c7b214bf0793f7" from cache

/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-07-22 12:21.19 ---> using "c1c98ea97d0208c72022838e887b6432ec6292ecac75ed6222342281f9e63110" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-07-22 12:21.31 ---> saved as "fad970812e9b845c43dca77f7e3104baf4f4c868b78929b75a3f397bc28c1368"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-07-22 12:21.50 ---> saved as "535e896043d5c210de616c2a086689981ed27d8bfff18fc8d776a5c4cffe424f"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apk" "update"
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
- v3.21.4-10-gdc5ab0099fa [https://dl-cdn.alpinelinux.org/alpine/v3.21/main]
- v3.21.4-10-gdc5ab0099fa [https://dl-cdn.alpinelinux.org/alpine/v3.21/community]
- v3.23.0_alpha20250612-2982-gc4fbceab0a6 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v3.23.0_alpha20250612-2983-g9621cd85284 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v3.23.0_alpha20250612-2984-g93bd37db08a [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 59153 distinct packages available
2025-07-22 12:22.02 ---> saved as "8ef998f034968c7b61c9836ded8f45274a78df04cacee8caaa0788edc0d1cd6c"

/home/opam: (run (shell "opam pin add -k version -yn lwt_direct.6.0.0~alpha01 6.0.0~alpha01"))
lwt_direct is now pinned to version 6.0.0~alpha01
2025-07-22 12:22.03 ---> saved as "7744c9a63700f77420ace992af7e47fd65e62ca5029f2a0059373796f3c659a1"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall lwt_direct.6.0.0~alpha01;\
                        \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 \"\\\"alpine-3.21\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'lwt_direct.6.0.0~alpha01' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
lwt_direct.6.0.0~alpha01 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 10 packages
  - install base-bytes        base                   [required by ocplib-endian]
  - install cppo              1.8.0                  [required by lwt]
  - install csexp             1.5.2                  [required by dune-configurator]
  - install domain_shims      0.1.0                  [required by lwt]
  - install dune              3.19.1                 [required by lwt_direct]
  - install dune-configurator 3.19.1                 [required by lwt]
  - install lwt               6.0.0~alpha01          [required by lwt_direct]
  - install lwt_direct        6.0.0~alpha01 (pinned)
  - install ocamlfind         1.9.8                  [required by base-bytes]
  - install ocplib-endian     1.2                    [required by lwt]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved domain_shims.0.1.0  (cached)
-> retrieved dune.3.19.1, dune-configurator.3.19.1  (cached)
-> retrieved lwt.6.0.0~alpha01, lwt_direct.6.0.0~alpha01  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed dune.3.19.1
-> installed domain_shims.0.1.0
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.19.1
-> installed lwt.6.0.0~alpha01
-> installed lwt_direct.6.0.0~alpha01
Done.
# To update the current shell environment, run: eval $(opam env)
2025-07-22 12:22.38 ---> saved as "c6e95acbf124d6b6d63e0614b8f5cfee87b69a75dd786d94a35d7c294ad4f803"
Job succeeded
2025-07-22 12:22.54: Job succeeded