Organisationshannesmduration42b811 (main)ubuntu-24.04-5.4_opam-2.5

ubuntu-24.04-5.4_opam-2.5

Link Copied
Code Copied

Logs

2026-04-03 11:37.23: New job: test hannesm/duration https://github.com/hannesm/duration.git#refs/heads/main (42b811fcf5c0e07ccf17601d9a8a2c7f11e6f272) (linux-x86_64:ubuntu-24.04-5.4_opam-2.5)
Base: ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:dd146440c079badd35a3a93925c46eb5393069563dd7a6048de35ff37c28c035
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/hannesm/duration.git" -b "main" && cd "duration" && git reset --hard 42b811fc
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:dd146440c079badd35a3a93925c46eb5393069563dd7a6048de35ff37c28c035
# ubuntu-24.04-5.4_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-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.2.1.0 dune.3.22.1 fmt.0.11.0 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 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-03 11:37.23: Using cache hint "hannesm/duration-ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:dd146440c079badd35a3a93925c46eb5393069563dd7a6048de35ff37c28c035-ubuntu-24.04-5.4_opam-2.5-4ea29005cf55d1196ee469b4ae74453c"
2026-04-03 11:37.23: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:dd146440c079badd35a3a93925c46eb5393069563dd7a6048de35ff37c28c035)
(comment ubuntu-24.04-5.4_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-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.2.1.0 dune.3.22.1 fmt.0.11.0 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 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-03 11:37.23: Waiting for resource in pool OCluster
2026-04-03 19:19.27: Waiting for worker…
2026-04-03 19:23.09: Got resource from pool OCluster
Building on doris.caelum.ci.dev
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
Initialized empty Git repository in /var/cache/obuilder/ocluster/git/duration.git-1b18148f60becd842b5a82543b96304d4ab25556/.git/
HEAD is now at 42b811f add maintenance intent


(from ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:dd146440c079badd35a3a93925c46eb5393069563dd7a6048de35ff37c28c035)
Unable to find image 'ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:dd146440c079badd35a3a93925c46eb5393069563dd7a6048de35ff37c28c035' locally
docker.io/ocaml/opam@sha256:dd146440c079badd35a3a93925c46eb5393069563dd7a6048de35ff37c28c035: Pulling from ocaml/opam
ffddc5d3d4f8: Pulling fs layer
afacea7da6fc: Pulling fs layer
ffddc5d3d4f8: Waiting
02993a114a9c: Pulling fs layer
f728466b937f: Pulling fs layer
afacea7da6fc: Waiting
2a09ea00dab5: Pulling fs layer
02993a114a9c: Waiting
c9d563a716c5: Pulling fs layer
f728466b937f: Waiting
2a09ea00dab5: Waiting
f9e94867f93d: Pulling fs layer
93f3d8d164b7: Pulling fs layer
f9e94867f93d: Waiting
c9d563a716c5: Waiting
93f3d8d164b7: Waiting
afacea7da6fc: Verifying Checksum
afacea7da6fc: Download complete
02993a114a9c: Download complete
f728466b937f: Verifying Checksum
f728466b937f: Download complete
ffddc5d3d4f8: Verifying Checksum
ffddc5d3d4f8: Download complete
c9d563a716c5: Download complete
f9e94867f93d: Download complete
93f3d8d164b7: Download complete
2a09ea00dab5: Verifying Checksum
2a09ea00dab5: Download complete
ffddc5d3d4f8: Pull complete
afacea7da6fc: Pull complete
02993a114a9c: Pull complete
f728466b937f: Pull complete
2a09ea00dab5: Pull complete
c9d563a716c5: Pull complete
f9e94867f93d: Pull complete
93f3d8d164b7: Pull complete
Digest: sha256:dd146440c079badd35a3a93925c46eb5393069563dd7a6048de35ff37c28c035
Status: Downloaded newer image for ocaml/opam@sha256:dd146440c079badd35a3a93925c46eb5393069563dd7a6048de35ff37c28c035
2026-04-03 19:23.48 ---> saved as "ae7ae9e61981f1895c6e0ec22a30eff69b90ad3e8d19cfdae29e77ec9a401a19"


/: (comment ubuntu-24.04-5.4_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-03 19:23.49 ---> saved as "78af527f8922ca38385a20426d19d3e0594d123ab663201b00e7abb85735dd95"


/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-03 19:24.16 ---> saved as "42bbc3622fda5675f2b9b26ece13b8496ee63f363b1da915ede0904830ff0bf3"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-106-generic
The OCaml toplevel, version 5.4.0
2.5.0
2026-04-03 19:24.16 ---> saved as "c92895856407e4de9998ffa9245e5657274d0718c9187a181f217fa7619f3744"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2026-04-03 19:24.18 ---> saved as "07c31e381626716eff111e733ed0e9ef04437be3f64fa2f90d2dd770763d9c73"


/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"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
ffb54b9bdd..d28e8bf13a  master     -> origin/master
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-03 19:24.38 ---> saved as "4555f5edc9ac7b637267cd745eb90abef59ebc7981581eb05366bc248e5e3a50"


/src: (copy (src duration.opam) (dst ./))
2026-04-03 19:24.38 ---> saved as "e53deb37aefec7a2abfe2db02f42dd7e441c1bc36a23518fe6f8cffed5bc930f"


/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-03 19:24.40 ---> saved as "8a35d1eedf12376280c8ec07ca9c9195a8ba8aec5a435c2b0699bb6c839af1b7"


/src: (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-04-03 19:24.41 ---> saved as "4f05d556b983d88e81d89611a522e4ca2621abb8a53a2d9496eed0699e42c8f6"


/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.0 dune.3.22.1 fmt.0.11.0 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 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://archive.ubuntu.com/ubuntu noble InRelease
- Get:2 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
- Get:3 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]
- Get:4 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]
- Get:5 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Packages [3669 kB]
- Get:6 http://archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 Packages [38.1 kB]
- Get:7 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [2369 kB]
- Get:8 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [3499 kB]
- Get:9 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [1985 kB]
- Get:10 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [2153 kB]
- Get:11 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [1504 kB]
- Get:12 http://archive.ubuntu.com/ubuntu noble-backports/main amd64 Packages [49.5 kB]
- Get:13 http://archive.ubuntu.com/ubuntu noble-backports/multiverse amd64 Packages [695 B]
- Get:14 http://archive.ubuntu.com/ubuntu noble-backports/universe amd64 Packages [36.1 kB]
- Fetched 15.7 MB in 1s (15.3 MB/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-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml is already installed (current version is 5.4.0).
[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-03 19:24.52 ---> saved as "833db0c9fa547c4c6365c9457fde436c591f29cc995900de1821622330efc62c"


/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-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml is already installed (current version is 5.4.0).
[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.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.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 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.1  (cached)
-> installed cmdliner.2.1.0
-> 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.1
-> 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-03 19:25.28 ---> saved as "790661962c6a12b9b85170986e74cce7d0c4ca3c5f287896aa253191b53a999b"


/src: (copy (src .) (dst /src))
2026-04-03 19:25.28 ---> saved as "0b4bbec7e86031ae10ec688b2d0929520498dba8926877ab01c03434620b5d8f"


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


[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.


Full test results in `/src/_build/default/_build/_tests/Duration tests'.
Test Successful in 0.003s. 33 tests run.
2026-04-03 19:25.29 ---> saved as "334aa1881ca2c5e56c57912628eb4bb93bddee1a31636805e05df26feb949f97"
Job succeeded
2026-04-03 19:25.29: Job succeeded