Organisationsocaml-communityutopb68468 ()ubuntu-20.04-4.14_opam-2.3

ubuntu-20.04-4.14_opam-2.3

Logs

Show full logs
2025-02-17 23:24.03: New job: test ocaml-community/utop https://github.com/ocaml-community/utop.git#refs/pull/497/head (b68468515d1c379cd39c41cb453b8e059ea1d366) (linux-x86_64:ubuntu-20.04-4.14_opam-2.3)
Base: ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:df45ebe49b574a3556d225e8208622a70159b589318eea7463a0092c175251f6
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/ocaml-community/utop.git" && cd "utop" && git fetch origin "refs/pull/497/head" && git reset --hard b6846851
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:df45ebe49b574a3556d225e8208622a70159b589318eea7463a0092c175251f6
# ubuntu-20.04-4.14_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.3 /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 3ee951993de4d18fd335fcea4ac7375cab56a637 || git fetch origin master) && git reset -q --hard 3ee951993de4d18fd335fcea4ac7375cab56a637 && 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.8.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.17.2 dune-configurator.3.17.2 fmt.0.9.0 lambda-term.3.3.2 logs.0.7.0 lwt.5.9.0 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.15.0 ocamlfind.1.9.8 ocplib-endian.1.2 re.1.12.0 react.1.2.2 result.1.5 seq.base stdlib-shims.0.3.0 topkg.1.0.7 trie.1.0.0 uchar.0.0.2 uucp.16.0.0 uuseg.16.0.0 uutf.1.0.3 xdg.3.17.2 zed.3.2.3"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --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-02-17 23:24.03: Using cache hint "ocaml-community/utop-ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:df45ebe49b574a3556d225e8208622a70159b589318eea7463a0092c175251f6-ubuntu-20.04-4.14_opam-2.3-ac1e6acb907c896d105d91b212e91105"
2025-02-17 23:24.03: Using OBuilder spec:
((from ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:df45ebe49b574a3556d225e8208622a70159b589318eea7463a0092c175251f6)
 (comment ubuntu-20.04-4.14_opam-2.3)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/bin/opam-2.3 /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 3ee951993de4d18fd335fcea4ac7375cab56a637 || git fetch origin master) && git reset -q --hard 3ee951993de4d18fd335fcea4ac7375cab56a637 && 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.8.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.17.2 dune-configurator.3.17.2 fmt.0.9.0 lambda-term.3.3.2 logs.0.7.0 lwt.5.9.0 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.15.0 ocamlfind.1.9.8 ocplib-endian.1.2 re.1.12.0 react.1.2.2 result.1.5 seq.base stdlib-shims.0.3.0 topkg.1.0.7 trie.1.0.0 uchar.0.0.2 uucp.16.0.0 uuseg.16.0.0 uutf.1.0.3 xdg.3.17.2 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.3 --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-02-17 23:24.03: Waiting for resource in pool OCluster
2025-02-18 01:38.47: Waiting for worker…
2025-02-18 01:42.14: Got resource from pool OCluster
Building on x86-bm-c8.sw.ocaml.org
All commits already cached
HEAD is now at b684685 Emacs completion: Include module prefix in completion candidates

(from ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:df45ebe49b574a3556d225e8208622a70159b589318eea7463a0092c175251f6)
Unable to find image 'ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:df45ebe49b574a3556d225e8208622a70159b589318eea7463a0092c175251f6' locally
docker.io/ocaml/opam@sha256:df45ebe49b574a3556d225e8208622a70159b589318eea7463a0092c175251f6: Pulling from ocaml/opam
eebf717b2591: Pulling fs layer
eebf717b2591: Verifying Checksum
eebf717b2591: Download complete
eebf717b2591: Pull complete
Digest: sha256:df45ebe49b574a3556d225e8208622a70159b589318eea7463a0092c175251f6
Status: Downloaded newer image for ocaml/opam@sha256:df45ebe49b574a3556d225e8208622a70159b589318eea7463a0092c175251f6
2025-02-18 01:42.14 ---> using "9485e9359a6d0a10619e9ffea7db3c22c41f2d6e7050298bc5122c3f0c555b5b" from cache

/: (comment ubuntu-20.04-4.14_opam-2.3)

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

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (workdir /src)

/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-02-18 01:42.14 ---> using "7ba611f3987f46219041a1533b9cb343bf3864cb50d3a544ca657bbcdcde6778" 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 development 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
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] Could not update repository "opam-repository-archive": "/usr/bin/git fetch -q" exited with code 128 "fatal: unable to access 'https://github.com/ocaml/opam-repository-archive/': Could not resolve host: github.com"
[default] synchronised from file:///home/opam/opam-repository
2025-02-18 01:42.14 ---> using "8ba4394a41d80adaec492afcb953f702b4f16ed846e3f461e4b33dddcc367338" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-130-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-02-18 01:42.14 ---> using "e4e34527d233db7d94c0eed2f683aa2d5cc3b804d7245cfc5f04f34a19928c0a" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-02-18 01:42.14 ---> using "2fc4a15e603f20ccc20b4eb8dbe4554b1f20d6b88f3324a16655ba4ffc27d57f" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 3ee951993de4d18fd335fcea4ac7375cab56a637 || git fetch origin master) && git reset -q --hard 3ee951993de4d18fd335fcea4ac7375cab56a637 && git log --no-decorate -n1 --oneline && opam update -u"))
3ee951993d Merge pull request #27253 from kit-ty-kate/opam-publish-ocamlfind.1.9.8

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] synchronised from git+https://github.com/ocaml/opam-repository-archive
[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.
# To update the current shell environment, run: eval $(opam env)
2025-02-18 01:42.14 ---> using "a758e45304848a44f3899c07c7211bb55bded1688da70f5ed1b840454a23b2b3" from cache

/src: (copy (src utop.opam) (dst ./))
2025-02-18 01:42.15 ---> saved as "42493677b07365a3e8eafd35652760375e7a3ed3c210b59e26f403240a012ac4"

/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-02-18 01:42.20 ---> saved as "fcaff7954c4a66c687f0e03a90a85a3147477cd6e07bf805516ae084fb09dd13"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-02-18 01:42.20 ---> saved as "e05d16a3fa61c56f15db98a6398616487f27d717fbd9b018fcbd43d1c367adfd"

/src: (env DEPS "alcotest.1.8.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.17.2 dune-configurator.3.17.2 fmt.0.9.0 lambda-term.3.3.2 logs.0.7.0 lwt.5.9.0 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.15.0 ocamlfind.1.9.8 ocplib-endian.1.2 re.1.12.0 react.1.2.2 result.1.5 seq.base stdlib-shims.0.3.0 topkg.1.0.7 trie.1.0.0 uchar.0.0.2 uucp.16.0.0 uuseg.16.0.0 uutf.1.0.3 xdg.3.17.2 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.3 --depext-only -y utop.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://security.ubuntu.com/ubuntu focal-security InRelease [128 kB]
- Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease
- Get:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease [128 kB]
- Get:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease [128 kB]
- Get:5 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [4223 kB]
- Get:6 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [4699 kB]
- Fetched 9305 kB in 2s (4097 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-02-18 01:43.01 ---> saved as "c147c467bbeecd1833d5bb76acb325453b8163f080c31b180dfae40fce992859"

/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.8.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.17.2
  - install dune-configurator  3.17.2
  - install fmt                0.9.0
  - install lambda-term        3.3.2
  - install logs               0.7.0
  - install lwt                5.9.0
  - 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.15.0
  - install ocamlfind          1.9.8
  - install ocplib-endian      1.2
  - install re                 1.12.0
  - install react              1.2.2
  - install result             1.5
  - install seq                base
  - install stdlib-shims       0.3.0
  - install topkg              1.0.7
  - install trie               1.0.0
  - install uchar              0.0.2
  - install uucp               16.0.0
  - install uuseg              16.0.0
  - install uutf               1.0.3
  - install xdg                3.17.2
  - install zed                3.2.3

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved alcotest.1.8.0  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved fmt.0.9.0  (cached)
-> retrieved lambda-term.3.3.2  (cached)
-> retrieved logs.0.7.0  (cached)
-> retrieved lwt.5.9.0  (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 ocamlbuild.0.15.0  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved dune.3.17.2, dune-configurator.3.17.2, xdg.3.17.2  (cached)
-> retrieved re.1.12.0  (cached)
-> retrieved seq.base  (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 uchar.0.0.2  (cached)
-> retrieved uuseg.16.0.0  (cached)
-> retrieved topkg.1.0.7  (cached)
-> retrieved uutf.1.0.3  (cached)
-> retrieved zed.3.2.3  (cached)
-> installed cmdliner.1.3.0
-> installed seq.base
-> retrieved uucp.16.0.0  (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed ocamlbuild.0.15.0
-> installed uchar.0.0.2
-> installed topkg.1.0.7
-> installed fmt.0.9.0
-> installed react.1.2.2
-> installed uutf.1.0.3
-> installed astring.0.8.5
-> installed dune.3.17.2
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed ocaml-syntax-shims.1.0.0
-> installed re.1.12.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 xdg.3.17.2
-> installed mew_vi.0.5.0
-> installed alcotest.1.8.0
-> installed dune-configurator.3.17.2
-> installed lwt.5.9.0
-> installed lwt_react.1.2.0
-> installed logs.0.7.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-02-18 01:44.53 ---> saved as "3b41644321279bec83013b7a1ff5a36717cfab04b41a5721159ef7552456afc1"

/src: (copy (src .) (dst /src))
2025-02-18 01:44.53 ---> saved as "9e19848ecfd3eddf41dde2413c0149ccfac966178a0c24acefda926b1175137b"

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

  [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-02-18 01:45.04 ---> saved as "91821a502dd1f1ecdef1834c20c61a2db0fc5c0ad2c4d20c4a83a6bf3dadc14a"
Job succeeded
2025-02-18 01:45.04: Job succeeded