Organisationshannesmduration7bf34d (main)(lower-bound)

(lower-bound)

Link Copied
Code Copied

Logs

2026-04-19 17:57.34: New job: test hannesm/duration https://github.com/hannesm/duration.git#refs/heads/main (7bf34d3c03586b9a8680a617f2b3a30f16513710) (linux-x86_64:(lower-bound))
Base: ocaml/opam:debian-13-ocaml-4.08@sha256:3cbf0e68d3a718b80b9a2ab282b68bb62badcbc072fa014a5564516c5f70e74c
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-4.08@sha256:3cbf0e68d3a718b80b9a2ab282b68bb62badcbc072fa014a5564516c5f70e74c
# debian-13-4.08_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 4ae3c774e4a07972d8dc71ead3a8294779f6dada || git fetch origin master) && git reset -q --hard 4ae3c774e4a07972d8dc71ead3a8294779f6dada && 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.0.1 astring.0.8.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.0.4 conf-m4.1 dune.1.11.4 fmt.0.8.6 jbuilder.transition ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 re.1.7.2 seq.base stdlib-shims.0.1.0 topkg.1.0.8 uuidm.0.9.7"
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-19 17:57.34: Using cache hint "hannesm/duration-ocaml/opam:debian-13-ocaml-4.08@sha256:3cbf0e68d3a718b80b9a2ab282b68bb62badcbc072fa014a5564516c5f70e74c-debian-13-4.08_opam-2.5-b4947d7a690781f1ec33b44f5b3809d5"
2026-04-19 17:57.34: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.08@sha256:3cbf0e68d3a718b80b9a2ab282b68bb62badcbc072fa014a5564516c5f70e74c)
(comment debian-13-4.08_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 4ae3c774e4a07972d8dc71ead3a8294779f6dada || git fetch origin master) && git reset -q --hard 4ae3c774e4a07972d8dc71ead3a8294779f6dada && 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.0.1 astring.0.8.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.0.4 conf-m4.1 dune.1.11.4 fmt.0.8.6 jbuilder.transition ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 re.1.7.2 seq.base stdlib-shims.0.1.0 topkg.1.0.8 uuidm.0.9.7")
(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-19 17:57.34: Waiting for resource in pool OCluster
2026-04-19 17:57.34: Waiting for worker…
2026-04-19 17:57.34: 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-4.08@sha256:3cbf0e68d3a718b80b9a2ab282b68bb62badcbc072fa014a5564516c5f70e74c)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.08@sha256:3cbf0e68d3a718b80b9a2ab282b68bb62badcbc072fa014a5564516c5f70e74c' locally
docker.io/ocaml/opam@sha256:3cbf0e68d3a718b80b9a2ab282b68bb62badcbc072fa014a5564516c5f70e74c: 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
b32c9abef0bb: Pulling fs layer
dd7da3e42740: Pulling fs layer
06223904e4d3: Pulling fs layer
b18a38618cf8: Pulling fs layer
b18a38618cf8: Waiting
dd7da3e42740: Verifying Checksum
dd7da3e42740: Download complete
06223904e4d3: Download complete
b18a38618cf8: Download complete
b32c9abef0bb: Verifying Checksum
b32c9abef0bb: Download complete
b32c9abef0bb: Pull complete
dd7da3e42740: Pull complete
06223904e4d3: Pull complete
b18a38618cf8: Pull complete
Digest: sha256:3cbf0e68d3a718b80b9a2ab282b68bb62badcbc072fa014a5564516c5f70e74c
Status: Downloaded newer image for ocaml/opam@sha256:3cbf0e68d3a718b80b9a2ab282b68bb62badcbc072fa014a5564516c5f70e74c
2026-04-19 17:57.34 ---> using "228e5ba11f0bea08c69266bb98d12a75785691261b07b0808652a307a04e14b2" from cache


/: (comment debian-13-4.08_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-19 17:57.34 ---> using "8f0c0f8b904420153cc7d08b1a8906e69995fa51995d7a62aa1c073c7191c917" 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-19 17:57.34 ---> using "69a4145a27f132504ea642fc2251248a9d038744f1d63d739fb1292f7f0099ce" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-106-generic
The OCaml toplevel, version 4.08.1
2.5.0
2026-04-19 17:57.34 ---> using "5cac6514a27f9520520e43db3fcfdac4b7207f9a8134f988f146ecf9da38efcb" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2026-04-19 17:57.34 ---> using "b57b6278781af1681d1782728fb84867fcbbe8008d7c20a94689745acc908c11" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 4ae3c774e4a07972d8dc71ead3a8294779f6dada || git fetch origin master) && git reset -q --hard 4ae3c774e4a07972d8dc71ead3a8294779f6dada && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
42844088d7..4ae3c774e4  master     -> origin/master
4ae3c774e4 Merge pull request #29579 from ocaml/add-msys2-depexts


<><> 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-19 17:57.34 ---> using "1cae88279ccf97f956b2244effac9c91fe42f5a352b03a778482c0d22bb32879" from cache


/src: (copy (src duration.opam) (dst ./))
2026-04-19 17:57.35 ---> saved as "e8f04b4d3afe4f1f25b878cc1ec1c3d82d73458bebb5f804a034ef4c88214dec"


/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-19 17:57.36 ---> saved as "3ca0e07c5dcefd69a731adb4c969a3d8c55cead95c9d77c9547de709b3a52c71"


/src: (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-04-19 17:57.37 ---> saved as "cd70388bfa5dadcb585a7fc5fca678963d772a2380d74fd37fcbdfad2016ac19"


/src: (env DEPS "alcotest.1.0.1 astring.0.8.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.0.4 conf-m4.1 dune.1.11.4 fmt.0.8.6 jbuilder.transition ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 re.1.7.2 seq.base stdlib-shims.0.1.0 topkg.1.0.8 uuidm.0.9.7")


/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 [124 kB]
- Fetched 215 kB in 0s (806 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.08.1).
[NOTE] Package ocaml is already installed (current version is 4.08.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 system packages will first need to be installed:
m4


<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>


+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "m4"
- Selecting previously unselected package m4.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 20623 files and directories currently installed.)
- Preparing to unpack .../archives/m4_1.4.19-8_amd64.deb ...
- Unpacking m4 (1.4.19-8) ...
- Setting up m4 (1.4.19-8) ...
# To update the current shell environment, run: eval $(opam env)
2026-04-19 17:57.47 ---> saved as "581f60edf438213627d92b20e800e440abfbe65de3e861e159ee441a95118a07"


/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.08.1).
[NOTE] Package ocaml is already installed (current version is 4.08.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 15 packages
- install alcotest     1.0.1
- install astring      0.8.3
- install base-bytes   base
- install cmdliner     1.0.4
- install conf-m4      1
- install dune         1.11.4
- install fmt          0.8.6
- install jbuilder     transition (deprecated)
- install ocamlbuild   0.14.0
- install ocamlfind    1.8.0
- install re           1.7.2
- install seq          base
- install stdlib-shims 0.1.0
- install topkg        1.0.8
- install uuidm        0.9.7


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.0.1  (cached)
-> retrieved astring.0.8.3  (cached)
-> retrieved cmdliner.1.0.4  (cached)
-> installed conf-m4.1
-> retrieved fmt.0.8.6  (cached)
-> retrieved ocamlbuild.0.14.0  (cached)
-> retrieved ocamlfind.1.8.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved dune.1.11.4  (cached)
-> retrieved re.1.7.2  (cached)
-> retrieved stdlib-shims.0.1.0  (cached)
-> retrieved topkg.1.0.8  (cached)
-> retrieved uuidm.0.9.7  (cached)
-> installed cmdliner.1.0.4
-> installed ocamlfind.1.8.0
-> installed base-bytes.base
-> installed ocamlbuild.0.14.0
-> installed topkg.1.0.8
-> installed uuidm.0.9.7
-> installed astring.0.8.3
-> installed dune.1.11.4
-> installed jbuilder.transition
-> installed stdlib-shims.0.1.0
-> installed re.1.7.2
-> installed fmt.0.8.6
-> installed alcotest.1.0.1
Done.


<><> jbuilder.transition installed successfully <><><><><><><><><><><><><><><><>
=> Note: This package is deprecated.
=> Jbuilder has been renamed and the jbuilder package is now a transition package. Use the dune package instead.
# To update the current shell environment, run: eval $(opam env)
2026-04-19 17:58.15 ---> saved as "9e03825cfb67d0241e81dbf08152b7a814b665acb5dd8152962559d6e3a3dd95"


/src: (copy (src .) (dst /src))
2026-04-19 17:58.15 ---> saved as "f8c508e017a5a2cf9f5c1c8cd0e1efccb4250564188100d52e72dd763b155ef1"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
ocamlc .tests.eobjs/byte/tests.{cmi,cmo,cmt} (exit 2)
(cd _build/default && /home/opam/.opam/4.08/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -I .tests.eobjs/byte -I /home/opam/.opam/4.08/lib/alcotest -I /home/opam/.opam/4.08/lib/astring -I /home/opam/.opam/4.08/lib/bytes -I /home/opam/.opam/4.08/lib/cmdliner -I /home/opam/.opam/4.08/lib/fmt -I /home/opam/.opam/4.08/lib/re -I /home/opam/.opam/4.08/lib/seq -I /home/opam/.opam/4.08/lib/stdlib-shims -I /home/opam/.opam/4.08/lib/uuidm -I .duration.objs/byte -I .duration.objs/native -no-alias-deps -opaque -o .tests.eobjs/byte/tests.cmo -c -impl tests.ml)
File "tests.ml", line 205, characters 25-33:
205 |   let invalid_argf fmt = Fmt.kstr (fun msg -> Invalid_argument msg) fmt in
^^^^^^^^
Error: Unbound value Fmt.kstr
Hint: Did you mean kstrf?
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2026-04-19 17:58.16: Job failed: Failed: Build failed