2025-09-18 08:04.47: New job: test gs0510/index https://github.com/gs0510/index.git#refs/heads/master (8f2e73f68db6634484e605257f976bc281d811f1) (linux-x86_64:alpine-3.22-5.3_opam-2.4)
Base: ocaml/opam:alpine-3.22-ocaml-5.3@sha256:f501424e898b9ffd369a23e97280207e9a7234cff46e3a314f30c7826d92accb
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/gs0510/index.git" -b "master" && cd "index" && git reset --hard 8f2e73f6
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.22-ocaml-5.3@sha256:f501424e898b9ffd369a23e97280207e9a7234cff46e3a314f30c7826d92accb
# alpine-3.22-5.3_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
WORKDIR /src
RUN sudo chown opam /src
RUN cd ~/opam-repository && (git cat-file -e 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 index.opam index-bench.opam ./
RUN opam pin add -yn index.dev './' && \
opam pin add -yn index-bench.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="afl-persistent.1.4 alcotest.1.9.0 astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.1.3.0 conf-gnuplot.0.1 cppo.1.8.0 crowbar.0.2.1 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 fmt.0.11.0 logs.0.9.0 lwt.5.9.2 metrics.0.5.0 metrics-unix.0.5.0 mtime.2.1.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ppx_derivers.1.2.1 ppx_deriving.6.1.1 ppx_deriving_yojson.3.10.0 ppxlib.0.36.0 re.1.13.2 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.1.0 uuidm.0.9.10 uutf.1.0.4 yojson.3.0.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y index.dev index-bench.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build @install @check @runtest && rm -rf _build
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2025-09-18 08:04.47: Using cache hint "gs0510/index-ocaml/opam:alpine-3.22-ocaml-5.3@sha256:f501424e898b9ffd369a23e97280207e9a7234cff46e3a314f30c7826d92accb-alpine-3.22-5.3_opam-2.4-693782a7907e5ecedeb3e07ab810db4b"
2025-09-18 08:04.47: Using OBuilder spec:
((from ocaml/opam:alpine-3.22-ocaml-5.3@sha256:f501424e898b9ffd369a23e97280207e9a7234cff46e3a314f30c7826d92accb)
(comment alpine-3.22-5.3_opam-2.4)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
(run (shell "opam init --reinit -ni"))
(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
(workdir /src)
(run (shell "sudo chown opam /src"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src index.opam index-bench.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn index.dev './' && \
\nopam pin add -yn index-bench.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "afl-persistent.1.4 alcotest.1.9.0 astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.1.3.0 conf-gnuplot.0.1 cppo.1.8.0 crowbar.0.2.1 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 fmt.0.11.0 logs.0.9.0 lwt.5.9.2 metrics.0.5.0 metrics-unix.0.5.0 mtime.2.1.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ppx_derivers.1.2.1 ppx_deriving.6.1.1 ppx_deriving_yojson.3.10.0 ppxlib.0.36.0 re.1.13.2 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.1.0 uuidm.0.9.10 uutf.1.0.4 yojson.3.0.0")
(env CI true)
(env OCAMLCI true)
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.4 --depext-only -y index.dev index-bench.dev $DEPS"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst /src))
(run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
)
2025-09-18 08:04.47: Waiting for resource in pool OCluster
2025-09-18 08:04.47: Waiting for worker…
2025-09-18 08:04.48: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
HEAD is now at 8f2e73f Update cache.ml
(from ocaml/opam:alpine-3.22-ocaml-5.3@sha256:f501424e898b9ffd369a23e97280207e9a7234cff46e3a314f30c7826d92accb)
2025-09-18 08:05.00 ---> saved as "8f6725b8b163d90d30de9c8c5e177342b07667db3354753a70bac272bfe2db9a"
/: (comment alpine-3.22-5.3_opam-2.4)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-09-18 08:05.00 ---> saved as "60019b56f0ac74bc487e6a10b94f217078fa011d487a7997fa89d230b8fe3f32"
/src: (run (shell "opam init --reinit -ni"))
Configuring from /home/opam/.opamrc and then 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 255 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=255 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-09-18 08:05.35 ---> saved as "c7cb638e7bebf3467944086dced2eb9f0c9b58d22b77655b91aec66202bcf666"
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 5.3.0
2.4.1
2025-09-18 08:05.36 ---> saved as "5af03bae8557c8c98fd3e2ecd3885ecd1490b81dcd2aa79041a221f15d3c966b"
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-09-18 08:05.36 ---> saved as "5bd0e598f405f99fe9f4df6e79f9f9a0efe772994aa367852a5bf2612bd3eb66"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
bcac5d1731..151ffce963 master -> origin/master
6ef6813522 Merge pull request #28449 from dra27/ocaml-compiler-msvc
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository
Already up-to-date.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-09-18 08:06.19 ---> saved as "fb93bdd5898e6e14028909db279c073f6d89f2d9a1d4b0c91000e67fc13a937a"
/src: (copy (src index.opam index-bench.opam) (dst ./))
2025-09-18 08:06.20 ---> saved as "bfef4f92348a371ce1c2c30b5776a7a6481355fe33584649719daa354ff1f972"
/src: (run (network host)
(shell "opam pin add -yn index.dev './' && \
\nopam pin add -yn index-bench.dev './'"))
[index.dev] synchronised (file:///src)
index is now pinned to file:///src (version dev)
[index-bench.dev] synchronised (file:///src)
index-bench is now pinned to file:///src (version dev)
2025-09-18 08:06.29 ---> saved as "bee11fb72cbd740777d362674d09e0593ca1b86b72ee30eaf35f3e311b7f56de"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-09-18 08:06.30 ---> saved as "ee348549579661424dc74c399e9864c21d67745cfe2613f87aa9ac3c36f0f405"
/src: (env DEPS "afl-persistent.1.4 alcotest.1.9.0 astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.1.3.0 conf-gnuplot.0.1 cppo.1.8.0 crowbar.0.2.1 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 fmt.0.11.0 logs.0.9.0 lwt.5.9.2 metrics.0.5.0 metrics-unix.0.5.0 mtime.2.1.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ppx_derivers.1.2.1 ppx_deriving.6.1.1 ppx_deriving_yojson.3.10.0 ppxlib.0.36.0 re.1.13.2 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.1.0 uuidm.0.9.10 uutf.1.0.4 yojson.3.0.0")
/src: (env CI true)
/src: (env OCAMLCI true)
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.4 --depext-only -y index.dev index-bench.dev $DEPS"))
+ /usr/bin/sudo "apk" "update"
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
- v3.22.1-419-g1db804adcdb [https://dl-cdn.alpinelinux.org/alpine/v3.22/main]
- v3.22.1-427-g7eb9abdbcce [https://dl-cdn.alpinelinux.org/alpine/v3.22/community]
- v3.23.0_alpha20250612-6527-gb94e16f644c [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v3.23.0_alpha20250612-6526-g04b44a77c3d [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v3.23.0_alpha20250612-6525-g73446491d92 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 59147 distinct packages available
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[index.dev] synchronised (file:///src)
[index-bench.dev] synchronised (file:///src)
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.0).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
The following system packages will first need to be installed:
gnuplot
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "apk" "add" "gnuplot"
- (1/35) Installing libxext (1.3.6-r2)
- (2/35) Installing libxrender (0.9.12-r0)
- (3/35) Installing libpng (1.6.47-r0)
- (4/35) Installing freetype (2.13.3-r0)
- (5/35) Installing fontconfig (2.15.0-r3)
- (6/35) Installing pixman (0.46.4-r0)
- (7/35) Installing cairo (1.18.4-r0)
- (8/35) Installing libcerf (2.4-r0)
- (9/35) Installing libice (1.1.2-r0)
- (10/35) Installing libuuid (2.41-r9)
- (11/35) Installing libsm (1.2.5-r0)
- (12/35) Installing libxt (1.3.1-r0)
- (13/35) Installing libxpm (3.5.17-r0)
- (14/35) Installing aom-libs (3.12.1-r0)
- (15/35) Installing libdav1d (1.5.1-r0)
- (16/35) Installing libjpeg-turbo (3.1.0-r0)
- (17/35) Installing libyuv (0.0.1887.20251502-r1)
- (18/35) Installing libavif (1.3.0-r0)
- (19/35) Installing libsharpyuv (1.5.0-r0)
- (20/35) Installing libwebp (1.5.0-r0)
- (21/35) Installing tiff (4.7.0-r0)
- (22/35) Installing libgd (2.3.3-r10)
- (23/35) Installing libintl (0.24.1-r0)
- (24/35) Installing libeconf (0.6.3-r0)
- (25/35) Installing libblkid (2.41-r9)
- (26/35) Installing libmount (2.41-r9)
- (27/35) Installing glib (2.84.4-r0)
- (28/35) Installing lua5.3-libs (5.3.6-r6)
- (29/35) Installing libxft (2.3.8-r3)
- (30/35) Installing fribidi (1.0.16-r1)
- (31/35) Installing graphite2 (1.3.14-r6)
- (32/35) Installing harfbuzz (11.2.1-r0)
- (33/35) Installing pango (1.56.3-r0)
- (34/35) Installing libwebpmux (1.5.0-r0)
- (35/35) Installing gnuplot (6.0.2-r0)
- Executing busybox-1.37.0-r19.trigger
- Executing glib-2.84.4-r0.trigger
- OK: 335 MiB in 138 packages
2025-09-18 08:06.57 ---> saved as "d19e6e395f71c948b13edc3316bf9cc81464ca368643d09f867854ebe039546a"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.0).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
The following actions will be performed:
=== install 34 packages
- install afl-persistent 1.4
- install alcotest 1.9.0
- install astring 0.8.5
- install base-bytes base
- install cmdliner 1.3.0
- install conf-gnuplot 0.1
- install cppo 1.8.0
- install crowbar 0.2.1
- install csexp 1.5.2
- install dune 3.20.2
- install dune-configurator 3.20.2
- install fmt 0.11.0
- install logs 0.9.0
- install lwt 5.9.2
- install metrics 0.5.0
- install metrics-unix 0.5.0
- install mtime 2.1.0
- install ocaml-compiler-libs v0.17.0
- install ocaml-syntax-shims 1.0.0
- install ocamlbuild 0.16.1
- install ocamlfind 1.9.8
- install ocplib-endian 1.2
- install ppx_derivers 1.2.1
- install ppx_deriving 6.1.1
- install ppx_deriving_yojson 3.10.0
- install ppxlib 0.36.0
- install re 1.13.2
- install seq base
- install sexplib0 v0.17.0
- install stdlib-shims 0.3.0
- install topkg 1.1.0
- install uuidm 0.9.10
- install uutf 1.0.4
- install yojson 3.0.0
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved afl-persistent.1.4 (cached)
-> retrieved alcotest.1.9.0 (cached)
-> retrieved astring.0.8.5 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved cppo.1.8.0 (cached)
-> installed conf-gnuplot.0.1
-> retrieved crowbar.0.2.1 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved fmt.0.11.0 (cached)
-> retrieved logs.0.9.0 (cached)
-> retrieved lwt.5.9.2 (cached)
-> retrieved metrics.0.5.0, metrics-unix.0.5.0 (cached)
-> retrieved mtime.2.1.0 (cached)
-> retrieved ocaml-compiler-libs.v0.17.0 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved ocplib-endian.1.2 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ppx_deriving.6.1.1 (cached)
-> retrieved ppx_deriving_yojson.3.10.0 (cached)
-> retrieved re.1.13.2 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved sexplib0.v0.17.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved topkg.1.1.0 (cached)
-> retrieved uuidm.0.9.10 (cached)
-> retrieved uutf.1.0.4 (cached)
-> retrieved yojson.3.0.0 (cached)
-> retrieved ppxlib.0.36.0 (cached)
-> retrieved dune.3.20.2, dune-configurator.3.20.2 (cached)
-> installed cmdliner.1.3.0
-> installed ocamlbuild.0.16.1
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed topkg.1.1.0
-> installed uuidm.0.9.10
-> installed mtime.2.1.0
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed dune.3.20.2
-> installed afl-persistent.1.4
-> installed ppx_derivers.1.2.1
-> installed csexp.1.5.2
-> installed metrics.0.5.0
-> installed sexplib0.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed cppo.1.8.0
-> installed re.1.13.2
-> installed ocaml-compiler-libs.v0.17.0
-> installed ocaml-syntax-shims.1.0.0
-> installed yojson.3.0.0
-> installed ocplib-endian.1.2
-> installed crowbar.0.2.1
-> installed dune-configurator.3.20.2
-> installed alcotest.1.9.0
-> installed lwt.5.9.2
-> installed metrics-unix.0.5.0
-> installed logs.0.9.0
-> installed ppxlib.0.36.0
-> installed ppx_deriving.6.1.1
-> installed ppx_deriving_yojson.3.10.0
Done.
<><> afl-persistent.1.4 installed successfully ><><><><><><><><><><><><><><><><>
=> afl-persistent is installed, but since the current OCaml compiler does
not enable AFL instrumentation by default, most packages will not be
instrumented and fuzzing with afl-fuzz may not be effective.
To globally enable AFL instrumentation, create an OCaml switch like:
opam switch create 5.3.0+afl ocaml-variants.5.3.0+options ocaml-option-afl
# To update the current shell environment, run: eval $(opam env)
2025-09-18 08:10.11 ---> saved as "45c2d4b0532fede2cceb88bdd5fa3324272f6f6d39ab8761868c8bf7d04b2d08"
/src: (copy (src .) (dst /src))
2025-09-18 08:10.12 ---> saved as "f05665f0ddcdd7328ede3d7a92cc0bd94711dbbe2356ef725d7010dd007ce7d3"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && /home/opam/.opam/5.3/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -bin-annot-occurrences -I src/.index.objs/byte -I /home/opam/.opam/5.3/lib/fmt -I /home/opam/.opam/5.3/lib/logs -I /home/opam/.opam/5.3/lib/mtime -I /home/opam/.opam/5.3/lib/mtime/clock -I /home/opam/.opam/5.3/lib/stdlib-shims -cmi-file src/.index.objs/byte/index__Stats.cmi -no-alias-deps -opaque -open Index__ -o src/.index.objs/byte/index__Stats.cmo -c -impl src/stats.ml)
File "src/stats.ml", line 77, characters 18-34:
77 | let average = Mtime.Span.to_us span /. float_of_int !nb_replace in
^^^^^^^^^^^^^^^^
Error: Unbound value Mtime.Span.to_us
(cd _build/default && /home/opam/.opam/5.3/bin/ocamlopt.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -I src/.index.objs/byte -I src/.index.objs/native -I /home/opam/.opam/5.3/lib/fmt -I /home/opam/.opam/5.3/lib/logs -I /home/opam/.opam/5.3/lib/mtime -I /home/opam/.opam/5.3/lib/mtime/clock -I /home/opam/.opam/5.3/lib/stdlib-shims -cmi-file src/.index.objs/byte/index__Stats.cmi -no-alias-deps -opaque -open Index__ -o src/.index.objs/native/index__Stats.cmx -c -impl src/stats.ml)
File "src/stats.ml", line 77, characters 18-34:
77 | let average = Mtime.Span.to_us span /. float_of_int !nb_replace in
^^^^^^^^^^^^^^^^
Error: Unbound value Mtime.Span.to_us
(cd _build/default && /home/opam/.opam/5.3/bin/ocamlopt.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -I test/unix/.main.eobjs/byte -I test/unix/.main.eobjs/native -I /home/opam/.opam/5.3/lib/alcotest -I /home/opam/.opam/5.3/lib/fmt -I /home/opam/.opam/5.3/lib/logs -I /home/opam/.opam/5.3/lib/logs/fmt -I /home/opam/.opam/5.3/lib/ocaml/threads -I /home/opam/.opam/5.3/lib/re -I /home/opam/.opam/5.3/lib/stdlib-shims -I src/.index.objs/byte -I src/.index.objs/native -I src/unix/.index_unix.objs/byte -I src/unix/.index_unix.objs/native -cmi-file test/unix/.main.eobjs/byte/dune__exe__Common.cmi -no-alias-deps -opaque -open Dune__exe -o test/unix/.main.eobjs/native/dune__exe__Common.cmx -c -impl test/unix/common.ml)
File "_none_", line 1:
Alert ocaml_deprecated_auto_include:
OCaml's lib directory layout changed in 5.0. The unix subdirectory has been
automatically added to the search path, but you should add -I +unix to the
command-line to silence this alert (e.g. by adding unix to the list of
libraries in your dune file, or adding use_unix to your _tags file for
ocamlbuild, or using -package unix for ocamlfind).
File "test/unix/common.ml", line 27, characters 2-22:
27 | Logs_threaded.enable ();
^^^^^^^^^^^^^^^^^^^^
Error: Unbound module Logs_threaded
(cd _build/default && /home/opam/.opam/5.3/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -bin-annot-occurrences -I src/unix/.index_unix.objs/byte -I /home/opam/.opam/5.3/lib/fmt -I /home/opam/.opam/5.3/lib/logs -I /home/opam/.opam/5.3/lib/logs/threaded -I /home/opam/.opam/5.3/lib/ocaml/threads -I /home/opam/.opam/5.3/lib/ocaml/unix -I src/.index.objs/byte -cmi-file src/unix/.index_unix.objs/byte/index_unix.cmi -no-alias-deps -opaque -open Index_unix__ -o src/unix/.index_unix.objs/byte/index_unix.cmo -c -impl src/unix/index_unix.ml)
File "src/unix/index_unix.ml", line 139, characters 8-48:
139 | (aux [@tailcall]) (Filename.dirname dir) @@ fun () ->
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error (warning 51 [wrong-tailcall-expectation]): expected tailcall
(cd _build/default && /home/opam/.opam/5.3/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -bin-annot-occurrences -I test/unix/.main.eobjs/byte -I /home/opam/.opam/5.3/lib/alcotest -I /home/opam/.opam/5.3/lib/fmt -I /home/opam/.opam/5.3/lib/logs -I /home/opam/.opam/5.3/lib/logs/fmt -I /home/opam/.opam/5.3/lib/ocaml/threads -I /home/opam/.opam/5.3/lib/re -I /home/opam/.opam/5.3/lib/stdlib-shims -I src/.index.objs/byte -I src/unix/.index_unix.objs/byte -cmi-file test/unix/.main.eobjs/byte/dune__exe__Common.cmi -no-alias-deps -opaque -open Dune__exe -o test/unix/.main.eobjs/byte/dune__exe__Common.cmo -c -impl test/unix/common.ml)
File "_none_", line 1:
Alert ocaml_deprecated_auto_include:
OCaml's lib directory layout changed in 5.0. The unix subdirectory has been
automatically added to the search path, but you should add -I +unix to the
command-line to silence this alert (e.g. by adding unix to the list of
libraries in your dune file, or adding use_unix to your _tags file for
ocamlbuild, or using -package unix for ocamlfind).
File "test/unix/common.ml", line 27, characters 2-22:
27 | Logs_threaded.enable ();
^^^^^^^^^^^^^^^^^^^^
Error: Unbound module Logs_threaded
(cd _build/default && /home/opam/.opam/5.3/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -bin-annot-occurrences -I test/unix/.main.eobjs/byte -I /home/opam/.opam/5.3/lib/alcotest -I /home/opam/.opam/5.3/lib/fmt -I /home/opam/.opam/5.3/lib/logs -I /home/opam/.opam/5.3/lib/logs/fmt -I /home/opam/.opam/5.3/lib/ocaml/threads -I /home/opam/.opam/5.3/lib/re -I /home/opam/.opam/5.3/lib/stdlib-shims -I src/.index.objs/byte -I src/unix/.index_unix.objs/byte -cmi-file test/unix/.main.eobjs/byte/dune__exe__Io_array.cmi -no-alias-deps -opaque -open Dune__exe -o test/unix/.main.eobjs/byte/dune__exe__Io_array.cmo -c -impl test/unix/io_array.ml)
File "test/unix/io_array.ml", line 59, characters 7-15:
59 | (Fmt.strf "Inserted key at index %i is accessible" i)
^^^^^^^^
Error (alert deprecated): Fmt.strf
use Fmt.str instead.
File "test/unix/io_array.ml", line 74, characters 7-15:
74 | (Fmt.strf "Inserted key at index %i is accessible" i)
^^^^^^^^
Error (alert deprecated): Fmt.strf
use Fmt.str instead.
(cd _build/default && /home/opam/.opam/5.3/bin/ocamlopt.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -I test/unix/.main.eobjs/byte -I test/unix/.main.eobjs/native -I /home/opam/.opam/5.3/lib/alcotest -I /home/opam/.opam/5.3/lib/fmt -I /home/opam/.opam/5.3/lib/logs -I /home/opam/.opam/5.3/lib/logs/fmt -I /home/opam/.opam/5.3/lib/ocaml/threads -I /home/opam/.opam/5.3/lib/re -I /home/opam/.opam/5.3/lib/stdlib-shims -I src/.index.objs/byte -I src/.index.objs/native -I src/unix/.index_unix.objs/byte -I src/unix/.index_unix.objs/native -cmi-file test/unix/.main.eobjs/byte/dune__exe__Io_array.cmi -no-alias-deps -opaque -open Dune__exe -o test/unix/.main.eobjs/native/dune__exe__Io_array.cmx -c -impl test/unix/io_array.ml)
File "test/unix/io_array.ml", line 59, characters 7-15:
59 | (Fmt.strf "Inserted key at index %i is accessible" i)
^^^^^^^^
Error (alert deprecated): Fmt.strf
use Fmt.str instead.
File "test/unix/io_array.ml", line 74, characters 7-15:
74 | (Fmt.strf "Inserted key at index %i is accessible" i)
^^^^^^^^
Error (alert deprecated): Fmt.strf
use Fmt.str instead.
(cd _build/default && /home/opam/.opam/5.3/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -bin-annot-occurrences -I test/unix/.main.eobjs/byte -I /home/opam/.opam/5.3/lib/alcotest -I /home/opam/.opam/5.3/lib/fmt -I /home/opam/.opam/5.3/lib/logs -I /home/opam/.opam/5.3/lib/logs/fmt -I /home/opam/.opam/5.3/lib/ocaml/threads -I /home/opam/.opam/5.3/lib/re -I /home/opam/.opam/5.3/lib/stdlib-shims -I src/.index.objs/byte -I src/unix/.index_unix.objs/byte -cmi-file test/unix/.main.eobjs/byte/dune__exe__Force_merge.cmi -no-alias-deps -opaque -open Dune__exe -o test/unix/.main.eobjs/byte/dune__exe__Force_merge.cmo -c -impl test/unix/force_merge.ml)
File "_none_", line 1:
Alert ocaml_deprecated_auto_include:
OCaml's lib directory layout changed in 5.0. The unix subdirectory has been
automatically added to the search path, but you should add -I +unix to the
command-line to silence this alert (e.g. by adding unix to the list of
libraries in your dune file, or adding use_unix to your _tags file for
ocamlbuild, or using -package unix for ocamlfind).
(cd _build/default && /home/opam/.opam/5.3/bin/ocamlopt.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -I test/unix/.main.eobjs/byte -I test/unix/.main.eobjs/native -I /home/opam/.opam/5.3/lib/alcotest -I /home/opam/.opam/5.3/lib/fmt -I /home/opam/.opam/5.3/lib/logs -I /home/opam/.opam/5.3/lib/logs/fmt -I /home/opam/.opam/5.3/lib/ocaml/threads -I /home/opam/.opam/5.3/lib/re -I /home/opam/.opam/5.3/lib/stdlib-shims -I src/.index.objs/byte -I src/.index.objs/native -I src/unix/.index_unix.objs/byte -I src/unix/.index_unix.objs/native -cmi-file test/unix/.main.eobjs/byte/dune__exe__Force_merge.cmi -no-alias-deps -opaque -open Dune__exe -o test/unix/.main.eobjs/native/dune__exe__Force_merge.cmx -c -impl test/unix/force_merge.ml)
File "_none_", line 1:
Alert ocaml_deprecated_auto_include:
OCaml's lib directory layout changed in 5.0. The unix subdirectory has been
automatically added to the search path, but you should add -I +unix to the
command-line to silence this alert (e.g. by adding unix to the list of
libraries in your dune file, or adding use_unix to your _tags file for
ocamlbuild, or using -package unix for ocamlfind).
(cd _build/default && /home/opam/.opam/5.3/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -bin-annot-occurrences -I test/unix/.main.eobjs/byte -I /home/opam/.opam/5.3/lib/alcotest -I /home/opam/.opam/5.3/lib/fmt -I /home/opam/.opam/5.3/lib/logs -I /home/opam/.opam/5.3/lib/logs/fmt -I /home/opam/.opam/5.3/lib/ocaml/threads -I /home/opam/.opam/5.3/lib/re -I /home/opam/.opam/5.3/lib/stdlib-shims -I src/.index.objs/byte -I src/unix/.index_unix.objs/byte -cmi-file test/unix/.main.eobjs/byte/dune__exe__Main.cmi -no-alias-deps -opaque -open Dune__exe -o test/unix/.main.eobjs/byte/dune__exe__Main.cmo -c -impl test/unix/main.ml)
File "test/unix/main.ml", line 216, characters 29-37:
216 | Alcotest.check_raises (Fmt.strf "Find %s key after clearing." k) Not_found
^^^^^^^^
Error (alert deprecated): Fmt.strf
use Fmt.str instead.
(cd _build/default && /home/opam/.opam/5.3/bin/ocamlopt.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -I test/unix/.main.eobjs/byte -I test/unix/.main.eobjs/native -I /home/opam/.opam/5.3/lib/alcotest -I /home/opam/.opam/5.3/lib/fmt -I /home/opam/.opam/5.3/lib/logs -I /home/opam/.opam/5.3/lib/logs/fmt -I /home/opam/.opam/5.3/lib/ocaml/threads -I /home/opam/.opam/5.3/lib/re -I /home/opam/.opam/5.3/lib/stdlib-shims -I src/.index.objs/byte -I src/.index.objs/native -I src/unix/.index_unix.objs/byte -I src/unix/.index_unix.objs/native -cmi-file test/unix/.main.eobjs/byte/dune__exe__Main.cmi -no-alias-deps -opaque -open Dune__exe -o test/unix/.main.eobjs/native/dune__exe__Main.cmx -c -impl test/unix/main.ml)
File "test/unix/main.ml", line 216, characters 29-37:
216 | Alcotest.check_raises (Fmt.strf "Find %s key after clearing." k) Not_found
^^^^^^^^
Error (alert deprecated): Fmt.strf
use Fmt.str instead.
(cd _build/default && /home/opam/.opam/5.3/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -bin-annot-occurrences -I bench/.bench.eobjs/byte -I /home/opam/.opam/5.3/lib/cmdliner -I /home/opam/.opam/5.3/lib/fmt -I /home/opam/.opam/5.3/lib/metrics -I /home/opam/.opam/5.3/lib/metrics-unix -I /home/opam/.opam/5.3/lib/ppx_deriving/runtime -I /home/opam/.opam/5.3/lib/ppx_deriving_yojson/runtime -I /home/opam/.opam/5.3/lib/re -I /home/opam/.opam/5.3/lib/stdlib-shims -I /home/opam/.opam/5.3/lib/yojson -I src/.index.objs/byte -I src/unix/.index_unix.objs/byte -cmi-file bench/.bench.eobjs/byte/dune__exe__Bench.cmi -no-alias-deps -opaque -o bench/.bench.eobjs/byte/dune__exe__Bench.cmo -c -impl bench/bench.pp.ml)
File "_none_", line 1:
Alert ocaml_deprecated_auto_include:
OCaml's lib directory layout changed in 5.0. The unix subdirectory has been
automatically added to the search path, but you should add -I +unix to the
command-line to silence this alert (e.g. by adding unix to the list of
libraries in your dune file, or adding use_unix to your _tags file for
ocamlbuild, or using -package unix for ocamlfind).
File "bench/bench.ml", line 498, characters 16-27:
498 | let env_var s = Arg.env_var ("INDEX_BENCH_" ^ s)
^^^^^^^^^^^
Error (alert deprecated): Cmdliner.Arg.env_var
Use Cmd.Env.info instead.
File "bench/bench.ml", line 561, characters 9-13:
561 | (Term.(pure list_benches $ const ()), Term.info "list" ~doc)
^^^^
Error (alert deprecated): Cmdliner.Term.pure
Use Term.const instead.
File "bench/bench.ml", line 561, characters 40-49:
561 | (Term.(pure list_benches $ const ()), Term.info "list" ~doc)
^^^^^^^^^
Error (alert deprecated): Cmdliner.Term.info
Use Cmd.info instead.
File "bench/bench.ml", line 592, characters 4-13:
592 | Term.info "run" ~doc ~exits:Term.default_exits )
^^^^^^^^^
Error (alert deprecated): Cmdliner.Term.info
Use Cmd.info instead.
File "bench/bench.ml", line 592, characters 32-50:
592 | Term.info "run" ~doc ~exits:Term.default_exits )
^^^^^^^^^^^^^^^^^^
Error (alert deprecated): Cmdliner.Term.default_exits
Use Cmd.Exit.defaults or Cmd.info's defaults ~exits value instead.
File "bench/bench.ml", line 596, characters 8-12:
596 | Term.(exit @@ eval_choice cmd choices)
^^^^
Error (alert deprecated): Cmdliner.Term.exit
Use Stdlib.exit and Cmd.eval instead.
File "bench/bench.ml", line 596, characters 16-27:
596 | Term.(exit @@ eval_choice cmd choices)
^^^^^^^^^^^
Error (alert deprecated): Cmdliner.Term.eval_choice
Use Cmd.group and one of Cmd.eval* instead.
(cd _build/default && /home/opam/.opam/5.3/bin/ocamlopt.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -I bench/.bench.eobjs/byte -I bench/.bench.eobjs/native -I /home/opam/.opam/5.3/lib/cmdliner -I /home/opam/.opam/5.3/lib/fmt -I /home/opam/.opam/5.3/lib/metrics -I /home/opam/.opam/5.3/lib/metrics-unix -I /home/opam/.opam/5.3/lib/ppx_deriving/runtime -I /home/opam/.opam/5.3/lib/ppx_deriving_yojson/runtime -I /home/opam/.opam/5.3/lib/re -I /home/opam/.opam/5.3/lib/stdlib-shims -I /home/opam/.opam/5.3/lib/yojson -I src/.index.objs/byte -I src/.index.objs/native -I src/unix/.index_unix.objs/byte -I src/unix/.index_unix.objs/native -cmi-file bench/.bench.eobjs/byte/dune__exe__Bench.cmi -no-alias-deps -opaque -o bench/.bench.eobjs/native/dune__exe__Bench.cmx -c -impl bench/bench.pp.ml)
File "_none_", line 1:
Alert ocaml_deprecated_auto_include:
OCaml's lib directory layout changed in 5.0. The unix subdirectory has been
automatically added to the search path, but you should add -I +unix to the
command-line to silence this alert (e.g. by adding unix to the list of
libraries in your dune file, or adding use_unix to your _tags file for
ocamlbuild, or using -package unix for ocamlfind).
File "bench/bench.ml", line 498, characters 16-27:
498 | let env_var s = Arg.env_var ("INDEX_BENCH_" ^ s)
^^^^^^^^^^^
Error (alert deprecated): Cmdliner.Arg.env_var
Use Cmd.Env.info instead.
File "bench/bench.ml", line 561, characters 9-13:
561 | (Term.(pure list_benches $ const ()), Term.info "list" ~doc)
^^^^
Error (alert deprecated): Cmdliner.Term.pure
Use Term.const instead.
File "bench/bench.ml", line 561, characters 40-49:
561 | (Term.(pure list_benches $ const ()), Term.info "list" ~doc)
^^^^^^^^^
Error (alert deprecated): Cmdliner.Term.info
Use Cmd.info instead.
File "bench/bench.ml", line 592, characters 4-13:
592 | Term.info "run" ~doc ~exits:Term.default_exits )
^^^^^^^^^
Error (alert deprecated): Cmdliner.Term.info
Use Cmd.info instead.
File "bench/bench.ml", line 592, characters 32-50:
592 | Term.info "run" ~doc ~exits:Term.default_exits )
^^^^^^^^^^^^^^^^^^
Error (alert deprecated): Cmdliner.Term.default_exits
Use Cmd.Exit.defaults or Cmd.info's defaults ~exits value instead.
File "bench/bench.ml", line 596, characters 8-12:
596 | Term.(exit @@ eval_choice cmd choices)
^^^^
Error (alert deprecated): Cmdliner.Term.exit
Use Stdlib.exit and Cmd.eval instead.
File "bench/bench.ml", line 596, characters 16-27:
596 | Term.(exit @@ eval_choice cmd choices)
^^^^^^^^^^^
Error (alert deprecated): Cmdliner.Term.eval_choice
Use Cmd.group and one of Cmd.eval* instead.
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2025-09-18 08:10.19: Job failed: Failed: Build failed