Organisationsocaml-communityutopc8f6a5 ()ubuntu-24.04-4.14_opam-2.5

ubuntu-24.04-4.14_opam-2.5

Logs

Show full logs
2026-03-06 13:05.57: New job: test ocaml-community/utop https://github.com/ocaml-community/utop.git#refs/pull/511/head (c8f6a57db7ad939afc81b49adb20c7e3b5fe3804) (linux-x86_64:ubuntu-24.04-4.14_opam-2.5)
Base: ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:fe9d7e29a6f4615e0fa861f28e7079d3936bac0337a8abb4cd8f83e601b6f7c7
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/ocaml-community/utop.git" && cd "utop" && git fetch origin "refs/pull/511/head" && git reset --hard c8f6a57d
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:fe9d7e29a6f4615e0fa861f28e7079d3936bac0337a8abb4cd8f83e601b6f7c7
# 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 f15d82d4876db0d9c8ffca03adbd331cd7612081 || git fetch origin master) && git reset -q --hard f15d82d4876db0d9c8ffca03adbd331cd7612081 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 utop.opam ./
RUN opam pin add -yn utop.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.2.1.0 cppo.1.8.0 csexp.1.5.2 dune.3.21.1 dune-configurator.3.21.1 fmt.0.11.0 lambda-term.3.3.3 logs.0.10.0 lwt.6.1.1 lwt_react.1.2.0 mew.0.1.0 mew_vi.0.5.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 ocplib-endian.1.2 re.1.14.0 react.1.2.2 result.1.5 stdlib-shims.0.3.0 topkg.1.1.1 trie.1.0.0 uchar.0.0.2 uucp.17.0.0 uuseg.17.0.0 uutf.1.0.4 xdg.3.21.1 zed.3.2.3"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.5 --depext-only -y utop.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-03-06 13:05.57: Using cache hint "ocaml-community/utop-ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:fe9d7e29a6f4615e0fa861f28e7079d3936bac0337a8abb4cd8f83e601b6f7c7-ubuntu-24.04-4.14_opam-2.5-0ebf124454fc568af5c556b96de9e3a6"
2026-03-06 13:05.57: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:fe9d7e29a6f4615e0fa861f28e7079d3936bac0337a8abb4cd8f83e601b6f7c7)
 (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 f15d82d4876db0d9c8ffca03adbd331cd7612081 || git fetch origin master) && git reset -q --hard f15d82d4876db0d9c8ffca03adbd331cd7612081 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src utop.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn utop.dev './'"))
 (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
 (env DEPS "alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.2.1.0 cppo.1.8.0 csexp.1.5.2 dune.3.21.1 dune-configurator.3.21.1 fmt.0.11.0 lambda-term.3.3.3 logs.0.10.0 lwt.6.1.1 lwt_react.1.2.0 mew.0.1.0 mew_vi.0.5.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 ocplib-endian.1.2 re.1.14.0 react.1.2.2 result.1.5 stdlib-shims.0.3.0 topkg.1.1.1 trie.1.0.0 uchar.0.0.2 uucp.17.0.0 uuseg.17.0.0 uutf.1.0.4 xdg.3.21.1 zed.3.2.3")
 (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 utop.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-03-06 13:05.57: Waiting for resource in pool OCluster
2026-03-06 13:05.57: Waiting for worker…
2026-03-06 13:05.57: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at c8f6a57 Update README to document mode registration and mention neocaml

(from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:fe9d7e29a6f4615e0fa861f28e7079d3936bac0337a8abb4cd8f83e601b6f7c7)
Unable to find image 'ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:fe9d7e29a6f4615e0fa861f28e7079d3936bac0337a8abb4cd8f83e601b6f7c7' locally
docker.io/ocaml/opam@sha256:fe9d7e29a6f4615e0fa861f28e7079d3936bac0337a8abb4cd8f83e601b6f7c7: Pulling from ocaml/opam
fbc4a9630f63: Pulling fs layer
7aeb595549f8: Pulling fs layer
a960dac7ee6e: Pulling fs layer
dedb5a08f907: Pulling fs layer
42ef06c77eb3: Pulling fs layer
a960dac7ee6e: Waiting
dedb5a08f907: Waiting
fbc4a9630f63: Waiting
42ef06c77eb3: Waiting
7aeb595549f8: Waiting
fbc4a9630f63: Verifying Checksum
fbc4a9630f63: Download complete
a960dac7ee6e: Verifying Checksum
a960dac7ee6e: Download complete
dedb5a08f907: Download complete
42ef06c77eb3: Download complete
7aeb595549f8: Verifying Checksum
7aeb595549f8: Download complete
fbc4a9630f63: Pull complete
7aeb595549f8: Pull complete
a960dac7ee6e: Pull complete
dedb5a08f907: Pull complete
42ef06c77eb3: Pull complete
Digest: sha256:fe9d7e29a6f4615e0fa861f28e7079d3936bac0337a8abb4cd8f83e601b6f7c7
Status: Downloaded newer image for ocaml/opam@sha256:fe9d7e29a6f4615e0fa861f28e7079d3936bac0337a8abb4cd8f83e601b6f7c7
2026-03-06 13:05.59 ---> using "b25396ca8f2405ecf9fd7afb7ad3d8c6ad85adbe6b0f78322354d8f4b03068af" 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-03-06 13:05.59 ---> using "2fe0f654ca0d4526cfbb4ce7422c4c4c0eed9248d387e58c89f1a6f031d61f2c" 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-03-06 13:05.59 ---> using "1eff20eb9dd971a1dd575124ed168cb7f3f78d0007d3137f459ff43627589ace" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-94-generic
The OCaml toplevel, version 4.14.2
2.5.0
2026-03-06 13:05.59 ---> using "6246df6cee5ae6fc001c03884e2d781a777d752f95d77aa2005289be024d394e" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2026-03-06 13:05.59 ---> using "cb85a0d3d7d5dfb95fa62ce0ece31aecc5f5897f9c925caad408589fcb147d4b" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e f15d82d4876db0d9c8ffca03adbd331cd7612081 || git fetch origin master) && git reset -q --hard f15d82d4876db0d9c8ffca03adbd331cd7612081 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   340ee6fd1f..31db989bca  master     -> origin/master
f15d82d487 Merge pull request #29449 from raphael-proust/opam-publish-lwt.6.1.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.4.1"), 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-03-06 13:06.17 ---> saved as "51a3efffe0222d781ee9c3b95c961aa6edf5efb936c15d874d77c01c71ec2ae6"

/src: (copy (src utop.opam) (dst ./))
2026-03-06 13:06.17 ---> saved as "e33b5c4f7730fbe64644f861e3a3b7d6743e4a91ed65321d912f9459f035ba26"

/src: (run (network host)
           (shell "opam pin add -yn utop.dev './'"))
[utop.dev] synchronised (file:///src)
utop is now pinned to file:///src (version dev)
2026-03-06 13:06.19 ---> saved as "cac58b7b2657fa8bb6ef1caa281a09709723e402e2d0ba40807ba54751314cc3"

/src: (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-03-06 13:06.19 ---> saved as "1ef95d361af2552635a8f8587c00078434f9497f8f4bc12c428da7490c37ed65"

/src: (env DEPS "alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.2.1.0 cppo.1.8.0 csexp.1.5.2 dune.3.21.1 dune-configurator.3.21.1 fmt.0.11.0 lambda-term.3.3.3 logs.0.10.0 lwt.6.1.1 lwt_react.1.2.0 mew.0.1.0 mew_vi.0.5.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 ocplib-endian.1.2 re.1.14.0 react.1.2.2 result.1.5 stdlib-shims.0.3.0 topkg.1.1.1 trie.1.0.0 uchar.0.0.2 uucp.17.0.0 uuseg.17.0.0 uutf.1.0.4 xdg.3.21.1 zed.3.2.3")

/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 utop.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]
- Hit:2 http://archive.ubuntu.com/ubuntu noble InRelease
- Get:3 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
- Get:4 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [1895 kB]
- Get:5 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]
- Get:6 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [3300 kB]
- Get:7 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [2284 kB]
- Get:8 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [1260 kB]
- Get:9 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [2025 kB]
- Get:10 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Packages [3486 kB]
- Fetched 14.6 MB in 3s (4421 kB/s)
- Reading package lists...
- 

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[utop.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-03-06 13:06.32 ---> saved as "fa4761d5b71c121463dfdbe42de8e12a9d408498b3228a9119ab3d6f1be351d6"

/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 31 packages
  - install alcotest           1.9.1
  - install astring            0.8.5
  - install base-bytes         base
  - install cmdliner           2.1.0
  - install cppo               1.8.0
  - install csexp              1.5.2
  - install dune               3.21.1
  - install dune-configurator  3.21.1
  - install fmt                0.11.0
  - install lambda-term        3.3.3
  - install logs               0.10.0
  - install lwt                6.1.1
  - install lwt_react          1.2.0
  - install mew                0.1.0
  - install mew_vi             0.5.0
  - install ocaml-syntax-shims 1.0.0
  - install ocamlbuild         0.16.1
  - install ocamlfind          1.9.8
  - install ocplib-endian      1.2
  - install re                 1.14.0
  - install react              1.2.2
  - install result             1.5
  - install stdlib-shims       0.3.0
  - install topkg              1.1.1
  - install trie               1.0.0
  - install uchar              0.0.2
  - install uucp               17.0.0
  - install uuseg              17.0.0
  - install uutf               1.0.4
  - install xdg                3.21.1
  - install zed                3.2.3

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.9.1  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved cmdliner.2.1.0  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved lambda-term.3.3.3  (cached)
-> retrieved logs.0.10.0  (cached)
-> retrieved lwt.6.1.1  (cached)
-> retrieved lwt_react.1.2.0  (cached)
-> retrieved mew.0.1.0  (cached)
-> retrieved mew_vi.0.5.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved re.1.14.0  (cached)
-> retrieved react.1.2.2  (cached)
-> retrieved result.1.5  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved trie.1.0.0  (cached)
-> retrieved topkg.1.1.1  (cached)
-> retrieved uchar.0.0.2  (cached)
-> retrieved uuseg.17.0.0  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved zed.3.2.3  (cached)
-> retrieved uucp.17.0.0  (cached)
-> retrieved dune.3.21.1, dune-configurator.3.21.1, xdg.3.21.1  (cached)
-> installed cmdliner.2.1.0
-> installed ocamlbuild.0.16.1
-> installed uchar.0.0.2
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed topkg.1.1.1
-> installed uutf.1.0.4
-> installed react.1.2.2
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed dune.3.21.1
-> installed cppo.1.8.0
-> installed csexp.1.5.2
-> installed ocaml-syntax-shims.1.0.0
-> installed re.1.14.0
-> installed result.1.5
-> installed stdlib-shims.0.3.0
-> installed trie.1.0.0
-> installed ocplib-endian.1.2
-> installed mew.0.1.0
-> installed mew_vi.0.5.0
-> installed alcotest.1.9.1
-> installed xdg.3.21.1
-> installed dune-configurator.3.21.1
-> installed lwt.6.1.1
-> installed lwt_react.1.2.0
-> installed logs.0.10.0
-> installed uucp.17.0.0
-> installed uuseg.17.0.0
-> installed zed.3.2.3
-> installed lambda-term.3.3.3
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-06 13:07.22 ---> saved as "4916d53371a9619ef66cfef7b0ea16826c2ac9644e29b130a68cddef29c43502"

/src: (copy (src .) (dst /src))
2026-03-06 13:07.22 ---> saved as "b54c59f9a72da5dc6c1c157523151db09d3ece35986886e68dd3edbc411f08be"

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

  [OK]          fix_string          0   small.
  [OK]          fix_string          1   empty.

Full test results in `/src/_build/default/test/_build/_tests/utop'.
Test Successful in 0.000s. 2 tests run.
2026-03-06 13:07.27 ---> saved as "cef3a5c500039638b6c1190a6f4b71beb682cc5449788a828c57275d7d7ec0f4"
Job succeeded
2026-03-06 13:07.27: Job succeeded