2025-07-10 13:41.41: New job: test gs0510/index https://github.com/gs0510/index.git#refs/heads/master (8f2e73f68db6634484e605257f976bc281d811f1) (linux-x86_64:alpine-3.21-5.3_opam-2.3)
Base: ocaml/opam:alpine-3.21-ocaml-5.3@sha256:04615dc1fa88c0285b28799f65b32f2814c854db498aea42fb9ff8c430a28380
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.21-ocaml-5.3@sha256:04615dc1fa88c0285b28799f65b32f2814c854db498aea42fb9ff8c430a28380
# alpine-3.21-5.3_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.3 /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 64169c3d1d6774ef4ce0fcc471269bb09cd215f5 || git fetch origin master) && git reset -q --hard 64169c3d1d6774ef4ce0fcc471269bb09cd215f5 && 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.19.1 dune-configurator.3.19.1 fmt.0.10.0 logs.0.9.0 lwt.5.9.1 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.0 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.0.8 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.3 --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-07-10 13:41.41: Using cache hint "gs0510/index-ocaml/opam:alpine-3.21-ocaml-5.3@sha256:04615dc1fa88c0285b28799f65b32f2814c854db498aea42fb9ff8c430a28380-alpine-3.21-5.3_opam-2.3-fb43c7b5da494b7663d1702ee55d6d53"
2025-07-10 13:41.41: Using OBuilder spec:
((from ocaml/opam:alpine-3.21-ocaml-5.3@sha256:04615dc1fa88c0285b28799f65b32f2814c854db498aea42fb9ff8c430a28380)
(comment alpine-3.21-5.3_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.3 /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 64169c3d1d6774ef4ce0fcc471269bb09cd215f5 || git fetch origin master) && git reset -q --hard 64169c3d1d6774ef4ce0fcc471269bb09cd215f5 && 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.19.1 dune-configurator.3.19.1 fmt.0.10.0 logs.0.9.0 lwt.5.9.1 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.0 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.0.8 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.3 --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-07-10 13:41.41: Waiting for resource in pool OCluster
2025-07-10 15:45.11: Waiting for worker…
2025-07-10 15:52.06: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
HEAD is now at 8f2e73f Update cache.ml
(from ocaml/opam:alpine-3.21-ocaml-5.3@sha256:04615dc1fa88c0285b28799f65b32f2814c854db498aea42fb9ff8c430a28380)
2025-07-10 15:52.06 ---> using "b1eb2a8af4058a254870e5cad61297a06793cbcf25fc0fa70ddab0692ceef147" from cache
/: (comment alpine-3.21-5.3_opam-2.3)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-07-10 15:52.06 ---> using "72a43fed50ca4b22fad6057f4d18290b4cb956a1be690ef2ac7f62bd3176987a" from cache
/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 development 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-07-10 15:52.06 ---> using "dffd9938039301ebc6cca6d597e878cfb8a245c9dfa32f07900ab56da35e37dc" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-142-generic
The OCaml toplevel, version 5.3.0
2.3.0
2025-07-10 15:52.06 ---> using "8f9a1993785784c76c1507256d4c3a0742ea404a0d05aaa640ab910b812307e9" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-07-10 15:52.06 ---> using "d0c65e3f07a69cbc2fcd3ad4787a51328d54858d7b412a5dcb90232d4889600b" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 64169c3d1d6774ef4ce0fcc471269bb09cd215f5 || git fetch origin master) && git reset -q --hard 64169c3d1d6774ef4ce0fcc471269bb09cd215f5 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
6dea2f9390..0094db1438 master -> origin/master
64169c3d1d Merge pull request #28149 from dbuenzli/b0-publish-logs.0.9.0
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository
Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-07-10 15:52.06 ---> using "3f9aba96ac7a1654110ad5283d4982861b08bd9757244130aaa4d9e51eeeba9b" from cache
/src: (copy (src index.opam index-bench.opam) (dst ./))
2025-07-10 15:52.08 ---> saved as "b3bf94de295d32130d09f209fef9e2828c2bc45d89b93c16066a8a8c7a149816"
/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-07-10 15:52.13 ---> saved as "9638cca4bbdae72dacaffc22394a114a0a33b576b3e6294761c891f663085ee4"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-07-10 15:52.14 ---> saved as "7abeaec2b7da285f64fba3cb7d20c36ab7bdc45df149a3a2a95f711f14809b4e"
/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.19.1 dune-configurator.3.19.1 fmt.0.10.0 logs.0.9.0 lwt.5.9.1 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.0 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.0.8 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.3 --depext-only -y index.dev index-bench.dev $DEPS"))
+ /usr/bin/sudo "apk" "update"
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/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.21.3-638-g1544fc8aa59 [https://dl-cdn.alpinelinux.org/alpine/v3.21/main]
- v3.21.3-634-g4638c219547 [https://dl-cdn.alpinelinux.org/alpine/v3.21/community]
- v3.23.0_alpha20250612-1982-gb90d0d86366 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v3.23.0_alpha20250612-1981-g61cfbb918da [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v3.23.0_alpha20250612-1983-g0a884ff15ee [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 59031 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/34) Installing libxext (1.3.6-r2)
- (2/34) Installing libxrender (0.9.11-r5)
- (3/34) Installing libpng (1.6.47-r0)
- (4/34) Installing freetype (2.13.3-r0)
- (5/34) Installing fontconfig (2.15.0-r1)
- (6/34) Installing pixman (0.43.4-r1)
- (7/34) Installing cairo (1.18.4-r0)
- (8/34) Installing libcerf (2.4-r0)
- (9/34) Installing libice (1.1.1-r6)
- (10/34) Installing libuuid (2.40.4-r1)
- (11/34) Installing libsm (1.2.4-r4)
- (12/34) Installing libxt (1.3.1-r0)
- (13/34) Installing libxpm (3.5.17-r0)
- (14/34) Installing aom-libs (3.11.0-r0)
- (15/34) Installing libdav1d (1.5.0-r0)
- (16/34) Installing libsharpyuv (1.4.0-r0)
- (17/34) Installing libavif (1.0.4-r0)
- (18/34) Installing libjpeg-turbo (3.0.4-r0)
- (19/34) Installing libwebp (1.4.0-r0)
- (20/34) Installing tiff (4.7.0-r0)
- (21/34) Installing libgd (2.3.3-r9)
- (22/34) Installing libintl (0.22.5-r0)
- (23/34) Installing libeconf (0.6.3-r0)
- (24/34) Installing libblkid (2.40.4-r1)
- (25/34) Installing libmount (2.40.4-r1)
- (26/34) Installing glib (2.82.5-r0)
- (27/34) Installing lua5.3-libs (5.3.6-r6)
- (28/34) Installing libxft (2.3.8-r3)
- (29/34) Installing fribidi (1.0.16-r0)
- (30/34) Installing graphite2 (1.3.14-r6)
- (31/34) Installing harfbuzz (9.0.0-r1)
- (32/34) Installing pango (1.54.0-r1)
- (33/34) Installing libwebpmux (1.4.0-r0)
- (34/34) Installing gnuplot (6.0.1-r0)
- Executing busybox-1.37.0-r12.trigger
- Executing glib-2.82.5-r0.trigger
- OK: 331 MiB in 136 packages
2025-07-10 15:52.32 ---> saved as "256e87b4f2253cc51b1e379eb95d80760b3bf9f386b52d86cd271bfa6ac2e01c"
/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.19.1
- install dune-configurator 3.19.1
- install fmt 0.10.0
- install logs 0.9.0
- install lwt 5.9.1
- 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.0
- 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.0.8
- install uuidm 0.9.10
- install uutf 1.0.4
- install yojson 3.0.0
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved afl-persistent.1.4 (cached)
-> retrieved astring.0.8.5 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved alcotest.1.9.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.10.0 (cached)
-> retrieved logs.0.9.0 (cached)
-> retrieved lwt.5.9.1 (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 ocamlfind.1.9.8 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ocplib-endian.1.2 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ppx_deriving_yojson.3.10.0 (cached)
-> retrieved ppx_deriving.6.1.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.0.8 (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.19.1, dune-configurator.3.19.1 (cached)
-> installed cmdliner.1.3.0
-> installed ocamlbuild.0.16.1
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed topkg.1.0.8
-> installed uuidm.0.9.10
-> installed uutf.1.0.4
-> installed mtime.2.1.0
-> installed fmt.0.10.0
-> installed astring.0.8.5
-> installed dune.3.19.1
-> 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 afl-persistent.1.4
-> installed re.1.13.2
-> installed cppo.1.8.0
-> installed ocaml-syntax-shims.1.0.0
-> installed ocaml-compiler-libs.v0.17.0
-> installed yojson.3.0.0
-> installed ocplib-endian.1.2
-> installed crowbar.0.2.1
-> installed alcotest.1.9.0
-> installed dune-configurator.3.19.1
-> installed lwt.5.9.1
-> installed metrics-unix.0.5.0
-> installed logs.0.9.0
-> installed ppxlib.0.36.0
-> installed ppx_deriving.6.1.0
-> 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-07-10 15:54.01 ---> saved as "2f6d80e4fe4b96a27f7c18d80f80d70768502f91bf064343a7e5a97134b97554"
/src: (copy (src .) (dst /src))
2025-07-10 15:54.01 ---> saved as "cade9bd51f4de4a09ddd58bd25eed6cb6a386a07e3b75c7e9bc0178ddd11298f"
/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 -intf-suffix .ml -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 -intf-suffix .ml -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/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 -intf-suffix .ml -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 -intf-suffix .ml -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 -intf-suffix .ml -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 -intf-suffix .ml -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/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 -intf-suffix .ml -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 -intf-suffix .ml -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/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 -intf-suffix .ml -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 -intf-suffix .ml -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/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 -intf-suffix .ml -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 -intf-suffix .ml -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 -intf-suffix .ml -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-07-10 15:54.04: Job failed: Failed: Build failed