2026-04-22 14:13.06: New job: test hannesm/duration https://github.com/hannesm/duration.git#refs/heads/main (7bf34d3c03586b9a8680a617f2b3a30f16513710) (linux-riscv64:debian-13-5.4_riscv64_opam-2.5)Base: ocaml/opam:debian-13-ocaml-5.4@sha256:f4c82456e10adf78c4bf1849b05a8072cede5c2008b962470255ffcd8dbe88d2Opam project buildTo reproduce locally:git clone --recursive "https://github.com/hannesm/duration.git" -b "main" && cd "duration" && git reset --hard 7bf34d3ccat > Dockerfile <<'END-OF-DOCKERFILE'FROM ocaml/opam:debian-13-ocaml-5.4@sha256:f4c82456e10adf78c4bf1849b05a8072cede5c2008b962470255ffcd8dbe88d2# debian-13-5.4_riscv64_opam-2.5USER 1000:1000ENV CLICOLOR_FORCE="1"ENV OPAMCOLOR="always"WORKDIR /srcRUN sudo ln -f /usr/bin/opam-2.5 /usr/bin/opamRUN opam init --reinit -niRUN uname -rs && opam exec -- ocaml -version && opam --versionWORKDIR /srcRUN sudo chown opam /srcRUN cd ~/opam-repository && (git cat-file -e 036883c5402b41e0d35f6b200245cc7c3a302395 || git fetch origin master) && git reset -q --hard 036883c5402b41e0d35f6b200245cc7c3a302395 && git log --no-decorate -n1 --oneline && opam update -uCOPY --chown=1000:1000 duration.opam ./RUN opam pin add -yn duration.dev './'RUN echo '(lang dune 3.0)' > './dune-project'ENV DEPS="alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.2.1.1 dune.3.22.2 fmt.0.11.0 ocaml.5.4.1 ocaml-base-compiler.5.4.1 ocaml-compiler.5.4.1 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.14.0 stdlib-shims.0.3.0 topkg.1.1.1 uutf.1.0.4"ENV CI="true"ENV OCAMLCI="true"RUN opam update --depexts && opam install --cli=2.5 --depext-only -y duration.dev $DEPSRUN opam install $DEPSCOPY --chown=1000:1000 . /srcRUN opam exec -- dune build @install @check @runtest && rm -rf _buildEND-OF-DOCKERFILEdocker build .END-REPRO-BLOCK2026-04-22 14:13.06: Using cache hint "hannesm/duration-ocaml/opam:debian-13-ocaml-5.4@sha256:f4c82456e10adf78c4bf1849b05a8072cede5c2008b962470255ffcd8dbe88d2-debian-13-5.4_riscv64_opam-2.5-479d0115ba77288130e28315e39467a5"2026-04-22 14:13.06: Using OBuilder spec:((from ocaml/opam:debian-13-ocaml-5.4@sha256:f4c82456e10adf78c4bf1849b05a8072cede5c2008b962470255ffcd8dbe88d2)(comment debian-13-5.4_riscv64_opam-2.5)(user (uid 1000) (gid 1000))(env CLICOLOR_FORCE 1)(env OPAMCOLOR always)(workdir /src)(run (shell "sudo ln -f /usr/bin/opam-2.5 /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 036883c5402b41e0d35f6b200245cc7c3a302395 || git fetch origin master) && git reset -q --hard 036883c5402b41e0d35f6b200245cc7c3a302395 && git log --no-decorate -n1 --oneline && opam update -u"))(copy (src duration.opam) (dst ./))(run (network host)(shell "opam pin add -yn duration.dev './'"))(run (shell "echo '(lang dune 3.0)' > './dune-project'"))(env DEPS "alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.2.1.1 dune.3.22.2 fmt.0.11.0 ocaml.5.4.1 ocaml-base-compiler.5.4.1 ocaml-compiler.5.4.1 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.14.0 stdlib-shims.0.3.0 topkg.1.1.1 uutf.1.0.4")(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.5 --depext-only -y duration.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")))2026-04-22 14:13.06: Waiting for resource in pool OCluster2026-04-23 09:10.46: Waiting for worker…2026-04-23 18:35.38: Got resource from pool OClusterBuilding on riscv-bm-04.sw.ci.devHEAD is now at a9e8c72 Add of_string_exnHEAD is now at 7bf34d3 changes for 0.3.1(from ocaml/opam:debian-13-ocaml-5.4@sha256:f4c82456e10adf78c4bf1849b05a8072cede5c2008b962470255ffcd8dbe88d2)2026-04-23 18:35.40 ---> using "484c9fa6139706b8afa9764d3652fd702882e8e5056f93677166c9b0844fd477" from cache/: (comment debian-13-5.4_riscv64_opam-2.5)/: (user (uid 1000) (gid 1000))/: (env CLICOLOR_FORCE 1)/: (env OPAMCOLOR always)/: (workdir /src)/src: (run (shell "sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam"))2026-04-23 18:35.40 ---> using "e3fcd17677c90ac2badefc4393aa347c1e93834183d635a58d0a18813c0c1cf1" 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 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] yFormat upgrade done.<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>[default] Initialised2026-04-23 18:35.40 ---> using "42cf30aa206babc6ffd1b40cb1eabcdb67ddeeb803e5b9fba84bc3e9e8f2948d" from cache/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))Linux 5.10.113-scw1The OCaml toplevel, version 5.4.12.5.02026-04-23 18:35.40 ---> using "204e85d4f615e24dd02cc13f1e4e8326d5e39b1662e210cce7aafc479b511e97" from cache/src: (workdir /src)/src: (run (shell "sudo chown opam /src"))2026-04-23 18:35.40 ---> using "c5b3cebc9752b51849933feed0e5e6313e53b598d28fd4f67c68d439427a305a" from cache/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))(network host)(shell "cd ~/opam-repository && (git cat-file -e 036883c5402b41e0d35f6b200245cc7c3a302395 || git fetch origin master) && git reset -q --hard 036883c5402b41e0d35f6b200245cc7c3a302395 && git log --no-decorate -n1 --oneline && opam update -u"))From https://github.com/ocaml/opam-repository* branch master -> FETCH_HEAD42844088d7..9843112d66 master -> origin/master036883c540 Merge pull request #29788 from dbuenzli/b0-publish-cmdliner.2.1.1<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>[default] synchronised from git+file:///home/opam/opam-repositorydefault (at git+file:///home/opam/opam-repository):[WARNING] opam is out-of-date. Please consider updating it (https://opam.ocaml.org/doc/Install.html)default (at git+file:///home/opam/opam-repository):[INFO] opam 2.5.1 includes security fixes; please consider upgrading (https://opam.ocaml.org/doc/Install.html)Everything as up-to-date as possibleHowever, you may "opam upgrade" these packages explicitly at these versions (e.g. "opam upgrade ocaml.5.5.0"), which will ask permission to downgrade or uninstall the conflicting packages.Nothing to do.# To update the current shell environment, run: eval $(opam env)2026-04-23 18:35.40 ---> using "56ab8d111f104614c1d1efc114ed7d9c6e8806eb435b627bb4be2155a0476b3d" from cache/src: (copy (src duration.opam) (dst ./))2026-04-23 18:35.41 ---> saved as "883b45b39f8a6925c2194857bab85603d7d231cd6deec5df694f3590e3a1770e"/src: (run (network host)(shell "opam pin add -yn duration.dev './'"))[duration.dev] synchronised (file:///src)duration is now pinned to file:///src (version dev)2026-04-23 18:35.49 ---> saved as "ccae43f2a2370fddd041e5f3c29c8b0f51ac003a894970327533391fde7ffe09"/src: (run (shell "echo '(lang dune 3.0)' > './dune-project'"))2026-04-23 18:35.50 ---> saved as "75fe30ecf4dfffa968420d47067963476340f9fb2a8874109ccd8b754c0d51fd"/src: (env DEPS "alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.2.1.1 dune.3.22.2 fmt.0.11.0 ocaml.5.4.1 ocaml-base-compiler.5.4.1 ocaml-compiler.5.4.1 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.14.0 stdlib-shims.0.3.0 topkg.1.1.1 uutf.1.0.4")/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.5 --depext-only -y duration.dev $DEPS"))+ /usr/bin/sudo "apt-get" "update"- Hit:1 http://deb.debian.org/debian trixie InRelease- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]- Get:4 http://deb.debian.org/debian-security trixie-security/main riscv64 Packages [121 kB]- Fetched 211 kB in 0s (432 kB/s)- Reading package lists...-<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>[duration.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.4.1).[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.1).[NOTE] Package ocaml is already installed (current version is 5.4.1).[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).# To update the current shell environment, run: eval $(opam env)2026-04-23 18:36.40 ---> saved as "e780a56966a8687126cde82a8939ea4e1b67719c0811383181346a95a54a2ded"/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.4.1).[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.1).[NOTE] Package ocaml is already installed (current version is 5.4.1).[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 12 packages- install alcotest 1.9.1- install astring 0.8.5- install cmdliner 2.1.1- install dune 3.22.2- install fmt 0.11.0- install ocaml-syntax-shims 1.0.0- install ocamlbuild 0.16.1- install ocamlfind 1.9.8- install re 1.14.0- install stdlib-shims 0.3.0- install topkg 1.1.1- install uutf 1.0.4<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>-> retrieved alcotest.1.9.1 (cached)-> retrieved astring.0.8.5 (cached)-> retrieved cmdliner.2.1.1 (cached)-> retrieved fmt.0.11.0 (cached)-> retrieved ocaml-syntax-shims.1.0.0 (cached)-> retrieved ocamlfind.1.9.8 (cached)-> retrieved ocamlbuild.0.16.1 (cached)-> retrieved re.1.14.0 (cached)-> retrieved stdlib-shims.0.3.0 (cached)-> retrieved uutf.1.0.4 (cached)-> retrieved topkg.1.1.1 (cached)-> retrieved dune.3.22.2 (cached)-> installed ocamlfind.1.9.8-> installed cmdliner.2.1.1-> installed ocamlbuild.0.16.1-> installed topkg.1.1.1-> installed fmt.0.11.0-> installed astring.0.8.5-> installed uutf.1.0.4-> installed dune.3.22.2-> installed stdlib-shims.0.3.0-> installed ocaml-syntax-shims.1.0.0-> installed re.1.14.0-> installed alcotest.1.9.1Done.# To update the current shell environment, run: eval $(opam env)2026-04-23 18:43.00 ---> saved as "5da87f2a727e40da465f0f9fda40bed47e358a9881cd696a9477c770972338ad"/src: (copy (src .) (dst /src))2026-04-23 18:43.01 ---> saved as "d0783a115911b07cc2204e14e8501f499a178dce8d8b7b5b7b3956bf6f795ffd"/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))(cd _build/default && ./tests.exe)Testing `Duration tests'.This run has ID `E8D47Q6J'.[OK] Duration 0 of_us is good.[OK] Duration 1 to_us is good.[OK] Duration 2 inverse of/to_us.[OK] Duration 3 of_us is good.[OK] Duration 4 to_us is good.[OK] Duration 5 inverse of/to_us.[OK] Duration 6 of_ms is good.[OK] Duration 7 to_ms is good.[OK] Duration 8 inverse of/to_ms.[OK] Duration 9 of_ms is good.[OK] Duration 10 to_ms is good.[OK] Duration 11 inverse of/to_ms.[OK] Duration 12 of_sec is good.[OK] Duration 13 to_sec is good.[OK] Duration 14 inverse of/to_sec.[OK] Duration 15 of_sec is good.[OK] Duration 16 to_sec is good.[OK] Duration 17 inverse of/to_sec.[OK] Duration 18 of_min is good.[OK] Duration 19 to_min is good.[OK] Duration 20 inverse of/to_min.[OK] Duration 21 of_hour is good.[OK] Duration 22 to_hour is good.[OK] Duration 23 inverse of/to_hour.[OK] Duration 24 of_day is good.[OK] Duration 25 to_day is good.[OK] Duration 26 inverse of/to_day.[OK] Duration 27 of_year is good.[OK] Duration 28 to_year is good.[OK] Duration 29 inverse of/to_year.[OK] Duration 30 of_f is good.[OK] Duration 31 to_f is good.[OK] Duration 32 inverse of/to_f.[OK] Duration 33 of_string_exn.[OK] Duration 34 of_string_exn: composite.[OK] Duration 35 of_string_exn: duplicate metrics.[OK] Duration 36 of_string_exn: invalid metric.[OK] Duration 37 of_string_exn: malformed input.[OK] Duration 38 of_string_exn: out of range.[OK] Duration 39 of_string_exn: empty string.Full test results in `/src/_build/default/_build/_tests/Duration tests'.Test Successful in 0.024s. 40 tests run.2026-04-23 18:43.07 ---> saved as "5d8cddc45d6dd63118d96be2c71434429943788dea0e15585ac30cf6ab03f9b9"Job succeeded2026-04-23 18:43.07: Job succeeded