(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 ubuntu-25.10-ocaml-5.4/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:ubuntu-25.10-ocaml-5.4@sha256:63cfff970959ee6c5baedae6dcf30509eb1e6d78e954287a6656207eff921208
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 "\"ubuntu-25.10\""; 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:ubuntu-25.10-ocaml-5.4@sha256:63cfff970959ee6c5baedae6dcf30509eb1e6d78e954287a6656207eff921208-contract.0.1.0-6bd94e649fd37e846e43afa12ad324faba41e969"
2026-05-25 04:39.58: Using OBuilder spec:
((from ocaml/opam:ubuntu-25.10-ocaml-5.4@sha256:63cfff970959ee6c5baedae6dcf30509eb1e6d78e954287a6656207eff921208)
 (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 \"\\\"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\" != '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:39.58: Got resource from pool OCluster
Building on eumache.caelum.ci.dev
All commits already cached
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:ubuntu-25.10-ocaml-5.4@sha256:63cfff970959ee6c5baedae6dcf30509eb1e6d78e954287a6656207eff921208)
Unable to find image 'ocaml/opam:ubuntu-25.10-ocaml-5.4@sha256:63cfff970959ee6c5baedae6dcf30509eb1e6d78e954287a6656207eff921208' locally
docker.io/ocaml/opam@sha256:63cfff970959ee6c5baedae6dcf30509eb1e6d78e954287a6656207eff921208: Pulling from ocaml/opam
16c195d4c5e9: Already exists
5d5ae59f12bf: Pulling fs layer
2a1bdaff57b1: Pulling fs layer
4f0da68efc03: Pulling fs layer
ddae77db6783: Pulling fs layer
fdb5e27abf0f: Pulling fs layer
93a3171e4fee: Pulling fs layer
4f0da68efc03: Waiting
dbf7af4bbc5e: Pulling fs layer
ddae77db6783: Waiting
fdb5e27abf0f: Waiting
93a3171e4fee: Waiting
2a1bdaff57b1: Waiting
5f7df1a633be: Pulling fs layer
91c5054ad467: Pulling fs layer
5f7df1a633be: Waiting
f85e33539fc1: Pulling fs layer
60715424f1f3: Pulling fs layer
91c5054ad467: Waiting
f85e33539fc1: Waiting
3d928beeeddb: Pulling fs layer
ad721eb63d8e: Pulling fs layer
60715424f1f3: Waiting
3d928beeeddb: Waiting
6423a1c6a219: Pulling fs layer
ad721eb63d8e: Waiting
5b5461462268: Pulling fs layer
6423a1c6a219: Waiting
d0115271718d: Pulling fs layer
5b5461462268: Waiting
9fd788776761: Pulling fs layer
d0115271718d: Waiting
ee0541408fb9: Pulling fs layer
3710803c65d7: Pulling fs layer
ce2c52193d43: Pulling fs layer
4f4fb700ef54: Pulling fs layer
3710803c65d7: Waiting
a2f980d0b98b: Pulling fs layer
ee0541408fb9: Waiting
410070a2f222: Pulling fs layer
a2f980d0b98b: Waiting
4f4fb700ef54: Waiting
ce2c52193d43: Waiting
d3816a848673: Pulling fs layer
9fd788776761: Waiting
7c855ca71d74: Pulling fs layer
1528501eaf16: Pulling fs layer
7c855ca71d74: Waiting
23228c2200ea: Pulling fs layer
410070a2f222: Waiting
54f128346b20: Pulling fs layer
1528501eaf16: Waiting
d3816a848673: Waiting
23228c2200ea: Waiting
76cf7939a21f: Pulling fs layer
ebfcf91f683f: Pulling fs layer
54f128346b20: Waiting
aba3e293a4a1: Pulling fs layer
76cf7939a21f: Waiting
5f6c0c42c902: Pulling fs layer
ebfcf91f683f: Waiting
aba3e293a4a1: Waiting
266bc6609d9e: Pulling fs layer
9ba70185e826: Pulling fs layer
5f6c0c42c902: Waiting
266bc6609d9e: Waiting
892f7eadbfc9: Pulling fs layer
81c302137335: Pulling fs layer
9ba70185e826: Waiting
a255dc714083: Pulling fs layer
892f7eadbfc9: Waiting
81c302137335: Waiting
da091890895b: Pulling fs layer
a255dc714083: Waiting
4c6a2849596a: Pulling fs layer
da091890895b: Waiting
0343135a3782: Pulling fs layer
4c6a2849596a: Waiting
0343135a3782: Waiting
c21a0230fcf8: Pulling fs layer
e48cf951d0ab: Pulling fs layer
dc26cc1f446d: Pulling fs layer
c21a0230fcf8: Waiting
e48cf951d0ab: Waiting
42d8b162a3a3: Pulling fs layer
dc26cc1f446d: Waiting
3341088c39b8: Pulling fs layer
42d8b162a3a3: Waiting
3341088c39b8: Waiting
5d5ae59f12bf: Verifying Checksum
5d5ae59f12bf: Download complete
5d5ae59f12bf: Pull complete
2a1bdaff57b1: Verifying Checksum
2a1bdaff57b1: Download complete
2a1bdaff57b1: Pull complete
4f0da68efc03: Verifying Checksum
4f0da68efc03: Download complete
ddae77db6783: Verifying Checksum
ddae77db6783: Download complete
93a3171e4fee: Verifying Checksum
93a3171e4fee: Download complete
4f0da68efc03: Pull complete
ddae77db6783: Pull complete
dbf7af4bbc5e: Verifying Checksum
dbf7af4bbc5e: Download complete
5f7df1a633be: Verifying Checksum
5f7df1a633be: Download complete
fdb5e27abf0f: Verifying Checksum
fdb5e27abf0f: Download complete
f85e33539fc1: Verifying Checksum
f85e33539fc1: Download complete
91c5054ad467: Verifying Checksum
91c5054ad467: Download complete
60715424f1f3: Verifying Checksum
60715424f1f3: Download complete
3d928beeeddb: Verifying Checksum
3d928beeeddb: Download complete
6423a1c6a219: Verifying Checksum
6423a1c6a219: Download complete
ad721eb63d8e: Verifying Checksum
ad721eb63d8e: Download complete
5b5461462268: Download complete
d0115271718d: Verifying Checksum
d0115271718d: Download complete
9fd788776761: Download complete
ee0541408fb9: Download complete
3710803c65d7: Verifying Checksum
3710803c65d7: Download complete
ce2c52193d43: Verifying Checksum
ce2c52193d43: Download complete
4f4fb700ef54: Verifying Checksum
4f4fb700ef54: Download complete
a2f980d0b98b: Verifying Checksum
a2f980d0b98b: Download complete
410070a2f222: Verifying Checksum
410070a2f222: Download complete
d3816a848673: Verifying Checksum
d3816a848673: Download complete
7c855ca71d74: Verifying Checksum
7c855ca71d74: Download complete
1528501eaf16: Verifying Checksum
1528501eaf16: Download complete
23228c2200ea: Download complete
54f128346b20: Download complete
76cf7939a21f: Verifying Checksum
76cf7939a21f: Download complete
ebfcf91f683f: Verifying Checksum
ebfcf91f683f: Download complete
aba3e293a4a1: Verifying Checksum
aba3e293a4a1: Download complete
5f6c0c42c902: Verifying Checksum
5f6c0c42c902: Download complete
266bc6609d9e: Verifying Checksum
266bc6609d9e: Download complete
892f7eadbfc9: Verifying Checksum
892f7eadbfc9: Download complete
81c302137335: Verifying Checksum
81c302137335: Download complete
a255dc714083: Download complete
da091890895b: Download complete
4c6a2849596a: Verifying Checksum
4c6a2849596a: Download complete
0343135a3782: Verifying Checksum
0343135a3782: Download complete
c21a0230fcf8: Verifying Checksum
c21a0230fcf8: Download complete
fdb5e27abf0f: Pull complete
93a3171e4fee: Pull complete
dc26cc1f446d: Download complete
dbf7af4bbc5e: Pull complete
42d8b162a3a3: Verifying Checksum
42d8b162a3a3: Download complete
5f7df1a633be: Pull complete
3341088c39b8: Verifying Checksum
3341088c39b8: Download complete
91c5054ad467: Pull complete
f85e33539fc1: Pull complete
60715424f1f3: Pull complete
3d928beeeddb: Pull complete
ad721eb63d8e: Pull complete
6423a1c6a219: Pull complete
5b5461462268: Pull complete
d0115271718d: Pull complete
9fd788776761: Pull complete
ee0541408fb9: Pull complete
3710803c65d7: Pull complete
ce2c52193d43: Pull complete
4f4fb700ef54: Pull complete
a2f980d0b98b: Pull complete
410070a2f222: Pull complete
d3816a848673: Pull complete
7c855ca71d74: Pull complete
1528501eaf16: Pull complete
23228c2200ea: Pull complete
54f128346b20: Pull complete
76cf7939a21f: Pull complete
ebfcf91f683f: Pull complete
aba3e293a4a1: Pull complete
5f6c0c42c902: Pull complete
266bc6609d9e: Pull complete
9ba70185e826: Verifying Checksum
9ba70185e826: Download complete
e48cf951d0ab: Verifying Checksum
e48cf951d0ab: Download complete
9ba70185e826: Pull complete
892f7eadbfc9: Pull complete
81c302137335: Pull complete
a255dc714083: Pull complete
da091890895b: Pull complete
4c6a2849596a: Pull complete
0343135a3782: Pull complete
c21a0230fcf8: Pull complete
e48cf951d0ab: Pull complete
dc26cc1f446d: Pull complete
42d8b162a3a3: Pull complete
3341088c39b8: Pull complete
Digest: sha256:63cfff970959ee6c5baedae6dcf30509eb1e6d78e954287a6656207eff921208
Status: Downloaded newer image for ocaml/opam@sha256:63cfff970959ee6c5baedae6dcf30509eb1e6d78e954287a6656207eff921208
2026-05-25 04:40.06 ---> using "41357343971ec1c22ef6479527364d324d243404a2d3270e2fa1349cad1362d4" 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-25 04:40.06 ---> using "366f0b3b6c3bd5a2ce10b7094a98e2f33e5f3d54d5d7599491f66538c3ca10f3" 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 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///home/opam/opam-repository
2026-05-25 04:40.06 ---> using "4167e8b5fdde25558a30cf08e372fbee441197be4cc565205875a4c312344d8a" 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.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         1 (version-controlled)
# pinned               1 (version)
# current-switch       5.4
# invariant            ["ocaml-base-compiler" {= "5.4.1"}]
# compiler-packages    ocaml-base-compiler.5.4.1, ocaml-compiler.5.4.1, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/5.4/lib/ocaml/stublibs:/home/opam/.opam/5.4/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       5.4.1
2026-05-25 04:40.06 ---> using "0285914f64af5204bf0038eea032e0d8f5beb53f8378f2ee2fe7bca160ee47b5" 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/"))
2026-05-25 04:40.06 ---> using "e8f0fc9194d4a2903a166a90cf12af8023753cb01c77fe31fa0319270a526d8b" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-05-25 04:40.17 ---> saved as "0ea003880d81daa2e6c86f707c6628265ba03643bee7e2d91d1285bf9f7094ea"

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

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

/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:40.31 ---> saved as "15264da3ce8b292eb83ebc6cc22ecd2cb8fd617b3d4b15f6a1089dd962f8728a"

/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 \"\\\"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\" != '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
The following actions will be performed:
=== install 3 packages
  - install contract 0.1.0 (pinned)
  - install dune     3.23.1         [required by contract]
  - install yojson   3.0.0          [required by contract]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved contract.0.1.0  (https://github.com/funwithcthulhu/contract/archive/refs/tags/0.1.0.tar.gz)
-> retrieved dune.3.23.1  (cached)
-> retrieved yojson.3.0.0  (cached)
-> installed dune.3.23.1
-> installed yojson.3.0.0
-> installed contract.0.1.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-05-25 04:41.12 ---> saved as "76787a611e79692a4b63776eca46be1a1eb19decf21903d9d11eac43547bbcde"
Job succeeded
2026-05-25 04:41.17: Job succeeded