Build:
  1. 0
2025-12-11 02:47.46: New job: test ppx_minidebug.2.4.0 with dune.3.21.0~alpha3, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29070/head (a95df9014bc79103fde668cf2adbe6680fd2f9cf)
                              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/29070/head" && git reset --hard a95df901
git fetch origin master
git merge --no-edit 810e1f14b7fa6411c66a3549f4c2aff47c52fc36
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.4@sha256:8c62cc7b043f64833949d4049211997093b28a2f1b98377748d3e185ae301c04
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.21.0~alpha3 3.21.0~alpha3
RUN opam reinstall dune.3.21.0~alpha3; \
    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.21.0~alpha3' && 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 .

2025-12-11 02:47.46: Using cache hint "ocaml/opam:debian-13-ocaml-5.4@sha256:8c62cc7b043f64833949d4049211997093b28a2f1b98377748d3e185ae301c04-dune.3.21.0~alpha3-ppx_minidebug.2.4.0-a95df9014bc79103fde668cf2adbe6680fd2f9cf"
2025-12-11 02:47.46: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:8c62cc7b043f64833949d4049211997093b28a2f1b98377748d3e185ae301c04)
 (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.21.0~alpha3 3.21.0~alpha3"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall dune.3.21.0~alpha3;\
             \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.21.0~alpha3' && 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"))
)

2025-12-11 02:47.46: Waiting for resource in pool OCluster
2025-12-11 13:28.00: Waiting for worker…
2025-12-11 13:30.25: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 810e1f14b7 Merge pull request #29066 from gares/release-elpi-v3.4.4
Updating 810e1f14b7..a95df9014b
Fast-forward
 .../chrome-trace/chrome-trace.3.21.0~alpha3/opam   | 41 ++++++++++++
 .../dune-action-plugin.3.21.0~alpha3/opam          | 54 ++++++++++++++++
 .../dune-build-info.3.21.0~alpha3/opam             | 47 ++++++++++++++
 .../dune-configurator.3.21.0~alpha3/opam           | 51 +++++++++++++++
 packages/dune-glob/dune-glob.3.21.0~alpha3/opam    | 44 +++++++++++++
 .../dune-private-libs.3.21.0~alpha3/opam           | 52 +++++++++++++++
 .../dune-rpc-lwt/dune-rpc-lwt.3.21.0~alpha3/opam   | 43 +++++++++++++
 packages/dune-rpc/dune-rpc.3.21.0~alpha3/opam      | 46 +++++++++++++
 packages/dune-site/dune-site.3.21.0~alpha3/opam    | 39 +++++++++++
 packages/dune/dune.3.21.0~alpha3/opam              | 75 ++++++++++++++++++++++
 packages/dyn/dyn.3.21.0~alpha3/opam                | 42 ++++++++++++
 packages/fs-io/fs-io.3.21.0~alpha3/opam            | 40 ++++++++++++
 packages/ocamlc-loc/ocamlc-loc.3.21.0~alpha3/opam  | 45 +++++++++++++
 packages/ordering/ordering.3.21.0~alpha3/opam      | 40 ++++++++++++
 packages/stdune/stdune.3.21.0~alpha3/opam          | 48 ++++++++++++++
 .../top-closure/top-closure.3.21.0~alpha3/opam     | 39 +++++++++++
 packages/xdg/xdg.3.21.0~alpha3/opam                | 41 ++++++++++++
 17 files changed, 787 insertions(+)
 create mode 100644 packages/chrome-trace/chrome-trace.3.21.0~alpha3/opam
 create mode 100644 packages/dune-action-plugin/dune-action-plugin.3.21.0~alpha3/opam
 create mode 100644 packages/dune-build-info/dune-build-info.3.21.0~alpha3/opam
 create mode 100644 packages/dune-configurator/dune-configurator.3.21.0~alpha3/opam
 create mode 100644 packages/dune-glob/dune-glob.3.21.0~alpha3/opam
 create mode 100644 packages/dune-private-libs/dune-private-libs.3.21.0~alpha3/opam
 create mode 100644 packages/dune-rpc-lwt/dune-rpc-lwt.3.21.0~alpha3/opam
 create mode 100644 packages/dune-rpc/dune-rpc.3.21.0~alpha3/opam
 create mode 100644 packages/dune-site/dune-site.3.21.0~alpha3/opam
 create mode 100644 packages/dune/dune.3.21.0~alpha3/opam
 create mode 100644 packages/dyn/dyn.3.21.0~alpha3/opam
 create mode 100644 packages/fs-io/fs-io.3.21.0~alpha3/opam
 create mode 100644 packages/ocamlc-loc/ocamlc-loc.3.21.0~alpha3/opam
 create mode 100644 packages/ordering/ordering.3.21.0~alpha3/opam
 create mode 100644 packages/stdune/stdune.3.21.0~alpha3/opam
 create mode 100644 packages/top-closure/top-closure.3.21.0~alpha3/opam
 create mode 100644 packages/xdg/xdg.3.21.0~alpha3/opam

(from ocaml/opam:debian-13-ocaml-5.4@sha256:8c62cc7b043f64833949d4049211997093b28a2f1b98377748d3e185ae301c04)
Unable to find image 'ocaml/opam:debian-13-ocaml-5.4@sha256:8c62cc7b043f64833949d4049211997093b28a2f1b98377748d3e185ae301c04' locally
docker.io/ocaml/opam@sha256:8c62cc7b043f64833949d4049211997093b28a2f1b98377748d3e185ae301c04: Pulling from ocaml/opam
75a759b14a01: Pulling fs layer
75a759b14a01: Verifying Checksum
75a759b14a01: Download complete
75a759b14a01: Pull complete
Digest: sha256:8c62cc7b043f64833949d4049211997093b28a2f1b98377748d3e185ae301c04
Status: Downloaded newer image for ocaml/opam@sha256:8c62cc7b043f64833949d4049211997093b28a2f1b98377748d3e185ae301c04
2025-12-11 13:30.50 ---> using "5f87df8c1f6f0886e7311dfd3df40b8bbb961cc34c83c0d033c6dd248c84bc7d" from cache

/: (user (uid 1000) (gid 1000))

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-12-11 13:30.50 ---> using "f1296791f2d76481058db697105a569091a6b6345f05c94bbc5a650f1a364f9a" 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
[NOTE] The 'jobs' option was reset, its value was 71 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
           opam option jobs=71 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-12-11 13:30.50 ---> using "0cac9a31b4750e6a46df8ed8d2f68352091a988199fdf62c52779549510cd6bf" from cache

/home/opam: (run (shell "opam option solver=builtin-0install && opam config report"))
Set to 'builtin-0install' the field solver in global configuration
# opam config report
# opam-version         2.5.0
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=debian os-version=13
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 255
# repositories         1 (version-controlled)
# pinned               1 (version)
# current-switch       5.4
# invariant            ["ocaml-base-compiler" {>= "5.4.0"}]
# compiler-packages    ocaml-base-compiler.5.4.0, ocaml-compiler.5.4.0, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/5.4/lib/ocaml/stublibs:/home/opam/.opam/5.4/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       5.4.0
2025-12-11 13:30.50 ---> using "1deb91dc3badca969976ed6f3bc5fe7c443d73a2cfa957be662fd6f93e30aa7b" 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/"))
2025-12-11 13:30.50 ---> using "1a02438c8753bf7228a9eb625e65b7af26778a022b9ce0b16be5ef4f294c58cd" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-12-11 13:30.51 ---> using "558efc5d1dade30f771ff827a323991d3b5dc8b22610995de52463f4460db41d" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-12-11 13:30.51 ---> using "58e0c9dd5022cd1436b8b1510f482b6baa4e8929f778f88439cff37971729a44" 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 [82.1 kB]
- Fetched 173 kB in 0s (551 kB/s)
- Reading package lists...
2025-12-11 13:30.51 ---> using "de5cbb4e0f295ac93b57d57eef12f594db675884c8bd7983430c50e2fdd12f64" from cache

/home/opam: (run (shell "opam pin add -k version -yn dune.3.21.0~alpha3 3.21.0~alpha3"))
dune is now pinned to version 3.21.0~alpha3
2025-12-11 13:30.51 ---> using "af6cbda9e692e53fa8a8206602afe48a116f589a7ff1dcf8f7ba5c92367c3e3e" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall dune.3.21.0~alpha3;\
                        \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.21.0~alpha3' && 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.21.0~alpha3 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 1 package
  - install dune 3.21.0~alpha3 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.21.0~alpha3  (cached)
-> installed dune.3.21.0~alpha3
Done.
# To update the current shell environment, run: eval $(opam env)
2025-12-11 13:30.51 ---> using "4087a133b295dba0068b3ab8cbcc1fe3f8be9e05017b236fa624fde6f6bb2578" 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 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.21.0~alpha3 [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.3         [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)
-> installed csexp.1.5.2
-> installed camlp-streams.5.0.1
-> retrieved dune-configurator.3.21.0~alpha3  (cached)
-> installed cppo.1.8.0
-> 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.3  (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)
-> retrieved ppx_minidebug.2.4.0  (cached)
-> retrieved ppx_sexp_conv.v0.17.1  (cached)
-> installed cmdliner.2.1.0
-> installed ocaml-compiler-libs.v0.17.0
-> installed ocaml-version.4.0.3
-> installed ocaml_intrinsics_kernel.v0.17.1
-> installed dune-configurator.3.21.0~alpha3
-> installed ppx_derivers.1.2.1
-> 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)
-> installed printbox.0.12
-> retrieved uucp.17.0.0  (cached)
-> retrieved uutf.1.0.4  (cached)
-> installed result.1.5
-> installed stdlib-shims.0.3.0
-> installed thread-local-storage.0.2
-> installed sexplib0.v0.17.0
-> 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 mtime.2.1.0
-> installed fmt.0.11.0
-> installed ptime.1.2.0
-> installed astring.0.8.5
-> installed logs.0.10.0
-> installed ppxlib.0.37.0
-> installed tyxml.4.6.0
-> installed printbox-html.0.12
-> installed mdx.2.5.1
-> 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.4.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-12-11 13:31.37 ---> saved as "e34caca8a7b4e5419e382044a6bede384a12880973e0cfad6c9c306fa561ecec"

/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_globalize.v0.17.2
-> installed ppx_here.v0.17.0
-> removed   ppx_minidebug.2.4.0
-> installed ppx_compare.v0.17.0
-> 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 255 @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 255 @install @runtest
# exit-code            1
# env-file             ~/.opam/log/ppx_minidebug-7-998a02.env
# output-file          ~/.opam/log/ppx_minidebug-7-998a02.out
### output ###
# 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_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_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_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_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_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
#                                        ();
# (cd _build/default/test && ./test_debug_log_nothing.exe)
# 64
# (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_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/b2e99a692c6956998c69be90282f4c94/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/b2e99a692c6956998c69be90282f4c94/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/b2e99a692c6956998c69be90282f4c94/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/b2e99a692c6956998c69be90282f4c94/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/b2e99a692c6956998c69be90282f4c94/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/b2e99a692c6956998c69be90282f4c94/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/b2e99a692c6956998c69be90282f4c94/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/b2e99a692c6956998c69be90282f4c94/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-20251211133137.export"
Or you can retry to install your package selection with:
    /usr/bin/opam install --restore
2025-12-11 13:32.05 ---> saved as "8755082f4d19e17d86c10b6464cb3ceb833c6dbd6d212d9e3399f149504a1486"

/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" "255" "@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_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_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_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_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_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
- (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_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/b2e99a692c6956998c69be90282f4c94/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/b2e99a692c6956998c69be90282f4c94/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/b2e99a692c6956998c69be90282f4c94/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/b2e99a692c6956998c69be90282f4c94/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/b2e99a692c6956998c69be90282f4c94/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/b2e99a692c6956998c69be90282f4c94/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/b2e99a692c6956998c69be90282f4c94/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/b2e99a692c6956998c69be90282f4c94/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 255 @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 255 @install @runtest
# exit-code            1
# env-file             ~/.opam/log/ppx_minidebug-7-c40963.env
# output-file          ~/.opam/log/ppx_minidebug-7-c40963.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_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_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_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_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_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
# (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_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/b2e99a692c6956998c69be90282f4c94/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/b2e99a692c6956998c69be90282f4c94/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/b2e99a692c6956998c69be90282f4c94/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/b2e99a692c6956998c69be90282f4c94/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/b2e99a692c6956998c69be90282f4c94/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/b2e99a692c6956998c69be90282f4c94/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/b2e99a692c6956998c69be90282f4c94/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/b2e99a692c6956998c69be90282f4c94/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
2025-12-11 13:32.29: Job failed: Failed: Build failed
2025-12-11 13:32.29: Log analysis:
2025-12-11 13:32.29: >>> 
[ERROR] The compilation of ppx_minidebug.2.4.0 failed at "dune build -p ppx_minidebug -j 255 @install @runtest".
 (score = 20)
2025-12-11 13:32.29: >>> 
[ERROR] The compilation of ppx_minidebug.2.4.0 failed at "dune build -p ppx_minidebug -j 255 @install @runtest".
 (score = 20)
2025-12-11 13:32.29: The compilation of ppx_minidebug.2.4.0 failed at "dune build -p ppx_minidebug -j 255 @install @runtest".