2024-09-18 16:19.51: New job: test ocaml/merlin https://github.com/ocaml/merlin.git#refs/pull/1828/head (f4d6973730d7d8ee5e59d5f3fc7724a5c1196429) (macos-x86_64:macos-homebrew-5.2_opam-2.2)
Base: macos-homebrew-ocaml-5.2
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocaml/merlin.git" && cd "merlin" && git fetch origin "refs/pull/1828/head" && git reset --hard f4d69737
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM macos-homebrew-ocaml-5.2
# macos-homebrew-5.2_opam-2.2
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN ln -f ~/local/bin/opam-2.2 ~/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 45f961713f04a0d83218c0eb2706131a40f96d54 || git fetch origin master) && git reset -q --hard 45f961713f04a0d83218c0eb2706131a40f96d54 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 ocaml-index.opam merlin.opam merlin-lib.opam dot-merlin-reader.opam ./src/./
RUN opam pin add -yn ocaml-index.dev './src/./' && \
opam pin add -yn merlin.dev './src/./' && \
opam pin add -yn merlin-lib.dev './src/./' && \
opam pin add -yn dot-merlin-reader.dev './src/./'
ENV DEPS="alcotest.1.8.0 astring.0.8.5 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base cmdliner.1.3.0 conf-jq.1 csexp.1.5.2 dune.3.16.0 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.15.0 ocamlfind.1.9.6 ppx_derivers.1.2.1 ppxlib.0.33.0 re.1.12.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3 yojson.2.2.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y ocaml-index.dev merlin.dev merlin-lib.dev dot-merlin-reader.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
2024-09-18 16:19.51: Using cache hint "ocaml/merlin-macos-homebrew-ocaml-5.2-macos-homebrew-5.2_opam-2.2-32fb3617d4b40c311c3e3f2b6984dc18"
2024-09-18 16:19.51: Using OBuilder spec:
((from macos-homebrew-ocaml-5.2)
(comment macos-homebrew-5.2_opam-2.2)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(run (shell "ln -f ~/local/bin/opam-2.2 ~/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 45f961713f04a0d83218c0eb2706131a40f96d54 || git fetch origin master) && git reset -q --hard 45f961713f04a0d83218c0eb2706131a40f96d54 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src ocaml-index.opam merlin.opam merlin-lib.opam dot-merlin-reader.opam)
(dst ./src/./))
(run (network host)
(shell "opam pin add -yn ocaml-index.dev './src/./' && \
\nopam pin add -yn merlin.dev './src/./' && \
\nopam pin add -yn merlin-lib.dev './src/./' && \
\nopam pin add -yn dot-merlin-reader.dev './src/./'"))
(env DEPS "alcotest.1.8.0 astring.0.8.5 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base cmdliner.1.3.0 conf-jq.1 csexp.1.5.2 dune.3.16.0 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.15.0 ocamlfind.1.9.6 ppx_derivers.1.2.1 ppxlib.0.33.0 re.1.12.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3 yojson.2.2.2")
(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.2 --depext-only -y ocaml-index.dev merlin.dev merlin-lib.dev dot-merlin-reader.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"))
)
2024-09-18 16:19.51: Waiting for resource in pool OCluster
2024-09-18 16:19.51: Waiting for worker…
2024-09-18 16:20.46: Got resource from pool OCluster
Building on i7-worker-04
HEAD is now at 6f8d595d Add CHANGES entry
HEAD is now at f4d69737 Add CHANGES entry
(from macos-homebrew-ocaml-5.2)
2024-09-18 16:20.49 ---> using "9b46fe3d2429f2b9195a02468cb57ac45cfa11fb4a87cb32b5e5375232223327" from cache
/: (comment macos-homebrew-5.2_opam-2.2)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (run (shell "ln -f ~/local/bin/opam-2.2 ~/local/bin/opam"))
2024-09-18 16:20.50 ---> using "b003627c18f5d873361872ecfa38a9a8b5c86cc26245bef1d152887064c98071" 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
2024-09-18 16:20.50 ---> using "408d2cc158c17e89759cf51b146539f00642e287086d5c54f85c33dae9e6a1f9" from cache
/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Darwin 23.4.0
The OCaml toplevel, version 5.2.0
2.2.0
2024-09-18 16:20.51 ---> using "80c5626e56c363c9237b2d67b74b9ac64751c52cd041543c0fda73b45b911c9a" 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 45f961713f04a0d83218c0eb2706131a40f96d54 || git fetch origin master) && git reset -q --hard 45f961713f04a0d83218c0eb2706131a40f96d54 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
fe8dffac61..45f961713f master -> origin/master
45f961713f Merge pull request #26585 from dra27/trunk-tweaks
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///Users/mac1000/opam-repository
default (at git+file:///Users/mac1000/opam-repository):
[WARNING] opam is out-of-date. Please consider updating it (https://opam.ocaml.org/doc/Install.html)
Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
The following packages are not being upgraded because the new versions conflict with other installed packages:
- ocaml.5.4.0
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# Run eval $(opam env) to update the current shell environment
2024-09-18 16:20.51 ---> using "e741b1b0654b57a245f3c9eb31b5f47bd9ac932e8def5542224f2dc57745b5cd" from cache
/: (copy (src ocaml-index.opam merlin.opam merlin-lib.opam dot-merlin-reader.opam)
(dst ./src/./))
2024-09-18 16:20.52 ---> using "73a2e25ae897db64b0e1bb4494ba1a4836932ecd2a339862b697e663e204eaf1" from cache
/: (run (network host)
(shell "opam pin add -yn ocaml-index.dev './src/./' && \
\nopam pin add -yn merlin.dev './src/./' && \
\nopam pin add -yn merlin-lib.dev './src/./' && \
\nopam pin add -yn dot-merlin-reader.dev './src/./'"))
[ocaml-index.dev] synchronised (file:///Users/mac1000/src)
ocaml-index is now pinned to file:///Users/mac1000/src (version dev)
[merlin.dev] synchronised (file:///Users/mac1000/src)
merlin is now pinned to file:///Users/mac1000/src (version dev)
[merlin-lib.dev] synchronised (file:///Users/mac1000/src)
merlin-lib is now pinned to file:///Users/mac1000/src (version dev)
[dot-merlin-reader.dev] synchronised (file:///Users/mac1000/src)
dot-merlin-reader is now pinned to file:///Users/mac1000/src (version dev)
2024-09-18 16:20.52 ---> using "8dcae77a8f5110b1079b3f655bca1bb3d384b4b718e23e38b7dc9024aaf81b10" from cache
/: (env DEPS "alcotest.1.8.0 astring.0.8.5 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base cmdliner.1.3.0 conf-jq.1 csexp.1.5.2 dune.3.16.0 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.15.0 ocamlfind.1.9.6 ppx_derivers.1.2.1 ppxlib.0.33.0 re.1.12.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3 yojson.2.2.2")
/: (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.2 --depext-only -y ocaml-index.dev merlin.dev merlin-lib.dev dot-merlin-reader.dev $DEPS"))
+ /usr/local/bin/brew "update"
- ==> Updating Homebrew...
- Already up-to-date.
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[dot-merlin-reader.dev] synchronised (no changes)
[merlin.dev] synchronised (no changes)
[merlin-lib.dev] synchronised (no changes)
[ocaml-index.dev] synchronised (no changes)
[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-base-compiler is already installed (current version is 5.2.0).
[NOTE] Package ocaml is already installed (current version is 5.2.0).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[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-domains 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:
jq
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/local/bin/brew "install" "jq"
- ==> Downloading https://ghcr.io/v2/homebrew/core/jq/manifests/1.7.1-1
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/d1382cba30f89ffc26790240df7dc444b078442920626f7580500bc63ad0f414--jq-1.7.1-1.bottle_manifest.json
- ==> Fetching dependencies for jq: oniguruma
- ==> Downloading https://ghcr.io/v2/homebrew/core/oniguruma/manifests/6.9.9
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/35140c4d3995b75388bed026ef6d0acbb4d6076047cdcd895bfd996c0c8d6487--oniguruma-6.9.9.bottle_manifest.json
- ==> Fetching oniguruma
- ==> Downloading https://ghcr.io/v2/homebrew/core/oniguruma/blobs/sha256:75f2ef5b5593401d265669503cff50cda1fc10dbe2750fc54c87cbe578211b58
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/07c355d4ffdfcb22bf9c561bf5ba24502e7b64e9104eac10967ef8ec68310b3e--oniguruma--6.9.9.sonoma.bottle.tar.gz
- ==> Fetching jq
- ==> Downloading https://ghcr.io/v2/homebrew/core/jq/blobs/sha256:6bc01de99fd7f091b86880534842132a876f2d3043e3932ea75efc5f51c40aea
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/b82b4177f314e88fc5a4088fb5f97e0557219f022b9a684c37ce12a18854864b--jq--1.7.1.sonoma.bottle.1.tar.gz
- ==> Installing dependencies for jq: oniguruma
- ==> Installing jq dependency: oniguruma
- ==> Downloading https://ghcr.io/v2/homebrew/core/oniguruma/manifests/6.9.9
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/35140c4d3995b75388bed026ef6d0acbb4d6076047cdcd895bfd996c0c8d6487--oniguruma-6.9.9.bottle_manifest.json
- ==> Pouring oniguruma--6.9.9.sonoma.bottle.tar.gz
- 🍺 /usr/local/Cellar/oniguruma/6.9.9: 15 files, 1.4MB
- ==> Installing jq
- ==> Pouring jq--1.7.1.sonoma.bottle.1.tar.gz
- 🍺 /usr/local/Cellar/jq/1.7.1: 20 files, 1.3MB
- ==> Running `brew cleanup jq`...
- Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
- Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
2024-09-18 16:20.53 ---> using "a43ae9bcbd869edf62e27c763e90e4c25782eb0909b88325d9ada74508d3ee09" from cache
/: (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-base-compiler is already installed (current version is 5.2.0).
[NOTE] Package ocaml is already installed (current version is 5.2.0).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[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-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 24 packages
- install alcotest 1.8.0
- install astring 0.8.5
- install cmdliner 1.3.0
- install conf-jq 1
- install csexp 1.5.2
- install dune 3.16.0
- install fmt 0.9.0
- install menhir 20240715
- install menhirCST 20240715
- install menhirLib 20240715
- install menhirSdk 20240715
- install ocaml-compiler-libs v0.17.0
- install ocaml-syntax-shims 1.0.0
- install ocamlbuild 0.15.0
- install ocamlfind 1.9.6
- install ppx_derivers 1.2.1
- install ppxlib 0.33.0
- install re 1.12.0
- install seq base
- install sexplib0 v0.17.0
- install stdlib-shims 0.3.0
- install topkg 1.0.7
- install uutf 1.0.3
- install yojson 2.2.2
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> installed conf-jq.1
-> retrieved csexp.1.5.2 (cached)
-> retrieved alcotest.1.8.0 (cached)
-> retrieved fmt.0.9.0 (cached)
-> retrieved ocaml-compiler-libs.v0.17.0 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocamlbuild.0.15.0 (cached)
-> retrieved ocamlfind.1.9.6 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715 (cached)
-> retrieved ppxlib.0.33.0 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved re.1.12.0 (cached)
-> retrieved sexplib0.v0.17.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved uutf.1.0.3 (cached)
-> retrieved topkg.1.0.7 (cached)
-> retrieved yojson.2.2.2 (cached)
-> retrieved dune.3.16.0 (cached)
-> installed cmdliner.1.3.0
-> installed ocamlfind.1.9.6
-> installed ocamlbuild.0.15.0
-> installed topkg.1.0.7
-> installed uutf.1.0.3
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed dune.3.16.0
-> installed csexp.1.5.2
-> installed stdlib-shims.0.3.0
-> installed ppx_derivers.1.2.1
-> installed menhirCST.20240715
-> installed menhirSdk.20240715
-> installed ocaml-syntax-shims.1.0.0
-> installed menhirLib.20240715
-> installed ocaml-compiler-libs.v0.17.0
-> installed sexplib0.v0.17.0
-> installed yojson.2.2.2
-> installed re.1.12.0
-> installed alcotest.1.8.0
-> installed ppxlib.0.33.0
-> installed menhir.20240715
Done.
# Run eval $(opam env) to update the current shell environment
2024-09-18 16:20.54 ---> using "9fb9f23a9837a4fdcd58a7624589303ba151c4351aac50f9286a4acf7a9e329c" from cache
/: (copy (src .) (dst ./src))
2024-09-18 16:20.56 ---> saved as "f7caf011a64f4a8c4466b694f28b072bd905f5f9c0f74303c70fd48fb6b34ad8"
/: (run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && /Users/mac1000/.opam/5.2.0/bin/menhir --inspection --table --cmly src/ocaml/preprocess/parser_raw.mly --base src/ocaml/preprocess/parser_raw --infer-write-query src/ocaml/preprocess/parser_raw__mock.ml.mock)
File "src/ocaml/preprocess/parser_raw.mly", line 897, characters 29-36:
Warning: the token COMMENT is unused.
File "src/ocaml/preprocess/parser_raw.mly", line 898, characters 30-39:
Warning: the token DOCSTRING is unused.
File "src/ocaml/preprocess/parser_raw.mly", line 900, characters 7-10:
Warning: the token EOL is unused.
File "src/ocaml/preprocess/parser_raw.mly", line 810, characters 7-22:
Warning: the token GREATERRBRACKET is unused.
(cd _build/default && /Users/mac1000/.opam/5.2.0/bin/ocamlopt.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -I src/dot-merlin/.dot_merlin_reader.eobjs/byte -I src/dot-merlin/.dot_merlin_reader.eobjs/native -I /Users/mac1000/.opam/5.2.0/lib/findlib -I /Users/mac1000/.opam/5.2.0/lib/ocaml/str -I /Users/mac1000/.opam/5.2.0/lib/ocaml/unix -I src/dot-protocol/.merlin_dot_protocol.objs/byte -I src/dot-protocol/.merlin_dot_protocol.objs/native -I src/utils/.merlin_utils.objs/byte -I src/utils/.merlin_utils.objs/native -intf-suffix .ml -no-alias-deps -opaque -o src/dot-merlin/.dot_merlin_reader.eobjs/native/dune__exe__Dot_merlin_reader.cmx -c -impl src/dot-merlin/dot_merlin_reader.ml)
File "_none_", line 1:
Warning 58 [no-cmx-file]: no cmx file was found in path for module Findlib, and its interface was not compiled with -opaque
(cd _build/default/tests/test-units/sherldoc && ./sherlodoc_test.exe)
Testing `merlin-lib.sherlodoc'.
This run has ID `AUVSHN4M'.
[OK] type_expr 0 parse a simple type expression - 1.
[OK] type_expr 1 parse a simple type expression - 2.
[OK] type_expr 2 parse a simple type expression - 3.
[OK] type_expr 3 parse a simple type expression - 4.
[OK] type_expr 4 ensure that function equivalent fu...
[OK] type_expr 5 recompute type variables - 1.
[OK] type_expr 6 check polymorphic variable identif...
[OK] name_cost 0 test distance - 1.
[OK] name_cost 1 test distance - 2.
[OK] name_cost 2 test distance - 3.
[OK] name_cost 3 test distance - 4.
[OK] name_cost 4 test distance - 5.
[OK] name_cost 5 test distance_substring - 1.
[OK] name_cost 6 test distance_substring - 2.
[OK] name_cost 7 test distance_substring - 3.
[OK] name_cost 8 test distance_substring - 4.
[OK] name_cost 9 test bast distance - 1.
[OK] name_cost 10 test bast distance - 2.
[OK] name_cost 11 test bast distance - 3.
[OK] type_distance 0 distance between `int` and `int`.
[OK] type_distance 1 distance between `string` and `str...
[OK] type_distance 2 distance between `string -> int` a...
[OK] type_distance 3 distance between `string -> int ->...
[OK] type_distance 4 distance between `int -> srting ->...
[OK] type_distance 5 distance between `('a -> 'b) -> 'a...
[OK] type_distance 6 distance between `('foo -> 'bar) -...
[OK] type_distance 7 distance between `'foo list -> ('f...
[OK] type_distance 8 distance between `foo -> bar -> ba...
[OK] type_distance 9 distance between `('a -> 'b) * 'a ...
[OK] type_distance 10 distance between `'a * 'b -> 'b` a...
[OK] type_distance 11 distance between `'a * 'b -> 'a` a...
[OK] type_distance 12 distance between `'a -> 'b -> 'b -...
[OK] type_distance 13 distance between `('a -> 'a) -> 'a...
[OK] type_distance 14 distance between `'a -> 'b option ...
[OK] query-parser 0 test distance from a query - 1.
[OK] query-parser 1 test distance from a query - 2.
[OK] query-parser 2 test distance from a query - 3.
[OK] query-parser 3 test distance from a query - 4.
[OK] query-parser 4 test distance from a query - 5.
[OK] query-parser 5 test distance from a query - 6.
[OK] query-parser 6 test distance from a query - 7.
[OK] query-parser 7 test distance from a query - 8.
Full test results in `~/src/_build/default/tests/test-units/sherldoc/_build/_tests/merlin-lib.sherlodoc'.
Test Successful in 0.013s. 42 tests run.
(cd _build/default && /Users/mac1000/.opam/5.2.0/bin/menhir --inspection --table --cmly src/ocaml/preprocess/parser_raw.mly --base src/ocaml/preprocess/parser_raw --infer-read-reply src/ocaml/preprocess/parser_raw__mock.mli.inferred)
File "src/ocaml/preprocess/parser_raw.mly", line 966, characters 0-9:
Warning: the precedence level assigned to GREATERDOT is never useful.
(cd _build/default && /Users/mac1000/.opam/5.2.0/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -open Ocaml_typing -open Ocaml_parsing -open Ocaml_utils -open Merlin_utils -open Merlin_analysis -open Merlin_index_format -g -bin-annot -bin-annot-occurrences -I src/ocaml-index/lib/.lib.objs/byte -I src/analysis/.merlin_analysis.objs/byte -I src/index-format/.merlin_index_format.objs/byte -I src/ocaml/parsing/.ocaml_parsing.objs/byte -I src/ocaml/typing/.ocaml_typing.objs/byte -I src/ocaml/utils/.ocaml_utils.objs/byte -I src/utils/.merlin_utils.objs/byte -no-alias-deps -opaque -open Lib -o src/ocaml-index/lib/.lib.objs/byte/lib__Index.cmo -c -impl src/ocaml-index/lib/index.ml)
File "_none_", line 1:
Alert ocaml_deprecated_auto_include:
OCaml's lib directory layout changed in 5.0. The unix subdirectory has been
automatically added to the search path, but you should add -I +unix to the
command-line to silence this alert (e.g. by adding unix to the list of
libraries in your dune file, or adding use_unix to your _tags file for
ocamlbuild, or using -package unix for ocamlfind).
(cd _build/default && /Users/mac1000/.opam/5.2.0/bin/ocamlopt.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -open Ocaml_typing -open Ocaml_parsing -open Ocaml_utils -open Merlin_utils -open Merlin_analysis -open Merlin_index_format -g -I src/ocaml-index/lib/.lib.objs/byte -I src/ocaml-index/lib/.lib.objs/native -I src/analysis/.merlin_analysis.objs/byte -I src/analysis/.merlin_analysis.objs/native -I src/index-format/.merlin_index_format.objs/byte -I src/index-format/.merlin_index_format.objs/native -I src/ocaml/parsing/.ocaml_parsing.objs/byte -I src/ocaml/parsing/.ocaml_parsing.objs/native -I src/ocaml/typing/.ocaml_typing.objs/byte -I src/ocaml/typing/.ocaml_typing.objs/native -I src/ocaml/utils/.ocaml_utils.objs/byte -I src/ocaml/utils/.ocaml_utils.objs/native -I src/utils/.merlin_utils.objs/byte -I src/utils/.merlin_utils.objs/native -intf-suffix .ml -no-alias-deps -opaque -open Lib -o src/ocaml-index/lib/.lib.objs/native/lib__Index.cmx -c -impl src/ocaml-index/lib/index.ml)
File "_none_", line 1:
Alert ocaml_deprecated_auto_include:
OCaml's lib directory layout changed in 5.0. The unix subdirectory has been
automatically added to the search path, but you should add -I +unix to the
command-line to silence this alert (e.g. by adding unix to the list of
libraries in your dune file, or adding use_unix to your _tags file for
ocamlbuild, or using -package unix for ocamlfind).
File "tests/test-dirs/search-by-type-comparison-to-polarity-search.t", line 1, characters 0-0:
/usr/bin/git --no-pager diff --no-index --color=always -u _build/.sandbox/5a3104cde2ca59b2ef3b8a6a0956ead6/default/tests/test-dirs/search-by-type-comparison-to-polarity-search.t _build/.sandbox/5a3104cde2ca59b2ef3b8a6a0956ead6/default/tests/test-dirs/search-by-type-comparison-to-polarity-search.t.corrected
diff --git a/_build/.sandbox/5a3104cde2ca59b2ef3b8a6a0956ead6/default/tests/test-dirs/search-by-type-comparison-to-polarity-search.t b/_build/.sandbox/5a3104cde2ca59b2ef3b8a6a0956ead6/default/tests/test-dirs/search-by-type-comparison-to-polarity-search.t.corrected
index d1234af..fe905e0 100644
--- a/_build/.sandbox/5a3104cde2ca59b2ef3b8a6a0956ead6/default/tests/test-dirs/search-by-type-comparison-to-polarity-search.t
+++ b/_build/.sandbox/5a3104cde2ca59b2ef3b8a6a0956ead6/default/tests/test-dirs/search-by-type-comparison-to-polarity-search.t.corrected
@@ -16,14 +16,14 @@ potential failures, so lifting the result in an int option).
"name": "int_of_string_opt",
"type": "string -> int option"
}
- {
- "name": "Int32.of_string_opt",
- "type": "string -> int32 option"
- }
{
"name": "Int64.of_string_opt",
"type": "string -> int64 option"
}
+ {
+ "name": "Int32.of_string_opt",
+ "type": "string -> int32 option"
+ }
{
"name": "Sys.getenv_opt",
"type": "string -> string option"
File "tests/test-dirs/search-by-type.t/run.t", line 1, characters 0-0:
/usr/bin/git --no-pager diff --no-index --color=always -u _build/.sandbox/e83663021a16dd380208d25d86afe9d1/default/tests/test-dirs/search-by-type.t/run.t _build/.sandbox/e83663021a16dd380208d25d86afe9d1/default/tests/test-dirs/search-by-type.t/run.t.corrected
diff --git a/_build/.sandbox/e83663021a16dd380208d25d86afe9d1/default/tests/test-dirs/search-by-type.t/run.t b/_build/.sandbox/e83663021a16dd380208d25d86afe9d1/default/tests/test-dirs/search-by-type.t/run.t.corrected
index 1318c9d..077614d 100644
--- a/_build/.sandbox/e83663021a16dd380208d25d86afe9d1/default/tests/test-dirs/search-by-type.t/run.t
+++ b/_build/.sandbox/e83663021a16dd380208d25d86afe9d1/default/tests/test-dirs/search-by-type.t/run.t.corrected
@@ -14,14 +14,14 @@
"doc": "Convert the given string to an integer. The string is read in decimal (by default, or if the string begins with [0u]), in hexadecimal (if it begins with [0x] or [0X]), in octal (if it begins with [0o] or [0O]), or in binary (if it begins with [0b] or [0B]). The [0u] prefix reads the input as an unsigned integer in the range [[0, 2*max_int+1]]. If the input exceeds {!max_int} it is converted to the signed integer [min_int + input - max_int - 1]. The [_] (underscore) character can appear anywhere in the string and is ignored. Return [None] if the given string is not a valid representation of an integer, or if the integer represented exceeds the range of integers representable in type [int]. @since 4.05"
}
{
- "name": "Int32.of_string_opt",
- "type": "string -> int32 option",
+ "name": "Int64.of_string_opt",
+ "type": "string -> int64 option",
"cost": 2,
"doc": "Same as [of_string], but return [None] instead of raising. @since 4.05"
}
{
- "name": "Int64.of_string_opt",
- "type": "string -> int64 option",
+ "name": "Int32.of_string_opt",
+ "type": "string -> int32 option",
"cost": 2,
"doc": "Same as [of_string], but return [None] instead of raising. @since 4.05"
}
"/usr/bin/env" "bash" "-c" "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2024-09-18 16:21.34: Job failed: Failed: Build failed