Build:
  1. 0
2026-03-02 19:35.58: New job: test term-indexing.0.0.1 with dune.3.22.0~alpha0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29497/head (118a690db616b1df5c53d5fa00eb70791a80ae2c)
                              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/29497/head" && git reset --hard 118a690d
git fetch origin master
git merge --no-edit a7b8d1036328cf727af175b657f3d2b732b4d868
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.4@sha256:4add1601135529e9f2e403a25c1c640231c0e871e87f88cf8feab4be5095104c
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.0~alpha0 3.22.0~alpha0
RUN opam reinstall dune.3.22.0~alpha0; \
    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.0~alpha0' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN opam reinstall term-indexing.0.0.1; \
    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" != 'term-indexing.0.0.1' && 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 term-indexing.0.0.1) || true
RUN opam reinstall --with-test --verbose term-indexing.0.0.1; \
    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" != 'term-indexing.0.0.1' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1

END-OF-DOCKERFILE
docker build -f ../Dockerfile .

2026-03-02 19:35.58: Using cache hint "ocaml/opam:debian-13-ocaml-5.4@sha256:4add1601135529e9f2e403a25c1c640231c0e871e87f88cf8feab4be5095104c-dune.3.22.0~alpha0-term-indexing.0.0.1-118a690db616b1df5c53d5fa00eb70791a80ae2c"
2026-03-02 19:35.58: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:4add1601135529e9f2e403a25c1c640231c0e871e87f88cf8feab4be5095104c)
 (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.0~alpha0 3.22.0~alpha0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall dune.3.22.0~alpha0;\
             \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.0~alpha0' && 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 term-indexing.0.0.1;\
             \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\" != 'term-indexing.0.0.1' && 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 term-indexing.0.0.1) || true"))
 (run (shell  "opam reinstall --with-test --verbose term-indexing.0.0.1;\
             \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\" != 'term-indexing.0.0.1' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2026-03-02 19:35.58: Waiting for resource in pool OCluster
2026-03-03 07:41.05: Waiting for worker…
2026-03-03 07:43.23: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
HEAD is now at a7b8d10363 Merge pull request #29489 from anuragsoni/opam-publish-kqueue.0.7.0
Updating a7b8d10363..118a690db6
Fast-forward
 .../chrome-trace/chrome-trace.3.22.0~alpha0/opam   | 39 +++++++++++
 .../dune-action-plugin.3.22.0~alpha0/opam          | 52 +++++++++++++++
 .../dune-action-trace.3.22.0~alpha0/opam           | 40 ++++++++++++
 .../dune-build-info.3.22.0~alpha0/opam             | 45 +++++++++++++
 .../dune-configurator.3.22.0~alpha0/opam           | 49 ++++++++++++++
 packages/dune-glob/dune-glob.3.22.0~alpha0/opam    | 42 ++++++++++++
 .../dune-private-libs.3.22.0~alpha0/opam           | 50 +++++++++++++++
 .../dune-rpc-lwt/dune-rpc-lwt.3.22.0~alpha0/opam   | 41 ++++++++++++
 packages/dune-rpc/dune-rpc.3.22.0~alpha0/opam      | 44 +++++++++++++
 packages/dune-site/dune-site.3.22.0~alpha0/opam    | 37 +++++++++++
 packages/dune/dune.3.22.0~alpha0/opam              | 75 ++++++++++++++++++++++
 packages/dyn/dyn.3.22.0~alpha0/opam                | 40 ++++++++++++
 packages/fs-io/fs-io.3.22.0~alpha0/opam            | 39 +++++++++++
 packages/ocamlc-loc/ocamlc-loc.3.22.0~alpha0/opam  | 43 +++++++++++++
 packages/ordering/ordering.3.22.0~alpha0/opam      | 38 +++++++++++
 packages/stdune/stdune.3.22.0~alpha0/opam          | 46 +++++++++++++
 .../top-closure/top-closure.3.22.0~alpha0/opam     | 38 +++++++++++
 packages/xdg/xdg.3.22.0~alpha0/opam                | 39 +++++++++++
 18 files changed, 797 insertions(+)
 create mode 100644 packages/chrome-trace/chrome-trace.3.22.0~alpha0/opam
 create mode 100644 packages/dune-action-plugin/dune-action-plugin.3.22.0~alpha0/opam
 create mode 100644 packages/dune-action-trace/dune-action-trace.3.22.0~alpha0/opam
 create mode 100644 packages/dune-build-info/dune-build-info.3.22.0~alpha0/opam
 create mode 100644 packages/dune-configurator/dune-configurator.3.22.0~alpha0/opam
 create mode 100644 packages/dune-glob/dune-glob.3.22.0~alpha0/opam
 create mode 100644 packages/dune-private-libs/dune-private-libs.3.22.0~alpha0/opam
 create mode 100644 packages/dune-rpc-lwt/dune-rpc-lwt.3.22.0~alpha0/opam
 create mode 100644 packages/dune-rpc/dune-rpc.3.22.0~alpha0/opam
 create mode 100644 packages/dune-site/dune-site.3.22.0~alpha0/opam
 create mode 100644 packages/dune/dune.3.22.0~alpha0/opam
 create mode 100644 packages/dyn/dyn.3.22.0~alpha0/opam
 create mode 100644 packages/fs-io/fs-io.3.22.0~alpha0/opam
 create mode 100644 packages/ocamlc-loc/ocamlc-loc.3.22.0~alpha0/opam
 create mode 100644 packages/ordering/ordering.3.22.0~alpha0/opam
 create mode 100644 packages/stdune/stdune.3.22.0~alpha0/opam
 create mode 100644 packages/top-closure/top-closure.3.22.0~alpha0/opam
 create mode 100644 packages/xdg/xdg.3.22.0~alpha0/opam

(from ocaml/opam:debian-13-ocaml-5.4@sha256:4add1601135529e9f2e403a25c1c640231c0e871e87f88cf8feab4be5095104c)
2026-03-03 07:43.54 ---> using "3c18c9e472a4f76bc128dc0a5a1e21158ba3dbd0d6773ace6ec33f0cfe6fac9b" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-03-03 07:43.54 ---> using "7a3442ad99cd957e3ce65df65cad40aee4354c6d524c7813b8b589bc410c187e" 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
2026-03-03 07:43.54 ---> using "4214446d06a5b764dff5167574d07a5b4441731262795df63d7a3c5f64e1a189" from cache

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

/home/opam: (env OPAMDOWNLOADJOBS 1)

/home/opam: (env OPAMERRLOGLEN 0)

/home/opam: (env OPAMPRECISETRACKING 1)

/home/opam: (env CI true)

/home/opam: (env OPAM_REPO_CI true)

/home/opam: (run (shell "rm -rf opam-repository/"))
2026-03-03 07:43.54 ---> using "c04e3f046c8eaf07d3d8f4b30debe47a6f7742bcdbfbfeb4d464149613cd35cd" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-03-03 07:43.55 ---> using "eec15e3492f38e67613d1a01ad00877a9a3ba45d19f73e6250e19cd2bda0a34c" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-03-03 07:43.55 ---> using "b219e5557ed366603222e74c0319619404e73f91801374c46bc0615017490834" 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 [113 kB]
- Fetched 203 kB in 0s (2140 kB/s)
- Reading package lists...
2026-03-03 07:43.55 ---> using "411e66a2e15299fe700f96de3484c141af0207f3778de7985d9b3b9532bed7f1" from cache

/home/opam: (run (shell "opam pin add -k version -yn dune.3.22.0~alpha0 3.22.0~alpha0"))
dune is now pinned to version 3.22.0~alpha0
2026-03-03 07:43.55 ---> using "2f9d235ba473e057f7f5361d0a2909273f5e0fdc881489604942445353473ef7" from cache

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

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.22.0~alpha0  (cached)
-> installed dune.3.22.0~alpha0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-03 07:43.55 ---> using "f408636eb0246d657c1391cb7970d0cd4140119dfc0439ba4e0d991b34b6c9dc" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall term-indexing.0.0.1;\
                        \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\" != 'term-indexing.0.0.1' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
term-indexing.0.0.1 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 14 packages
  - install containers        3.18          [required by term-indexing]
  - install csexp             1.5.2         [required by dune-configurator]
  - install dune-configurator 3.22.0~alpha0 [required by containers]
  - install either            1.0.0         [required by containers]
  - install fmt               0.11.0        [required by term-indexing]
  - install hashcons          1.4.0         [required by term-indexing]
  - install ocamlbuild        0.16.1        [required by fmt]
  - install ocamlfind         1.9.8         [required by fmt]
  - install printbox          0.12          [required by term-indexing]
  - install printbox-text     0.12          [required by term-indexing]
  - install term-indexing     0.0.1
  - install topkg             1.1.1         [required by fmt]
  - install uucp              17.0.0        [required by printbox-text]
  - install uutf              1.0.4         [required by printbox-text]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved containers.3.18  (cached)
-> retrieved csexp.1.5.2  (cached)
-> installed csexp.1.5.2
-> retrieved dune-configurator.3.22.0~alpha0  (cached)
-> retrieved either.1.0.0  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved hashcons.1.4.0  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved printbox.0.12, printbox-text.0.12  (cached)
-> installed either.1.0.0
-> retrieved term-indexing.0.0.1  (cached)
-> retrieved topkg.1.1.1  (cached)
-> installed hashcons.1.4.0
-> retrieved uucp.17.0.0  (cached)
-> retrieved uutf.1.0.4  (cached)
-> installed printbox.0.12
-> installed dune-configurator.3.22.0~alpha0
-> installed containers.3.18
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed uucp.17.0.0
-> installed printbox-text.0.12
-> installed term-indexing.0.0.1
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-03 07:44.29 ---> saved as "20c14acc3a3b9a1a55133d7260b12aa1f1553a2e6e11f4cc77cdf852f5e1ee03"

/home/opam: (run (network host)
                 (shell "(opam reinstall --with-test term-indexing.0.0.1) || true"))
The following actions will be performed:
=== recompile 5 packages
  - recompile fmt                0.11.0 [uses cmdliner]
  - recompile printbox-text      0.12   [uses uucp, uutf]
  - recompile term-indexing      0.0.1
  - recompile uucp               17.0.0 [uses cmdliner]
  - recompile uutf               1.0.4  [uses cmdliner]
=== install 12 packages
  - install   alcotest           1.9.1  [required by term-indexing]
  - install   astring            0.8.5  [required by alcotest]
  - install   cmdliner           2.1.0  [required by alcotest]
  - install   ocaml-syntax-shims 1.0.0  [required by alcotest]
  - install   ounit2             2.2.7  [required by qcheck-ounit]
  - install   qcheck             0.91   [required by term-indexing]
  - install   qcheck-alcotest    0.91   [required by term-indexing]
  - install   qcheck-core        0.91   [required by term-indexing]
  - install   qcheck-ounit       0.91   [required by qcheck]
  - install   re                 1.14.0 [required by alcotest]
  - install   seq                base   [required by ounit2]
  - install   stdlib-shims       0.3.0  [required by alcotest]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.9.1  (https://opam.ocaml.org/cache)
-> retrieved astring.0.8.5  (https://opam.ocaml.org/cache)
-> retrieved cmdliner.2.1.0  (https://opam.ocaml.org/cache)
-> retrieved fmt.0.11.0  (https://opam.ocaml.org/cache)
-> retrieved ocaml-syntax-shims.1.0.0  (https://opam.ocaml.org/cache)
-> retrieved ounit2.2.2.7  (https://opam.ocaml.org/cache)
-> retrieved printbox-text.0.12  (https://opam.ocaml.org/cache)
-> retrieved qcheck.0.91, qcheck-alcotest.0.91, qcheck-core.0.91, qcheck-ounit.0.91  (https://opam.ocaml.org/cache)
-> retrieved re.1.14.0  (https://opam.ocaml.org/cache)
-> retrieved seq.base  (2 extra sources)
-> retrieved seq.base  (2 extra sources)
-> installed seq.base
-> installed ocaml-syntax-shims.1.0.0
-> retrieved stdlib-shims.0.3.0  (https://opam.ocaml.org/cache)
-> retrieved term-indexing.0.0.1  (https://opam.ocaml.org/cache)
-> installed astring.0.8.5
-> installed stdlib-shims.0.3.0
-> retrieved uucp.17.0.0  (https://opam.ocaml.org/cache)
-> retrieved uutf.1.0.4  (https://opam.ocaml.org/cache)
-> installed re.1.14.0
-> installed qcheck-core.0.91
-> installed ounit2.2.2.7
-> installed qcheck-ounit.0.91
-> installed qcheck.0.91
-> removed   term-indexing.0.0.1
-> removed   fmt.0.11.0
-> removed   printbox-text.0.12
-> removed   uucp.17.0.0
-> removed   uutf.1.0.4
-> installed cmdliner.2.1.0
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed alcotest.1.9.1
-> installed qcheck-alcotest.0.91
-> installed uucp.17.0.0
-> installed printbox-text.0.12
-> installed term-indexing.0.0.1
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-03 07:45.43 ---> saved as "9615fd016fb2f479900a9d36d96d4cbe6de766baa39eb9ee00c214c482f8ab9b"

/home/opam: (run (shell  "opam reinstall --with-test --verbose term-indexing.0.0.1;\
                        \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\" != 'term-indexing.0.0.1' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
The following actions will be performed:
=== recompile 1 package
  - recompile term-indexing 0.0.1

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/4: [term-indexing.0.0.1: extract]
-> retrieved term-indexing.0.0.1  (cached)
Processing  2/4: [term-indexing: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "term-indexing" "-j" "255" "@install" "@runtest" (CWD=/home/opam/.opam/5.4/.opam-switch/build/term-indexing.0.0.1)
- (cd _build/default && /home/opam/.opam/5.4/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I test/.path_test.eobjs/byte -I /home/opam/.opam/5.4/lib/alcotest -I /home/opam/.opam/5.4/lib/containers -I /home/opam/.opam/5.4/lib/fmt -I /home/opam/.opam/5.4/lib/hashcons -I /home/opam/.opam/5.4/lib/qcheck -I /home/opam/.opam/5.4/lib/qcheck-alcotest -I /home/opam/.opam/5.4/lib/qcheck-core -I lib/.term_indexing.objs/byte -no-alias-deps -open Dune__exe -o test/.path_test.eobjs/byte/dune__exe__Arith.cmo -c -impl test/arith.ml)
- File "test/arith.ml", line 157, characters 2-16:
- 157 |   Gen.frequencya
-         ^^^^^^^^^^^^^^
- Alert deprecated: Gen.frequencya
- Use [oneof_array_weighted] instead
- 
- File "test/arith.ml", line 176, characters 4-17:
- 176 |     Gen.small_int |> Gen.map (fun i -> float (float_of_int i +. 0.5))
-           ^^^^^^^^^^^^^
- Alert deprecated: Gen.small_int
- Use [nat_small] instead
- 
- File "test/arith.ml", line 201, characters 21-30:
- 201 |                 else small_nat >|= var)
-                            ^^^^^^^^^
- Alert deprecated: Gen.small_nat
- Use [nat_small] instead
- 
- File "test/arith.ml", line 241, characters 2-11:
- 241 |   small_nat >|= enumerate >>= fun domain ->
-         ^^^^^^^^^
- Alert deprecated: Gen.small_nat
- Use [nat_small] instead
- 
- File "test/arith.ml", line 242, characters 2-11:
- 242 |   flatten_l (List.map term_gen domain) >|= fun l -> Subst.of_seq (List.to_seq l)
-         ^^^^^^^^^
- Alert deprecated: Gen.flatten_l
- Use [flatten_list] instead
- (cd _build/default && /home/opam/.opam/5.4/bin/ocamlopt.opt -w -40 -g -I test/.path_test.eobjs/byte -I test/.path_test.eobjs/native -I /home/opam/.opam/5.4/lib/alcotest -I /home/opam/.opam/5.4/lib/containers -I /home/opam/.opam/5.4/lib/fmt -I /home/opam/.opam/5.4/lib/hashcons -I /home/opam/.opam/5.4/lib/qcheck -I /home/opam/.opam/5.4/lib/qcheck-alcotest -I /home/opam/.opam/5.4/lib/qcheck-core -I lib/.term_indexing.objs/byte -I lib/.term_indexing.objs/native -cmi-file test/.path_test.eobjs/byte/dune__exe__Arith.cmi -no-alias-deps -open Dune__exe -o test/.path_test.eobjs/native/dune__exe__Arith.cmx -c -impl test/arith.ml)
- File "test/arith.ml", line 157, characters 2-16:
- 157 |   Gen.frequencya
-         ^^^^^^^^^^^^^^
- Alert deprecated: Gen.frequencya
- Use [oneof_array_weighted] instead
- 
- File "test/arith.ml", line 176, characters 4-17:
- 176 |     Gen.small_int |> Gen.map (fun i -> float (float_of_int i +. 0.5))
-           ^^^^^^^^^^^^^
- Alert deprecated: Gen.small_int
- Use [nat_small] instead
- 
- File "test/arith.ml", line 201, characters 21-30:
- 201 |                 else small_nat >|= var)
-                            ^^^^^^^^^
- Alert deprecated: Gen.small_nat
- Use [nat_small] instead
- 
- File "test/arith.ml", line 241, characters 2-11:
- 241 |   small_nat >|= enumerate >>= fun domain ->
-         ^^^^^^^^^
- Alert deprecated: Gen.small_nat
- Use [nat_small] instead
- 
- File "test/arith.ml", line 242, characters 2-11:
- 242 |   flatten_l (List.map term_gen domain) >|= fun l -> Subst.of_seq (List.to_seq l)
-         ^^^^^^^^^
- Alert deprecated: Gen.flatten_l
- Use [flatten_list] instead
- (cd _build/default && /home/opam/.opam/5.4/bin/ocamlopt.opt -w -40 -g -I test/.path_test.eobjs/byte -I test/.path_test.eobjs/native -I /home/opam/.opam/5.4/lib/alcotest -I /home/opam/.opam/5.4/lib/containers -I /home/opam/.opam/5.4/lib/fmt -I /home/opam/.opam/5.4/lib/hashcons -I /home/opam/.opam/5.4/lib/qcheck -I /home/opam/.opam/5.4/lib/qcheck-alcotest -I /home/opam/.opam/5.4/lib/qcheck-core -I lib/.term_indexing.objs/byte -I lib/.term_indexing.objs/native -cmi-file test/.path_test.eobjs/byte/dune__exe__Index_test.cmi -no-alias-deps -open Dune__exe -o test/.path_test.eobjs/native/dune__exe__Index_test.cmx -c -impl test/index_test.ml)
- File "test/index_test.ml", line 290, characters 6-19:
- 290 |       Gen.small_int |> Gen.map (fun i -> float (float_of_int i +. 0.5))
-             ^^^^^^^^^^^^^
- Alert deprecated: QCheck2.Gen.small_int
- Use [nat_small] instead
- 
- File "test/index_test.ml", line 310, characters 20-29:
- 310 |           | `Var -> small_nat >>= fun i -> return (var i)
-                           ^^^^^^^^^
- Alert deprecated: QCheck2.Gen.small_nat
- Use [nat_small] instead
- 
- File "test/index_test.ml", line 319, characters 18-32:
- 319 |   let gen_terms = Gen.small_list gen
-                         ^^^^^^^^^^^^^^
- Alert deprecated: QCheck2.Gen.small_list
- Use [list_small] instead
- (cd _build/default/test && ./int_option_test.exe)
- Testing `Int_option'.
- This run has ID `S3YZMR7T'.
- 
-   [OK]          of_int_fail            0   of_int_fail.
-   [OK]          pp                     0   pp.
-   [OK]          unsafe_to_int          0   unsafe_to_int.
- 
- Full test results in `~/.opam/5.4/.opam-switch/build/term-indexing.0.0.1/_build/default/test/_build/_tests/Int_option'.
- Test Successful in 0.000s. 3 tests run.
- (cd _build/default/test && ./path_test.exe)
- qcheck random seed: 781779878
- Testing `path'.
- This run has ID `MLVPWW8P'.
- 
-   [OK]          short_path_hash_injectivity          0   path_hash_injectivity.
-   [OK]          path_concat                          0   test_path_concat.
- 
- Full test results in `~/.opam/5.4/.opam-switch/build/term-indexing.0.0.1/_build/default/test/_build/_tests/path'.
- Test Successful in 0.004s. 2 tests run.
- (cd _build/default/test && ./rewriting_test.exe)
- Testing `rewriting'.
- This run has ID `TTCR1R3E'.
- 
-   [OK]          basic          0   basic_rewrite.
-   [OK]          focus          0   focused_rewrite.
- 
- Full test results in `~/.opam/5.4/.opam-switch/build/term-indexing.0.0.1/_build/default/test/_build/_tests/rewriting'.
- Test Successful in 0.000s. 2 tests run.
- (cd _build/default/test && ./term_test.exe)
- qcheck random seed: 945376106
- Testing `term'.
- This run has ID `6PYTTP9S'.
- 
-   [OK]          fold_lexicographic          0   fold_lexicographic.
-   [OK]          fold_variables              0   fold_variables.
-   [OK]          canon                       0   canon_variable_count.
-   [OK]          canon                       1   canon_idempotent.
- 
- Full test results in `~/.opam/5.4/.opam-switch/build/term-indexing.0.0.1/_build/default/test/_build/_tests/term'.
- Test Successful in 0.005s. 4 tests run.
- (cd _build/default/test && ./subst_test.exe)
- qcheck random seed: 863871495
- Testing `subst'.
- This run has ID `7XVHOSBZ'.
- 
-   [OK]          subst                0   subst-seq-inverse.
-   [OK]          subst                1   subst-seq-shadow-earlier-bindings.
-   [OK]          subst                2   subst-add-shadow-earlier-bindings.
-   [OK]          unification          0   unification-diag.
-   [OK]          unification          1   unif-commutative.
-   [OK]          unification          2   unification-case-1.
-   [OK]          unification          3   unification-case-2.
-   [OK]          unification          4   unification-case-3.
-   [OK]          unification          5   unification-regressions.
-   [OK]          unification          6   generalize-diag.
-   [OK]          unification          7   generalize-cases.
- 
- Full test results in `~/.opam/5.4/.opam-switch/build/term-indexing.0.0.1/_build/default/test/_build/_tests/subst'.
- Test Successful in 0.095s. 11 tests run.
- (cd _build/default/test && ./index_test.exe)
- qcheck random seed: 743803094
- Testing `index'.
- This run has ID `BFH82M16'.
- 
-   [OK]          subst-tree                      0   eff-subst-tree-insert.
-   [OK]          subst-tree                      1   eff-subst-tree-insert-ter...
-   [OK]          index-basic-eff                 0   eff-index-basic.
-   [OK]          index-basic-eff                 1   eff-index-cant-overwrite.
-   [OK]          index-basic-eff                 2   eff-index-query-generalize.
-   [OK]          index-basic-eff                 3   eff-index-query-specialize.
-   [OK]          index-basic-eff                 4   eff-index-overlapping-vars.
-   [OK]          regressions                     0   regr1_specialize.
-   [OK]          regressions                     1   regr2_specialize.
-   [OK]          regressions                     2   regr3_generalize.
-   [OK]          regressions                     3   regr5_generalize.
-   [OK]          regressions                     4   regr4_generalize.
-   [OK]          regressions                     5   regr6_generalize.
-   [OK]          regressions                     6   regr7_unification.
-   [OK]          regressions                     7   regr8_generalize.
-   [OK]          regressions                     8   regr9_generalize.
-   [OK]          regressions                     9   regr10_specialize.
-   [OK]          test-against-reference          0   unification.
-   [OK]          test-against-reference          1   generalize.
-   [OK]          test-against-reference          2   specialize.
- 
- Full test results in `~/.opam/5.4/.opam-switch/build/term-indexing.0.0.1/_build/default/test/_build/_tests/index'.
- Test Successful in 45.826s. 20 tests run.
-> compiled  term-indexing.0.0.1
-> removed   term-indexing.0.0.1
-> installed term-indexing.0.0.1
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-03 07:46.33 ---> saved as "f877ccb7ede6def76f2a9be5802d509ba6f825d6fc956c9ac3afb4afd019086a"
Job succeeded
2026-03-03 07:46.43: Job succeeded