(for PR #28326)

2025-08-12 04:03.18: New job: build mosaic.1.0.0~alpha0, using opam 2.3
                              from https://github.com/ocaml/opam-repository.git#refs/pull/28326/head (d58bd10ebb1b37f6389a3b08d16305ecc873703c)
                              on opensuse-tumbleweed-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/28326/head" && git reset --hard d58bd10e
git fetch origin master
git merge --no-edit fb96181bf90338b7e9a1c6a0001541cab4756218
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:opensuse-tumbleweed-ocaml-5.3@sha256:e6ec7c62eabc85af829d85632dc45eaca1554b0e337651d8b6be01fc020972f0
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 mosaic.1.0.0~alpha0 1.0.0~alpha0
RUN opam reinstall mosaic.1.0.0~alpha0; \
    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 "\"opensuse-tumbleweed\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'mosaic.1.0.0~alpha0' && 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-08-12 04:03.18: Using cache hint "ocaml/opam:opensuse-tumbleweed-ocaml-5.3@sha256:e6ec7c62eabc85af829d85632dc45eaca1554b0e337651d8b6be01fc020972f0-mosaic.1.0.0~alpha0-d58bd10ebb1b37f6389a3b08d16305ecc873703c"
2025-08-12 04:03.18: Using OBuilder spec:
((from ocaml/opam:opensuse-tumbleweed-ocaml-5.3@sha256:e6ec7c62eabc85af829d85632dc45eaca1554b0e337651d8b6be01fc020972f0)
 (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 mosaic.1.0.0~alpha0 1.0.0~alpha0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall mosaic.1.0.0~alpha0;\
             \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 \"\\\"opensuse-tumbleweed\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'mosaic.1.0.0~alpha0' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2025-08-12 04:03.18: Waiting for resource in pool OCluster
2025-08-12 04:03.19: Waiting for worker…
2025-08-12 04:03.22: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at fb96181bf9 Merge pull request #28332 from jmid/fix-bad-checksums
Updating fb96181bf9..d58bd10ebb
Fast-forward
 packages/matrix-term/matrix-term.1.0.0~alpha0/opam | 43 +++++++++++++++++
 packages/matrix/matrix.1.0.0~alpha0/opam           | 45 ++++++++++++++++++
 packages/mosaic/mosaic.1.0.0~alpha0/opam           | 55 ++++++++++++++++++++++
 packages/toffee/toffee.1.0.0~alpha0/opam           | 41 ++++++++++++++++
 packages/vcr/vcr.1.0.0~alpha0/opam                 | 47 ++++++++++++++++++
 5 files changed, 231 insertions(+)
 create mode 100644 packages/matrix-term/matrix-term.1.0.0~alpha0/opam
 create mode 100644 packages/matrix/matrix.1.0.0~alpha0/opam
 create mode 100644 packages/mosaic/mosaic.1.0.0~alpha0/opam
 create mode 100644 packages/toffee/toffee.1.0.0~alpha0/opam
 create mode 100644 packages/vcr/vcr.1.0.0~alpha0/opam

(from ocaml/opam:opensuse-tumbleweed-ocaml-5.3@sha256:e6ec7c62eabc85af829d85632dc45eaca1554b0e337651d8b6be01fc020972f0)
Unable to find image 'ocaml/opam:opensuse-tumbleweed-ocaml-5.3@sha256:e6ec7c62eabc85af829d85632dc45eaca1554b0e337651d8b6be01fc020972f0' locally
docker.io/ocaml/opam@sha256:e6ec7c62eabc85af829d85632dc45eaca1554b0e337651d8b6be01fc020972f0: Pulling from ocaml/opam
da4c87463001: Pulling fs layer
f66ce3ad4f17: Pulling fs layer
618d3611c9c6: Pulling fs layer
cc8e9f198056: Pulling fs layer
e5b4636cf5c4: Pulling fs layer
3d0158ad3687: Pulling fs layer
b9a722523e17: Pulling fs layer
a5aff221c298: Pulling fs layer
618d3611c9c6: Waiting
e5b4636cf5c4: Waiting
da4c87463001: Waiting
3d0158ad3687: Waiting
cc8e9f198056: Waiting
f66ce3ad4f17: Waiting
a5aff221c298: Waiting
b9a722523e17: Waiting
f66ce3ad4f17: Download complete
618d3611c9c6: Download complete
cc8e9f198056: Verifying Checksum
cc8e9f198056: Download complete
e5b4636cf5c4: Verifying Checksum
e5b4636cf5c4: Download complete
3d0158ad3687: Verifying Checksum
3d0158ad3687: Download complete
b9a722523e17: Download complete
a5aff221c298: Verifying Checksum
a5aff221c298: Download complete
da4c87463001: Verifying Checksum
da4c87463001: Download complete
da4c87463001: Pull complete
f66ce3ad4f17: Pull complete
618d3611c9c6: Pull complete
cc8e9f198056: Pull complete
e5b4636cf5c4: Pull complete
3d0158ad3687: Pull complete
b9a722523e17: Pull complete
a5aff221c298: Pull complete
Digest: sha256:e6ec7c62eabc85af829d85632dc45eaca1554b0e337651d8b6be01fc020972f0
Status: Downloaded newer image for ocaml/opam@sha256:e6ec7c62eabc85af829d85632dc45eaca1554b0e337651d8b6be01fc020972f0
2025-08-12 04:04.21 ---> using "f881129fc4457f0a39c5b87a2fc4cb496c62caf9692b42333a37208a181f53d4" 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-08-12 04:04.21 ---> using "2fac1737d622d94c586c76f583e6f237c82dcb390d30c1c9eee7f95bbc99a1de" 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 71 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=71 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-08-12 04:04.21 ---> using "da83aa23b79b46d105833c272ac36dd5aaaf4b577de606fa303839fdde47da5c" 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=opensuse-tumbleweed os-version=20250807
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 255
# 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-08-12 04:04.21 ---> using "d456a8d28125f90865f37938c7b3cc0bcdf5ec91888d7fe1ba310dc8dc35784c" 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-08-12 04:04.21 ---> using "b1235834c780536933cd8a05fd68234dd44ae189eb3519cceed381719455b6d2" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-08-12 04:04.30 ---> saved as "3f4ac9c551f36a4cee01e7f8700d63c3af804b82ad9cba9f0b977a11515fafec"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-08-12 04:04.47 ---> saved as "583222b1ae083e81497d9ee36fe976d89f238823ba980fce01ca687500e59f46"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "zypper" "--non-interactive" "refresh"
- Repository 'openSUSE-Tumbleweed-Update' is up to date.
- Retrieving repository 'openSUSE-Tumbleweed-Non-Oss' metadata [.
- ..
- Looking for gpg keys in repository openSUSE-Tumbleweed-Non-Oss.
-   gpgkey=http://download.opensuse.org/tumbleweed/repo/non-oss/repodata/repomd.xml.key
- .......done]
- Building repository 'openSUSE-Tumbleweed-Non-Oss' cache [....done]
- Retrieving repository 'openSUSE-Tumbleweed-Oss' metadata [.
- ..
- Looking for gpg keys in repository openSUSE-Tumbleweed-Oss.
-   gpgkey=http://download.opensuse.org/tumbleweed/repo/oss/repodata/repomd.xml.key
- ........
- ..........
- .........
- .........
- ........
- ........
- ..........
- ........
- .......
- ......
- .....
- .....
- .......
- ...........
- ......
- ......
- .........
- .........
- ..........
- ........
- ..........
- ...........
- ........
- .........
- .........
- .........
- ..........
- .........
- ..........
- ..........
- .........
- ..........
- .........
- ........
- ......
- ......
- .....
- .........
- ....done]
- Building repository 'openSUSE-Tumbleweed-Oss' cache [..
- ..done]
- All repositories have been refreshed.
2025-08-12 04:05.35 ---> saved as "0afe97113e3cdedf8027f1f6b82fe76deed53ce5fd98bba2aed60fd8b851edbe"

/home/opam: (run (shell "opam pin add -k version -yn mosaic.1.0.0~alpha0 1.0.0~alpha0"))
mosaic is now pinned to version 1.0.0~alpha0
2025-08-12 04:05.35 ---> saved as "94f6a74ca63b3d7ea4e84f89015e8eb62b61dfeaf599d7c246468bd5f1b0784c"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall mosaic.1.0.0~alpha0;\
                        \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 \"\\\"opensuse-tumbleweed\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'mosaic.1.0.0~alpha0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
mosaic.1.0.0~alpha0 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 36 packages
  - install bigstringaf        0.10.0                [required by eio]
  - install cmarkit            0.3.0                 [required by mosaic]
  - install conf-oniguruma     1                     [required by oniguruma]
  - install conf-pkg-config    4                     [required by conf-oniguruma]
  - install csexp              1.5.2                 [required by dune-configurator]
  - install cstruct            6.2.0                 [required by eio]
  - install domain-local-await 1.0.1                 [required by eio]
  - install dune               3.19.1                [required by mosaic]
  - install dune-configurator  3.19.1                [required by bigstringaf, oniguruma]
  - install eio                1.3                   [required by mosaic]
  - install eio_linux          1.3                   [required by eio_main]
  - install eio_main           1.3                   [required by mosaic]
  - install eio_posix          1.3                   [required by eio_main]
  - install fmt                0.11.0                [required by mosaic]
  - install hmap               0.8.1                 [required by eio]
  - install iomux              0.3                   [required by eio_posix]
  - install logs               0.9.0                 [required by mosaic]
  - install lwt-dllist         1.1.0                 [required by eio]
  - install matrix             1.0.0~alpha0          [required by mosaic]
  - install mosaic             1.0.0~alpha0 (pinned)
  - install mtime              2.1.0                 [required by eio]
  - install ocamlbuild         0.16.1                [required by cmarkit, logs]
  - install ocamlfind          1.9.8                 [required by cmarkit, logs]
  - install oniguruma          0.1.2                 [required by textmate-language]
  - install optint             0.3.0                 [required by eio]
  - install psq                0.2.1                 [required by eio]
  - install seq                base                  [required by psq]
  - install textmate-language  0.4.0                 [required by mosaic]
  - install thread-table       1.0.0                 [required by domain-local-await]
  - install toffee             1.0.0~alpha0          [required by mosaic]
  - install topkg              1.1.0                 [required by cmarkit, logs]
  - install uring              0.9                   [required by eio_linux]
  - install uucp               16.0.0                [required by mosaic]
  - install uuseg              16.0.0                [required by mosaic]
  - install uutf               1.0.4                 [required by mosaic]
  - install yojson             3.0.0                 [required by mosaic]

The following system packages will first need to be installed:
    oniguruma-devel

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>

opam believes some required external dependencies are missing. opam can:
> 1. Run zypper to install them (may need root/sudo access)
  2. Display the recommended zypper command and wait while you run it manually (e.g. in another terminal)
  3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable
  4. Abort the installation

[1/2/3/4] 1

+ /usr/bin/sudo "zypper" "--non-interactive" "install" "oniguruma-devel"
- Loading repository data...
- Reading installed packages...
- Resolving package dependencies...
- 
- The following 2 NEW packages are going to be installed:
-   libonig5 oniguruma-devel
- 
- 2 new packages to install.
- 
- Package download size:   313.4 KiB
- 
- Package install size change:
-               |       1.1 MiB  required by packages that will be installed
-      1.1 MiB  |  -      0 B    released by packages that will be removed
- 
- Backend:  classic_rpmtrans
- Continue? [y/n/v/...? shows all options] (y): y
- Preloading Packages [.
- .
- Preloading: oniguruma-devel-6.9.10-2.1.x86_64.rpm [done]
- ..
- Preloading: libonig5-6.9.10-2.1.x86_64.rpm [done]
- .done]
- Retrieving: libonig5-6.9.10-2.1.x86_64 (openSUSE-Tumbleweed-Oss) (1/2), 180.5 KiB    
- Retrieving: oniguruma-devel-6.9.10-2.1.x86_64 (openSUSE-Tumbleweed-Oss) (2/2), 132.9 KiB    
- 
- Checking for file conflicts: [..done]
- (1/2) Installing: libonig5-6.9.10-2.1.x86_64 [..
- done]
- (2/2) Installing: oniguruma-devel-6.9.10-2.1.x86_64 [..done]
- Running post-transaction scripts [...done]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved bigstringaf.0.10.0  (cached)
-> retrieved cmarkit.0.3.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved cstruct.6.2.0  (cached)
-> installed conf-pkg-config.4
-> retrieved domain-local-await.1.0.1  (cached)
-> installed conf-oniguruma.1
-> retrieved dune.3.19.1, dune-configurator.3.19.1  (cached)
-> retrieved eio.1.3, eio_linux.1.3, eio_main.1.3, eio_posix.1.3  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved hmap.0.8.1  (cached)
-> retrieved iomux.0.3  (cached)
-> retrieved logs.0.9.0  (cached)
-> retrieved lwt-dllist.1.1.0  (cached)
-> retrieved matrix.1.0.0~alpha0, mosaic.1.0.0~alpha0, toffee.1.0.0~alpha0  (cached)
-> retrieved mtime.2.1.0  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved oniguruma.0.1.2  (cached)
-> retrieved optint.0.3.0  (cached)
-> retrieved psq.0.2.1  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved textmate-language.0.4.0  (cached)
-> retrieved thread-table.1.0.0  (cached)
-> retrieved topkg.1.1.0  (cached)
-> retrieved uring.0.9  (cached)
-> retrieved uucp.16.0.0  (cached)
-> retrieved uuseg.16.0.0  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved yojson.3.0.0  (cached)
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.0
-> installed hmap.0.8.1
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed mtime.2.1.0
-> installed logs.0.9.0
-> installed cmarkit.0.3.0
-> installed dune.3.19.1
-> installed csexp.1.5.2
-> installed cstruct.6.2.0
-> installed lwt-dllist.1.1.0
-> installed optint.0.3.0
-> installed psq.0.2.1
-> installed thread-table.1.0.0
-> installed yojson.3.0.0
-> installed domain-local-await.1.0.1
-> installed toffee.1.0.0~alpha0
-> installed dune-configurator.3.19.1
-> installed bigstringaf.0.10.0
-> installed iomux.0.3
-> installed oniguruma.0.1.2
-> installed textmate-language.0.4.0
-> installed uring.0.9
-> installed eio.1.3
-> installed eio_linux.1.3
-> installed eio_posix.1.3
-> installed eio_main.1.3
-> installed uucp.16.0.0
-> installed uuseg.16.0.0
-> installed matrix.1.0.0~alpha0
-> installed mosaic.1.0.0~alpha0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-08-12 04:06.25 ---> saved as "8203a432fac84b1c004b905b99d155d5fae3f0e87ebc4efd104e562e0ad35ea9"
Job succeeded
2025-08-12 04:07.03: Job succeeded