Organisationsocaml-communityutop68573d ()macos-homebrew-5.4_opam-2.5

macos-homebrew-5.4_opam-2.5

Link Copied
Code Copied

Logs

2026-03-14 00:27.53: New job: test ocaml-community/utop https://github.com/ocaml-community/utop.git#refs/pull/511/head (68573dd667e00b68396f15ab82b423104c426ae4) (macos-x86_64:macos-homebrew-5.4_opam-2.5)
Base: macos-homebrew-ocaml-5.4
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 68573dd6
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM macos-homebrew-ocaml-5.4
# macos-homebrew-5.4_opam-2.5
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN ln -f ~/local/bin/opam-2.5 ~/local/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
RUN cd ~/opam-repository && (git cat-file -e 31462e7d24da1419f9eb9099a0b60ea507d91ef6 || git fetch origin master) && git reset -q --hard 31462e7d24da1419f9eb9099a0b60ea507d91ef6 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 utop.opam ./src/./
RUN opam pin add -yn utop.dev './src/./'
RUN echo '(lang dune 3.0)' > './src/./dune-project'
ENV DEPS="alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.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.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 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 cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build


END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK


2026-03-14 00:27.53: Using cache hint "ocaml-community/utop-macos-homebrew-ocaml-5.4-macos-homebrew-5.4_opam-2.5-9e403d3181bdb8925cfb6c6f84474abb"
2026-03-14 00:27.53: Using OBuilder spec:
((from macos-homebrew-ocaml-5.4)
(comment macos-homebrew-5.4_opam-2.5)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(run (shell "ln -f ~/local/bin/opam-2.5 ~/local/bin/opam"))
(run (shell "opam init --reinit -ni"))
(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
(run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 31462e7d24da1419f9eb9099a0b60ea507d91ef6 || git fetch origin master) && git reset -q --hard 31462e7d24da1419f9eb9099a0b60ea507d91ef6 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src utop.opam) (dst ./src/./))
(run (network host)
(shell "opam pin add -yn utop.dev './src/./'"))
(run (shell "echo '(lang dune 3.0)' > './src/./dune-project'"))
(env DEPS "alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.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.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 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 /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "opam update --depexts && opam install --cli=2.5 --depext-only -y utop.dev $DEPS"))
(run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst ./src))
(run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
)


2026-03-14 00:27.53: Waiting for resource in pool OCluster
2026-03-14 00:27.53: Waiting for worker…
2026-03-14 00:33.33: Got resource from pool OCluster
Building on i7-worker-03
All commits already cached
HEAD is now at 68573dd Fix docstring line exceeding 80 characters


(from macos-homebrew-ocaml-5.4)
2026-03-14 00:33.33 ---> using "338135fbf1889e924a607b47198b8b308c32a925cc9436066d65a9bdc402cad5" from cache


/: (comment macos-homebrew-5.4_opam-2.5)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (run (shell "ln -f ~/local/bin/opam-2.5 ~/local/bin/opam"))
2026-03-14 00:33.34 ---> using "0e9d0f8ed44ab1f77ef30c8d8456629e6c63f869a24319cbb64657a84e315111" from cache


/: (run (shell "opam init --reinit -ni"))
No configuration file found, using 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 /Users/mac1000/.opam from version 2.1 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 1 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=1 --global
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///Users/mac1000/opam-repository
2026-03-14 00:33.34 ---> using "06effe220fa63e5f9fae9bf4643255961d59bf292a94931a0e1dd6d81a9fa7c6" from cache


/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Darwin 24.5.0
The OCaml toplevel, version 5.4.0
2.5.0
2026-03-14 00:33.34 ---> using "78e99acc02a52806060d0075d40f6ea681e9ef77eb60ecbbaff6e5155272646b" from cache


/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 31462e7d24da1419f9eb9099a0b60ea507d91ef6 || git fetch origin master) && git reset -q --hard 31462e7d24da1419f9eb9099a0b60ea507d91ef6 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
95f7875db7..31462e7d24  master     -> origin/master
31462e7d24 Merge pull request #29451 from dra27/relocatable-package


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///Users/mac1000/opam-repository


Everything as up-to-date as possible


The following packages are not being upgraded because the new versions conflict with other installed packages:
- ocaml.5.5.0
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-03-14 00:33.34 ---> using "67515be85ea744c67357268b54b738d29f836d9d910c9c9ae0b39eaa3bcdae2a" from cache


/: (copy (src utop.opam) (dst ./src/./))
2026-03-14 00:33.36 ---> saved as "1ec3a2fcba58066ef67cedfbfe7a2724778f409b00df8a168f96bb4c4f41201b"


/: (run (network host)
(shell "opam pin add -yn utop.dev './src/./'"))
[utop.dev] synchronised (file:///Users/mac1000/src)
utop is now pinned to file:///Users/mac1000/src (version dev)
2026-03-14 00:33.49 ---> saved as "bb479be1e15c4c4ecc8fbc4221b28efa5810fe6636d8cd9eabd4dbe13de3b9b9"


/: (run (shell "echo '(lang dune 3.0)' > './src/./dune-project'"))
2026-03-14 00:33.50 ---> saved as "4aa020f60a4a266c5663a20cae4f0a2b60e8c0d99f6e7f253635145aa9c66bd0"


/: (env DEPS "alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.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.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 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 /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "opam update --depexts && opam install --cli=2.5 --depext-only -y utop.dev $DEPS"))
+ /usr/local/bin/brew "update"
- ==> Updating Homebrew...
- Already up-to-date.


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[utop.dev] synchronised (file:///Users/mac1000/src)


[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml is already installed (current version is 5.4.0).
[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-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains 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-14 00:34.27 ---> saved as "0b2efbf868b56897e3ac353654cc79b26358e37f5553f7f58072fcd7834e5b47"


/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(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 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml is already installed (current version is 5.4.0).
[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-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains 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 cmdliner.2.1.0  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved alcotest.1.9.1  (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 ocplib-endian.1.2  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved react.1.2.2  (cached)
-> retrieved re.1.14.0  (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 topkg.1.1.1  (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 ocamlbuild.0.16.1
-> installed cmdliner.2.1.0
-> 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 trie.1.0.0
-> installed stdlib-shims.0.3.0
-> installed result.1.5
-> installed ocaml-syntax-shims.1.0.0
-> installed csexp.1.5.2
-> installed xdg.3.21.1
-> installed mew.0.1.0
-> installed re.1.14.0
-> installed cppo.1.8.0
-> installed ocplib-endian.1.2
-> installed mew_vi.0.5.0
-> installed alcotest.1.9.1
-> installed dune-configurator.3.21.1
-> installed uucp.17.0.0
-> installed lwt.6.1.1
-> installed lwt_react.1.2.0
-> installed uuseg.17.0.0
-> installed zed.3.2.3
-> installed logs.0.10.0
-> installed lambda-term.3.3.3
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-14 00:35.56 ---> saved as "66f49b1680726f51ea424a6609d465c0e29345202b9b6c2bc7aebd3a073c5b76"


/: (copy (src .) (dst ./src))
2026-03-14 00:35.58 ---> saved as "2caf3a8d0eaf5b92825bcd681200f4bce932267a0005b5aaea814ae0adb0b766"


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


[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.
2026-03-14 00:36.07 ---> saved as "53497b4e86b510083679b2d05139a9c0696d0d315589b4943a24b7ab0e7bfb47"
Job succeeded
2026-03-14 00:36.13: Job succeeded