(for PR #27826)

2025-04-28 07:50.46: New job: build pplumbing.0.0.11, using opam 2.3
                              from https://github.com/ocaml/opam-repository.git#refs/pull/27826/head (0a00afadfb4816b64a28f130bffef97cf541dc23)
                              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/27826/head" && git reset --hard 0a00afad
git fetch origin master
git merge --no-edit 8106bcf57fc33218275bbf0d02e725f4e9fcd0f6
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.3@sha256:446565e696f67badd64a9da6b737f870b0646ce996df2a2c2915be2fffa3d1cb
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 pplumbing.0.0.11 0.0.11
RUN opam reinstall pplumbing.0.0.11; \
    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" != 'pplumbing.0.0.11' && 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-04-28 07:50.46: Using cache hint "ocaml/opam:debian-12-ocaml-5.3@sha256:446565e696f67badd64a9da6b737f870b0646ce996df2a2c2915be2fffa3d1cb-pplumbing.0.0.11-0a00afadfb4816b64a28f130bffef97cf541dc23"
2025-04-28 07:50.46: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3@sha256:446565e696f67badd64a9da6b737f870b0646ce996df2a2c2915be2fffa3d1cb)
 (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 pplumbing.0.0.11 0.0.11"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall pplumbing.0.0.11;\
             \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\" != 'pplumbing.0.0.11' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2025-04-28 07:50.46: Waiting for resource in pool OCluster
2025-04-28 07:50.47: Waiting for worker…
2025-04-28 07:50.47: Got resource from pool OCluster
Building on x86-bm-c3.sw.ocaml.org
All commits already cached
Updating files:  72% (16712/22940)
Updating files:  73% (16747/22940)
Updating files:  74% (16976/22940)
Updating files:  75% (17205/22940)
Updating files:  76% (17435/22940)
Updating files:  77% (17664/22940)
Updating files:  78% (17894/22940)
Updating files:  79% (18123/22940)
Updating files:  80% (18352/22940)
Updating files:  81% (18582/22940)
Updating files:  82% (18811/22940)
Updating files:  83% (19041/22940)
Updating files:  84% (19270/22940)
Updating files:  85% (19499/22940)
Updating files:  86% (19729/22940)
Updating files:  87% (19958/22940)
Updating files:  88% (20188/22940)
Updating files:  89% (20417/22940)
Updating files:  90% (20646/22940)
Updating files:  91% (20876/22940)
Updating files:  92% (21105/22940)
Updating files:  93% (21335/22940)
Updating files:  94% (21564/22940)
Updating files:  95% (21793/22940)
Updating files:  96% (22023/22940)
Updating files:  97% (22252/22940)
Updating files:  98% (22482/22940)
Updating files:  99% (22711/22940)
Updating files: 100% (22940/22940)
Updating files: 100% (22940/22940), done.
HEAD is now at 8106bcf57f Merge pull request #27808 from Octachron/Ocaml_5.4.0_branching
Updating 8106bcf57f..0a00afadfb
Fast-forward
 packages/pplumbing/pplumbing.0.0.11/opam | 85 ++++++++++++++++++++++++++++++++
 1 file changed, 85 insertions(+)
 create mode 100644 packages/pplumbing/pplumbing.0.0.11/opam

(from ocaml/opam:debian-12-ocaml-5.3@sha256:446565e696f67badd64a9da6b737f870b0646ce996df2a2c2915be2fffa3d1cb)
2025-04-28 07:50.55 ---> using "4deaef3dcbe19696a2c1ff021867d35e9bd9df8acd600dbdfe827c4802d9df72" 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-04-28 07:50.55 ---> using "5bc3a5ac966797f05acb63cf8a868ea8f8a5af7da9dc9f0cdf201a7dffe47f4a" 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-04-28 07:50.55 ---> using "519143208fe9b95bbdf1271ef0813cf297d6df84c1f36be2545aff020efbfc68" 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=debian os-version=12
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 39
# 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-04-28 07:50.55 ---> using "f0ceb0a7ff44df29b048ad36ff102f24b775a618137b7fc0f1c6d4a834a42bcf" 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-04-28 07:50.55 ---> using "e71d8f0af51c88524fc20df7d4240d3a19b7dde3ec0bcb69a75abb2930384db6" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-04-28 07:51.05 ---> saved as "5f4fcd83f3ef50ee81ddea16cd67672340986ffae027d371ccafb0d5e55064a5"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-04-28 07:51.28 ---> saved as "448c5e70abe78d2eeddb5d3c6fccdeb830365dc881ce0030c76aad72725cf6d2"

/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 [258 kB]
- Fetched 361 kB in 0s (1249 kB/s)
- Reading package lists...
- 
2025-04-28 07:51.30 ---> saved as "79a8764a91bfe138134c7fe0fb825dee62d19ca99c20784dbd2a31be415d805a"

/home/opam: (run (shell "opam pin add -k version -yn pplumbing.0.0.11 0.0.11"))
pplumbing is now pinned to version 0.0.11
2025-04-28 07:51.30 ---> saved as "fc02508c5cc1c8b26f0bade46760615bcb734c091f00050b0dded62da87fe089"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall pplumbing.0.0.11;\
                        \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\" != 'pplumbing.0.0.11' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
pplumbing.0.0.11 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 19 packages
  - install astring             0.8.5           [required by fpath]
  - install cmdlang             0.0.9           [required by pplumbing]
  - install cmdlang-to-cmdliner 0.0.9           [required by pplumbing]
  - install cmdliner            1.3.0           [required by pplumbing]
  - install csexp               1.5.2           [required by stdune]
  - install dune                3.18.1          [required by pplumbing]
  - install dyn                 3.18.1          [required by pplumbing]
  - install fmt                 0.10.0          [required by pplumbing]
  - install fpath               0.7.3           [required by loc]
  - install loc                 0.2.2           [required by pplumbing]
  - install logs                0.8.0           [required by pplumbing]
  - install ocamlbuild          0.16.1          [required by fmt, logs]
  - install ocamlfind           1.9.8           [required by fmt, logs]
  - install ordering            3.18.1          [required by pplumbing]
  - install pp                  2.0.0           [required by pplumbing]
  - install pplumbing           0.0.11 (pinned)
  - install sexplib0            v0.17.0         [required by pplumbing]
  - install stdune              3.18.1          [required by pplumbing]
  - install topkg               1.0.8           [required by fmt, logs]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5  (cached)
-> retrieved cmdlang.0.0.9, cmdlang-to-cmdliner.0.0.9  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved dune.3.18.1, dyn.3.18.1, ordering.3.18.1, stdune.3.18.1  (cached)
-> retrieved fmt.0.10.0  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved loc.0.2.2  (cached)
-> retrieved logs.0.8.0  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved pp.2.0.0  (cached)
-> installed cmdliner.1.3.0
-> retrieved pplumbing.0.0.11  (https://github.com/mbarbin/pplumbing/releases/download/0.0.11/pplumbing-0.0.11.tbz)
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved topkg.1.0.8  (cached)
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.0.8
-> installed fmt.0.10.0
-> installed astring.0.8.5
-> installed fpath.0.7.3
-> installed logs.0.8.0
-> installed dune.3.18.1
-> installed cmdlang.0.0.9
-> installed csexp.1.5.2
-> installed pp.2.0.0
-> installed cmdlang-to-cmdliner.0.0.9
-> installed sexplib0.v0.17.0
-> installed ordering.3.18.1
-> installed dyn.3.18.1
-> installed stdune.3.18.1
-> installed loc.0.2.2
-> installed pplumbing.0.0.11
Done.
# To update the current shell environment, run: eval $(opam env)
2025-04-28 07:52.18 ---> saved as "c73237f784c89fdcd456f25ec1a74cecd62ef2d33a4db131f00cff42f6ef18a8"
Job succeeded
2025-04-28 07:52.27: Job succeeded