Build:
  1. 0
2026-03-04 22:25.28: New job: build obuild.0.2.2, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29448/head (1c68d3db00caace12135a7a71c80a4405afc4013)
                              on debian-13-ocaml-4.13/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/29448/head" && git reset --hard 1c68d3db
git fetch origin master
git merge --no-edit f3ca8d6739c241b5e16cab2307b0bf8a5db266e9
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.13@sha256:c3f1f7107b683e2ab70fd25b5d0e9af0718693f28eb3878683e7dd3773fe335b
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 obuild.0.2.2 0.2.2
RUN opam reinstall obuild.0.2.2; \
    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-13\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'obuild.0.2.2' && 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-03-04 22:25.28: Using cache hint "ocaml/opam:debian-13-ocaml-4.13@sha256:c3f1f7107b683e2ab70fd25b5d0e9af0718693f28eb3878683e7dd3773fe335b-obuild.0.2.2-1c68d3db00caace12135a7a71c80a4405afc4013"
2026-03-04 22:25.28: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.13@sha256:c3f1f7107b683e2ab70fd25b5d0e9af0718693f28eb3878683e7dd3773fe335b)
 (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 obuild.0.2.2 0.2.2"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall obuild.0.2.2;\
             \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-13\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'obuild.0.2.2' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2026-03-04 22:25.28: Waiting for resource in pool OCluster
2026-03-04 22:25.30: Waiting for worker…
2026-03-04 22:25.30: Got resource from pool OCluster
Building on clete
Updating files:  53% (9839/18372)
Updating files:  54% (9921/18372)
Updating files:  55% (10105/18372)
Updating files:  56% (10289/18372)
Updating files:  57% (10473/18372)
Updating files:  58% (10656/18372)
Updating files:  58% (10722/18372)
Updating files:  59% (10840/18372)
Updating files:  60% (11024/18372)
Updating files:  61% (11207/18372)
Updating files:  62% (11391/18372)
Updating files:  63% (11575/18372)
Updating files:  64% (11759/18372)
Updating files:  65% (11942/18372)
Updating files:  66% (12126/18372)
Updating files:  67% (12310/18372)
Updating files:  68% (12493/18372)
Updating files:  69% (12677/18372)
Updating files:  70% (12861/18372)
Updating files:  71% (13045/18372)
Updating files:  72% (13228/18372)
Updating files:  73% (13412/18372)
Updating files:  74% (13596/18372)
Updating files:  75% (13779/18372)
Updating files:  76% (13963/18372)
Updating files:  77% (14147/18372)
Updating files:  78% (14331/18372)
Updating files:  79% (14514/18372)
Updating files:  80% (14698/18372)
Updating files:  81% (14882/18372)
Updating files:  82% (15066/18372)
Updating files:  83% (15249/18372)
Updating files:  84% (15433/18372)
Updating files:  85% (15617/18372)
Updating files:  86% (15800/18372)
Updating files:  87% (15984/18372)
Updating files:  88% (16168/18372)
Updating files:  89% (16352/18372)
Updating files:  90% (16535/18372)
Updating files:  91% (16719/18372)
Updating files:  92% (16903/18372)
Updating files:  93% (17086/18372)
Updating files:  94% (17270/18372)
Updating files:  95% (17454/18372)
Updating files:  96% (17638/18372)
Updating files:  97% (17821/18372)
Updating files:  98% (18005/18372)
Updating files:  99% (18189/18372)
Updating files: 100% (18372/18372)
Updating files: 100% (18372/18372), done.
HEAD is now at 84a9e87a98 Merge commit 'b80594d09e885ca9df047c7621c74beeb51d0673'
HEAD is now at f3ca8d6739 Merge pull request #29503 from plermusiaux/release-saltoIL-0.2.1
Merge made by the 'ort' strategy.
 packages/obuild/obuild.0.2.2/opam | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 packages/obuild/obuild.0.2.2/opam

(from ocaml/opam:debian-13-ocaml-4.13@sha256:c3f1f7107b683e2ab70fd25b5d0e9af0718693f28eb3878683e7dd3773fe335b)
2026-03-04 22:32.53 ---> using "6c6851c2102b724ae0ad2aff794e998cff61c5f82a03fdbeb03ddae4893faad7" 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-03-04 22:32.53 ---> using "d3cdacb16366fc70d7ec9d6a1d1f44c3d61c2a9f9e3a6b9536d0f6af673c55b6" 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.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
2026-03-04 22:32.53 ---> using "687ba0cb4db115e4e78d3b3e82cd659ac2d927c61789fe86b629f0089a1ba267" 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.0
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=debian os-version=13
# 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.13
# invariant            ["ocaml-base-compiler" {= "4.13.1"}]
# compiler-packages    ocaml-base-compiler.4.13.1, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/4.13/lib/ocaml/stublibs:/home/opam/.opam/4.13/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       4.13.1
2026-03-04 22:32.53 ---> using "5ee9d2242ea451af3e4e58bfc36842e7370872fb5a5c60937bbd829bdea2a1d9" 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-03-04 22:32.53 ---> using "aef062716201c26335675f712f0083e7e632dd9a623c2a62e131ba3a3a83c9d4" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-03-04 22:49.27 ---> saved as "72c3918b6c18a78a7af18a2ad8075ca6737f254c6cd269938759c4897a751990"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-03-04 23:29.51 ---> saved as "eeb865a4630b7db86cc4f5163a9f5dc6850fd173a980269f6c0361bae7745f3b"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Ign:1 http://deb.debian.org/debian trixie InRelease
- Ign:2 http://deb.debian.org/debian trixie-updates InRelease
- Ign:3 http://deb.debian.org/debian-security trixie-security InRelease
- Ign:3 http://deb.debian.org/debian-security trixie-security InRelease
- Ign:2 http://deb.debian.org/debian trixie-updates InRelease
- Ign:1 http://deb.debian.org/debian trixie InRelease
- Ign:1 http://deb.debian.org/debian trixie InRelease
- Ign:2 http://deb.debian.org/debian trixie-updates InRelease
- Ign:3 http://deb.debian.org/debian-security trixie-security InRelease
- Ign:3 http://deb.debian.org/debian-security trixie-security InRelease
- Ign:2 http://deb.debian.org/debian trixie-updates InRelease
- Ign:1 http://deb.debian.org/debian trixie InRelease
- Ign:1 http://deb.debian.org/debian trixie InRelease
- Ign:2 http://deb.debian.org/debian trixie-updates InRelease
- Ign:3 http://deb.debian.org/debian-security trixie-security InRelease
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Hit:1 http://deb.debian.org/debian trixie InRelease
- Get:4 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [108 kB]
- Fetched 199 kB in 31s (6385 B/s)
- Reading package lists...
2026-03-04 23:30.32 ---> saved as "cc21eafa4cc6e2f42fa5e7381cae35c05215997c4de93f4aa552f1b27e13f318"

/home/opam: (run (shell "opam pin add -k version -yn obuild.0.2.2 0.2.2"))
obuild is now pinned to version 0.2.2
2026-03-04 23:30.33 ---> saved as "ea42be0db19829f167e13d5750eff3d0049917a333889bdeeb1da154eee57814"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall obuild.0.2.2;\
                        \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-13\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'obuild.0.2.2' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
obuild.0.2.2 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 2 packages
  - install obuild    0.2.2 (pinned)
  - install ocamlfind 1.9.8          [required by obuild]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved obuild.0.2.2  (https://github.com/ocaml-obuild/obuild/archive/v0.2.2.tar.gz)
-> retrieved ocamlfind.1.9.8  (cached)
-> installed ocamlfind.1.9.8
-> installed obuild.0.2.2
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-04 23:30.46 ---> saved as "af3c2c743a36e548ce139d3850259f1232f41764655e034d4bc3f7786a81fcac"
Job succeeded
2026-03-04 23:30.58: Job succeeded