- github
- ocaml
- opam-repository
- 89a6ae
- compilers,5.4,dune.3.23.0~alpha2,revdeps,ocaml-ai-sdk.0.3
(not at the head of any monitored branch or PR)
2026-04-30 02:03.19: New job: test ocaml-ai-sdk.0.3 with dune.3.23.0~alpha2, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29824/head (89a6ae888498500bf7c0fc05361da936fc6acacf)
on debian-13-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/29824/head" && git reset --hard 89a6ae88
git fetch origin master
git merge --no-edit d1c56642b8ca7e1166c90bfe0c74f38007bbad58
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.4@sha256:00f499d6f7e3b1be41e5b77f79fcd94054ac0247cdd1991aa7156482fe125d44
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 dune.3.23.0~alpha2 3.23.0~alpha2
RUN opam reinstall dune.3.23.0~alpha2; \
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" != 'dune.3.23.0~alpha2' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
RUN opam reinstall ocaml-ai-sdk.0.3; \
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" != 'ocaml-ai-sdk.0.3' && 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 ocaml-ai-sdk.0.3) || true
RUN opam reinstall --with-test --verbose ocaml-ai-sdk.0.3; \
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" != 'ocaml-ai-sdk.0.3' && 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-30 02:03.19: Using cache hint "ocaml/opam:debian-13-ocaml-5.4@sha256:00f499d6f7e3b1be41e5b77f79fcd94054ac0247cdd1991aa7156482fe125d44-dune.3.23.0~alpha2-ocaml-ai-sdk.0.3-89a6ae888498500bf7c0fc05361da936fc6acacf"
2026-04-30 02:03.19: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:00f499d6f7e3b1be41e5b77f79fcd94054ac0247cdd1991aa7156482fe125d44)
(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 dune.3.23.0~alpha2 3.23.0~alpha2"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall dune.3.23.0~alpha2;\
\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\" != 'dune.3.23.0~alpha2' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ocaml-ai-sdk.0.3;\
\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\" != 'ocaml-ai-sdk.0.3' && 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 ocaml-ai-sdk.0.3) || true"))
(run (shell "opam reinstall --with-test --verbose ocaml-ai-sdk.0.3;\
\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\" != 'ocaml-ai-sdk.0.3' && 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-30 02:03.19: Waiting for resource in pool OCluster
2026-04-30 05:15.49: Waiting for worker…
2026-04-30 05:17.32: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
Updating files: 93% (17589/18887)
Updating files: 94% (17754/18887)
Updating files: 95% (17943/18887)
Updating files: 96% (18132/18887)
Updating files: 97% (18321/18887)
Updating files: 98% (18510/18887)
Updating files: 99% (18699/18887)
Updating files: 100% (18887/18887)
Updating files: 100% (18887/18887), done.
HEAD is now at d1c56642b8 Merge pull request #29820 from jmid/core-0.17.1-bound
Merge made by the 'ort' strategy.
.../chrome-trace/chrome-trace.3.23.0~alpha2/opam | 39 +++++++++++
.../dune-action-plugin.3.23.0~alpha2/opam | 52 ++++++++++++++
.../dune-action-trace.3.23.0~alpha2/opam | 39 +++++++++++
.../dune-build-info.3.23.0~alpha2/opam | 45 ++++++++++++
.../dune-configurator.3.23.0~alpha2/opam | 49 +++++++++++++
packages/dune-glob/dune-glob.3.23.0~alpha2/opam | 42 ++++++++++++
.../dune-private-libs.3.23.0~alpha2/opam | 50 ++++++++++++++
.../dune-rpc-lwt/dune-rpc-lwt.3.23.0~alpha2/opam | 41 +++++++++++
packages/dune-rpc/dune-rpc.3.23.0~alpha2/opam | 44 ++++++++++++
packages/dune-site/dune-site.3.23.0~alpha2/opam | 37 ++++++++++
packages/dune/dune.3.23.0~alpha2/opam | 80 ++++++++++++++++++++++
packages/dyn/dyn.3.23.0~alpha2/opam | 40 +++++++++++
packages/fs-io/fs-io.3.23.0~alpha2/opam | 39 +++++++++++
packages/ocamlc-loc/ocamlc-loc.3.23.0~alpha2/opam | 43 ++++++++++++
packages/ordering/ordering.3.23.0~alpha2/opam | 38 ++++++++++
packages/stdune/stdune.3.23.0~alpha2/opam | 46 +++++++++++++
.../top-closure/top-closure.3.23.0~alpha2/opam | 38 ++++++++++
packages/xdg/xdg.3.23.0~alpha2/opam | 39 +++++++++++
18 files changed, 801 insertions(+)
create mode 100644 packages/chrome-trace/chrome-trace.3.23.0~alpha2/opam
create mode 100644 packages/dune-action-plugin/dune-action-plugin.3.23.0~alpha2/opam
create mode 100644 packages/dune-action-trace/dune-action-trace.3.23.0~alpha2/opam
create mode 100644 packages/dune-build-info/dune-build-info.3.23.0~alpha2/opam
create mode 100644 packages/dune-configurator/dune-configurator.3.23.0~alpha2/opam
create mode 100644 packages/dune-glob/dune-glob.3.23.0~alpha2/opam
create mode 100644 packages/dune-private-libs/dune-private-libs.3.23.0~alpha2/opam
create mode 100644 packages/dune-rpc-lwt/dune-rpc-lwt.3.23.0~alpha2/opam
create mode 100644 packages/dune-rpc/dune-rpc.3.23.0~alpha2/opam
create mode 100644 packages/dune-site/dune-site.3.23.0~alpha2/opam
create mode 100644 packages/dune/dune.3.23.0~alpha2/opam
create mode 100644 packages/dyn/dyn.3.23.0~alpha2/opam
create mode 100644 packages/fs-io/fs-io.3.23.0~alpha2/opam
create mode 100644 packages/ocamlc-loc/ocamlc-loc.3.23.0~alpha2/opam
create mode 100644 packages/ordering/ordering.3.23.0~alpha2/opam
create mode 100644 packages/stdune/stdune.3.23.0~alpha2/opam
create mode 100644 packages/top-closure/top-closure.3.23.0~alpha2/opam
create mode 100644 packages/xdg/xdg.3.23.0~alpha2/opam
(from ocaml/opam:debian-13-ocaml-5.4@sha256:00f499d6f7e3b1be41e5b77f79fcd94054ac0247cdd1991aa7156482fe125d44)
2026-04-30 05:17.56 ---> using "3ad720629c2266fa8bdd5d2923dac1e3690d78741c5f65fb1eb4d33725df507c" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-04-30 05:17.56 ---> using "0d128a17914946ba4fe4852d9c905008c6396e0502e54d164cf768f35be583e7" 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.
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-04-30 05:17.56 ---> using "d70296180507e779e1710b2206cbd2ed2063f4f7ba3a5617311725a56ede5942" 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=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 5.4
# invariant ["ocaml-base-compiler" {= "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/lib/ocaml/stublibs:/home/opam/.opam/5.4/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 5.4.1
2026-04-30 05:17.56 ---> using "8495d51697191c14a2d936280d33309feb632049461097708f2914849f49e434" 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-30 05:17.56 ---> using "e71fcfd10a966fea9cbc39c81a8170d118ef6c5bc3e82b827a8fc5873a3b02c4" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2026-04-30 05:17.57 ---> using "1a95fcfdbe33d3db5ee6da23907452f21ceefede84b20ffd63d9951a0582315e" from cache
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-04-30 05:17.57 ---> using "c06cea79d066df0e24bbd5a14e3fb6af810f6c2510831dea6a3f9b3abe543bc6" from cache
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- 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-security trixie-security/main amd64 Packages [129 kB]
- Fetched 219 kB in 0s (1815 kB/s)
- Reading package lists...
-
2026-04-30 05:17.57 ---> using "79dc76009a07376b7d0a125988001bdfe429c021968c950cc37d4850b4405ed8" from cache
/home/opam: (run (shell "opam pin add -k version -yn dune.3.23.0~alpha2 3.23.0~alpha2"))
dune is now pinned to version 3.23.0~alpha2
2026-04-30 05:17.57 ---> using "0fceafb872b30d0895792b4eaa943f03be2c3da266d1c709c5e111c4f9d0ce56" from cache
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall dune.3.23.0~alpha2;\
\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\" != 'dune.3.23.0~alpha2' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
dune.3.23.0~alpha2 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 1 package
- install dune 3.23.0~alpha2 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.23.0~alpha2 (cached)
-> installed dune.3.23.0~alpha2
Done.
# To update the current shell environment, run: eval $(opam env)
2026-04-30 05:17.57 ---> using "33f3806b768ed3bccb769c14ec85f285cc9a11aedea3160e9b687d42e8d992f8" from cache
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ocaml-ai-sdk.0.3;\
\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\" != 'ocaml-ai-sdk.0.3' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
ocaml-ai-sdk.0.3 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 132 packages
- install angstrom 0.16.1 [required by uri]
- install asn1-combinators 0.3.2 [required by x509]
- install astring 0.8.5 [required by conduit]
- install base v0.17.3 [required by jane_rope, core, regex_parser_intf]
- install base-bytes base [required by ocplib-endian]
- install base64 3.5.2 [required by ocaml-ai-sdk]
- install base_bigstring v0.17.0 [required by core]
- install base_quickcheck v0.17.1 [required by core]
- install bigstringaf 0.10.0 [required by angstrom]
- install bin_prot v0.17.0-1 [required by core]
- install bos 0.3.0 [required by ca-certs]
- install ca-certs 1.0.1 [required by conduit-lwt-unix]
- install capitalization v0.17.0 [required by ppx_string_conv]
- install cmdliner 2.1.1 [required by cohttp-lwt-unix, uuseg]
- install cohttp 6.2.1 [required by cohttp-lwt-unix]
- install cohttp-lwt 6.2.1 [required by cohttp-lwt-unix]
- install cohttp-lwt-unix 6.2.1 [required by ocaml-ai-sdk]
- install conduit 8.0.0 [required by conduit-lwt]
- install conduit-lwt 8.0.0 [required by cohttp-lwt-unix]
- install conduit-lwt-unix 8.0.0 [required by cohttp-lwt-unix]
- install conf-g++ 1.0 [required by re2]
- install conf-gmp 5 [required by conf-gmp-powm-sec, zarith]
- install conf-gmp-powm-sec 4 [required by mirage-crypto-pk]
- install conf-libssl 4 [required by ssl]
- install conf-pkg-config 4 [required by conf-libssl]
- install core v0.17.2 [required by re2]
- install cppo 1.8.0 [required by ppx_deriving]
- install csexp 1.5.2 [required by dune-configurator]
- install digestif 1.3.0 [required by ca-certs]
- install domain-name 0.5.0 [required by ipaddr]
- install dune-configurator 3.23.0~alpha2 [required by mirage-crypto, lwt, base, ssl]
- install duration 0.3.1 [required by mirage-crypto-rng]
- install eqaf 0.10 [required by digestif, mirage-crypto]
- install fieldslib v0.17.0 [required by core]
- install fmt 0.11.0 [required by cohttp-lwt-unix]
- install fpath 0.7.3 [required by ca-certs]
- install gel v0.17.0 [required by ppx_diff]
- install gmap 0.3.0 [required by x509]
- install http 6.2.1 [required by cohttp-lwt-unix]
- install int_repr v0.17.0 [required by base_bigstring]
- install ipaddr 5.6.2 [required by cohttp-lwt, cohttp, conduit-lwt-unix]
- install ipaddr-sexp 5.6.2 [required by conduit-lwt-unix]
- install jane-street-headers v0.17.0 [required by core]
- install jane_rope v0.17.0 [required by re2]
- install jsonschema 0.1.0 [required by ocaml-ai-sdk]
- install jst-config v0.17.0 [required by core]
- install kdf 1.0.0 [required by x509]
- install logs 0.10.0 [required by cohttp-lwt-unix]
- install lwt 6.1.2 [required by ocaml-ai-sdk]
- install lwt_ppx 6.1.0 [required by ocaml-ai-sdk]
- install lwt_ssl 1.2.0 [required by ocaml-ai-sdk]
- install macaddr 5.6.2 [required by ipaddr]
- install magic-mime 1.3.1 [required by cohttp-lwt-unix]
- install melange-json-native 2.0.0 [required by ocaml-ai-sdk]
- install mirage-crypto 2.1.0 [required by ca-certs]
- install mirage-crypto-ec 2.1.0 [required by x509]
- install mirage-crypto-pk 2.1.0 [required by x509]
- install mirage-crypto-rng 2.1.0 [required by x509]
- install num 1.6 [required by sexplib]
- install ocaml-ai-sdk 0.3
- install ocaml-compiler-libs v0.17.0 [required by ppxlib]
- install ocaml-syntax-shims 1.0.0 [required by angstrom]
- install ocaml_intrinsics_kernel v0.17.1 [required by base]
- install ocamlbuild 0.16.1 [required by uuseg]
- install ocamlfind 1.9.8 [required by uuseg]
- install ocplib-endian 1.2 [required by lwt]
- install ohex 0.2.0 [required by ca-certs]
- install parsexp v0.17.0 [required by sexplib]
- install ppx_assert v0.17.0 [required by core]
- install ppx_base v0.17.0 [required by core]
- install ppx_bench v0.17.1 [required by ppx_jane]
- install ppx_bin_prot v0.17.1 [required by ppx_jane]
- install ppx_cold v0.17.0 [required by ppx_base]
- install ppx_compare v0.17.0 [required by ppx_diff]
- install ppx_custom_printf v0.17.0 [required by ppx_jane]
- install ppx_derivers 1.2.1 [required by ppx_deriving]
- install ppx_deriving 6.1.1 [required by ocaml-ai-sdk]
- install ppx_deriving_yojson 3.10.0 [required by jsonschema]
- install ppx_diff v0.17.1 [required by core]
- install ppx_disable_unused_warnings v0.17.0 [required by ppx_jane]
- install ppx_enumerate v0.17.0 [required by ppx_diff]
- install ppx_expect v0.17.3 [required by ppx_jane]
- install ppx_fields_conv v0.17.0 [required by ppx_jane]
- install ppx_fixed_literal v0.17.0 [required by ppx_jane]
- install ppx_globalize v0.17.2 [required by ppx_base]
- install ppx_hash v0.17.0 [required by core]
- install ppx_here v0.17.0 [required by ppx_jane]
- install ppx_ignore_instrumentation v0.17.0 [required by ppx_jane]
- install ppx_inline_test v0.17.1 [required by core]
- install ppx_jane v0.17.0 [required by re2]
- install ppx_let v0.17.1 [required by ppx_jane]
- install ppx_log v0.17.0 [required by ppx_jane]
- install ppx_module_timer v0.17.0 [required by ppx_jane]
- install ppx_optcomp v0.17.1 [required by core]
- install ppx_optional v0.17.0 [required by ppx_jane]
- install ppx_pipebang v0.17.0 [required by ppx_jane]
- install ppx_sexp_conv v0.17.1 [required by cohttp-lwt-unix]
- install ppx_sexp_message v0.17.0 [required by core]
- install ppx_sexp_value v0.17.0 [required by ppx_jane]
- install ppx_stable v0.17.1 [required by ppx_jane]
- install ppx_stable_witness v0.17.0 [required by ppx_jane]
- install ppx_string v0.17.0 [required by ppx_jane]
- install ppx_string_conv v0.17.0 [required by ppx_jane]
- install ppx_tydi v0.17.1 [required by ppx_jane]
- install ppx_typerep_conv v0.17.1 [required by ppx_jane]
- install ppx_variants_conv v0.17.1 [required by ppx_jane]
- install ppxlib 0.38.0 [required by lwt_ppx, melange-json-native]
- install ppxlib_jane v0.17.4 [required by ppx_sexp_conv, ppx_diff]
- install ptime 1.2.0 [required by ca-certs]
- install re 1.14.0 [required by jsonschema]
- install re2 v0.17.0 [required by ocaml-ai-sdk]
- install regex_parser_intf v0.17.0 [required by re2]
- install rresult 0.7.0 [required by bos]
- install sexplib v0.17.0 [required by core]
- install sexplib0 v0.17.0 [required by cohttp-lwt, cohttp, conduit-lwt]
- install splittable_random v0.17.0 [required by core]
- install ssl 0.7.0 [required by lwt_ssl]
- install stdio v0.17.0 [required by core]
- install stdlib-shims 0.3.0 [required by ppxlib]
- install stringext 1.6.0 [required by cohttp]
- install time_now v0.17.0 [required by core]
- install topkg 1.1.1 [required by uuseg]
- install trace 0.12 [required by ocaml-ai-sdk]
- install typerep v0.17.1 [required by core]
- install uri 4.4.0 [required by jsonschema]
- install uri-sexp 4.4.0 [required by cohttp]
- install uucp 17.0.0 [required by uuseg]
- install uuseg 17.0.0 [required by ocaml-ai-sdk]
- install variantslib v0.17.0 [required by core]
- install x509 1.0.6 [required by ca-certs]
- install yojson 3.0.0 [required by ocaml-ai-sdk]
- install zarith 1.14 [required by mirage-crypto-pk]
The following system packages will first need to be installed:
libgmp-dev 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" "libgmp-dev" "libssl-dev" "pkg-config"
- Selecting previously unselected package libgmpxx4ldbl: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 ... 20654 files and directories currently installed.)
- Preparing to unpack .../0-libgmpxx4ldbl_2%3a6.3.0+dfsg-3_amd64.deb ...
- Unpacking libgmpxx4ldbl:amd64 (2:6.3.0+dfsg-3) ...
- Selecting previously unselected package libgmp-dev:amd64.
- Preparing to unpack .../1-libgmp-dev_2%3a6.3.0+dfsg-3_amd64.deb ...
- Unpacking libgmp-dev:amd64 (2:6.3.0+dfsg-3) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../2-libpkgconf3_1.8.1-4_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-4) ...
- Selecting previously unselected package libssl-dev:amd64.
- Preparing to unpack .../3-libssl-dev_3.5.5-1~deb13u2_amd64.deb ...
- Unpacking libssl-dev:amd64 (3.5.5-1~deb13u2) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../4-pkgconf-bin_1.8.1-4_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-4) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../5-pkgconf_1.8.1-4_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../6-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 libgmpxx4ldbl:amd64 (2:6.3.0+dfsg-3) ...
- Setting up libssl-dev:amd64 (3.5.5-1~deb13u2) ...
- Setting up pkgconf-bin (1.8.1-4) ...
- Setting up libgmp-dev:amd64 (2:6.3.0+dfsg-3) ...
- 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+deb13u2) ...
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved angstrom.0.16.1 (cached)
-> retrieved asn1-combinators.0.3.2 (cached)
-> retrieved astring.0.8.5 (cached)
-> retrieved base.v0.17.3 (cached)
-> retrieved base64.3.5.2 (cached)
-> retrieved base_bigstring.v0.17.0 (cached)
-> retrieved base_quickcheck.v0.17.1 (cached)
-> retrieved bigstringaf.0.10.0 (cached)
-> retrieved bin_prot.v0.17.0-1 (cached)
-> retrieved bos.0.3.0 (cached)
-> retrieved ca-certs.1.0.1 (cached)
-> retrieved capitalization.v0.17.0 (cached)
-> retrieved cmdliner.2.1.1 (cached)
-> retrieved cohttp.6.2.1, cohttp-lwt.6.2.1, cohttp-lwt-unix.6.2.1, http.6.2.1 (cached)
-> installed base64.3.5.2
-> retrieved conduit.8.0.0, conduit-lwt.8.0.0, conduit-lwt-unix.8.0.0 (cached)
-> retrieved conf-gmp.5 (cached)
-> retrieved conf-gmp-powm-sec.4 (cached)
-> retrieved conf-libssl.4 (cached)
-> installed conf-gmp.5
-> retrieved core.v0.17.2 (cached)
-> installed conf-g++.1.0
-> installed conf-pkg-config.4
-> installed conf-gmp-powm-sec.4
-> retrieved cppo.1.8.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> installed conf-libssl.4
-> installed http.6.2.1
-> installed csexp.1.5.2
-> retrieved digestif.1.3.0 (cached)
-> retrieved domain-name.0.5.0 (cached)
-> installed domain-name.0.5.0
-> installed cppo.1.8.0
-> retrieved dune-configurator.3.23.0~alpha2 (cached)
-> retrieved duration.0.3.1 (cached)
-> retrieved eqaf.0.10 (cached)
-> retrieved fieldslib.v0.17.0 (cached)
-> retrieved fmt.0.11.0 (cached)
-> retrieved fpath.0.7.3 (cached)
-> retrieved gel.v0.17.0 (cached)
-> retrieved gmap.0.3.0 (cached)
-> retrieved int_repr.v0.17.0 (cached)
-> retrieved ipaddr.5.6.2, ipaddr-sexp.5.6.2, macaddr.5.6.2 (cached)
-> retrieved jane-street-headers.v0.17.0 (cached)
-> retrieved jane_rope.v0.17.0 (cached)
-> retrieved jsonschema.0.1.0 (cached)
-> retrieved jst-config.v0.17.0 (cached)
-> retrieved kdf.1.0.0 (cached)
-> retrieved logs.0.10.0 (cached)
-> installed cmdliner.2.1.1
-> installed duration.0.3.1
-> installed eqaf.0.10
-> installed gmap.0.3.0
-> installed macaddr.5.6.2
-> installed jane-street-headers.v0.17.0
-> retrieved lwt.6.1.2 (cached)
-> retrieved lwt_ppx.6.1.0 (cached)
-> retrieved lwt_ssl.1.2.0 (cached)
-> retrieved magic-mime.1.3.1 (cached)
-> retrieved melange-json-native.2.0.0 (cached)
-> installed dune-configurator.3.23.0~alpha2
-> installed ipaddr.5.6.2
-> retrieved mirage-crypto.2.1.0, mirage-crypto-ec.2.1.0, mirage-crypto-pk.2.1.0, mirage-crypto-rng.2.1.0 (cached)
-> installed digestif.1.3.0
-> retrieved num.1.6 (cached)
-> installed bigstringaf.0.10.0
-> installed magic-mime.1.3.1
-> retrieved ocaml-ai-sdk.0.3 (https://opam.ocaml.org/cache)
-> retrieved ocaml-compiler-libs.v0.17.0 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocaml_intrinsics_kernel.v0.17.1 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved ocplib-endian.1.2 (cached)
-> retrieved ohex.0.2.0 (cached)
-> retrieved parsexp.v0.17.0 (cached)
-> retrieved ppx_assert.v0.17.0 (cached)
-> retrieved ppx_base.v0.17.0 (cached)
-> retrieved ppx_bench.v0.17.1 (cached)
-> retrieved ppx_bin_prot.v0.17.1 (cached)
-> retrieved ppx_cold.v0.17.0 (cached)
-> retrieved ppx_compare.v0.17.0 (cached)
-> retrieved ppx_custom_printf.v0.17.0 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> installed ocaml_intrinsics_kernel.v0.17.1
-> retrieved ppx_deriving.6.1.1 (cached)
-> retrieved ppx_deriving_yojson.3.10.0 (cached)
-> retrieved ppx_diff.v0.17.1 (cached)
-> retrieved ppx_disable_unused_warnings.v0.17.0 (cached)
-> retrieved ppx_enumerate.v0.17.0 (cached)
-> retrieved ppx_expect.v0.17.3 (cached)
-> retrieved ppx_fields_conv.v0.17.0 (cached)
-> retrieved ppx_fixed_literal.v0.17.0 (cached)
-> installed ohex.0.2.0
-> retrieved ppx_globalize.v0.17.2 (cached)
-> retrieved ppx_hash.v0.17.0 (cached)
-> retrieved ppx_here.v0.17.0 (cached)
-> installed ppx_derivers.1.2.1
-> retrieved ppx_ignore_instrumentation.v0.17.0 (cached)
-> retrieved ppx_inline_test.v0.17.1 (cached)
-> retrieved ppx_jane.v0.17.0 (cached)
-> retrieved ppx_let.v0.17.1 (cached)
-> retrieved ppx_log.v0.17.0 (cached)
-> retrieved ppx_module_timer.v0.17.0 (cached)
-> retrieved ppx_optcomp.v0.17.1 (cached)
-> retrieved ppx_optional.v0.17.0 (cached)
-> retrieved ppx_pipebang.v0.17.0 (cached)
-> retrieved ppx_sexp_conv.v0.17.1 (cached)
-> retrieved ppx_sexp_message.v0.17.0 (cached)
-> retrieved ppx_sexp_value.v0.17.0 (cached)
-> retrieved ppx_stable.v0.17.1 (cached)
-> retrieved ppx_stable_witness.v0.17.0 (cached)
-> retrieved ppx_string.v0.17.0 (cached)
-> retrieved ppx_string_conv.v0.17.0 (cached)
-> retrieved ppx_tydi.v0.17.1 (cached)
-> retrieved ppx_typerep_conv.v0.17.1 (cached)
-> retrieved ppx_variants_conv.v0.17.1 (cached)
-> retrieved ppxlib.0.38.0 (cached)
-> retrieved ppxlib_jane.v0.17.4 (cached)
-> retrieved ptime.1.2.0 (cached)
-> retrieved re.1.14.0 (cached)
-> installed ocaml-syntax-shims.1.0.0
-> retrieved re2.v0.17.0 (cached)
-> retrieved regex_parser_intf.v0.17.0 (cached)
-> retrieved rresult.0.7.0 (cached)
-> installed ocaml-compiler-libs.v0.17.0
-> retrieved sexplib.v0.17.0 (cached)
-> retrieved sexplib0.v0.17.0 (cached)
-> retrieved splittable_random.v0.17.0 (cached)
-> retrieved ssl.0.7.0 (cached)
-> retrieved stdio.v0.17.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved stringext.1.6.0 (cached)
-> retrieved time_now.v0.17.0 (cached)
-> retrieved topkg.1.1.1 (cached)
-> retrieved trace.0.12 (cached)
-> retrieved typerep.v0.17.1 (cached)
-> retrieved uri.4.4.0, uri-sexp.4.4.0 (cached)
-> installed num.1.6
-> installed mirage-crypto.2.1.0
-> installed stdlib-shims.0.3.0
-> installed stringext.1.6.0
-> installed angstrom.0.16.1
-> retrieved uucp.17.0.0 (cached)
-> retrieved uuseg.17.0.0 (cached)
-> retrieved variantslib.v0.17.0 (cached)
-> retrieved x509.1.0.6 (cached)
-> retrieved yojson.3.0.0 (cached)
-> installed sexplib0.v0.17.0
-> installed kdf.1.0.0
-> retrieved zarith.1.14 (cached)
-> installed trace.0.12
-> installed re.1.14.0
-> installed ssl.0.7.0
-> installed yojson.3.0.0
-> installed uri.4.4.0
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed parsexp.v0.17.0
-> installed ocplib-endian.1.2
-> installed sexplib.v0.17.0
-> installed ocamlbuild.0.16.1
-> installed lwt.6.1.2
-> installed zarith.1.14
-> installed lwt_ssl.1.2.0
-> installed base.v0.17.3
-> installed fieldslib.v0.17.0
-> installed regex_parser_intf.v0.17.0
-> installed variantslib.v0.17.0
-> installed stdio.v0.17.0
-> installed typerep.v0.17.1
-> installed topkg.1.1.1
-> installed rresult.0.7.0
-> installed ptime.1.2.0
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed asn1-combinators.0.3.2
-> installed fpath.0.7.3
-> installed logs.0.10.0
-> installed mirage-crypto-rng.2.1.0
-> installed mirage-crypto-pk.2.1.0
-> installed bos.0.3.0
-> installed ppxlib.0.38.0
-> installed mirage-crypto-ec.2.1.0
-> installed ppx_optcomp.v0.17.1
-> installed ppxlib_jane.v0.17.4
-> installed ppx_here.v0.17.0
-> installed ppx_tydi.v0.17.1
-> installed ppx_disable_unused_warnings.v0.17.0
-> installed ppx_cold.v0.17.0
-> installed ppx_typerep_conv.v0.17.1
-> installed melange-json-native.2.0.0
-> installed ppx_stable.v0.17.1
-> installed ppx_stable_witness.v0.17.0
-> installed ppx_variants_conv.v0.17.1
-> installed ppx_fields_conv.v0.17.0
-> installed x509.1.0.6
-> installed ppx_pipebang.v0.17.0
-> installed lwt_ppx.6.1.0
-> installed ca-certs.1.0.1
-> installed ppx_fixed_literal.v0.17.0
-> installed ppx_ignore_instrumentation.v0.17.0
-> installed ppx_enumerate.v0.17.0
-> installed ppx_deriving.6.1.1
-> installed ppx_globalize.v0.17.2
-> installed ppx_compare.v0.17.0
-> installed ppx_optional.v0.17.0
-> installed ppx_let.v0.17.1
-> installed ppx_sexp_conv.v0.17.1
-> installed ppx_deriving_yojson.3.10.0
-> installed ipaddr-sexp.5.6.2
-> installed uri-sexp.4.4.0
-> installed ppx_hash.v0.17.0
-> installed ppx_sexp_value.v0.17.0
-> installed ppx_assert.v0.17.0
-> installed jsonschema.0.1.0
-> installed ppx_sexp_message.v0.17.0
-> installed conduit.8.0.0
-> installed ppx_custom_printf.v0.17.0
-> installed ppx_base.v0.17.0
-> installed cohttp.6.2.1
-> installed conduit-lwt.8.0.0
-> installed capitalization.v0.17.0
-> installed jst-config.v0.17.0
-> installed cohttp-lwt.6.2.1
-> installed bin_prot.v0.17.0-1
-> installed ppx_string.v0.17.0
-> installed conduit-lwt-unix.8.0.0
-> installed time_now.v0.17.0
-> installed ppx_bin_prot.v0.17.1
-> installed cohttp-lwt-unix.6.2.1
-> installed uucp.17.0.0
-> installed ppx_string_conv.v0.17.0
-> installed ppx_module_timer.v0.17.0
-> installed ppx_inline_test.v0.17.1
-> installed uuseg.17.0.0
-> installed ppx_bench.v0.17.1
-> installed ppx_expect.v0.17.3
-> installed splittable_random.v0.17.0
-> installed base_quickcheck.v0.17.1
-> installed ppx_log.v0.17.0
-> installed ppx_jane.v0.17.0
-> installed jane_rope.v0.17.0
-> installed gel.v0.17.0
-> installed int_repr.v0.17.0
-> installed base_bigstring.v0.17.0
-> installed ppx_diff.v0.17.1
-> installed core.v0.17.2
-> installed re2.v0.17.0
-> installed ocaml-ai-sdk.0.3
Done.
# To update the current shell environment, run: eval $(opam env)
2026-04-30 05:22.14 ---> saved as "69958a89d5b75b1bacb19361ffef7ed3563cfa5279d81c819bb4ef12f1085fe5"
/home/opam: (run (network host)
(shell "(opam reinstall --with-test ocaml-ai-sdk.0.3) || true"))
The following actions will be performed:
=== recompile 2 packages
- recompile ocaml-ai-sdk 0.3
- recompile uuseg 17.0.0 [uses uutf]
=== install 2 packages
- install alcotest 1.9.1 [required by ocaml-ai-sdk]
- install uutf 1.0.4 [required by alcotest]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.9.1 (https://opam.ocaml.org/cache)
-> retrieved ocaml-ai-sdk.0.3 (https://opam.ocaml.org/cache)
-> retrieved uuseg.17.0.0 (https://opam.ocaml.org/cache)
-> retrieved uutf.1.0.4 (https://opam.ocaml.org/cache)
-> removed ocaml-ai-sdk.0.3
-> removed uuseg.17.0.0
-> installed uutf.1.0.4
-> installed alcotest.1.9.1
-> installed uuseg.17.0.0
-> installed ocaml-ai-sdk.0.3
Done.
# To update the current shell environment, run: eval $(opam env)
2026-04-30 05:22.32 ---> saved as "4b1754d6235249cdc41e1c13c7b50414a1256f29d745c018895867fced612831"
/home/opam: (run (shell "opam reinstall --with-test --verbose ocaml-ai-sdk.0.3;\
\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\" != 'ocaml-ai-sdk.0.3' && 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
- recompile ocaml-ai-sdk 0.3
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 1/4: [ocaml-ai-sdk.0.3: extract]
-> retrieved ocaml-ai-sdk.0.3 (cached)
Processing 2/4: [ocaml-ai-sdk: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "ocaml-ai-sdk" "-j" "71" "@install" "@runtest" (CWD=/home/opam/.opam/5.4/.opam-switch/build/ocaml-ai-sdk.0.3)
- (cd _build/default/test/ai_provider && ./test_prompt.exe)
- Testing `Prompt'.
- This run has ID `6BXYP5BG'.
-
- [OK] messages 0 system.
- [OK] messages 1 user_text.
- [OK] messages 2 user_file.
- [OK] messages 3 assistant_reasoning.
- [OK] messages 4 assistant_tool_call.
- [OK] messages 5 tool_result.
- [OK] messages 6 file_data_variants.
-
- Full test results in `~/.opam/5.4/.opam-switch/build/ocaml-ai-sdk.0.3/_build/default/test/ai_provider/_build/_tests/Prompt'.
- Test Successful in 0.001s. 7 tests run.
- (cd _build/default/test/ai_provider && ./test_http_timeouts.exe)
- Testing `Http_timeouts'.
- This run has ID `RDUM2BJD'.
-
- [OK] construction 0 default values.
- [OK] construction 1 override request_timeout.
- [OK] construction 2 override stream_idle_timeout.
- [OK] construction 3 rejects zero.
- [OK] construction 4 rejects negative.
-
- Full test results in `~/.opam/5.4/.opam-switch/build/ocaml-ai-sdk.0.3/_build/default/test/ai_provider/_build/_tests/Http_timeouts'.
- Test Successful in 0.001s. 5 tests run.
- (cd _build/default/test/ai_provider && ./test_provider_options.exe)
- Testing `Provider_options'.
- This run has ID `F427DCJC'.
-
- [OK] basics 0 empty.
- [OK] basics 1 set_and_find.
- [OK] basics 2 different_keys.
- [OK] basics 3 set_replaces.
- [OK] basics 4 find_exn_raises.
- [OK] basics 5 multiple_keys.
-
- Full test results in `~/.opam/5.4/.opam-switch/build/ocaml-ai-sdk.0.3/_build/default/test/ai_provider/_build/_tests/Provider_options'.
- Test Successful in 0.001s. 6 tests run.
- (cd _build/default/test/ai_provider && ./test_call_options.exe)
- Testing `Call_options_and_results'.
- This run has ID `0B3T2K6A'.
-
- [OK] call_options 0 default.
- [OK] generate_result 0 construction.
- [OK] stream_part 0 variants.
- [OK] stream_result 0 with_stream.
-
- Full test results in `~/.opam/5.4/.opam-switch/build/ocaml-ai-sdk.0.3/_build/default/test/ai_provider/_build/_tests/Call_options_and_results'.
- Test Successful in 0.001s. 4 tests run.
- (cd _build/default/test/ai_provider && ./test_foundation_types.exe)
- Testing `Foundation_types'.
- This run has ID `17H2W6NC'.
-
- [OK] finish_reason 0 round_trip.
- [OK] finish_reason 1 other.
- [OK] usage 0 construction.
- [OK] usage 1 no_total.
- [OK] warning 0 unsupported.
- [OK] warning 1 other.
- [OK] provider_error 0 api_error.
- [OK] provider_error 1 exception.
- [OK] provider_error 2 retryable.
- [OK] provider_error 3 not_retryable.
- [OK] make_api_error_defaults 0 429_default_retryable.
- [OK] make_api_error_defaults 1 500_default_retryable.
- [OK] make_api_error_defaults 2 408_default_retryable.
- [OK] make_api_error_defaults 3 409_default_retryable.
- [OK] make_api_error_defaults 4 400_default_not_retryable.
- [OK] make_api_error_defaults 5 override.
- [OK] make_api_error_defaults 6 timeout request_headers ...
- [OK] make_api_error_defaults 7 timeout stream_idle retr...
- [OK] make_api_error_defaults 8 timeout to_string format...
- [OK] make_api_error_defaults 9 timeout to_string uses s...
-
- Full test results in `~/.opam/5.4/.opam-switch/build/ocaml-ai-sdk.0.3/_build/default/test/ai_provider/_build/_tests/Foundation_types'.
- Test Successful in 0.003s. 20 tests run.
- (cd _build/default/test/ai_provider && ./test_tool_mode_content.exe)
- Testing `Tool_Mode_Content'.
- This run has ID `HNT9RLCU'.
-
- [OK] tool 0 construction.
- [OK] tool_choice 0 auto.
- [OK] tool_choice 1 required.
- [OK] tool_choice 2 none.
- [OK] tool_choice 3 specific.
- [OK] mode 0 regular.
- [OK] mode 1 object_json_none.
- [OK] mode 2 object_json_schema.
- [OK] mode 3 object_tool.
- [OK] content 0 text.
- [OK] content 1 tool_call.
- [OK] content 2 reasoning.
-
- Full test results in `~/.opam/5.4/.opam-switch/build/ocaml-ai-sdk.0.3/_build/default/test/ai_provider/_build/_tests/Tool_Mode_Content'.
- Test Successful in 0.002s. 12 tests run.
- (cd _build/default/test/ai_provider && ./test_sse.exe)
- Testing `Sse'.
- This run has ID `XLGTX2TW'.
-
- [OK] exception safety 0 closes on upstream exn.
-
- Full test results in `~/.opam/5.4/.opam-switch/build/ocaml-ai-sdk.0.3/_build/default/test/ai_provider/_build/_tests/Sse'.
- Test Successful in 0.000s. 1 test run.
- (cd _build/default/test/ai_provider && ./test_integration.exe)
- Testing `Integration'.
- This run has ID `AOUW86HT'.
-
- [OK] language_model 0 generate.
- [OK] language_model 1 stream.
- [OK] language_model 2 accessors.
- [OK] provider 0 factory.
- [OK] middleware 0 apply.
-
- Full test results in `~/.opam/5.4/.opam-switch/build/ocaml-ai-sdk.0.3/_build/default/test/ai_provider/_build/_tests/Integration'.
- Test Successful in 0.001s. 5 tests run.
- (cd _build/default/test/ai_provider_openai && ./test_config_catalog.exe)
- Testing `Config_and_Catalog'.
- This run has ID `3EOW569Y'.
-
- [OK] config 0 default_base_url.
- [OK] config 1 custom_api_key.
- [OK] config 2 api_key_exn_raises.
- [OK] config 3 custom_base_url.
- [OK] config 4 headers.
- [OK] config 5 organization.
- [OK] config 6 project.
- [OK] model_catalog 0 gpt_4o.
- [OK] model_catalog 1 o3_mini.
- [OK] model_catalog 2 of_model_id_exact.
- [OK] model_catalog 3 of_model_id_custom.
- [OK] model_catalog 4 capabilities_gpt4o.
- [OK] model_catalog 5 capabilities_o3.
- [OK] model_catalog 6 capabilities_o1_dated.
- [OK] model_catalog 7 capabilities_gpt35.
- [OK] model_catalog 8 capabilities_gpt41.
- [OK] model_catalog 9 capabilities_gpt41_dated.
- [OK] model_catalog 10 capabilities_gpt4o_dated.
- [OK] model_catalog 11 is_reasoning_model.
- [OK] model_catalog 12 system_message_mode.
-
- Full test results in `~/.opam/5.4/.opam-switch/build/ocaml-ai-sdk.0.3/_build/default/test/ai_provider_openai/_build/_tests/Config_and_Catalog'.
- Test Successful in 0.002s. 20 tests run.
- (cd _build/default/test/ai_provider_openai && ./test_openai_types.exe)
- Testing `OpenAI_types'.
- This run has ID `8GPB59EC'.
-
- [OK] openai_options 0 default.
- [OK] openai_options 1 round_trip.
- [OK] openai_options 2 empty.
- [OK] openai_options 3 reasoning_effort.
- [OK] openai_options 4 service_tier.
- [OK] openai_options 5 gadt_isolation.
-
- Full test results in `~/.opam/5.4/.opam-switch/build/ocaml-ai-sdk.0.3/_build/default/test/ai_provider_openai/_build/_tests/OpenAI_types'.
- Test Successful in 0.001s. 6 tests run.
- (cd _build/default/test/ai_provider_openai && ./test_convert_prompt.exe)
- Testing `Convert_prompt'.
- This run has ID `7ELTSJ4H'.
-
- [OK] convert_messages 0 system.
- [OK] convert_messages 1 developer.
- [OK] convert_messages 2 remove_system.
- [OK] convert_messages 3 user_text.
- [OK] convert_messages 4 user_image.
- [OK] convert_messages 5 assistant_tool_calls.
- [OK] convert_messages 6 tool_result.
-
- Full test results in `~/.opam/5.4/.opam-switch/build/ocaml-ai-sdk.0.3/_build/default/test/ai_provider_openai/_build/_tests/Convert_prompt'.
- Test Successful in 0.001s. 7 tests run.
- (cd _build/default/test/ai_provider_openai && ./test_convert_tools.exe)
- Testing `Convert_tools'.
- This run has ID `9A6J0WNT'.
-
- [OK] convert 0 single_tool.
- [OK] convert 1 strict_false.
- [OK] convert 2 auto.
- [OK] convert 3 required.
- [OK] convert 4 none.
- [OK] convert 5 specific.
-
- Full test results in `~/.opam/5.4/.opam-switch/build/ocaml-ai-sdk.0.3/_build/default/test/ai_provider_openai/_build/_tests/Convert_tools'.
- Test Successful in 0.001s. 6 tests run.
- (cd _build/default/test/ai_provider_openai && ./test_convert_response.exe)
- Testing `Convert_response'.
- This run has ID `JGZ3Q3BY'.
-
- [OK] finish_reason 0 stop.
- [OK] finish_reason 1 length.
- [OK] finish_reason 2 tool_calls.
- [OK] finish_reason 3 function_call.
- [OK] finish_reason 4 content_filter.
- [OK] finish_reason 5 none.
- [OK] parse_response 0 text.
- [OK] parse_response 1 tool_call.
- [OK] parse_response 2 empty_choices.
-
- Full test results in `~/.opam/5.4/.opam-switch/build/ocaml-ai-sdk.0.3/_build/default/test/ai_provider_openai/_build/_tests/Convert_response'.
- Test Successful in 0.010s. 9 tests run.
- (cd _build/default/test/ai_provider_anthropic && ./test_convert_tools.exe)
- Testing `Convert_tools'.
- This run has ID `41VRGCQ4'.
-
- [OK] convert 0 single_tool.
- [OK] convert 1 auto.
- [OK] convert 2 required.
- [OK] convert 3 none.
- [OK] convert 4 specific.
- [OK] convert 5 empty.
- [OK] json 0 tool_to_json.
-
- Full test results in `~/.opam/5.4/.opam-switch/build/ocaml-ai-sdk.0.3/_build/default/test/ai_provider_anthropic/_build/_tests/Convert_tools'.
- Test Successful in 0.001s. 7 tests run.
- (cd _build/default/test/ai_provider_anthropic && ./test_convert_prompt.exe)
- Testing `Convert_prompt'.
- This run has ID `EVF0UCPS'.
-
- [OK] extract_system 0 single.
- [OK] extract_system 1 multiple.
- [OK] extract_system 2 none.
- [OK] convert_messages 0 user_text.
- [OK] convert_messages 1 assistant_text.
- [OK] convert_messages 2 tool_result.
- [OK] convert_messages 3 grouping.
- [OK] convert_messages 4 alternating.
- [OK] convert_messages 5 empty.
- [OK] json 0 text.
- [OK] json 1 text_with_cache.
-
- Full test results in `~/.opam/5.4/.opam-switch/build/ocaml-ai-sdk.0.3/_build/default/test/ai_provider_anthropic/_build/_tests/Convert_prompt'.
- Test Successful in 0.005s. 11 tests run.
- (cd _build/default/test/ai_provider_anthropic && ./test_convert_response.exe)
- Testing `Convert_response'.
- This run has ID `OWXFE5NJ'.
-
- [OK] stop_reason 0 end_turn.
- [OK] stop_reason 1 max_tokens.
- [OK] stop_reason 2 tool_use.
- [OK] stop_reason 3 none.
- [OK] parse_response 0 text.
- [OK] parse_response 1 tool_use.
- [OK] parse_response 2 thinking.
- [OK] error 0 parsing.
- [OK] error 1 retryable.
- [OK] usage 0 conversion.
-
- Full test results in `~/.opam/5.4/.opam-switch/build/ocaml-ai-sdk.0.3/_build/default/test/ai_provider_anthropic/_build/_tests/Convert_response'.
- Test Successful in 0.011s. 10 tests run.
- (cd _build/default/test/ai_provider_openai && ./test_sse.exe)
- Testing `SSE'.
- This run has ID `VHJ13ZFX'.
-
- [OK] parser 0 basic.
- [OK] parser 1 no_event_type.
- [OK] parser 2 done_marker.
- [OK] parser 3 comment.
-
- Full test results in `~/.opam/5.4/.opam-switch/build/ocaml-ai-sdk.0.3/_build/default/test/ai_provider_openai/_build/_tests/SSE'.
- Test Successful in 0.004s. 4 tests run.
- (cd _build/default/test/ai_provider_anthropic && ./test_config_catalog.exe)
- Testing `Config_and_Catalog'.
- This run has ID `BEQDP8TH'.
-
- [OK] config 0 default_base_url.
- [OK] config 1 custom_api_key.
- [OK] config 2 api_key_exn_raises.
- [OK] config 3 custom_base_url.
- [OK] config 4 headers.
- [OK] model_catalog 0 opus_4_6.
- [OK] model_catalog 1 sonnet_4_6.
- [OK] model_catalog 2 haiku_4_5.
- [OK] model_catalog 3 of_model_id_exact.
- [OK] model_catalog 4 of_model_id_alias.
- [OK] model_catalog 5 of_model_id_custom.
- [OK] model_catalog 6 capabilities_opus_4_6.
- [OK] model_catalog 7 capabilities_haiku_4_5.
- [OK] model_catalog 8 capabilities_custom.
- [OK] model_catalog 9 default_max_tokens.
-
- Full test results in `~/.opam/5.4/.opam-switch/build/ocaml-ai-sdk.0.3/_build/default/test/ai_provider_anthropic/_build/_tests/Config_and_Catalog'.
- Test Successful in 0.008s. 15 tests run.
- (cd _build/default/test/ai_provider_anthropic && ./test_sse.exe)
- Testing `SSE'.
- This run has ID `UNBK5QJV'.
-
- [OK] parser 0 basic.
- [OK] parser 1 comment.
- [OK] parser 2 multiple.
- [OK] parser 3 empty_lines.
-
- Full test results in `~/.opam/5.4/.opam-switch/build/ocaml-ai-sdk.0.3/_build/default/test/ai_provider_anthropic/_build/_tests/SSE'.
- Test Successful in 0.001s. 4 tests run.
- (cd _build/default/test/ai_provider_openai && ./test_convert_stream.exe)
- Testing `Convert_stream'.
- This run has ID `UBTAB6ZS'.
-
- [OK] transform 0 text.
- [OK] transform 1 tool_calls.
- [OK] transform 2 error.
-
- Full test results in `~/.opam/5.4/.opam-switch/build/ocaml-ai-sdk.0.3/_build/default/test/ai_provider_openai/_build/_tests/Convert_stream'.
- Test Successful in 0.001s. 3 tests run.
- (cd _build/default/test/ai_provider_anthropic && ./test_convert_stream.exe)
- Testing `Convert_stream'.
- This run has ID `2DKFTVBI'.
-
- [OK] transform 0 text.
- [OK] transform 1 tool_call.
- [OK] transform 2 thinking.
- [OK] transform 3 malformed_event.
-
- Full test results in `~/.opam/5.4/.opam-switch/build/ocaml-ai-sdk.0.3/_build/default/test/ai_provider_anthropic/_build/_tests/Convert_stream'.
- Test Successful in 0.004s. 4 tests run.
- (cd _build/default/test/ai_provider_anthropic && ./test_anthropic_types.exe)
- Testing `Anthropic_types'.
- This run has ID `KP46LLKU'.
-
- [OK] thinking 0 valid_budget.
- [OK] thinking 1 large_budget.
- [OK] thinking 2 too_small.
- [OK] thinking 3 zero.
- [OK] thinking 4 exn_raises.
- [OK] cache_control 0 ephemeral.
- [OK] anthropic_options 0 default.
- [OK] anthropic_options 1 round_trip.
- [OK] anthropic_options 2 empty.
- [OK] cache_control_options 0 round_trip.
- [OK] cache_control_options 1 none.
- [OK] cache_control_options 2 gadt_isolation.
-
- Full test results in `~/.opam/5.4/.opam-switch/build/ocaml-ai-sdk.0.3/_build/default/test/ai_provider_anthropic/_build/_tests/Anthropic_types'.
- Test Successful in 0.002s. 12 tests run.
- (cd _build/default/test/ai_provider_openai && ./test_factory.exe)
- Testing `Factory'.
- This run has ID `EPY8URAX'.
-
- [OK] factory 0 language_model.
- [OK] factory 1 create_provider.
- [OK] factory 2 model_shortcut.
-
- Full test results in `~/.opam/5.4/.opam-switch/build/ocaml-ai-sdk.0.3/_build/default/test/ai_provider_openai/_build/_tests/Factory'.
- Test Successful in 0.000s. 3 tests run.
- (cd _build/default/test/ai_provider_anthropic && ./test_anthropic_model.exe)
- Testing `Anthropic_model'.
- This run has ID `TMHWG9G4'.
-
- [OK] generate 0 text.
- [OK] generate 1 tool_call.
- [OK] generate 2 with_system.
- [OK] generate 3 warns_frequency_penalty.
- [OK] object_json 0 no_schema.
- [OK] object_json 1 with_schema_native.
- [OK] object_json 2 with_schema_tool_fallback (legacy mo...
- [OK] object_json 3 with_schema_tool_fallback (custom mo...
- [OK] object_json 4 preserves_existing_system.
- [OK] accessors 0 model_accessors.
-
- Full test results in `~/.opam/5.4/.opam-switch/build/ocaml-ai-sdk.0.3/_build/default/test/ai_provider_anthropic/_build/_tests/Anthropic_model'.
- Test Successful in 0.002s. 10 tests run.
- (cd _build/default/test/ai_provider_openrouter && ./test_model_catalog.exe)
- Testing `Model_catalog'.
- This run has ID `55OEZ1CZ'.
-
- [OK] infer_system_message_mode 0 thinking_suffix.
- [OK] infer_system_message_mode 1 standard_models.
-
- Full test results in `~/.opam/5.4/.opam-switch/build/ocaml-ai-sdk.0.3/_build/default/test/ai_provider_openrouter/_build/_tests/Model_catalog'.
- Test Successful in 0.000s. 2 tests run.
- (cd _build/default/test/ai_provider_openrouter && ./test_config.exe)
- Testing `Config'.
- This run has ID `H012M5HO'.
-
- [OK] config 0 default_base_url.
- [OK] config 1 custom_base_url.
- [OK] config 2 api_key.
- [OK] config 3 api_key_exn_missing.
- [OK] config 4 app_title.
- [OK] config 5 app_url.
- [OK] config 6 no_app_fields.
-
- Full test results in `~/.opam/5.4/.opam-switch/build/ocaml-ai-sdk.0.3/_build/default/test/ai_provider_openrouter/_build/_tests/Config'.
- Test Successful in 0.009s. 7 tests run.
- (cd _build/default/test/ai_provider_openrouter && ./test_convert_response.exe)
- Testing `Convert_response'.
- This run has ID `GG6S289N'.
-
- [OK] convert_response 0 basic_response.
- [OK] convert_response 1 response_with_reasoning.
- [OK] convert_response 2 response_with_tool_calls.
- [OK] convert_response 3 extended_usage.
- [OK] convert_response 4 finish_reason_mapping.
- [OK] convert_response 5 reasoning_details_text.
- [OK] convert_response 6 reasoning_details_encrypted.
- [OK] convert_response 7 reasoning_details_summary.
- [OK] convert_response 8 reasoning_details_fallback.
- [OK] convert_response 9 finish_reason_override_encrypted.
- [OK] convert_response 10 finish_reason_override_other.
- [OK] convert_response 11 provider_field.
- [OK] convert_response 12 annotations.
- [OK] convert_response 13 reasoning_details_metadata.
- [OK] convert_response 14 images.
-
- Full test results in `~/.opam/5.4/.opam-switch/build/ocaml-ai-sdk.0.3/_build/default/test/ai_provider_openrouter/_build/_tests/Convert_response'.
- Test Successful in 0.003s. 15 tests run.
- (cd _build/default/test/ai_provider_openrouter && ./test_convert_tools.exe)
- Testing `Convert_tools'.
- This run has ID `VQ8OGPWB'.
-
- [OK] convert_tools 0 single_tool.
- [OK] convert_tools 1 tool_choice_auto.
- [OK] convert_tools 2 tool_choice_required.
- [OK] convert_tools 3 tool_choice_none.
-
- Full test results in `~/.opam/5.4/.opam-switch/build/ocaml-ai-sdk.0.3/_build/default/test/ai_provider_openrouter/_build/_tests/Convert_tools'.
- Test Successful in 0.001s. 4 tests run.
- (cd _build/default/test/ai_provider_openrouter && ./test_convert_prompt.exe)
- Testing `Convert_prompt'.
- This run has ID `5M2SQMX4'.
-
- [OK] convert_prompt 0 system_message.
- [OK] convert_prompt 1 user_message.
-
- Full test results in `~/.opam/5.4/.opam-switch/build/ocaml-ai-sdk.0.3/_build/default/test/ai_provider_openrouter/_build/_tests/Convert_prompt'.
- Test Successful in 0.000s. 2 tests run.
- (cd _build/default/test/ai_provider_openrouter && ./test_convert_stream.exe)
- Testing `Convert_stream'.
- This run has ID `J8XZOE8I'.
-
- [OK] convert_stream 0 basic_text.
- [OK] convert_stream 1 reasoning.
- [OK] convert_stream 2 tool_calls.
- [OK] convert_stream 3 done_signal.
- [OK] convert_stream 4 reasoning_details.
- [OK] convert_stream 5 encrypted_reasoning.
- [OK] convert_stream 6 summary_reasoning.
- [OK] convert_stream 7 error_chunk.
- [OK] convert_stream 8 finish_override_encrypted_tools.
- [OK] convert_stream 9 accumulated_finish_reason.
- [OK] convert_stream 10 annotations.
-
- Full test results in `~/.opam/5.4/.opam-switch/build/ocaml-ai-sdk.0.3/_build/default/test/ai_provider_openrouter/_build/_tests/Convert_stream'.
- Test Successful in 0.003s. 11 tests run.
- (cd _build/default/test/ai_provider_openrouter && ./test_convert_usage.exe)
- Testing `Convert_usage'.
- This run has ID `USHI8QU1'.
-
- [OK] convert_usage 0 basic_usage.
- [OK] convert_usage 1 nested_details.
- [OK] convert_usage 2 missing_details.
- [OK] convert_usage 3 total_tokens_computed.
-
- Full test results in `~/.opam/5.4/.opam-switch/build/ocaml-ai-sdk.0.3/_build/default/test/ai_provider_openrouter/_build/_tests/Convert_usage'.
- Test Successful in 0.001s. 4 tests run.
- (cd _build/default/test/ai_provider_openai && ./test_e2e.exe)
- Testing `E2E OpenAI'.
- This run has ID `UZ983TNN'.
-
- [OK] generate 0 text_through_abstraction.
- [OK] generate 1 object_json_mode.
- [OK] generate 2 provider_options_flow.
-
- Full test results in `~/.opam/5.4/.opam-switch/build/ocaml-ai-sdk.0.3/_build/default/test/ai_provider_openai/_build/_tests/E2E OpenAI'.
- Test Successful in 0.001s. 3 tests run.
- (cd _build/default/test/ai_provider_anthropic && ./test_api.exe)
- Testing `Anthropic_api'.
- This run has ID `2KVI6BKL'.
-
- [OK] make_request_body 0 minimal.
- [OK] make_request_body 1 stream.
- [OK] make_request_body 2 temperature.
- [OK] make_request_body 3 thinking.
- [OK] make_request_body 4 omits_none.
- [OK] make_request_body 5 system.
- [OK] beta_headers 0 thinking.
- [OK] beta_headers 1 all.
- [OK] beta_headers 2 dedup.
- [OK] messages 0 mock_fetch.
-
- Full test results in `~/.opam/5.4/.opam-switch/build/ocaml-ai-sdk.0.3/_build/default/test/ai_provider_anthropic/_build/_tests/Anthropic_api'.
- Test Successful in 0.001s. 10 tests run.
- (cd _build/default/test/ai_provider_anthropic && ./test_factory.exe)
- Testing `Factory'.
- This run has ID `Z0SFVSL5'.
-
- [OK] factory 0 language_model.
- [OK] factory 1 create_provider.
- [OK] factory 2 model_shortcut.
-
- Full test results in `~/.opam/5.4/.opam-switch/build/ocaml-ai-sdk.0.3/_build/default/test/ai_provider_anthropic/_build/_tests/Factory'.
- Test Successful in 0.001s. 3 tests run.
- (cd _build/default/test/ai_provider_openai && ./test_api.exe)
- Testing `Openai_api'.
- This run has ID `NARQUN80'.
-
- [OK] make_request_body 0 minimal.
- [OK] make_request_body 1 stream.
- [OK] make_request_body 2 all_params.
- [OK] chat_completions 0 mock_fetch.
- [OK] chat_completions 1 headers_with_org.
-
- Full test results in `~/.opam/5.4/.opam-switch/build/ocaml-ai-sdk.0.3/_build/default/test/ai_provider_openai/_build/_tests/Openai_api'.
- Test Successful in 0.001s. 5 tests run.
- (cd _build/default/test/ai_provider_openai && ./test_openai_model.exe)
- Testing `Openai_model'.
- This run has ID `PBLG85RS'.
-
- [OK] generate 0 text.
- [OK] generate 1 tool_call.
- [OK] generate 2 warns_top_k.
- [OK] accessors 0 model_accessors.
-
- Full test results in `~/.opam/5.4/.opam-switch/build/ocaml-ai-sdk.0.3/_build/default/test/ai_provider_openai/_build/_tests/Openai_model'.
- Test Successful in 0.001s. 4 tests run.
- (cd _build/default/test/ai_provider_anthropic && ./test_e2e.exe)
- Testing `E2E Integration'.
- This run has ID `HPL137HD'.
-
- [OK] generate 0 text_through_abstraction.
- [OK] generate 1 thinking.
- [OK] generate 2 tool_call.
- [OK] provider_options 0 thinking_flow.
- [OK] middleware 0 with_anthropic.
-
- Full test results in `~/.opam/5.4/.opam-switch/build/ocaml-ai-sdk.0.3/_build/default/test/ai_provider_anthropic/_build/_tests/E2E Integration'.
- Test Successful in 0.001s. 5 tests run.
- (cd _build/default/test/ai_provider_openrouter && ./test_e2e.exe)
- Testing `E2E'.
- This run has ID `TD9J3GS9'.
-
- [OK] e2e 0 generate.
- [OK] e2e 1 with_provider_options.
-
- Full test results in `~/.opam/5.4/.opam-switch/build/ocaml-ai-sdk.0.3/_build/default/test/ai_provider_openrouter/_build/_tests/E2E'.
- Test Successful in 0.000s. 2 tests run.
- (cd _build/default/test/ai_provider_openrouter && ./test_factory.exe)
- Testing `Factory'.
- This run has ID `CSKHMR66'.
-
- [OK] factory 0 language_model.
- [OK] factory 1 create_provider.
- [OK] factory 2 model_shortcut.
- [OK] factory 3 app_title_and_url.
-
- Full test results in `~/.opam/5.4/.opam-switch/build/ocaml-ai-sdk.0.3/_build/default/test/ai_provider_openrouter/_build/_tests/Factory'.
- Test Successful in 0.001s. 4 tests run.
- (cd _build/default/test/ai_provider_openrouter && ./test_openrouter_model.exe)
- Testing `Openrouter_model'.
- This run has ID `6D6JJWXI'.
-
- [OK] model 0 generate_text.
- [OK] model 1 provider_and_model_id.
- [OK] model 2 generate_with_reasoning.
- [OK] model 3 openrouter_options_in_request.
- [OK] model 4 generate_tool_call.
- [OK] model 5 extra_body_merging.
- [OK] model 6 headers.
- [OK] model 7 http_200_error.
-
- Full test results in `~/.opam/5.4/.opam-switch/build/ocaml-ai-sdk.0.3/_build/default/test/ai_provider_openrouter/_build/_tests/Openrouter_model'.
- Test Successful in 0.001s. 8 tests run.
- (cd _build/default/test/ai_provider && ./test_http_client.exe)
- Testing `Http_client'.
- This run has ID `YMR3DWQP'.
-
- [OK] idle_timeout 0 fires after first chunk.
- [OK] idle_timeout 1 resets on each chunk.
- [OK] line_splitting 0 trailing data flushed.
- [OK] line_splitting 1 CRLF stripped.
- [OK] provider_error 0 timeout phase retryability.
-
- Full test results in `~/.opam/5.4/.opam-switch/build/ocaml-ai-sdk.0.3/_build/default/test/ai_provider/_build/_tests/Http_client'.
- Test Successful in 1.022s. 5 tests run.
- (cd _build/default/test/ai_core && ./test_prompt_builder.exe)
- Testing `Prompt_builder'.
- This run has ID `Q02TIAC4'.
-
- [OK] messages_of_prompt 0 simple.
- [OK] messages_of_prompt 1 with_system.
- [OK] string_messages 0 basic.
- [OK] append_tool_results 0 append.
- [OK] tools 0 to_provider.
-
- Full test results in `~/.opam/5.4/.opam-switch/build/ocaml-ai-sdk.0.3/_build/default/test/ai_core/_build/_tests/Prompt_builder'.
- Test Successful in 0.001s. 5 tests run.
- (cd _build/default/test/ai_core && ./test_ui_message_stream.exe)
- Testing `Ui_message_stream'.
- This run has ID `3FZOTIVJ'.
-
- [OK] sse_encoding 0 text_delta.
- [OK] sse_encoding 1 start.
- [OK] sse_encoding 2 done.
- [OK] headers 0 headers.
- [OK] stream 0 stream_to_sse.
- [OK] stream 1 empty_stream.
-
- Full test results in `~/.opam/5.4/.opam-switch/build/ocaml-ai-sdk.0.3/_build/default/test/ai_core/_build/_tests/Ui_message_stream'.
- Test Successful in 0.001s. 6 tests run.
- (cd _build/default/test/ai_core && ./test_partial_json.exe)
- Testing `Partial_json'.
- This run has ID `JHBFCA7Q'.
-
- [OK] complete 0 complete json.
- [OK] complete 1 status successful.
- [OK] truncated 0 object.
- [OK] truncated 1 after comma.
- [OK] truncated 2 array.
- [OK] truncated 3 nested.
- [OK] truncated 4 status repaired.
- [OK] edge 0 empty.
- [OK] edge 1 garbage.
-
- Full test results in `~/.opam/5.4/.opam-switch/build/ocaml-ai-sdk.0.3/_build/default/test/ai_core/_build/_tests/Partial_json'.
- Test Successful in 0.001s. 9 tests run.
- (cd _build/default/test/ai_core && ./test_ui_message_chunk.exe)
- Testing `Ui_message_chunk'.
- This run has ID `SPVQNXUI'.
-
- [OK] lifecycle 0 start.
- [OK] lifecycle 1 start_no_id.
- [OK] lifecycle 2 finish.
- [OK] lifecycle 3 finish_no_reason.
- [OK] lifecycle 4 abort.
- [OK] steps 0 start_step.
- [OK] steps 1 finish_step.
- [OK] text 0 text_start.
- [OK] text 1 text_delta.
- [OK] text 2 text_end.
- [OK] reasoning 0 reasoning_delta.
- [OK] tools 0 input_start.
- [OK] tools 1 input_delta.
- [OK] tools 2 input_available.
- [OK] tools 3 output_available.
- [OK] tools 4 output_available_with_provider_metadata.
- [OK] tools 5 output_error.
- [OK] tools 6 output_error_with_provider_metadata.
- [OK] other 0 error.
- [OK] other 1 source_url.
- [OK] other 2 file.
- [OK] other 3 data.
- [OK] v6_extras 0 message_metadata.
- [OK] v6_extras 1 tool_input_error.
- [OK] v6_extras 2 tool_output_denied.
- [OK] v6_extras 3 tool_approval_request.
- [OK] v6_extras 4 source_document.
- [OK] v6_extras 5 source_document_no_filename.
-
- Full test results in `~/.opam/5.4/.opam-switch/build/ocaml-ai-sdk.0.3/_build/default/test/ai_core/_build/_tests/Ui_message_chunk'.
- Test Successful in 0.002s. 28 tests run.
- (cd _build/default/test/ai_core && ./test_core_tool.exe)
- Testing `Core_tool'.
- This run has ID `JH4S2I7B'.
-
- [OK] create 0 without_approval.
- [OK] create 1 static_approval.
- [OK] create 2 dynamic_approval.
-
- Full test results in `~/.opam/5.4/.opam-switch/build/ocaml-ai-sdk.0.3/_build/default/test/ai_core/_build/_tests/Core_tool'.
- Test Successful in 0.000s. 3 tests run.
- (cd _build/default/test/ai_core && ./test_retry.exe)
- Testing `Retry'.
- This run has ID `Q2HQGMXL'.
-
- [OK] with_retries 0 success_no_retry.
- [OK] with_retries 1 retryable_exhausts.
- [OK] with_retries 2 non_retryable_not_retried.
- [OK] with_retries 3 zero_retries.
- [OK] with_retries 4 succeeds_on_retry.
- [OK] with_retries 5 unknown_exception.
- [OK] with_retries 6 non_retryable_after_retries.
- [OK] with_retries 7 network_error_retried.
- [OK] with_retries 8 network_error_exhausts.
- [OK] with_retries 9 backoff_factor.
- [OK] with_retries 10 negative_max_retries.
- [OK] with_retries 11 invalid_backoff_factor.
-
- Full test results in `~/.opam/5.4/.opam-switch/build/ocaml-ai-sdk.0.3/_build/default/test/ai_core/_build/_tests/Retry'.
- Test Successful in 0.011s. 12 tests run.
- (cd _build/default/test/ai_core && ./test_core_types.exe)
- Testing `Core_types'.
- This run has ID `XVWE9BLG'.
-
- [OK] core_tool 0 construction.
- [OK] core_tool 1 execute.
- [OK] generate_text_result 0 add_usage.
- [OK] generate_text_result 1 add_usage_no_total.
- [OK] generate_text_result 2 step.
- [OK] generate_text_result 3 result.
- [OK] text_stream_part 0 basic_parts.
- [OK] text_stream_part 1 tool_parts.
-
- Full test results in `~/.opam/5.4/.opam-switch/build/ocaml-ai-sdk.0.3/_build/default/test/ai_core/_build/_tests/Core_types'.
- Test Successful in 0.001s. 8 tests run.
- (cd _build/default/test/ai_core && ./test_output.exe)
- Testing `Output'.
- This run has ID `80WC4OEH'.
-
- [OK] text 0 response_format.
- [OK] text 1 parse_complete.
- [OK] text 2 parse_partial.
- [OK] text 3 parse_partial empty.
- [OK] object_ 0 response_format.
- [OK] object_ 1 valid complete.
- [OK] object_ 2 invalid json.
- [OK] object_ 3 schema mismatch.
- [OK] object_ 4 partial.
- [OK] object_ 5 partial empty.
- [OK] array 0 response_format.
- [OK] array 1 valid complete.
- [OK] array 2 invalid element.
- [OK] array 3 not object.
- [OK] array 4 no elements.
- [OK] array 5 partial drops last on repair.
- [OK] array 6 partial keeps all on successful.
- [OK] array 7 partial skips invalid.
- [OK] array 8 partial empty.
- [OK] choice 0 response_format.
- [OK] choice 1 valid.
- [OK] choice 2 invalid value.
- [OK] choice 3 bad json.
- [OK] choice 4 partial exact match.
- [OK] choice 5 partial unambiguous prefix.
- [OK] choice 6 partial ambiguous prefix.
- [OK] choice 7 partial no match.
- [OK] choice 8 enum alias.
- [OK] parse_output 0 from text.
- [OK] parse_output 1 from json tool call.
- [OK] parse_output 2 ignores non-json tool calls.
- [OK] parse_output 3 prefers text over tool call.
-
- Full test results in `~/.opam/5.4/.opam-switch/build/ocaml-ai-sdk.0.3/_build/default/test/ai_core/_build/_tests/Output'.
- Test Successful in 0.003s. 32 tests run.
- (cd _build/default/test/ai_core && ./test_to_ui_stream.exe)
- Testing `To_ui_stream'.
- This run has ID `VK9YI9IY'.
-
- [OK] transform 0 text_chunks.
- [OK] transform 1 sse_output.
- [OK] transform 2 reasoning_filtered.
- [OK] transform 3 reasoning_included.
- [OK] transform 4 tool_approval_request.
- [OK] transform 5 tool_output_denied.
-
- Full test results in `~/.opam/5.4/.opam-switch/build/ocaml-ai-sdk.0.3/_build/default/test/ai_core/_build/_tests/To_ui_stream'.
- Test Successful in 0.001s. 6 tests run.
- (cd _build/default/test/ai_core && ./test_server_handler.exe)
- Testing `Server_handler'.
- This run has ID `6F50QFY2'.
-
- [OK] make_sse_response 0 basic.
- [OK] make_sse_response 1 all_headers.
- [OK] make_sse_response 2 extra_headers.
- [OK] make_sse_response 3 custom_status.
- [OK] make_sse_response 4 body_content.
- [OK] parse_messages: basic 0 user text only.
- [OK] parse_messages: basic 1 user multiple ...
- [OK] parse_messages: basic 2 system message.
- [OK] parse_messages: basic 3 system concate...
- [OK] parse_messages: basic 4 assistant text.
- [OK] parse_messages: basic 5 assistant reas...
- [OK] parse_messages: basic 6 multi-turn con...
- [OK] parse_messages: files 0 user file url.
- [OK] parse_messages: files 1 user file base64.
- [OK] parse_messages: files 2 user text + file.
- [OK] parse_messages: files 3 assistant file.
- [OK] parse_messages: files 4 file missing m...
- [OK] parse_messages: files 5 file missing d...
- [OK] parse_messages: tool invocations 0 output-available.
- [OK] parse_messages: tool invocations 1 output-error.
- [OK] parse_messages: tool invocations 2 output-denied.
- [OK] parse_messages: tool invocations 3 input-availabl...
- [OK] parse_messages: tool invocations 4 dynamic-tool.
- [OK] parse_messages: tool invocations 5 multiple tool ...
- [OK] parse_messages: tool invocations 6 input-streamin...
- [OK] parse_messages: tool invocations 7 approval-reque...
- [OK] parse_messages: tool invocations 8 approval-respo...
- [OK] parse_messages: tool invocations 9 approval-respo...
- [OK] parse_messages: tool invocations 10 output-availab...
- [OK] parse_messages: tool invocations 11 tool missing f...
- [OK] parse_messages: tool invocations 12 tool error no ...
- [OK] collect_pending_tool_approvals 0 pending approv...
- [OK] collect_pending_tool_approvals 1 nested approva...
- [OK] collect_pending_tool_approvals 2 no approvals.
- [OK] collect_pending_tool_approvals 3 invalid json.
- [OK] parse_messages: edge cases 0 unknown parts ...
- [OK] parse_messages: edge cases 1 step-start ski...
- [OK] parse_messages: edge cases 2 empty parts.
- [OK] parse_messages: edge cases 3 missing parts ...
- [OK] parse_messages: edge cases 4 unknown role s...
- [OK] parse_messages: edge cases 5 invalid json.
- [OK] parse_messages: edge cases 6 no messages fi...
- [OK] parse_messages: edge cases 7 text part miss...
- [OK] parse_messages: edge cases 8 extra request ...
- [OK] parse_messages: provider metadata 0 resultProvider...
- [OK] parse_messages: provider metadata 1 callProviderMe...
- [OK] parse_messages: provider metadata 2 resultProvider...
- [OK] parse_messages: provider metadata 3 no provider me...
- [OK] parse_messages: provider metadata 4 callProviderMe...
- [OK] parse_messages: provider metadata 5 provider metad...
-
- Full test results in `~/.opam/5.4/.opam-switch/build/ocaml-ai-sdk.0.3/_build/default/test/ai_core/_build/_tests/Server_handler'.
- Test Successful in 0.005s. 50 tests run.
- (cd _build/default/test/ai_core && ./test_ui_message_stream_writer.exe)
- Testing `Ui_message_stream_writer'.
- This run has ID `TMNL0LU5'.
-
- [OK] write 0 single chunk.
- [OK] write 1 multiple chunks.
- [OK] write 2 empty execute.
- [OK] write 3 message_id in start.
- [OK] merge 0 merge stream.
- [OK] merge 1 interleaved write and merge.
- [OK] merge 2 error in merged source.
- [OK] error_handling 0 execute exception.
- [OK] error_handling 1 custom on_error.
- [OK] on_finish 0 normal completion.
- [OK] on_finish 1 aborted on error.
- [OK] on_finish 2 waits for merges.
- [OK] response 0 headers with cors.
- [OK] response 1 no cors.
- [OK] response 2 custom status.
- [OK] response 3 body is sse.
- [OK] usage_patterns 0 persistence with message_id.
- [OK] edge_cases 0 merge already closed stream.
- [OK] edge_cases 1 multiple concurrent merges.
- [OK] edge_cases 2 on_finish exception still closes ...
-
- Full test results in `~/.opam/5.4/.opam-switch/build/ocaml-ai-sdk.0.3/_build/default/test/ai_core/_build/_tests/Ui_message_stream_writer'.
- Test Successful in 0.002s. 20 tests run.
- (cd _build/default/test/ai_core && ./test_sse_snapshots.exe)
- Testing `SSE Snapshots'.
- This run has ID `N8QK9W9J'.
-
- [OK] wire_format 0 text_generation.
- [OK] wire_format 1 reasoning.
- [OK] wire_format 2 tool_call.
- [OK] wire_format 3 error.
- [OK] wire_format 4 tool_error.
- [OK] wire_format 5 source.
- [OK] wire_format 6 abort.
- [OK] wire_format 7 v6_extras.
-
- Full test results in `~/.opam/5.4/.opam-switch/build/ocaml-ai-sdk.0.3/_build/default/test/ai_core/_build/_tests/SSE Snapshots'.
- Test Successful in 0.001s. 8 tests run.
- (cd _build/default/test/ai_core && ./test_telemetry.exe)
- Testing `Telemetry'.
- This run has ID `9EYZOSCC'.
-
- [OK] settings 0 default settings.
- [OK] settings 1 custom settings.
- [OK] attribute selection 0 disabled returns empty.
- [OK] attribute selection 1 enabled records all.
- [OK] attribute selection 2 no inputs.
- [OK] attribute selection 3 no outputs.
- [OK] operation name 0 without function_id.
- [OK] operation name 1 with function_id.
- [OK] base attributes 0 model, metadata, headers.
- [OK] base attributes 1 with settings.
- [OK] settings attributes 0 empty.
- [OK] settings attributes 1 some values.
- [OK] with_span 0 success.
- [OK] with_span 1 exception.
- [OK] integrations 0 notify multiple.
- [OK] integrations 1 error ignored.
- [OK] integrations 2 global integration.
- [OK] integrations 3 no_integration record.
- [OK] shared helpers 0 maybe_span disabled (No...
- [OK] shared helpers 1 maybe_span disabled (ex...
- [OK] shared helpers 2 maybe_notify disabled.
- [OK] shared helpers 3 maybe_notify enabled.
- [OK] shared helpers 4 make_model_info.
- [OK] shared helpers 5 tool_calls_to_json_string.
- [OK] parse_traceparent 0 valid.
- [OK] parse_traceparent 1 not sampled.
- [OK] parse_traceparent 2 wrong length.
- [OK] parse_traceparent 3 wrong version.
- [OK] parse_traceparent 4 bad hex.
- [OK] parse_traceparent 5 missing dashes.
- [OK] parse_traceparent 6 all zeros invalid.
- [OK] parse_traceparent 7 uppercase hex.
- [OK] traceparent on create 0 with valid traceparent.
- [OK] traceparent on create 1 with invalid traceparent.
- [OK] traceparent on create 2 without traceparent.
- [OK] traceparent on root span 0 attributes present.
- [OK] traceparent on root span 1 no attributes when absent.
-
- Full test results in `~/.opam/5.4/.opam-switch/build/ocaml-ai-sdk.0.3/_build/default/test/ai_core/_build/_tests/Telemetry'.
- Test Successful in 0.004s. 37 tests run.
- (cd _build/default/test/ai_core && ./test_e2e.exe)
- Testing `E2E Core SDK'.
- This run has ID `795ZK9FE'.
-
- [OK] generate_text_anthropic 0 simple text.
- [OK] generate_text_anthropic 1 with tools.
- [OK] generate_text_anthropic 2 thinking.
- [OK] generate_text_anthropic 3 tool result content.
- [OK] generate_text_anthropic 4 step callback.
- [OK] stream_to_ui_message 0 ui message chunks.
- [OK] stream_to_ui_message 1 sse format.
- [OK] stream_to_ui_message 2 pipeline with tools.
- [OK] stream_to_ui_message 3 pipeline with thinking.
- [OK] stream_to_ui_message 4 tool sse format.
-
- Full test results in `~/.opam/5.4/.opam-switch/build/ocaml-ai-sdk.0.3/_build/default/test/ai_core/_build/_tests/E2E Core SDK'.
- Test Successful in 0.002s. 10 tests run.
- (cd _build/default/test/ai_core && ./test_smooth_stream.exe)
- Testing `Smooth_stream'.
- This run has ID `T5SJ9HVJ'.
-
- [OK] word 0 basic.
- [OK] word 1 incremental.
- [OK] word 2 passthrough.
- [OK] word 3 empty.
- [OK] word 4 preserves_text.
- [OK] line 0 basic.
- [OK] line 1 multiple_newlines.
- [OK] regex 0 sentence_boundary.
- [OK] segmenter 0 english.
- [OK] segmenter 1 cjk_chinese.
- [OK] segmenter 2 cjk_japanese.
- [OK] segmenter 3 mixed_script.
- [OK] segmenter 4 punctuation.
- [OK] segmenter 5 incremental.
- [OK] custom 0 fixed_size.
- [OK] reasoning 0 smoothing.
- [OK] reasoning 1 type_switch_flushes.
- [OK] reasoning 2 id_switch_flushes.
- [OK] delay 0 applied.
-
- Full test results in `~/.opam/5.4/.opam-switch/build/ocaml-ai-sdk.0.3/_build/default/test/ai_core/_build/_tests/Smooth_stream'.
- Test Successful in 0.004s. 19 tests run.
- (cd _build/default/test/ai_core && ./test_generate_text.exe)
- Testing `Generate_text'.
- This run has ID `OIDN8I4Z'.
-
- [OK] basic 0 simple_text.
- [OK] basic 1 with_system.
- [OK] tools 0 tool_loop.
- [OK] tools 1 tool_not_found.
- [OK] tools 2 max_steps_1.
- [OK] tools 3 on_step_finish.
- [OK] approval 0 approval_stops_loop.
- [OK] approval 1 no_approval_executes_normally.
- [OK] approval 2 dynamic_approval_conditional.
- [OK] approval 3 approved_tool_executes.
- [OK] approval 4 mixed_tools_safe_executes.
- [OK] stop_when 0 step_count.
- [OK] stop_when 1 has_tool_call.
- [OK] stop_when 2 max_steps_still_limits.
- [OK] stop_when 3 or_semantics.
- [OK] stop_when 4 empty_conditions.
- [OK] stop_when 5 custom_predicate.
- [OK] stop_when 6 not_set_continues.
- [OK] errors 0 prompt_and_messages.
- [OK] retry 0 retries_on_retryable_error.
- [OK] retry 1 no_retry_on_non_retryable.
- [OK] output 0 object_output.
- [OK] output 1 enum_output.
- [OK] output 2 array_output.
- [OK] output 3 invalid_output.
- [OK] output 4 no_output.
- [OK] telemetry 0 spans.
- [OK] telemetry 1 tool_spans.
- [OK] telemetry 2 root_attributes.
- [OK] telemetry 3 disabled_no_spans.
- [OK] telemetry 4 integration_callbacks.
- [OK] telemetry 5 no_outputs.
- [OK] telemetry 6 no_inputs.
- [OK] telemetry 7 step_response_attrs.
- [OK] telemetry 8 attribute_values.
-
- Full test results in `~/.opam/5.4/.opam-switch/build/ocaml-ai-sdk.0.3/_build/default/test/ai_core/_build/_tests/Generate_text'.
- Test Successful in 2.006s. 35 tests run.
- (cd _build/default/test/ai_core && ./test_stream_text.exe)
- Testing `Stream_text'.
- This run has ID `0OOHEZST'.
-
- [OK] basic 0 simple.
- [OK] basic 1 full_events.
- [OK] basic 2 finish_reason.
- [OK] tools 0 tool_loop.
- [OK] tools 1 approval_stops_stream_loop.
- [OK] tools 2 approved_tool_executes.
- [OK] tools 3 denied_emits_output_denied.
- [OK] tools 4 mixed_tools_safe_executes.
- [OK] callbacks 0 on_chunk.
- [OK] stop_when 0 step_count.
- [OK] stop_when 1 has_tool_call.
- [OK] stop_when 2 on_finish_fires.
- [OK] stop_when 3 max_steps_limits.
- [OK] transform 0 smooth_stream.
- [OK] transform 1 text_stream_reflects.
- [OK] output 0 with_object_output.
- [OK] output 1 with_json_tool_fallback.
- [OK] output 2 without_output.
- [OK] retry 0 retries_on_retryable_error.
- [OK] telemetry 0 spans.
- [OK] telemetry 1 tool_spans.
- [OK] telemetry 2 disabled_no_spans.
- [OK] telemetry 3 integration_callbacks.
- [OK] telemetry 4 root_attributes.
-
- Full test results in `~/.opam/5.4/.opam-switch/build/ocaml-ai-sdk.0.3/_build/default/test/ai_core/_build/_tests/Stream_text'.
- Test Successful in 2.009s. 24 tests run.
-> compiled ocaml-ai-sdk.0.3
-> removed ocaml-ai-sdk.0.3
-> installed ocaml-ai-sdk.0.3
Done.
# To update the current shell environment, run: eval $(opam env)
2026-04-30 05:22.49 ---> saved as "f2cd4fdfc55ba2812306cc9031fa0a3d3915d72e5da0561d18c156e88181cbc4"
Job succeeded
2026-04-30 05:23.09: Job succeeded