(not at the head of any monitored branch or PR)
2025-09-17 23:54.04: New job: build portmidi.0.4, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/28531/head (a8d0d9a7b31d8081082c166f58dbb8ef221daea4)
                              on debian-13-ocaml-5.3/i386

To reproduce locally:

cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/28531/head" && git reset --hard a8d0d9a7
git fetch origin master
git merge --no-edit 151ffce963e54519dd5d1280848f631d38db358e
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.3@sha256:218164d5bd9111cf10ecababa0070c54277b2aeb70acf9952ec646dc7d4c356a
SHELL [ "/usr/bin/linux32", "/bin/sh", "-c" ]
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 portmidi.0.4 0.4
RUN opam reinstall portmidi.0.4; \
    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" != 'portmidi.0.4' && 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-17 23:54.04: Using cache hint "ocaml/opam:debian-13-ocaml-5.3@sha256:218164d5bd9111cf10ecababa0070c54277b2aeb70acf9952ec646dc7d4c356a-portmidi.0.4-a8d0d9a7b31d8081082c166f58dbb8ef221daea4"
2025-09-17 23:54.04: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.3@sha256:218164d5bd9111cf10ecababa0070c54277b2aeb70acf9952ec646dc7d4c356a)
 (shell /usr/bin/linux32 /bin/sh -c)
 (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 portmidi.0.4 0.4"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall portmidi.0.4;\
             \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\" != 'portmidi.0.4' && 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-17 23:54.04: Waiting for resource in pool OCluster
2025-09-17 23:54.04: Waiting for worker…
2025-09-17 23:54.06: Got resource from pool OCluster
Building on eumache
All commits already cached
HEAD is now at 151ffce963 Merge pull request #28412 from andersfugmann/release-ocaml-protoc-plugin-6.2.0
Updating 151ffce963..a8d0d9a7b3
Fast-forward
 packages/portmidi/portmidi.0.4/opam | 43 +++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)
 create mode 100644 packages/portmidi/portmidi.0.4/opam

(from ocaml/opam:debian-13-ocaml-5.3@sha256:218164d5bd9111cf10ecababa0070c54277b2aeb70acf9952ec646dc7d4c356a)
Unable to find image 'ocaml/opam:debian-13-ocaml-5.3@sha256:218164d5bd9111cf10ecababa0070c54277b2aeb70acf9952ec646dc7d4c356a' locally
docker.io/ocaml/opam@sha256:218164d5bd9111cf10ecababa0070c54277b2aeb70acf9952ec646dc7d4c356a: Pulling from ocaml/opam
1859827bd598: Already exists
Digest: sha256:218164d5bd9111cf10ecababa0070c54277b2aeb70acf9952ec646dc7d4c356a
Status: Downloaded newer image for ocaml/opam@sha256:218164d5bd9111cf10ecababa0070c54277b2aeb70acf9952ec646dc7d4c356a
2025-09-17 23:55.13 ---> using "69591fed65abc2698ad9f231c4e8520ef59828a7352c177ba5135a1c6c1f0624" from cache

/: (shell /usr/bin/linux32 /bin/sh -c)

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-09-17 23:55.14 ---> using "e0e4573bfc74716deb30354a33f212a67051855e68b7c76290dac7055d7c5011" 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
2025-09-17 23:55.14 ---> using "1a240efd58355d1a81cf2073ffb1bbe8adb990be620ba0f641666f8177da8b66" 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.4.1
# self-upgrade         no
# system               arch=x86_32 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       5.3
# invariant            ["ocaml-base-compiler" {= "5.3.0"}]
# compiler-packages    ocaml-base-compiler.5.3.0, ocaml-compiler.5.3.0, ocaml-option-bytecode-only.1, ocaml-options-vanilla.1
# ocaml:native         false
# ocaml:native-tools   false
# ocaml:native-dynlink false
# 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+bytecode-only
2025-09-17 23:55.14 ---> using "efcb7c6c34f88f0cd26e895776e53db749dda17e42d38d98b5c66acde2e56b7a" 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-09-17 23:55.14 ---> using "74d4de4316a3f6c23b8faa26de23ebe75c9e7c2c1cf6d5c65c22df710d43f4c7" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-09-17 23:55.19 ---> saved as "f3759f45269a4b263d3d470ef11094087bad578014f4ef80c8b39dd96643089e"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-09-17 23:55.56 ---> saved as "242cd15f979fb597a298ffa4aa6b28810feb368a7274cdd55f9eddba2b08fc1a"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian-security trixie-security/main i386 Packages [36.6 kB]
- Fetched 127 kB in 0s (1013 kB/s)
- Reading package lists...
- 
2025-09-17 23:55.58 ---> saved as "01df8437e1493152ce24afb54afc6ba38a6889f3e17cfdb55cc253aacb7a8cb5"

/home/opam: (run (shell "opam pin add -k version -yn portmidi.0.4 0.4"))
portmidi is now pinned to version 0.4
2025-09-17 23:55.59 ---> saved as "59fb7967b9786cde06a2e4939eba58d6f5fe973f649f0071eabc215efbd32438"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall portmidi.0.4;\
                        \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\" != 'portmidi.0.4' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
portmidi.0.4 is not installed. Install it? [Y/n] y
  * Incompatible packages:
    - (invariant) -> ocaml-base-compiler = 5.3.0
    - portmidi >= 0.4 -> core_kernel -> ocaml < 4.12.0 -> ocaml-variants (< 4.00.1~ | >= 4.00.1)
    You can temporarily relax the switch invariant with `--update-invariant'
  * Incompatible packages:
    - (invariant) -> ocaml-base-compiler = 5.3.0 -> ocaml-compiler = 5.3.0 -> base-domains
    - portmidi >= 0.4 -> core_kernel -> core >= v0.15
  * Incompatible packages:
    - (invariant) -> ocaml-base-compiler = 5.3.0
    - portmidi >= 0.4 -> core_kernel -> typerep < v0.15 -> ocaml < 5.0 -> dkml-base-compiler
  * Missing dependency:
    - portmidi >= 0.4 -> core_kernel -> core >= v0.15 -> ocaml < 5.1~ -> ocaml-base-compiler (<= 3.07+1 | = 3.07+2 | = 3.08.0 | = 3.08.1 | = 3.08.2 | = 3.08.3 | = 3.08.4 | = 3.09.0) | ocaml-system (<= 3.07+1 | = 3.07+2 | >= 3.08.0) | ocaml-variants < 3.09.1~
    not available because the package is pinned to version 5.3.0
    unmet availability conditions, e.g. 'sys-ocaml-version = "5.3.0" & (os != "win32" | sys-ocaml-libc = "msvc")'
    no matching version
  * Missing dependency:
    - portmidi >= 0.4 -> core_kernel -> ocaml < 4.12.0 -> ocaml-variants >= 4.00.1 -> ocaml-beta
    unmet availability conditions: 'enable-ocaml-beta-repository'
  * Missing dependency:
    - portmidi >= 0.4 -> core_kernel -> ocaml < 4.12.0 -> ocaml-variants >= 4.00.1 -> system-msvc
    unmet availability conditions: 'os = "win32"'

No solution found, exiting
"/usr/bin/linux32" "/bin/sh" "-c" "opam reinstall portmidi.0.4;
        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" != 'portmidi.0.4' && 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
2025-09-17 23:56.28: Job failed: Failed: Build failed
2025-09-17 23:56.28: Log analysis:
2025-09-17 23:56.28: >>> 
No solution found, exiting
 (score = 100)
2025-09-17 23:56.28: [SKIP] Package not available