(not at the head of any monitored branch or PR)
2024-09-11 08:27.11: New job: build kappa-agents.4.1.3, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/26530/head (91b8837bd693ab7fb62215fa396e96923b98d443)
                              on debian-12-ocaml-4.07/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/26530/head" && git reset --hard 91b8837b
git fetch origin master
git merge --no-edit abac1deff0ec6249cf93f6b25ffdc49ae1caf04c
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.07@sha256:9a61b9dbd5d12394ed4e3c3077c03b89359405d8a65a9ab0005c8d2331b32e3b
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="500"
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 kappa-agents.4.1.3 4.1.3
RUN opam reinstall kappa-agents.4.1.3; \
    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" != 'kappa-agents.4.1.3' && 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-09-11 08:27.11: Using cache hint "ocaml/opam:debian-12-ocaml-4.07@sha256:9a61b9dbd5d12394ed4e3c3077c03b89359405d8a65a9ab0005c8d2331b32e3b-kappa-agents.4.1.3-91b8837bd693ab7fb62215fa396e96923b98d443"
2024-09-11 08:27.11: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.07@sha256:9a61b9dbd5d12394ed4e3c3077c03b89359405d8a65a9ab0005c8d2331b32e3b)
 (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 500)
 (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 kappa-agents.4.1.3 4.1.3"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall kappa-agents.4.1.3;\
             \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\" != 'kappa-agents.4.1.3' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2024-09-11 08:27.11: Waiting for resource in pool OCluster
2024-09-11 08:27.12: Waiting for worker…
2024-09-11 08:27.12: Got resource from pool OCluster
Building on x86-bm-c8.sw.ocaml.org
All commits already cached
Updating files:  95% (30701/32181)
Updating files:  96% (30894/32181)
Updating files:  97% (31216/32181)
Updating files:  98% (31538/32181)
Updating files:  99% (31860/32181)
Updating files: 100% (32181/32181)
Updating files: 100% (32181/32181), done.
HEAD is now at abac1deff0 Merge pull request #26532 from copy/master
Updating abac1deff0..91b8837bd6
Fast-forward
 packages/kappa-agents/kappa-agents.4.1.3/opam     | 64 +++++++++++++++++++++++
 packages/kappa-binaries/kappa-binaries.4.1.3/opam | 64 +++++++++++++++++++++++
 packages/kappa-library/kappa-library.4.1.3/opam   | 61 +++++++++++++++++++++
 3 files changed, 189 insertions(+)
 create mode 100644 packages/kappa-agents/kappa-agents.4.1.3/opam
 create mode 100644 packages/kappa-binaries/kappa-binaries.4.1.3/opam
 create mode 100644 packages/kappa-library/kappa-library.4.1.3/opam

(from ocaml/opam:debian-12-ocaml-4.07@sha256:9a61b9dbd5d12394ed4e3c3077c03b89359405d8a65a9ab0005c8d2331b32e3b)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.07@sha256:9a61b9dbd5d12394ed4e3c3077c03b89359405d8a65a9ab0005c8d2331b32e3b' locally
docker.io/ocaml/opam@sha256:9a61b9dbd5d12394ed4e3c3077c03b89359405d8a65a9ab0005c8d2331b32e3b: Pulling from ocaml/opam
6cc04072d85a: Pulling fs layer
6cc04072d85a: Verifying Checksum
6cc04072d85a: Download complete
6cc04072d85a: Pull complete
Digest: sha256:9a61b9dbd5d12394ed4e3c3077c03b89359405d8a65a9ab0005c8d2331b32e3b
Status: Downloaded newer image for ocaml/opam@sha256:9a61b9dbd5d12394ed4e3c3077c03b89359405d8a65a9ab0005c8d2331b32e3b
2024-09-11 08:27.19 ---> using "204cd578d3062e36ef07fb9c1255d2caa278c713f0d1a3687f9c1eab94635838" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2024-09-11 08:27.19 ---> using "b15dfac2018cb87cfb86da78c3e7eb4f0bfc2f1e7cd3e66af711fbedde66def3" 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
[NOTE] The 'jobs' option was reset, its value was 39 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=39 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-09-11 08:27.19 ---> using "d00e5d18ce5e87546a01378326ec5f21b21a9c7a98b18dfd539967b86acd6e91" from cache

/home/opam: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-119-generic
The OCaml toplevel, version 4.07.1
2.3.0~alpha~dev
2024-09-11 08:27.19 ---> using "dc6072d2abb8b84e3ccb6a3fc93ab44d59dcef42ae7760f37f0ba56c24412a6c" from cache

/home/opam: (env OPAMDOWNLOADJOBS 1)

/home/opam: (env OPAMERRLOGLEN 0)

/home/opam: (env OPAMSOLVERTIMEOUT 500)

/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-09-11 08:27.19 ---> using "8408996ce219a4153ce2a08aa74ba250dede64d3829b8e60e3ff42fba753cd9f" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2024-09-11 08:27.30 ---> saved as "ec102eab61dfde52e15f04413dd61b991efec6c9a08810c1452d0207af06225f"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2024-09-11 08:28.26 ---> saved as "346c5549b94939b3f61862f13f2298956eeb412c337f9a88feccf703aa95aec5"

/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 [11.7 kB]
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2024-09-10-2011.55-F-2024-09-10-2011.55.pdiff [1116 B]
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2024-09-10-2011.55-F-2024-09-10-2011.55.pdiff [1116 B]
- Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [179 kB]
- Fetched 295 kB in 0s (1178 kB/s)
- Reading package lists...
2024-09-11 08:28.27 ---> saved as "424c7af6447519d2a5bf1642e717240efe5433b30745d36e61550b0837ef631e"

/home/opam: (run (shell "opam pin add -k version -yn kappa-agents.4.1.3 4.1.3"))
kappa-agents is now pinned to version 4.1.3
2024-09-11 08:28.28 ---> saved as "d297dc12decef6614b534c5043e64c346dbed7c46c85ed5518731d1d8e42b011"

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

No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall kappa-agents.4.1.3;
        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" != 'kappa-agents.4.1.3' && 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-09-11 08:29.02: Job failed: Failed: Build failed
2024-09-11 08:29.02: Log analysis:
2024-09-11 08:29.02: >>> 
No solution found, exiting
 (score = 100)
2024-09-11 08:29.02: [SKIP] Package not available