2025-03-19 18:25.37: New job: test ocaml-community/utop https://github.com/ocaml-community/utop.git#refs/pull/497/head (b68468515d1c379cd39c41cb453b8e059ea1d366) (linux-x86_64:(lower-bound))
Base: ocaml/opam:debian-12-ocaml-4.11@sha256:6ff717e1c1106979a5c1660c76a6d44ac1ca568b6ef2e6e44471e4216cef7747
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:debian-12-ocaml-4.11@sha256:6ff717e1c1106979a5c1660c76a6d44ac1ca568b6ef2e6e44471e4216cef7747
# debian-12-4.11_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 cb8df6db0195538a02cc2b2eb20e468f22c475a7 || git fetch origin master) && git reset -q --hard cb8df6db0195538a02cc2b2eb20e468f22c475a7 && 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.0.0 astring.0.8.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.0.3 conf-m4.1 cppo.1.6.1 dune.3.5.0 fmt.0.8.6 jbuilder.1.0+beta20.1 lambda-term.3.3.0 logs.0.6.3 lwt.4.2.0 lwt_log.1.1.0 lwt_react.1.0.1 mew.0.1.0 mew_vi.0.5.0 mmap.1.0.2 ocaml.4.11.2 ocaml-base-compiler.4.11.2 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.1 re.1.7.2 react.1.0.0 result.1.5 seq.0.3 stdlib-shims.0.1.0 topkg.0.9.0 trie.1.0.0 uchar.0.0.2 uucp.2.0.0 uuidm.0.9.6 uuseg.1.0.1 uutf.1.0.1 xdg.3.9.0 zed.3.2.0"
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-03-19 18:25.37: Using cache hint "ocaml-community/utop-ocaml/opam:debian-12-ocaml-4.11@sha256:6ff717e1c1106979a5c1660c76a6d44ac1ca568b6ef2e6e44471e4216cef7747-debian-12-4.11_opam-2.3-487b523341f4ade0f2cf52d6a943139a"
2025-03-19 18:25.37: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.11@sha256:6ff717e1c1106979a5c1660c76a6d44ac1ca568b6ef2e6e44471e4216cef7747)
(comment debian-12-4.11_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 cb8df6db0195538a02cc2b2eb20e468f22c475a7 || git fetch origin master) && git reset -q --hard cb8df6db0195538a02cc2b2eb20e468f22c475a7 && 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.0.0 astring.0.8.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.0.3 conf-m4.1 cppo.1.6.1 dune.3.5.0 fmt.0.8.6 jbuilder.1.0+beta20.1 lambda-term.3.3.0 logs.0.6.3 lwt.4.2.0 lwt_log.1.1.0 lwt_react.1.0.1 mew.0.1.0 mew_vi.0.5.0 mmap.1.0.2 ocaml.4.11.2 ocaml-base-compiler.4.11.2 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.1 re.1.7.2 react.1.0.0 result.1.5 seq.0.3 stdlib-shims.0.1.0 topkg.0.9.0 trie.1.0.0 uchar.0.0.2 uucp.2.0.0 uuidm.0.9.6 uuseg.1.0.1 uutf.1.0.1 xdg.3.9.0 zed.3.2.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.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-03-19 18:25.37: Waiting for resource in pool OCluster
2025-03-19 18:48.42: Waiting for worker…
2025-03-19 18:52.25: Got resource from pool OCluster
Building on x86-bm-c2.sw.ocaml.org
All commits already cached
HEAD is now at b684685 Emacs completion: Include module prefix in completion candidates
(from ocaml/opam:debian-12-ocaml-4.11@sha256:6ff717e1c1106979a5c1660c76a6d44ac1ca568b6ef2e6e44471e4216cef7747)
2025-03-19 18:52.25 ---> using "ba362f466b59172dc6091d8fdcc9890532bb25eab8136e791b75e8a5e8ef1fd2" from cache
/: (comment debian-12-4.11_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-03-19 18:52.25 ---> using "2da852f6b88ec5c30d505860b84e99b9f8015abb174685dc5dc4543e8474a846" 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-03-19 18:52.25 ---> using "af6b410b460179b803da735ab64da87e74775215e35a2369474059155e82cc0a" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 4.11.2
2.3.0
2025-03-19 18:52.25 ---> using "3783e17a29e4bf0b7b7e6b57b9703bd3b9d226191366c9b324049c5a9c9c2368" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-03-19 18:52.25 ---> using "4a7addccafe697eb6ab78f2e682fcdd8b30887b736e6a7260975e6dc7bb4cdef" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e cb8df6db0195538a02cc2b2eb20e468f22c475a7 || git fetch origin master) && git reset -q --hard cb8df6db0195538a02cc2b2eb20e468f22c475a7 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
a8ed476033..6ccbe63dbf master -> origin/master
cb8df6db01 Merge pull request #27631 from dbuenzli/incompatible-cmdliner2
<><> 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-03-19 18:52.25 ---> using "da5f90bcb7e39bed5f1f3be6aaf7d301f09fd1c217b8981d7c43327f14c3f915" from cache
/src: (copy (src utop.opam) (dst ./))
2025-03-19 18:52.25 ---> saved as "74af529c09200038fbbb4dd45732298bb5d8ee569d2bd92f69e62e14cd90fbe4"
/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-03-19 18:52.28 ---> saved as "3d2605372cc79b8d3c94864f6dc01408e0045f21276acda2e3bd67eef0caa867"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-03-19 18:52.28 ---> saved as "24184f90a8248ad14c9d545039758b6c58b21b12bdd01a7e81443a104874c9b4"
/src: (env DEPS "alcotest.1.0.0 astring.0.8.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.0.3 conf-m4.1 cppo.1.6.1 dune.3.5.0 fmt.0.8.6 jbuilder.1.0+beta20.1 lambda-term.3.3.0 logs.0.6.3 lwt.4.2.0 lwt_log.1.1.0 lwt_react.1.0.1 mew.0.1.0 mew_vi.0.5.0 mmap.1.0.2 ocaml.4.11.2 ocaml-base-compiler.4.11.2 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.1 re.1.7.2 react.1.0.0 result.1.5 seq.0.3 stdlib-shims.0.1.0 topkg.0.9.0 trie.1.0.0 uchar.0.0.2 uucp.2.0.0 uuidm.0.9.6 uuseg.1.0.1 uutf.1.0.1 xdg.3.9.0 zed.3.2.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.3 --depext-only -y utop.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]
- Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [249 kB]
- Fetched 353 kB in 0s (1361 kB/s)
- Reading package lists...
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[utop.dev] synchronised (file:///src)
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.11.2).
[NOTE] Package ocaml is already installed (current version is 4.11.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
- Selecting previously unselected package m4.
- (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 18745 files and directories currently installed.)
- Preparing to unpack .../archives/m4_1.4.19-3_amd64.deb ...
- Unpacking m4 (1.4.19-3) ...
- Setting up m4 (1.4.19-3) ...
2025-03-19 18:52.54 ---> saved as "6c8a5f433419d98c3e129920d723cc4f75cc4acb2a452c32e1fd049cc633d100"
/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.11.2).
[NOTE] Package ocaml is already installed (current version is 4.11.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 33 packages
- install alcotest 1.0.0
- install astring 0.8.2
- install base-bytes base
- install cmdliner 1.0.3
- install conf-m4 1
- install cppo 1.6.1
- install dune 3.5.0
- install fmt 0.8.6
- install jbuilder 1.0+beta20.1 (deprecated)
- install lambda-term 3.3.0
- install logs 0.6.3
- install lwt 4.2.0
- install lwt_log 1.1.0
- install lwt_react 1.0.1
- install mew 0.1.0
- install mew_vi 0.5.0
- install mmap 1.0.2
- install ocamlbuild 0.14.0
- install ocamlfind 1.8.1
- install re 1.7.2
- install react 1.0.0
- install result 1.5
- install seq 0.3
- install stdlib-shims 0.1.0
- install topkg 0.9.0
- install trie 1.0.0
- install uchar 0.0.2
- install uucp 2.0.0
- install uuidm 0.9.6
- install uuseg 1.0.1
- install uutf 1.0.1
- install xdg 3.9.0
- install zed 3.2.0
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.2 (cached)
-> retrieved cmdliner.1.0.3 (cached)
-> retrieved cppo.1.6.1 (cached)
-> installed conf-m4.1
-> retrieved fmt.0.8.6 (cached)
-> retrieved jbuilder.1.0+beta20.1 (cached)
-> retrieved alcotest.1.0.0 (cached)
-> retrieved dune.3.5.0 (cached)
-> retrieved logs.0.6.3 (cached)
-> retrieved lwt.4.2.0 (cached)
-> retrieved lambda-term.3.3.0 (https://github.com/ocaml-community/lambda-term/releases/download/3.3.0/lambda-term-3.3.0.tbz)
-> retrieved lwt_log.1.1.0 (cached)
-> retrieved lwt_react.1.0.1 (cached)
-> retrieved mew.0.1.0 (cached)
-> retrieved mew_vi.0.5.0 (cached)
-> retrieved mmap.1.0.2 (cached)
-> retrieved ocamlbuild.0.14.0 (cached)
-> retrieved ocamlfind.1.8.1 (cached)
-> retrieved re.1.7.2 (cached)
-> retrieved react.1.0.0 (cached)
-> retrieved result.1.5 (cached)
-> retrieved seq.0.3 (cached)
-> retrieved stdlib-shims.0.1.0 (cached)
-> retrieved trie.1.0.0 (cached)
-> retrieved uchar.0.0.2 (cached)
-> retrieved uuidm.0.9.6 (cached)
-> retrieved topkg.0.9.0 (cached)
-> retrieved uuseg.1.0.1 (cached)
-> retrieved uutf.1.0.1 (cached)
-> retrieved uucp.2.0.0 (cached)
-> retrieved xdg.3.9.0 (cached)
-> retrieved zed.3.2.0 (https://github.com/ocaml-community/zed/releases/download/3.2.0/zed-3.2.0.tbz)
-> installed cmdliner.1.0.3
-> installed ocamlfind.1.8.1
-> installed base-bytes.base
-> installed ocamlbuild.0.14.0
-> installed uchar.0.0.2
-> installed react.1.0.0
-> installed jbuilder.1.0+beta20.1
-> installed cppo.1.6.1
-> installed re.1.7.2
-> installed dune.3.5.0
-> installed mmap.1.0.2
-> installed result.1.5
-> installed seq.0.3
-> installed stdlib-shims.0.1.0
-> installed trie.1.0.0
-> installed mew.0.1.0
-> installed xdg.3.9.0
-> installed mew_vi.0.5.0
-> installed lwt.4.2.0
-> installed lwt_log.1.1.0
-> installed topkg.0.9.0
-> installed uuidm.0.9.6
-> installed uutf.1.0.1
-> installed fmt.0.8.6
-> installed astring.0.8.2
-> installed alcotest.1.0.0
-> installed logs.0.6.3
-> installed lwt_react.1.0.1
-> installed uucp.2.0.0
-> installed uuseg.1.0.1
-> installed zed.3.2.0
-> installed lambda-term.3.3.0
Done.
<><> jbuilder.1.0+beta20.1 installed successfully <><><><><><><><><><><><><><><>
=> Note: This package is deprecated.
# To update the current shell environment, run: eval $(opam env)
2025-03-19 18:54.19 ---> saved as "c3c61aaef89584803be79bf805f7ab0ebcb063f213d428323a98200d721ea117"
/src: (copy (src .) (dst /src))
2025-03-19 18:54.19 ---> saved as "8d7532cebbb2ed3a818f64ed8d89686ef0dda14b9e3382cab6b2f24e1163b92c"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "/home/opam/.opam/4.11/lib/re/re.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.11/lib/re/emacs/re.emacs.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.11/lib/re/glob/re.glob.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.11/lib/re/pcre/re.pcre.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.11/lib/re/perl/re.perl.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.11/lib/re/posix/re.posix.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.11/lib/re/str/re.str.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.11/lib/lwt_log/lwt_log.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.11/lib/lwt_log/core/lwt_log.core.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
(cd _build/default/test && ./test_lib.exe)
Testing utop.
This run has ID `7EC71AC3-2A51-4B59-8D2E-72FDBADB004B`.
... fix_string 0 small.
[OK] fix_string 0 small.
... fix_string 1 empty.
[OK] fix_string 1 empty.
The full test results are available in `/src/_build/default/test/_build/_tests/7EC71AC3-2A51-4B59-8D2E-72FDBADB004B`.
Test Successful in 0.000s. 2 tests run.
2025-03-19 18:54.38 ---> saved as "49b5a1a3e5c2731cc8221272171d60ad905a6ca9db223f2ec1f875fca27517d8"
Job succeeded
2025-03-19 18:54.38: Job succeeded