2026-04-13 11:51.36: New job: test hannesm/duration https://github.com/hannesm/duration.git#refs/heads/main (35555bd1082d8ffad74eee090670e5f826791f76) (linux-x86_64:ubuntu-22.04-4.14_opam-2.5)Base: ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:ee7d8a3a4cace31d410c47ddbd98caf693324ad5c7e83d32c213a00aabdb9d00Opam project buildTo reproduce locally:git clone --recursive "https://github.com/hannesm/duration.git" -b "main" && cd "duration" && git reset --hard 35555bd1cat > Dockerfile <<'END-OF-DOCKERFILE'FROM ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:ee7d8a3a4cace31d410c47ddbd98caf693324ad5c7e83d32c213a00aabdb9d00# ubuntu-22.04-4.14_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 d06cfb1853afceb1dc127f88edaac3f8110bf6cc || git fetch origin master) && git reset -q --hard d06cfb1853afceb1dc127f88edaac3f8110bf6cc && 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-threads.base base-unix.base cmdliner.2.1.0 dune.3.22.1 fmt.0.11.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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-13 11:51.36: Using cache hint "hannesm/duration-ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:ee7d8a3a4cace31d410c47ddbd98caf693324ad5c7e83d32c213a00aabdb9d00-ubuntu-22.04-4.14_opam-2.5-cf21013b5cc119165eeed9829ead8841"2026-04-13 11:51.36: Using OBuilder spec:((from ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:ee7d8a3a4cace31d410c47ddbd98caf693324ad5c7e83d32c213a00aabdb9d00)(comment ubuntu-22.04-4.14_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 d06cfb1853afceb1dc127f88edaac3f8110bf6cc || git fetch origin master) && git reset -q --hard d06cfb1853afceb1dc127f88edaac3f8110bf6cc && 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-threads.base base-unix.base cmdliner.2.1.0 dune.3.22.1 fmt.0.11.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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-13 11:51.36: Waiting for resource in pool OCluster2026-04-13 11:51.36: Waiting for worker…2026-04-13 11:51.43: Got resource from pool OClusterBuilding on doris.caelum.ci.devAll commits already cachedHEAD is now at 35555bd Merge pull request #10 from dinosaure/of_string_exn(from ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:ee7d8a3a4cace31d410c47ddbd98caf693324ad5c7e83d32c213a00aabdb9d00)Unable to find image 'ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:ee7d8a3a4cace31d410c47ddbd98caf693324ad5c7e83d32c213a00aabdb9d00' locallydocker.io/ocaml/opam@sha256:ee7d8a3a4cace31d410c47ddbd98caf693324ad5c7e83d32c213a00aabdb9d00: Pulling from ocaml/opamb1cba2e842ca: Already exists421afdaed246: Already exists4f870a39d887: Already exists55a213a632b1: Already exists45b4d0733e62: Already exists3aeb1fde2a5c: Already existsaafef83927b6: Already existsbcf6200713a7: Already exists44126a1f4f31: Already exists640d0ce4ea89: Already existsb5d13c755b81: Already existsd4f408980979: Already existsa89dafa13071: Already exists636fd786dcef: Already exists31dae2391bd4: Already exists8b28883ae878: Already exists4a187d75ee24: Already exists4a187d75ee24: Already exists4f4fb700ef54: Already exists15ef0a4fe052: Already exists81aef10b7468: Already exists8492c04426b2: Already exists4f4fb700ef54: Already exists931be6b45df3: Already existsb3b41b093e1c: Already existsc66a499f18f1: Already existsdc859d65a979: Already existsf9a4b7e83cbc: Already exists8406175b74f2: Already existsd8a867e68b39: Already exists1b4507b9d94f: Already exists86753f729f41: Already existsbb1554100fd0: Already exists79f063451047: Already existsaf19aefa8c28: Already exists18ae77be10c6: Already exists23748796c9e7: Already exists8a87c1d60ed6: Already existsf59dc0679c75: Already existsd71672fc129c: Already exists44dd0ab5fdef: Already exists931c13510f32: Pulling fs layer75ed66e4849a: Pulling fs layer19cc32431784: Pulling fs layer6b082b8f59d1: Pulling fs layer6b082b8f59d1: Waiting19cc32431784: Verifying Checksum19cc32431784: Download complete75ed66e4849a: Download complete6b082b8f59d1: Verifying Checksum6b082b8f59d1: Download complete931c13510f32: Verifying Checksum931c13510f32: Download complete931c13510f32: Pull complete75ed66e4849a: Pull complete19cc32431784: Pull complete6b082b8f59d1: Pull completeDigest: sha256:ee7d8a3a4cace31d410c47ddbd98caf693324ad5c7e83d32c213a00aabdb9d00Status: Downloaded newer image for ocaml/opam@sha256:ee7d8a3a4cace31d410c47ddbd98caf693324ad5c7e83d32c213a00aabdb9d002026-04-13 11:51.43 ---> using "752ab5c6ad79de967908e3073b7fceaa0abf89b6f293aaa06b19d969149dde3c" from cache/: (comment ubuntu-22.04-4.14_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-13 11:51.43 ---> using "1a1eff4052ea3104fb7e5ec5761842d0cfe9656287a6882b1eac7caa3efa349f" 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.Continue? [Y/n] yThis 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.[NOTE] The 'jobs' option was reset, its value was 71 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:opam option jobs=71 --globalFormat upgrade done.<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>[default] Initialised2026-04-13 11:51.43 ---> using "2e1e4395ca2a0d261913003a3e43f34a1f0efdc272202fe92ed711df2d6f3e43" from cache/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))Linux 6.8.0-106-genericThe OCaml toplevel, version 4.14.22.5.02026-04-13 11:51.43 ---> using "95ff2ee8d7fe66b59ec0e45f834976653a81c7090dc41602580dd6f1b36445d7" from cache/src: (workdir /src)/src: (run (shell "sudo chown opam /src"))2026-04-13 11:51.43 ---> using "71b4ea2e8ceb4f55c80eaf0cf25522e581c7d7b5464709106ded0f2c4ab7d51b" from cache/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))(network host)(shell "cd ~/opam-repository && (git cat-file -e d06cfb1853afceb1dc127f88edaac3f8110bf6cc || git fetch origin master) && git reset -q --hard d06cfb1853afceb1dc127f88edaac3f8110bf6cc && git log --no-decorate -n1 --oneline && opam update -u"))From https://github.com/ocaml/opam-repository* branch master -> FETCH_HEADffb54b9bdd..c18adeb75d master -> origin/masterd06cfb1853 Merge pull request #29632 from shonfeder/release-dune-3.22.1<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>[default] synchronised from git+file:///home/opam/opam-repositoryEverything as up-to-date as possible (run with --verbose to show unavailable upgrades).However, 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-13 11:51.43 ---> using "d2fc587568fdb697f243ec999a343ce42a59de5bbedc08f2c588b9895362d2ac" from cache/src: (copy (src duration.opam) (dst ./))2026-04-13 11:51.43 ---> using "6228ee261813ef98f03e05014783397fd51875ae867694b7548a467f1309992c" from cache/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-13 11:51.43 ---> using "fa129a0b9c0b982a8d23151569df4f1a783ba40a2640d840d5c51e9905810925" from cache/src: (run (shell "echo '(lang dune 3.0)' > './dune-project'"))2026-04-13 11:51.43 ---> using "cf0fd4c692dc1a491dddd81e372fcc27e15187a5b3b36c12fa0825ea43787581" from cache/src: (env DEPS "alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base cmdliner.2.1.0 dune.3.22.1 fmt.0.11.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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://archive.ubuntu.com/ubuntu jammy InRelease- Get:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]- Get:3 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]- Get:4 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]- Get:5 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1622 kB]- Get:6 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [4226 kB]- Get:7 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1311 kB]- Get:8 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [3889 kB]- Get:9 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [7143 kB]- Get:10 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [6917 kB]- Get:11 http://archive.ubuntu.com/ubuntu jammy-backports/main amd64 Packages [84.0 kB]- Get:12 http://archive.ubuntu.com/ubuntu jammy-backports/universe amd64 Packages [35.6 kB]- Fetched 25.6 MB in 7s (3623 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 2).[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).[NOTE] Package ocaml is already installed (current version is 4.14.2).[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-bigarray is already installed (current version is base).# To update the current shell environment, run: eval $(opam env)2026-04-13 11:51.43 ---> using "30af54b9a0e0fd0140e1aff50c0a17fac7996df5ebb2e7323ee90bbe15759bad" from cache/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 2).[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).[NOTE] Package ocaml is already installed (current version is 4.14.2).[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-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.0- install dune 3.22.1- 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.0 (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.1 (cached)-> installed cmdliner.2.1.0-> installed ocamlbuild.0.16.1-> installed ocamlfind.1.9.8-> installed topkg.1.1.1-> installed uutf.1.0.4-> installed fmt.0.11.0-> installed astring.0.8.5-> installed dune.3.22.1-> 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-13 11:51.43 ---> using "2b9a70daf39b1bdf0b9031612d111c6db07df2b011b83f9d85a79c8ff94388ee" from cache/src: (copy (src .) (dst /src))2026-04-13 11:51.43 ---> using "11139f398542367add39c50601d23f3c4834611d0cf4e69c3b1ba93f8a91805d" from cache/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 `5OOI0O67'.[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.003s. 40 tests run.2026-04-13 11:51.43 ---> using "d70db36a783c7917c42e5af9f63c939e89b0def2f415311854b2ebcc89307513" from cacheJob succeeded2026-04-13 11:51.43: Job succeeded