(for PR #29582)
2026-03-25 13:14.42: New job: test ppx_minidebug.2.4.0 with ocaml-compiler.5.4.0, 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 5.4.0
RUN opam reinstall --update-invariant ocaml-compiler.5.4.0; \
res=$?; \
test "$res" != 31 && exit "$res"; \
export OPAMCLI=2.0; \
build_dir=$(opam var prefix)/.opam-switch/build; \
failed=$(ls "$build_dir"); \
partial_fails=""; \
for pkg in $failed; do \
if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-13\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'ocaml-compiler.5.4.0' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
RUN opam reinstall ppx_minidebug.2.4.0; \
res=$?; \
test "$res" != 31 && exit "$res"; \
export OPAMCLI=2.0; \
build_dir=$(opam var prefix)/.opam-switch/build; \
failed=$(ls "$build_dir"); \
partial_fails=""; \
for pkg in $failed; do \
if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-13\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'ppx_minidebug.2.4.0' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
RUN (opam reinstall --with-test ppx_minidebug.2.4.0) || true
RUN opam reinstall --with-test --verbose ppx_minidebug.2.4.0; \
res=$?; \
test "$res" != 31 && exit "$res"; \
export OPAMCLI=2.0; \
build_dir=$(opam var prefix)/.opam-switch/build; \
failed=$(ls "$build_dir"); \
partial_fails=""; \
for pkg in $failed; do \
if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-13\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'ppx_minidebug.2.4.0' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
END-OF-DOCKERFILE
docker build -f ../Dockerfile .
2026-03-25 13:14.42: Using cache hint "ocaml/opam:debian-13-ocaml-5.4@sha256:bd342cbd7766c453282fdafbc2e565ae3361320ec344722cf4372b782e4a97f6-ocaml-compiler.5.4.0-ppx_minidebug.2.4.0-fa5fb3a6a806e832e4c7791145889a6bbe8b64ef"
2026-03-25 13:14.42: 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 5.4.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall --update-invariant ocaml-compiler.5.4.0;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'ocaml-compiler.5.4.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ppx_minidebug.2.4.0;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'ppx_minidebug.2.4.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
(run (network host)
(shell "(opam reinstall --with-test ppx_minidebug.2.4.0) || true"))
(run (shell "opam reinstall --with-test --verbose ppx_minidebug.2.4.0;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'ppx_minidebug.2.4.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2026-03-25 13:14.42: Waiting for resource in pool OCluster
2026-03-25 18:30.22: Waiting for worker…
2026-03-25 18:32.37: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
All commits already cached
Updating files: 83% (15376/18520)
Updating files: 84% (15557/18520)
Updating files: 85% (15742/18520)
Updating files: 86% (15928/18520)
Updating files: 87% (16113/18520)
Updating files: 88% (16298/18520)
Updating files: 89% (16483/18520)
Updating files: 90% (16668/18520)
Updating files: 91% (16854/18520)
Updating files: 92% (17039/18520)
Updating files: 93% (17224/18520)
Updating files: 94% (17409/18520)
Updating files: 95% (17594/18520)
Updating files: 96% (17780/18520)
Updating files: 97% (17965/18520)
Updating files: 98% (18150/18520)
Updating files: 99% (18335/18520)
Updating files: 100% (18520/18520)
Updating files: 100% (18520/18520), done.
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 18:32.39 ---> 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 18:32.39 ---> 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.
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-03-25 18:32.39 ---> 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 71
# 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 18:32.39 ---> 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 18:32.39 ---> using "04a48515eea40c32b96da0c71328b4bba0edb66eed83d4f78554b39097cf1f25" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2026-03-25 18:32.41 ---> using "034191995d824300f355cbba1072d6e5fe6d815701f24eb84d82c75009d73829" from cache
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-03-25 18:32.41 ---> 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 (8424 kB/s)
- Reading package lists...
2026-03-25 18:32.41 ---> using "a75782a571df4fc8f8933e94c681af881015ee87cdd4c652f8ae9af1d8cfad37" from cache
/home/opam: (run (shell "opam pin add -k version -yn ocaml-compiler.5.4.0 5.4.0"))
ocaml-compiler is now pinned to version 5.4.0
2026-03-25 18:32.41 ---> using "60e129f7398974b5fa5afc8f56ec09bd24a9182f5e9834464bfc959db1aa6b14" 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;\
\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' && 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 8 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-base-compiler 5.4.0 (pinned) [uses ocaml-compiler]
- recompile ocaml-compiler 5.4.0 (pinned)
- recompile ocaml-config 3 [uses ocaml-base-compiler]
- recompile opam-depext 1.2.3 [uses ocaml]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocaml-compiler.5.4.0 (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
-> installed ocaml-base-compiler.5.4.0
-> 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
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 18:32.41 ---> using "efbc92fc0c607605c8bb33f9e4c8fe340a48c67e14d2f61592db8a4edc5c0b15" from cache
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ppx_minidebug.2.4.0;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'ppx_minidebug.2.4.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
ppx_minidebug.2.4.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 38 packages
- install astring 0.8.5 [required by mdx]
- install base v0.17.3 [required by ppx_sexp_conv]
- 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, ppx_deriving]
- install csexp 1.5.2 [required by mdx]
- install dune 3.22.0 [required by ppx_minidebug]
- install dune-configurator 3.22.0 [required by base]
- install fmt 0.11.0 [required by mdx]
- install logs 0.10.0 [required by mdx]
- install mdx 2.5.1 [required by ppx_minidebug]
- install mtime 2.1.0 [required by ppx_minidebug]
- install ocaml-compiler-libs v0.17.0 [required by ppxlib]
- install ocaml-version 4.0.4 [required by mdx]
- install ocaml_intrinsics_kernel v0.17.1 [required by base]
- install ocamlbuild 0.16.1 [required by mtime, ptime]
- install ocamlfind 1.9.8 [required by ppx_deriving, mdx, mtime, ptime]
- install ppx_derivers 1.2.1 [required by ppx_deriving]
- install ppx_deriving 6.1.1 [required by ppx_minidebug]
- install ppx_minidebug 2.4.0
- install ppx_sexp_conv v0.17.1 [required by ppx_minidebug]
- install ppxlib 0.37.0 [required by ppx_minidebug]
- install ppxlib_jane v0.17.4 [required by ppx_sexp_conv]
- install printbox 0.12 [required by ppx_minidebug]
- install printbox-html 0.12 [required by ppx_minidebug]
- install printbox-md 0.12 [required by ppx_minidebug]
- install printbox-text 0.12 [required by ppx_minidebug]
- install ptime 1.2.0 [required by ppx_minidebug]
- install re 1.14.0 [required by ppx_minidebug]
- install result 1.5 [required by mdx]
- install seq base [required by tyxml]
- install sexplib0 v0.17.0 [required by ppx_minidebug]
- install stdlib-shims 0.3.0 [required by ppxlib]
- install thread-local-storage 0.2 [required by ppx_minidebug]
- install topkg 1.1.1 [required by mtime, ptime]
- install tyxml 4.6.0 [required by printbox-html]
- install uucp 17.0.0 [required by printbox-text]
- install uutf 1.0.4 [required by tyxml, printbox-text]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5 (cached)
-> retrieved base.v0.17.3 (cached)
-> retrieved camlp-streams.5.0.1 (cached)
-> retrieved cmdliner.2.1.0 (cached)
-> retrieved cppo.1.8.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved dune.3.22.0, dune-configurator.3.22.0 (cached)
-> retrieved fmt.0.11.0 (cached)
-> retrieved logs.0.10.0 (cached)
-> retrieved mdx.2.5.1 (cached)
-> retrieved mtime.2.1.0 (cached)
-> retrieved ocaml-compiler-libs.v0.17.0 (cached)
-> retrieved ocaml-version.4.0.4 (cached)
-> retrieved ocaml_intrinsics_kernel.v0.17.1 (cached)
-> installed cmdliner.2.1.0
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ppx_deriving.6.1.1 (cached)
-> retrieved ppx_minidebug.2.4.0 (cached)
-> retrieved ppx_sexp_conv.v0.17.1 (cached)
-> retrieved ppxlib.0.37.0 (cached)
-> retrieved ppxlib_jane.v0.17.4 (cached)
-> retrieved printbox.0.12, printbox-html.0.12, printbox-md.0.12, printbox-text.0.12 (cached)
-> retrieved ptime.1.2.0 (cached)
-> retrieved re.1.14.0 (cached)
-> retrieved result.1.5 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved sexplib0.v0.17.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved thread-local-storage.0.2 (cached)
-> retrieved topkg.1.1.1 (cached)
-> retrieved tyxml.4.6.0 (cached)
-> retrieved uucp.17.0.0 (cached)
-> retrieved uutf.1.0.4 (cached)
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed mtime.2.1.0
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed ptime.1.2.0
-> installed astring.0.8.5
-> installed logs.0.10.0
-> installed dune.3.22.0
-> installed ppx_derivers.1.2.1
-> installed csexp.1.5.2
-> installed camlp-streams.5.0.1
-> installed cppo.1.8.0
-> installed ocaml-compiler-libs.v0.17.0
-> installed ocaml-version.4.0.4
-> installed ocaml_intrinsics_kernel.v0.17.1
-> installed printbox.0.12
-> installed re.1.14.0
-> installed result.1.5
-> installed sexplib0.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed thread-local-storage.0.2
-> installed dune-configurator.3.22.0
-> installed mdx.2.5.1
-> installed tyxml.4.6.0
-> installed printbox-html.0.12
-> installed base.v0.17.3
-> installed uucp.17.0.0
-> installed printbox-text.0.12
-> installed printbox-md.0.12
-> installed ppxlib.0.37.0
-> installed ppxlib_jane.v0.17.4
-> installed ppx_deriving.6.1.1
-> installed ppx_sexp_conv.v0.17.1
-> installed ppx_minidebug.2.4.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-25 18:34.29 ---> saved as "ce6b07721f35da5dc626775dd4647fb8e5a6c6da03d14e6bf77f1105007d2dbb"
/home/opam: (run (network host)
(shell "(opam reinstall --with-test ppx_minidebug.2.4.0) || true"))
The following actions will be performed:
=== recompile 1 package
- recompile ppx_minidebug 2.4.0
=== install 15 packages
- install jane-street-headers v0.17.0 [required by time_now]
- install jst-config v0.17.0 [required by time_now]
- 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_enumerate v0.17.0 [required by ppx_base]
- install ppx_expect v0.17.3 [required by ppx_minidebug]
- 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 stdio v0.17.0 [required by ppx_expect]
- install time_now v0.17.0 [required by ppx_inline_test]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved jane-street-headers.v0.17.0 (https://opam.ocaml.org/cache)
-> retrieved jst-config.v0.17.0 (https://opam.ocaml.org/cache)
-> retrieved ppx_assert.v0.17.0 (https://opam.ocaml.org/cache)
-> installed jane-street-headers.v0.17.0
-> retrieved ppx_base.v0.17.0 (https://opam.ocaml.org/cache)
-> retrieved ppx_cold.v0.17.0 (https://opam.ocaml.org/cache)
-> retrieved ppx_compare.v0.17.0 (https://opam.ocaml.org/cache)
-> retrieved ppx_enumerate.v0.17.0 (https://opam.ocaml.org/cache)
-> retrieved ppx_expect.v0.17.3 (https://opam.ocaml.org/cache)
-> retrieved ppx_globalize.v0.17.2 (https://opam.ocaml.org/cache)
-> retrieved ppx_hash.v0.17.0 (https://opam.ocaml.org/cache)
-> retrieved ppx_here.v0.17.0 (https://opam.ocaml.org/cache)
-> retrieved ppx_inline_test.v0.17.1 (https://opam.ocaml.org/cache)
-> retrieved ppx_minidebug.2.4.0 (https://opam.ocaml.org/cache)
-> retrieved ppx_optcomp.v0.17.1 (https://opam.ocaml.org/cache)
-> retrieved stdio.v0.17.0 (https://opam.ocaml.org/cache)
-> retrieved time_now.v0.17.0 (https://opam.ocaml.org/cache)
-> installed stdio.v0.17.0
-> installed ppx_cold.v0.17.0
-> installed ppx_enumerate.v0.17.0
-> installed ppx_here.v0.17.0
-> installed ppx_compare.v0.17.0
-> removed ppx_minidebug.2.4.0
-> installed ppx_globalize.v0.17.2
-> installed ppx_optcomp.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
[ERROR] The compilation of ppx_minidebug.2.4.0 failed at "dune build -p ppx_minidebug -j 71 @install @runtest".
#=== ERROR while compiling ppx_minidebug.2.4.0 ================================#
# context 2.5.0 | linux/x86_64 | ocaml-base-compiler.5.4.0 | file:///home/opam/opam-repository
# path ~/.opam/5.4/.opam-switch/build/ppx_minidebug.2.4.0
# command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p ppx_minidebug -j 71 @install @runtest
# exit-code 1
# env-file ~/.opam/log/ppx_minidebug-7-19d659.env
# output-file ~/.opam/log/ppx_minidebug-7-19d659.out
### output ###
# File "test/test_debug_sexp.expected.ml", line 1, characters 0-0:
# /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/test/test_debug_sexp.expected.ml _build/default/test/test_debug_sexp.actual.ml
# diff --git a/_build/default/test/test_debug_sexp.expected.ml b/_build/default/test/test_debug_sexp.actual.ml
# index 80c432f..bb4c0d5 100644
# --- a/_build/default/test/test_debug_sexp.expected.ml
# +++ b/_build/default/test/test_debug_sexp.actual.ml
# @@ -10,7 +10,7 @@ let foo (x : int) =
# ~entry_id:__entry_id ~log_level:1 `Debug;
# Debug_runtime.log_value_sexp ?descr:(Some "x") ~entry_id:__entry_id
# ~log_level:1 ~is_result:false (lazy (([%sexp_of : int]) x)));
# - (match let y =
# + (match let y : int =
# let __entry_id = Debug_runtime.get_entry_id () in
# ();
# Debug_runtime.open_log ~fname:"test_debug_sexp.ml" ~start_lnum:10
# @@ -54,7 +54,7 @@ let bar (x : t) =
# ~entry_id:__entry_id ~log_level:1 `Debug;
# Debug_runtime.log_value_sexp ?descr:(Some "x") ~entry_id:__entry_id
# ~log_level:1 ~is_result:false (lazy (([%sexp_of : t]) x)));
# - (match let y =
# + (match let y : int =
# let __entry_id = Debug_runtime.get_entry_id () in
# ();
# Debug_runtime.open_log ~fname:"test_debug_sexp.ml" ~start_lnum:18
# @@ -95,7 +95,7 @@ let baz (x : t) =
# ~entry_id:__entry_id ~log_level:1 `Debug;
# Debug_runtime.log_value_sexp ?descr:(Some "x") ~entry_id:__entry_id
# ~log_level:1 ~is_result:false (lazy (([%sexp_of : t]) x)));
# - (match let (y, z) as _yz =
# + (match let ((y, z) as _yz) : (int * int) =
# let __entry_id = Debug_runtime.get_entry_id () in
# ();
# Debug_runtime.open_log ~fname:"test_debug_sexp.ml" ~start_lnum:24
# @@ -114,7 +114,7 @@ let baz (x : t) =
# (Debug_runtime.close_log ~fname:"test_debug_sexp.ml"
# ~start_lnum:24 ~entry_id:__entry_id;
# raise e)) in
# - let (u, w) as _uw =
# + let ((u, w) as _uw) : (int * int) =
# let __entry_id = Debug_runtime.get_entry_id () in
# ();
# Debug_runtime.open_log ~fname:"test_debug_sexp.ml" ~start_lnum:25
# @@ -155,7 +155,7 @@ let lab ~x:(x : int) =
# ~entry_id:__entry_id ~log_level:1 `Debug;
# Debug_runtime.log_value_sexp ?descr:(Some "x") ~entry_id:__entry_id
# ~log_level:1 ~is_result:false (lazy (([%sexp_of : int]) x)));
# - (match let y =
# + (match let y : int =
# let __entry_id = Debug_runtime.get_entry_id () in
# ();
# Debug_runtime.open_log ~fname:"test_debug_sexp.ml" ~start_lnum:31
# @@ -206,7 +206,7 @@ let rec loop (depth : int) (x : t) =
# loop (depth + 1)
# { first = (x.second + 1); second = (x.first / 2) }
# else
# - (let y =
# + (let y : int =
# let __entry_id = Debug_runtime.get_entry_id () in
# ();
# Debug_runtime.open_log ~fname:"test_debug_sexp.ml"
# @@ -227,7 +227,7 @@ let rec loop (depth : int) (x : t) =
# (Debug_runtime.close_log ~fname:"test_debug_sexp.ml"
# ~start_lnum:40 ~entry_id:__entry_id;
# raise e)) in
# - let z =
# + let z : int =
# let __entry_id = Debug_runtime.get_entry_id () in
# ();
# Debug_runtime.open_log ~fname:"test_debug_sexp.ml"
# File "test/test_debug_pp.expected.ml", line 1, characters 0-0:
# /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/test/test_debug_pp.expected.ml _build/default/test/test_debug_pp.actual.ml
# diff --git a/_build/default/test/test_debug_pp.expected.ml b/_build/default/test/test_debug_pp.actual.ml
# index 315c5bb..dd128a7 100644
# --- a/_build/default/test/test_debug_pp.expected.ml
# +++ b/_build/default/test/test_debug_pp.actual.ml
# @@ -13,7 +13,7 @@ let bar (x : t) =
# ~entry_id:__entry_id ~log_level:1 `Debug;
# Debug_runtime.log_value_pp ?descr:(Some "x") ~entry_id:__entry_id
# ~log_level:1 ~pp ~is_result:false (lazy x));
# - (match let y =
# + (match let y : num =
# let __entry_id = Debug_runtime.get_entry_id () in
# ();
# Debug_runtime.open_log ~fname:"test_debug_pp.ml" ~start_lnum:8
# @@ -55,7 +55,7 @@ let baz (x : t) =
# ~entry_id:__entry_id ~log_level:1 `Debug;
# Debug_runtime.log_value_pp ?descr:(Some "x") ~entry_id:__entry_id
# ~log_level:1 ~pp ~is_result:false (lazy x));
# - (match let { first = y; second = z } as _yz =
# + (match let ({ first = y; second = z } as _yz) : t =
# let __entry_id = Debug_runtime.get_entry_id () in
# ();
# Debug_runtime.open_log ~fname:"test_debug_pp.ml" ~start_lnum:14
# @@ -107,7 +107,7 @@ let rec loop (depth : num) (x : t) =
# loop (depth + 1)
# { first = (x.second + 1); second = (x.first / 2) }
# else
# - (let y =
# + (let y : num =
# let __entry_id = Debug_runtime.get_entry_id () in
# ();
# Debug_runtime.open_log ~fname:"test_debug_pp.ml"
# @@ -130,7 +130,7 @@ let rec loop (depth : num) (x : t) =
# (Debug_runtime.close_log ~fname:"test_debug_pp.ml"
# ~start_lnum:23 ~entry_id:__entry_id;
# raise e)) in
# - let z =
# + let z : num =
# let __entry_id = Debug_runtime.get_entry_id () in
# ();
# Debug_runtime.open_log ~fname:"test_debug_pp.ml"
# File "test/test_debug_show.expected.ml", line 1, characters 0-0:
# /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/test/test_debug_show.expected.ml _build/default/test/test_debug_show.actual.ml
# diff --git a/_build/default/test/test_debug_show.expected.ml b/_build/default/test/test_debug_show.actual.ml
# index 2a4ee88..4fdc6cb 100644
# --- a/_build/default/test/test_debug_show.expected.ml
# +++ b/_build/default/test/test_debug_show.actual.ml
# @@ -9,7 +9,7 @@ let foo (x : int) =
# ~entry_id:__entry_id ~log_level:1 `Debug;
# Debug_runtime.log_value_show ?descr:(Some "x") ~entry_id:__entry_id
# ~log_level:1 ~is_result:false (lazy (([%show : int]) x)));
# - (match let y =
# + (match let y : int =
# let __entry_id = Debug_runtime.get_entry_id () in
# ();
# Debug_runtime.open_log ~fname:"test_debug_show.ml"
# @@ -54,7 +54,7 @@ let bar (x : t) =
# ~entry_id:__entry_id ~log_level:1 `Debug;
# Debug_runtime.log_value_show ?descr:(Some "x") ~entry_id:__entry_id
# ~log_level:1 ~is_result:false (lazy (([%show : t]) x)));
# - (match let y =
# + (match let y : int =
# let __entry_id = Debug_runtime.get_entry_id () in
# ();
# Debug_runtime.open_log ~fname:"test_debug_show.ml"
# @@ -96,7 +96,7 @@ let baz (x : t) =
# ~entry_id:__entry_id ~log_level:1 `Debug;
# Debug_runtime.log_value_show ?descr:(Some "x") ~entry_id:__entry_id
# ~log_level:1 ~is_result:false (lazy (([%show : t]) x)));
# - (match let (y, z) as _yz =
# + (match let ((y, z) as _yz) : (int * int) =
# let __entry_id = Debug_runtime.get_entry_id () in
# ();
# Debug_runtime.open_log ~fname:"test_debug_show.ml"
# @@ -149,7 +149,7 @@ let rec loop (depth : int) (x : t) =
# loop (depth + 1)
# { first = (x.second + 1); second = (x.first / 2) }
# else
# - (let y =
# + (let y : int =
# let __entry_id = Debug_runtime.get_entry_id () in
# ();
# Debug_runtime.open_log ~fname:"test_debug_show.ml"
# @@ -172,7 +172,7 @@ let rec loop (depth : int) (x : t) =
# (Debug_runtime.close_log ~fname:"test_debug_show.ml"
# ~start_lnum:28 ~entry_id:__entry_id;
# raise e)) in
# - let z =
# + let z : int =
# let __entry_id = Debug_runtime.get_entry_id () in
# ();
# Debug_runtime.open_log ~fname:"test_debug_show.ml"
# File "test/test_debug_interrupts.expected.ml", line 1, characters 0-0:
# /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/test/test_debug_interrupts.expected.ml _build/default/test/test_debug_interrupts.actual.ml
# diff --git a/_build/default/test/test_debug_interrupts.expected.ml b/_build/default/test/test_debug_interrupts.actual.ml
# index 33f9d5c..4395698 100644
# --- a/_build/default/test/test_debug_interrupts.expected.ml
# +++ b/_build/default/test/test_debug_interrupts.actual.ml
# @@ -29,7 +29,7 @@ let rec loop_exceeded (x : int) =
# ~start_lnum:8 ~entry_id:__entry_id;
# failwith "ppx_minidebug: max_nesting_depth exceeded")
# else
# - (match let z =
# + (match let z : int =
# let __entry_id = Debug_runtime.get_entry_id () in
# ();
# if Debug_runtime.exceeds_max_children ()
# @@ -141,7 +141,7 @@ let bar () =
# failwith
# "ppx_minidebug: max_nesting_depth exceeded")
# else
# - (match let _baz =
# + (match let _baz : int =
# let __entry_id =
# Debug_runtime.get_entry_id () in
# ();
# File "test/test_debug_log_nothing.expected.ml", line 1, characters 0-0:
# /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/test/test_debug_log_nothing.expected.ml _build/default/test/test_debug_log_nothing.actual.ml
# diff --git a/_build/default/test/test_debug_log_nothing.expected.ml b/_build/default/test/test_debug_log_nothing.actual.ml
# index 6c38ebb..69024dd 100644
# --- a/_build/default/test/test_debug_log_nothing.expected.ml
# +++ b/_build/default/test/test_debug_log_nothing.actual.ml
# @@ -2,10 +2,10 @@ module Debug_runtime = (val
# Minidebug_runtime.debug_flushing ~filename:"debugger_show_log_nothing" ())
# ;;()
# let rec loop_exceeded (x : int) =
# - (let z = (); (x - 1) / 2 in
# + (let z : int = (); (x - 1) / 2 in
# if x <= 0 then 0 else z + (loop_exceeded (z + (x / 2))) : int)
# let () =
# try print_endline @@ (Int.to_string @@ (loop_exceeded 17))
# with | _ -> print_endline "Raised exception."
# -let bar () = (for i = 0 to 100 do let _baz = i * 2 in () done : unit)
# +let bar () = (for i = 0 to 100 do let _baz : int = i * 2 in () done : unit)
# let () = try bar () with | _ -> print_endline "Raised exception."
# File "test/test_debug_log_prefixed.expected.ml", line 1, characters 0-0:
# /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/test/test_debug_log_prefixed.expected.ml _build/default/test/test_debug_log_prefixed.actual.ml
# diff --git a/_build/default/test/test_debug_log_prefixed.expected.ml b/_build/default/test/test_debug_log_prefixed.actual.ml
# index 054c7dc..fd8be63 100644
# --- a/_build/default/test/test_debug_log_prefixed.expected.ml
# +++ b/_build/default/test/test_debug_log_prefixed.actual.ml
# @@ -9,7 +9,7 @@ let rec loop_exceeded (x : int) =
# ~start_lnum:7 ~start_colnum:33 ~end_lnum:13 ~end_colnum:55
# ~message:"loop_exceeded" ~entry_id:__entry_id ~log_level:1 `Diagn;
# ());
# - (match let z =
# + (match let z : int =
# Debug_runtime.log_value_show ?descr:None ~entry_id:__entry_id
# ~log_level:2 ~is_result:false
# (lazy (([%show : (string * int)]) ("inside loop", (x : int))));
# @@ -51,7 +51,7 @@ let bar () =
# ~start_colnum:6 ~end_lnum:21 ~end_colnum:7
# ~message:"<for i>" ~entry_id:__entry_id ~log_level:1
# `Track;
# - (match let _baz =
# + (match let _baz : int =
# let __entry_id = Debug_runtime.get_entry_id () in
# ();
# Debug_runtime.open_log
# File "test/test_debug_log_level_consistency.expected.ml", line 1, characters 0-0:
# /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/test/test_debug_log_level_consistency.expected.ml _build/default/test/test_debug_log_level_consistency.actual.ml
# diff --git a/_build/default/test/test_debug_log_level_consistency.expected.ml b/_build/default/test/test_debug_log_level_consistency.actual.ml
# index d984a8e..8ec8f16 100644
# --- a/_build/default/test/test_debug_log_level_consistency.expected.ml
# +++ b/_build/default/test/test_debug_log_level_consistency.actual.ml
# @@ -23,7 +23,7 @@ let foo (x : int) =
# ~message:"foo" ~entry_id:__entry_id ~log_level:1 `Debug;
# Debug_runtime.log_value_show ?descr:(Some "x") ~entry_id:__entry_id
# ~log_level:1 ~is_result:false (lazy (([%show : int]) x)));
# - (match let y =
# + (match let y : int =
# let __entry_id = Debug_runtime.get_entry_id () in
# ();
# Debug_runtime.open_log
# (cd _build/default/test && ./test_debug_generate_nothing.exe)
# 64
# (cd _build/default/test && ./test_debug_log_prefixed.exe)
# 9
# (cd _build/default/test && ./test_debug_interrupts.exe)
# Raised exception.
# Raised exception.
# (cd _build/default/test && ./test_debug_multithread_files.exe)
# Starting multi-threaded test...
# Multi-threaded test completed successfully.
# (cd _build/default/test && ./test_debug_log_nothing.exe)
# 64
# (cd _build/default/test && ./test_debug_show.exe)
# hello
# 3015
# (cd _build/default/doc && ./sync_to_md.exe)
# level 2level 3
# (cd _build/default/test && ./test_debug_large_diffs.exe)
# Starting test_debug_large_diffs...
# About to run debug_run1...
# Running debug_run1...
# debug_run1 completed.
# About to run debug_run2...
# Running debug_run2...
# debug_run2 completed.
# About to run debug_run3...
# Running debug_run3...
# debug_run3 completed.
# All debug runs completed successfully.
# (cd _build/.sandbox/15961c6f08fa17f99edb7637072800d9/default/test && .test_inline_tests.inline-tests/inline-test-runner.exe inline-test-runner test_inline_tests -partition '├─"test/test_expect_test.ml":6:15' -source-tree-root .. -diff-cmd -)
#
# BEGIN DEBUG SESSION baz-1
# baz = 8
# ├─"test/test_expect_test.ml":6:15
# ├─baz-1 <function -- branch 1> :: (y, [])
# └─y = 4
# 8
# (cd _build/.sandbox/15961c6f08fa17f99edb7637072800d9/default/test && .test_inline_tests.inline-tests/inline-test-runner.exe inline-test-runner test_inline_tests -partition 'baz = 8' -source-tree-root .. -diff-cmd -)
#
# BEGIN DEBUG SESSION baz-1
# baz = 8
# ├─"test/test_expect_test.ml":6:15
# ├─baz-1 <function -- branch 1> :: (y, [])
# └─y = 4
# 8
# (cd _build/.sandbox/15961c6f08fa17f99edb7637072800d9/default/test && .test_inline_tests.inline-tests/inline-test-runner.exe inline-test-runner test_inline_tests -partition 'BEGIN DEBUG SESSION baz-1 ' -source-tree-root .. -diff-cmd -)
#
# BEGIN DEBUG SESSION baz-1
# baz = 8
# ├─"test/test_expect_test.ml":6:15
# ├─baz-1 <function -- branch 1> :: (y, [])
# └─y = 4
# 8
# (cd _build/.sandbox/15961c6f08fa17f99edb7637072800d9/default/test && .test_inline_tests.inline-tests/inline-test-runner.exe inline-test-runner test_inline_tests -partition '' -source-tree-root .. -diff-cmd -)
#
# BEGIN DEBUG SESSION baz-1
# baz = 8
# ├─"test/test_expect_test.ml":6:15
# ├─baz-1 <function -- branch 1> :: (y, [])
# └─y = 4
# 8
# (cd _build/.sandbox/15961c6f08fa17f99edb7637072800d9/default/test && .test_inline_tests.inline-tests/inline-test-runner.exe inline-test-runner test_inline_tests -partition '└─y = 4' -source-tree-root .. -diff-cmd -)
#
# BEGIN DEBUG SESSION baz-1
# baz = 8
# ├─"test/test_expect_test.ml":6:15
# ├─baz-1 <function -- branch 1> :: (y, [])
# └─y = 4
# 8
# (cd _build/.sandbox/15961c6f08fa17f99edb7637072800d9/default/test && .test_inline_tests.inline-tests/inline-test-runner.exe inline-test-runner test_inline_tests -partition '├─baz-1 <function -- branch 1> :: (y, [])' -source-tree-root .. -diff-cmd -)
#
# BEGIN DEBUG SESSION baz-1
# baz = 8
# ├─"test/test_expect_test.ml":6:15
# ├─baz-1 <function -- branch 1> :: (y, [])
# └─y = 4
# 8
# (cd _build/.sandbox/15961c6f08fa17f99edb7637072800d9/default/test && .test_inline_tests.inline-tests/inline-test-runner.exe inline-test-runner test_inline_tests -partition 8 -source-tree-root .. -diff-cmd -)
#
# BEGIN DEBUG SESSION baz-1
# baz = 8
# ├─"test/test_expect_test.ml":6:15
# ├─baz-1 <function -- branch 1> :: (y, [])
# └─y = 4
# 8
# (cd _build/.sandbox/15961c6f08fa17f99edb7637072800d9/default/test && .test_inline_tests.inline-tests/inline-test-runner.exe inline-test-runner test_inline_tests -partition test_expect_test.ml -source-tree-root .. -diff-cmd -)
#
# BEGIN DEBUG SESSION baz-1
# baz = 8
# ├─"test/test_expect_test.ml":6:15
# ├─baz-1 <function -- branch 1> :: (y, [])
# └─y = 4
# 8
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build ppx_minidebug 2.4.0
+-
+- The following changes have been performed
| - remove ppx_minidebug 2.4.0
| - install jane-street-headers v0.17.0
| - install jst-config v0.17.0
| - install ppx_assert v0.17.0
| - install ppx_base v0.17.0
| - install ppx_cold v0.17.0
| - install ppx_compare v0.17.0
| - install ppx_enumerate v0.17.0
| - install ppx_expect v0.17.3
| - install ppx_globalize v0.17.2
| - install ppx_hash v0.17.0
| - install ppx_here v0.17.0
| - install ppx_inline_test v0.17.1
| - install ppx_optcomp v0.17.1
| - install stdio v0.17.0
| - install time_now v0.17.0
+-
# 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-20260325183430.export"
Or you can retry to install your package selection with:
/usr/bin/opam install --restore
2026-03-25 18:35.19 ---> saved as "2d6977205ff56dc88930be95e01071567b3877edb95f783b470c654cc54a8d16"
/home/opam: (run (shell "opam reinstall --with-test --verbose ppx_minidebug.2.4.0;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'ppx_minidebug.2.4.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
ppx_minidebug.2.4.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 1 package
- install ppx_minidebug 2.4.0
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 1/3: [ppx_minidebug.2.4.0: extract]
-> retrieved ppx_minidebug.2.4.0 (cached)
Processing 2/3: [ppx_minidebug: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "ppx_minidebug" "-j" "71" "@install" "@runtest" (CWD=/home/opam/.opam/5.4/.opam-switch/build/ppx_minidebug.2.4.0)
- File "test/test_debug_pp.expected.ml", line 1, characters 0-0:
- /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/test/test_debug_pp.expected.ml _build/default/test/test_debug_pp.actual.ml
- diff --git a/_build/default/test/test_debug_pp.expected.ml b/_build/default/test/test_debug_pp.actual.ml
- index 315c5bb..dd128a7 100644
- --- a/_build/default/test/test_debug_pp.expected.ml
- +++ b/_build/default/test/test_debug_pp.actual.ml
- @@ -13,7 +13,7 @@ let bar (x : t) =
- ~entry_id:__entry_id ~log_level:1 `Debug;
- Debug_runtime.log_value_pp ?descr:(Some "x") ~entry_id:__entry_id
- ~log_level:1 ~pp ~is_result:false (lazy x));
- - (match let y =
- + (match let y : num =
- let __entry_id = Debug_runtime.get_entry_id () in
- ();
- Debug_runtime.open_log ~fname:"test_debug_pp.ml" ~start_lnum:8
- @@ -55,7 +55,7 @@ let baz (x : t) =
- ~entry_id:__entry_id ~log_level:1 `Debug;
- Debug_runtime.log_value_pp ?descr:(Some "x") ~entry_id:__entry_id
- ~log_level:1 ~pp ~is_result:false (lazy x));
- - (match let { first = y; second = z } as _yz =
- + (match let ({ first = y; second = z } as _yz) : t =
- let __entry_id = Debug_runtime.get_entry_id () in
- ();
- Debug_runtime.open_log ~fname:"test_debug_pp.ml" ~start_lnum:14
- @@ -107,7 +107,7 @@ let rec loop (depth : num) (x : t) =
- loop (depth + 1)
- { first = (x.second + 1); second = (x.first / 2) }
- else
- - (let y =
- + (let y : num =
- let __entry_id = Debug_runtime.get_entry_id () in
- ();
- Debug_runtime.open_log ~fname:"test_debug_pp.ml"
- @@ -130,7 +130,7 @@ let rec loop (depth : num) (x : t) =
- (Debug_runtime.close_log ~fname:"test_debug_pp.ml"
- ~start_lnum:23 ~entry_id:__entry_id;
- raise e)) in
- - let z =
- + let z : num =
- let __entry_id = Debug_runtime.get_entry_id () in
- ();
- Debug_runtime.open_log ~fname:"test_debug_pp.ml"
- File "test/test_debug_sexp.expected.ml", line 1, characters 0-0:
- /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/test/test_debug_sexp.expected.ml _build/default/test/test_debug_sexp.actual.ml
- diff --git a/_build/default/test/test_debug_sexp.expected.ml b/_build/default/test/test_debug_sexp.actual.ml
- index 80c432f..bb4c0d5 100644
- --- a/_build/default/test/test_debug_sexp.expected.ml
- +++ b/_build/default/test/test_debug_sexp.actual.ml
- @@ -10,7 +10,7 @@ let foo (x : int) =
- ~entry_id:__entry_id ~log_level:1 `Debug;
- Debug_runtime.log_value_sexp ?descr:(Some "x") ~entry_id:__entry_id
- ~log_level:1 ~is_result:false (lazy (([%sexp_of : int]) x)));
- - (match let y =
- + (match let y : int =
- let __entry_id = Debug_runtime.get_entry_id () in
- ();
- Debug_runtime.open_log ~fname:"test_debug_sexp.ml" ~start_lnum:10
- @@ -54,7 +54,7 @@ let bar (x : t) =
- ~entry_id:__entry_id ~log_level:1 `Debug;
- Debug_runtime.log_value_sexp ?descr:(Some "x") ~entry_id:__entry_id
- ~log_level:1 ~is_result:false (lazy (([%sexp_of : t]) x)));
- - (match let y =
- + (match let y : int =
- let __entry_id = Debug_runtime.get_entry_id () in
- ();
- Debug_runtime.open_log ~fname:"test_debug_sexp.ml" ~start_lnum:18
- @@ -95,7 +95,7 @@ let baz (x : t) =
- ~entry_id:__entry_id ~log_level:1 `Debug;
- Debug_runtime.log_value_sexp ?descr:(Some "x") ~entry_id:__entry_id
- ~log_level:1 ~is_result:false (lazy (([%sexp_of : t]) x)));
- - (match let (y, z) as _yz =
- + (match let ((y, z) as _yz) : (int * int) =
- let __entry_id = Debug_runtime.get_entry_id () in
- ();
- Debug_runtime.open_log ~fname:"test_debug_sexp.ml" ~start_lnum:24
- @@ -114,7 +114,7 @@ let baz (x : t) =
- (Debug_runtime.close_log ~fname:"test_debug_sexp.ml"
- ~start_lnum:24 ~entry_id:__entry_id;
- raise e)) in
- - let (u, w) as _uw =
- + let ((u, w) as _uw) : (int * int) =
- let __entry_id = Debug_runtime.get_entry_id () in
- ();
- Debug_runtime.open_log ~fname:"test_debug_sexp.ml" ~start_lnum:25
- @@ -155,7 +155,7 @@ let lab ~x:(x : int) =
- ~entry_id:__entry_id ~log_level:1 `Debug;
- Debug_runtime.log_value_sexp ?descr:(Some "x") ~entry_id:__entry_id
- ~log_level:1 ~is_result:false (lazy (([%sexp_of : int]) x)));
- - (match let y =
- + (match let y : int =
- let __entry_id = Debug_runtime.get_entry_id () in
- ();
- Debug_runtime.open_log ~fname:"test_debug_sexp.ml" ~start_lnum:31
- @@ -206,7 +206,7 @@ let rec loop (depth : int) (x : t) =
- loop (depth + 1)
- { first = (x.second + 1); second = (x.first / 2) }
- else
- - (let y =
- + (let y : int =
- let __entry_id = Debug_runtime.get_entry_id () in
- ();
- Debug_runtime.open_log ~fname:"test_debug_sexp.ml"
- @@ -227,7 +227,7 @@ let rec loop (depth : int) (x : t) =
- (Debug_runtime.close_log ~fname:"test_debug_sexp.ml"
- ~start_lnum:40 ~entry_id:__entry_id;
- raise e)) in
- - let z =
- + let z : int =
- let __entry_id = Debug_runtime.get_entry_id () in
- ();
- Debug_runtime.open_log ~fname:"test_debug_sexp.ml"
- File "test/test_debug_show.expected.ml", line 1, characters 0-0:
- /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/test/test_debug_show.expected.ml _build/default/test/test_debug_show.actual.ml
- diff --git a/_build/default/test/test_debug_show.expected.ml b/_build/default/test/test_debug_show.actual.ml
- index 2a4ee88..4fdc6cb 100644
- --- a/_build/default/test/test_debug_show.expected.ml
- +++ b/_build/default/test/test_debug_show.actual.ml
- @@ -9,7 +9,7 @@ let foo (x : int) =
- ~entry_id:__entry_id ~log_level:1 `Debug;
- Debug_runtime.log_value_show ?descr:(Some "x") ~entry_id:__entry_id
- ~log_level:1 ~is_result:false (lazy (([%show : int]) x)));
- - (match let y =
- + (match let y : int =
- let __entry_id = Debug_runtime.get_entry_id () in
- ();
- Debug_runtime.open_log ~fname:"test_debug_show.ml"
- @@ -54,7 +54,7 @@ let bar (x : t) =
- ~entry_id:__entry_id ~log_level:1 `Debug;
- Debug_runtime.log_value_show ?descr:(Some "x") ~entry_id:__entry_id
- ~log_level:1 ~is_result:false (lazy (([%show : t]) x)));
- - (match let y =
- + (match let y : int =
- let __entry_id = Debug_runtime.get_entry_id () in
- ();
- Debug_runtime.open_log ~fname:"test_debug_show.ml"
- @@ -96,7 +96,7 @@ let baz (x : t) =
- ~entry_id:__entry_id ~log_level:1 `Debug;
- Debug_runtime.log_value_show ?descr:(Some "x") ~entry_id:__entry_id
- ~log_level:1 ~is_result:false (lazy (([%show : t]) x)));
- - (match let (y, z) as _yz =
- + (match let ((y, z) as _yz) : (int * int) =
- let __entry_id = Debug_runtime.get_entry_id () in
- ();
- Debug_runtime.open_log ~fname:"test_debug_show.ml"
- @@ -149,7 +149,7 @@ let rec loop (depth : int) (x : t) =
- loop (depth + 1)
- { first = (x.second + 1); second = (x.first / 2) }
- else
- - (let y =
- + (let y : int =
- let __entry_id = Debug_runtime.get_entry_id () in
- ();
- Debug_runtime.open_log ~fname:"test_debug_show.ml"
- @@ -172,7 +172,7 @@ let rec loop (depth : int) (x : t) =
- (Debug_runtime.close_log ~fname:"test_debug_show.ml"
- ~start_lnum:28 ~entry_id:__entry_id;
- raise e)) in
- - let z =
- + let z : int =
- let __entry_id = Debug_runtime.get_entry_id () in
- ();
- Debug_runtime.open_log ~fname:"test_debug_show.ml"
- File "test/test_debug_log_level_consistency.expected.ml", line 1, characters 0-0:
- /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/test/test_debug_log_level_consistency.expected.ml _build/default/test/test_debug_log_level_consistency.actual.ml
- diff --git a/_build/default/test/test_debug_log_level_consistency.expected.ml b/_build/default/test/test_debug_log_level_consistency.actual.ml
- index d984a8e..8ec8f16 100644
- --- a/_build/default/test/test_debug_log_level_consistency.expected.ml
- +++ b/_build/default/test/test_debug_log_level_consistency.actual.ml
- @@ -23,7 +23,7 @@ let foo (x : int) =
- ~message:"foo" ~entry_id:__entry_id ~log_level:1 `Debug;
- Debug_runtime.log_value_show ?descr:(Some "x") ~entry_id:__entry_id
- ~log_level:1 ~is_result:false (lazy (([%show : int]) x)));
- - (match let y =
- + (match let y : int =
- let __entry_id = Debug_runtime.get_entry_id () in
- ();
- Debug_runtime.open_log
- File "test/test_debug_log_prefixed.expected.ml", line 1, characters 0-0:
- /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/test/test_debug_log_prefixed.expected.ml _build/default/test/test_debug_log_prefixed.actual.ml
- diff --git a/_build/default/test/test_debug_log_prefixed.expected.ml b/_build/default/test/test_debug_log_prefixed.actual.ml
- index 054c7dc..fd8be63 100644
- --- a/_build/default/test/test_debug_log_prefixed.expected.ml
- +++ b/_build/default/test/test_debug_log_prefixed.actual.ml
- @@ -9,7 +9,7 @@ let rec loop_exceeded (x : int) =
- ~start_lnum:7 ~start_colnum:33 ~end_lnum:13 ~end_colnum:55
- ~message:"loop_exceeded" ~entry_id:__entry_id ~log_level:1 `Diagn;
- ());
- - (match let z =
- + (match let z : int =
- Debug_runtime.log_value_show ?descr:None ~entry_id:__entry_id
- ~log_level:2 ~is_result:false
- (lazy (([%show : (string * int)]) ("inside loop", (x : int))));
- @@ -51,7 +51,7 @@ let bar () =
- ~start_colnum:6 ~end_lnum:21 ~end_colnum:7
- ~message:"<for i>" ~entry_id:__entry_id ~log_level:1
- `Track;
- - (match let _baz =
- + (match let _baz : int =
- let __entry_id = Debug_runtime.get_entry_id () in
- ();
- Debug_runtime.open_log
- File "test/test_debug_interrupts.expected.ml", line 1, characters 0-0:
- /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/test/test_debug_interrupts.expected.ml _build/default/test/test_debug_interrupts.actual.ml
- diff --git a/_build/default/test/test_debug_interrupts.expected.ml b/_build/default/test/test_debug_interrupts.actual.ml
- index 33f9d5c..4395698 100644
- --- a/_build/default/test/test_debug_interrupts.expected.ml
- +++ b/_build/default/test/test_debug_interrupts.actual.ml
- @@ -29,7 +29,7 @@ let rec loop_exceeded (x : int) =
- ~start_lnum:8 ~entry_id:__entry_id;
- failwith "ppx_minidebug: max_nesting_depth exceeded")
- else
- - (match let z =
- + (match let z : int =
- let __entry_id = Debug_runtime.get_entry_id () in
- ();
- if Debug_runtime.exceeds_max_children ()
- @@ -141,7 +141,7 @@ let bar () =
- failwith
- "ppx_minidebug: max_nesting_depth exceeded")
- else
- - (match let _baz =
- + (match let _baz : int =
- let __entry_id =
- Debug_runtime.get_entry_id () in
- ();
- File "test/test_debug_log_nothing.expected.ml", line 1, characters 0-0:
- /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/test/test_debug_log_nothing.expected.ml _build/default/test/test_debug_log_nothing.actual.ml
- diff --git a/_build/default/test/test_debug_log_nothing.expected.ml b/_build/default/test/test_debug_log_nothing.actual.ml
- index 6c38ebb..69024dd 100644
- --- a/_build/default/test/test_debug_log_nothing.expected.ml
- +++ b/_build/default/test/test_debug_log_nothing.actual.ml
- @@ -2,10 +2,10 @@ module Debug_runtime = (val
- Minidebug_runtime.debug_flushing ~filename:"debugger_show_log_nothing" ())
- ;;()
- let rec loop_exceeded (x : int) =
- - (let z = (); (x - 1) / 2 in
- + (let z : int = (); (x - 1) / 2 in
- if x <= 0 then 0 else z + (loop_exceeded (z + (x / 2))) : int)
- let () =
- try print_endline @@ (Int.to_string @@ (loop_exceeded 17))
- with | _ -> print_endline "Raised exception."
- -let bar () = (for i = 0 to 100 do let _baz = i * 2 in () done : unit)
- +let bar () = (for i = 0 to 100 do let _baz : int = i * 2 in () done : unit)
- let () = try bar () with | _ -> print_endline "Raised exception."
- (cd _build/default/test && ./test_debug_generate_nothing.exe)
- 64
- (cd _build/default/test && ./test_debug_log_nothing.exe)
- 64
- (cd _build/default/test && ./test_debug_interrupts.exe)
- Raised exception.
- Raised exception.
- (cd _build/default/test && ./test_debug_log_prefixed.exe)
- 9
- (cd _build/default/doc && ./sync_to_md.exe)
- level 2level 3
- (cd _build/default/test && ./test_debug_multithread_files.exe)
- Starting multi-threaded test...
- Multi-threaded test completed successfully.
- (cd _build/default/test && ./test_debug_show.exe)
- hello
- 3015
- (cd _build/default/test && ./test_debug_large_diffs.exe)
- Starting test_debug_large_diffs...
- About to run debug_run1...
- Running debug_run1...
- debug_run1 completed.
- About to run debug_run2...
- Running debug_run2...
- debug_run2 completed.
- About to run debug_run3...
- Running debug_run3...
- debug_run3 completed.
- All debug runs completed successfully.
- (cd _build/.sandbox/15961c6f08fa17f99edb7637072800d9/default/test && .test_inline_tests.inline-tests/inline-test-runner.exe inline-test-runner test_inline_tests -partition 'baz = 8' -source-tree-root .. -diff-cmd -)
-
- BEGIN DEBUG SESSION baz-1
- baz = 8
- ├─"test/test_expect_test.ml":6:15
- ├─baz-1 <function -- branch 1> :: (y, [])
- └─y = 4
- 8
- (cd _build/.sandbox/15961c6f08fa17f99edb7637072800d9/default/test && .test_inline_tests.inline-tests/inline-test-runner.exe inline-test-runner test_inline_tests -partition '├─baz-1 <function -- branch 1> :: (y, [])' -source-tree-root .. -diff-cmd -)
-
- BEGIN DEBUG SESSION baz-1
- baz = 8
- ├─"test/test_expect_test.ml":6:15
- ├─baz-1 <function -- branch 1> :: (y, [])
- └─y = 4
- 8
- (cd _build/.sandbox/15961c6f08fa17f99edb7637072800d9/default/test && .test_inline_tests.inline-tests/inline-test-runner.exe inline-test-runner test_inline_tests -partition '' -source-tree-root .. -diff-cmd -)
-
- BEGIN DEBUG SESSION baz-1
- baz = 8
- ├─"test/test_expect_test.ml":6:15
- ├─baz-1 <function -- branch 1> :: (y, [])
- └─y = 4
- 8
- (cd _build/.sandbox/15961c6f08fa17f99edb7637072800d9/default/test && .test_inline_tests.inline-tests/inline-test-runner.exe inline-test-runner test_inline_tests -partition '├─"test/test_expect_test.ml":6:15' -source-tree-root .. -diff-cmd -)
-
- BEGIN DEBUG SESSION baz-1
- baz = 8
- ├─"test/test_expect_test.ml":6:15
- ├─baz-1 <function -- branch 1> :: (y, [])
- └─y = 4
- 8
- (cd _build/.sandbox/15961c6f08fa17f99edb7637072800d9/default/test && .test_inline_tests.inline-tests/inline-test-runner.exe inline-test-runner test_inline_tests -partition '└─y = 4' -source-tree-root .. -diff-cmd -)
-
- BEGIN DEBUG SESSION baz-1
- baz = 8
- ├─"test/test_expect_test.ml":6:15
- ├─baz-1 <function -- branch 1> :: (y, [])
- └─y = 4
- 8
- (cd _build/.sandbox/15961c6f08fa17f99edb7637072800d9/default/test && .test_inline_tests.inline-tests/inline-test-runner.exe inline-test-runner test_inline_tests -partition 8 -source-tree-root .. -diff-cmd -)
-
- BEGIN DEBUG SESSION baz-1
- baz = 8
- ├─"test/test_expect_test.ml":6:15
- ├─baz-1 <function -- branch 1> :: (y, [])
- └─y = 4
- 8
- (cd _build/.sandbox/15961c6f08fa17f99edb7637072800d9/default/test && .test_inline_tests.inline-tests/inline-test-runner.exe inline-test-runner test_inline_tests -partition 'BEGIN DEBUG SESSION baz-1 ' -source-tree-root .. -diff-cmd -)
-
- BEGIN DEBUG SESSION baz-1
- baz = 8
- ├─"test/test_expect_test.ml":6:15
- ├─baz-1 <function -- branch 1> :: (y, [])
- └─y = 4
- 8
- (cd _build/.sandbox/15961c6f08fa17f99edb7637072800d9/default/test && .test_inline_tests.inline-tests/inline-test-runner.exe inline-test-runner test_inline_tests -partition test_expect_test.ml -source-tree-root .. -diff-cmd -)
-
- BEGIN DEBUG SESSION baz-1
- baz = 8
- ├─"test/test_expect_test.ml":6:15
- ├─baz-1 <function -- branch 1> :: (y, [])
- └─y = 4
- 8
[ERROR] The compilation of ppx_minidebug.2.4.0 failed at "dune build -p ppx_minidebug -j 71 @install @runtest".
#=== ERROR while compiling ppx_minidebug.2.4.0 ================================#
# context 2.5.0 | linux/x86_64 | ocaml-base-compiler.5.4.0 | file:///home/opam/opam-repository
# path ~/.opam/5.4/.opam-switch/build/ppx_minidebug.2.4.0
# command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p ppx_minidebug -j 71 @install @runtest
# exit-code 1
# env-file ~/.opam/log/ppx_minidebug-7-51c28e.env
# output-file ~/.opam/log/ppx_minidebug-7-51c28e.out
### output ###
# File "test/test_debug_pp.expected.ml", line 1, characters 0-0:
# /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/test/test_debug_pp.expected.ml _build/default/test/test_debug_pp.actual.ml
# diff --git a/_build/default/test/test_debug_pp.expected.ml b/_build/default/test/test_debug_pp.actual.ml
# index 315c5bb..dd128a7 100644
# --- a/_build/default/test/test_debug_pp.expected.ml
# +++ b/_build/default/test/test_debug_pp.actual.ml
# @@ -13,7 +13,7 @@ let bar (x : t) =
# ~entry_id:__entry_id ~log_level:1 `Debug;
# Debug_runtime.log_value_pp ?descr:(Some "x") ~entry_id:__entry_id
# ~log_level:1 ~pp ~is_result:false (lazy x));
# - (match let y =
# + (match let y : num =
# let __entry_id = Debug_runtime.get_entry_id () in
# ();
# Debug_runtime.open_log ~fname:"test_debug_pp.ml" ~start_lnum:8
# @@ -55,7 +55,7 @@ let baz (x : t) =
# ~entry_id:__entry_id ~log_level:1 `Debug;
# Debug_runtime.log_value_pp ?descr:(Some "x") ~entry_id:__entry_id
# ~log_level:1 ~pp ~is_result:false (lazy x));
# - (match let { first = y; second = z } as _yz =
# + (match let ({ first = y; second = z } as _yz) : t =
# let __entry_id = Debug_runtime.get_entry_id () in
# ();
# Debug_runtime.open_log ~fname:"test_debug_pp.ml" ~start_lnum:14
# @@ -107,7 +107,7 @@ let rec loop (depth : num) (x : t) =
# loop (depth + 1)
# { first = (x.second + 1); second = (x.first / 2) }
# else
# - (let y =
# + (let y : num =
# let __entry_id = Debug_runtime.get_entry_id () in
# ();
# Debug_runtime.open_log ~fname:"test_debug_pp.ml"
# @@ -130,7 +130,7 @@ let rec loop (depth : num) (x : t) =
# (Debug_runtime.close_log ~fname:"test_debug_pp.ml"
# ~start_lnum:23 ~entry_id:__entry_id;
# raise e)) in
# - let z =
# + let z : num =
# let __entry_id = Debug_runtime.get_entry_id () in
# ();
# Debug_runtime.open_log ~fname:"test_debug_pp.ml"
# File "test/test_debug_sexp.expected.ml", line 1, characters 0-0:
# /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/test/test_debug_sexp.expected.ml _build/default/test/test_debug_sexp.actual.ml
# diff --git a/_build/default/test/test_debug_sexp.expected.ml b/_build/default/test/test_debug_sexp.actual.ml
# index 80c432f..bb4c0d5 100644
# --- a/_build/default/test/test_debug_sexp.expected.ml
# +++ b/_build/default/test/test_debug_sexp.actual.ml
# @@ -10,7 +10,7 @@ let foo (x : int) =
# ~entry_id:__entry_id ~log_level:1 `Debug;
# Debug_runtime.log_value_sexp ?descr:(Some "x") ~entry_id:__entry_id
# ~log_level:1 ~is_result:false (lazy (([%sexp_of : int]) x)));
# - (match let y =
# + (match let y : int =
# let __entry_id = Debug_runtime.get_entry_id () in
# ();
# Debug_runtime.open_log ~fname:"test_debug_sexp.ml" ~start_lnum:10
# @@ -54,7 +54,7 @@ let bar (x : t) =
# ~entry_id:__entry_id ~log_level:1 `Debug;
# Debug_runtime.log_value_sexp ?descr:(Some "x") ~entry_id:__entry_id
# ~log_level:1 ~is_result:false (lazy (([%sexp_of : t]) x)));
# - (match let y =
# + (match let y : int =
# let __entry_id = Debug_runtime.get_entry_id () in
# ();
# Debug_runtime.open_log ~fname:"test_debug_sexp.ml" ~start_lnum:18
# @@ -95,7 +95,7 @@ let baz (x : t) =
# ~entry_id:__entry_id ~log_level:1 `Debug;
# Debug_runtime.log_value_sexp ?descr:(Some "x") ~entry_id:__entry_id
# ~log_level:1 ~is_result:false (lazy (([%sexp_of : t]) x)));
# - (match let (y, z) as _yz =
# + (match let ((y, z) as _yz) : (int * int) =
# let __entry_id = Debug_runtime.get_entry_id () in
# ();
# Debug_runtime.open_log ~fname:"test_debug_sexp.ml" ~start_lnum:24
# @@ -114,7 +114,7 @@ let baz (x : t) =
# (Debug_runtime.close_log ~fname:"test_debug_sexp.ml"
# ~start_lnum:24 ~entry_id:__entry_id;
# raise e)) in
# - let (u, w) as _uw =
# + let ((u, w) as _uw) : (int * int) =
# let __entry_id = Debug_runtime.get_entry_id () in
# ();
# Debug_runtime.open_log ~fname:"test_debug_sexp.ml" ~start_lnum:25
# @@ -155,7 +155,7 @@ let lab ~x:(x : int) =
# ~entry_id:__entry_id ~log_level:1 `Debug;
# Debug_runtime.log_value_sexp ?descr:(Some "x") ~entry_id:__entry_id
# ~log_level:1 ~is_result:false (lazy (([%sexp_of : int]) x)));
# - (match let y =
# + (match let y : int =
# let __entry_id = Debug_runtime.get_entry_id () in
# ();
# Debug_runtime.open_log ~fname:"test_debug_sexp.ml" ~start_lnum:31
# @@ -206,7 +206,7 @@ let rec loop (depth : int) (x : t) =
# loop (depth + 1)
# { first = (x.second + 1); second = (x.first / 2) }
# else
# - (let y =
# + (let y : int =
# let __entry_id = Debug_runtime.get_entry_id () in
# ();
# Debug_runtime.open_log ~fname:"test_debug_sexp.ml"
# @@ -227,7 +227,7 @@ let rec loop (depth : int) (x : t) =
# (Debug_runtime.close_log ~fname:"test_debug_sexp.ml"
# ~start_lnum:40 ~entry_id:__entry_id;
# raise e)) in
# - let z =
# + let z : int =
# let __entry_id = Debug_runtime.get_entry_id () in
# ();
# Debug_runtime.open_log ~fname:"test_debug_sexp.ml"
# File "test/test_debug_show.expected.ml", line 1, characters 0-0:
# /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/test/test_debug_show.expected.ml _build/default/test/test_debug_show.actual.ml
# diff --git a/_build/default/test/test_debug_show.expected.ml b/_build/default/test/test_debug_show.actual.ml
# index 2a4ee88..4fdc6cb 100644
# --- a/_build/default/test/test_debug_show.expected.ml
# +++ b/_build/default/test/test_debug_show.actual.ml
# @@ -9,7 +9,7 @@ let foo (x : int) =
# ~entry_id:__entry_id ~log_level:1 `Debug;
# Debug_runtime.log_value_show ?descr:(Some "x") ~entry_id:__entry_id
# ~log_level:1 ~is_result:false (lazy (([%show : int]) x)));
# - (match let y =
# + (match let y : int =
# let __entry_id = Debug_runtime.get_entry_id () in
# ();
# Debug_runtime.open_log ~fname:"test_debug_show.ml"
# @@ -54,7 +54,7 @@ let bar (x : t) =
# ~entry_id:__entry_id ~log_level:1 `Debug;
# Debug_runtime.log_value_show ?descr:(Some "x") ~entry_id:__entry_id
# ~log_level:1 ~is_result:false (lazy (([%show : t]) x)));
# - (match let y =
# + (match let y : int =
# let __entry_id = Debug_runtime.get_entry_id () in
# ();
# Debug_runtime.open_log ~fname:"test_debug_show.ml"
# @@ -96,7 +96,7 @@ let baz (x : t) =
# ~entry_id:__entry_id ~log_level:1 `Debug;
# Debug_runtime.log_value_show ?descr:(Some "x") ~entry_id:__entry_id
# ~log_level:1 ~is_result:false (lazy (([%show : t]) x)));
# - (match let (y, z) as _yz =
# + (match let ((y, z) as _yz) : (int * int) =
# let __entry_id = Debug_runtime.get_entry_id () in
# ();
# Debug_runtime.open_log ~fname:"test_debug_show.ml"
# @@ -149,7 +149,7 @@ let rec loop (depth : int) (x : t) =
# loop (depth + 1)
# { first = (x.second + 1); second = (x.first / 2) }
# else
# - (let y =
# + (let y : int =
# let __entry_id = Debug_runtime.get_entry_id () in
# ();
# Debug_runtime.open_log ~fname:"test_debug_show.ml"
# @@ -172,7 +172,7 @@ let rec loop (depth : int) (x : t) =
# (Debug_runtime.close_log ~fname:"test_debug_show.ml"
# ~start_lnum:28 ~entry_id:__entry_id;
# raise e)) in
# - let z =
# + let z : int =
# let __entry_id = Debug_runtime.get_entry_id () in
# ();
# Debug_runtime.open_log ~fname:"test_debug_show.ml"
# File "test/test_debug_log_level_consistency.expected.ml", line 1, characters 0-0:
# /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/test/test_debug_log_level_consistency.expected.ml _build/default/test/test_debug_log_level_consistency.actual.ml
# diff --git a/_build/default/test/test_debug_log_level_consistency.expected.ml b/_build/default/test/test_debug_log_level_consistency.actual.ml
# index d984a8e..8ec8f16 100644
# --- a/_build/default/test/test_debug_log_level_consistency.expected.ml
# +++ b/_build/default/test/test_debug_log_level_consistency.actual.ml
# @@ -23,7 +23,7 @@ let foo (x : int) =
# ~message:"foo" ~entry_id:__entry_id ~log_level:1 `Debug;
# Debug_runtime.log_value_show ?descr:(Some "x") ~entry_id:__entry_id
# ~log_level:1 ~is_result:false (lazy (([%show : int]) x)));
# - (match let y =
# + (match let y : int =
# let __entry_id = Debug_runtime.get_entry_id () in
# ();
# Debug_runtime.open_log
# File "test/test_debug_log_prefixed.expected.ml", line 1, characters 0-0:
# /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/test/test_debug_log_prefixed.expected.ml _build/default/test/test_debug_log_prefixed.actual.ml
# diff --git a/_build/default/test/test_debug_log_prefixed.expected.ml b/_build/default/test/test_debug_log_prefixed.actual.ml
# index 054c7dc..fd8be63 100644
# --- a/_build/default/test/test_debug_log_prefixed.expected.ml
# +++ b/_build/default/test/test_debug_log_prefixed.actual.ml
# @@ -9,7 +9,7 @@ let rec loop_exceeded (x : int) =
# ~start_lnum:7 ~start_colnum:33 ~end_lnum:13 ~end_colnum:55
# ~message:"loop_exceeded" ~entry_id:__entry_id ~log_level:1 `Diagn;
# ());
# - (match let z =
# + (match let z : int =
# Debug_runtime.log_value_show ?descr:None ~entry_id:__entry_id
# ~log_level:2 ~is_result:false
# (lazy (([%show : (string * int)]) ("inside loop", (x : int))));
# @@ -51,7 +51,7 @@ let bar () =
# ~start_colnum:6 ~end_lnum:21 ~end_colnum:7
# ~message:"<for i>" ~entry_id:__entry_id ~log_level:1
# `Track;
# - (match let _baz =
# + (match let _baz : int =
# let __entry_id = Debug_runtime.get_entry_id () in
# ();
# Debug_runtime.open_log
# File "test/test_debug_interrupts.expected.ml", line 1, characters 0-0:
# /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/test/test_debug_interrupts.expected.ml _build/default/test/test_debug_interrupts.actual.ml
# diff --git a/_build/default/test/test_debug_interrupts.expected.ml b/_build/default/test/test_debug_interrupts.actual.ml
# index 33f9d5c..4395698 100644
# --- a/_build/default/test/test_debug_interrupts.expected.ml
# +++ b/_build/default/test/test_debug_interrupts.actual.ml
# @@ -29,7 +29,7 @@ let rec loop_exceeded (x : int) =
# ~start_lnum:8 ~entry_id:__entry_id;
# failwith "ppx_minidebug: max_nesting_depth exceeded")
# else
# - (match let z =
# + (match let z : int =
# let __entry_id = Debug_runtime.get_entry_id () in
# ();
# if Debug_runtime.exceeds_max_children ()
# @@ -141,7 +141,7 @@ let bar () =
# failwith
# "ppx_minidebug: max_nesting_depth exceeded")
# else
# - (match let _baz =
# + (match let _baz : int =
# let __entry_id =
# Debug_runtime.get_entry_id () in
# ();
# File "test/test_debug_log_nothing.expected.ml", line 1, characters 0-0:
# /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/test/test_debug_log_nothing.expected.ml _build/default/test/test_debug_log_nothing.actual.ml
# diff --git a/_build/default/test/test_debug_log_nothing.expected.ml b/_build/default/test/test_debug_log_nothing.actual.ml
# index 6c38ebb..69024dd 100644
# --- a/_build/default/test/test_debug_log_nothing.expected.ml
# +++ b/_build/default/test/test_debug_log_nothing.actual.ml
# @@ -2,10 +2,10 @@ module Debug_runtime = (val
# Minidebug_runtime.debug_flushing ~filename:"debugger_show_log_nothing" ())
# ;;()
# let rec loop_exceeded (x : int) =
# - (let z = (); (x - 1) / 2 in
# + (let z : int = (); (x - 1) / 2 in
# if x <= 0 then 0 else z + (loop_exceeded (z + (x / 2))) : int)
# let () =
# try print_endline @@ (Int.to_string @@ (loop_exceeded 17))
# with | _ -> print_endline "Raised exception."
# -let bar () = (for i = 0 to 100 do let _baz = i * 2 in () done : unit)
# +let bar () = (for i = 0 to 100 do let _baz : int = i * 2 in () done : unit)
# let () = try bar () with | _ -> print_endline "Raised exception."
# (cd _build/default/test && ./test_debug_generate_nothing.exe)
# 64
# (cd _build/default/test && ./test_debug_log_nothing.exe)
# 64
# (cd _build/default/test && ./test_debug_interrupts.exe)
# Raised exception.
# Raised exception.
# (cd _build/default/test && ./test_debug_log_prefixed.exe)
# 9
# (cd _build/default/doc && ./sync_to_md.exe)
# level 2level 3
# (cd _build/default/test && ./test_debug_multithread_files.exe)
# Starting multi-threaded test...
# Multi-threaded test completed successfully.
# (cd _build/default/test && ./test_debug_show.exe)
# hello
# 3015
# (cd _build/default/test && ./test_debug_large_diffs.exe)
# Starting test_debug_large_diffs...
# About to run debug_run1...
# Running debug_run1...
# debug_run1 completed.
# About to run debug_run2...
# Running debug_run2...
# debug_run2 completed.
# About to run debug_run3...
# Running debug_run3...
# debug_run3 completed.
# All debug runs completed successfully.
# (cd _build/.sandbox/15961c6f08fa17f99edb7637072800d9/default/test && .test_inline_tests.inline-tests/inline-test-runner.exe inline-test-runner test_inline_tests -partition 'baz = 8' -source-tree-root .. -diff-cmd -)
#
# BEGIN DEBUG SESSION baz-1
# baz = 8
# ├─"test/test_expect_test.ml":6:15
# ├─baz-1 <function -- branch 1> :: (y, [])
# └─y = 4
# 8
# (cd _build/.sandbox/15961c6f08fa17f99edb7637072800d9/default/test && .test_inline_tests.inline-tests/inline-test-runner.exe inline-test-runner test_inline_tests -partition '├─baz-1 <function -- branch 1> :: (y, [])' -source-tree-root .. -diff-cmd -)
#
# BEGIN DEBUG SESSION baz-1
# baz = 8
# ├─"test/test_expect_test.ml":6:15
# ├─baz-1 <function -- branch 1> :: (y, [])
# └─y = 4
# 8
# (cd _build/.sandbox/15961c6f08fa17f99edb7637072800d9/default/test && .test_inline_tests.inline-tests/inline-test-runner.exe inline-test-runner test_inline_tests -partition '' -source-tree-root .. -diff-cmd -)
#
# BEGIN DEBUG SESSION baz-1
# baz = 8
# ├─"test/test_expect_test.ml":6:15
# ├─baz-1 <function -- branch 1> :: (y, [])
# └─y = 4
# 8
# (cd _build/.sandbox/15961c6f08fa17f99edb7637072800d9/default/test && .test_inline_tests.inline-tests/inline-test-runner.exe inline-test-runner test_inline_tests -partition '├─"test/test_expect_test.ml":6:15' -source-tree-root .. -diff-cmd -)
#
# BEGIN DEBUG SESSION baz-1
# baz = 8
# ├─"test/test_expect_test.ml":6:15
# ├─baz-1 <function -- branch 1> :: (y, [])
# └─y = 4
# 8
# (cd _build/.sandbox/15961c6f08fa17f99edb7637072800d9/default/test && .test_inline_tests.inline-tests/inline-test-runner.exe inline-test-runner test_inline_tests -partition '└─y = 4' -source-tree-root .. -diff-cmd -)
#
# BEGIN DEBUG SESSION baz-1
# baz = 8
# ├─"test/test_expect_test.ml":6:15
# ├─baz-1 <function -- branch 1> :: (y, [])
# └─y = 4
# 8
# (cd _build/.sandbox/15961c6f08fa17f99edb7637072800d9/default/test && .test_inline_tests.inline-tests/inline-test-runner.exe inline-test-runner test_inline_tests -partition 8 -source-tree-root .. -diff-cmd -)
#
# BEGIN DEBUG SESSION baz-1
# baz = 8
# ├─"test/test_expect_test.ml":6:15
# ├─baz-1 <function -- branch 1> :: (y, [])
# └─y = 4
# 8
# (cd _build/.sandbox/15961c6f08fa17f99edb7637072800d9/default/test && .test_inline_tests.inline-tests/inline-test-runner.exe inline-test-runner test_inline_tests -partition 'BEGIN DEBUG SESSION baz-1 ' -source-tree-root .. -diff-cmd -)
#
# BEGIN DEBUG SESSION baz-1
# baz = 8
# ├─"test/test_expect_test.ml":6:15
# ├─baz-1 <function -- branch 1> :: (y, [])
# └─y = 4
# 8
# (cd _build/.sandbox/15961c6f08fa17f99edb7637072800d9/default/test && .test_inline_tests.inline-tests/inline-test-runner.exe inline-test-runner test_inline_tests -partition test_expect_test.ml -source-tree-root .. -diff-cmd -)
#
# BEGIN DEBUG SESSION baz-1
# baz = 8
# ├─"test/test_expect_test.ml":6:15
# ├─baz-1 <function -- branch 1> :: (y, [])
# └─y = 4
# 8
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build ppx_minidebug 2.4.0
+-
- No changes have been performed
# To update the current shell environment, run: eval $(opam env)
'opam reinstall --with-test --verbose ppx_minidebug.2.4.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 ppx_minidebug.2.4.0;
res=$?;
test "$res" != 31 && exit "$res";
export OPAMCLI=2.0;
build_dir=$(opam var prefix)/.opam-switch/build;
failed=$(ls "$build_dir");
partial_fails="";
for pkg in $failed; do
if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-13\""; then
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
fi;
test "$pkg" != 'ppx_minidebug.2.4.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 18:35.57: Job failed: Failed: Build failed
2026-03-25 18:35.57: Log analysis:
2026-03-25 18:35.57: >>>
[ERROR] The compilation of ppx_minidebug.2.4.0 failed at "dune build -p ppx_minidebug -j 71 @install @runtest".
(score = 20)
2026-03-25 18:35.57: >>>
[ERROR] The compilation of ppx_minidebug.2.4.0 failed at "dune build -p ppx_minidebug -j 71 @install @runtest".
(score = 20)
2026-03-25 18:35.57: The compilation of ppx_minidebug.2.4.0 failed at "dune build -p ppx_minidebug -j 71 @install @runtest".