Organisationshannesmduration7bf34d (main)debian-13-5.2_opam-2.5

debian-13-5.2_opam-2.5

Link Copied
Code Copied

Logs

2026-04-22 14:13.06: New job: test hannesm/duration https://github.com/hannesm/duration.git#refs/heads/main (7bf34d3c03586b9a8680a617f2b3a30f16513710) (linux-x86_64:debian-13-5.2_opam-2.5)
Base: ocaml/opam:debian-13-ocaml-5.2@sha256:e9e8a26d58179e75ca1525025bcc5dbbc56cd84f4176f8d1dcd97b95cde427b0
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.2@sha256:e9e8a26d58179e75ca1525025bcc5dbbc56cd84f4176f8d1dcd97b95cde427b0
# debian-13-5.2_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 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-nnp.base base-threads.base base-unix.base cmdliner.2.1.1 dune.3.22.2 fmt.0.11.0 ocaml.5.2.1 ocaml-base-compiler.5.2.1 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-22 14:13.06: Using cache hint "hannesm/duration-ocaml/opam:debian-13-ocaml-5.2@sha256:e9e8a26d58179e75ca1525025bcc5dbbc56cd84f4176f8d1dcd97b95cde427b0-debian-13-5.2_opam-2.5-62f8ecb0578aa9c09c5310650f04331f"
2026-04-22 14:13.06: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.2@sha256:e9e8a26d58179e75ca1525025bcc5dbbc56cd84f4176f8d1dcd97b95cde427b0)
(comment debian-13-5.2_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 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-nnp.base base-threads.base base-unix.base cmdliner.2.1.1 dune.3.22.2 fmt.0.11.0 ocaml.5.2.1 ocaml-base-compiler.5.2.1 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-22 14:13.06: Waiting for resource in pool OCluster
2026-04-22 15:51.02: Waiting for worker…
2026-04-22 15:53.13: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at 7bf34d3 changes for 0.3.1


(from ocaml/opam:debian-13-ocaml-5.2@sha256:e9e8a26d58179e75ca1525025bcc5dbbc56cd84f4176f8d1dcd97b95cde427b0)
Unable to find image 'ocaml/opam:debian-13-ocaml-5.2@sha256:e9e8a26d58179e75ca1525025bcc5dbbc56cd84f4176f8d1dcd97b95cde427b0' locally
docker.io/ocaml/opam@sha256:e9e8a26d58179e75ca1525025bcc5dbbc56cd84f4176f8d1dcd97b95cde427b0: Pulling from ocaml/opam
8f6ad858d0a4: Already exists
9cb5e198c8cf: Already exists
2d346d36dcf2: Already exists
cdc35e289b8d: Already exists
aeb7244bb580: Already exists
fc1943254a0d: Already exists
84238c416f8e: Already exists
fbbfe75d3112: Already exists
221fdc5d9929: Already exists
1fec9149b52a: Already exists
9c6e52557f24: Already exists
8737f5036aae: Already exists
d69c4074de14: Already exists
7237152a5f04: Already exists
fba4b414d8a0: Already exists
40d552afb3ef: Already exists
077cc17dc8e4: Already exists
077cc17dc8e4: Already exists
169e1be36a55: Already exists
0a8a005097ab: Already exists
caba3ec4b361: Already exists
6a364dc641f8: Already exists
4f4fb700ef54: Already exists
ab8052928cdc: Already exists
f5717a28dd6a: Already exists
79233a9b9bed: Already exists
d832d53e7392: Already exists
1872dad82243: Already exists
bfd849b08ba7: Already exists
834a8024ef15: Already exists
98ccec79258b: Already exists
fb48f36a0542: Already exists
3688b13db8e7: Already exists
a5c099f5f72c: Already exists
1ff1760de5b0: Already exists
98eec6764aa5: Already exists
aa22ae69debd: Already exists
12bfb7b962a2: Already exists
ec25ce9bb816: Already exists
beadd3cf7357: Already exists
d0d0c65a426d: Already exists
515483e45ca3: Pulling fs layer
661f20af1a8e: Pulling fs layer
76308b68cccc: Pulling fs layer
515483e45ca3: Waiting
188a1be3940d: Pulling fs layer
661f20af1a8e: Waiting
76308b68cccc: Waiting
42df7319b6b4: Pulling fs layer
a2d792fa2790: Pulling fs layer
d93e664bf0fb: Pulling fs layer
188a1be3940d: Waiting
d93e664bf0fb: Waiting
42df7319b6b4: Waiting
a2d792fa2790: Waiting
515483e45ca3: Verifying Checksum
515483e45ca3: Download complete
515483e45ca3: Pull complete
661f20af1a8e: Verifying Checksum
661f20af1a8e: Pull complete
76308b68cccc: Verifying Checksum
76308b68cccc: Download complete
76308b68cccc: Pull complete
42df7319b6b4: Verifying Checksum
42df7319b6b4: Download complete
a2d792fa2790: Verifying Checksum
a2d792fa2790: Download complete
d93e664bf0fb: Download complete
188a1be3940d: Verifying Checksum
188a1be3940d: Download complete
188a1be3940d: Pull complete
42df7319b6b4: Pull complete
a2d792fa2790: Pull complete
d93e664bf0fb: Pull complete
Digest: sha256:e9e8a26d58179e75ca1525025bcc5dbbc56cd84f4176f8d1dcd97b95cde427b0
Status: Downloaded newer image for ocaml/opam@sha256:e9e8a26d58179e75ca1525025bcc5dbbc56cd84f4176f8d1dcd97b95cde427b0
2026-04-22 15:53.14 ---> using "94a57a9c3527a48ab5d91602eeb79e35d18ff1f71260d38c89c82f7fbff465ae" from cache


/: (comment debian-13-5.2_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-22 15:53.14 ---> using "b9d22a1bdc828a837b755057752c8957a4c5d15367e279844b1e37935ba1e128" 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] y
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.


[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-22 15:53.14 ---> using "f56f445336b694ef3e451ab752adb2b680dbba91be01306fcf3529de7b6c3af8" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-106-generic
The OCaml toplevel, version 5.2.1
2.5.0
2026-04-22 15:53.14 ---> using "66c9846cb250aff6c9d4c0076257f7b5a327eb92fb547f9fc6af3270d11c0e86" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2026-04-22 15:53.14 ---> using "f7f47a5f8eba1682cf4d9599689e3879f7d007257dd68c96251b9d5742516c25" 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
95972b8834..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 (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-22 15:53.14 ---> using "c37cf5ab30f3f88192e3fe28d15f6214a5749f29c1a5bc3f623eb644fef6a57e" from cache


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


/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:53.16 ---> saved as "187649e67c6a1f1519a939ce1aadc23b3ddca71920717b2527149064c31d86fe"


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


/src: (env DEPS "alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base cmdliner.2.1.1 dune.3.22.2 fmt.0.11.0 ocaml.5.2.1 ocaml-base-compiler.5.2.1 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://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 [127 kB]
- Fetched 217 kB in 0s (1363 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-base-compiler is already installed (current version is 5.2.1).
[NOTE] Package ocaml is already installed (current version is 5.2.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-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:53.28 ---> saved as "75a310461c2966c5fddd9041335c69fdfc4920846e965419fcfdcc41f855d047"


/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-base-compiler is already installed (current version is 5.2.1).
[NOTE] Package ocaml is already installed (current version is 5.2.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-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 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-22 15:54.04 ---> saved as "40af234a846477bdfadc1218b4d63e1b7591e84962dd106aaac9223261ab3599"


/src: (copy (src .) (dst /src))
2026-04-22 15:54.05 ---> saved as "1c17afe6a3eb8d69e46eb63fe0d0b62924b00f4a20aea2df24c0136a1e916e5d"


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


[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-22 15:54.06 ---> saved as "8366f177d631f89f6d38295a2128e614c64b9b2bd6c4144b988efa4f19d1f0f5"
Job succeeded
2026-04-22 15:54.06: Job succeeded