Build:
- 0
2026-03-02 19:24.05: New job: test duff.0.2 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-4.14/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-4.14@sha256:ae45d5e5a934874dc44b0d004f6b8a813fba3f355216f78a39ed4f25a53e478a
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 duff.0.2; \
res=$?; \
test "$res" != 31 && exit "$res"; \
export OPAMCLI=2.0; \
build_dir=$(opam var prefix)/.opam-switch/build; \
failed=$(ls "$build_dir"); \
partial_fails=""; \
for pkg in $failed; do \
if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-13\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'duff.0.2' && 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 duff.0.2) || true
RUN opam reinstall --with-test --verbose duff.0.2; \
res=$?; \
test "$res" != 31 && exit "$res"; \
export OPAMCLI=2.0; \
build_dir=$(opam var prefix)/.opam-switch/build; \
failed=$(ls "$build_dir"); \
partial_fails=""; \
for pkg in $failed; do \
if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-13\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'duff.0.2' && 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:24.05: Using cache hint "ocaml/opam:debian-13-ocaml-4.14@sha256:ae45d5e5a934874dc44b0d004f6b8a813fba3f355216f78a39ed4f25a53e478a-dune.3.22.0~alpha0-duff.0.2-118a690db616b1df5c53d5fa00eb70791a80ae2c"
2026-03-02 19:24.05: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14@sha256:ae45d5e5a934874dc44b0d004f6b8a813fba3f355216f78a39ed4f25a53e478a)
(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 duff.0.2;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'duff.0.2' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
(run (network host)
(shell "(opam reinstall --with-test duff.0.2) || true"))
(run (shell "opam reinstall --with-test --verbose duff.0.2;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'duff.0.2' && 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:24.05: Waiting for resource in pool OCluster
2026-03-03 05:41.18: Waiting for worker…
2026-03-03 05:43.59: 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-4.14@sha256:ae45d5e5a934874dc44b0d004f6b8a813fba3f355216f78a39ed4f25a53e478a)
2026-03-03 05:54.21 ---> using "40de8e47c13dd397f7466181b47c70cd31f6d05f624f7f51643a7089a29a5322" 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 05:54.21 ---> using "11e955cadb21ab08a7e8407d7e49d7e8b8232723aa9e80323bab6a7d993e9a38" 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 05:54.21 ---> using "b84411f14b612833c97eea3b0fb49d7afb0294cf8c4774caaff1f8b0f1bd5849" 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 4.14
# invariant ["ocaml-base-compiler" {= "4.14.2"}]
# compiler-packages ocaml-base-compiler.4.14.2, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/4.14/lib/ocaml/stublibs:/home/opam/.opam/4.14/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 4.14.2
2026-03-03 05:54.21 ---> using "bc1392749f7c1b1568053e91f3061e53f54f3bf6892fcf3fa14761d0f2fabccc" 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 05:54.21 ---> using "0f88aad717079fee185cb5f7b0853d5dede0158dafac18dc05292641ad1318aa" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2026-03-03 05:54.22 ---> using "cf2f29575da4e00ad2c0e3200eaf5375ace45ec778f515d81ffd2e5eb96c41f1" from cache
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-03-03 05:54.22 ---> using "c517023779902244dbe5c8fbf440d1dd4569daf367c1e2ee7dd7eb370c41d91c" 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 (1833 kB/s)
- Reading package lists...
2026-03-03 05:54.22 ---> using "a2e6599fe15f34bfd0a71de19dbfccfacdc1f910f7a37fea793bb8ff67d4ba47" 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 05:54.22 ---> using "9ecf7f496eb9b328aa3c8f7333a40a30e123b33b9d8b5606b7ac6bfc2b62fac7" 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 05:54.22 ---> using "1d093925996c7908c33a8109d0c1a7be5172d79d6a00aabc511d552ee2499f33" from cache
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall duff.0.2;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'duff.0.2' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
duff.0.2 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 13 packages
- install astring 0.8.5 [required by bos]
- install bigarray-compat 1.1.0 [required by cstruct]
- install bos 0.2.1 [required by duff]
- install cmdliner 1.0.4 [required by duff]
- install cstruct 6.0.1 [required by duff]
- install duff 0.2
- install fmt 0.9.0 [required by duff]
- install fpath 0.7.3 [required by duff]
- install logs 0.7.0 [required by duff]
- install ocamlbuild 0.16.1 [required by bos]
- install ocamlfind 1.9.8 [required by bos]
- install rresult 0.7.0 [required by bos]
- install topkg 1.1.1 [required by bos]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5 (cached)
-> retrieved bigarray-compat.1.1.0 (cached)
-> retrieved bos.0.2.1 (cached)
-> retrieved cmdliner.1.0.4 (cached)
-> retrieved cstruct.6.0.1 (cached)
-> retrieved duff.0.2 (cached)
-> retrieved fmt.0.9.0 (cached)
-> retrieved fpath.0.7.3 (cached)
-> retrieved logs.0.7.0 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved rresult.0.7.0 (cached)
-> installed bigarray-compat.1.1.0
-> retrieved topkg.1.1.1 (cached)
-> installed cstruct.6.0.1
-> installed cmdliner.1.0.4
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed rresult.0.7.0
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed logs.0.7.0
-> installed fpath.0.7.3
-> installed bos.0.2.1
-> installed duff.0.2
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-03 05:54.37 ---> saved as "262bda61030bd4064966e0dcf68e56160b0a99da2a71249349521ff8128e9420"
/home/opam: (run (network host)
(shell "(opam reinstall --with-test duff.0.2) || true"))
The following actions will be performed:
=== recompile 1 package
- recompile duff 0.2
=== install 5 packages
- install alcotest 1.5.0 [required by duff]
- install ocaml-syntax-shims 1.0.0 [required by alcotest]
- install re 1.14.0 [required by alcotest]
- install stdlib-shims 0.3.0 [required by alcotest]
- install uutf 1.0.3 [required by alcotest]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.5.0 (https://opam.ocaml.org/cache)
-> retrieved duff.0.2 (https://opam.ocaml.org/cache)
-> retrieved ocaml-syntax-shims.1.0.0 (https://opam.ocaml.org/cache)
-> retrieved re.1.14.0 (https://opam.ocaml.org/cache)
-> retrieved stdlib-shims.0.3.0 (https://opam.ocaml.org/cache)
-> retrieved uutf.1.0.3 (https://opam.ocaml.org/cache)
-> installed stdlib-shims.0.3.0
-> installed ocaml-syntax-shims.1.0.0
-> installed re.1.14.0
-> removed duff.0.2
-> installed uutf.1.0.3
-> installed alcotest.1.5.0
-> installed duff.0.2
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-03 05:54.43 ---> saved as "5ba53f18c08109c86d8a88f0932c6dc3f320985b010420381201072ce97ab5fc"
/home/opam: (run (shell "opam reinstall --with-test --verbose duff.0.2;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'duff.0.2' && 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 duff 0.2
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 1/4: [duff.0.2: extract]
-> retrieved duff.0.2 (cached)
Processing 2/4: [duff: dune subst]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "subst" (CWD=/home/opam/.opam/4.14/.opam-switch/build/duff.0.2)
Processing 2/4: [duff: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "duff" "-j" "255" (CWD=/home/opam/.opam/4.14/.opam-switch/build/duff.0.2)
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I lib/.duff.objs/byte -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/fmt -intf-suffix .ml -no-alias-deps -o lib/.duff.objs/byte/duff.cmo -c -impl lib/duff.ml)
- File "lib/duff.ml", line 220, characters 9-20:
- 220 | 3 + (Cstruct.len buff + 1) + 1 + (Array.fold_left (fun acc x -> List.length x * 4 + 1 + acc) 1 hash)
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/duff.ml", line 231, characters 16-27:
- 231 | then min (Cstruct.len buf) 0xFFFFFFFE
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/duff.ml", line 232, characters 16-27:
- 232 | else min (Cstruct.len buf) max_int in
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/duff.ml", line 252, characters 43-54:
- 252 | let hash = Hash.hash buf (!idx + 1) (Cstruct.len buf) in
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/duff.ml", line 394, characters 16-27:
- 394 | let len = Cstruct.len buf in
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/duff.ml", line 404, characters 12-23:
- 404 | let len = Cstruct.len c in
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/duff.ml", line 430, characters 16-27:
- 430 | let src_len = Cstruct.len src in
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/duff.ml", line 431, characters 16-27:
- 431 | let dst_len = Cstruct.len dst in
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/duff.ml", line 531, characters 63-74:
- 531 | Index.Hash.hash buf (offset + copy_len - V.window) (Cstruct.len buf))
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/duff.ml", line 535, characters 38-49:
- 535 | let hash = Index.Hash.hash buf 0 (Cstruct.len buf) in
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/duff.ml", line 536, characters 33-44:
- 536 | let consumed = min V.window (Cstruct.len buf) in
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -I lib/.duff.objs/byte -I lib/.duff.objs/native -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/fmt -intf-suffix .ml -no-alias-deps -o lib/.duff.objs/native/duff.cmx -c -impl lib/duff.ml)
- File "lib/duff.ml", line 220, characters 9-20:
- 220 | 3 + (Cstruct.len buff + 1) + 1 + (Array.fold_left (fun acc x -> List.length x * 4 + 1 + acc) 1 hash)
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/duff.ml", line 231, characters 16-27:
- 231 | then min (Cstruct.len buf) 0xFFFFFFFE
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/duff.ml", line 232, characters 16-27:
- 232 | else min (Cstruct.len buf) max_int in
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/duff.ml", line 252, characters 43-54:
- 252 | let hash = Hash.hash buf (!idx + 1) (Cstruct.len buf) in
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/duff.ml", line 394, characters 16-27:
- 394 | let len = Cstruct.len buf in
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/duff.ml", line 404, characters 12-23:
- 404 | let len = Cstruct.len c in
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/duff.ml", line 430, characters 16-27:
- 430 | let src_len = Cstruct.len src in
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/duff.ml", line 431, characters 16-27:
- 431 | let dst_len = Cstruct.len dst in
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/duff.ml", line 531, characters 63-74:
- 531 | Index.Hash.hash buf (offset + copy_len - V.window) (Cstruct.len buf))
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/duff.ml", line 535, characters 38-49:
- 535 | let hash = Index.Hash.hash buf 0 (Cstruct.len buf) in
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/duff.ml", line 536, characters 33-44:
- 536 | let consumed = min V.window (Cstruct.len buf) in
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
Processing 2/4: [duff: dune runtest]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "runtest" "-p" "duff" "-j" "255" (CWD=/home/opam/.opam/4.14/.opam-switch/build/duff.0.2)
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I test/.test.eobjs/byte -I /home/opam/.opam/4.14/lib/alcotest -I /home/opam/.opam/4.14/lib/alcotest/engine -I /home/opam/.opam/4.14/lib/alcotest/stdlib_ext -I /home/opam/.opam/4.14/lib/astring -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/cmdliner -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/re -I /home/opam/.opam/4.14/lib/stdlib-shims -I /home/opam/.opam/4.14/lib/uutf -I lib/.duff.objs/byte -no-alias-deps -o test/.test.eobjs/byte/test.cmo -c -impl test/test.ml)
- File "test/test.ml", line 22, characters 22-30:
- 22 | Alcotest.test_case (Fmt.strf "random:%d" length) `Quick
- ^^^^^^^^
- Alert deprecated: Fmt.strf
- use Fmt.str instead.
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -I test/.test.eobjs/byte -I test/.test.eobjs/native -I /home/opam/.opam/4.14/lib/alcotest -I /home/opam/.opam/4.14/lib/alcotest/engine -I /home/opam/.opam/4.14/lib/alcotest/stdlib_ext -I /home/opam/.opam/4.14/lib/astring -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/cmdliner -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/re -I /home/opam/.opam/4.14/lib/stdlib-shims -I /home/opam/.opam/4.14/lib/uutf -I lib/.duff.objs/byte -I lib/.duff.objs/native -intf-suffix .ml -no-alias-deps -o test/.test.eobjs/native/test.cmx -c -impl test/test.ml)
- File "test/test.ml", line 22, characters 22-30:
- 22 | Alcotest.test_case (Fmt.strf "random:%d" length) `Quick
- ^^^^^^^^
- Alert deprecated: Fmt.strf
- use Fmt.str instead.
- (cd _build/default/test && ./test.exe)
- seed: [|56; 117; 182; 34; 1; 79; 123; 123; 63; 0; 252; 2|].
- Testing `duff'.
- This run has ID `CED1CKQ1'.
-
- [OK] random iso 0 random:1024.
- [OK] random iso 1 random:1024.
- [OK] random iso 2 random:1024.
- [OK] random iso 3 random:1024.
- [OK] random iso 4 random:1024.
- [OK] random iso 5 random:1024.
- [OK] random iso 6 random:1024.
- [OK] random iso 7 random:1024.
- [OK] random iso 8 random:1024.
- [OK] random iso 9 random:1024.
- [OK] random iso 10 random:1024.
- [OK] random iso 11 random:1024.
- [OK] random iso 12 random:1024.
- [OK] random iso 13 random:1024.
- [OK] random iso 14 random:1024.
- [OK] random iso 15 random:1024.
- [OK] random iso 16 random:1024.
- [OK] random iso 17 random:1024.
- [OK] random iso 18 random:1024.
- [OK] random iso 19 random:1024.
- [OK] random iso 20 random:1024.
- [OK] random iso 21 random:1024.
- [OK] random iso 22 random:1024.
- [OK] random iso 23 random:1024.
- [OK] random iso 24 random:1024.
- [OK] random iso 25 random:1024.
- [OK] random iso 26 random:1024.
- [OK] random iso 27 random:1024.
- [OK] random iso 28 random:1024.
- [OK] random iso 29 random:1024.
- [OK] random iso 30 random:1024.
- [OK] random iso 31 random:1024.
- [OK] random iso 32 random:1024.
- [OK] random iso 33 random:1024.
- [OK] random iso 34 random:1024.
- [OK] random iso 35 random:1024.
- [OK] random iso 36 random:1024.
- [OK] random iso 37 random:1024.
- [OK] random iso 38 random:1024.
- [OK] random iso 39 random:1024.
- [OK] random iso 40 random:1024.
- [OK] random iso 41 random:1024.
- [OK] random iso 42 random:1024.
- [OK] random iso 43 random:1024.
- [OK] random iso 44 random:1024.
- [OK] random iso 45 random:1024.
- [OK] random iso 46 random:1024.
- [OK] random iso 47 random:1024.
- [OK] random iso 48 random:1024.
- [OK] random iso 49 random:1024.
- [OK] random iso 50 random:1024.
- [OK] random iso 51 random:1024.
- [OK] random iso 52 random:1024.
- [OK] random iso 53 random:1024.
- [OK] random iso 54 random:1024.
- [OK] random iso 55 random:1024.
- [OK] random iso 56 random:1024.
- [OK] random iso 57 random:1024.
- [OK] random iso 58 random:1024.
- [OK] random iso 59 random:1024.
- [OK] random iso 60 random:1024.
- [OK] random iso 61 random:1024.
- [OK] random iso 62 random:1024.
- [OK] random iso 63 random:1024.
-
- Full test results in `~/.opam/4.14/.opam-switch/build/duff.0.2/_build/default/test/_build/_tests/duff'.
- Test Successful in 0.013s. 64 tests run.
-> compiled duff.0.2
-> removed duff.0.2
-> installed duff.0.2
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-03 05:54.48 ---> saved as "40564b56971db63c6c2837e21f4511853b3cc7b421fde902cf4ceff28c8bb7e1"
Job succeeded
2026-03-03 05:54.54: Job succeeded