(for PR #28326)

2025-08-12 04:03.18: New job: build mosaic.1.0.0~alpha0, using opam 2.1
                              from https://github.com/ocaml/opam-repository.git#refs/pull/28326/head (d58bd10ebb1b37f6389a3b08d16305ecc873703c)
                              on debian-12-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:debian-12-ocaml-5.3@sha256:4c128e28b76bc23613903dd2c78bdf0a5de36bc06b2b1eea8d3079d07756aa03
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.1 /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 "\"debian-12\""; 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:debian-12-ocaml-5.3@sha256:4c128e28b76bc23613903dd2c78bdf0a5de36bc06b2b1eea8d3079d07756aa03-mosaic.1.0.0~alpha0-d58bd10ebb1b37f6389a3b08d16305ecc873703c"
2025-08-12 04:03.18: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3@sha256:4c128e28b76bc23613903dd2c78bdf0a5de36bc06b2b1eea8d3079d07756aa03)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-2.1 /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 \"\\\"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\" != '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.23: Waiting for worker…
2025-08-12 04:04.34: Got resource from pool OCluster
Building on phoebe
All commits already cached
Updating files:  92% (16647/17999)
Updating files:  93% (16740/17999)
Updating files:  94% (16920/17999)
Updating files:  95% (17100/17999)
Updating files:  96% (17280/17999)
Updating files:  97% (17460/17999)
Updating files:  98% (17640/17999)
Updating files:  99% (17820/17999)
Updating files: 100% (17999/17999)
Updating files: 100% (17999/17999), done.
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:debian-12-ocaml-5.3@sha256:4c128e28b76bc23613903dd2c78bdf0a5de36bc06b2b1eea8d3079d07756aa03)
2025-08-12 04:05.53 ---> using "136b9da5b4792138f95300e61d33f42dd45fd35a017a7276daca78afc682748d" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2025-08-12 04:05.53 ---> using "86ec59eb1277a6f779c63c770347b8464405362feb9a0624241e7dece8d05589" 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.1, 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-08-12 04:05.53 ---> using "712db0790b87841dba657d726adcb24729aef268ed24a96123e7af0b780349cd" 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.1.6 (263921263e1f745613e2882745114b7b08f3608b) 
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=debian os-version=12
# solver               builtin-0install
# install-criteria     
# upgrade-criteria     
# jobs                 71
# repositories         1 (version-controlled)
# pinned               1 (version)
# current-switch       5.3
# 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:05.53 ---> using "5b809a6b3c802398e7abba8fca860419ea595398a3fab427dbcc198daf30067d" 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:05.53 ---> using "9155a4760d60c12d607f97b73039423bd7411a3270d691afe63ef334fb902fe3" from cache

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

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

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
- 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 [21.8 kB]
- Ign:4 http://deb.debian.org/debian bookworm-updates/main amd64 Packages.diff/Index
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages [6924 B]
- Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [272 kB]
- Fetched 555 kB in 1s (684 kB/s)
- Reading package lists...
- 
2025-08-12 04:06.28 ---> saved as "5fe3aff9c7d58c2c815bc3df6d0de1595de5643b2438002e3a91116f39f6df45"

/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:06.30 ---> saved as "8d22b55fac3125278696bcd7111678f9f2079e7db324597ee1347f558bcf13c8"

/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 \"\\\"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\" != '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 ocamlbuild         0.16.1        [required by cmarkit, logs]
  - install dune               3.19.1        [required by mosaic]
  - install seq                base          [required by psq]
  - install conf-pkg-config    4             [required by conf-oniguruma]
  - install ocamlfind          1.9.8         [required by cmarkit, logs]
  - install yojson             3.0.0         [required by mosaic]
  - install toffee             1.0.0~alpha0  [required by mosaic]
  - install thread-table       1.0.0         [required by domain-local-await]
  - install optint             0.3.0         [required by eio]
  - install lwt-dllist         1.1.0         [required by eio]
  - install csexp              1.5.2         [required by dune-configurator]
  - install psq                0.2.1         [required by eio]
  - install conf-oniguruma     1             [required by oniguruma]
  - install topkg              1.1.0         [required by cmarkit, logs]
  - install domain-local-await 1.0.1         [required by eio]
  - install dune-configurator  3.19.1        [required by bigstringaf, oniguruma]
  - install uutf               1.0.4         [required by mosaic]
  - install uucp               16.0.0        [required by mosaic]
  - install mtime              2.1.0         [required by eio]
  - install hmap               0.8.1         [required by eio]
  - install fmt                0.11.0        [required by mosaic]
  - install cmarkit            0.3.0         [required by mosaic]
  - install oniguruma          0.1.2         [required by textmate-language]
  - install iomux              0.3           [required by eio_posix]
  - install bigstringaf        0.10.0        [required by eio]
  - install uuseg              16.0.0        [required by mosaic]
  - install logs               0.9.0         [required by mosaic]
  - install cstruct            6.2.0         [required by eio]
  - install textmate-language  0.4.0         [required by mosaic]
  - install matrix             1.0.0~alpha0  [required by mosaic]
  - install uring              0.9           [required by eio_linux]
  - install eio                1.3           [required by mosaic]
  - install eio_posix          1.3           [required by eio_main]
  - install eio_linux          1.3           [required by eio_main]
  - install eio_main           1.3           [required by mosaic]
  - install mosaic             1.0.0~alpha0*
===== 36 to install =====

The following system packages will first need to be installed:
    libonig-dev pkg-config

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
Let opam run your package manager to install the required system packages?
(answer 'n' for other options) [Y/n] y
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libonig-dev" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libonig5:amd64.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 18778 files and directories currently installed.)
- Preparing to unpack .../0-libonig5_6.9.8-1_amd64.deb ...
- Unpacking libonig5:amd64 (6.9.8-1) ...
- Selecting previously unselected package libonig-dev.
- Preparing to unpack .../1-libonig-dev_6.9.8-1_amd64.deb ...
- Unpacking libonig-dev (6.9.8-1) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../2-libpkgconf3_1.8.1-1_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../3-pkgconf-bin_1.8.1-1_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-1) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../4-pkgconf_1.8.1-1_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../5-pkg-config_1.8.1-1_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-1) ...
- Setting up libpkgconf3:amd64 (1.8.1-1) ...
- Setting up pkgconf-bin (1.8.1-1) ...
- Setting up libonig5:amd64 (6.9.8-1) ...
- Setting up libonig-dev (6.9.8-1) ...
- Setting up pkgconf:amd64 (1.8.1-1) ...
- Setting up pkg-config:amd64 (1.8.1-1) ...
- Processing triggers for libc-bin (2.36-9+deb12u10) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved bigstringaf.0.10.0  (cached)
-> retrieved cmarkit.0.3.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> installed conf-pkg-config.4
-> installed conf-oniguruma.1
-> retrieved cstruct.6.2.0  (cached)
-> retrieved domain-local-await.1.0.1  (cached)
-> retrieved dune.3.19.1  (cached)
-> retrieved dune-configurator.3.19.1  (cached)
-> retrieved eio.1.3  (cached)
-> retrieved eio_linux.1.3  (cached)
-> retrieved eio_main.1.3  (cached)
-> retrieved 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  (cached)
-> retrieved mosaic.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 toffee.1.0.0~alpha0  (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 lwt-dllist.1.1.0
-> installed csexp.1.5.2
-> installed cstruct.6.2.0
-> installed optint.0.3.0
-> installed psq.0.2.1
-> installed thread-table.1.0.0
-> installed domain-local-await.1.0.1
-> installed yojson.3.0.0
-> 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.
# Run eval $(opam env) to update the current shell environment
2025-08-12 04:08.10 ---> saved as "d9c48af1a8765cea70ae0a5c27950f02b8c0033a923e3ba6c05319846815f13c"
Job succeeded
2025-08-12 04:08.17: Job succeeded