Organisationscraigfeprogress4463ea (main)ubuntu-24.04-4.14_opam-2.5

ubuntu-24.04-4.14_opam-2.5

Logs

Show full logs
2026-04-03 11:37.48: New job: test craigfe/progress https://github.com/craigfe/progress.git#refs/heads/main (4463ead8286d559d2d4a5d6e1797a7b645541716) (linux-x86_64:ubuntu-24.04-4.14_opam-2.5)
Base: ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:378b80130a8565c501d060ebe277e1585177fb5caf23983614eeb4d30378ddea
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/craigfe/progress.git" -b "main" && cd "progress" && git reset --hard 4463ead8
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:378b80130a8565c501d060ebe277e1585177fb5caf23983614eeb4d30378ddea
# ubuntu-24.04-4.14_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 terminal.opam progress.opam ./
RUN opam pin add -yn terminal.dev './' && \
    opam pin add -yn progress.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base cmdliner.2.1.0 dune.3.22.1 fmt.0.11.0 logs.0.10.0 mtime.2.1.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 optint.0.3.0 re.1.14.0 stdlib-shims.0.3.0 topkg.1.1.1 uucp.17.0.0 uutf.1.0.4 vector.1.0.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.5 --depext-only -y terminal.dev progress.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.48: Using cache hint "craigfe/progress-ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:378b80130a8565c501d060ebe277e1585177fb5caf23983614eeb4d30378ddea-ubuntu-24.04-4.14_opam-2.5-b2bf8a798f1bb79be959e3fd4a7d1dd8"
2026-04-03 11:37.48: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:378b80130a8565c501d060ebe277e1585177fb5caf23983614eeb4d30378ddea)
 (comment ubuntu-24.04-4.14_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 terminal.opam progress.opam) (dst ./))
 (run (network host)
      (shell  "opam pin add -yn terminal.dev './' && \
             \nopam pin add -yn progress.dev './'"))
 (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
 (env DEPS "alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base cmdliner.2.1.0 dune.3.22.1 fmt.0.11.0 logs.0.10.0 mtime.2.1.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 optint.0.3.0 re.1.14.0 stdlib-shims.0.3.0 topkg.1.1.1 uucp.17.0.0 uutf.1.0.4 vector.1.0.0")
 (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 terminal.dev progress.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.48: Waiting for resource in pool OCluster
2026-04-03 20:14.06: Waiting for worker…
2026-04-03 20:15.35: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at 4463ead Merge pull request #53 from craigfe/prepare-v0.5.0

(from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:378b80130a8565c501d060ebe277e1585177fb5caf23983614eeb4d30378ddea)
Unable to find image 'ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:378b80130a8565c501d060ebe277e1585177fb5caf23983614eeb4d30378ddea' locally
docker.io/ocaml/opam@sha256:378b80130a8565c501d060ebe277e1585177fb5caf23983614eeb4d30378ddea: Pulling from ocaml/opam
80cd068f43f1: Pulling fs layer
ba65b9b25356: Pulling fs layer
5387021a7f0f: Pulling fs layer
90b941057569: Pulling fs layer
fcef665c9f0f: Pulling fs layer
5387021a7f0f: Waiting
90b941057569: Waiting
fcef665c9f0f: Waiting
ba65b9b25356: Waiting
80cd068f43f1: Waiting
80cd068f43f1: Verifying Checksum
80cd068f43f1: Download complete
5387021a7f0f: Download complete
90b941057569: Download complete
fcef665c9f0f: Download complete
ba65b9b25356: Verifying Checksum
ba65b9b25356: Download complete
80cd068f43f1: Pull complete
ba65b9b25356: Pull complete
5387021a7f0f: Pull complete
90b941057569: Pull complete
fcef665c9f0f: Pull complete
Digest: sha256:378b80130a8565c501d060ebe277e1585177fb5caf23983614eeb4d30378ddea
Status: Downloaded newer image for ocaml/opam@sha256:378b80130a8565c501d060ebe277e1585177fb5caf23983614eeb4d30378ddea
2026-04-03 20:38.25 ---> using "ea8d72b3575eca98b89c48a4da7927bcdb82725502d2ac0615817875479dfe5d" from cache

/: (comment ubuntu-24.04-4.14_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 20:38.25 ---> using "57fe826c4cda6eaa6b11381783c9525d7921b5e90796ab1d3423a3a40e1ee953" 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-03 20:38.25 ---> using "55a2f6dfe7a6290730525b3a4346ce960918d715c2bdbaeb5a4b7e33780adb10" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-106-generic
The OCaml toplevel, version 4.14.2
2.5.0
2026-04-03 20:38.25 ---> using "defa03e276e0c2b0cec70b115b3a595fb4615d03b5da0739dd2698dea1a3bf33" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2026-04-03 20:38.25 ---> using "4130f1cefdaf8d88e4eba48981cb16b1f82735c22f891280afafcafba369761a" from cache

/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
   76bf2ed944..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 20:38.25 ---> using "d0767114e69d555172248900b1dda8f27eb471196b6c1e91af3268792dad2ce9" from cache

/src: (copy (src terminal.opam progress.opam) (dst ./))
2026-04-03 20:38.25 ---> saved as "f7ae8f066b987e93922bf710d8b82bbb7531769e463b4224382467e3483257ee"

/src: (run (network host)
           (shell  "opam pin add -yn terminal.dev './' && \
                  \nopam pin add -yn progress.dev './'"))
[terminal.dev] synchronised (file:///src)
terminal is now pinned to file:///src (version dev)
[progress.dev] synchronised (file:///src)
progress is now pinned to file:///src (version dev)
2026-04-03 20:38.28 ---> saved as "0d25253c6865fcc5cdbca7d443f5a5fac857af450769a027332934c420c796bc"

/src: (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-04-03 20:38.29 ---> saved as "f525f8126296aef9874fff9bed456e8d5a96bea9a1dc31a7dae60eda9aa369e7"

/src: (env DEPS "alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base cmdliner.2.1.0 dune.3.22.1 fmt.0.11.0 logs.0.10.0 mtime.2.1.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 optint.0.3.0 re.1.14.0 stdlib-shims.0.3.0 topkg.1.1.1 uucp.17.0.0 uutf.1.0.4 vector.1.0.0")

/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 terminal.dev progress.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]
- Get:2 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [1504 kB]
- Get:3 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [3499 kB]
- Hit:4 http://archive.ubuntu.com/ubuntu noble InRelease
- Get:5 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [1985 kB]
- Get:6 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
- Get:7 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]
- Get:8 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Packages [3669 kB]
- Get:9 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [2369 kB]
- Get:10 http://archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 Packages [38.1 kB]
- Get:11 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [2153 kB]
- Get:12 http://archive.ubuntu.com/ubuntu noble-backports/universe amd64 Packages [36.1 kB]
- Fetched 15.6 MB in 6s (2768 kB/s)
- Reading package lists...
- 

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[progress.dev] synchronised (file:///src)
[terminal.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 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.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).
# To update the current shell environment, run: eval $(opam env)
2026-04-03 20:38.45 ---> saved as "693d0e945982a251d97e7d13c6f2a2c5a83bf28903f95a145f5721be88df13de"

/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 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.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 17 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 logs               0.10.0
  - install mtime              2.1.0
  - install ocaml-syntax-shims 1.0.0
  - install ocamlbuild         0.16.1
  - install ocamlfind          1.9.8
  - install optint             0.3.0
  - install re                 1.14.0
  - install stdlib-shims       0.3.0
  - install topkg              1.1.1
  - install uucp               17.0.0
  - install uutf               1.0.4
  - install vector             1.0.0

<><> 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 logs.0.10.0  (cached)
-> retrieved mtime.2.1.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved optint.0.3.0  (cached)
-> retrieved re.1.14.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved topkg.1.1.1  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved vector.1.0.0  (cached)
-> retrieved uucp.17.0.0  (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 mtime.2.1.0
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed logs.0.10.0
-> installed dune.3.22.1
-> installed vector.1.0.0
-> installed stdlib-shims.0.3.0
-> installed optint.0.3.0
-> installed ocaml-syntax-shims.1.0.0
-> installed re.1.14.0
-> installed alcotest.1.9.1
-> installed uucp.17.0.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-04-03 20:39.39 ---> saved as "0d011c1a32c2ffba67e1c5529fa417adba8215a0836c5eb54f737527a38a09f0"

/src: (copy (src .) (dst /src))
2026-04-03 20:39.39 ---> saved as "5e62396b90f3196b393cd81d1abbff1f8dfb892f8af4a7ae259ca53778a2ba2d"

/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/src/terminal/tests && ./test.exe)
Testing `src/terminal/tests/test.ml'.
This run has ID `ZTNR5LXV'.

  [OK]          colours          0   rgb.
  [OK]          colours          1   hex.
  [OK]          width            0   guess_width.
  [OK]          width            1   truncate.

Full test results in `/src/_build/default/src/terminal/tests/_build/_tests/src-terminal-tests-test.ml'.
Test Successful in 0.000s. 4 tests run.
(cd _build/default/src/progress/tests && ./test.exe)
Testing `src/progress/tests/test.ml'.
This run has ID `CU3IQTHJ'.

  [OK]          main                0   Pair.
  [OK]          main                1   Unicode bar.
  [OK]          main                2   Progress bar lifecycle....
  [OK]          main                3   Progress bar width.
  [OK]          main                4   Pre-provided counter....
  [OK]          boxes               0   Unsized element not in box.
  [OK]          boxes               1   Two unsized elements in box.
  [OK]          units               0   percentage.
  [OK]          units               1   bytes.
  [OK]          units               2   duration.
  [OK]          printers            0   int.
  [OK]          printers            1   string.
  [OK]          flow_meter          0   linear.
  [OK]          flow_meter          1   non-linear.

Full test results in `/src/_build/default/src/progress/tests/_build/_tests/src-progress-tests-test.ml'.
Test Successful in 0.002s. 14 tests run.
2026-04-03 20:39.41 ---> saved as "d16140bb2b5261356e7a2dc88ca39297e18deddfe05770b9603a3518051c6376"
Job succeeded
2026-04-03 20:39.41: Job succeeded