(for PR #29242)

2026-04-29 12:47.42: New job: test 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
RUN (opam reinstall --with-test neo4j_bolt.0.4.0) || true
RUN opam reinstall --with-test --verbose 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"))
 (run (network host)
      (shell "(opam reinstall --with-test neo4j_bolt.0.4.0) || true"))
 (run (shell  "opam reinstall --with-test --verbose 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.47: Waiting for worker…
2026-04-29 16:21.26: 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:18.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:18.08 ---> 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:18.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:18.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:18.09 ---> using "0f138587f3dff1fe6ad69d7d4a1dba6de063434835fe7ed8ccf2f9be3b7a41c5" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-04-29 16:18.17 ---> saved as "e9501f61debfb4b3791978e68f822df73fefac601b871756f5ca62dad2cfb1df"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-04-29 16:18.37 ---> saved as "ceb98bb3e33c7ad580366082847a158ace0a618e666f2eb9226aa7047fb95542"

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

/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:18.39 ---> saved as "a0b029ee6ce4d2027549981e5d560d1ea496a260c8864a170ea92e6e8fe46c4a"

/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"

/home/opam: (run (network host)
                 (shell "(opam reinstall --with-test neo4j_bolt.0.4.0) || true"))
The following actions will be performed:
=== recompile 1 package
  ↻ neo4j_bolt         0.4.0 (pinned)
=== install 11 packages
  ∗ alcotest           1.9.1          [required by neo4j_bolt]
  ∗ alcotest-lwt       1.9.1          [required by neo4j_bolt]
  ∗ astring            0.8.5          [required by alcotest]
  ∗ cmdliner           2.1.1          [required by alcotest]
  ∗ fmt                0.11.0         [required by alcotest, alcotest-lwt]
  ∗ logs               0.10.0         [required by alcotest-lwt]
  ∗ ocaml-syntax-shims 1.0.0          [required by alcotest]
  ∗ ocamlbuild         0.16.1         [required by uutf, astring, fmt, logs]
  ∗ re                 1.14.0         [required by alcotest]
  ∗ topkg              1.1.1          [required by uutf, astring, fmt, logs]
  ∗ uutf               1.0.4          [required by alcotest]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
⬇ retrieved alcotest.1.9.1, alcotest-lwt.1.9.1  (https://github.com/mirage/alcotest/releases/download/1.9.1/alcotest-1.9.1.tbz)
⬇ retrieved astring.0.8.5  (https://erratique.ch/software/astring/releases/astring-0.8.5.tbz)
⬇ retrieved cmdliner.2.1.1  (https://erratique.ch/software/cmdliner/releases/cmdliner-2.1.1.tbz)
⬇ retrieved fmt.0.11.0  (https://erratique.ch/software/fmt/releases/fmt-0.11.0.tbz)
⬇ retrieved logs.0.10.0  (https://erratique.ch/software/logs/releases/logs-0.10.0.tbz)
⬇ retrieved ocaml-syntax-shims.1.0.0  (https://github.com/ocaml-ppx/ocaml-syntax-shims/releases/download/1.0.0/ocaml-syntax-shims-1.0.0.tbz)
⬇ retrieved ocamlbuild.0.16.1  (https://github.com/ocaml/ocamlbuild/archive/refs/tags/0.16.1.tar.gz)
⬇ retrieved re.1.14.0  (https://github.com/ocaml/ocaml-re/archive/refs/tags/1.14.0.tar.gz)
⬇ retrieved topkg.1.1.1  (https://erratique.ch/software/topkg/releases/topkg-1.1.1.tbz)
⬇ retrieved uutf.1.0.4  (https://erratique.ch/software/uutf/releases/uutf-1.0.4.tbz)
∗ installed ocaml-syntax-shims.1.0.0
∗ installed re.1.14.0
∗ installed cmdliner.2.1.1
⊘ removed   neo4j_bolt.0.4.0
∗ installed ocamlbuild.0.16.1
∗ installed topkg.1.1.1
∗ installed uutf.1.0.4
∗ installed fmt.0.11.0
∗ installed astring.0.8.5
∗ installed logs.0.10.0
∗ installed alcotest.1.9.1
∗ installed alcotest-lwt.1.9.1
∗ installed neo4j_bolt.0.4.0
Done.
2026-04-29 16:21.43 ---> saved as "f77944607d9594805746f105a7c6c2a319ad2d2af19b05fb6f9c2dea5a2656f2"

/home/opam: (run (shell  "opam reinstall --with-test --verbose 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"))
The following actions will be performed:
=== recompile 1 package
  ↻ neo4j_bolt 0.4.0 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  2/4: [neo4j_bolt: dune build]
+ /home/opam/.opam/5.4.1/bin/dune "build" "-p" "neo4j_bolt" "-j" "39" "@install" "@runtest" (CWD=/home/opam/.opam/5.4.1/.opam-switch/build/neo4j_bolt.0.4.0)
- (cd _build/default/test && ./test_bolt.exe)
- Testing `Bolt'.
- This run has ID `G6UW8FAX'.
- 
-   [OK]          uri_parsing          0   bolt:// plain.
-   [OK]          uri_parsing          1   bolt+s:// TLS.
-   [OK]          uri_parsing          2   bolts:// shorthand.
-   [OK]          uri_parsing          3   bolt+ssc:// self-signed.
-   [OK]          uri_parsing          4   default port.
-   [OK]          uri_parsing          5   with path.
-   [OK]          config               0   config_from_uri TLS.
-   [OK]          tls_mode             0   mode strings.
- 
- Full test results in `~/.opam/5.4.1/.opam-switch/build/neo4j_bolt.0.4.0/_build/default/test/_build/_tests/Bolt'.
- Test Successful in 0.001s. 8 tests run.
- (cd _build/default/test && ./test_packstream.exe)
- Testing `PackStream'.
- This run has ID `13REK5OV'.
- 
-   [OK]          null            0   null.
-   [OK]          bool            0   bool true.
-   [OK]          bool            1   bool false.
-   [OK]          int             0   int 0.
-   [OK]          int             1   int 42.
-   [OK]          int             2   int -17.
-   [OK]          int             3   int 127.
-   [OK]          int             4   int 200.
-   [OK]          int             5   int 30000.
-   [OK]          int             6   int 100000.
-   [OK]          int             7   int large.
-   [OK]          int             8   int -100000.
-   [OK]          float           0   float 0.0.
-   [OK]          float           1   float pi.
-   [OK]          float           2   float -1.5.
-   [OK]          string          0   string empty.
-   [OK]          string          1   string hello.
-   [OK]          string          2   string unicode.
-   [OK]          string          3   string 100 chars.
-   [OK]          string          4   string 256 chars.
-   [OK]          bytes           0   bytes empty.
-   [OK]          bytes           1   bytes small.
-   [OK]          list            0   list empty.
-   [OK]          list            1   list ints.
-   [OK]          list            2   list mixed.
-   [OK]          list            3   list nested.
-   [OK]          map             0   map empty.
-   [OK]          map             1   map simple.
-   [OK]          map             2   map multi.
-   [OK]          struct          0   struct empty.
-   [OK]          struct          1   struct HELLO.
- 
- Full test results in `~/.opam/5.4.1/.opam-switch/build/neo4j_bolt.0.4.0/_build/default/test/_build/_tests/PackStream'.
- Test Successful in 0.005s. 31 tests run.
λ compiled  neo4j_bolt.0.4.0
⊘ removed   neo4j_bolt.0.4.0
∗ installed neo4j_bolt.0.4.0
Done.
2026-04-29 16:21.54 ---> saved as "573b8b3a38dc69a199010d4f857a4b13afa2a5564f27586024e5860e002a1116"
Job succeeded
2026-04-29 16:29.22: Job succeeded