(for PR #29242)

2026-01-19 02:02.03: New job: build neo4j_bolt_eio.0.4.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29242/head (ea144f64f5b65b3cba061a8af99b3be4c2c5bc74)
                              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/29242/head" && git reset --hard ea144f64
git fetch origin master
git merge --no-edit 39960ffbaf3e5b50a1e354d4c99bfecc01e358ca
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:archlinux-ocaml-4.14@sha256:d83d5890330ac6ab416e268840de1954c3e380440ff7d25d3499a0223ca4a951
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 neo4j_bolt_eio.0.4.0 0.4.0
RUN opam reinstall neo4j_bolt_eio.0.4.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 "\"archlinux\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'neo4j_bolt_eio.0.4.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 .

2026-01-19 02:02.03: Using cache hint "ocaml/opam:archlinux-ocaml-4.14@sha256:d83d5890330ac6ab416e268840de1954c3e380440ff7d25d3499a0223ca4a951-neo4j_bolt_eio.0.4.0-ea144f64f5b65b3cba061a8af99b3be4c2c5bc74"
2026-01-19 02:02.03: Using OBuilder spec:
((from ocaml/opam:archlinux-ocaml-4.14@sha256:d83d5890330ac6ab416e268840de1954c3e380440ff7d25d3499a0223ca4a951)
 (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 neo4j_bolt_eio.0.4.0 0.4.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall neo4j_bolt_eio.0.4.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 \"\\\"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\" != 'neo4j_bolt_eio.0.4.0' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2026-01-19 02:02.03: Waiting for resource in pool OCluster
2026-01-19 06:16.38: Waiting for worker…
2026-01-19 06:19.39: Got resource from pool OCluster
Building on clete
All commits already cached
Updating files:  78% (15138/19230)
Updating files:  79% (15192/19230)
Updating files:  80% (15384/19230)
Updating files:  81% (15577/19230)
Updating files:  82% (15769/19230)
Updating files:  83% (15961/19230)
Updating files:  84% (16154/19230)
Updating files:  85% (16346/19230)
Updating files:  86% (16538/19230)
Updating files:  87% (16731/19230)
Updating files:  88% (16923/19230)
Updating files:  89% (17115/19230)
Updating files:  90% (17307/19230)
Updating files:  91% (17500/19230)
Updating files:  92% (17692/19230)
Updating files:  93% (17884/19230)
Updating files:  94% (18077/19230)
Updating files:  95% (18269/19230)
Updating files:  96% (18461/19230)
Updating files:  97% (18654/19230)
Updating files:  98% (18846/19230)
Updating files:  99% (19038/19230)
Updating files: 100% (19230/19230)
Updating files: 100% (19230/19230), done.
HEAD is now at 39960ffbaf Merge pull request #29193 from recoules/release-binsec-0.11.0
Merge made by the 'ort' strategy.
 packages/neo4j_bolt/neo4j_bolt.0.4.0/opam         | 43 +++++++++++++++++++++++
 packages/neo4j_bolt_eio/neo4j_bolt_eio.0.4.0/opam | 41 +++++++++++++++++++++
 2 files changed, 84 insertions(+)
 create mode 100644 packages/neo4j_bolt/neo4j_bolt.0.4.0/opam
 create mode 100644 packages/neo4j_bolt_eio/neo4j_bolt_eio.0.4.0/opam

(from ocaml/opam:archlinux-ocaml-4.14@sha256:d83d5890330ac6ab416e268840de1954c3e380440ff7d25d3499a0223ca4a951)
Unable to find image 'ocaml/opam:archlinux-ocaml-4.14@sha256:d83d5890330ac6ab416e268840de1954c3e380440ff7d25d3499a0223ca4a951' locally
docker.io/ocaml/opam@sha256:d83d5890330ac6ab416e268840de1954c3e380440ff7d25d3499a0223ca4a951: Pulling from ocaml/opam
74d5579544e6: Already exists
73920abf4e07: Already exists
1d102350604f: Already exists
be6ec70a430a: Already exists
c2ad2ad11caf: Already exists
25db89288260: Already exists
92986813a822: Already exists
12af2f686dad: Already exists
33ed7205b90f: Already exists
57a08b80fca5: Already exists
480cb47e9cba: Already exists
da06f0998cd8: Already exists
c8e83c358125: Already exists
1da7387c78ee: Already exists
1da7387c78ee: Already exists
4f4fb700ef54: Already exists
a3fd73de4a90: Already exists
bb6b468797fc: Already exists
8a3f3805c752: Already exists
c3f6e0750857: Already exists
65604c45b333: Already exists
2a81d53ef252: Already exists
ef97d3337234: Already exists
c399cde042b6: Already exists
0f3a78e83832: Already exists
44663b987d6f: Already exists
f1176c62fb7e: Already exists
9d7e8c184ea0: Already exists
2a6411e08be8: Already exists
f4b46cc1d8a5: Already exists
81b410322480: Already exists
6be8c1ff55a6: Already exists
172eb76ee452: Already exists
078697f6018d: Already exists
a44b54dfea4d: Already exists
54f0adc05eed: Already exists
419f9a6ea8a6: Already exists
8b0910cc9c24: Already exists
Digest: sha256:d83d5890330ac6ab416e268840de1954c3e380440ff7d25d3499a0223ca4a951
Status: Downloaded newer image for ocaml/opam@sha256:d83d5890330ac6ab416e268840de1954c3e380440ff7d25d3499a0223ca4a951
2026-01-19 06:20.13 ---> saved as "a0d573c435dcb185d96e8cd03cd31ad0009704d2398372566f6caf05c53df68b"

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-01-19 06:20.13 ---> saved as "b6c6b38a1711d1af0690ea33206eb57eeedf1fa92c7e0ab2cf26612138f72e98"

/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 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
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-01-19 06:20.47 ---> saved as "5a65935306dde413bcfda80a2d799626a8f383841246cfb40e3577474994f8f8"

/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=x86_64 os=linux os-distribution=arch os-version=20260104.0.477168
# 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
2026-01-19 06:20.49 ---> saved as "491644b5f6cf6037bbdd26f7268e73661fbf262d34d80020b811d43084d7c5b2"

/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/"))
2026-01-19 06:20.59 ---> saved as "41e1675913aa03616926ea121c467a9738877e6c93d25ee4b99bb7cad21b6f4a"

/home/opam: (copy (src .) (dst opam-repository/))
2026-01-19 06:21.36 ---> saved as "29834c94cc9700159cc0b3890aab88b861ad7ab214d648f5b26ccdccfecc5d5f"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-01-19 06:22.11 ---> saved as "b0c2590f4c4aba2ca89ff7f0d633489581f8e4e27fbcd6f696245c1a74c8ee6a"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/sbin/sudo "pacman" "-Sy"
- :: Synchronizing package databases...
-  core downloading...
-  extra downloading...
2026-01-19 06:22.12 ---> saved as "365d15e49064961aecfd9add0c4b9f6f4037c08c418060d7d41d0331a49dbf8f"

/home/opam: (run (shell "opam pin add -k version -yn neo4j_bolt_eio.0.4.0 0.4.0"))
neo4j_bolt_eio is now pinned to version 0.4.0
2026-01-19 06:22.13 ---> saved as "97d15f7deddefa945fe8fce34b7b24f36af0bb03a7f118f254c963ceb3030db6"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall neo4j_bolt_eio.0.4.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 \"\\\"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\" != 'neo4j_bolt_eio.0.4.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
neo4j_bolt_eio.0.4.0 is not installed. Install it? [Y/n] y
  * Incompatible packages:
    - (invariant) → ocaml-base-compiler = 4.14.2
    - neo4j_bolt_eio → ocaml >= 5.0 → ocaml-variants >= 5.0.0~
    You can temporarily relax the switch invariant with `--update-invariant'
  * Missing dependency:
    - neo4j_bolt_eio → ocaml >= 5.0 → ocaml-variants >= 5.0.0~ → system-msvc
    unmet availability conditions: 'os = "win32"'

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