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-24.04-5.4_opam-2.5) Base: ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:dd146440c079badd35a3a93925c46eb5393069563dd7a6048de35ff37c28c035 Opam project build To reproduce locally: git clone --recursive "https://github.com/hannesm/duration.git" -b "main" && cd "duration" && git reset --hard 35555bd1 cat > Dockerfile <<'END-OF-DOCKERFILE' FROM ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:dd146440c079badd35a3a93925c46eb5393069563dd7a6048de35ff37c28c035 # ubuntu-24.04-5.4_opam-2.5 USER 1000:1000 ENV CLICOLOR_FORCE="1" ENV OPAMCOLOR="always" WORKDIR /src RUN sudo ln -f /usr/bin/opam-2.5 /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 d06cfb1853afceb1dc127f88edaac3f8110bf6cc || git fetch origin master) && git reset -q --hard d06cfb1853afceb1dc127f88edaac3f8110bf6cc && git log --no-decorate -n1 --oneline && opam update -u COPY --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.0 dune.3.22.1 fmt.0.11.0 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 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 $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 2026-04-13 11:51.36: Using cache hint "hannesm/duration-ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:dd146440c079badd35a3a93925c46eb5393069563dd7a6048de35ff37c28c035-ubuntu-24.04-5.4_opam-2.5-4ea29005cf55d1196ee469b4ae74453c" 2026-04-13 11:51.36: Using OBuilder spec: ((from ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:dd146440c079badd35a3a93925c46eb5393069563dd7a6048de35ff37c28c035) (comment ubuntu-24.04-5.4_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-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.2.1.0 dune.3.22.1 fmt.0.11.0 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 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-13 11:51.36: Waiting for resource in pool OCluster 2026-04-13 11:51.36: Waiting for worker… 2026-04-13 11:51.42: Got resource from pool OCluster Building on doris.caelum.ci.dev HEAD is now at d9be09e Improve documentation for of_string{,_exn} HEAD is now at 35555bd Merge pull request #10 from dinosaure/of_string_exn (from ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:dd146440c079badd35a3a93925c46eb5393069563dd7a6048de35ff37c28c035) Unable to find image 'ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:dd146440c079badd35a3a93925c46eb5393069563dd7a6048de35ff37c28c035' locally docker.io/ocaml/opam@sha256:dd146440c079badd35a3a93925c46eb5393069563dd7a6048de35ff37c28c035: Pulling from ocaml/opam ffddc5d3d4f8: Pulling fs layer afacea7da6fc: Pulling fs layer 02993a114a9c: Pulling fs layer f728466b937f: Pulling fs layer 2a09ea00dab5: Pulling fs layer c9d563a716c5: Pulling fs layer f9e94867f93d: Pulling fs layer 93f3d8d164b7: Pulling fs layer f728466b937f: Waiting f9e94867f93d: Waiting 93f3d8d164b7: Waiting 2a09ea00dab5: Waiting c9d563a716c5: Waiting afacea7da6fc: Verifying Checksum afacea7da6fc: Download complete 02993a114a9c: Verifying Checksum 02993a114a9c: Download complete f728466b937f: Verifying Checksum f728466b937f: Download complete c9d563a716c5: Verifying Checksum c9d563a716c5: Download complete f9e94867f93d: Verifying Checksum f9e94867f93d: Download complete 93f3d8d164b7: Verifying Checksum 93f3d8d164b7: Download complete 2a09ea00dab5: Verifying Checksum 2a09ea00dab5: Download complete ffddc5d3d4f8: Verifying Checksum ffddc5d3d4f8: Download complete ffddc5d3d4f8: Pull complete afacea7da6fc: Pull complete 02993a114a9c: Pull complete f728466b937f: Pull complete 2a09ea00dab5: Pull complete c9d563a716c5: Pull complete f9e94867f93d: Pull complete 93f3d8d164b7: Pull complete Digest: sha256:dd146440c079badd35a3a93925c46eb5393069563dd7a6048de35ff37c28c035 Status: Downloaded newer image for ocaml/opam@sha256:dd146440c079badd35a3a93925c46eb5393069563dd7a6048de35ff37c28c035 2026-04-13 11:51.43 ---> using "ae7ae9e61981f1895c6e0ec22a30eff69b90ad3e8d19cfdae29e77ec9a401a19" from cache /: (comment ubuntu-24.04-5.4_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 "78af527f8922ca38385a20426d19d3e0594d123ab663201b00e7abb85735dd95" 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] y [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 --global Format upgrade done. <><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><> [default] Initialised 2026-04-13 11:51.43 ---> using "42bbc3622fda5675f2b9b26ece13b8496ee63f363b1da915ede0904830ff0bf3" from cache /src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) Linux 6.8.0-106-generic The OCaml toplevel, version 5.4.0 2.5.0 2026-04-13 11:51.43 ---> using "c92895856407e4de9998ffa9245e5657274d0718c9187a181f217fa7619f3744" from cache /src: (workdir /src) /src: (run (shell "sudo chown opam /src")) 2026-04-13 11:51.43 ---> using "07c31e381626716eff111e733ed0e9ef04437be3f64fa2f90d2dd770763d9c73" 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_HEAD ffb54b9bdd..0404939bde master -> origin/master d06cfb1853 Merge pull request #29632 from shonfeder/release-dune-3.22.1 <><> 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 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 "4555f5edc9ac7b637267cd745eb90abef59ebc7981581eb05366bc248e5e3a50" from cache /src: (copy (src duration.opam) (dst ./)) 2026-04-13 11:51.43 ---> using "e53deb37aefec7a2abfe2db02f42dd7e441c1bc36a23518fe6f8cffed5bc930f" 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 "8a35d1eedf12376280c8ec07ca9c9195a8ba8aec5a435c2b0699bb6c839af1b7" from cache /src: (run (shell "echo '(lang dune 3.0)' > './dune-project'")) 2026-04-13 11:51.43 ---> using "4f05d556b983d88e81d89611a522e4ca2621abb8a53a2d9496eed0699e42c8f6" from cache /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.0 dune.3.22.1 fmt.0.11.0 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 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://archive.ubuntu.com/ubuntu noble InRelease - Get:2 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB] - Get:3 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB] - Get:4 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [2376 kB] - Get:5 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [2154 kB] - Get:6 http://archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 Packages [38.1 kB] - Get:7 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Packages [3692 kB] - Get:8 http://archive.ubuntu.com/ubuntu noble-backports/main amd64 Packages [49.5 kB] - Get:9 http://archive.ubuntu.com/ubuntu noble-backports/multiverse amd64 Packages [695 B] - Get:10 http://archive.ubuntu.com/ubuntu noble-backports/universe amd64 Packages [36.1 kB] - Get:11 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB] - Get:12 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [1508 kB] - Get:13 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [3505 kB] - Get:14 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [1989 kB] - Fetched 15.7 MB in 2s (9147 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.0). [NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0). [NOTE] Package ocaml is already installed (current version is 5.4.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). # To update the current shell environment, run: eval $(opam env) 2026-04-13 11:51.43 ---> using "833db0c9fa547c4c6365c9457fde436c591f29cc995900de1821622330efc62c" 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 3). [NOTE] Package ocaml-compiler is already installed (current version is 5.4.0). [NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0). [NOTE] Package ocaml is already installed (current version is 5.4.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 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 ocamlfind.1.9.8 -> installed ocamlbuild.0.16.1 -> 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.1 Done. # To update the current shell environment, run: eval $(opam env) 2026-04-13 11:51.43 ---> using "790661962c6a12b9b85170986e74cce7d0c4ca3c5f287896aa253191b53a999b" from cache /src: (copy (src .) (dst /src)) 2026-04-13 11:51.43 ---> using "089a0969455d5fc54186f61fcf34d5c0da05c48b29abdc62585754656ed02ae0" 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 `QS1LDQBB'. [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 "8048b95f5fbcc1fd22327ea3b123cf9f64437a9fd5531375185e4c93e42fadb1" from cache Job succeeded 2026-04-13 11:51.43: Job succeeded