(for PR #28485)

2025-11-10 11:01.38: New job: build omni-irc.v0.1.12-1-g01e9475, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/28485/head (7386318651c3e60f273db07ad6d31c6c377ca249)
                              on archlinux-ocaml-5.4/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/28485/head" && git reset --hard 73863186
git fetch origin master
git merge --no-edit 21f97b2e6d7c617fc0a79cc8e59b2e10690960e1
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:archlinux-ocaml-5.4@sha256:f2b57883424ecac69260f2acbf993c67f0f75f9bd2f4a10437172469e28ffee5
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 omni-irc.v0.1.12-1-g01e9475 v0.1.12-1-g01e9475
RUN opam reinstall omni-irc.v0.1.12-1-g01e9475; \
    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 "\"archlinux\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'omni-irc.v0.1.12-1-g01e9475' && 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-11-10 11:01.38: Using cache hint "ocaml/opam:archlinux-ocaml-5.4@sha256:f2b57883424ecac69260f2acbf993c67f0f75f9bd2f4a10437172469e28ffee5-omni-irc.v0.1.12-1-g01e9475-7386318651c3e60f273db07ad6d31c6c377ca249"
2025-11-10 11:01.38: Using OBuilder spec:
((from ocaml/opam:archlinux-ocaml-5.4@sha256:f2b57883424ecac69260f2acbf993c67f0f75f9bd2f4a10437172469e28ffee5)
 (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 omni-irc.v0.1.12-1-g01e9475 v0.1.12-1-g01e9475"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall omni-irc.v0.1.12-1-g01e9475;\
             \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 \"\\\"archlinux\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'omni-irc.v0.1.12-1-g01e9475' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2025-11-10 11:01.38: Waiting for resource in pool OCluster
2025-11-10 12:10.46: Waiting for worker…
2025-11-10 12:14.19: Got resource from pool OCluster
Building on clete
All commits already cached
Updating files:  68% (12877/18703)
Updating files:  69% (12906/18703)
Updating files:  70% (13093/18703)
Updating files:  71% (13280/18703)
Updating files:  72% (13467/18703)
Updating files:  73% (13654/18703)
Updating files:  74% (13841/18703)
Updating files:  75% (14028/18703)
Updating files:  76% (14215/18703)
Updating files:  77% (14402/18703)
Updating files:  78% (14589/18703)
Updating files:  79% (14776/18703)
Updating files:  80% (14963/18703)
Updating files:  81% (15150/18703)
Updating files:  82% (15337/18703)
Updating files:  83% (15524/18703)
Updating files:  84% (15711/18703)
Updating files:  85% (15898/18703)
Updating files:  86% (16085/18703)
Updating files:  87% (16272/18703)
Updating files:  88% (16459/18703)
Updating files:  89% (16646/18703)
Updating files:  90% (16833/18703)
Updating files:  91% (17020/18703)
Updating files:  92% (17207/18703)
Updating files:  93% (17394/18703)
Updating files:  94% (17581/18703)
Updating files:  95% (17768/18703)
Updating files:  96% (17955/18703)
Updating files:  97% (18142/18703)
Updating files:  98% (18329/18703)
Updating files:  99% (18516/18703)
Updating files: 100% (18703/18703)
Updating files: 100% (18703/18703), done.
HEAD is now at 21f97b2e6d Merge pull request #28836 from dbuenzli/b0-publish-bytesrw.0.3.0
Merge made by the 'ort' strategy.
 packages/omni-irc/omni-irc.v0.1.12-1-g01e9475/opam | 48 ++++++++++++++++++++++
 1 file changed, 48 insertions(+)
 create mode 100644 packages/omni-irc/omni-irc.v0.1.12-1-g01e9475/opam

(from ocaml/opam:archlinux-ocaml-5.4@sha256:f2b57883424ecac69260f2acbf993c67f0f75f9bd2f4a10437172469e28ffee5)
Unable to find image 'ocaml/opam:archlinux-ocaml-5.4@sha256:f2b57883424ecac69260f2acbf993c67f0f75f9bd2f4a10437172469e28ffee5' locally
docker.io/ocaml/opam@sha256:f2b57883424ecac69260f2acbf993c67f0f75f9bd2f4a10437172469e28ffee5: Pulling from ocaml/opam
a59b1e251b85: Already exists
849b0775ea0f: Already exists
9d20c098ec76: Pulling fs layer
06eb9f7865f2: Pulling fs layer
c240908bead2: Pulling fs layer
1ecf1bb05538: Pulling fs layer
ed893cc754b7: Pulling fs layer
edacf2579914: Pulling fs layer
06eb9f7865f2: Waiting
05c577939763: Pulling fs layer
ef8936ed2115: Pulling fs layer
c240908bead2: Waiting
03d88b820e0f: Pulling fs layer
7ad98e89cb6f: Pulling fs layer
d5de02ff18c6: Pulling fs layer
a039df7c27db: Pulling fs layer
ed893cc754b7: Waiting
9d20c098ec76: Waiting
4f4fb700ef54: Pulling fs layer
6a3e38ba2bef: Pulling fs layer
1ecf1bb05538: Waiting
03d88b820e0f: Waiting
05c577939763: Waiting
ef8936ed2115: Waiting
fbffc84d36db: Pulling fs layer
edacf2579914: Waiting
576b77c89595: Pulling fs layer
3481805c55c1: Pulling fs layer
7ad98e89cb6f: Waiting
42630e11cdf2: Pulling fs layer
b5fc415bc313: Pulling fs layer
a039df7c27db: Waiting
737547a67ea4: Pulling fs layer
3481805c55c1: Waiting
42630e11cdf2: Waiting
9cc4ccf31d95: Pulling fs layer
b438a2bfeb52: Pulling fs layer
fbffc84d36db: Waiting
576b77c89595: Waiting
acb0748395fb: Pulling fs layer
0ab398869fe3: Pulling fs layer
b438a2bfeb52: Waiting
6c1375743e2c: Pulling fs layer
c88d9a06b9a9: Pulling fs layer
737547a67ea4: Waiting
0ab398869fe3: Waiting
83e3b1e13251: Pulling fs layer
99dce37e928a: Pulling fs layer
152d026b0425: Pulling fs layer
01cfea535c66: Pulling fs layer
152d026b0425: Waiting
134d5afae458: Pulling fs layer
7586886147fa: Pulling fs layer
993e4a7f2b9f: Pulling fs layer
01cfea535c66: Waiting
99dce37e928a: Waiting
903a29eb42a8: Pulling fs layer
a5286c1e9d59: Pulling fs layer
134d5afae458: Waiting
2876c66b29b6: Pulling fs layer
903a29eb42a8: Waiting
9d20c098ec76: Verifying Checksum
9d20c098ec76: Download complete
06eb9f7865f2: Verifying Checksum
06eb9f7865f2: Download complete
c240908bead2: Verifying Checksum
c240908bead2: Download complete
1ecf1bb05538: Verifying Checksum
1ecf1bb05538: Download complete
ed893cc754b7: Verifying Checksum
ed893cc754b7: Download complete
edacf2579914: Verifying Checksum
edacf2579914: Download complete
05c577939763: Verifying Checksum
05c577939763: Download complete
ef8936ed2115: Verifying Checksum
ef8936ed2115: Download complete
03d88b820e0f: Download complete
7ad98e89cb6f: Verifying Checksum
7ad98e89cb6f: Download complete
d5de02ff18c6: Verifying Checksum
d5de02ff18c6: Download complete
a039df7c27db: Download complete
4f4fb700ef54: Download complete
6a3e38ba2bef: Verifying Checksum
6a3e38ba2bef: Download complete
fbffc84d36db: Download complete
576b77c89595: Verifying Checksum
576b77c89595: Download complete
3481805c55c1: Verifying Checksum
3481805c55c1: Download complete
42630e11cdf2: Verifying Checksum
42630e11cdf2: Download complete
b5fc415bc313: Verifying Checksum
b5fc415bc313: Download complete
737547a67ea4: Download complete
9cc4ccf31d95: Download complete
b438a2bfeb52: Download complete
acb0748395fb: Verifying Checksum
acb0748395fb: Download complete
0ab398869fe3: Verifying Checksum
0ab398869fe3: Download complete
6c1375743e2c: Verifying Checksum
6c1375743e2c: Download complete
c88d9a06b9a9: Verifying Checksum
c88d9a06b9a9: Download complete
9d20c098ec76: Pull complete
83e3b1e13251: Download complete
06eb9f7865f2: Pull complete
c240908bead2: Pull complete
1ecf1bb05538: Pull complete
ed893cc754b7: Pull complete
edacf2579914: Pull complete
05c577939763: Pull complete
ef8936ed2115: Pull complete
03d88b820e0f: Pull complete
7ad98e89cb6f: Pull complete
d5de02ff18c6: Pull complete
a039df7c27db: Pull complete
4f4fb700ef54: Pull complete
6a3e38ba2bef: Pull complete
fbffc84d36db: Pull complete
576b77c89595: Pull complete
3481805c55c1: Pull complete
42630e11cdf2: Pull complete
b5fc415bc313: Pull complete
737547a67ea4: Pull complete
9cc4ccf31d95: Pull complete
b438a2bfeb52: Pull complete
acb0748395fb: Pull complete
0ab398869fe3: Pull complete
6c1375743e2c: Pull complete
99dce37e928a: Verifying Checksum
99dce37e928a: Download complete
152d026b0425: Download complete
01cfea535c66: Verifying Checksum
01cfea535c66: Download complete
134d5afae458: Download complete
7586886147fa: Verifying Checksum
7586886147fa: Download complete
993e4a7f2b9f: Verifying Checksum
993e4a7f2b9f: Download complete
903a29eb42a8: Download complete
a5286c1e9d59: Download complete
2876c66b29b6: Verifying Checksum
2876c66b29b6: Download complete
c88d9a06b9a9: Pull complete
83e3b1e13251: Pull complete
99dce37e928a: Pull complete
152d026b0425: Pull complete
01cfea535c66: Pull complete
134d5afae458: Pull complete
7586886147fa: Pull complete
993e4a7f2b9f: Pull complete
903a29eb42a8: Pull complete
a5286c1e9d59: Pull complete
2876c66b29b6: Pull complete
Digest: sha256:f2b57883424ecac69260f2acbf993c67f0f75f9bd2f4a10437172469e28ffee5
Status: Downloaded newer image for ocaml/opam@sha256:f2b57883424ecac69260f2acbf993c67f0f75f9bd2f4a10437172469e28ffee5
2025-11-10 12:14.30 ---> using "c5ec08e9b846f91b986ff2383fc30f6338b1567641a5ad9a2c1c32527aa4f09c" 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-11-10 12:14.30 ---> using "8a9067b27012d2ba6b4516e93d0c793ee0e0592a932401de368b7e2f165df9dd" 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
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.

Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-11-10 12:14.30 ---> using "10b8b707aef33fdbd36331cf185a6fa41045dcc827c8af884a875491d600a5a5" 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~alpha1
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=arch os-version=20251019.0.436919
# 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.4
# invariant            ["ocaml-base-compiler" {>= "5.4.0"}]
# compiler-packages    ocaml-base-compiler.5.4.0, ocaml-compiler.5.4.0, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/5.4/lib/ocaml/stublibs:/home/opam/.opam/5.4/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       5.4.0
2025-11-10 12:14.30 ---> using "4ac6b250fe85f17d5f68eada31b34e0dc15e2e80550508216edaadde034fc5db" 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-11-10 12:14.30 ---> using "8862006d5282ef4e8d32a6939b65b6e6b807dbcea8fb01bc93817277c0ba4bb6" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-11-10 12:14.47 ---> saved as "1d210c2b1d53db601371ece4108e225ee3555829f8752fa555372f5c7768c575"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-11-10 12:15.10 ---> saved as "61eef62d357bd8ddc7172447184ada8650799f06a2a544f0e39e7e902d16a8b0"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/sbin/sudo "pacman" "-Sy"
- :: Synchronizing package databases...
-  core downloading...
-  extra downloading...
2025-11-10 12:15.11 ---> saved as "5221978b91ed2fa90bf96d33408e76aafa2634d68e6c005b2495ddd9d89de7cc"

/home/opam: (run (shell "opam pin add -k version -yn omni-irc.v0.1.12-1-g01e9475 v0.1.12-1-g01e9475"))
omni-irc is now pinned to version v0.1.12-1-g01e9475
2025-11-10 12:15.12 ---> saved as "35ac46bdb0789c74c71a74195ae4c2ed4dafe40f83979dff1e8fc1853b73978f"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall omni-irc.v0.1.12-1-g01e9475;\
                        \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 \"\\\"archlinux\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'omni-irc.v0.1.12-1-g01e9475' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
omni-irc.v0.1.12-1-g01e9475 is not installed. Install it? [Y/n] y
  * Missing dependency:
    - omni-irc → omni-irc-sig
    unknown package

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