Build:
- 0
2026-01-13 04:05.02: New job: test duff.0.2 with dune.3.21.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29216/head (001b427da21d4d746e124eaaffab7b4134813f6d)
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/29216/head" && git reset --hard 001b427d
git fetch origin master
git merge --no-edit 1c361fac36225534ee877701522e296785f9a9db
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.14@sha256:d765b54c014ef238f3a84185055fd22f6a5e5bea6d6bbe9ec94a1c7ac9087afa
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 3.21.0
RUN opam reinstall dune.3.21.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" != 'dune.3.21.0' && 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-01-13 04:05.02: Using cache hint "ocaml/opam:debian-13-ocaml-4.14@sha256:d765b54c014ef238f3a84185055fd22f6a5e5bea6d6bbe9ec94a1c7ac9087afa-dune.3.21.0-duff.0.2-001b427da21d4d746e124eaaffab7b4134813f6d"
2026-01-13 04:05.02: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14@sha256:d765b54c014ef238f3a84185055fd22f6a5e5bea6d6bbe9ec94a1c7ac9087afa)
(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 3.21.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall dune.3.21.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\" != 'dune.3.21.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall 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-01-13 04:05.02: Waiting for resource in pool OCluster
2026-01-13 18:55.57: Waiting for worker…
2026-01-13 18:58.47: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
Updating files: 92% (17715/19211)
Updating files: 93% (17867/19211)
Updating files: 94% (18059/19211)
Updating files: 95% (18251/19211)
Updating files: 96% (18443/19211)
Updating files: 97% (18635/19211)
Updating files: 98% (18827/19211)
Updating files: 99% (19019/19211)
Updating files: 100% (19211/19211)
Updating files: 100% (19211/19211), done.
HEAD is now at 1c361fac36 Merge pull request #29210 from dinosaure/release-miou-v0.5.1
Merge made by the 'ort' strategy.
packages/chrome-trace/chrome-trace.3.21.0/opam | 41 ++++++++++++
.../dune-action-plugin.3.21.0/opam | 54 ++++++++++++++++
.../dune-build-info/dune-build-info.3.21.0/opam | 47 ++++++++++++++
.../dune-configurator.3.21.0/opam | 51 +++++++++++++++
packages/dune-glob/dune-glob.3.21.0/opam | 44 +++++++++++++
.../dune-private-libs.3.21.0/opam | 52 +++++++++++++++
packages/dune-rpc-lwt/dune-rpc-lwt.3.21.0/opam | 43 +++++++++++++
packages/dune-rpc/dune-rpc.3.21.0/opam | 46 +++++++++++++
packages/dune-site/dune-site.3.21.0/opam | 39 +++++++++++
packages/dune/dune.3.21.0/opam | 75 ++++++++++++++++++++++
packages/dyn/dyn.3.21.0/opam | 42 ++++++++++++
packages/fs-io/fs-io.3.21.0/opam | 41 ++++++++++++
packages/ocamlc-loc/ocamlc-loc.3.21.0/opam | 45 +++++++++++++
packages/ordering/ordering.3.21.0/opam | 40 ++++++++++++
packages/stdune/stdune.3.21.0/opam | 48 ++++++++++++++
packages/top-closure/top-closure.3.21.0/opam | 40 ++++++++++++
packages/xdg/xdg.3.21.0/opam | 41 ++++++++++++
17 files changed, 789 insertions(+)
create mode 100644 packages/chrome-trace/chrome-trace.3.21.0/opam
create mode 100644 packages/dune-action-plugin/dune-action-plugin.3.21.0/opam
create mode 100644 packages/dune-build-info/dune-build-info.3.21.0/opam
create mode 100644 packages/dune-configurator/dune-configurator.3.21.0/opam
create mode 100644 packages/dune-glob/dune-glob.3.21.0/opam
create mode 100644 packages/dune-private-libs/dune-private-libs.3.21.0/opam
create mode 100644 packages/dune-rpc-lwt/dune-rpc-lwt.3.21.0/opam
create mode 100644 packages/dune-rpc/dune-rpc.3.21.0/opam
create mode 100644 packages/dune-site/dune-site.3.21.0/opam
create mode 100644 packages/dune/dune.3.21.0/opam
create mode 100644 packages/dyn/dyn.3.21.0/opam
create mode 100644 packages/fs-io/fs-io.3.21.0/opam
create mode 100644 packages/ocamlc-loc/ocamlc-loc.3.21.0/opam
create mode 100644 packages/ordering/ordering.3.21.0/opam
create mode 100644 packages/stdune/stdune.3.21.0/opam
create mode 100644 packages/top-closure/top-closure.3.21.0/opam
create mode 100644 packages/xdg/xdg.3.21.0/opam
(from ocaml/opam:debian-13-ocaml-4.14@sha256:d765b54c014ef238f3a84185055fd22f6a5e5bea6d6bbe9ec94a1c7ac9087afa)
2026-01-13 18:58.54 ---> using "2ecda48447fc68e8dcd256d2898af0a11126a077e05d747a0dcdff2845100de1" 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-01-13 18:58.54 ---> using "79eb1218297339daa5e94be48ad16ae73f417b872defa106efeff5b5f3323e6e" from cache
/home/opam: (run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
Configuring from /home/opam/.opamrc-sandbox, then /home/opam/.opamrc, and finally from built-in defaults.
Checking for available remotes: rsync and local, git.
- you won't be able to use mercurial repositories unless you install the hg command on your system.
- you won't be able to use darcs repositories unless you install the darcs command on your system.
This version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2, which can't be reverted.
You may want to back it up before going further.
Continue? [Y/n] y
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-01-13 18:58.54 ---> using "bf81485066c79fc9faf7a51b95869ba9d998fe2bf3de5ff7f59b253fc915122f" from cache
/home/opam: (run (shell "opam option solver=builtin-0install && opam config report"))
Set to 'builtin-0install' the field solver in global configuration
# opam config report
# opam-version 2.5.0
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=debian os-version=13
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 71
# repositories 1 (version-controlled)
# pinned 1 (version)
# current-switch 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-01-13 18:58.54 ---> using "f7c0c02658daf7a6d6c7671a8028e0e553264100bd569724894645b7844f6d7f" 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-01-13 18:58.54 ---> using "9b3e592c65565b9b3dc8b88c605e54ddba818eb105df981d794040a64c2f9916" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2026-01-13 18:58.55 ---> using "09c39d7126e88ed573ca8f78acbffb48c0088baecebf7a9155a91c3290ace20b" from cache
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-01-13 18:58.55 ---> using "1f9ebb837e22c3f42b1c3f6e7178a2aa2fcb8206685e62bba70fde550083c584" from cache
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian trixie InRelease [140 kB]
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian trixie/main amd64 Packages [9670 kB]
- Get:5 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [95.5 kB]
- Fetched 9997 kB in 2s (6510 kB/s)
- Reading package lists...
-
2026-01-13 18:58.55 ---> using "bc5a313c83583d746179a868806b410c236b5a3d4895b7d8bc464eed6cfe706e" from cache
/home/opam: (run (shell "opam pin add -k version -yn dune.3.21.0 3.21.0"))
dune is now pinned to version 3.21.0
2026-01-13 18:58.55 ---> using "448b2b0e77526967dc1d84c9cd1fd4fdf010f08d862d127b94c63a52bbc324d1" from cache
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall dune.3.21.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\" != 'dune.3.21.0' && 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 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 1 package
- install dune 3.21.0 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.21.0 (cached)
-> installed dune.3.21.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-13 18:58.55 ---> using "5acb627376dc8b6ecaceedd8635589b9dfb44ea06abcf3fc03092c3e94ea4126" 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)
-> retrieved topkg.1.1.1 (cached)
-> installed bigarray-compat.1.1.0
-> 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-01-13 18:59.23 ---> saved as "618c394e4dc31ff1911b117aa24ae267b9b4c1dc3f5a94b94ae4807a60036d28"
/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-01-13 18:59.33 ---> saved as "3b96a505166f3304b2967a7c83c5cac4d2ca271b9a81420e10c7ee70e653d361"
/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" "71" (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" "71" (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: [|66; 127; 49; 233; 144; 240; 2; 144; 249; 186; 155; 158|].
- Testing `duff'.
- This run has ID `LBIB81Q1'.
-
- [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.031s. 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-01-13 18:59.42 ---> saved as "6c79bc97531882add18835bfaaf48de5af047938a0ab4308c1511e51f51cefe0"
Job succeeded
2026-01-13 19:00.19: Job succeeded