(for PR #28563)

2025-09-22 08:20.54: New job: build incremental_cycles.0.1, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/28563/head (b92d3898d89e5d8bdd68b7a1756128d4d4b5bde6)
                              on debian-12-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/28563/head" && git reset --hard b92d3898
git fetch origin master
git merge --no-edit bf453cf4c33583be527ae85253aaf0d48f6c85d7
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.3@sha256:8e0888619dc79814cbe46d699b6d2c892a29cfb3a27b60c684404370a72494f5
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 incremental_cycles.0.1 0.1
RUN opam reinstall incremental_cycles.0.1; \
    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-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'incremental_cycles.0.1' && 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-09-22 08:20.54: Using cache hint "ocaml/opam:debian-12-ocaml-5.3@sha256:8e0888619dc79814cbe46d699b6d2c892a29cfb3a27b60c684404370a72494f5-incremental_cycles.0.1-b92d3898d89e5d8bdd68b7a1756128d4d4b5bde6"
2025-09-22 08:20.54: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3@sha256:8e0888619dc79814cbe46d699b6d2c892a29cfb3a27b60c684404370a72494f5)
 (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 incremental_cycles.0.1 0.1"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall incremental_cycles.0.1;\
             \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-12\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'incremental_cycles.0.1' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2025-09-22 08:20.54: Waiting for resource in pool OCluster
2025-09-22 08:20.55: Waiting for worker…
2025-09-22 08:21.41: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
Updating files:  73% (13447/18312)
Updating files:  74% (13551/18312)
Updating files:  75% (13734/18312)
Updating files:  76% (13918/18312)
Updating files:  77% (14101/18312)
Updating files:  78% (14284/18312)
Updating files:  79% (14467/18312)
Updating files:  80% (14650/18312)
Updating files:  81% (14833/18312)
Updating files:  82% (15016/18312)
Updating files:  83% (15199/18312)
Updating files:  84% (15383/18312)
Updating files:  85% (15566/18312)
Updating files:  86% (15749/18312)
Updating files:  87% (15932/18312)
Updating files:  88% (16115/18312)
Updating files:  89% (16298/18312)
Updating files:  90% (16481/18312)
Updating files:  91% (16664/18312)
Updating files:  92% (16848/18312)
Updating files:  93% (17031/18312)
Updating files:  94% (17214/18312)
Updating files:  95% (17397/18312)
Updating files:  96% (17580/18312)
Updating files:  97% (17763/18312)
Updating files:  98% (17946/18312)
Updating files:  99% (18129/18312)
Updating files: 100% (18312/18312)
Updating files: 100% (18312/18312), done.
HEAD is now at bf453cf4c3 Merge pull request #28548 from Frama-C/frama-c.31.0
Updating bf453cf4c3..b92d3898d8
Fast-forward
 .../incremental_cycles/incremental_cycles.0.1/opam | 38 ++++++++++++++++++++++
 1 file changed, 38 insertions(+)
 create mode 100644 packages/incremental_cycles/incremental_cycles.0.1/opam

(from ocaml/opam:debian-12-ocaml-5.3@sha256:8e0888619dc79814cbe46d699b6d2c892a29cfb3a27b60c684404370a72494f5)
2025-09-22 08:27.06 ---> saved as "945dc9ad18c8ce1aeb65407f2acb74114176a5aeded4c0e905782bf62176e526"

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-09-22 08:27.06 ---> saved as "6ad1605a2441e5e9d93ff0c56dddf113399ce752f03af29fcff97f93c0589fab"

/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
2025-09-22 08:27.48 ---> saved as "32c4c97bc405df39fa2cfedb38e674c3f48e5c72be535ef3d7a5adb2cd866780"

/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.4.1
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=debian os-version=12
# 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.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-09-22 08:27.49 ---> saved as "a90d95524e9d23577651ec64674cbd328e0e820b237f0d3c8b648253e89046ed"

/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-09-22 08:28.00 ---> saved as "dff26d7b65151b9cc6794cddcbb3d023cd12dc241808438131d81763ce8ac9a4"

/home/opam: (copy (src .) (dst opam-repository/))
2025-09-22 08:28.11 ---> saved as "4144f04a5d96b065f26bb7b0f98165ade335afc3a649a0a7949e897c44612ab6"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-09-22 08:28.34 ---> saved as "d98c32e31d5e3820e3186c7e948b7af3e9c47daac1cdb11cbe286b1bc8ce13b7"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [278 kB]
- Fetched 381 kB in 1s (545 kB/s)
- Reading package lists...
- 
2025-09-22 08:28.37 ---> saved as "207550af6acb778741853ec9c1ef995dd549f0f81329e21cdd3a8669cf1aeb3a"

/home/opam: (run (shell "opam pin add -k version -yn incremental_cycles.0.1 0.1"))
incremental_cycles is now pinned to version 0.1
2025-09-22 08:28.38 ---> saved as "e71b09b418170be6007a2a8f0fad024ea23a8a8d81bac403c8e16089621f8fa9"

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

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.20.2  (cached)
-> retrieved incremental_cycles.0.1  (cached)
-> installed dune.3.20.2
-> installed incremental_cycles.0.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-09-22 08:29.48 ---> saved as "2c5a60a8022fbf987e589f0a1f170d82e429d4ac0462678050e11e2b6b362981"
Job succeeded
2025-09-22 08:29.56: Job succeeded