- github
- ocaml
- opam-repository
- 3e0c39
- compilers,5.4,dune.3.22.2,revdeps,ppx_minidebug.2.3.0
(not at the head of any monitored branch or PR)
2026-04-13 14:42.39: New job: test ppx_minidebug.2.3.0 with dune.3.22.2, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29704/head (3e0c395e7b1393a792367f8edca3654dac71e6fd)
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/29704/head" && git reset --hard 3e0c395e
git fetch origin master
git merge --no-edit ba4685aeec7b28fde6af30c7b83004704c68c86a
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.4@sha256:a447b546feb1d9aedc90fda889d688eb9be4d3bdea086d5b2f4f59f38f224ef4
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /usr/bin/opam
RUN opam init --reinit -ni
RUN opam option solver=builtin-0install && opam config report
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
ENV OPAMPRECISETRACKING="1"
ENV CI="true"
ENV OPAM_REPO_CI="true"
RUN rm -rf opam-repository/
COPY --chown=1000:1000 . opam-repository/
RUN opam repository set-url --strict default opam-repository/
RUN opam update --depexts || true
RUN opam pin add -k version -yn dune.3.22.2 3.22.2
RUN opam reinstall dune.3.22.2; \
res=$?; \
test "$res" != 31 && exit "$res"; \
export OPAMCLI=2.0; \
build_dir=$(opam var prefix)/.opam-switch/build; \
failed=$(ls "$build_dir"); \
partial_fails=""; \
for pkg in $failed; do \
if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-13\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'dune.3.22.2' && 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.3.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.3.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.3.0) || true
RUN opam reinstall --with-test --verbose ppx_minidebug.2.3.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.3.0' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
END-OF-DOCKERFILE
docker build -f ../Dockerfile .
2026-04-13 14:42.39: Using cache hint "ocaml/opam:debian-13-ocaml-5.4@sha256:a447b546feb1d9aedc90fda889d688eb9be4d3bdea086d5b2f4f59f38f224ef4-dune.3.22.2-ppx_minidebug.2.3.0-3e0c395e7b1393a792367f8edca3654dac71e6fd"
2026-04-13 14:42.39: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:a447b546feb1d9aedc90fda889d688eb9be4d3bdea086d5b2f4f59f38f224ef4)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
(run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
(run (shell "opam option solver=builtin-0install && opam config report"))
(env OPAMDOWNLOADJOBS 1)
(env OPAMERRLOGLEN 0)
(env OPAMPRECISETRACKING 1)
(env CI true)
(env OPAM_REPO_CI true)
(run (shell "rm -rf opam-repository/"))
(copy (src .) (dst opam-repository/))
(run (shell "opam repository set-url --strict default opam-repository/"))
(run (network host)
(shell "opam update --depexts || true"))
(run (shell "opam pin add -k version -yn dune.3.22.2 3.22.2"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall dune.3.22.2;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'dune.3.22.2' && 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.3.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.3.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.3.0) || true"))
(run (shell "opam reinstall --with-test --verbose ppx_minidebug.2.3.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.3.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2026-04-13 14:42.39: Waiting for resource in pool OCluster
2026-04-13 15:25.35: Waiting for worker…
2026-04-13 15:32.06: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
All commits already cached
HEAD is now at ba4685aeec Merge pull request #29653 from yakobowski/camlidl
Merge made by the 'ort' strategy.
packages/chrome-trace/chrome-trace.3.22.2/opam | 39 +++++++++++
.../dune-action-plugin.3.22.2/opam | 52 +++++++++++++++
.../dune-action-trace.3.22.2/opam | 39 +++++++++++
.../dune-build-info/dune-build-info.3.22.2/opam | 45 +++++++++++++
.../dune-configurator.3.22.2/opam | 49 ++++++++++++++
packages/dune-glob/dune-glob.3.22.2/opam | 42 ++++++++++++
.../dune-private-libs.3.22.2/opam | 50 +++++++++++++++
packages/dune-rpc-lwt/dune-rpc-lwt.3.22.2/opam | 41 ++++++++++++
packages/dune-rpc/dune-rpc.3.22.2/opam | 44 +++++++++++++
packages/dune-site/dune-site.3.22.2/opam | 37 +++++++++++
packages/dune/dune.3.22.2/opam | 75 ++++++++++++++++++++++
packages/dyn/dyn.3.22.2/opam | 40 ++++++++++++
packages/fs-io/fs-io.3.22.2/opam | 39 +++++++++++
packages/ocamlc-loc/ocamlc-loc.3.22.2/opam | 43 +++++++++++++
packages/ordering/ordering.3.22.2/opam | 38 +++++++++++
packages/stdune/stdune.3.22.2/opam | 46 +++++++++++++
packages/top-closure/top-closure.3.22.2/opam | 38 +++++++++++
packages/xdg/xdg.3.22.2/opam | 39 +++++++++++
18 files changed, 796 insertions(+)
create mode 100644 packages/chrome-trace/chrome-trace.3.22.2/opam
create mode 100644 packages/dune-action-plugin/dune-action-plugin.3.22.2/opam
create mode 100644 packages/dune-action-trace/dune-action-trace.3.22.2/opam
create mode 100644 packages/dune-build-info/dune-build-info.3.22.2/opam
create mode 100644 packages/dune-configurator/dune-configurator.3.22.2/opam
create mode 100644 packages/dune-glob/dune-glob.3.22.2/opam
create mode 100644 packages/dune-private-libs/dune-private-libs.3.22.2/opam
create mode 100644 packages/dune-rpc-lwt/dune-rpc-lwt.3.22.2/opam
create mode 100644 packages/dune-rpc/dune-rpc.3.22.2/opam
create mode 100644 packages/dune-site/dune-site.3.22.2/opam
create mode 100644 packages/dune/dune.3.22.2/opam
create mode 100644 packages/dyn/dyn.3.22.2/opam
create mode 100644 packages/fs-io/fs-io.3.22.2/opam
create mode 100644 packages/ocamlc-loc/ocamlc-loc.3.22.2/opam
create mode 100644 packages/ordering/ordering.3.22.2/opam
create mode 100644 packages/stdune/stdune.3.22.2/opam
create mode 100644 packages/top-closure/top-closure.3.22.2/opam
create mode 100644 packages/xdg/xdg.3.22.2/opam
(from ocaml/opam:debian-13-ocaml-5.4@sha256:a447b546feb1d9aedc90fda889d688eb9be4d3bdea086d5b2f4f59f38f224ef4)
2026-04-13 15:32.09 ---> using "650db199dd47c38a0926a758262f0be95fb78e2d9a79cbdc2809fa2b15683d52" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-04-13 15:32.09 ---> using "1d82b13dae11ba0e4ae4c53498d44d66e368b802cfcb77b29900c3af7e2a1562" 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.
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-04-13 15:32.09 ---> using "8fc56361284f52a58bad5297203dc12518b6d67d540112c1ecc4d982140daeca" 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.1"}]
# compiler-packages ocaml-base-compiler.5.4.1, ocaml-compiler.5.4.1, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/5.4/lib/ocaml/stublibs:/home/opam/.opam/5.4/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 5.4.1
2026-04-13 15:32.09 ---> using "fe9db6e6aedfe8a888a2521b45017dcd4b4a70e85e324e4a3527adef84a23afd" from cache
/home/opam: (env OPAMDOWNLOADJOBS 1)
/home/opam: (env OPAMERRLOGLEN 0)
/home/opam: (env OPAMPRECISETRACKING 1)
/home/opam: (env CI true)
/home/opam: (env OPAM_REPO_CI true)
/home/opam: (run (shell "rm -rf opam-repository/"))
2026-04-13 15:32.09 ---> using "3a79be73bc2436b5aae3b84f3727fd2fe0209a9b7334e20aac2d10fcd0f26769" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2026-04-13 15:32.10 ---> using "306e2765f803e9ac22f1023f023e8bba6e1f5296fc47a318acebb969ba1b1204" from cache
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-04-13 15:32.10 ---> using "9e9b4bad2baa72b9fad539bf23d04eb0f2a72097c5685706fe162459f8a36f61" from cache
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [122 kB]
- Fetched 213 kB in 0s (2049 kB/s)
- Reading package lists...
2026-04-13 15:32.10 ---> using "2fb1ac5ca6037947ba1884eb3a92b9454761e371e0b3c1955630d8faadedabed" from cache
/home/opam: (run (shell "opam pin add -k version -yn dune.3.22.2 3.22.2"))
dune is now pinned to version 3.22.2
2026-04-13 15:32.10 ---> using "44c7d7d7595c4a41e6aab53eb1a771058e5fb0ec8e90350b08cc9f23cb3d5ed9" from cache
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall dune.3.22.2;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'dune.3.22.2' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
dune.3.22.2 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 1 package
- install dune 3.22.2 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.22.2 (cached)
-> installed dune.3.22.2
Done.
# To update the current shell environment, run: eval $(opam env)
2026-04-13 15:32.10 ---> using "7aefc73d6425e27bc34bfbdb99d4d7e80ada815df45ed1df4e5c28f9ea60f0d6" from cache
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ppx_minidebug.2.3.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.3.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.3.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 37 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-configurator 3.22.2 [required by base]
- install fmt 0.11.0 [required by mdx]
- install logs 0.10.0 [required by mdx]
- install mdx 2.5.2 [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.3.0
- install ppx_sexp_conv v0.17.1 [required by ppx_minidebug]
- install ppxlib 0.38.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)
-> installed csexp.1.5.2
-> installed camlp-streams.5.0.1
-> retrieved dune-configurator.3.22.2 (cached)
-> installed cppo.1.8.0
-> retrieved fmt.0.11.0 (cached)
-> retrieved logs.0.10.0 (cached)
-> retrieved mdx.2.5.2 (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)
-> 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)
-> installed ocaml_intrinsics_kernel.v0.17.1
-> installed ocaml-version.4.0.4
-> installed ppx_derivers.1.2.1
-> retrieved ppx_minidebug.2.3.0 (https://opam.ocaml.org/cache)
-> retrieved ppx_sexp_conv.v0.17.1 (cached)
-> retrieved ppxlib.0.38.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)
-> installed ocaml-compiler-libs.v0.17.0
-> retrieved uucp.17.0.0 (cached)
-> retrieved uutf.1.0.4 (cached)
-> installed cmdliner.2.1.0
-> installed dune-configurator.3.22.2
-> installed printbox.0.12
-> installed result.1.5
-> installed sexplib0.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed thread-local-storage.0.2
-> installed re.1.14.0
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed base.v0.17.3
-> installed topkg.1.1.1
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed mtime.2.1.0
-> installed ptime.1.2.0
-> installed astring.0.8.5
-> installed logs.0.10.0
-> installed tyxml.4.6.0
-> installed mdx.2.5.2
-> installed printbox-html.0.12
-> installed ppxlib.0.38.0
-> installed ppxlib_jane.v0.17.4
-> installed ppx_deriving.6.1.1
-> installed ppx_sexp_conv.v0.17.1
-> installed uucp.17.0.0
-> installed printbox-text.0.12
-> installed printbox-md.0.12
-> installed ppx_minidebug.2.3.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-04-13 15:33.12 ---> saved as "b700fd87fb7ad9bdc37a910a8edca69cf06238ed0ed302c8874bbbd6d3d4eadd"
/home/opam: (run (network host)
(shell "(opam reinstall --with-test ppx_minidebug.2.3.0) || true"))
The following actions will be performed:
=== recompile 1 package
- recompile ppx_minidebug 2.3.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.3.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.3.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.3.0 failed at "dune build -p ppx_minidebug -j 71 @install @runtest".
#=== ERROR while compiling ppx_minidebug.2.3.0 ================================#
# context 2.5.0 | linux/x86_64 | ocaml-base-compiler.5.4.1 | file:///home/opam/opam-repository
# path ~/.opam/5.4/.opam-switch/build/ppx_minidebug.2.3.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-204a8d.env
# output-file ~/.opam/log/ppx_minidebug-7-204a8d.out
### output ###
# 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 689e254..4153fdb 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 (([%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_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 93f62f4..55b0dbf 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 (([%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 (([%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 (([%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 (([%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_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 bfa1271..950e380 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
# (([%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_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 5d31158..ac3f12a 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 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 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 406dd9a..fd4baaf 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 (([%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 (([%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 (([%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 535bf73..8bc3b4d 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 ()
# @@ -139,7 +139,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_multithread_files.exe)
# Starting multi-threaded test...
# Multi-threaded test completed successfully.
# (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_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/7721dda814cd33202d604654caf16bc9/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/7721dda814cd33202d604654caf16bc9/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/7721dda814cd33202d604654caf16bc9/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/7721dda814cd33202d604654caf16bc9/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/7721dda814cd33202d604654caf16bc9/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/7721dda814cd33202d604654caf16bc9/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/7721dda814cd33202d604654caf16bc9/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/7721dda814cd33202d604654caf16bc9/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.3.0
+-
+- The following changes have been performed
| - remove ppx_minidebug 2.3.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-20260413153313.export"
Or you can retry to install your package selection with:
/usr/bin/opam install --restore
2026-04-13 15:33.58 ---> saved as "5e18ea203e8ce840323fd87f3c30624e05c57879bc5779251d85eff499103fc7"
/home/opam: (run (shell "opam reinstall --with-test --verbose ppx_minidebug.2.3.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.3.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.3.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 1 package
- install ppx_minidebug 2.3.0
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 1/3: [ppx_minidebug.2.3.0: extract]
-> retrieved ppx_minidebug.2.3.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.3.0)
- 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 535bf73..8bc3b4d 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 ()
- @@ -139,7 +139,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_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 689e254..4153fdb 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 (([%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_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 5d31158..ac3f12a 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 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 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_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 bfa1271..950e380 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
- (([%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_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 93f62f4..55b0dbf 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 (([%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 (([%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 (([%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 (([%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_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_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 406dd9a..fd4baaf 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 (([%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 (([%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 (([%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"
- (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/test && ./test_debug_multithread_files.exe)
- Starting multi-threaded test...
- Multi-threaded test completed successfully.
- (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/default/doc && ./sync_to_md.exe)
- level 2level 3
- (cd _build/.sandbox/7721dda814cd33202d604654caf16bc9/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/7721dda814cd33202d604654caf16bc9/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/7721dda814cd33202d604654caf16bc9/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/7721dda814cd33202d604654caf16bc9/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/7721dda814cd33202d604654caf16bc9/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/7721dda814cd33202d604654caf16bc9/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/7721dda814cd33202d604654caf16bc9/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/7721dda814cd33202d604654caf16bc9/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.3.0 failed at "dune build -p ppx_minidebug -j 71 @install @runtest".
#=== ERROR while compiling ppx_minidebug.2.3.0 ================================#
# context 2.5.0 | linux/x86_64 | ocaml-base-compiler.5.4.1 | file:///home/opam/opam-repository
# path ~/.opam/5.4/.opam-switch/build/ppx_minidebug.2.3.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-d7478d.env
# output-file ~/.opam/log/ppx_minidebug-7-d7478d.out
### output ###
# 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 535bf73..8bc3b4d 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 ()
# @@ -139,7 +139,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_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 689e254..4153fdb 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 (([%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_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 5d31158..ac3f12a 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 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 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_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 bfa1271..950e380 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
# (([%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_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 93f62f4..55b0dbf 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 (([%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 (([%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 (([%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 (([%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_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_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 406dd9a..fd4baaf 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 (([%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 (([%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 (([%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"
# (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/test && ./test_debug_multithread_files.exe)
# Starting multi-threaded test...
# Multi-threaded test completed successfully.
# (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/default/doc && ./sync_to_md.exe)
# level 2level 3
# (cd _build/.sandbox/7721dda814cd33202d604654caf16bc9/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/7721dda814cd33202d604654caf16bc9/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/7721dda814cd33202d604654caf16bc9/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/7721dda814cd33202d604654caf16bc9/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/7721dda814cd33202d604654caf16bc9/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/7721dda814cd33202d604654caf16bc9/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/7721dda814cd33202d604654caf16bc9/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/7721dda814cd33202d604654caf16bc9/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.3.0
+-
- No changes have been performed
# To update the current shell environment, run: eval $(opam env)
'opam reinstall --with-test --verbose ppx_minidebug.2.3.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.3.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.3.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-04-13 15:34.27: Job failed: Failed: Build failed
2026-04-13 15:34.27: Log analysis:
2026-04-13 15:34.27: >>>
[ERROR] The compilation of ppx_minidebug.2.3.0 failed at "dune build -p ppx_minidebug -j 71 @install @runtest".
(score = 20)
2026-04-13 15:34.27: >>>
[ERROR] The compilation of ppx_minidebug.2.3.0 failed at "dune build -p ppx_minidebug -j 71 @install @runtest".
(score = 20)
2026-04-13 15:34.27: The compilation of ppx_minidebug.2.3.0 failed at "dune build -p ppx_minidebug -j 71 @install @runtest".