(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-4.14/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-4.14@sha256:9c0b0d6b501ad6eaf9feacb656328b4671fc7009d9cd33655143239663251961
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-4.14@sha256:9c0b0d6b501ad6eaf9feacb656328b4671fc7009d9cd33655143239663251961-omni-irc.v0.1.12-1-g01e9475-7386318651c3e60f273db07ad6d31c6c377ca249"
2025-11-10 11:01.38: Using OBuilder spec:
((from ocaml/opam:archlinux-ocaml-4.14@sha256:9c0b0d6b501ad6eaf9feacb656328b4671fc7009d9cd33655143239663251961)
 (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:11.28: Waiting for worker…
2025-11-10 12:14.49: Got resource from pool OCluster
Building on clete
All commits already cached
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-4.14@sha256:9c0b0d6b501ad6eaf9feacb656328b4671fc7009d9cd33655143239663251961)
Unable to find image 'ocaml/opam:archlinux-ocaml-4.14@sha256:9c0b0d6b501ad6eaf9feacb656328b4671fc7009d9cd33655143239663251961' locally
docker.io/ocaml/opam@sha256:9c0b0d6b501ad6eaf9feacb656328b4671fc7009d9cd33655143239663251961: Pulling from ocaml/opam
a59b1e251b85: Already exists
849b0775ea0f: Already exists
9d20c098ec76: Already exists
06eb9f7865f2: Already exists
c240908bead2: Already exists
1ecf1bb05538: Already exists
ed893cc754b7: Already exists
edacf2579914: Already exists
05c577939763: Already exists
ef8936ed2115: Already exists
03d88b820e0f: Already exists
7ad98e89cb6f: Already exists
d5de02ff18c6: Already exists
a039df7c27db: Already exists
4f4fb700ef54: Already exists
6a3e38ba2bef: Already exists
fbffc84d36db: Already exists
576b77c89595: Already exists
3481805c55c1: Already exists
42630e11cdf2: Already exists
b5fc415bc313: Already exists
737547a67ea4: Already exists
9cc4ccf31d95: Already exists
b438a2bfeb52: Already exists
acb0748395fb: Already exists
0ab398869fe3: Already exists
6c1375743e2c: Already exists
c88d9a06b9a9: Already exists
83e3b1e13251: Already exists
99dce37e928a: Already exists
152d026b0425: Already exists
01cfea535c66: Already exists
134d5afae458: Already exists
7df685c2050d: Pulling fs layer
db2e8ff73121: Pulling fs layer
c1a6bec855d5: Pulling fs layer
370974f263de: Pulling fs layer
7df685c2050d: Waiting
c1a6bec855d5: Waiting
db2e8ff73121: Waiting
370974f263de: Waiting
7df685c2050d: Verifying Checksum
7df685c2050d: Download complete
db2e8ff73121: Verifying Checksum
db2e8ff73121: Download complete
c1a6bec855d5: Verifying Checksum
c1a6bec855d5: Download complete
370974f263de: Verifying Checksum
370974f263de: Download complete
7df685c2050d: Pull complete
db2e8ff73121: Pull complete
c1a6bec855d5: Pull complete
370974f263de: Pull complete
Digest: sha256:9c0b0d6b501ad6eaf9feacb656328b4671fc7009d9cd33655143239663251961
Status: Downloaded newer image for ocaml/opam@sha256:9c0b0d6b501ad6eaf9feacb656328b4671fc7009d9cd33655143239663251961
2025-11-10 12:14.57 ---> using "90e6ad271d6cff4d2d84b95e7df48355be7a23830eeb095c4f58a5dc3b57ca64" 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.57 ---> using "15f45865a083c7cfab55ba0775e9565b1a55687dc62b58bb4492b19a84e419b3" 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.57 ---> using "1110c0a39239d6f102cc7f418ebb881ec1acb8fbf65e53c27ad27a49b180e2e2" 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       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-11-10 12:14.57 ---> using "c12e5e7d23b60796935938a0eb27d41a4f17be86238b92ad3510b26a3c1f0f4e" 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.57 ---> using "b6eb5f9a486e65c54b887bec0bc1e59355c26361baecfe32d07029df9f3285b5" from cache

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

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

/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.33 ---> saved as "24cc3b9bfb22746c007fcdaecf6c1c960076c4351e7b9898fdc69a0bb4dbdbca"

/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.35 ---> saved as "7c6ff7040c6e70a6abf7a1f95551ce5d524e871684044edcf11dda7ef7e9647c"

/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.57: Job failed: Failed: Build failed
2025-11-10 12:15.57: Log analysis:
2025-11-10 12:15.57: >>> 
No solution found, exiting
 (score = 100)
2025-11-10 12:15.57: [SKIP] Package not available