(for PR #29952)

2026-05-25 04:39.58: New job: build contract.0.1.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29952/head (6bd94e649fd37e846e43afa12ad324faba41e969)
                              on debian-unstable-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/29952/head" && git reset --hard 6bd94e64
git fetch origin master
git merge --no-edit 856df280428c158a5bb0b3afce1bec956b10ae6f
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-unstable-ocaml-4.14@sha256:56a96a665fa5d6539418f9681b49361c6b1db7681b9241a75d823928125bceed
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 contract.0.1.0 0.1.0
RUN opam reinstall contract.0.1.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 "\"debian-unstable\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'contract.0.1.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-25 04:39.58: Using cache hint "ocaml/opam:debian-unstable-ocaml-4.14@sha256:56a96a665fa5d6539418f9681b49361c6b1db7681b9241a75d823928125bceed-contract.0.1.0-6bd94e649fd37e846e43afa12ad324faba41e969"
2026-05-25 04:39.58: Using OBuilder spec:
((from ocaml/opam:debian-unstable-ocaml-4.14@sha256:56a96a665fa5d6539418f9681b49361c6b1db7681b9241a75d823928125bceed)
 (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 contract.0.1.0 0.1.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall contract.0.1.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 \"\\\"debian-unstable\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'contract.0.1.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-25 04:39.58: Waiting for resource in pool OCluster
2026-05-25 04:39.58: Waiting for worker…
2026-05-25 04:40.00: Got resource from pool OCluster
Building on eumache.caelum.ci.dev
All commits already cached
Updating files:  93% (16830/17960)
Updating files:  94% (16883/17960)
Updating files:  95% (17062/17960)
Updating files:  96% (17242/17960)
Updating files:  97% (17422/17960)
Updating files:  98% (17601/17960)
Updating files:  99% (17781/17960)
Updating files: 100% (17960/17960)
Updating files: 100% (17960/17960), done.
HEAD is now at 856df28042 Merge pull request #29946 from hannesm/release-mirage-net-solo5-v0.8.1
Updating 856df28042..6bd94e649f
Fast-forward
 packages/contract/contract.0.1.0/opam | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)
 create mode 100644 packages/contract/contract.0.1.0/opam

(from ocaml/opam:debian-unstable-ocaml-4.14@sha256:56a96a665fa5d6539418f9681b49361c6b1db7681b9241a75d823928125bceed)
Unable to find image 'ocaml/opam:debian-unstable-ocaml-4.14@sha256:56a96a665fa5d6539418f9681b49361c6b1db7681b9241a75d823928125bceed' locally
docker.io/ocaml/opam@sha256:56a96a665fa5d6539418f9681b49361c6b1db7681b9241a75d823928125bceed: Pulling from ocaml/opam
6396b26de0b9: Pulling fs layer
8c82bcadd3a0: Pulling fs layer
ca9ba9b6a990: Pulling fs layer
dfbd3066f125: Pulling fs layer
6396b26de0b9: Waiting
8c82bcadd3a0: Waiting
a3bc130db4a1: Pulling fs layer
cf60c98b3dbc: Pulling fs layer
dfbd3066f125: Waiting
ca9ba9b6a990: Waiting
a3bc130db4a1: Waiting
d1500e13335b: Pulling fs layer
cf60c98b3dbc: Waiting
55554ae4fedf: Pulling fs layer
d1500e13335b: Waiting
9b57e5080160: Pulling fs layer
2b35ff6cb6b7: Pulling fs layer
9b57e5080160: Waiting
55554ae4fedf: Waiting
ea4ee44b05d8: Pulling fs layer
2b35ff6cb6b7: Waiting
f2476a9ff551: Pulling fs layer
ea4ee44b05d8: Waiting
0ce778c03b0d: Pulling fs layer
f2476a9ff551: Waiting
82dd3c03dd21: Pulling fs layer
0ce778c03b0d: Waiting
3bc42f891c9f: Pulling fs layer
82dd3c03dd21: Waiting
faf6bc77cdfd: Pulling fs layer
3bc42f891c9f: Waiting
300378a7a8a6: Pulling fs layer
e3dc1b219159: Pulling fs layer
ff2eb9f80099: Pulling fs layer
300378a7a8a6: Waiting
efba89bd5ac4: Pulling fs layer
998970eba85f: Pulling fs layer
ff2eb9f80099: Waiting
e3dc1b219159: Waiting
faf6bc77cdfd: Waiting
4f4fb700ef54: Pulling fs layer
998970eba85f: Waiting
2c8894103979: Pulling fs layer
52f259cf9b36: Pulling fs layer
efba89bd5ac4: Waiting
233ccfca7f44: Pulling fs layer
e0fd7439447b: Pulling fs layer
b68a95ae0828: Pulling fs layer
4f4fb700ef54: Waiting
e0fd7439447b: Waiting
233ccfca7f44: Waiting
994a2d45df13: Pulling fs layer
b68a95ae0828: Waiting
92ed7b928883: Pulling fs layer
2c8894103979: Waiting
994a2d45df13: Waiting
52f259cf9b36: Waiting
86c4fb2c5b4b: Pulling fs layer
97d86ccfdf58: Pulling fs layer
92ed7b928883: Waiting
33e6928b9b0a: Pulling fs layer
97d86ccfdf58: Waiting
59967a26da68: Pulling fs layer
fa0f5ef65631: Pulling fs layer
59967a26da68: Waiting
3ff43863ede4: Pulling fs layer
86c4fb2c5b4b: Waiting
fa0f5ef65631: Waiting
33e6928b9b0a: Waiting
859ff2a7f156: Pulling fs layer
b9f443d7cd73: Pulling fs layer
3ff43863ede4: Waiting
d41719d01204: Pulling fs layer
53fef9fc4072: Pulling fs layer
b9f443d7cd73: Waiting
6e6a6a28af0f: Pulling fs layer
d34ffb3a64b2: Pulling fs layer
6c31e940b495: Pulling fs layer
3e486ad333ef: Pulling fs layer
d34ffb3a64b2: Waiting
6c31e940b495: Waiting
73f9225cc6f9: Pulling fs layer
3e486ad333ef: Waiting
9cc0b9df09d6: Pulling fs layer
73f9225cc6f9: Waiting
6e6a6a28af0f: Waiting
d41719d01204: Waiting
9cc0b9df09d6: Waiting
8c82bcadd3a0: Verifying Checksum
8c82bcadd3a0: Download complete
ca9ba9b6a990: Verifying Checksum
ca9ba9b6a990: Download complete
dfbd3066f125: Verifying Checksum
dfbd3066f125: Download complete
a3bc130db4a1: Verifying Checksum
a3bc130db4a1: Download complete
6396b26de0b9: Download complete
d1500e13335b: Verifying Checksum
d1500e13335b: Download complete
55554ae4fedf: Verifying Checksum
55554ae4fedf: Download complete
9b57e5080160: Verifying Checksum
9b57e5080160: Download complete
2b35ff6cb6b7: Download complete
ea4ee44b05d8: Download complete
f2476a9ff551: Verifying Checksum
f2476a9ff551: Download complete
82dd3c03dd21: Download complete
0ce778c03b0d: Verifying Checksum
0ce778c03b0d: Download complete
3bc42f891c9f: Verifying Checksum
3bc42f891c9f: Download complete
faf6bc77cdfd: Verifying Checksum
faf6bc77cdfd: Download complete
e3dc1b219159: Verifying Checksum
e3dc1b219159: Download complete
300378a7a8a6: Download complete
efba89bd5ac4: Verifying Checksum
efba89bd5ac4: Download complete
ff2eb9f80099: Verifying Checksum
ff2eb9f80099: Download complete
998970eba85f: Verifying Checksum
998970eba85f: Download complete
cf60c98b3dbc: Verifying Checksum
cf60c98b3dbc: Download complete
4f4fb700ef54: Download complete
6396b26de0b9: Pull complete
8c82bcadd3a0: Pull complete
ca9ba9b6a990: Pull complete
2c8894103979: Verifying Checksum
2c8894103979: Download complete
52f259cf9b36: Download complete
233ccfca7f44: Download complete
b68a95ae0828: Download complete
e0fd7439447b: Download complete
994a2d45df13: Verifying Checksum
994a2d45df13: Download complete
92ed7b928883: Verifying Checksum
92ed7b928883: Download complete
86c4fb2c5b4b: Download complete
dfbd3066f125: Pull complete
97d86ccfdf58: Verifying Checksum
97d86ccfdf58: Download complete
59967a26da68: Download complete
33e6928b9b0a: Verifying Checksum
33e6928b9b0a: Download complete
fa0f5ef65631: Verifying Checksum
fa0f5ef65631: Download complete
859ff2a7f156: Verifying Checksum
859ff2a7f156: Download complete
a3bc130db4a1: Pull complete
d41719d01204: Verifying Checksum
d41719d01204: Download complete
53fef9fc4072: Download complete
6e6a6a28af0f: Verifying Checksum
6e6a6a28af0f: Download complete
d34ffb3a64b2: Verifying Checksum
d34ffb3a64b2: Download complete
3ff43863ede4: Verifying Checksum
3ff43863ede4: Download complete
3e486ad333ef: Verifying Checksum
3e486ad333ef: Download complete
73f9225cc6f9: Verifying Checksum
73f9225cc6f9: Download complete
9cc0b9df09d6: Download complete
b9f443d7cd73: Verifying Checksum
b9f443d7cd73: Download complete
6c31e940b495: Verifying Checksum
6c31e940b495: Download complete
cf60c98b3dbc: Pull complete
d1500e13335b: Pull complete
55554ae4fedf: Pull complete
9b57e5080160: Pull complete
2b35ff6cb6b7: Pull complete
ea4ee44b05d8: Pull complete
f2476a9ff551: Pull complete
0ce778c03b0d: Pull complete
82dd3c03dd21: Pull complete
3bc42f891c9f: Pull complete
faf6bc77cdfd: Pull complete
300378a7a8a6: Pull complete
e3dc1b219159: Pull complete
ff2eb9f80099: Pull complete
efba89bd5ac4: Pull complete
998970eba85f: Pull complete
4f4fb700ef54: Pull complete
2c8894103979: Pull complete
52f259cf9b36: Pull complete
233ccfca7f44: Pull complete
e0fd7439447b: Pull complete
b68a95ae0828: Pull complete
994a2d45df13: Pull complete
92ed7b928883: Pull complete
86c4fb2c5b4b: Pull complete
97d86ccfdf58: Pull complete
33e6928b9b0a: Pull complete
59967a26da68: Pull complete
fa0f5ef65631: Pull complete
3ff43863ede4: Pull complete
859ff2a7f156: Pull complete
b9f443d7cd73: Pull complete
d41719d01204: Pull complete
53fef9fc4072: Pull complete
6e6a6a28af0f: Pull complete
d34ffb3a64b2: Pull complete
6c31e940b495: Pull complete
3e486ad333ef: Pull complete
73f9225cc6f9: Pull complete
9cc0b9df09d6: Pull complete
Digest: sha256:56a96a665fa5d6539418f9681b49361c6b1db7681b9241a75d823928125bceed
Status: Downloaded newer image for ocaml/opam@sha256:56a96a665fa5d6539418f9681b49361c6b1db7681b9241a75d823928125bceed
2026-05-25 04:43.19 ---> saved as "174b3e9e9bb98869f6780aba0c044a55611817afd57ba3dd8b5048a896021618"

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-05-25 04:43.20 ---> saved as "fb1fddf66603ceaae63ad8ba518d189a30fce663230ce0594ffbaf876095d8b1"

/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.

[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
Continue? [Y/n] y
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-25 04:43.34 ---> saved as "17c9be464fb578c5060252dd17b4739ee34b57eaf0a67407dff424b6171d02f1"

/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=debian os-version=unknown
# 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-25 04:43.34 ---> saved as "29c6dc6aa29b1b5b7265d4b7312049be436de69b63e2e0f986bf8a4af0154916"

/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-25 04:43.42 ---> saved as "31d43cff839b053b9041aa3ca7b0ae32d4b0ded8867b05ea5e29ab61a18a0a40"

/home/opam: (copy (src .) (dst opam-repository/))
2026-05-25 04:43.47 ---> saved as "08d696a20971c622d4798b3c8cfb0dc4182017d91f52d66f8d1895933f9411bd"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-05-25 04:43.57 ---> saved as "bcb51494bea1a09fcf1a9c08cde2755d16379ae86c0d433f3af17c11171dfa78"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian unstable InRelease [189 kB]
- Get:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index [63.6 kB]
- Err:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index
-   Couldn't find the start of the patch series
- Get:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index [63.6 kB]
- Ign:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages [10.5 MB]
- Fetched 10.7 MB in 1s (7917 kB/s)
- Reading package lists...
- 
2026-05-25 04:44.00 ---> saved as "caee2b1cd2bc6767bbbf4fa965c36e81220810cd1f10130b6cd027bb2abca7fd"

/home/opam: (run (shell "opam pin add -k version -yn contract.0.1.0 0.1.0"))
contract is now pinned to version 0.1.0
2026-05-25 04:44.00 ---> saved as "111136f140773aceb9731af2731566c57848cbba7c6a5bf0e45fc61317cd2ca4"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall contract.0.1.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 \"\\\"debian-unstable\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'contract.0.1.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
contract.0.1.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
    - contract -> ocaml >= 5.0
    You can temporarily relax the switch invariant with `--update-invariant'

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