(for PR #29582)
2026-03-25 13:13.21: New job: test yocaml_yaml.2.5.0 with ocaml-compiler.5.4.0~alpha1, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29582/head (fa5fb3a6a806e832e4c7791145889a6bbe8b64ef)
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/29582/head" && git reset --hard fa5fb3a6
git fetch origin master
git merge --no-edit 2f93e9d4614d6376ed929fc2cee7c59cb9d5833b
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.4@sha256:bd342cbd7766c453282fdafbc2e565ae3361320ec344722cf4372b782e4a97f6
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 ocaml-compiler.5.4.0~alpha1 5.4.0~alpha1
RUN opam reinstall --update-invariant ocaml-compiler.5.4.0~alpha1; \
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-compiler.5.4.0~alpha1' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
RUN opam reinstall yocaml_yaml.2.5.0; \
res=$?; \
test "$res" != 31 && exit "$res"; \
export OPAMCLI=2.0; \
build_dir=$(opam var prefix)/.opam-switch/build; \
failed=$(ls "$build_dir"); \
partial_fails=""; \
for pkg in $failed; do \
if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-13\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'yocaml_yaml.2.5.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 yocaml_yaml.2.5.0) || true
RUN opam reinstall --with-test --verbose yocaml_yaml.2.5.0; \
res=$?; \
test "$res" != 31 && exit "$res"; \
export OPAMCLI=2.0; \
build_dir=$(opam var prefix)/.opam-switch/build; \
failed=$(ls "$build_dir"); \
partial_fails=""; \
for pkg in $failed; do \
if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-13\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'yocaml_yaml.2.5.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-03-25 13:13.21: Using cache hint "ocaml/opam:debian-13-ocaml-5.4@sha256:bd342cbd7766c453282fdafbc2e565ae3361320ec344722cf4372b782e4a97f6-ocaml-compiler.5.4.0~alpha1-yocaml_yaml.2.5.0-fa5fb3a6a806e832e4c7791145889a6bbe8b64ef"
2026-03-25 13:13.21: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:bd342cbd7766c453282fdafbc2e565ae3361320ec344722cf4372b782e4a97f6)
(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 ocaml-compiler.5.4.0~alpha1 5.4.0~alpha1"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall --update-invariant ocaml-compiler.5.4.0~alpha1;\
\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-compiler.5.4.0~alpha1' && 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 yocaml_yaml.2.5.0;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'yocaml_yaml.2.5.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 yocaml_yaml.2.5.0) || true"))
(run (shell "opam reinstall --with-test --verbose yocaml_yaml.2.5.0;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'yocaml_yaml.2.5.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-03-25 13:13.21: Waiting for resource in pool OCluster
2026-03-25 15:21.39: Waiting for worker…
2026-03-25 15:24.41: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at 2f93e9d461 Merge pull request #29592 from dinosaure/release-miou-v0.5.5
Merge made by the 'ort' strategy.
packages/ocaml-compiler/ocaml-compiler.5.3.0/opam | 5 ++++-
packages/ocaml-compiler/ocaml-compiler.5.3/opam | 5 ++++-
packages/ocaml-compiler/ocaml-compiler.5.4.0/opam | 5 ++++-
.../ocaml-compiler/ocaml-compiler.5.4.0~alpha1/opam | 5 ++++-
.../ocaml-compiler/ocaml-compiler.5.4.0~beta1/opam | 5 ++++-
.../ocaml-compiler/ocaml-compiler.5.4.0~beta2/opam | 5 ++++-
packages/ocaml-compiler/ocaml-compiler.5.4.0~rc1/opam | 5 ++++-
packages/ocaml-compiler/ocaml-compiler.5.4.1/opam | 5 ++++-
packages/ocaml-compiler/ocaml-compiler.5.4/opam | 5 ++++-
.../ocaml-compiler/ocaml-compiler.5.5.0~alpha1/opam | 5 ++++-
packages/ocaml-compiler/ocaml-compiler.5.5/opam | 5 ++++-
packages/ocaml-compiler/ocaml-compiler.5.6/opam | 5 ++++-
packages/ocaml-option-llvm/ocaml-option-llvm.1/opam | 18 ++++++++++++++++++
.../ocaml-options-vanilla/ocaml-options-vanilla.1/opam | 1 +
packages/ocaml-variants/ocaml-variants.5.2.0+msvc/opam | 2 ++
15 files changed, 69 insertions(+), 12 deletions(-)
create mode 100644 packages/ocaml-option-llvm/ocaml-option-llvm.1/opam
(from ocaml/opam:debian-13-ocaml-5.4@sha256:bd342cbd7766c453282fdafbc2e565ae3361320ec344722cf4372b782e4a97f6)
2026-03-25 15:24.43 ---> using "41eea30e3f639c18d8cf57c309ec76919ec7b2398036f7e41744cbce59a133d3" 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-03-25 15:24.43 ---> using "4ad7f430d684c40cedc651267e0edf890c044fe4e624255de377c471b4526bac" 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.
Continue? [Y/n] y
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.
[NOTE] The 'jobs' option was reset, its value was 71 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=71 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-03-25 15:24.43 ---> using "71fa58e52457bf6a7eac317c6a6ef1e2bdf53e533a1e4fd04b90c9349347e038" 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.0
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=debian os-version=13
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 255
# repositories 1 (version-controlled)
# pinned 1 (version)
# current-switch 5.4
# invariant ["ocaml-base-compiler" {= "5.4.0"}]
# compiler-packages ocaml-base-compiler.5.4.0, ocaml-compiler.5.4.0, 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.0
2026-03-25 15:24.43 ---> using "ed86081cb38ca125a920162bfe6a4bb7b1c27c6973c917551687c83cf44dbfdf" 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-03-25 15:24.43 ---> using "04a48515eea40c32b96da0c71328b4bba0edb66eed83d4f78554b39097cf1f25" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2026-03-25 15:24.44 ---> using "034191995d824300f355cbba1072d6e5fe6d815701f24eb84d82c75009d73829" from cache
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-03-25 15:24.44 ---> using "8232259ea36ea8848dc29ae49703acf145fd27b40f3ebd8fb785db7f8da1b9d4" from cache
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian trixie InRelease [140 kB]
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian trixie/main amd64 Packages [9671 kB]
- Get:5 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [114 kB]
- Fetched 10.0 MB in 1s (10.4 MB/s)
- Reading package lists...
2026-03-25 15:24.44 ---> using "a75782a571df4fc8f8933e94c681af881015ee87cdd4c652f8ae9af1d8cfad37" from cache
/home/opam: (run (shell "opam pin add -k version -yn ocaml-compiler.5.4.0~alpha1 5.4.0~alpha1"))
ocaml-compiler is now pinned to version 5.4.0~alpha1
2026-03-25 15:24.44 ---> using "e88d50778e741ddee9b34c84a56e5e9e4639d3fa2f3e012374704cbfbb53ef0f" from cache
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall --update-invariant ocaml-compiler.5.4.0~alpha1;\
\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-compiler.5.4.0~alpha1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
ocaml-compiler.5.4.0~alpha1 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== remove 1 package
- remove ocaml-base-compiler 5.4.0 (pinned) [conflicts with ocaml-compiler]
=== downgrade 1 package
- downgrade ocaml-compiler 5.4.0 to 5.4.0~alpha1 (pinned)
=== recompile 6 packages
- recompile base-domains base [uses ocaml]
- recompile base-effects base [uses ocaml]
- recompile base-nnp base [uses base-domains]
- recompile ocaml 5.4.0 [uses ocaml-base-compiler]
- recompile ocaml-config 3 [uses ocaml-base-compiler]
- recompile opam-depext 1.2.3 [uses ocaml]
=== install 1 package
- install ocaml-variants 5.4.0~alpha1+options [required by ocaml]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocaml-compiler.5.4.0~alpha1 (cached)
-> retrieved ocaml-config.3 (cached)
-> retrieved opam-depext.1.2.3 (cached)
-> removed base-effects.base
-> removed base-nnp.base
-> removed base-domains.base
-> removed opam-depext.1.2.3
-> removed ocaml.5.4.0
-> removed ocaml-config.3
-> removed ocaml-base-compiler.5.4.0
-> removed ocaml-compiler.5.4.0
-> installed ocaml-compiler.5.4.0~alpha1
-> installed ocaml-variants.5.4.0~alpha1+options
-> installed ocaml-config.3
-> installed ocaml.5.4.0
-> installed base-domains.base
-> installed base-effects.base
-> installed base-nnp.base
-> installed opam-depext.1.2.3
[NOTE] Switch invariant was updated to ["ocaml-variants" {= "5.4.0~alpha1+options"}]
Use `opam switch set-invariant' to change it.
Done.
<><> opam-depext.1.2.3 installed successfully <><><><><><><><><><><><><><><><><>
=> opam-depext is unnecessary when used with opam >= 2.1. Please use opam install directly instead
# To update the current shell environment, run: eval $(opam env)
2026-03-25 15:25.10 ---> saved as "b7d43dc4936243f5436b930db356d86affbfebfa395eb0b37eb16d2b855a3853"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall yocaml_yaml.2.5.0;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'yocaml_yaml.2.5.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
yocaml_yaml.2.5.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 41 packages
- install astring 0.8.5 [required by bos]
- install base v0.17.3 [required by ppx_expect]
- install bos 0.2.1 [required by yaml]
- install csexp 1.5.2 [required by dune-configurator]
- install ctypes 0.24.0 [required by yaml]
- install dune 3.22.0 [required by yocaml_yaml]
- install dune-configurator 3.22.0 [required by yaml]
- install fmt 0.11.0 [required by bos]
- install fpath 0.7.3 [required by bos]
- install integers 0.7.0 [required by ctypes]
- install jane-street-headers v0.17.0 [required by time_now]
- install jst-config v0.17.0 [required by time_now]
- install logs 0.10.0 [required by yocaml]
- install ocaml-compiler-libs v0.17.0 [required by ppxlib]
- install ocaml_intrinsics_kernel v0.17.1 [required by base]
- install ocamlbuild 0.16.1 [required by bos]
- install ocamlfind 1.9.8 [required by bos]
- install ppx_assert v0.17.0 [required by jst-config]
- install ppx_base v0.17.0 [required by time_now]
- install ppx_cold v0.17.0 [required by ppx_base]
- install ppx_compare v0.17.0 [required by ppx_base]
- install ppx_derivers 1.2.1 [required by ppxlib]
- install ppx_enumerate v0.17.0 [required by ppx_base]
- install ppx_expect v0.17.3 [required by yocaml_yaml]
- install ppx_globalize v0.17.2 [required by ppx_base]
- install ppx_hash v0.17.0 [required by ppx_base]
- install ppx_here v0.17.0 [required by ppx_expect]
- install ppx_inline_test v0.17.1 [required by ppx_expect]
- install ppx_optcomp v0.17.1 [required by time_now]
- install ppx_sexp_conv v0.17.1 [required by ppx_base]
- install ppxlib 0.37.0 [required by ppx_expect]
- install ppxlib_jane v0.17.4 [required by ppx_globalize, ppx_enumerate, ppx_hash]
- install rresult 0.7.0 [required by bos]
- install sexplib0 v0.17.0 [required by base]
- install stdio v0.17.0 [required by ppx_expect]
- install stdlib-shims 0.3.0 [required by ppxlib, integers]
- install time_now v0.17.0 [required by ppx_inline_test]
- install topkg 1.1.1 [required by bos]
- install yaml 3.2.0 [required by yocaml_yaml]
- install yocaml 2.5.0 [required by yocaml_yaml]
- install yocaml_yaml 2.5.0
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5 (cached)
-> retrieved base.v0.17.3 (cached)
-> retrieved bos.0.2.1 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved ctypes.0.24.0 (cached)
-> retrieved dune.3.22.0, dune-configurator.3.22.0 (cached)
-> retrieved fmt.0.11.0 (cached)
-> retrieved fpath.0.7.3 (cached)
-> retrieved integers.0.7.0 (cached)
-> retrieved jane-street-headers.v0.17.0 (cached)
-> retrieved jst-config.v0.17.0 (cached)
-> retrieved logs.0.10.0 (cached)
-> retrieved ocaml-compiler-libs.v0.17.0 (cached)
-> retrieved ocaml_intrinsics_kernel.v0.17.1 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved ppx_assert.v0.17.0 (cached)
-> retrieved ppx_base.v0.17.0 (cached)
-> retrieved ppx_cold.v0.17.0 (cached)
-> retrieved ppx_compare.v0.17.0 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ppx_enumerate.v0.17.0 (cached)
-> retrieved ppx_expect.v0.17.3 (cached)
-> retrieved ppx_globalize.v0.17.2 (cached)
-> retrieved ppx_hash.v0.17.0 (cached)
-> retrieved ppx_here.v0.17.0 (cached)
-> retrieved ppx_inline_test.v0.17.1 (cached)
-> retrieved ppx_optcomp.v0.17.1 (cached)
-> retrieved ppx_sexp_conv.v0.17.1 (cached)
-> retrieved ppxlib.0.37.0 (cached)
-> retrieved ppxlib_jane.v0.17.4 (cached)
-> retrieved rresult.0.7.0 (cached)
-> retrieved sexplib0.v0.17.0 (cached)
-> retrieved stdio.v0.17.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved time_now.v0.17.0 (cached)
-> retrieved topkg.1.1.1 (cached)
-> retrieved yaml.3.2.0 (cached)
-> retrieved yocaml.2.5.0, yocaml_yaml.2.5.0 (cached)
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed rresult.0.7.0
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed logs.0.10.0
-> installed fpath.0.7.3
-> installed bos.0.2.1
-> installed dune.3.22.0
-> installed jane-street-headers.v0.17.0
-> installed ppx_derivers.1.2.1
-> installed csexp.1.5.2
-> installed ocaml-compiler-libs.v0.17.0
-> installed ocaml_intrinsics_kernel.v0.17.1
-> installed sexplib0.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed integers.0.7.0
-> installed dune-configurator.3.22.0
-> installed ctypes.0.24.0
-> installed base.v0.17.3
-> installed stdio.v0.17.0
-> installed yaml.3.2.0
-> installed ppxlib.0.37.0
-> installed ppx_optcomp.v0.17.1
-> installed ppxlib_jane.v0.17.4
-> installed ppx_cold.v0.17.0
-> installed ppx_here.v0.17.0
-> installed ppx_enumerate.v0.17.0
-> installed ppx_globalize.v0.17.2
-> installed ppx_compare.v0.17.0
-> installed ppx_sexp_conv.v0.17.1
-> installed ppx_hash.v0.17.0
-> installed ppx_assert.v0.17.0
-> installed ppx_base.v0.17.0
-> installed jst-config.v0.17.0
-> installed time_now.v0.17.0
-> installed ppx_inline_test.v0.17.1
-> installed ppx_expect.v0.17.3
-> installed yocaml.2.5.0
-> installed yocaml_yaml.2.5.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-25 15:26.24 ---> saved as "5bfa7deccdcdec275a91b84bc0f9d1b1f4dbcab8b8b10bc690b8b0325e3c5f9b"
/home/opam: (run (network host)
(shell "(opam reinstall --with-test yocaml_yaml.2.5.0) || true"))
The following actions will be performed:
=== recompile 6 packages
- recompile bos 0.2.1 [uses fmt]
- recompile fmt 0.11.0 [uses cmdliner]
- recompile logs 0.10.0 [uses cmdliner]
- recompile yaml 3.2.0 [uses bos]
- recompile yocaml 2.5.0 [uses logs]
- recompile yocaml_yaml 2.5.0
=== install 7 packages
- install camlp-streams 5.0.1 [required by mdx]
- install cmdliner 2.1.0 [required by mdx]
- install cppo 1.8.0 [required by mdx]
- install mdx 2.5.1 [required by yocaml_yaml]
- install ocaml-version 4.0.4 [required by mdx]
- install re 1.14.0 [required by mdx]
- install result 1.5 [required by mdx]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved bos.0.2.1 (https://opam.ocaml.org/cache)
-> retrieved camlp-streams.5.0.1 (https://opam.ocaml.org/cache)
-> retrieved cmdliner.2.1.0 (https://opam.ocaml.org/cache)
-> retrieved cppo.1.8.0 (https://opam.ocaml.org/cache)
-> retrieved fmt.0.11.0 (https://opam.ocaml.org/cache)
-> retrieved logs.0.10.0 (https://opam.ocaml.org/cache)
-> installed camlp-streams.5.0.1
-> retrieved mdx.2.5.1 (https://opam.ocaml.org/cache)
-> retrieved ocaml-version.4.0.4 (https://opam.ocaml.org/cache)
-> retrieved re.1.14.0 (https://opam.ocaml.org/cache)
-> retrieved result.1.5 (https://opam.ocaml.org/cache)
-> retrieved yaml.3.2.0 (https://opam.ocaml.org/cache)
-> installed ocaml-version.4.0.4
-> retrieved yocaml.2.5.0, yocaml_yaml.2.5.0 (https://opam.ocaml.org/cache)
-> installed result.1.5
-> installed cppo.1.8.0
-> installed re.1.14.0
-> removed yocaml_yaml.2.5.0
-> removed yaml.3.2.0
-> removed bos.0.2.1
-> removed yocaml.2.5.0
-> removed logs.0.10.0
-> removed fmt.0.11.0
-> installed cmdliner.2.1.0
-> installed fmt.0.11.0
-> installed logs.0.10.0
-> installed yocaml.2.5.0
-> installed mdx.2.5.1
-> installed bos.0.2.1
-> installed yaml.3.2.0
[ERROR] The compilation of yocaml_yaml.2.5.0 failed at "dune build -p yocaml_yaml -j 255 @install @runtest".
#=== ERROR while compiling yocaml_yaml.2.5.0 ==================================#
# context 2.5.0 | linux/x86_64 | ocaml-variants.5.4.0~alpha1+options | file:///home/opam/opam-repository
# path ~/.opam/5.4/.opam-switch/build/yocaml_yaml.2.5.0
# command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p yocaml_yaml -j 255 @install @runtest
# exit-code 1
# env-file ~/.opam/log/yocaml_yaml-7-8bb284.env
# output-file ~/.opam/log/yocaml_yaml-7-8bb284.out
### output ###
# File "doc/data_validation.mld", line 1, characters 0-0:
# /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/doc/data_validation.mld _build/default/doc/.mdx/data_validation.mld.corrected
# diff --git a/_build/default/doc/data_validation.mld b/_build/default/doc/.mdx/data_validation.mld.corrected
# index 576ce96..a2593c3 100644
# --- a/_build/default/doc/data_validation.mld
# +++ b/_build/default/doc/.mdx/data_validation.mld.corrected
# @@ -120,7 +120,7 @@ Let's try to validate an incorrect entry. For example, let's try to treat a
# {@ocaml[
# # V.int (D.bool true) ;;
# - : int V.validated_value =
# -Error (V.Invalid_shape {V.expected = "int"; given = Yocaml.Data.Bool true})
# +Error (V.Invalid_shape {V.expected = "int"; given = Yocaml__Data.Bool true})
# ]}
#
# As you can see, {!val:Yocaml.Data.Validation.bool} refuses to consider a number
# @@ -170,7 +170,7 @@ boolean as a string:
# - : string V.validated_value =
# Error
# (V.Invalid_shape
# - {V.expected = "strict-string"; given = Yocaml.Data.Bool true})
# + {V.expected = "strict-string"; given = Yocaml__Data.Bool true})
# ]}
#
# However, if you validate the boolean as a non-strict string, it will be
# @@ -227,13 +227,13 @@ Error
# Yocaml__.Nel.(::)
# ((3,
# V.Invalid_shape
# - {V.expected = "strict-string"; given = Yocaml.Data.Bool false}),
# + {V.expected = "strict-string"; given = Yocaml__Data.Bool false}),
# [(1,
# V.Invalid_shape
# - {V.expected = "strict-string"; given = Yocaml.Data.Int 42})]);
# + {V.expected = "strict-string"; given = Yocaml__Data.Int 42})]);
# given =
# - [Yocaml.Data.String "hello"; Yocaml.Data.Int 42;
# - Yocaml.Data.String "world"; Yocaml.Data.Bool false]})
# + [Yocaml__Data.String "hello"; Yocaml__Data.Int 42;
# + Yocaml__Data.String "world"; Yocaml__Data.Bool false]})
# ]eof}
#
# Holy Moly, the error is quite frightening! As mentioned earlier in the guide,
# @@ -350,16 +350,17 @@ Error
# (Yocaml.Data.Validation.Missing_field
# {Yocaml.Data.Validation.field = "username"},
# [Yocaml.Data.Validation.Invalid_field
# - {Yocaml.Data.Validation.given = Yocaml.Data.Bool true; field = "age";
# + {Yocaml.Data.Validation.given = Yocaml__Data.Bool true;
# + field = "age";
# error =
# Yocaml.Data.Validation.Invalid_shape
# {Yocaml.Data.Validation.expected = "int";
# - given = Yocaml.Data.Bool true}};
# + given = Yocaml__Data.Bool true}};
# Yocaml.Data.Validation.Invalid_field
# {Yocaml.Data.Validation.given =
# - Yocaml.Data.List
# - [Yocaml.Data.Int 1; Yocaml.Data.Int 2; Yocaml.Data.Int 3;
# - Yocaml.Data.Int 4];
# + Yocaml__Data.List
# + [Yocaml__Data.Int 1; Yocaml__Data.Int 2; Yocaml__Data.Int 3;
# + Yocaml__Data.Int 4];
# field = "nouns";
# error =
# Yocaml.Data.Validation.Invalid_list
# @@ -368,29 +369,29 @@ Error
# ((3,
# Yocaml.Data.Validation.Invalid_shape
# {Yocaml.Data.Validation.expected = "strict-string";
# - given = Yocaml.Data.Int 4}),
# + given = Yocaml__Data.Int 4}),
# [(2,
# Yocaml.Data.Validation.Invalid_shape
# {Yocaml.Data.Validation.expected = "strict-string";
# - given = Yocaml.Data.Int 3});
# + given = Yocaml__Data.Int 3});
# (1,
# Yocaml.Data.Validation.Invalid_shape
# {Yocaml.Data.Validation.expected = "strict-string";
# - given = Yocaml.Data.Int 2});
# + given = Yocaml__Data.Int 2});
# (0,
# Yocaml.Data.Validation.Invalid_shape
# {Yocaml.Data.Validation.expected = "strict-string";
# - given = Yocaml.Data.Int 1})]);
# + given = Yocaml__Data.Int 1})]);
# given =
# - [Yocaml.Data.Int 1; Yocaml.Data.Int 2; Yocaml.Data.Int 3;
# - Yocaml.Data.Int 4]}}]);
# + [Yocaml__Data.Int 1; Yocaml__Data.Int 2; Yocaml__Data.Int 3;
# + Yocaml__Data.Int 4]}}]);
# given =
# - [("usernme", Yocaml.Data.String "JohnDoe42");
# - ("age", Yocaml.Data.Bool true);
# + [("usernme", Yocaml__Data.String "JohnDoe42");
# + ("age", Yocaml__Data.Bool true);
# ("nouns",
# - Yocaml.Data.List
# - [Yocaml.Data.Int 1; Yocaml.Data.Int 2; Yocaml.Data.Int 3;
# - Yocaml.Data.Int 4])]})
# + Yocaml__Data.List
# + [Yocaml__Data.Int 1; Yocaml__Data.Int 2; Yocaml__Data.Int 3;
# + Yocaml__Data.Int 4])]})
# ]eof}
#
#
# @@ -442,7 +443,8 @@ An trying to validate something invalid leads to an error:
# {eof@ocaml[
# # option_int (D.string "15") ;;
# - : int option V.validated_value =
# -Error (V.Invalid_shape {V.expected = "int"; given = Yocaml.Data.String "15"})
# +Error
# + (V.Invalid_shape {V.expected = "int"; given = Yocaml__Data.String "15"})
# ]eof}
#
# {3 Dealing with products}
# @@ -491,17 +493,17 @@ Error
# {V.errors =
# Yocaml__.Nel.(::)
# (V.Invalid_field
# - {V.given = Yocaml.Data.Bool false; field = "fst";
# + {V.given = Yocaml__Data.Bool false; field = "fst";
# error =
# V.Invalid_shape
# - {V.expected = "strict-string"; given = Yocaml.Data.Bool false}},
# + {V.expected = "strict-string"; given = Yocaml__Data.Bool false}},
# [V.Invalid_field
# - {V.given = Yocaml.Data.String "foo"; field = "snd";
# + {V.given = Yocaml__Data.String "foo"; field = "snd";
# error =
# V.Invalid_shape
# - {V.expected = "int"; given = Yocaml.Data.String "foo"}}]);
# + {V.expected = "int"; given = Yocaml__Data.String "foo"}}]);
# given =
# - [("fst", Yocaml.Data.Bool false); ("snd", Yocaml.Data.String "foo")]})
# + [("fst", Yocaml__Data.Bool false); ("snd", Yocaml__Data.String "foo")]})
# ]eof}
#
# Which gives us some information about how the products are encoded under the
# @@ -577,7 +579,7 @@ hood:
# Error
# (V.Invalid_shape
# {V.expected = "Left <abstr> | Right <abstr>";
# - given = Yocaml.Data.String "foo"})
# + given = Yocaml__Data.String "foo"})
# ]eof}
#
# by trying to validate an [option] as an [either] doesn't give us much
# @@ -682,7 +684,7 @@ Error
# (Yocaml.Data.Validation.Invalid_shape
# {Yocaml.Data.Validation.expected =
# "Aaf <abstr> | Bcwrz <abstr> | Krups <abstr> | Kalco <abstr> | Piou <abstr> | Xxxx <abstr> | Zzzz <abstr>";
# - given = Yocaml.Data.Int 64})
# + given = Yocaml__Data.Int 64})
# ]eof}
#
# And let's observe an invalid constructor, we learn more about the representation
# @@ -696,8 +698,8 @@ Error
# {Yocaml.Data.Validation.expected =
# "Aaf <abstr> | Bcwrz <abstr> | Krups <abstr> | Kalco <abstr> | Piou <abstr> | Xxxx <abstr> | Zzzz <abstr>";
# given =
# - Yocaml.Data.Record
# - [("constr", Yocaml.Data.String "arf"); ("value", Yocaml.Data.Int 10)]})
# + Yocaml__Data.Record
# + [("constr", Yocaml__Data.String "arf"); ("value", Yocaml__Data.Int 10)]})
# ]eof}
#
# The validation of the sums is a little less secure than one might hope because
# @@ -971,7 +973,7 @@ Result.Error
# {Yocaml.Data.Validation.errors =
# Yocaml__.Nel.(::)
# (Yocaml.Data.Validation.Invalid_field
# - {Yocaml.Data.Validation.given = Yocaml.Data.String "JohnDoe43";
# + {Yocaml.Data.Validation.given = Yocaml__Data.String "JohnDoe43";
# field = "username_confirmation";
# error =
# Yocaml.Data.Validation.With_message
# @@ -979,14 +981,14 @@ Result.Error
# message = "should be equal to JohnDoe42"}},
# []);
# given =
# - [("username", Yocaml.Data.String "JohnDoe42");
# - ("age", Yocaml.Data.Int 42);
# + [("username", Yocaml__Data.String "JohnDoe42");
# + ("age", Yocaml__Data.Int 42);
# ("nouns",
# - Yocaml.Data.List
# - [Yocaml.Data.String "he"; Yocaml.Data.String "him";
# - Yocaml.Data.String "his"; Yocaml.Data.String "himself"]);
# - ("email", Yocaml.Data.String "jdoe@name.com");
# - ("username_confirmation", Yocaml.Data.String "JohnDoe43")]})
# + Yocaml__Data.List
# + [Yocaml__Data.String "he"; Yocaml__Data.String "him";
# + Yocaml__Data.String "his"; Yocaml__Data.String "himself"]);
# + ("email", Yocaml__Data.String "jdoe@name.com");
# + ("username_confirmation", Yocaml__Data.String "JohnDoe43")]})
# ]eof}
#
# In some cases, dependent validation makes it possible to construct increasingly
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build yocaml_yaml 2.5.0
+-
+- The following changes have been performed
| - remove yocaml_yaml 2.5.0
| - recompile bos 0.2.1
| - recompile fmt 0.11.0
| - recompile logs 0.10.0
| - recompile yaml 3.2.0
| - recompile yocaml 2.5.0
| - install camlp-streams 5.0.1
| - install cmdliner 2.1.0
| - install cppo 1.8.0
| - install mdx 2.5.1
| - install ocaml-version 4.0.4
| - install re 1.14.0
| - install result 1.5
+-
# To update the current shell environment, run: eval $(opam env)
The former state can be restored with:
/usr/bin/opam switch import "/home/opam/.opam/5.4/.opam-switch/backup/state-20260325152625.export"
Or you can retry to install your package selection with:
/usr/bin/opam install --restore
2026-03-25 15:26.48 ---> saved as "da9b3e2a457eca28a9c5945e203d81d1257718c6c8dc87b74d69145374a7eea5"
/home/opam: (run (shell "opam reinstall --with-test --verbose yocaml_yaml.2.5.0;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'yocaml_yaml.2.5.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
yocaml_yaml.2.5.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 1 package
- install yocaml_yaml 2.5.0
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 1/3: [yocaml_yaml.2.5.0: extract]
-> retrieved yocaml_yaml.2.5.0 (cached)
Processing 2/3: [yocaml_yaml: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "yocaml_yaml" "-j" "255" "@install" "@runtest" (CWD=/home/opam/.opam/5.4/.opam-switch/build/yocaml_yaml.2.5.0)
- File "doc/data_validation.mld", line 1, characters 0-0:
- /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/doc/data_validation.mld _build/default/doc/.mdx/data_validation.mld.corrected
- diff --git a/_build/default/doc/data_validation.mld b/_build/default/doc/.mdx/data_validation.mld.corrected
- index 576ce96..a2593c3 100644
- --- a/_build/default/doc/data_validation.mld
- +++ b/_build/default/doc/.mdx/data_validation.mld.corrected
- @@ -120,7 +120,7 @@ Let's try to validate an incorrect entry. For example, let's try to treat a
- {@ocaml[
- # V.int (D.bool true) ;;
- - : int V.validated_value =
- -Error (V.Invalid_shape {V.expected = "int"; given = Yocaml.Data.Bool true})
- +Error (V.Invalid_shape {V.expected = "int"; given = Yocaml__Data.Bool true})
- ]}
-
- As you can see, {!val:Yocaml.Data.Validation.bool} refuses to consider a number
- @@ -170,7 +170,7 @@ boolean as a string:
- - : string V.validated_value =
- Error
- (V.Invalid_shape
- - {V.expected = "strict-string"; given = Yocaml.Data.Bool true})
- + {V.expected = "strict-string"; given = Yocaml__Data.Bool true})
- ]}
-
- However, if you validate the boolean as a non-strict string, it will be
- @@ -227,13 +227,13 @@ Error
- Yocaml__.Nel.(::)
- ((3,
- V.Invalid_shape
- - {V.expected = "strict-string"; given = Yocaml.Data.Bool false}),
- + {V.expected = "strict-string"; given = Yocaml__Data.Bool false}),
- [(1,
- V.Invalid_shape
- - {V.expected = "strict-string"; given = Yocaml.Data.Int 42})]);
- + {V.expected = "strict-string"; given = Yocaml__Data.Int 42})]);
- given =
- - [Yocaml.Data.String "hello"; Yocaml.Data.Int 42;
- - Yocaml.Data.String "world"; Yocaml.Data.Bool false]})
- + [Yocaml__Data.String "hello"; Yocaml__Data.Int 42;
- + Yocaml__Data.String "world"; Yocaml__Data.Bool false]})
- ]eof}
-
- Holy Moly, the error is quite frightening! As mentioned earlier in the guide,
- @@ -350,16 +350,17 @@ Error
- (Yocaml.Data.Validation.Missing_field
- {Yocaml.Data.Validation.field = "username"},
- [Yocaml.Data.Validation.Invalid_field
- - {Yocaml.Data.Validation.given = Yocaml.Data.Bool true; field = "age";
- + {Yocaml.Data.Validation.given = Yocaml__Data.Bool true;
- + field = "age";
- error =
- Yocaml.Data.Validation.Invalid_shape
- {Yocaml.Data.Validation.expected = "int";
- - given = Yocaml.Data.Bool true}};
- + given = Yocaml__Data.Bool true}};
- Yocaml.Data.Validation.Invalid_field
- {Yocaml.Data.Validation.given =
- - Yocaml.Data.List
- - [Yocaml.Data.Int 1; Yocaml.Data.Int 2; Yocaml.Data.Int 3;
- - Yocaml.Data.Int 4];
- + Yocaml__Data.List
- + [Yocaml__Data.Int 1; Yocaml__Data.Int 2; Yocaml__Data.Int 3;
- + Yocaml__Data.Int 4];
- field = "nouns";
- error =
- Yocaml.Data.Validation.Invalid_list
- @@ -368,29 +369,29 @@ Error
- ((3,
- Yocaml.Data.Validation.Invalid_shape
- {Yocaml.Data.Validation.expected = "strict-string";
- - given = Yocaml.Data.Int 4}),
- + given = Yocaml__Data.Int 4}),
- [(2,
- Yocaml.Data.Validation.Invalid_shape
- {Yocaml.Data.Validation.expected = "strict-string";
- - given = Yocaml.Data.Int 3});
- + given = Yocaml__Data.Int 3});
- (1,
- Yocaml.Data.Validation.Invalid_shape
- {Yocaml.Data.Validation.expected = "strict-string";
- - given = Yocaml.Data.Int 2});
- + given = Yocaml__Data.Int 2});
- (0,
- Yocaml.Data.Validation.Invalid_shape
- {Yocaml.Data.Validation.expected = "strict-string";
- - given = Yocaml.Data.Int 1})]);
- + given = Yocaml__Data.Int 1})]);
- given =
- - [Yocaml.Data.Int 1; Yocaml.Data.Int 2; Yocaml.Data.Int 3;
- - Yocaml.Data.Int 4]}}]);
- + [Yocaml__Data.Int 1; Yocaml__Data.Int 2; Yocaml__Data.Int 3;
- + Yocaml__Data.Int 4]}}]);
- given =
- - [("usernme", Yocaml.Data.String "JohnDoe42");
- - ("age", Yocaml.Data.Bool true);
- + [("usernme", Yocaml__Data.String "JohnDoe42");
- + ("age", Yocaml__Data.Bool true);
- ("nouns",
- - Yocaml.Data.List
- - [Yocaml.Data.Int 1; Yocaml.Data.Int 2; Yocaml.Data.Int 3;
- - Yocaml.Data.Int 4])]})
- + Yocaml__Data.List
- + [Yocaml__Data.Int 1; Yocaml__Data.Int 2; Yocaml__Data.Int 3;
- + Yocaml__Data.Int 4])]})
- ]eof}
-
-
- @@ -442,7 +443,8 @@ An trying to validate something invalid leads to an error:
- {eof@ocaml[
- # option_int (D.string "15") ;;
- - : int option V.validated_value =
- -Error (V.Invalid_shape {V.expected = "int"; given = Yocaml.Data.String "15"})
- +Error
- + (V.Invalid_shape {V.expected = "int"; given = Yocaml__Data.String "15"})
- ]eof}
-
- {3 Dealing with products}
- @@ -491,17 +493,17 @@ Error
- {V.errors =
- Yocaml__.Nel.(::)
- (V.Invalid_field
- - {V.given = Yocaml.Data.Bool false; field = "fst";
- + {V.given = Yocaml__Data.Bool false; field = "fst";
- error =
- V.Invalid_shape
- - {V.expected = "strict-string"; given = Yocaml.Data.Bool false}},
- + {V.expected = "strict-string"; given = Yocaml__Data.Bool false}},
- [V.Invalid_field
- - {V.given = Yocaml.Data.String "foo"; field = "snd";
- + {V.given = Yocaml__Data.String "foo"; field = "snd";
- error =
- V.Invalid_shape
- - {V.expected = "int"; given = Yocaml.Data.String "foo"}}]);
- + {V.expected = "int"; given = Yocaml__Data.String "foo"}}]);
- given =
- - [("fst", Yocaml.Data.Bool false); ("snd", Yocaml.Data.String "foo")]})
- + [("fst", Yocaml__Data.Bool false); ("snd", Yocaml__Data.String "foo")]})
- ]eof}
-
- Which gives us some information about how the products are encoded under the
- @@ -577,7 +579,7 @@ hood:
- Error
- (V.Invalid_shape
- {V.expected = "Left <abstr> | Right <abstr>";
- - given = Yocaml.Data.String "foo"})
- + given = Yocaml__Data.String "foo"})
- ]eof}
-
- by trying to validate an [option] as an [either] doesn't give us much
- @@ -682,7 +684,7 @@ Error
- (Yocaml.Data.Validation.Invalid_shape
- {Yocaml.Data.Validation.expected =
- "Aaf <abstr> | Bcwrz <abstr> | Krups <abstr> | Kalco <abstr> | Piou <abstr> | Xxxx <abstr> | Zzzz <abstr>";
- - given = Yocaml.Data.Int 64})
- + given = Yocaml__Data.Int 64})
- ]eof}
-
- And let's observe an invalid constructor, we learn more about the representation
- @@ -696,8 +698,8 @@ Error
- {Yocaml.Data.Validation.expected =
- "Aaf <abstr> | Bcwrz <abstr> | Krups <abstr> | Kalco <abstr> | Piou <abstr> | Xxxx <abstr> | Zzzz <abstr>";
- given =
- - Yocaml.Data.Record
- - [("constr", Yocaml.Data.String "arf"); ("value", Yocaml.Data.Int 10)]})
- + Yocaml__Data.Record
- + [("constr", Yocaml__Data.String "arf"); ("value", Yocaml__Data.Int 10)]})
- ]eof}
-
- The validation of the sums is a little less secure than one might hope because
- @@ -971,7 +973,7 @@ Result.Error
- {Yocaml.Data.Validation.errors =
- Yocaml__.Nel.(::)
- (Yocaml.Data.Validation.Invalid_field
- - {Yocaml.Data.Validation.given = Yocaml.Data.String "JohnDoe43";
- + {Yocaml.Data.Validation.given = Yocaml__Data.String "JohnDoe43";
- field = "username_confirmation";
- error =
- Yocaml.Data.Validation.With_message
- @@ -979,14 +981,14 @@ Result.Error
- message = "should be equal to JohnDoe42"}},
- []);
- given =
- - [("username", Yocaml.Data.String "JohnDoe42");
- - ("age", Yocaml.Data.Int 42);
- + [("username", Yocaml__Data.String "JohnDoe42");
- + ("age", Yocaml__Data.Int 42);
- ("nouns",
- - Yocaml.Data.List
- - [Yocaml.Data.String "he"; Yocaml.Data.String "him";
- - Yocaml.Data.String "his"; Yocaml.Data.String "himself"]);
- - ("email", Yocaml.Data.String "jdoe@name.com");
- - ("username_confirmation", Yocaml.Data.String "JohnDoe43")]})
- + Yocaml__Data.List
- + [Yocaml__Data.String "he"; Yocaml__Data.String "him";
- + Yocaml__Data.String "his"; Yocaml__Data.String "himself"]);
- + ("email", Yocaml__Data.String "jdoe@name.com");
- + ("username_confirmation", Yocaml__Data.String "JohnDoe43")]})
- ]eof}
-
- In some cases, dependent validation makes it possible to construct increasingly
[ERROR] The compilation of yocaml_yaml.2.5.0 failed at "dune build -p yocaml_yaml -j 255 @install @runtest".
#=== ERROR while compiling yocaml_yaml.2.5.0 ==================================#
# context 2.5.0 | linux/x86_64 | ocaml-variants.5.4.0~alpha1+options | file:///home/opam/opam-repository
# path ~/.opam/5.4/.opam-switch/build/yocaml_yaml.2.5.0
# command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p yocaml_yaml -j 255 @install @runtest
# exit-code 1
# env-file ~/.opam/log/yocaml_yaml-7-507740.env
# output-file ~/.opam/log/yocaml_yaml-7-507740.out
### output ###
# File "doc/data_validation.mld", line 1, characters 0-0:
# /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/doc/data_validation.mld _build/default/doc/.mdx/data_validation.mld.corrected
# diff --git a/_build/default/doc/data_validation.mld b/_build/default/doc/.mdx/data_validation.mld.corrected
# index 576ce96..a2593c3 100644
# --- a/_build/default/doc/data_validation.mld
# +++ b/_build/default/doc/.mdx/data_validation.mld.corrected
# @@ -120,7 +120,7 @@ Let's try to validate an incorrect entry. For example, let's try to treat a
# {@ocaml[
# # V.int (D.bool true) ;;
# - : int V.validated_value =
# -Error (V.Invalid_shape {V.expected = "int"; given = Yocaml.Data.Bool true})
# +Error (V.Invalid_shape {V.expected = "int"; given = Yocaml__Data.Bool true})
# ]}
#
# As you can see, {!val:Yocaml.Data.Validation.bool} refuses to consider a number
# @@ -170,7 +170,7 @@ boolean as a string:
# - : string V.validated_value =
# Error
# (V.Invalid_shape
# - {V.expected = "strict-string"; given = Yocaml.Data.Bool true})
# + {V.expected = "strict-string"; given = Yocaml__Data.Bool true})
# ]}
#
# However, if you validate the boolean as a non-strict string, it will be
# @@ -227,13 +227,13 @@ Error
# Yocaml__.Nel.(::)
# ((3,
# V.Invalid_shape
# - {V.expected = "strict-string"; given = Yocaml.Data.Bool false}),
# + {V.expected = "strict-string"; given = Yocaml__Data.Bool false}),
# [(1,
# V.Invalid_shape
# - {V.expected = "strict-string"; given = Yocaml.Data.Int 42})]);
# + {V.expected = "strict-string"; given = Yocaml__Data.Int 42})]);
# given =
# - [Yocaml.Data.String "hello"; Yocaml.Data.Int 42;
# - Yocaml.Data.String "world"; Yocaml.Data.Bool false]})
# + [Yocaml__Data.String "hello"; Yocaml__Data.Int 42;
# + Yocaml__Data.String "world"; Yocaml__Data.Bool false]})
# ]eof}
#
# Holy Moly, the error is quite frightening! As mentioned earlier in the guide,
# @@ -350,16 +350,17 @@ Error
# (Yocaml.Data.Validation.Missing_field
# {Yocaml.Data.Validation.field = "username"},
# [Yocaml.Data.Validation.Invalid_field
# - {Yocaml.Data.Validation.given = Yocaml.Data.Bool true; field = "age";
# + {Yocaml.Data.Validation.given = Yocaml__Data.Bool true;
# + field = "age";
# error =
# Yocaml.Data.Validation.Invalid_shape
# {Yocaml.Data.Validation.expected = "int";
# - given = Yocaml.Data.Bool true}};
# + given = Yocaml__Data.Bool true}};
# Yocaml.Data.Validation.Invalid_field
# {Yocaml.Data.Validation.given =
# - Yocaml.Data.List
# - [Yocaml.Data.Int 1; Yocaml.Data.Int 2; Yocaml.Data.Int 3;
# - Yocaml.Data.Int 4];
# + Yocaml__Data.List
# + [Yocaml__Data.Int 1; Yocaml__Data.Int 2; Yocaml__Data.Int 3;
# + Yocaml__Data.Int 4];
# field = "nouns";
# error =
# Yocaml.Data.Validation.Invalid_list
# @@ -368,29 +369,29 @@ Error
# ((3,
# Yocaml.Data.Validation.Invalid_shape
# {Yocaml.Data.Validation.expected = "strict-string";
# - given = Yocaml.Data.Int 4}),
# + given = Yocaml__Data.Int 4}),
# [(2,
# Yocaml.Data.Validation.Invalid_shape
# {Yocaml.Data.Validation.expected = "strict-string";
# - given = Yocaml.Data.Int 3});
# + given = Yocaml__Data.Int 3});
# (1,
# Yocaml.Data.Validation.Invalid_shape
# {Yocaml.Data.Validation.expected = "strict-string";
# - given = Yocaml.Data.Int 2});
# + given = Yocaml__Data.Int 2});
# (0,
# Yocaml.Data.Validation.Invalid_shape
# {Yocaml.Data.Validation.expected = "strict-string";
# - given = Yocaml.Data.Int 1})]);
# + given = Yocaml__Data.Int 1})]);
# given =
# - [Yocaml.Data.Int 1; Yocaml.Data.Int 2; Yocaml.Data.Int 3;
# - Yocaml.Data.Int 4]}}]);
# + [Yocaml__Data.Int 1; Yocaml__Data.Int 2; Yocaml__Data.Int 3;
# + Yocaml__Data.Int 4]}}]);
# given =
# - [("usernme", Yocaml.Data.String "JohnDoe42");
# - ("age", Yocaml.Data.Bool true);
# + [("usernme", Yocaml__Data.String "JohnDoe42");
# + ("age", Yocaml__Data.Bool true);
# ("nouns",
# - Yocaml.Data.List
# - [Yocaml.Data.Int 1; Yocaml.Data.Int 2; Yocaml.Data.Int 3;
# - Yocaml.Data.Int 4])]})
# + Yocaml__Data.List
# + [Yocaml__Data.Int 1; Yocaml__Data.Int 2; Yocaml__Data.Int 3;
# + Yocaml__Data.Int 4])]})
# ]eof}
#
#
# @@ -442,7 +443,8 @@ An trying to validate something invalid leads to an error:
# {eof@ocaml[
# # option_int (D.string "15") ;;
# - : int option V.validated_value =
# -Error (V.Invalid_shape {V.expected = "int"; given = Yocaml.Data.String "15"})
# +Error
# + (V.Invalid_shape {V.expected = "int"; given = Yocaml__Data.String "15"})
# ]eof}
#
# {3 Dealing with products}
# @@ -491,17 +493,17 @@ Error
# {V.errors =
# Yocaml__.Nel.(::)
# (V.Invalid_field
# - {V.given = Yocaml.Data.Bool false; field = "fst";
# + {V.given = Yocaml__Data.Bool false; field = "fst";
# error =
# V.Invalid_shape
# - {V.expected = "strict-string"; given = Yocaml.Data.Bool false}},
# + {V.expected = "strict-string"; given = Yocaml__Data.Bool false}},
# [V.Invalid_field
# - {V.given = Yocaml.Data.String "foo"; field = "snd";
# + {V.given = Yocaml__Data.String "foo"; field = "snd";
# error =
# V.Invalid_shape
# - {V.expected = "int"; given = Yocaml.Data.String "foo"}}]);
# + {V.expected = "int"; given = Yocaml__Data.String "foo"}}]);
# given =
# - [("fst", Yocaml.Data.Bool false); ("snd", Yocaml.Data.String "foo")]})
# + [("fst", Yocaml__Data.Bool false); ("snd", Yocaml__Data.String "foo")]})
# ]eof}
#
# Which gives us some information about how the products are encoded under the
# @@ -577,7 +579,7 @@ hood:
# Error
# (V.Invalid_shape
# {V.expected = "Left <abstr> | Right <abstr>";
# - given = Yocaml.Data.String "foo"})
# + given = Yocaml__Data.String "foo"})
# ]eof}
#
# by trying to validate an [option] as an [either] doesn't give us much
# @@ -682,7 +684,7 @@ Error
# (Yocaml.Data.Validation.Invalid_shape
# {Yocaml.Data.Validation.expected =
# "Aaf <abstr> | Bcwrz <abstr> | Krups <abstr> | Kalco <abstr> | Piou <abstr> | Xxxx <abstr> | Zzzz <abstr>";
# - given = Yocaml.Data.Int 64})
# + given = Yocaml__Data.Int 64})
# ]eof}
#
# And let's observe an invalid constructor, we learn more about the representation
# @@ -696,8 +698,8 @@ Error
# {Yocaml.Data.Validation.expected =
# "Aaf <abstr> | Bcwrz <abstr> | Krups <abstr> | Kalco <abstr> | Piou <abstr> | Xxxx <abstr> | Zzzz <abstr>";
# given =
# - Yocaml.Data.Record
# - [("constr", Yocaml.Data.String "arf"); ("value", Yocaml.Data.Int 10)]})
# + Yocaml__Data.Record
# + [("constr", Yocaml__Data.String "arf"); ("value", Yocaml__Data.Int 10)]})
# ]eof}
#
# The validation of the sums is a little less secure than one might hope because
# @@ -971,7 +973,7 @@ Result.Error
# {Yocaml.Data.Validation.errors =
# Yocaml__.Nel.(::)
# (Yocaml.Data.Validation.Invalid_field
# - {Yocaml.Data.Validation.given = Yocaml.Data.String "JohnDoe43";
# + {Yocaml.Data.Validation.given = Yocaml__Data.String "JohnDoe43";
# field = "username_confirmation";
# error =
# Yocaml.Data.Validation.With_message
# @@ -979,14 +981,14 @@ Result.Error
# message = "should be equal to JohnDoe42"}},
# []);
# given =
# - [("username", Yocaml.Data.String "JohnDoe42");
# - ("age", Yocaml.Data.Int 42);
# + [("username", Yocaml__Data.String "JohnDoe42");
# + ("age", Yocaml__Data.Int 42);
# ("nouns",
# - Yocaml.Data.List
# - [Yocaml.Data.String "he"; Yocaml.Data.String "him";
# - Yocaml.Data.String "his"; Yocaml.Data.String "himself"]);
# - ("email", Yocaml.Data.String "jdoe@name.com");
# - ("username_confirmation", Yocaml.Data.String "JohnDoe43")]})
# + Yocaml__Data.List
# + [Yocaml__Data.String "he"; Yocaml__Data.String "him";
# + Yocaml__Data.String "his"; Yocaml__Data.String "himself"]);
# + ("email", Yocaml__Data.String "jdoe@name.com");
# + ("username_confirmation", Yocaml__Data.String "JohnDoe43")]})
# ]eof}
#
# In some cases, dependent validation makes it possible to construct increasingly
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build yocaml_yaml 2.5.0
+-
- No changes have been performed
# To update the current shell environment, run: eval $(opam env)
'opam reinstall --with-test --verbose yocaml_yaml.2.5.0' failed.
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
"/usr/bin/env" "bash" "-c" "opam reinstall --with-test --verbose yocaml_yaml.2.5.0;
res=$?;
test "$res" != 31 && exit "$res";
export OPAMCLI=2.0;
build_dir=$(opam var prefix)/.opam-switch/build;
failed=$(ls "$build_dir");
partial_fails="";
for pkg in $failed; do
if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-13\""; then
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
fi;
test "$pkg" != 'yocaml_yaml.2.5.0' && partial_fails="$partial_fails $pkg";
done;
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}";
exit 1" failed with exit status 1
2026-03-25 15:27.08: Job failed: Failed: Build failed
2026-03-25 15:27.08: Log analysis:
2026-03-25 15:27.08: >>>
[ERROR] The compilation of yocaml_yaml.2.5.0 failed at "dune build -p yocaml_yaml -j 255 @install @runtest".
(score = 20)
2026-03-25 15:27.08: >>>
[ERROR] The compilation of yocaml_yaml.2.5.0 failed at "dune build -p yocaml_yaml -j 255 @install @runtest".
(score = 20)
2026-03-25 15:27.08: The compilation of yocaml_yaml.2.5.0 failed at "dune build -p yocaml_yaml -j 255 @install @runtest".