(for PR #29242)

2026-04-29 12:47.42: New job: build neo4j_bolt.0.4.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29242/head (ea144f64f5b65b3cba061a8af99b3be4c2c5bc74)
                              on freebsd-15.0-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/29242/head" && git reset --hard ea144f64
git fetch origin master
git merge --no-edit dd592986d47d277a9eee2bf37e1c4aa3a0c3efbd
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM freebsd-15.0-ocaml-5.4
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/local/bin/opam-dev /usr/local/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 "\"freebsd-15.0\""; 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-04-29 12:47.42: Using cache hint "freebsd-15.0-ocaml-5.4-neo4j_bolt.0.4.0-ea144f64f5b65b3cba061a8af99b3be4c2c5bc74"
2026-04-29 12:47.42: Using OBuilder spec:
((from freebsd-15.0-ocaml-5.4)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/local/bin/opam-dev /usr/local/bin/opam"))
 (run (network host)
      (shell "opam init --reinit -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 \"\\\"freebsd-15.0\\\"\"; 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-04-29 12:47.42: Connecting to build cluster…
2026-04-29 12:47.42: Waiting for resource in pool OCluster
2026-04-29 14:31.49: Waiting for worker…
2026-04-29 16:22.01: Got resource from pool OCluster
Building on rosemary
All commits already cached
Updating files: 100% (18870/18870), done.
HEAD is now at dd592986d4 Merge pull request #29752 from raphael-proust/opam-publish-lwt.6.1.2
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 freebsd-15.0-ocaml-5.4)
2026-04-29 16:19.07 ---> using "e2f9399617b174328a08b4d831e677f3a97fbfa86ae070bfd238f77cd03a9525" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/local/bin/opam-dev /usr/local/bin/opam"))
2026-04-29 16:19.07 ---> using "745d7b97fc3a454a03ab650bab99c7a6daf50bee999fe903ccff757d7afbd43c" from cache

/home/opam: (run (network host)
                 (shell "opam init --reinit -ni"))
No configuration file found, using 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.1 to version 2.2, which can't be reverted.
You may want to back it up before going further.

Continue? [Y/n] y
[NOTE] The 'jobs' option was reset, its value was 1 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
           opam option jobs=1 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///home/opam/opam-repository
2026-04-29 16:19.08 ---> using "803b529782fec3e315a65a64770b60f2264bf3cb2147f21894ecc4e5b04b39c2" 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.1
# self-upgrade         no
# system               arch=x86_64 os=freebsd os-distribution=freebsd os-version=1500068
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 39
# repositories         1 (version-controlled)
# pinned               0
# current-switch       5.4.1
# invariant            ["ocaml-base-compiler" {= "5.4.1"} | "ocaml-system" {= "5.4.1"}]
# compiler-packages    ocaml-base-compiler.5.4.1, ocaml-compiler.5.4.1, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/5.4.1/lib/ocaml/stublibs:/home/opam/.opam/5.4.1/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       5.4.1
2026-04-29 16:19.08 ---> using "44c28f3a9763d7febf1c500e3197be7d30852280b29368166fba08939b19971b" 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/"))
2026-04-29 16:19.08 ---> using "0f138587f3dff1fe6ad69d7d4a1dba6de063434835fe7ed8ccf2f9be3b7a41c5" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-04-29 16:19.10 ---> using "e9501f61debfb4b3791978e68f822df73fefac601b871756f5ca62dad2cfb1df" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-04-29 16:19.11 ---> using "ceb98bb3e33c7ad580366082847a158ace0a618e666f2eb9226aa7047fb95542" from cache

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
[WARNING] Unknown update command for bsd, skipping system update
2026-04-29 16:19.11 ---> using "30fbff86a639ecfd7ab035b49e484c652f42ff731532f8bbfe6cadfe63975644" from cache

/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-04-29 16:19.11 ---> using "a0b029ee6ce4d2027549981e5d560d1ea496a260c8864a170ea92e6e8fe46c4a" from cache

/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 \"\\\"freebsd-15.0\\\"\"; 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
  ∗ base-bytes          base           [required by ocplib-endian]
  ∗ conf-libssl         4              [required by ssl]
  ∗ conf-pkg-config     4              [required by conf-libssl]
  ∗ cppo                1.8.0          [required by lwt]
  ∗ csexp               1.5.2          [required by dune-configurator]
  ∗ dune                3.22.2         [required by neo4j_bolt]
  ∗ dune-configurator   3.22.2         [required by lwt]
  ∗ lwt                 6.1.2          [required by neo4j_bolt]
  ∗ lwt_ppx             6.1.0          [required by neo4j_bolt]
  ∗ lwt_ssl             1.2.0          [required by neo4j_bolt]
  ∗ neo4j_bolt          0.4.0 (pinned)
  ∗ ocaml-compiler-libs v0.17.0        [required by ppxlib]
  ∗ ocamlfind           1.9.8          [required by base-bytes]
  ∗ ocplib-endian       1.2            [required by lwt]
  ∗ ppx_derivers        1.2.1          [required by ppxlib]
  ∗ ppxlib              0.38.0         [required by lwt_ppx]
  ∗ sexplib0            v0.17.0        [required by ppxlib]
  ∗ ssl                 0.7.0          [required by neo4j_bolt]
  ∗ stdlib-shims        0.3.0          [required by ppxlib]
  ∗ yojson              3.0.0          [required by neo4j_bolt]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
⬇ retrieved conf-libssl.4  (cached)
∗ installed conf-pkg-config.4
∗ installed conf-libssl.4
⬇ retrieved cppo.1.8.0  (cached)
⬇ retrieved csexp.1.5.2  (cached)
⬇ retrieved dune.3.22.2, dune-configurator.3.22.2  (cached)
⬇ retrieved lwt.6.1.2  (cached)
⬇ retrieved lwt_ppx.6.1.0  (cached)
⬇ retrieved lwt_ssl.1.2.0  (cached)
⬇ retrieved neo4j_bolt.0.4.0  (https://github.com/jeong-sik/ocaml-neo4j-bolt/archive/refs/tags/v0.4.0.tar.gz)
⬇ retrieved ocaml-compiler-libs.v0.17.0  (cached)
⬇ retrieved ocamlfind.1.9.8  (cached)
⬇ retrieved ocplib-endian.1.2  (cached)
⬇ retrieved ppx_derivers.1.2.1  (cached)
⬇ retrieved ppxlib.0.38.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.22.2
∗ installed ppx_derivers.1.2.1
∗ installed stdlib-shims.0.3.0
∗ installed csexp.1.5.2
∗ installed sexplib0.v0.17.0
∗ installed ocaml-compiler-libs.v0.17.0
∗ installed cppo.1.8.0
∗ installed yojson.3.0.0
∗ installed ocplib-endian.1.2
∗ installed dune-configurator.3.22.2
∗ installed ssl.0.7.0
∗ installed lwt.6.1.2
∗ installed lwt_ssl.1.2.0
∗ installed ppxlib.0.38.0
∗ installed lwt_ppx.6.1.0
∗ installed neo4j_bolt.0.4.0
Done.
2026-04-29 16:20.45 ---> saved as "c88dd6fe57f2b40a10602846a52f1da38ff02f74d3ed4dc0939e9c03e38e9965"
Job succeeded
2026-04-29 16:28.19: Job succeeded