Build:
  1. 0
2025-12-10 21:58.41: New job: build matcha.0.1.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29068/head (12389ddd91cbf99f292a767b115057f6064fe4d0)
                              on debian-13-ocaml-4.14/s390x

To reproduce locally:

cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/29068/head" && git reset --hard 12389ddd
git fetch origin master
git merge --no-edit e2b1c931a016a89e38929697a64f4de453198e16
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.14@sha256:3c063f1343fbb634652f9843c7444dea749ee822ac77b7d9d1a6f80f47cc4008
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 matcha.0.1.0 0.1.0
RUN opam reinstall matcha.0.1.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-13\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'matcha.0.1.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 .

2025-12-10 21:58.41: Using cache hint "ocaml/opam:debian-13-ocaml-4.14@sha256:3c063f1343fbb634652f9843c7444dea749ee822ac77b7d9d1a6f80f47cc4008-matcha.0.1.0-12389ddd91cbf99f292a767b115057f6064fe4d0"
2025-12-10 21:58.41: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14@sha256:3c063f1343fbb634652f9843c7444dea749ee822ac77b7d9d1a6f80f47cc4008)
 (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 matcha.0.1.0 0.1.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall matcha.0.1.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-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\" != 'matcha.0.1.0' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2025-12-10 21:58.41: Waiting for resource in pool OCluster
2025-12-10 21:58.41: Waiting for worker…
2025-12-10 22:32.45: Got resource from pool OCluster
Building on s390x-worker-01.marist.ci.dev
All commits already cached
Updating files:  82% (15670/18999)
Updating files:  83% (15770/18999)
Updating files:  84% (15960/18999)
Updating files:  85% (16150/18999)
Updating files:  86% (16340/18999)
Updating files:  87% (16530/18999)
Updating files:  88% (16720/18999)
Updating files:  89% (16910/18999)
Updating files:  90% (17100/18999)
Updating files:  91% (17290/18999)
Updating files:  92% (17480/18999)
Updating files:  93% (17670/18999)
Updating files:  94% (17860/18999)
Updating files:  95% (18050/18999)
Updating files:  96% (18240/18999)
Updating files:  97% (18430/18999)
Updating files:  98% (18620/18999)
Updating files:  99% (18810/18999)
Updating files: 100% (18999/18999)
Updating files: 100% (18999/18999), done.
HEAD is now at e2b1c931a0 Merge pull request #29039 from ocaml/prep-lwt-6
Updating e2b1c931a0..12389ddd91
Fast-forward
 packages/matcha/matcha.0.1.0/opam | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)
 create mode 100644 packages/matcha/matcha.0.1.0/opam

(from ocaml/opam:debian-13-ocaml-4.14@sha256:3c063f1343fbb634652f9843c7444dea749ee822ac77b7d9d1a6f80f47cc4008)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.14@sha256:3c063f1343fbb634652f9843c7444dea749ee822ac77b7d9d1a6f80f47cc4008' locally
docker.io/ocaml/opam@sha256:3c063f1343fbb634652f9843c7444dea749ee822ac77b7d9d1a6f80f47cc4008: Pulling from ocaml/opam
af4c50a2cf28: Already exists
138ab0950a28: Already exists
eb860b03eb68: Already exists
6abb8bf8e7e6: Already exists
d88a55089b1c: Already exists
988e6b5f897a: Already exists
78309ad77658: Already exists
60aeed7dcb57: Already exists
23345a4ef487: Already exists
6503ec7362ae: Already exists
60535906be20: Already exists
fe26fbfe9834: Already exists
d07d668bb99c: Already exists
4496f11c353d: Already exists
a278f7970f73: Already exists
83323dc24521: Already exists
9e43aff4addf: Already exists
f2f855217eda: Already exists
01573bfbe3be: Already exists
7a4bd6c59fb4: Already exists
31003d094784: Already exists
a40090afa296: Already exists
4f4fb700ef54: Already exists
07b0e096a17f: Already exists
7c7acead71e8: Already exists
323084460a37: Already exists
1c8b9687a8f6: Already exists
9de7e57a4788: Already exists
5df137f664c3: Already exists
5c750dcbb0bb: Already exists
0ec38de66c15: Already exists
99c180472c45: Already exists
e9aa8b56fe47: Already exists
d3caa76e20e7: Already exists
e56ffd0c0bc8: Already exists
1af94b5d2b6c: Already exists
499b20c49901: Already exists
bce42a17a6ce: Already exists
18fc022a4dd3: Already exists
412e3484d8b9: Already exists
871bb35e30e2: Already exists
f605e6000ca9: Pulling fs layer
bfc8ab01aa0e: Pulling fs layer
724b96d7f49b: Pulling fs layer
4012b9660f0c: Pulling fs layer
4012b9660f0c: Waiting
bfc8ab01aa0e: Download complete
724b96d7f49b: Verifying Checksum
724b96d7f49b: Download complete
4012b9660f0c: Verifying Checksum
4012b9660f0c: Download complete
f605e6000ca9: Verifying Checksum
f605e6000ca9: Download complete
f605e6000ca9: Pull complete
bfc8ab01aa0e: Pull complete
724b96d7f49b: Pull complete
4012b9660f0c: Pull complete
Digest: sha256:3c063f1343fbb634652f9843c7444dea749ee822ac77b7d9d1a6f80f47cc4008
Status: Downloaded newer image for ocaml/opam@sha256:3c063f1343fbb634652f9843c7444dea749ee822ac77b7d9d1a6f80f47cc4008
2025-12-10 22:32.49 ---> using "f3e256ee15597c77c59c1eb2675eb10afab5f1b91db35a61a9423155f60343e2" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-12-10 22:32.49 ---> using "914ad784f9e926c2c1e3d41dc656be3bdb836e54182b8b0e41af9e33f45c7b31" 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.

Continue? [Y/n] y
Format upgrade done.
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.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-12-10 22:32.49 ---> using "d89ac090505c9e2d9a52c968aa463b9233b3f8bf0ae2d495b687627256badd32" 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.5.0
# self-upgrade         no
# system               arch=s390x 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                 3
# repositories         1 (version-controlled)
# pinned               1 (version)
# current-switch       4.14
# invariant            ["ocaml-base-compiler" {= "4.14.2"}]
# compiler-packages    ocaml-base-compiler.4.14.2, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/4.14/lib/ocaml/stublibs:/home/opam/.opam/4.14/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       4.14.2
2025-12-10 22:32.49 ---> using "c400afec060254c68a5ed5f44cdebc88a3c1c89e51b19d525cf8665e1fad3441" 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-12-10 22:32.49 ---> using "20b3a92684c7157f2a6bd8ef8426108743f3ef5cc2518504ad57be9e9bf6353f" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-12-10 22:34.19 ---> saved as "71e91da881cb992730dcd96aa1644233edfe893bf80e53e7990b76e3b66fb764"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-12-10 22:36.07 ---> saved as "57a751b61453fc5e54d8298f5b672c6bc26b1b30535300b9467d7729b16d1a42"

/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 s390x Packages [73.1 kB]
- Fetched 164 kB in 1s (230 kB/s)
- Reading package lists...
- 
2025-12-10 22:36.20 ---> saved as "613e80b1ed3ebc8f262a93989577c32cb14c38a715cda4527757bd69e8b7dff5"

/home/opam: (run (shell "opam pin add -k version -yn matcha.0.1.0 0.1.0"))
matcha is now pinned to version 0.1.0
2025-12-10 22:36.31 ---> saved as "c79f9f13072ee6b3c9a9eb32d211d7135189291e82612d23d8cd79fa8843afe3"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall matcha.0.1.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-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\" != 'matcha.0.1.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
matcha.0.1.0 is not installed. Install it? [Y/n] y
  * No agreement on the version of ocaml:
    - (invariant) -> ocaml-base-compiler = 4.14.2 -> ocaml = 4.14.2
    - matcha -> ocaml >= 5.2.0
    You can temporarily relax the switch invariant with `--update-invariant'
  * Incompatible packages:
    - (invariant) -> ocaml-base-compiler = 4.14.2
    - matcha -> ocaml >= 5.2.0 -> ocaml-variants >= 5.5.0~

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