(for PR #29242)

2026-01-19 02:02.03: New job: build neo4j_bolt.0.4.0, using opam 2.5
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29242/head (ea144f64f5b65b3cba061a8af99b3be4c2c5bc74)
                              on debian-13-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:debian-13-ocaml-4.14@sha256:d765b54c014ef238f3a84185055fd22f6a5e5bea6d6bbe9ec94a1c7ac9087afa
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.5 /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.0.4.0 0.4.0
RUN opam reinstall neo4j_bolt.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 "\"debian-13\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'neo4j_bolt.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:debian-13-ocaml-4.14@sha256:d765b54c014ef238f3a84185055fd22f6a5e5bea6d6bbe9ec94a1c7ac9087afa-neo4j_bolt.0.4.0-ea144f64f5b65b3cba061a8af99b3be4c2c5bc74"
2026-01-19 02:02.03: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14@sha256:d765b54c014ef238f3a84185055fd22f6a5e5bea6d6bbe9ec94a1c7ac9087afa)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-2.5 /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.0.4.0 0.4.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall neo4j_bolt.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 \"\\\"debian-13\\\"\"; 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.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:17.43: Waiting for worker…
2026-01-19 06:21.55: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
Updating files:  66% (12695/19230)
Updating files:  67% (12885/19230)
Updating files:  68% (13077/19230)
Updating files:  69% (13269/19230)
Updating files:  70% (13461/19230)
Updating files:  71% (13654/19230)
Updating files:  72% (13846/19230)
Updating files:  73% (14038/19230)
Updating files:  74% (14231/19230)
Updating files:  75% (14423/19230)
Updating files:  76% (14615/19230)
Updating files:  77% (14808/19230)
Updating files:  78% (15000/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:debian-13-ocaml-4.14@sha256:d765b54c014ef238f3a84185055fd22f6a5e5bea6d6bbe9ec94a1c7ac9087afa)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.14@sha256:d765b54c014ef238f3a84185055fd22f6a5e5bea6d6bbe9ec94a1c7ac9087afa' locally
docker.io/ocaml/opam@sha256:d765b54c014ef238f3a84185055fd22f6a5e5bea6d6bbe9ec94a1c7ac9087afa: Pulling from ocaml/opam
281b80c799de: Already exists
ce76feb86791: Already exists
7984eb0e5b45: Already exists
56c452a960b1: Already exists
b85825bef00a: Already exists
d6ff43dfb85c: Already exists
4197ec645389: Already exists
37cac33e41ff: Already exists
4cb993fb248e: Already exists
ca442870f91f: Already exists
b1d1a2fb5f4a: Already exists
0dea577b2801: Already exists
cc10daaea4fd: Already exists
5f878cb1723a: Already exists
8968959fa983: Already exists
5bdd9b9ed0e3: Already exists
55661c5b388f: Already exists
55661c5b388f: Already exists
92d1dc6907bd: Already exists
7100b414728b: Already exists
a6a54ddc9818: Already exists
a920ad627810: Already exists
4f4fb700ef54: Already exists
f7df7b6e19c0: Already exists
cd713d66718c: Already exists
6ed45ab2af86: Already exists
40598b80a8fe: Already exists
983f7969ff00: Already exists
40ec09ee09bd: Already exists
76a0afa38cd9: Already exists
1d5a564d139a: Already exists
82883b85a4f0: Already exists
1d8458efd73b: Already exists
2d80a9fac9ac: Already exists
4d69ee6ae94b: Already exists
ce8d28b713f1: Already exists
97580d938033: Already exists
da5fa40e04f8: Already exists
d7a499968f64: Already exists
28e5932c7c69: Already exists
81389c423fc3: Already exists
fd0f9d83fc4c: Pulling fs layer
a1ba3ff55715: Pulling fs layer
8a64be1e983f: Pulling fs layer
f7b330997686: Pulling fs layer
f7b330997686: Waiting
a1ba3ff55715: Verifying Checksum
a1ba3ff55715: Download complete
8a64be1e983f: Verifying Checksum
8a64be1e983f: Download complete
f7b330997686: Verifying Checksum
f7b330997686: Download complete
fd0f9d83fc4c: Verifying Checksum
fd0f9d83fc4c: Download complete
fd0f9d83fc4c: Pull complete
a1ba3ff55715: Pull complete
8a64be1e983f: Pull complete
f7b330997686: Pull complete
Digest: sha256:d765b54c014ef238f3a84185055fd22f6a5e5bea6d6bbe9ec94a1c7ac9087afa
Status: Downloaded newer image for ocaml/opam@sha256:d765b54c014ef238f3a84185055fd22f6a5e5bea6d6bbe9ec94a1c7ac9087afa
2026-01-19 06:21.58 ---> using "2ecda48447fc68e8dcd256d2898af0a11126a077e05d747a0dcdff2845100de1" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam"))
2026-01-19 06:21.58 ---> saved as "5adc3058b8874e3588dd3ff090fb85a91c02d1b033857668fae9d659bef113b2"

/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:22.43 ---> saved as "e866277335fb51d9579be86bc22171cc02a5a44af0860982fcb593f2a67cd411"

/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=debian os-version=13
# 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:22.44 ---> saved as "e64e79b0be0dfa74d161b16c150520ace08604fac8f555a71cb784f968a3e05c"

/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:23.01 ---> saved as "1d85d55616c7b8edee43aaeeb92897636f5a317523ced495c5e6b12b063dc1ec"

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

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

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian trixie InRelease [140 kB]
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian trixie/main amd64 Packages [9670 kB]
- Get:5 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [96.1 kB]
- Fetched 9998 kB in 2s (6299 kB/s)
- Reading package lists...
- 
2026-01-19 06:23.57 ---> saved as "7c05721a5e8c15f25798edde03513df10ae9d28525465306963fe704289712e2"

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

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall neo4j_bolt.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 \"\\\"debian-13\\\"\"; 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.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.0.4.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 20 packages
  - install base-bytes          base           [required by ocplib-endian]
  - install conf-libssl         4              [required by ssl]
  - install conf-pkg-config     4              [required by conf-libssl]
  - install cppo                1.8.0          [required by lwt]
  - install csexp               1.5.2          [required by dune-configurator]
  - install dune                3.21.0         [required by neo4j_bolt]
  - install dune-configurator   3.21.0         [required by lwt]
  - install lwt                 6.0.0          [required by neo4j_bolt]
  - install lwt_ppx             6.0.0          [required by neo4j_bolt]
  - install lwt_ssl             1.2.0          [required by neo4j_bolt]
  - install neo4j_bolt          0.4.0 (pinned)
  - install ocaml-compiler-libs v0.12.4        [required by ppxlib]
  - install ocamlfind           1.9.8          [required by base-bytes]
  - install ocplib-endian       1.2            [required by lwt]
  - install ppx_derivers        1.2.1          [required by ppxlib]
  - install ppxlib              0.37.0         [required by lwt_ppx]
  - install sexplib0            v0.17.0        [required by ppxlib]
  - install ssl                 0.7.0          [required by neo4j_bolt]
  - install stdlib-shims        0.3.0          [required by ppxlib]
  - install yojson              3.0.0          [required by neo4j_bolt]

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

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

opam believes some required external dependencies are missing. opam can:
> 1. Run apt-get to install them (may need root/sudo access)
  2. Display the recommended apt-get 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 "apt-get" "install" "-qq" "-yy" "libssl-dev" "pkg-config"
- Selecting previously unselected package libpkgconf3: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 ... 20622 files and directories currently installed.)
- Preparing to unpack .../libpkgconf3_1.8.1-4_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-4) ...
- Selecting previously unselected package libssl-dev:amd64.
- Preparing to unpack .../libssl-dev_3.5.4-1~deb13u1_amd64.deb ...
- Unpacking libssl-dev:amd64 (3.5.4-1~deb13u1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../pkgconf-bin_1.8.1-4_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-4) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../pkgconf_1.8.1-4_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../pkg-config_1.8.1-4_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-4) ...
- Setting up libpkgconf3:amd64 (1.8.1-4) ...
- Setting up libssl-dev:amd64 (3.5.4-1~deb13u1) ...
- Setting up pkgconf-bin (1.8.1-4) ...
- Setting up pkgconf:amd64 (1.8.1-4) ...
- Setting up pkg-config:amd64 (1.8.1-4) ...
- Processing triggers for libc-bin (2.41-12) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved conf-libssl.4  (cached)
-> retrieved cppo.1.8.0  (cached)
-> installed conf-pkg-config.4
-> retrieved csexp.1.5.2  (cached)
-> installed conf-libssl.4
-> retrieved dune.3.21.0, dune-configurator.3.21.0  (cached)
-> retrieved lwt.6.0.0, lwt_ppx.6.0.0  (cached)
-> retrieved lwt_ssl.1.2.0  (cached)
-> retrieved neo4j_bolt.0.4.0  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppxlib.0.37.0  (cached)
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved ssl.0.7.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved yojson.3.0.0  (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed dune.3.21.0
-> installed ppx_derivers.1.2.1
-> installed stdlib-shims.0.3.0
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed sexplib0.v0.17.0
-> installed yojson.3.0.0
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.21.0
-> installed ssl.0.7.0
-> installed lwt.6.0.0
-> installed lwt_ssl.1.2.0
-> installed ppxlib.0.37.0
-> installed lwt_ppx.6.0.0
-> installed neo4j_bolt.0.4.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-19 06:25.36 ---> saved as "174acd8fe7bdb382be5b4f264eab44bfbd3acb2f6623506b35b8cbf2a87b0718"
Job succeeded
2026-01-19 06:25.45: Job succeeded