Organisationshannesmduration7bf34d (main)debian-13-5.4_arm32_opam-2.5

debian-13-5.4_arm32_opam-2.5

Logs

Show full logs
2026-04-22 14:13.06: New job: test hannesm/duration https://github.com/hannesm/duration.git#refs/heads/main (7bf34d3c03586b9a8680a617f2b3a30f16513710) (linux-arm64:debian-13-5.4_arm32_opam-2.5)
Base: ocaml/opam:debian-13-ocaml-5.4@sha256:693926cc9b8abbd309167dc982607708a09b21e08c25c3b4b369c3ed1013684c
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/hannesm/duration.git" -b "main" && cd "duration" && git reset --hard 7bf34d3c
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.4@sha256:693926cc9b8abbd309167dc982607708a09b21e08c25c3b4b369c3ed1013684c
# debian-13-5.4_arm32_opam-2.5
USER 1000:1000
SHELL [ "/usr/bin/linux32", "/bin/sh", "-c" ]
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 036883c5402b41e0d35f6b200245cc7c3a302395 || git fetch origin master) && git reset -q --hard 036883c5402b41e0d35f6b200245cc7c3a302395 && 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.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-option-bytecode-only.1 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-22 14:13.06: Using cache hint "hannesm/duration-ocaml/opam:debian-13-ocaml-5.4@sha256:693926cc9b8abbd309167dc982607708a09b21e08c25c3b4b369c3ed1013684c-debian-13-5.4_arm32_opam-2.5-a6a1f198f095c2a8e9cd27933046d75f"
2026-04-22 14:13.06: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:693926cc9b8abbd309167dc982607708a09b21e08c25c3b4b369c3ed1013684c)
 (comment debian-13-5.4_arm32_opam-2.5)
 (user (uid 1000) (gid 1000))
 (shell /usr/bin/linux32 /bin/sh -c)
 (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-option-bytecode-only.1 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 OCluster
2026-04-22 15:05.18: Waiting for worker…
2026-04-22 15:21.09: Got resource from pool OCluster
Building on okypous.caelum.ci.dev
All commits already cached
HEAD is now at 7bf34d3 changes for 0.3.1

(from ocaml/opam:debian-13-ocaml-5.4@sha256:693926cc9b8abbd309167dc982607708a09b21e08c25c3b4b369c3ed1013684c)
Unable to find image 'ocaml/opam:debian-13-ocaml-5.4@sha256:693926cc9b8abbd309167dc982607708a09b21e08c25c3b4b369c3ed1013684c' locally
docker.io/ocaml/opam@sha256:693926cc9b8abbd309167dc982607708a09b21e08c25c3b4b369c3ed1013684c: Pulling from ocaml/opam
5b74af671a0d: Already exists
c0004a7d6c35: Already exists
f7a319dbefcd: Already exists
64580c57b212: Already exists
a7a74d567e7f: Already exists
c580bc3191e6: Already exists
a24164330339: Already exists
389635c05bd5: Already exists
5358dac9a3d4: Already exists
5b6e3ab6d3fc: Already exists
ffa573419cd0: Already exists
956e8946fe76: Already exists
4cc19ec4e35b: Already exists
50d39f8a329f: Already exists
a2fee4a744b8: Already exists
f2566e25e026: Already exists
de8e612ca6e2: Already exists
de8e612ca6e2: Already exists
86d62552ecc4: Already exists
c34de772c91f: Already exists
4cf43450be7f: Already exists
90d76b52e78d: Already exists
4f4fb700ef54: Already exists
f29faed7ad27: Already exists
acd40d5e4b35: Already exists
ed1b58f60f89: Already exists
243a372e5aeb: Already exists
47b3c15182a0: Already exists
56be057a4eba: Already exists
96072ffd6041: Already exists
202b0835cdb0: Already exists
950aa580dfc5: Already exists
a0f8a2ee86c0: Already exists
4b9f70c22356: Already exists
851d89921c2a: Already exists
cf65a1254a3f: Already exists
231b5493b83c: Already exists
ec961e9f48df: Already exists
fd6dc10f6892: Already exists
1d0f5bff4cde: Already exists
fdcc560f846b: Already exists
7ec6fe196744: Pulling fs layer
83e6e7d763e1: Pulling fs layer
9dbb6f743745: Pulling fs layer
2b6a449fd2ed: Pulling fs layer
de384661abfa: Pulling fs layer
3c5235aed0c0: Pulling fs layer
bd13826022d3: Pulling fs layer
2b6a449fd2ed: Waiting
bd13826022d3: Waiting
de384661abfa: Waiting
3c5235aed0c0: Waiting
9dbb6f743745: Verifying Checksum
9dbb6f743745: Download complete
7ec6fe196744: Verifying Checksum
7ec6fe196744: Download complete
7ec6fe196744: Pull complete
83e6e7d763e1: Verifying Checksum
83e6e7d763e1: Download complete
83e6e7d763e1: Pull complete
9dbb6f743745: Pull complete
de384661abfa: Verifying Checksum
de384661abfa: Download complete
3c5235aed0c0: Verifying Checksum
3c5235aed0c0: Download complete
bd13826022d3: Verifying Checksum
bd13826022d3: Download complete
2b6a449fd2ed: Download complete
2b6a449fd2ed: Pull complete
de384661abfa: Pull complete
3c5235aed0c0: Pull complete
bd13826022d3: Pull complete
Digest: sha256:693926cc9b8abbd309167dc982607708a09b21e08c25c3b4b369c3ed1013684c
Status: Downloaded newer image for ocaml/opam@sha256:693926cc9b8abbd309167dc982607708a09b21e08c25c3b4b369c3ed1013684c
2026-04-22 15:21.09 ---> using "e3a4dfe50414b30acc0acf4d7df7b8ace3a607b326f8443751115cd12bd5dffd" from cache

/: (comment debian-13-5.4_arm32_opam-2.5)

/: (user (uid 1000) (gid 1000))

/: (shell /usr/bin/linux32 /bin/sh -c)

/: (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-22 15:21.09 ---> using "11a5a065a36bf1fbcd6677db522011410f52b90c9f814f5df96c5002277e1782" 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
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-04-22 15:21.09 ---> using "7d333fe8adc870fca57c5860b783adae397929ec23a45b43ae9049b9553dd467" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-107-generic
The OCaml toplevel, version 5.4.1
2.5.0
2026-04-22 15:21.09 ---> using "1f294dd375293a36e4c0adf6670b1f4a626e0fb6b414c615ce492896da843193" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2026-04-22 15:21.09 ---> using "8d083ae48f4cb8e63e34f8e15eb5e304e079a3d97140853fefff4a12d91dd436" 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_HEAD
   42844088d7..80ba534fc6  master     -> origin/master
036883c540 Merge pull request #29788 from dbuenzli/b0-publish-cmdliner.2.1.1

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository
default (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 possible
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-22 15:21.09 ---> using "fc5058e3cc6be532ee96b66ff670d871d7b30c61fcc8460c34b5a7a971fa3e67" from cache

/src: (copy (src duration.opam) (dst ./))
2026-04-22 15:21.10 ---> saved as "c454ed4e75288795f47071fd5c1fb3c8dde729fd088b4f22fe290aa1eeb809aa"

/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-22 15:21.12 ---> saved as "9fab87b9d0a19df5297ac23de0f3de1de66922772a19e4b4d1ec91a04bb01a4c"

/src: (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-04-22 15:21.12 ---> saved as "87a86b801fbec82722b5981798e3ef07861477e1693b4072bda02be5ba87f648"

/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-option-bytecode-only.1 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 armhf Packages [121 kB]
- Fetched 212 kB in 0s (1360 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-option-bytecode-only 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-22 15:21.22 ---> saved as "b426fca54aab47501aa79495d10e3196b90a46e72be79e7ad97003bb3472c977"

/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-option-bytecode-only 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 ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (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.1
-> 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.2
-> installed stdlib-shims.0.3.0
-> installed re.1.14.0
-> installed ocaml-syntax-shims.1.0.0
-> installed alcotest.1.9.1
Done.
# To update the current shell environment, run: eval $(opam env)
2026-04-22 15:22.38 ---> saved as "0472da5afd94d26d9e3645d4d1723e4368f577b52a4d8ee49d7c93b87cd9a01a"

/src: (copy (src .) (dst /src))
2026-04-22 15:22.39 ---> saved as "3927ffa506b10fdcc2396cbbd766ae5e1b9d6cb38351dd02716895974fdda5f2"

/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 `NQQ7SQQQ'.

  [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_ms is good.
  [OK]          Duration          4   to_ms is good.
  [OK]          Duration          5   inverse of/to_ms.
  [OK]          Duration          6   of_sec is good.
  [OK]          Duration          7   to_sec is good.
  [OK]          Duration          8   inverse of/to_sec.
  [OK]          Duration          9   of_min is good.
  [OK]          Duration         10   to_min is good.
  [OK]          Duration         11   inverse of/to_min.
  [OK]          Duration         12   of_hour is good.
  [OK]          Duration         13   to_hour is good.
  [OK]          Duration         14   inverse of/to_hour.
  [OK]          Duration         15   of_day is good.
  [OK]          Duration         16   to_day is good.
  [OK]          Duration         17   inverse of/to_day.
  [OK]          Duration         18   of_year is good.
  [OK]          Duration         19   to_year is good.
  [OK]          Duration         20   inverse of/to_year.
  [OK]          Duration         21   of_f is good.
  [OK]          Duration         22   to_f is good.
  [OK]          Duration         23   inverse of/to_f.
  [OK]          Duration         24   of_string_exn.
  [OK]          Duration         25   of_string_exn: composite.
  [OK]          Duration         26   of_string_exn: duplicate metrics.
  [OK]          Duration         27   of_string_exn: invalid metric.
  [OK]          Duration         28   of_string_exn: malformed input.
  [OK]          Duration         29   of_string_exn: out of range.
  [OK]          Duration         30   of_string_exn: empty string.

Full test results in `/src/_build/default/_build/_tests/Duration tests'.
Test Successful in 0.008s. 31 tests run.
2026-04-22 15:22.41 ---> saved as "b4001d85470bb0bd1a97e11088e181eda3a88e82ab990baa97eccce5dcc9ec22"
Job succeeded
2026-04-22 15:22.41: Job succeeded