Organisationshannesmduration6abe42 (main)(lower-bound)

(lower-bound)

Link Copied
Code Copied

Logs

2024-05-14 13:15.12: New job: test hannesm/duration https://github.com/hannesm/duration.git#refs/heads/main (6abe42ebe585a96f79eb91045911b9a73c1db19e) (linux-x86_64:(lower-bound))
Base: ocaml/opam@sha256:0f5d0fd19d091a9ec4cf32d28835940452b6ae3fd14d05f4b88a8f660fd3f4f8
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/hannesm/duration.git" -b "main" && cd "duration" && git reset --hard 6abe42eb
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:0f5d0fd19d091a9ec4cf32d28835940452b6ae3fd14d05f4b88a8f660fd3f4f8
# debian-12-4.04_opam-2.1
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.1 /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 819388d34cb9356eecd0223a468956daaae1705a || git fetch origin master) && git reset -q --hard 819388d34cb9356eecd0223a468956daaae1705a && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 duration.opam ./
RUN opam pin add -yn duration.dev './'
ENV DEPS="alcotest.0.8.1 astring.0.8.0 base-bigarray.base base-bytes.base base-num.base base-threads.base base-unix.base cmdliner.0.9.8 conf-m4.1 dune.1.0.0 fmt.0.8.0 jbuilder.transition num.0 ocaml.4.04.2 ocaml-base-compiler.4.04.2 ocaml-config.1 ocamlbuild.0.9.1 ocamlfind.1.6.2 result.1.0 topkg.0.7.5"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --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


2024-05-14 13:15.12: Using cache hint "hannesm/duration-ocaml/opam@sha256:0f5d0fd19d091a9ec4cf32d28835940452b6ae3fd14d05f4b88a8f660fd3f4f8-debian-12-4.04_opam-2.1-37ffa898d6e13a48aee805de7aa89839"
2024-05-14 13:15.12: Using OBuilder spec:
((from ocaml/opam@sha256:0f5d0fd19d091a9ec4cf32d28835940452b6ae3fd14d05f4b88a8f660fd3f4f8)
 (comment debian-12-4.04_opam-2.1)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/bin/opam-2.1 /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 819388d34cb9356eecd0223a468956daaae1705a || git fetch origin master) && git reset -q --hard 819388d34cb9356eecd0223a468956daaae1705a && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src duration.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn duration.dev './'"))
 (env DEPS "alcotest.0.8.1 astring.0.8.0 base-bigarray.base base-bytes.base base-num.base base-threads.base base-unix.base cmdliner.0.9.8 conf-m4.1 dune.1.0.0 fmt.0.8.0 jbuilder.transition num.0 ocaml.4.04.2 ocaml-base-compiler.4.04.2 ocaml-config.1 ocamlbuild.0.9.1 ocamlfind.1.6.2 result.1.0 topkg.0.7.5")
 (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.1 --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"))
)


2024-05-14 13:15.12: Waiting for resource in pool OCluster
2024-05-14 13:15.15: Waiting for worker…
2024-05-14 13:15.15: Got resource from pool OCluster
Building on x86-bm-c14.sw.ocaml.org
All commits already cached
HEAD is now at 6abe42e changes for 0.2.1


(from ocaml/opam@sha256:0f5d0fd19d091a9ec4cf32d28835940452b6ae3fd14d05f4b88a8f660fd3f4f8)
Unable to find image 'ocaml/opam@sha256:0f5d0fd19d091a9ec4cf32d28835940452b6ae3fd14d05f4b88a8f660fd3f4f8' locally
docker.io/ocaml/opam@sha256:0f5d0fd19d091a9ec4cf32d28835940452b6ae3fd14d05f4b88a8f660fd3f4f8: Pulling from ocaml/opam
e58cd26576ff: Pulling fs layer
e58cd26576ff: Verifying Checksum
e58cd26576ff: Download complete
e58cd26576ff: Pull complete
Digest: sha256:0f5d0fd19d091a9ec4cf32d28835940452b6ae3fd14d05f4b88a8f660fd3f4f8
Status: Downloaded newer image for ocaml/opam@sha256:0f5d0fd19d091a9ec4cf32d28835940452b6ae3fd14d05f4b88a8f660fd3f4f8
2024-05-14 13:17.15 ---> saved as "f8cc879b8fa41146f4d68824f571af48d0fc242fa563e6c44aad42da2480e773"


/: (comment debian-12-4.04_opam-2.1)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2024-05-14 13:17.15 ---> saved as "7acf9c20e3a294f65eec146d2b0278d86ac3011a3aaf14f981174ab68667921e"


/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.1, 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] synchronised from file:///home/opam/opam-repository
2024-05-14 13:18.48 ---> saved as "eb9e02ecfcb5ba37a004cedecf7a30bca11d30398ed5232984b27dff3d577897"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-101-generic
The OCaml toplevel, version 4.04.2
2.1.5
2024-05-14 13:18.48 ---> saved as "1c1947f6600fe344049c423f5d475e2bbcf469ba4d40ccfe151b45e81f7382fc"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-05-14 13:18.48 ---> saved as "cac506b2ad2021f1ddbd68db7b37261e0a93bd2be740791bb6297e219b96903b"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 819388d34cb9356eecd0223a468956daaae1705a || git fetch origin master) && git reset -q --hard 819388d34cb9356eecd0223a468956daaae1705a && git log --no-decorate -n1 --oneline && opam update -u"))
819388d34c @dra27 maintains the OCaml Museum


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from 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, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# Run eval $(opam env) to update the current shell environment
2024-05-14 13:20.11 ---> saved as "9bbc8a346c35d66f849e3eeabfa81e895c893b813af311f59f7b650e469fbb02"


/src: (copy (src duration.opam) (dst ./))
2024-05-14 13:20.11 ---> saved as "3d4fe847f90566b8931d6302ea8484f978a06831c6788be01a1738e36b6d0852"


/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)
2024-05-14 13:20.12 ---> saved as "574fe648510692cd7f8afc60b8b4ca4616d0aec149ae09f83c84b0560a71e398"


/src: (env DEPS "alcotest.0.8.1 astring.0.8.0 base-bigarray.base base-bytes.base base-num.base base-threads.base base-unix.base cmdliner.0.9.8 conf-m4.1 dune.1.0.0 fmt.0.8.0 jbuilder.transition num.0 ocaml.4.04.2 ocaml-base-compiler.4.04.2 ocaml-config.1 ocamlbuild.0.9.1 ocamlfind.1.6.2 result.1.0 topkg.0.7.5")


/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.1 --depext-only -y duration.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Fetched 103 kB in 0s (467 kB/s)
- Reading package lists...


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[duration.dev] synchronised (no changes)


[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.04.2).
[NOTE] Package ocaml is already installed (current version is 4.04.2).
[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"
- debconf: delaying package configuration, since apt-utils is not installed


2024-05-14 13:20.34 ---> saved as "3ebe2f61e91e893e9f83031cb735cb2c7574118d441b535b7deed62c876ead61"


/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.04.2).
[NOTE] Package ocaml is already installed (current version is 4.04.2).
[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 base-num   base
  - install result     1.0
  - install dune       1.0.0
  - install ocamlbuild 0.9.1
  - install conf-m4    1
  - install num        0
  - install jbuilder   transition
  - install cmdliner   0.9.8
  - install ocamlfind  1.6.2
  - install topkg      0.7.5
  - install base-bytes base
  - install fmt        0.8.0
  - install astring    0.8.0
  - install alcotest   0.8.1
===== 14 to install =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed base-num.base
-> retrieved alcotest.0.8.1  (cached)
-> retrieved astring.0.8.0  (cached)
-> installed conf-m4.1
-> retrieved fmt.0.8.0  (cached)
-> installed num.0
-> retrieved cmdliner.0.9.8  (http://erratique.ch/software/cmdliner/releases/cmdliner-0.9.8.tbz)
-> retrieved ocamlbuild.0.9.1  (cached)
-> retrieved ocamlfind.1.6.2  (cached)
-> retrieved result.1.0  (cached)
-> retrieved dune.1.0.0  (cached)
-> retrieved topkg.0.7.5  (cached)
-> installed result.1.0
-> installed ocamlfind.1.6.2
-> installed base-bytes.base
-> installed ocamlbuild.0.9.1
-> installed cmdliner.0.9.8
-> installed astring.0.8.0
-> installed topkg.0.7.5
-> installed fmt.0.8.0
-> installed dune.1.0.0
-> installed jbuilder.transition
-> installed alcotest.0.8.1
Done.


<><> jbuilder.transition installed successfully <><><><><><><><><><><><><><><><>
=> Jbuilder has been renamed and the jbuilder package is now a transition package. Use the dune package instead.
# Run eval $(opam env) to update the current shell environment
2024-05-14 13:21.17 ---> saved as "359069dc73525af3e45844db553da88e05bf79a25b0f556b943050ebe203b012"


/src: (copy (src .) (dst /src))
2024-05-14 13:21.17 ---> saved as "5a030ea14a784ac8dbc362a095fc9c885ec136f366db553069d6413463a7ba48"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
From the command line:
Error: Alias "check" is empty.
It is not defined in . or any of its descendants.
       tests alias runtest
tput: No value for $TERM and no -T specified
stty: 'standard input': Inappropriate ioctl for device
Testing Duration tests.
[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.
The full test results are available in `_build/_tests`.
Test Successful in 0.004s. 33 tests run.
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2024-05-14 13:21.18: Job failed: Failed: Build failed