Organisationshannesmduration35555b ()debian-13-4.09_opam-2.5

debian-13-4.09_opam-2.5

Logs

Show full logs
2026-04-13 11:51.36: New job: test hannesm/duration https://github.com/hannesm/duration.git#refs/heads/main (35555bd1082d8ffad74eee090670e5f826791f76) (linux-x86_64:debian-13-4.09_opam-2.5)
Base: ocaml/opam:debian-13-ocaml-4.09@sha256:32f5e46d88a821cc379111272d29aa2f0069ec47ed57700fff8178dc9e28df2e
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:debian-13-ocaml-4.09@sha256:32f5e46d88a821cc379111272d29aa2f0069ec47ed57700fff8178dc9e28df2e
# debian-13-4.09_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-threads.base base-unix.base cmdliner.2.1.0 dune.3.22.1 fmt.0.11.0 ocaml.4.09.1 ocaml-base-compiler.4.09.1 ocaml-config.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.11.0 seq.base 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:debian-13-ocaml-4.09@sha256:32f5e46d88a821cc379111272d29aa2f0069ec47ed57700fff8178dc9e28df2e-debian-13-4.09_opam-2.5-6698fd8798ac1aa96502c20abb5aec57"
2026-04-13 11:51.36: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.09@sha256:32f5e46d88a821cc379111272d29aa2f0069ec47ed57700fff8178dc9e28df2e)
 (comment debian-13-4.09_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.09.1 ocaml-base-compiler.4.09.1 ocaml-config.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.11.0 seq.base 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.44: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at 35555bd Merge pull request #10 from dinosaure/of_string_exn

(from ocaml/opam:debian-13-ocaml-4.09@sha256:32f5e46d88a821cc379111272d29aa2f0069ec47ed57700fff8178dc9e28df2e)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.09@sha256:32f5e46d88a821cc379111272d29aa2f0069ec47ed57700fff8178dc9e28df2e' locally
docker.io/ocaml/opam@sha256:32f5e46d88a821cc379111272d29aa2f0069ec47ed57700fff8178dc9e28df2e: Pulling from ocaml/opam
a7730063fcfe: Already exists
1a27fd2181de: Already exists
c29591c91388: Already exists
356a64daa753: Already exists
ac02f8f2062b: Already exists
aaa2f390e4c8: Already exists
b668811757f6: Already exists
32fd4e1a774f: Already exists
b1d486fb8fdf: Already exists
cf8a2024f299: Already exists
8c4a5dac67c3: Already exists
6adfe24d7b40: Already exists
dccd6e3c0589: Already exists
2ee4bcb55cd4: Already exists
2dc3b58478d7: Already exists
daf15e5c44c6: Already exists
564e978a8088: Already exists
564e978a8088: Already exists
25a652a8c456: Already exists
b3bfea7bff3f: Already exists
a00f2937f570: Already exists
78bd1737ebff: Already exists
4f4fb700ef54: Already exists
4291a055edd7: Already exists
3c2b2836d59a: Already exists
7b3e96544a52: Already exists
c72503effb14: Already exists
bca08df11a10: Already exists
2ab0829b2daf: Already exists
1d246d4da211: Already exists
a09cb4870027: Already exists
2ce07b4fe7c0: Already exists
6b96f28d505e: Already exists
b6ad36bba9bf: Already exists
56d62791a0f9: Already exists
4d60780055d1: Already exists
43f57a7c44cb: Already exists
f21057dc4e85: Already exists
e0d2ca1300ed: Already exists
9da2f7598f8e: Already exists
cb569bb28593: Already exists
865945196817: Pulling fs layer
ee2d9ecc9d98: Pulling fs layer
6147a10ef827: Pulling fs layer
f9d68e4f9f43: Pulling fs layer
f9d68e4f9f43: Waiting
ee2d9ecc9d98: Verifying Checksum
ee2d9ecc9d98: Download complete
6147a10ef827: Verifying Checksum
6147a10ef827: Download complete
f9d68e4f9f43: Verifying Checksum
f9d68e4f9f43: Download complete
865945196817: Verifying Checksum
865945196817: Download complete
865945196817: Pull complete
ee2d9ecc9d98: Pull complete
6147a10ef827: Pull complete
f9d68e4f9f43: Pull complete
Digest: sha256:32f5e46d88a821cc379111272d29aa2f0069ec47ed57700fff8178dc9e28df2e
Status: Downloaded newer image for ocaml/opam@sha256:32f5e46d88a821cc379111272d29aa2f0069ec47ed57700fff8178dc9e28df2e
2026-04-13 11:51.45 ---> using "2315430a2b9f3e6551a273bddfee694c78eb1da9ff2b8f19908a3b7fe84b2feb" from cache

/: (comment debian-13-4.09_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.45 ---> using "2b073f222d3cd4a93e31f678de1dc32fccbf6c5be4a4c54e9345740a11c73182" 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.45 ---> using "cba2d830b7ba9947ee04b5579e649ea25c76e6ad7d69046a7626f21fae5bfb20" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-106-generic
The OCaml toplevel, version 4.09.1
2.5.0
2026-04-13 11:51.45 ---> using "e611800b15ab13d3bc3c8fbb6e686f41716e2e39ad4fd175203d01473b0cc76e" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2026-04-13 11:51.45 ---> using "63a50d5ea8eb5e9e4d238369d041842fc5bac110276a1735d7dd624285a8f37e" 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"))
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.45 ---> using "e5e132b99247c2c157dbbae7bd62b1fee3de9b8bbd820c44199f0140150c8761" from cache

/src: (copy (src duration.opam) (dst ./))
2026-04-13 11:51.45 ---> using "58d6381d311e91ec4704d70a8d5c1060a0d9983d7613930afcf96c7526075a53" 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.45 ---> using "52ee57435ff717b08ae69c56737fce3bbb061d93d07811bc614973a29393309f" from cache

/src: (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-04-13 11:51.45 ---> using "c584dd104d2154fc9da6994983c2723f87d6e8dd6837868d77bea8140c298cd8" 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.09.1 ocaml-base-compiler.4.09.1 ocaml-config.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.11.0 seq.base 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 amd64 Packages [122 kB]
- Fetched 213 kB in 0s (1974 kB/s)
- Reading package lists...

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[duration.dev] synchronised (file:///src)

[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.09.1).
[NOTE] Package ocaml is already installed (current version is 4.09.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-bigarray is already installed (current version is base).
# To update the current shell environment, run: eval $(opam env)
2026-04-13 11:51.45 ---> using "5e5be819ef1bcc3126d5318ac3624e44801a324fc7b87994d3533c4725d967d2" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam install $DEPS"))
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.09.1).
[NOTE] Package ocaml is already installed (current version is 4.09.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-bigarray is already installed (current version is base).
The following actions will be performed:
=== install 13 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.11.0
  - install seq                base
  - 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 ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved re.1.11.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.11.0
-> installed alcotest.1.9.1
Done.
# To update the current shell environment, run: eval $(opam env)
2026-04-13 11:51.45 ---> using "65a710c07e166bcb0336dfee82393cd08996997cb5d67cc108ed00ea798d0bab" from cache

/src: (copy (src .) (dst /src))
2026-04-13 11:51.45 ---> using "b9493dee77787d7821cafa6467da5e62a325e34fd32a557271b99a371464400a" 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 `P49FXSIU'.

  [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.005s. 40 tests run.
2026-04-13 11:51.45 ---> using "bfa51e13e63e564050e89856f43da11d4415107ffdc83543581b1d52efee870c" from cache
Job succeeded
2026-04-13 11:51.45: Job succeeded