2024-09-19 01:26.17: New job: test ocaml/merlin https://github.com/ocaml/merlin.git#refs/pull/1830/head (ad4de4d093d0aa29e008f57b3cdedb434c5e8ea5) (linux-x86_64:(lower-bound)) Base: ocaml/opam:debian-12-ocaml-5.2@sha256:3eb670568de552be8e9e753c9e412c809c92d27d3e27c2afc0064f753eece77e Opam project build To reproduce locally: git clone --recursive "https://github.com/ocaml/merlin.git" && cd "merlin" && git fetch origin "refs/pull/1830/head" && git reset --hard ad4de4d0 cat > Dockerfile <<'END-OF-DOCKERFILE' FROM ocaml/opam:debian-12-ocaml-5.2@sha256:3eb670568de552be8e9e753c9e412c809c92d27d3e27c2afc0064f753eece77e # debian-12-5.2_opam-2.2 USER 1000:1000 ENV CLICOLOR_FORCE="1" ENV OPAMCOLOR="always" WORKDIR /src RUN sudo ln -f /usr/bin/opam-2.2 /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 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 ./ RUN opam pin add -yn ocaml-index.dev './' && \ opam pin add -yn merlin.dev './' && \ opam pin add -yn merlin-lib.dev './' && \ opam pin add -yn dot-merlin-reader.dev './' ENV DEPS="alcotest.1.0.0 astring.0.8.5 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base cmdliner.1.1.0 conf-jq.1 cppo.1.6.7 csexp.1.5.1 dune.3.3.0 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 menhir.20201216 menhirLib.20201216 menhirSdk.20201216 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.14.3 ocamlfind.1.9.5 ppx_derivers.1.2.1 ppxlib.0.32.1 re.1.9.0 seq.base sexplib0.v0.15.1 stdlib-shims.0.1.0 topkg.1.0.6 uuidm.0.9.8 yojson.2.0.0" 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 opam exec -- dune build @install @check @runtest && rm -rf _build END-OF-DOCKERFILE docker build . END-REPRO-BLOCK 2024-09-19 01:26.17: Using cache hint "ocaml/merlin-ocaml/opam:debian-12-ocaml-5.2@sha256:3eb670568de552be8e9e753c9e412c809c92d27d3e27c2afc0064f753eece77e-debian-12-5.2_opam-2.2-eb2a9b4e1568df1c63268f1c062c7957" 2024-09-19 01:26.17: Using OBuilder spec: ((from ocaml/opam:debian-12-ocaml-5.2@sha256:3eb670568de552be8e9e753c9e412c809c92d27d3e27c2afc0064f753eece77e) (comment debian-12-5.2_opam-2.2) (user (uid 1000) (gid 1000)) (env CLICOLOR_FORCE 1) (env OPAMCOLOR always) (workdir /src) (run (shell "sudo ln -f /usr/bin/opam-2.2 /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 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 ./)) (run (network host) (shell "opam pin add -yn ocaml-index.dev './' && \ \nopam pin add -yn merlin.dev './' && \ \nopam pin add -yn merlin-lib.dev './' && \ \nopam pin add -yn dot-merlin-reader.dev './'")) (env DEPS "alcotest.1.0.0 astring.0.8.5 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base cmdliner.1.1.0 conf-jq.1 cppo.1.6.7 csexp.1.5.1 dune.3.3.0 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 menhir.20201216 menhirLib.20201216 menhirSdk.20201216 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.14.3 ocamlfind.1.9.5 ppx_derivers.1.2.1 ppxlib.0.32.1 re.1.9.0 seq.base sexplib0.v0.15.1 stdlib-shims.0.1.0 topkg.1.0.6 uuidm.0.9.8 yojson.2.0.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.2 --depext-only -y ocaml-index.dev merlin.dev merlin-lib.dev dot-merlin-reader.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")) ) 2024-09-19 01:26.17: Waiting for resource in pool OCluster 2024-09-19 01:26.17: Waiting for worker… 2024-09-19 01:26.17: Got resource from pool OCluster Building on x86-bm-c11.sw.ocaml.org All commits already cached HEAD is now at ad4de4d0 Add interactive search interaction (from ocaml/opam:debian-12-ocaml-5.2@sha256:3eb670568de552be8e9e753c9e412c809c92d27d3e27c2afc0064f753eece77e) 2024-09-19 01:26.19 ---> using "221319639814ba692dcd418f1d210391b36b017e1c00f2d2ad322a9ee601e274" from cache /: (comment debian-12-5.2_opam-2.2) /: (user (uid 1000) (gid 1000)) /: (env CLICOLOR_FORCE 1) /: (env OPAMCOLOR always) /: (workdir /src) /src: (run (shell "sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam")) 2024-09-19 01:26.19 ---> using "3302610f7356c331872592e2be698409c1552454d554085cbe548d6583a48513" 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><> [default] synchronised from file:///home/opam/opam-repository 2024-09-19 01:26.19 ---> using "f1d4f791d91dbc1cde0d6f4c212cc72abc4a80abe2a03072bf8afe816aa81924" from cache /src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) Linux 5.15.0-121-generic The OCaml toplevel, version 5.2.0 2.2.1 2024-09-19 01:26.19 ---> using "1171e52dad16097ce0312af9fabd822c69f2808098615c3d0fc6503098f2f79b" from cache /src: (workdir /src) /src: (run (shell "sudo chown opam /src")) 2024-09-19 01:26.19 ---> using "9295d1d237729feeffdec469427c8d5eb6ca0f1b4e68c34c88bf84d039958c83" from cache /src: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (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 e89899ac28..45f961713f master -> origin/master 45f961713f Merge pull request #26585 from dra27/trunk-tweaks <><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><> [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. # Run eval $(opam env) to update the current shell environment 2024-09-19 01:26.19 ---> using "c8b4e8050586640bfad01b1252e18a1051a3a865e607da5f70ff20be2b3edc48" from cache /src: (copy (src ocaml-index.opam merlin.opam merlin-lib.opam dot-merlin-reader.opam) (dst ./)) 2024-09-19 01:26.19 ---> saved as "e03e6ff6fb00d136e2820859244052c6d8b869e103871a8b5ef071241560ac49" /src: (run (network host) (shell "opam pin add -yn ocaml-index.dev './' && \ \nopam pin add -yn merlin.dev './' && \ \nopam pin add -yn merlin-lib.dev './' && \ \nopam pin add -yn dot-merlin-reader.dev './'")) [ocaml-index.dev] synchronised (file:///src) ocaml-index is now pinned to file:///src (version dev) [merlin.dev] synchronised (file:///src) merlin is now pinned to file:///src (version dev) [merlin-lib.dev] synchronised (file:///src) merlin-lib is now pinned to file:///src (version dev) [dot-merlin-reader.dev] synchronised (file:///src) dot-merlin-reader is now pinned to file:///src (version dev) 2024-09-19 01:26.26 ---> saved as "60e1fa41bd4844f13c2897c090811e161d0fa591e11e67349c5b0a4130330771" /src: (env DEPS "alcotest.1.0.0 astring.0.8.5 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base cmdliner.1.1.0 conf-jq.1 cppo.1.6.7 csexp.1.5.1 dune.3.3.0 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 menhir.20201216 menhirLib.20201216 menhirSdk.20201216 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.14.3 ocamlfind.1.9.5 ppx_derivers.1.2.1 ppxlib.0.32.1 re.1.9.0 seq.base sexplib0.v0.15.1 stdlib-shims.0.1.0 topkg.1.0.6 uuidm.0.9.8 yojson.2.0.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.2 --depext-only -y ocaml-index.dev merlin.dev merlin-lib.dev dot-merlin-reader.dev $DEPS")) + /usr/bin/sudo "apt-get" "update" - Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB] - 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 bookworm/main amd64 Packages [8787 kB] - Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages.diff/Index [11.7 kB] - Get:6 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2024-09-10-2011.55-F-2024-09-10-2011.55.pdiff [1116 B] - Get:6 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2024-09-10-2011.55-F-2024-09-10-2011.55.pdiff [1116 B] - Get:7 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [182 kB] - Fetched 9237 kB in 3s (3374 kB/s) - Reading package lists... - <><> 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/bin/sudo "apt-get" "install" "-qq" "-yy" "jq" - debconf: delaying package configuration, since apt-utils is not installed - Selecting previously unselected package libonig5:amd64. - (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 ... 18765 files and directories currently installed.) - Preparing to unpack .../libonig5_6.9.8-1_amd64.deb ... - Unpacking libonig5:amd64 (6.9.8-1) ... - Selecting previously unselected package libjq1:amd64. - Preparing to unpack .../libjq1_1.6-2.1_amd64.deb ... - Unpacking libjq1:amd64 (1.6-2.1) ... - Selecting previously unselected package jq. - Preparing to unpack .../archives/jq_1.6-2.1_amd64.deb ... - Unpacking jq (1.6-2.1) ... - Setting up libonig5:amd64 (6.9.8-1) ... - Setting up libjq1:amd64 (1.6-2.1) ... - Setting up jq (1.6-2.1) ... - Processing triggers for libc-bin (2.36-9+deb12u7) ... 2024-09-19 01:26.55 ---> saved as "fbd08993fe85917e7a27bda720bd7ebc8efb1466119bf610b2091a52e4aaceca" /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 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 23 packages - install alcotest 1.0.0 - install astring 0.8.5 - install cmdliner 1.1.0 - install conf-jq 1 - install cppo 1.6.7 - install csexp 1.5.1 - install dune 3.3.0 - install fmt 0.9.0 - install menhir 20201216 - install menhirLib 20201216 - install menhirSdk 20201216 - install ocaml-compiler-libs v0.17.0 - install ocamlbuild 0.14.3 - install ocamlfind 1.9.5 - install ppx_derivers 1.2.1 - install ppxlib 0.32.1 - install re 1.9.0 - install seq base - install sexplib0 v0.15.1 - install stdlib-shims 0.1.0 - install topkg 1.0.6 - install uuidm 0.9.8 - install yojson 2.0.0 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved astring.0.8.5 (cached) -> retrieved cmdliner.1.1.0 (cached) -> retrieved cppo.1.6.7 (cached) -> installed conf-jq.1 -> retrieved csexp.1.5.1 (cached) -> retrieved fmt.0.9.0 (cached) -> retrieved alcotest.1.0.0 (cached) -> retrieved menhir.20201216, menhirLib.20201216, menhirSdk.20201216 (cached) -> retrieved dune.3.3.0 (cached) -> retrieved ocaml-compiler-libs.v0.17.0 (cached) -> retrieved ocamlbuild.0.14.3 (cached) -> retrieved ocamlfind.1.9.5 (cached) -> retrieved ppx_derivers.1.2.1 (cached) -> retrieved seq.base (cached) -> installed seq.base -> retrieved re.1.9.0 (cached) -> retrieved sexplib0.v0.15.1 (cached) -> retrieved stdlib-shims.0.1.0 (cached) -> retrieved uuidm.0.9.8 (cached) -> retrieved topkg.1.0.6 (cached) -> retrieved yojson.2.0.0 (cached) -> retrieved ppxlib.0.32.1 (cached) -> installed cmdliner.1.1.0 -> installed ocamlfind.1.9.5 -> installed ocamlbuild.0.14.3 -> installed topkg.1.0.6 -> installed uuidm.0.9.8 -> installed fmt.0.9.0 -> installed astring.0.8.5 -> installed dune.3.3.0 -> installed csexp.1.5.1 -> installed ppx_derivers.1.2.1 -> installed stdlib-shims.0.1.0 -> installed menhirSdk.20201216 -> installed sexplib0.v0.15.1 -> installed menhirLib.20201216 -> installed cppo.1.6.7 -> installed ocaml-compiler-libs.v0.17.0 -> installed re.1.9.0 -> installed alcotest.1.0.0 -> installed yojson.2.0.0 -> installed menhir.20201216 -> installed ppxlib.0.32.1 Done. # Run eval $(opam env) to update the current shell environment 2024-09-19 01:28.04 ---> saved as "354ddd0f457f5e5a431881172fdb22767b44b3e464f9469b2d213c1134884157" /src: (copy (src .) (dst /src)) 2024-09-19 01:28.04 ---> saved as "741438ae9b89f355787fbda7c956f5fc06836d6dc4ec4e0cc3b1a472ab7e811c" /src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build")) (cd _build/default && /home/opam/.opam/5.2/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 && /home/opam/.opam/5.2/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 /home/opam/.opam/5.2/lib/findlib -I /home/opam/.opam/5.2/lib/ocaml/str -I /home/opam/.opam/5.2/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 `15038689-F893-47CD-BB23-C9F9ACEC2E7F`. ... type_expr 0 parse a simple type expression - 1. [OK] type_expr 0 parse a simple type expression - 1. ... type_expr 1 parse a simple type expression - 2. [OK] type_expr 1 parse a simple type expression - 2. ... type_expr 2 parse a simple type expression - 3. [OK] type_expr 2 parse a simple type expression - 3. ... type_expr 3 parse a simple type expression - 4. [OK] type_expr 3 parse a simple type expression - 4. ... type_expr 4 ensure that function equivalent function are parsed as the same function - 1. [OK] type_expr 4 ensure that function equivalent function are parsed as the same function - 1. ... type_expr 5 recompute type variables - 1. [OK] type_expr 5 recompute type variables - 1. ... type_expr 6 check polymorphic variable identifier generation - 1. [OK] type_expr 6 check polymorphic variable identifier generation - 1. ... name_cost 0 test distance - 1. [OK] name_cost 0 test distance - 1. ... name_cost 1 test distance - 2. [OK] name_cost 1 test distance - 2. ... name_cost 2 test distance - 3. [OK] name_cost 2 test distance - 3. ... name_cost 3 test distance - 4. [OK] name_cost 3 test distance - 4. ... name_cost 4 test distance - 5. [OK] name_cost 4 test distance - 5. ... name_cost 5 test distance_substring - 1. [OK] name_cost 5 test distance_substring - 1. ... name_cost 6 test distance_substring - 2. [OK] name_cost 6 test distance_substring - 2. ... name_cost 7 test distance_substring - 3. [OK] name_cost 7 test distance_substring - 3. ... name_cost 8 test distance_substring - 4. [OK] name_cost 8 test distance_substring - 4. ... name_cost 9 test bast distance - 1. [OK] name_cost 9 test bast distance - 1. ... name_cost 10 test bast distance - 2. [OK] name_cost 10 test bast distance - 2. ... name_cost 11 test bast distance - 3. [OK] name_cost 11 test bast distance - 3. ... type_distance 0 distance between `int` and `int`. [OK] type_distance 0 distance between `int` and `int`. ... type_distance 1 distance between `string` and `string`. [OK] type_distance 1 distance between `string` and `string`. ... type_distance 2 distance between `string -> int` and `string -> int`. [OK] type_distance 2 distance between `string -> int` and `string -> int`. ... type_distance 3 distance between `string -> int -> float` and `string -> int -> float`. [OK] type_distance 3 distance between `string -> int -> float` and `string -> int -> float`. ... type_distance 4 distance between `int -> srting -> float` and `int -> string -> float`. [OK] type_distance 4 distance between `int -> srting -> float` and `int -> string -> float`. ... type_distance 5 distance between `('a -> 'b) -> 'a list -> 'b list` and `('a -> 'b) -> 'a list -> 'b list`. [OK] type_distance 5 distance between `('a -> 'b) -> 'a list -> 'b list` and `('a -> 'b) -> 'a list -> 'b list`. ... type_distance 6 distance between `('foo -> 'bar) -> 'foo list -> 'bar list` and `('a -> 'b) -> 'a list -> 'b list`. [OK] type_distance 6 distance between `('foo -> 'bar) -> 'foo list -> 'bar list` and `('a -> 'b) -> 'a list -> 'b list`. ... type_distance 7 distance between `'foo list -> ('foo -> 'bar) -> 'bar list` and `('a -> 'b) -> 'a list -> 'b list`. [OK] type_distance 7 distance between `'foo list -> ('foo -> 'bar) -> 'bar list` and `('a -> 'b) -> 'a list -> 'b list`. ... type_distance 8 distance between `foo -> bar -> baz` and `int -> string`. [OK] type_distance 8 distance between `foo -> bar -> baz` and `int -> string`. ... type_distance 9 distance between `('a -> 'b) * 'a list -> 'b list` and `('a -> 'b) -> 'a list -> 'b list`. [OK] type_distance 9 distance between `('a -> 'b) * 'a list -> 'b list` and `('a -> 'b) -> 'a list -> 'b list`. ... type_distance 10 distance between `'a * 'b -> 'b` and `'a * 'b -> 'a`. [OK] type_distance 10 distance between `'a * 'b -> 'b` and `'a * 'b -> 'a`. ... type_distance 11 distance between `'a * 'b -> 'a` and `'a * 'b -> 'a`. [OK] type_distance 11 distance between `'a * 'b -> 'a` and `'a * 'b -> 'a`. ... type_distance 12 distance between `'a -> 'b -> 'b -> 'a -> 'b -> 'c -> int -> string -> Bar.t -> 'b option` and `'foo -> 'bar -> 'bar -> 'foo -> 'bar -> 'baz -> foo -> Bar.t -> int -> 'bar option`. [OK] type_distance 12 distance between `'a -> 'b -> 'b -> 'a -> 'b -> 'c -> int -> string -> Bar.t -> 'b option` and `'foo -> 'bar -> 'bar -> 'foo -> 'bar -> 'baz -> foo -> Bar.t -> int -> 'bar option`. ... type_distance 13 distance between `('a -> 'a) -> 'a list -> 'a list` and `('a -> 'b) -> 'a list -> 'b list`. [OK] type_distance 13 distance between `('a -> 'a) -> 'a list -> 'a list` and `('a -> 'b) -> 'a list -> 'b list`. ... type_distance 14 distance between `'a -> 'b option -> 'a option` and `'b option -> 'a -> 'a option`. [OK] type_distance 14 distance between `'a -> 'b option -> 'a option` and `'b option -> 'a -> 'a option`. ... query-parser 0 test distance from a query - 1. [OK] query-parser 0 test distance from a query - 1. ... query-parser 1 test distance from a query - 2. [OK] query-parser 1 test distance from a query - 2. ... query-parser 2 test distance from a query - 3. [OK] query-parser 2 test distance from a query - 3. ... query-parser 3 test distance from a query - 4. [OK] query-parser 3 test distance from a query - 4. ... query-parser 4 test distance from a query - 5. [OK] query-parser 4 test distance from a query - 5. ... query-parser 5 test distance from a query - 6. [OK] query-parser 5 test distance from a query - 6. ... query-parser 6 test distance from a query - 7. [OK] query-parser 6 test distance from a query - 7. ... query-parser 7 test distance from a query - 8. [OK] query-parser 7 test distance from a query - 8. The full test results are available in `/src/_build/default/tests/test-units/sherldoc/_build/_tests/15038689-F893-47CD-BB23-C9F9ACEC2E7F`. Test Successful in 0.000s. 42 tests run. (cd _build/default && /home/opam/.opam/5.2/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 && /home/opam/.opam/5.2/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 -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 && /home/opam/.opam/5.2/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/type-enclosing/inside-tydecl.t", line 1, characters 0-0: /usr/bin/git --no-pager diff --no-index --color=always -u _build/.sandbox/10c2d56c83c95d242ef083603c828d88/default/tests/test-dirs/type-enclosing/inside-tydecl.t _build/.sandbox/10c2d56c83c95d242ef083603c828d88/default/tests/test-dirs/type-enclosing/inside-tydecl.t.corrected diff --git a/_build/.sandbox/10c2d56c83c95d242ef083603c828d88/default/tests/test-dirs/type-enclosing/inside-tydecl.t b/_build/.sandbox/10c2d56c83c95d242ef083603c828d88/default/tests/test-dirs/type-enclosing/inside-tydecl.t.corrected index af594fb..7e8c326 100644 --- a/_build/.sandbox/10c2d56c83c95d242ef083603c828d88/default/tests/test-dirs/type-enclosing/inside-tydecl.t +++ b/_build/.sandbox/10c2d56c83c95d242ef083603c828d88/default/tests/test-dirs/type-enclosing/inside-tydecl.t.corrected @@ -6,11 +6,8 @@ test > EOF paths: [t1] [ - { - "start": { "line": 1, "col": 18 }, - "end": { "line": 1, "col": 20 }, - "identifier": "t1" - } + { "start": { "line": 1, "col": 18 }, "end": { "line": 1, "col": 20 }, + "identifier": "t1" } ] node = core_type exprs = [t1] File "tests/test-dirs/locate/in-implicit-trans-dep.t/run.t", line 1, characters 0-0: /usr/bin/git --no-pager diff --no-index --color=always -u _build/.sandbox/9a0d355d025aa42985f70c357fb1de66/default/tests/test-dirs/locate/in-implicit-trans-dep.t/run.t _build/.sandbox/9a0d355d025aa42985f70c357fb1de66/default/tests/test-dirs/locate/in-implicit-trans-dep.t/run.t.corrected diff --git a/_build/.sandbox/9a0d355d025aa42985f70c357fb1de66/default/tests/test-dirs/locate/in-implicit-trans-dep.t/run.t b/_build/.sandbox/9a0d355d025aa42985f70c357fb1de66/default/tests/test-dirs/locate/in-implicit-trans-dep.t/run.t.corrected index 0301d8e..a683b92 100644 --- a/_build/.sandbox/9a0d355d025aa42985f70c357fb1de66/default/tests/test-dirs/locate/in-implicit-trans-dep.t/run.t +++ b/_build/.sandbox/9a0d355d025aa42985f70c357fb1de66/default/tests/test-dirs/locate/in-implicit-trans-dep.t/run.t.corrected @@ -7,12 +7,6 @@ fix would be for Dune to provide additional source path for "externatl" deps. > -filename bin/main.ml <bin/main.ml { "class": "return", - "value": { - "file": "$TESTCASE_ROOT/src/lib2/lib2.ml", - "pos": { - "line": 1, - "col": 5 - } - }, + "value": "'Lib1.t' seems to originate from 'Lib2' whose ML file could not be found", "notifications": [] } File "tests/test-dirs/occurrences/project-wide/pwo-ml-gen.t", line 1, characters 0-0: /usr/bin/git --no-pager diff --no-index --color=always -u _build/.sandbox/68d49bfd604107cacc479714794a4273/default/tests/test-dirs/occurrences/project-wide/pwo-ml-gen.t _build/.sandbox/68d49bfd604107cacc479714794a4273/default/tests/test-dirs/occurrences/project-wide/pwo-ml-gen.t.corrected diff --git a/_build/.sandbox/68d49bfd604107cacc479714794a4273/default/tests/test-dirs/occurrences/project-wide/pwo-ml-gen.t b/_build/.sandbox/68d49bfd604107cacc479714794a4273/default/tests/test-dirs/occurrences/project-wide/pwo-ml-gen.t.corrected index b3c0a34..44fa5be 100644 --- a/_build/.sandbox/68d49bfd604107cacc479714794a4273/default/tests/test-dirs/occurrences/project-wide/pwo-ml-gen.t +++ b/_build/.sandbox/68d49bfd604107cacc479714794a4273/default/tests/test-dirs/occurrences/project-wide/pwo-ml-gen.t.corrected @@ -29,32 +29,23 @@ bar $ dune build @ocaml-index + Error: Alias "ocaml-index" specified on the command line is empty. + It is not defined in . or any of its descendants. + [1] $ cat _build/default/lib/lib.ml-gen - (* generated by dune *) - (** @canonical Lib.Aux *) module Aux = Lib__Aux We should not index generated modules (lib.ml-gen) $ ocaml-index dump _build/default/lib/.lib.objs/cctx.ocaml-index - 1 uids: - {uid: Lib__Aux.0; locs: - "foo": File "lib/aux.ml", line 1, characters 4-7; - "foo": File "lib/aux.ml", line 2, characters 8-11 - }, 0 approx shapes: {}, and shapes for CUS . + Fatal error: exception Sys_error("_build/default/lib/.lib.objs/cctx.ocaml-index: No such file or directory") + [2] $ ocaml-index dump _build/default/.main.eobjs/cctx.ocaml-index - 4 uids: - {uid: Lib; locs: "Lib": File "main.ml", line 1, characters 5-8 - uid: Lib__Aux; locs: "Aux": File "main.ml", line 2, characters 5-8 - uid: Lib__Aux.0; locs: "foo": File "main.ml", line 3, characters 22-25 - uid: Stdlib.312; locs: - "print_string": File "main.ml", line 3, characters 9-21 - }, 0 approx shapes: {}, and shapes for CUS . + Fatal error: exception Sys_error("_build/default/.main.eobjs/cctx.ocaml-index: No such file or directory") + [2] $ $MERLIN single occurrences -scope project -identifier-at 3:23 \ > -filename main.ml <main.ml | jq '.value[].file' - "$TESTCASE_ROOT/lib/aux.ml" - "$TESTCASE_ROOT/lib/aux.ml" "$TESTCASE_ROOT/main.ml" "/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1 2024-09-19 01:28.43: Job failed: Failed: Build failed