(not at the head of any monitored branch or PR)
2024-11-29 15:19.41: New job: build ocamlformat-lib.0.27.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/26998/head (27916977327321391ddd0aadb9e4d7c2d461e743)
                              on debian-12-ocaml-4.05/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/26998/head" && git reset --hard 27916977
git fetch origin master
git merge --no-edit 0b65c91e7650d82e2c12fe1f64a466d2c6954272
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.05@sha256:254705f715e78da9d6e3e46810cfa7b578f9a15b74827f043485e92df7c4f394
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
ENV OPAMSOLVERTIMEOUT="1000"
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 ocamlformat-lib.0.27.0 0.27.0
RUN opam reinstall ocamlformat-lib.0.27.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-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'ocamlformat-lib.0.27.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 .

2024-11-29 15:19.41: Using cache hint "ocaml/opam:debian-12-ocaml-4.05@sha256:254705f715e78da9d6e3e46810cfa7b578f9a15b74827f043485e92df7c4f394-ocamlformat-lib.0.27.0-27916977327321391ddd0aadb9e4d7c2d461e743"
2024-11-29 15:19.41: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.05@sha256:254705f715e78da9d6e3e46810cfa7b578f9a15b74827f043485e92df7c4f394)
 (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 "uname -rs && opam exec -- ocaml -version && opam --version"))
 (env OPAMDOWNLOADJOBS 1)
 (env OPAMERRLOGLEN 0)
 (env OPAMSOLVERTIMEOUT 1000)
 (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 ocamlformat-lib.0.27.0 0.27.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall ocamlformat-lib.0.27.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-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\" != 'ocamlformat-lib.0.27.0' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2024-11-29 15:19.41: Waiting for resource in pool OCluster
2024-11-29 15:21.17: Waiting for worker…
2024-11-29 15:24.02: Got resource from pool OCluster
Building on x86-bm-c10.sw.ocaml.org
All commits already cached
Updating files:  62% (20643/32803)
Updating files:  63% (20666/32803)
Updating files:  64% (20994/32803)
Updating files:  65% (21322/32803)
Updating files:  66% (21650/32803)
Updating files:  67% (21979/32803)
Updating files:  68% (22307/32803)
Updating files:  69% (22635/32803)
Updating files:  70% (22963/32803)
Updating files:  71% (23291/32803)
Updating files:  72% (23619/32803)
Updating files:  73% (23947/32803)
Updating files:  74% (24275/32803)
Updating files:  75% (24603/32803)
Updating files:  76% (24931/32803)
Updating files:  77% (25259/32803)
Updating files:  78% (25587/32803)
Updating files:  79% (25915/32803)
Updating files:  80% (26243/32803)
Updating files:  81% (26571/32803)
Updating files:  82% (26899/32803)
Updating files:  83% (27227/32803)
Updating files:  84% (27555/32803)
Updating files:  85% (27883/32803)
Updating files:  86% (28211/32803)
Updating files:  87% (28539/32803)
Updating files:  88% (28867/32803)
Updating files:  89% (29195/32803)
Updating files:  90% (29523/32803)
Updating files:  91% (29851/32803)
Updating files:  92% (30179/32803)
Updating files:  93% (30507/32803)
Updating files:  94% (30835/32803)
Updating files:  95% (31163/32803)
Updating files:  96% (31491/32803)
Updating files:  97% (31819/32803)
Updating files:  98% (32147/32803)
Updating files:  99% (32475/32803)
Updating files: 100% (32803/32803)
Updating files: 100% (32803/32803), done.
HEAD is now at 0b65c91e76 Merge pull request #26997 from hannesm/revive-rml
Updating 0b65c91e76..2791697732
Fast-forward
 .../ocamlformat-lib/ocamlformat-lib.0.27.0/opam    | 68 ++++++++++++++++++++++
 .../ocamlformat-rpc-lib.0.27.0/opam                | 49 ++++++++++++++++
 packages/ocamlformat/ocamlformat.0.27.0/opam       | 59 +++++++++++++++++++
 3 files changed, 176 insertions(+)
 create mode 100644 packages/ocamlformat-lib/ocamlformat-lib.0.27.0/opam
 create mode 100644 packages/ocamlformat-rpc-lib/ocamlformat-rpc-lib.0.27.0/opam
 create mode 100644 packages/ocamlformat/ocamlformat.0.27.0/opam

(from ocaml/opam:debian-12-ocaml-4.05@sha256:254705f715e78da9d6e3e46810cfa7b578f9a15b74827f043485e92df7c4f394)
2024-11-29 15:24.53 ---> saved as "3b01f28a220fd2efd08fa7b28344fd354d4e0a88838c3cd9ea6b2c586d9c821c"

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2024-11-29 15:24.53 ---> saved as "a6201365ee4dce8cdb192f6e097b64d37c938839e41c2307b6c7037916d8162e"

/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] synchronised from file:///home/opam/opam-repository
2024-11-29 15:26.24 ---> saved as "438ba6914478208801830068399a83d3dc898ac119babbbb33f6d2ff66e9118f"

/home/opam: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-126-generic
The OCaml toplevel, version 4.05.0
2.4.0~alpha1~dev
2024-11-29 15:26.24 ---> saved as "1a3bc688cf0ac6d3bd603d89ecf4e8f1fb8b137464fa44e9ffa71a58337d9a7e"

/home/opam: (env OPAMDOWNLOADJOBS 1)

/home/opam: (env OPAMERRLOGLEN 0)

/home/opam: (env OPAMSOLVERTIMEOUT 1000)

/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/"))
2024-11-29 15:26.32 ---> saved as "821ce489e017b8d3ac1ce542bcbfc46a51e145814bd21e04616f0eaab0f61226"

/home/opam: (copy (src .) (dst opam-repository/))
2024-11-29 15:26.43 ---> saved as "c12edb6d06e6d07095ff5442e42a8c0d158571c057d56fb7cffef09053028684"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2024-11-29 15:27.37 ---> saved as "3fcecfc2e06a8847c9b5782c6a297470f5eeafac15a0de739a69a5795948be80"

/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 bookworm-updates/main amd64 Packages.diff/Index [12.8 kB]
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2024-11-27-1405.46-F-2024-11-27-1405.46.pdiff [435 B]
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2024-11-27-1405.46-F-2024-11-27-1405.46.pdiff [435 B]
- Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [206 kB]
- Fetched 322 kB in 0s (1205 kB/s)
- Reading package lists...
2024-11-29 15:27.38 ---> saved as "b1fe07dcfeaecf9ba8c5c20db340909db3f60e673cb238d968f845c4efb99185"

/home/opam: (run (shell "opam pin add -k version -yn ocamlformat-lib.0.27.0 0.27.0"))
ocamlformat-lib is now pinned to version 0.27.0
2024-11-29 15:27.39 ---> saved as "f88ea176b088351a7f63f4d19f1d50ca548eb24911cb1f31ac965d9a889fde2f"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall ocamlformat-lib.0.27.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-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\" != 'ocamlformat-lib.0.27.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
ocamlformat-lib.0.27.0 is not installed. Install it? [Y/n] y
  * Incompatible packages:
    - (invariant) -> ocaml-base-compiler = 4.05.0
    - ocamlformat-lib >= 0.27.0 -> ocaml >= 4.08 -> dkml-base-compiler
    You can temporarily relax the switch invariant with `--update-invariant'
  * Incompatible packages:
    - (invariant) -> ocaml-base-compiler = 4.05.0
    - ocamlformat-lib >= 0.27.0 -> ocaml >= 4.08 -> ocaml-variants < 5.0.2~
  * Missing dependency:
    - ocamlformat-lib >= 0.27.0 -> ocaml >= 4.08 -> ocaml-variants >= 4.08.0 -> ocaml-beta
    unmet availability conditions: 'enable-ocaml-beta-repository'
  * Missing dependency:
    - ocamlformat-lib >= 0.27.0 -> ocaml >= 4.08 -> ocaml-variants >= 4.08.0 -> system-msvc
    unmet availability conditions: 'os = "win32"'

No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall ocamlformat-lib.0.27.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-12\""; then
            echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
          fi;
          test "$pkg" != 'ocamlformat-lib.0.27.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
2024-11-29 15:28.09: Job failed: Failed: Build failed
2024-11-29 15:28.09: Log analysis:
2024-11-29 15:28.09: >>> 
No solution found, exiting
 (score = 100)
2024-11-29 15:28.09: [SKIP] Package not available