2024-09-18 09:02.44: New job: test ocaml/merlin https://github.com/ocaml/merlin.git#refs/pull/1819/head (d2956636e36fc7c86fb3d7e8b8b8e6263f017d6c) (macos-arm64:macos-homebrew-5.2_arm64_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/1819/head" && git reset --hard d2956636 cat > Dockerfile <<'END-OF-DOCKERFILE' FROM macos-homebrew-ocaml-5.2 # macos-homebrew-5.2_arm64_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 f57c065fe9329efd503ebbbfcc76ee78f979cf3d || git fetch origin master) && git reset -q --hard f57c065fe9329efd503ebbbfcc76ee78f979cf3d && 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="base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base conf-jq.1 csexp.1.5.2 dune.3.16.0 host-arch-arm64.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 ocamlfind.1.9.6 ppx_derivers.1.2.1 ppxlib.0.33.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 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 09:02.44: Using cache hint "ocaml/merlin-macos-homebrew-ocaml-5.2-macos-homebrew-5.2_arm64_opam-2.2-f0274b7f85a1dc147d0f848f13d281aa" 2024-09-18 09:02.44: Using OBuilder spec: ((from macos-homebrew-ocaml-5.2) (comment macos-homebrew-5.2_arm64_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 f57c065fe9329efd503ebbbfcc76ee78f979cf3d || git fetch origin master) && git reset -q --hard f57c065fe9329efd503ebbbfcc76ee78f979cf3d && 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 "base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base conf-jq.1 csexp.1.5.2 dune.3.16.0 host-arch-arm64.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 ocamlfind.1.9.6 ppx_derivers.1.2.1 ppxlib.0.33.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 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 09:02.44: Waiting for resource in pool OCluster 2024-09-18 09:02.44: Waiting for worker… 2024-09-18 09:02.44: Got resource from pool OCluster Building on m1-worker-03 HEAD is now at 0d49438d Add licence and package setup for merlin-xref. HEAD is now at d2956636 Also lint the test file (from macos-homebrew-ocaml-5.2) 2024-09-18 09:02.46 ---> using "9b46fe3d2429f2b9195a02468cb57ac45cfa11fb4a87cb32b5e5375232223327" from cache /: (comment macos-homebrew-5.2_arm64_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 09:02.46 ---> 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 09:02.46 ---> 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 09:02.46 ---> 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 f57c065fe9329efd503ebbbfcc76ee78f979cf3d || git fetch origin master) && git reset -q --hard f57c065fe9329efd503ebbbfcc76ee78f979cf3d && git log --no-decorate -n1 --oneline && opam update -u")) f57c065fe9 Merge pull request #26251 from NathanReb/release-ppxlib-0.33.0 <><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><> [default] synchronised from git+file:///Users/mac1000/opam-repository 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.3.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 09:02.47 ---> using "682c5a0260ba681d4f2aebf26b031c9c795781011ec16c6bea6fe10ab9e269a6" from cache /: (copy (src ocaml-index.opam merlin.opam merlin-lib.opam dot-merlin-reader.opam) (dst ./src/./)) 2024-09-18 09:02.47 ---> using "44601fe1bffe09f3280841d02a910583ee3a4e4e0716a51ac47b7a2e2c59745a" 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 09:02.47 ---> using "64516574eb55456dc1702179b2a708e80739bce7e6301b33e05d1439b9a1313f" from cache /: (env DEPS "base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base conf-jq.1 csexp.1.5.2 dune.3.16.0 host-arch-arm64.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 ocamlfind.1.9.6 ppx_derivers.1.2.1 ppxlib.0.33.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 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")) + /opt/homebrew/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-arm64 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 <><><><><><><><><><><><><><><><><><><><><><> + /opt/homebrew/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:53913ccbdad8ce504d0266fc20a867f2fc306d7331d066f2895f48d167102a24 - Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/59e8579a8e70269e5c928e7cbbf3edbfab17680f24b808139760eaf6131ff56a--oniguruma--6.9.9.arm64_sonoma.bottle.tar.gz - ==> Fetching jq - ==> Downloading https://ghcr.io/v2/homebrew/core/jq/blobs/sha256:7d01bc414859db57e055c814daa10e9c586626381ea329862ad4300f9fee78ce - Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/33fa6f63828d3fdfa086250cef295785aff4290b792819148ea101a71a95fc91--jq--1.7.1.arm64_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.arm64_sonoma.bottle.tar.gz - 🍺 /opt/homebrew/Cellar/oniguruma/6.9.9: 15 files, 1.4MB - ==> Installing jq - ==> Pouring jq--1.7.1.arm64_sonoma.bottle.1.tar.gz - 🍺 /opt/homebrew/Cellar/jq/1.7.1: 20 files, 1.4MB - ==> 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 09:02.47 ---> using "4ef301d87f358383e26f82a4a301da692196d608721e84a735a8a82899703320" 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-arm64 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 15 packages - install conf-jq 1 - install csexp 1.5.2 - install dune 3.16.0 - install menhir 20240715 - install menhirCST 20240715 - install menhirLib 20240715 - install menhirSdk 20240715 - install ocaml-compiler-libs v0.17.0 - install ocamlfind 1.9.6 - install ppx_derivers 1.2.1 - install ppxlib 0.33.0 - install seq base - install sexplib0 v0.17.0 - install stdlib-shims 0.3.0 - install yojson 2.2.2 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved csexp.1.5.2 (cached) -> retrieved ocaml-compiler-libs.v0.17.0 (cached) -> installed conf-jq.1 -> retrieved ocamlfind.1.9.6 (cached) -> retrieved ppx_derivers.1.2.1 (cached) -> retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715 (cached) -> retrieved seq.base (cached) -> installed seq.base -> retrieved ppxlib.0.33.0 (cached) -> retrieved sexplib0.v0.17.0 (cached) -> retrieved stdlib-shims.0.3.0 (cached) -> retrieved yojson.2.2.2 (cached) -> retrieved dune.3.16.0 (cached) -> installed ocamlfind.1.9.6 -> installed dune.3.16.0 -> installed csexp.1.5.2 -> installed menhirCST.20240715 -> installed ppx_derivers.1.2.1 -> installed stdlib-shims.0.3.0 -> installed menhirSdk.20240715 -> installed menhirLib.20240715 -> installed sexplib0.v0.17.0 -> installed ocaml-compiler-libs.v0.17.0 -> installed yojson.2.2.2 -> installed menhir.20240715 -> installed ppxlib.0.33.0 Done. # Run eval $(opam env) to update the current shell environment 2024-09-18 09:02.47 ---> using "35434842a298f0f53a39b18fb8a0da13fc8bdfa68d870c65155b66b0769cda6a" from cache /: (copy (src .) (dst ./src)) 2024-09-18 09:02.49 ---> saved as "aee02f7a5bb533aa92da953c9464cfed7c90bbe71ac784351e7de33f94dee418" /: (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 && /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). 2024-09-18 09:03.07 ---> saved as "943fce83238b4b50086a0f32a57a29f4bde0deb102ffb3c935ae2f7945027347" Job succeeded 2024-09-18 09:03.13: Job succeeded