Organisationsocaml-communityutopbf1ff6 ()ubuntu-22.04-4.14_opam-2.4

ubuntu-22.04-4.14_opam-2.4

Logs

Show full logs
2025-07-31 07:25.37: New job: test ocaml-community/utop https://github.com/ocaml-community/utop.git#refs/heads/master (bf1ff672b77ad98599e06c6f9c48e1696858f2e9) (linux-x86_64:ubuntu-22.04-4.14_opam-2.4)
Base: ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:ca3027de326cacc5274455175c0a1ecc28bb1c6747cb1b09e38dbc2fd13a188a
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/ocaml-community/utop.git" -b "master" && cd "utop" && git reset --hard bf1ff672
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:ca3027de326cacc5274455175c0a1ecc28bb1c6747cb1b09e38dbc2fd13a188a
# ubuntu-22.04-4.14_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.4 /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 e77940d8ff8706305602d0d643bf01c77beef2e7 || git fetch origin master) && git reset -q --hard e77940d8ff8706305602d0d643bf01c77beef2e7 && 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.0 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.3.0 cppo.1.8.0 csexp.1.5.2 dune.3.19.1 dune-configurator.3.19.1 fmt.0.11.0 lambda-term.3.3.2 logs.0.9.0 lwt.5.9.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.13.2 react.1.2.2 result.1.5 seq.base stdlib-shims.0.3.0 topkg.1.1.0 trie.1.0.0 uchar.0.0.2 uucp.16.0.0 uuseg.16.0.0 uutf.1.0.4 xdg.3.19.1 zed.3.2.3"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --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

2025-07-31 07:25.37: Using cache hint "ocaml-community/utop-ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:ca3027de326cacc5274455175c0a1ecc28bb1c6747cb1b09e38dbc2fd13a188a-ubuntu-22.04-4.14_opam-2.4-3ffdd506fb6b91a151b2202d95975f7d"
2025-07-31 07:25.37: Using OBuilder spec:
((from ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:ca3027de326cacc5274455175c0a1ecc28bb1c6747cb1b09e38dbc2fd13a188a)
 (comment ubuntu-22.04-4.14_opam-2.4)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/bin/opam-2.4 /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 e77940d8ff8706305602d0d643bf01c77beef2e7 || git fetch origin master) && git reset -q --hard e77940d8ff8706305602d0d643bf01c77beef2e7 && 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 (network host)
      (shell "echo '(lang dune 3.0)' > './dune-project'"))
 (env DEPS "alcotest.1.9.0 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.3.0 cppo.1.8.0 csexp.1.5.2 dune.3.19.1 dune-configurator.3.19.1 fmt.0.11.0 lambda-term.3.3.2 logs.0.9.0 lwt.5.9.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.13.2 react.1.2.2 result.1.5 seq.base stdlib-shims.0.3.0 topkg.1.1.0 trie.1.0.0 uchar.0.0.2 uucp.16.0.0 uuseg.16.0.0 uutf.1.0.4 xdg.3.19.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.4 --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"))
)

2025-07-31 07:25.37: Waiting for resource in pool OCluster
2025-07-31 07:44.21: Waiting for worker…
2025-07-31 07:45.54: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
All commits already cached
HEAD is now at bf1ff67 Add a dune package management GHA workflow (#498)

(from ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:ca3027de326cacc5274455175c0a1ecc28bb1c6747cb1b09e38dbc2fd13a188a)
Unable to find image 'ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:ca3027de326cacc5274455175c0a1ecc28bb1c6747cb1b09e38dbc2fd13a188a' locally
docker.io/ocaml/opam@sha256:ca3027de326cacc5274455175c0a1ecc28bb1c6747cb1b09e38dbc2fd13a188a: Pulling from ocaml/opam
514f7f9a70b9: Already exists
260f39967dc6: Pulling fs layer
080682957692: Pulling fs layer
496cffd3e0db: Pulling fs layer
080682957692: Waiting
260f39967dc6: Waiting
cccae36efa92: Pulling fs layer
496cffd3e0db: Waiting
cccae36efa92: Waiting
080682957692: Download complete
496cffd3e0db: Download complete
cccae36efa92: Verifying Checksum
cccae36efa92: Download complete
260f39967dc6: Verifying Checksum
260f39967dc6: Download complete
260f39967dc6: Pull complete
080682957692: Pull complete
496cffd3e0db: Pull complete
cccae36efa92: Pull complete
Digest: sha256:ca3027de326cacc5274455175c0a1ecc28bb1c6747cb1b09e38dbc2fd13a188a
Status: Downloaded newer image for ocaml/opam@sha256:ca3027de326cacc5274455175c0a1ecc28bb1c6747cb1b09e38dbc2fd13a188a
2025-07-31 07:45.56 ---> using "703c56f41cc54852e5691c48b2697241ed9dc9772436a19ac0903e42512bf78d" from cache

/: (comment ubuntu-22.04-4.14_opam-2.4)

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

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (workdir /src)

/src: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-07-31 07:45.56 ---> using "ccd04543be5b31bade9c13e30822b6576d9f499370ef4c7472bb516a15f2bae5" 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 255 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=255 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-07-31 07:45.56 ---> using "4d4569e4a8b19d4d0f83abeba5228664bcdb030cec129ad6bbf2bbeb96872f7d" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-63-generic
The OCaml toplevel, version 4.14.2
2.4.1
2025-07-31 07:45.56 ---> using "d446935a96660e369b503d2f9febc4a2764fc4af69076e1e4de0c2a0d39dda96" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-07-31 07:45.56 ---> using "cf314af0afe6fff8657b3d29f3209115150809f03091d77f72b9493a02399d62" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e e77940d8ff8706305602d0d643bf01c77beef2e7 || git fetch origin master) && git reset -q --hard e77940d8ff8706305602d0d643bf01c77beef2e7 && git log --no-decorate -n1 --oneline && opam update -u"))
e77940d8ff Merge pull request #28255 from dbuenzli/b0-publish-fmt.0.11.0

<><> 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.3.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)
2025-07-31 07:45.56 ---> using "2eb6aec18ad97013873b3825695f6bf4a161dde936e32e785df315532e095344" from cache

/src: (copy (src utop.opam) (dst ./))
2025-07-31 07:45.56 ---> saved as "a51e0533d34038c4415f5e5ff58741c884b3ed5fe45cabda504056af294030a8"

/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)
2025-07-31 07:46.00 ---> saved as "f8cfe091223a0e3264e8adcbdbb2f5aec19620df6bc2a91b5df68a3e6e48ea03"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-07-31 07:46.01 ---> saved as "d68486979462dec4ce83f660b38bc72a2fd327c5c3d48f65cf4f40b55fce408a"

/src: (env DEPS "alcotest.1.9.0 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.3.0 cppo.1.8.0 csexp.1.5.2 dune.3.19.1 dune-configurator.3.19.1 fmt.0.11.0 lambda-term.3.3.2 logs.0.9.0 lwt.5.9.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.13.2 react.1.2.2 result.1.5 seq.base stdlib-shims.0.3.0 topkg.1.1.0 trie.1.0.0 uchar.0.0.2 uucp.16.0.0 uuseg.16.0.0 uutf.1.0.4 xdg.3.19.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.4 --depext-only -y utop.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
- Get:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
- Get:3 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
- Get:4 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
- Get:5 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1575 kB]
- Get:6 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [3519 kB]
- Get:7 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [5290 kB]
- Get:8 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [3204 kB]
- Get:9 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [5094 kB]
- Get:10 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1270 kB]
- Fetched 20.3 MB in 3s (7217 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).
2025-07-31 07:46.28 ---> saved as "120d79bc6614d8c008a210d06967b88e1e9c49a15757fa3322ad897ed8626ca0"

/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 32 packages
  - install alcotest           1.9.0
  - install astring            0.8.5
  - install base-bytes         base
  - install cmdliner           1.3.0
  - install cppo               1.8.0
  - install csexp              1.5.2
  - install dune               3.19.1
  - install dune-configurator  3.19.1
  - install fmt                0.11.0
  - install lambda-term        3.3.2
  - install logs               0.9.0
  - install lwt                5.9.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.13.2
  - install react              1.2.2
  - install result             1.5
  - install seq                base
  - install stdlib-shims       0.3.0
  - install topkg              1.1.0
  - install trie               1.0.0
  - install uchar              0.0.2
  - install uucp               16.0.0
  - install uuseg              16.0.0
  - install uutf               1.0.4
  - install xdg                3.19.1
  - install zed                3.2.3

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.9.0  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved cmdliner.1.3.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.2  (cached)
-> retrieved logs.0.9.0  (cached)
-> retrieved lwt.5.9.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.13.2  (cached)
-> retrieved react.1.2.2  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved result.1.5  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved trie.1.0.0  (cached)
-> retrieved uchar.0.0.2  (cached)
-> retrieved topkg.1.1.0  (cached)
-> retrieved uuseg.16.0.0  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved zed.3.2.3  (cached)
-> retrieved uucp.16.0.0  (cached)
-> retrieved dune.3.19.1, dune-configurator.3.19.1, xdg.3.19.1  (cached)
-> installed cmdliner.1.3.0
-> installed ocamlbuild.0.16.1
-> installed uchar.0.0.2
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed topkg.1.1.0
-> installed react.1.2.2
-> installed fmt.0.11.0
-> installed uutf.1.0.4
-> installed astring.0.8.5
-> installed dune.3.19.1
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed ocaml-syntax-shims.1.0.0
-> installed re.1.13.2
-> 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 xdg.3.19.1
-> installed mew_vi.0.5.0
-> installed alcotest.1.9.0
-> installed dune-configurator.3.19.1
-> installed lwt.5.9.1
-> installed lwt_react.1.2.0
-> installed logs.0.9.0
-> installed uucp.16.0.0
-> installed uuseg.16.0.0
-> installed zed.3.2.3
-> installed lambda-term.3.3.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-07-31 07:49.59 ---> saved as "58cb1fb79df655c0d0db2b6890bf586237b0424bc4145372dd38a485cce9a51d"

/src: (copy (src .) (dst /src))
2025-07-31 07:50.00 ---> saved as "f264367c2abc5792c03a25fe13929af93efe7c394e65245b9f82a697d375d1d6"

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

  [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.001s. 2 tests run.
2025-07-31 07:50.13 ---> saved as "d77e8fb4e41052c8c218a0141cb8dc1321266202817f4d713b38956bdd0878f7"
Job succeeded
2025-07-31 07:50.14: Job succeeded