Organisationshannesmdurationae4116 ()debian-13-4.14_arm64_opam-2.5

debian-13-4.14_arm64_opam-2.5

Logs

Show full logs
2026-04-16 21:22.18: New job: test hannesm/duration https://github.com/hannesm/duration.git#refs/heads/main (ae4116d0d2f8a6f0ee4b1aa62cb04dd8490203e4) (linux-arm64:debian-13-4.14_arm64_opam-2.5)
Base: ocaml/opam:debian-13-ocaml-4.14@sha256:8989701a486d9f3ff71f44dde5724ff413e23b6d564a6bd5c6e16f34b3e2f109
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/hannesm/duration.git" -b "main" && cd "duration" && git reset --hard ae4116d0
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.14@sha256:8989701a486d9f3ff71f44dde5724ff413e23b6d564a6bd5c6e16f34b3e2f109
# debian-13-4.14_arm64_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 5f7bb1a6e69f1ea15d8b2b08eeaa70a162c6fd41 || git fetch origin master) && git reset -q --hard 5f7bb1a6e69f1ea15d8b2b08eeaa70a162c6fd41 && 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.2 fmt.0.11.0 ocaml.4.14.3 ocaml-base-compiler.4.14.3 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 $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-16 21:22.18: Using cache hint "hannesm/duration-ocaml/opam:debian-13-ocaml-4.14@sha256:8989701a486d9f3ff71f44dde5724ff413e23b6d564a6bd5c6e16f34b3e2f109-debian-13-4.14_arm64_opam-2.5-97c0af7c5947e9b8f25ec09104c0f6ed"
2026-04-16 21:22.18: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14@sha256:8989701a486d9f3ff71f44dde5724ff413e23b6d564a6bd5c6e16f34b3e2f109)
 (comment debian-13-4.14_arm64_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 5f7bb1a6e69f1ea15d8b2b08eeaa70a162c6fd41 || git fetch origin master) && git reset -q --hard 5f7bb1a6e69f1ea15d8b2b08eeaa70a162c6fd41 && 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.2 fmt.0.11.0 ocaml.4.14.3 ocaml-base-compiler.4.14.3 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-16 21:22.18: Waiting for resource in pool OCluster
2026-04-16 21:22.18: Waiting for worker…
2026-04-16 21:22.18: Got resource from pool OCluster
Building on ocaml-1.osuosl.ci.dev
HEAD is now at f5bfa4f Document the new microsecond parsing
HEAD is now at ae4116d Merge pull request #11 from reynir/of_string-µ

(from ocaml/opam:debian-13-ocaml-4.14@sha256:8989701a486d9f3ff71f44dde5724ff413e23b6d564a6bd5c6e16f34b3e2f109)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.14@sha256:8989701a486d9f3ff71f44dde5724ff413e23b6d564a6bd5c6e16f34b3e2f109' locally
docker.io/ocaml/opam@sha256:8989701a486d9f3ff71f44dde5724ff413e23b6d564a6bd5c6e16f34b3e2f109: Pulling from ocaml/opam
deab8db42772: Already exists
0e3be483d5aa: Already exists
068cb436b3a9: Already exists
876321ecdfda: Already exists
273508c8cc8f: Already exists
0127577a5c6f: Already exists
3a9ccd696d58: Already exists
07e9e46cfc73: Already exists
90969cd95f06: Already exists
73bba924289b: Already exists
95b440bef6e0: Already exists
4d557eea525f: Already exists
66433cb92d59: Already exists
c84c96b2584b: Already exists
4c2683e0739d: Already exists
5d1e421ae43b: Already exists
30b477dede6e: Already exists
30b477dede6e: Already exists
ae38f53b91ad: Already exists
2891aff3bb84: Already exists
557b57ba5e84: Already exists
26aa66f0772d: Already exists
4f4fb700ef54: Already exists
052acd1bf2d5: Already exists
574caf9a2301: Already exists
84389297cf64: Already exists
6bbca6fcf80a: Already exists
a3d41e3ab742: Already exists
8d1ee78e3cbb: Already exists
7e42808b1a06: Already exists
145716f86fbb: Already exists
96f1a7065127: Already exists
bf34a5cce066: Already exists
b208125ec0c1: Already exists
eb9f72cac455: Already exists
b5c4657cdf92: Pulling fs layer
8600938f91bb: Pulling fs layer
2ddefa03d6ee: Pulling fs layer
62e3edde3b1e: Pulling fs layer
767c1c88ccf6: Pulling fs layer
0d5131c49294: Pulling fs layer
9c2c11790be8: Pulling fs layer
2584a6dfc06c: Pulling fs layer
62e3edde3b1e: Waiting
767c1c88ccf6: Waiting
0d5131c49294: Waiting
cec11c32adaa: Pulling fs layer
9c2c11790be8: Waiting
2584a6dfc06c: Waiting
d831832b8f59: Pulling fs layer
cec11c32adaa: Waiting
d831832b8f59: Waiting
8600938f91bb: Verifying Checksum
8600938f91bb: Download complete
62e3edde3b1e: Download complete
767c1c88ccf6: Verifying Checksum
767c1c88ccf6: Download complete
0d5131c49294: Verifying Checksum
b5c4657cdf92: Verifying Checksum
b5c4657cdf92: Download complete
2584a6dfc06c: Download complete
cec11c32adaa: Verifying Checksum
cec11c32adaa: Download complete
d831832b8f59: Verifying Checksum
d831832b8f59: Download complete
9c2c11790be8: Verifying Checksum
9c2c11790be8: Download complete
2ddefa03d6ee: Verifying Checksum
2ddefa03d6ee: Download complete
b5c4657cdf92: Pull complete
8600938f91bb: Pull complete
2ddefa03d6ee: Pull complete
62e3edde3b1e: Pull complete
767c1c88ccf6: Pull complete
0d5131c49294: Pull complete
9c2c11790be8: Pull complete
2584a6dfc06c: Pull complete
cec11c32adaa: Pull complete
d831832b8f59: Pull complete
Digest: sha256:8989701a486d9f3ff71f44dde5724ff413e23b6d564a6bd5c6e16f34b3e2f109
Status: Downloaded newer image for ocaml/opam@sha256:8989701a486d9f3ff71f44dde5724ff413e23b6d564a6bd5c6e16f34b3e2f109
2026-04-16 21:22.19 ---> using "853e3fdac7d8137a097410d60184de0a363c7c18364d78eaac3fa862c4d4862b" from cache

/: (comment debian-13-4.14_arm64_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-16 21:22.19 ---> using "08ea8f836be9d9dbc14b98292c65edba305af4c661e7cc2804e3b5ce5fe2519e" 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 79 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=79 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-04-16 21:22.19 ---> using "b40aea51f0301344ae3f42fcd7534cc2abca62a171f9ac0dbe434190a7a52f5e" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-106-generic
The OCaml toplevel, version 4.14.3
2.5.0
2026-04-16 21:22.19 ---> using "496ba401a603502712c0f8c7dc229480b2690d50c4cbcb035289331a652d2ab3" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2026-04-16 21:22.19 ---> using "6817a84d7a32db085e0d3669870aebe83f18b6dfb95e1e56d33055a33ca58097" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 5f7bb1a6e69f1ea15d8b2b08eeaa70a162c6fd41 || git fetch origin master) && git reset -q --hard 5f7bb1a6e69f1ea15d8b2b08eeaa70a162c6fd41 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   95972b8834..23068bb422  master     -> origin/master
5f7bb1a6e6 Merge pull request #29704 from shonfeder/release-dune-3.22.2

<><> 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-16 21:22.19 ---> using "98fb0b427fd78245c876a191259a9a8ceb127b311cf6ab9d0478b28728eb5a07" from cache

/src: (copy (src duration.opam) (dst ./))
2026-04-16 21:22.19 ---> using "7a41de1b5115dc79cfb1ae27b289731f8ac442d052674f52cca49dad5667a60c" 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-16 21:22.19 ---> using "f1821e5de258a412a9c92b06aabdc09d95ac6911e599341dade87745e97f2870" from cache

/src: (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-04-16 21:22.19 ---> using "d72b85786347414d4f71080fd427c85496a6b877864783431cdc63dc7f6bb9fa" 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.2 fmt.0.11.0 ocaml.4.14.3 ocaml-base-compiler.4.14.3 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://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 arm64 Packages [122 kB]
- Fetched 213 kB in 1s (393 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.3).
[NOTE] Package ocaml is already installed (current version is 4.14.3).
[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-16 21:22.19 ---> using "6e3df0895bf81e3d23259c81e18f28ba09b8bc37650549a86a02deb2ded267bb" 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.3).
[NOTE] Package ocaml is already installed (current version is 4.14.3).
[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.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.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.2  (cached)
-> installed cmdliner.2.1.0
-> installed ocamlbuild.0.16.1
-> installed ocamlfind.1.9.8
-> installed topkg.1.1.1
-> installed fmt.0.11.0
-> installed uutf.1.0.4
-> installed astring.0.8.5
-> 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.1
Done.
# To update the current shell environment, run: eval $(opam env)
2026-04-16 21:22.19 ---> using "4b8ad8b740e8db521962d458810357af7dab24ef14f2625ffb4082988424481c" from cache

/src: (copy (src .) (dst /src))
2026-04-16 21:22.19 ---> using "d2bb9a97d98966becb667226ce98f9640c21b0559142efabdfb913139d75b892" 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 `QYUVZ517'.

  [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.008s. 40 tests run.
2026-04-16 21:22.19 ---> using "f60c8511d93580b79453a1bab9e0b2312b310bf6876e957382e08ad570a91a4a" from cache
Job succeeded
2026-04-16 21:22.20: Job succeeded