2024-04-10 19:44.33: New job: test ocaml/merlin https://github.com/ocaml/merlin.git#refs/pull/1745/head (a8005e38db38a4aac1fa059ce29776a0b296d04a) (linux-x86_64:(lower-bound))
Base: ocaml/opam@sha256:7299e34125e8e87f4e3ae8546b0b53671f057a8aef5fbac9ecb58b75acb37b76
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocaml/merlin.git" && cd "merlin" && git fetch origin "refs/pull/1745/head" && git reset --hard a8005e38
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:7299e34125e8e87f4e3ae8546b0b53671f057a8aef5fbac9ecb58b75acb37b76
# debian-12-4.14_opam-2.1
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.1 /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 294bafe2db1d8c7e5e321c3c41a9577c137b8003 || git fetch origin master) && git reset -q --hard 294bafe2db1d8c7e5e321c3c41a9577c137b8003 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 merlin.opam merlin-lib.opam dot-merlin-reader.opam ./
RUN opam pin add -yn merlin.dev './' && \
opam pin add -yn merlin-lib.dev './' && \
opam pin add -yn dot-merlin-reader.dev './'
ENV DEPS="base-bigarray.base base-bytes.base base-threads.base base-unix.base conf-jq.1 cppo.1.6.1 csexp.1.5.1 dune.2.9.1 jbuilder.1.0+beta20.1 menhir.20201216 menhirLib.20201216 menhirSdk.20201216 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.11.0 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.1 ppx_derivers.1.0 ppxlib.0.24.0 seq.base sexplib0.v0.12.0 stdlib-shims.0.1.0 yojson.2.0.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y 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-04-10 19:44.33: Using cache hint "ocaml/merlin-ocaml/opam@sha256:7299e34125e8e87f4e3ae8546b0b53671f057a8aef5fbac9ecb58b75acb37b76-debian-12-4.14_opam-2.1-61f49405db6bc56d745c8fa926d6bd0a"
2024-04-10 19:44.33: Using OBuilder spec:
((from ocaml/opam@sha256:7299e34125e8e87f4e3ae8546b0b53671f057a8aef5fbac9ecb58b75acb37b76)
(comment debian-12-4.14_opam-2.1)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.1 /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 294bafe2db1d8c7e5e321c3c41a9577c137b8003 || git fetch origin master) && git reset -q --hard 294bafe2db1d8c7e5e321c3c41a9577c137b8003 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src merlin.opam merlin-lib.opam dot-merlin-reader.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn merlin.dev './' && \
\nopam pin add -yn merlin-lib.dev './' && \
\nopam pin add -yn dot-merlin-reader.dev './'"))
(env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base conf-jq.1 cppo.1.6.1 csexp.1.5.1 dune.2.9.1 jbuilder.1.0+beta20.1 menhir.20201216 menhirLib.20201216 menhirSdk.20201216 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.11.0 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.1 ppx_derivers.1.0 ppxlib.0.24.0 seq.base sexplib0.v0.12.0 stdlib-shims.0.1.0 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.1 --depext-only -y 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-04-10 19:44.33: Waiting for resource in pool OCluster
2024-04-10 21:00.16: Waiting for worker…
2024-04-10 21:02.12: Got resource from pool OCluster
Building on x86-bm-c17.sw.ocaml.org
All commits already cached
HEAD is now at a8005e38 Remove Mbrowse and Browse raw modules for the Pasetree
(from ocaml/opam@sha256:7299e34125e8e87f4e3ae8546b0b53671f057a8aef5fbac9ecb58b75acb37b76)
Unable to find image 'ocaml/opam@sha256:7299e34125e8e87f4e3ae8546b0b53671f057a8aef5fbac9ecb58b75acb37b76' locally
docker.io/ocaml/opam@sha256:7299e34125e8e87f4e3ae8546b0b53671f057a8aef5fbac9ecb58b75acb37b76: Pulling from ocaml/opam
Digest: sha256:7299e34125e8e87f4e3ae8546b0b53671f057a8aef5fbac9ecb58b75acb37b76
Status: Downloaded newer image for ocaml/opam@sha256:7299e34125e8e87f4e3ae8546b0b53671f057a8aef5fbac9ecb58b75acb37b76
2024-04-10 21:02.12 ---> using "9b0d5848fbc2a314479f34accfbaa696b92455f47034a73d0069aa1a6685173d" from cache
/: (comment debian-12-4.14_opam-2.1)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2024-04-10 21:02.12 ---> using "e427ee87097ee67f58ffce22a90b321d261d5e29767c4557fd85cc7f8c3bec93" 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 version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.1, 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-04-10 21:02.12 ---> using "1f94c7ef90e4be9c850e97fa948ae4f3a97470add7b59a9b82cf249370a94569" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-101-generic
The OCaml toplevel, version 4.14.2
2.1.5
2024-04-10 21:02.12 ---> using "aaecfbf119af0cafdcfbf0de181e22bc5576ac96eb15e330673549c3f85eddcc" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-04-10 21:02.12 ---> using "972f9a00f9271bc62a16b6b1b3542039a4ca6a1873f56e28cd5bbf8aec128eae" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 294bafe2db1d8c7e5e321c3c41a9577c137b8003 || git fetch origin master) && git reset -q --hard 294bafe2db1d8c7e5e321c3c41a9577c137b8003 && git log --no-decorate -n1 --oneline && opam update -u"))
294bafe2db OCaml 4.14.2 packages
<><> 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-04-10 21:02.12 ---> using "febe8ac4458215d19273b2e0b8308aceb8a8fc9b669026132d8355ade4f0f3b7" from cache
/src: (copy (src merlin.opam merlin-lib.opam dot-merlin-reader.opam) (dst ./))
2024-04-10 21:02.12 ---> using "f9cc27c6f5909b7f85bd15e8d49e440e4fa29ef2a544826035e8574eca4e6149" from cache
/src: (run (network host)
(shell "opam pin add -yn merlin.dev './' && \
\nopam pin add -yn merlin-lib.dev './' && \
\nopam pin add -yn dot-merlin-reader.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-04-10 21:02.12 ---> using "d66ef94e31049b81efc022e16a69256c4834cbddfba1b3c4b4114efdcb958ac1" from cache
/src: (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base conf-jq.1 cppo.1.6.1 csexp.1.5.1 dune.2.9.1 jbuilder.1.0+beta20.1 menhir.20201216 menhirLib.20201216 menhirSdk.20201216 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.11.0 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.1 ppx_derivers.1.0 ppxlib.0.24.0 seq.base sexplib0.v0.12.0 stdlib-shims.0.1.0 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.1 --depext-only -y merlin.dev merlin-lib.dev dot-merlin-reader.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Fetched 103 kB in 0s (432 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)
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
The following system packages will first need to be installed:
jq
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "jq"
- debconf: delaying package configuration, since apt-utils is not installed
2024-04-10 21:02.12 ---> using "23741d722514d834a67abfbb2837352e5020eaeca0325f5e03a7b34cf7f335d1" from cache
/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 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
The following actions will be performed:
- install ocamlfind 1.9.1
- install jbuilder 1.0+beta20.1
- install conf-jq 1
- install seq base
- install dune 2.9.1
- install base-bytes base
- install ppx_derivers 1.0
- install ocaml-compiler-libs v0.11.0
- install stdlib-shims 0.1.0
- install sexplib0 v0.12.0
- install menhirSdk 20201216
- install menhirLib 20201216
- install csexp 1.5.1
- install cppo 1.6.1
- install ppxlib 0.24.0
- install menhir 20201216
- install yojson 2.0.0
===== 17 to install =====
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.6.1 (cached)
-> retrieved csexp.1.5.1 (cached)
-> retrieved dune.2.9.1 (cached)
-> installed conf-jq.1
-> retrieved jbuilder.1.0+beta20.1 (cached)
-> retrieved menhir.20201216 (cached)
-> retrieved menhirLib.20201216 (cached)
-> retrieved menhirSdk.20201216 (cached)
-> retrieved ocaml-compiler-libs.v0.11.0 (cached)
-> retrieved ocamlfind.1.9.1 (cached)
-> installed seq.base
-> retrieved ppx_derivers.1.0 (cached)
-> retrieved sexplib0.v0.12.0 (cached)
-> retrieved stdlib-shims.0.1.0 (cached)
-> retrieved yojson.2.0.0 (cached)
-> retrieved ppxlib.0.24.0 (cached)
-> installed ocamlfind.1.9.1
-> installed base-bytes.base
-> installed jbuilder.1.0+beta20.1
-> installed ppx_derivers.1.0
-> installed cppo.1.6.1
-> installed ocaml-compiler-libs.v0.11.0
-> installed dune.2.9.1
-> installed csexp.1.5.1
-> installed stdlib-shims.0.1.0
-> installed menhirSdk.20201216
-> installed sexplib0.v0.12.0
-> installed menhirLib.20201216
-> installed yojson.2.0.0
-> installed menhir.20201216
-> installed ppxlib.0.24.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-04-10 21:02.12 ---> using "29efcb02563a1023e87e03df0e887b7ee21237e535c34ee387daecde5715d701" from cache
/src: (copy (src .) (dst /src))
2024-04-10 21:02.13 ---> saved as "d8847b7d73a9cfc38487377a8b849c2867fc2f3b27fe1899ad50f7b6f97d496f"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
menhir src/ocaml/preprocess/parser_raw__mock.ml.mock
File "src/ocaml/preprocess/parser_raw.mly", line 852, characters 29-36:
Warning: the token COMMENT is unused.
File "src/ocaml/preprocess/parser_raw.mly", line 853, characters 30-39:
Warning: the token DOCSTRING is unused.
File "src/ocaml/preprocess/parser_raw.mly", line 855, characters 7-10:
Warning: the token EOL is unused.
File "src/ocaml/preprocess/parser_raw.mly", line 765, characters 7-22:
Warning: the token GREATERRBRACKET is unused.
menhir src/ocaml/preprocess/parser_raw.{cmly,ml,mli}
File "src/ocaml/preprocess/parser_raw.mly", line 929, characters 0-9:
Warning: the precedence level assigned to GREATERDOT is never useful.
File "tests/test-dirs/type-enclosing/inside-tydecl.t", line 1, characters 0-0:
git (internal) (exit 1)
(cd _build/.sandbox/db002c6c20124fa5fd776a344bf88984/default && /usr/bin/git --no-pager diff --no-index --color=always -u ../../../default/tests/test-dirs/type-enclosing/inside-tydecl.t tests/test-dirs/type-enclosing/inside-tydecl.t.corrected)
diff --git a/../../../default/tests/test-dirs/type-enclosing/inside-tydecl.t b/tests/test-dirs/type-enclosing/inside-tydecl.t.corrected
index 2fda888..2afb9b7 100644
--- a/../../../default/tests/test-dirs/type-enclosing/inside-tydecl.t
+++ b/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/expand_node/ppx-tests.t/run.t", line 1, characters 0-0:
git (internal) (exit 1)
(cd _build/.sandbox/3ee9bb40c3859615784beee4693ff207/default && /usr/bin/git --no-pager diff --no-index --color=always -u ../../../default/tests/test-dirs/expand_node/ppx-tests.t/run.t tests/test-dirs/expand_node/ppx-tests.t/run.t.corrected)
diff --git a/../../../default/tests/test-dirs/expand_node/ppx-tests.t/run.t b/tests/test-dirs/expand_node/ppx-tests.t/run.t.corrected
index 3d95c19..355d374 100644
--- a/../../../default/tests/test-dirs/expand_node/ppx-tests.t/run.t
+++ b/tests/test-dirs/expand_node/ppx-tests.t/run.t.corrected
@@ -17,6 +17,26 @@ Type declaration in structure
> EOF
$ dune build
+ File "/home/opam/.opam/4.14/lib/ocaml-compiler-libs/bytecomp/ocaml-compiler-libs.bytecomp.dune", line 1, characters 0-0:
+ Warning: .dune files are ignored since 2.0. Reinstall the library with dune
+ >= 2.0 to get rid of this warning and enable support for the subsystem this
+ library provides.
+ File "/home/opam/.opam/4.14/lib/ocaml-compiler-libs/common/ocaml-compiler-libs.common.dune", line 1, characters 0-0:
+ Warning: .dune files are ignored since 2.0. Reinstall the library with dune
+ >= 2.0 to get rid of this warning and enable support for the subsystem this
+ library provides.
+ File "/home/opam/.opam/4.14/lib/ocaml-compiler-libs/shadow/ocaml-compiler-libs.shadow.dune", line 1, characters 0-0:
+ Warning: .dune files are ignored since 2.0. Reinstall the library with dune
+ >= 2.0 to get rid of this warning and enable support for the subsystem this
+ library provides.
+ File "/home/opam/.opam/4.14/lib/ocaml-compiler-libs/toplevel/ocaml-compiler-libs.toplevel.dune", line 1, characters 0-0:
+ Warning: .dune files are ignored since 2.0. Reinstall the library with dune
+ >= 2.0 to get rid of this warning and enable support for the subsystem this
+ library provides.
+ File "/home/opam/.opam/4.14/lib/ppx_derivers/ppx_derivers.dune", line 1, characters 0-0:
+ Warning: .dune files are ignored since 2.0. Reinstall the library with dune
+ >= 2.0 to get rid of this warning and enable support for the subsystem this
+ library provides.
on keyword module
$ $MERLIN single expand-node -position 1:4 -filename ./apt.ml < ./apt.ml
@@ -124,6 +144,26 @@ Type declaration in signature
> EOF
$ dune build
+ File "/home/opam/.opam/4.14/lib/ocaml-compiler-libs/bytecomp/ocaml-compiler-libs.bytecomp.dune", line 1, characters 0-0:
+ Warning: .dune files are ignored since 2.0. Reinstall the library with dune
+ >= 2.0 to get rid of this warning and enable support for the subsystem this
+ library provides.
+ File "/home/opam/.opam/4.14/lib/ocaml-compiler-libs/common/ocaml-compiler-libs.common.dune", line 1, characters 0-0:
+ Warning: .dune files are ignored since 2.0. Reinstall the library with dune
+ >= 2.0 to get rid of this warning and enable support for the subsystem this
+ library provides.
+ File "/home/opam/.opam/4.14/lib/ocaml-compiler-libs/shadow/ocaml-compiler-libs.shadow.dune", line 1, characters 0-0:
+ Warning: .dune files are ignored since 2.0. Reinstall the library with dune
+ >= 2.0 to get rid of this warning and enable support for the subsystem this
+ library provides.
+ File "/home/opam/.opam/4.14/lib/ocaml-compiler-libs/toplevel/ocaml-compiler-libs.toplevel.dune", line 1, characters 0-0:
+ Warning: .dune files are ignored since 2.0. Reinstall the library with dune
+ >= 2.0 to get rid of this warning and enable support for the subsystem this
+ library provides.
+ File "/home/opam/.opam/4.14/lib/ppx_derivers/ppx_derivers.dune", line 1, characters 0-0:
+ Warning: .dune files are ignored since 2.0. Reinstall the library with dune
+ >= 2.0 to get rid of this warning and enable support for the subsystem this
+ library provides.
on keyword module
$ $MERLIN single expand-node -position 1:4 -filename ./apt.ml < ./apt.ml
@@ -226,6 +266,26 @@ Type declaration in structure
> EOF
$ dune build
+ File "/home/opam/.opam/4.14/lib/ocaml-compiler-libs/bytecomp/ocaml-compiler-libs.bytecomp.dune", line 1, characters 0-0:
+ Warning: .dune files are ignored since 2.0. Reinstall the library with dune
+ >= 2.0 to get rid of this warning and enable support for the subsystem this
+ library provides.
+ File "/home/opam/.opam/4.14/lib/ocaml-compiler-libs/common/ocaml-compiler-libs.common.dune", line 1, characters 0-0:
+ Warning: .dune files are ignored since 2.0. Reinstall the library with dune
+ >= 2.0 to get rid of this warning and enable support for the subsystem this
+ library provides.
+ File "/home/opam/.opam/4.14/lib/ocaml-compiler-libs/shadow/ocaml-compiler-libs.shadow.dune", line 1, characters 0-0:
+ Warning: .dune files are ignored since 2.0. Reinstall the library with dune
+ >= 2.0 to get rid of this warning and enable support for the subsystem this
+ library provides.
+ File "/home/opam/.opam/4.14/lib/ocaml-compiler-libs/toplevel/ocaml-compiler-libs.toplevel.dune", line 1, characters 0-0:
+ Warning: .dune files are ignored since 2.0. Reinstall the library with dune
+ >= 2.0 to get rid of this warning and enable support for the subsystem this
+ library provides.
+ File "/home/opam/.opam/4.14/lib/ppx_derivers/ppx_derivers.dune", line 1, characters 0-0:
+ Warning: .dune files are ignored since 2.0. Reinstall the library with dune
+ >= 2.0 to get rid of this warning and enable support for the subsystem this
+ library provides.
$ $MERLIN single expand-node -position 1:23 -filename ./apt.ml < ./apt.ml
{
@@ -245,6 +305,26 @@ Type declaration in signature
> EOF
$ dune build
+ File "/home/opam/.opam/4.14/lib/ocaml-compiler-libs/bytecomp/ocaml-compiler-libs.bytecomp.dune", line 1, characters 0-0:
+ Warning: .dune files are ignored since 2.0. Reinstall the library with dune
+ >= 2.0 to get rid of this warning and enable support for the subsystem this
+ library provides.
+ File "/home/opam/.opam/4.14/lib/ocaml-compiler-libs/common/ocaml-compiler-libs.common.dune", line 1, characters 0-0:
+ Warning: .dune files are ignored since 2.0. Reinstall the library with dune
+ >= 2.0 to get rid of this warning and enable support for the subsystem this
+ library provides.
+ File "/home/opam/.opam/4.14/lib/ocaml-compiler-libs/shadow/ocaml-compiler-libs.shadow.dune", line 1, characters 0-0:
+ Warning: .dune files are ignored since 2.0. Reinstall the library with dune
+ >= 2.0 to get rid of this warning and enable support for the subsystem this
+ library provides.
+ File "/home/opam/.opam/4.14/lib/ocaml-compiler-libs/toplevel/ocaml-compiler-libs.toplevel.dune", line 1, characters 0-0:
+ Warning: .dune files are ignored since 2.0. Reinstall the library with dune
+ >= 2.0 to get rid of this warning and enable support for the subsystem this
+ library provides.
+ File "/home/opam/.opam/4.14/lib/ppx_derivers/ppx_derivers.dune", line 1, characters 0-0:
+ Warning: .dune files are ignored since 2.0. Reinstall the library with dune
+ >= 2.0 to get rid of this warning and enable support for the subsystem this
+ library provides.
$ $MERLIN single expand-node -position 1:23 -filename ./apt.mli < ./apt.mli
@@ -266,6 +346,26 @@ Type extension in structure
> EOF
$ dune build
+ File "/home/opam/.opam/4.14/lib/ocaml-compiler-libs/bytecomp/ocaml-compiler-libs.bytecomp.dune", line 1, characters 0-0:
+ Warning: .dune files are ignored since 2.0. Reinstall the library with dune
+ >= 2.0 to get rid of this warning and enable support for the subsystem this
+ library provides.
+ File "/home/opam/.opam/4.14/lib/ocaml-compiler-libs/common/ocaml-compiler-libs.common.dune", line 1, characters 0-0:
+ Warning: .dune files are ignored since 2.0. Reinstall the library with dune
+ >= 2.0 to get rid of this warning and enable support for the subsystem this
+ library provides.
+ File "/home/opam/.opam/4.14/lib/ocaml-compiler-libs/shadow/ocaml-compiler-libs.shadow.dune", line 1, characters 0-0:
+ Warning: .dune files are ignored since 2.0. Reinstall the library with dune
+ >= 2.0 to get rid of this warning and enable support for the subsystem this
+ library provides.
+ File "/home/opam/.opam/4.14/lib/ocaml-compiler-libs/toplevel/ocaml-compiler-libs.toplevel.dune", line 1, characters 0-0:
+ Warning: .dune files are ignored since 2.0. Reinstall the library with dune
+ >= 2.0 to get rid of this warning and enable support for the subsystem this
+ library provides.
+ File "/home/opam/.opam/4.14/lib/ppx_derivers/ppx_derivers.dune", line 1, characters 0-0:
+ Warning: .dune files are ignored since 2.0. Reinstall the library with dune
+ >= 2.0 to get rid of this warning and enable support for the subsystem this
+ library provides.
$ $MERLIN single expand-node -position 1:22 -filename ./apy.ml < ./apy.ml
{
@@ -295,6 +395,26 @@ Type extension in signature
> EOF
$ dune build
+ File "/home/opam/.opam/4.14/lib/ocaml-compiler-libs/bytecomp/ocaml-compiler-libs.bytecomp.dune", line 1, characters 0-0:
+ Warning: .dune files are ignored since 2.0. Reinstall the library with dune
+ >= 2.0 to get rid of this warning and enable support for the subsystem this
+ library provides.
+ File "/home/opam/.opam/4.14/lib/ocaml-compiler-libs/common/ocaml-compiler-libs.common.dune", line 1, characters 0-0:
+ Warning: .dune files are ignored since 2.0. Reinstall the library with dune
+ >= 2.0 to get rid of this warning and enable support for the subsystem this
+ library provides.
+ File "/home/opam/.opam/4.14/lib/ocaml-compiler-libs/shadow/ocaml-compiler-libs.shadow.dune", line 1, characters 0-0:
+ Warning: .dune files are ignored since 2.0. Reinstall the library with dune
+ >= 2.0 to get rid of this warning and enable support for the subsystem this
+ library provides.
+ File "/home/opam/.opam/4.14/lib/ocaml-compiler-libs/toplevel/ocaml-compiler-libs.toplevel.dune", line 1, characters 0-0:
+ Warning: .dune files are ignored since 2.0. Reinstall the library with dune
+ >= 2.0 to get rid of this warning and enable support for the subsystem this
+ library provides.
+ File "/home/opam/.opam/4.14/lib/ppx_derivers/ppx_derivers.dune", line 1, characters 0-0:
+ Warning: .dune files are ignored since 2.0. Reinstall the library with dune
+ >= 2.0 to get rid of this warning and enable support for the subsystem this
+ library provides.
$ $MERLIN single expand-node -position 1:22 -filename ./apy.mli < ./apy.mli
{
@@ -313,6 +433,26 @@ Exception in structure
> EOF
$ dune build
+ File "/home/opam/.opam/4.14/lib/ocaml-compiler-libs/bytecomp/ocaml-compiler-libs.bytecomp.dune", line 1, characters 0-0:
+ Warning: .dune files are ignored since 2.0. Reinstall the library with dune
+ >= 2.0 to get rid of this warning and enable support for the subsystem this
+ library provides.
+ File "/home/opam/.opam/4.14/lib/ocaml-compiler-libs/common/ocaml-compiler-libs.common.dune", line 1, characters 0-0:
+ Warning: .dune files are ignored since 2.0. Reinstall the library with dune
+ >= 2.0 to get rid of this warning and enable support for the subsystem this
+ library provides.
+ File "/home/opam/.opam/4.14/lib/ocaml-compiler-libs/shadow/ocaml-compiler-libs.shadow.dune", line 1, characters 0-0:
+ Warning: .dune files are ignored since 2.0. Reinstall the library with dune
+ >= 2.0 to get rid of this warning and enable support for the subsystem this
+ library provides.
+ File "/home/opam/.opam/4.14/lib/ocaml-compiler-libs/toplevel/ocaml-compiler-libs.toplevel.dune", line 1, characters 0-0:
+ Warning: .dune files are ignored since 2.0. Reinstall the library with dune
+ >= 2.0 to get rid of this warning and enable support for the subsystem this
+ library provides.
+ File "/home/opam/.opam/4.14/lib/ppx_derivers/ppx_derivers.dune", line 1, characters 0-0:
+ Warning: .dune files are ignored since 2.0. Reinstall the library with dune
+ >= 2.0 to get rid of this warning and enable support for the subsystem this
+ library provides.
$ $MERLIN single expand-node -position 1:30 -filename ./apr.ml < ./apr.ml
{
@@ -330,6 +470,26 @@ Exception in signature
> EOF
$ dune build
+ File "/home/opam/.opam/4.14/lib/ocaml-compiler-libs/bytecomp/ocaml-compiler-libs.bytecomp.dune", line 1, characters 0-0:
+ Warning: .dune files are ignored since 2.0. Reinstall the library with dune
+ >= 2.0 to get rid of this warning and enable support for the subsystem this
+ library provides.
+ File "/home/opam/.opam/4.14/lib/ocaml-compiler-libs/common/ocaml-compiler-libs.common.dune", line 1, characters 0-0:
+ Warning: .dune files are ignored since 2.0. Reinstall the library with dune
+ >= 2.0 to get rid of this warning and enable support for the subsystem this
+ library provides.
+ File "/home/opam/.opam/4.14/lib/ocaml-compiler-libs/shadow/ocaml-compiler-libs.shadow.dune", line 1, characters 0-0:
+ Warning: .dune files are ignored since 2.0. Reinstall the library with dune
+ >= 2.0 to get rid of this warning and enable support for the subsystem this
+ library provides.
+ File "/home/opam/.opam/4.14/lib/ocaml-compiler-libs/toplevel/ocaml-compiler-libs.toplevel.dune", line 1, characters 0-0:
+ Warning: .dune files are ignored since 2.0. Reinstall the library with dune
+ >= 2.0 to get rid of this warning and enable support for the subsystem this
+ library provides.
+ File "/home/opam/.opam/4.14/lib/ppx_derivers/ppx_derivers.dune", line 1, characters 0-0:
+ Warning: .dune files are ignored since 2.0. Reinstall the library with dune
+ >= 2.0 to get rid of this warning and enable support for the subsystem this
+ library provides.
$ $MERLIN single expand-node -position 1:30 -filename ./apr.mli < ./apr.mli
{
@@ -356,6 +516,26 @@ Module type declaration in structure
> EOF
$ dune build
+ File "/home/opam/.opam/4.14/lib/ocaml-compiler-libs/bytecomp/ocaml-compiler-libs.bytecomp.dune", line 1, characters 0-0:
+ Warning: .dune files are ignored since 2.0. Reinstall the library with dune
+ >= 2.0 to get rid of this warning and enable support for the subsystem this
+ library provides.
+ File "/home/opam/.opam/4.14/lib/ocaml-compiler-libs/common/ocaml-compiler-libs.common.dune", line 1, characters 0-0:
+ Warning: .dune files are ignored since 2.0. Reinstall the library with dune
+ >= 2.0 to get rid of this warning and enable support for the subsystem this
+ library provides.
+ File "/home/opam/.opam/4.14/lib/ocaml-compiler-libs/shadow/ocaml-compiler-libs.shadow.dune", line 1, characters 0-0:
+ Warning: .dune files are ignored since 2.0. Reinstall the library with dune
+ >= 2.0 to get rid of this warning and enable support for the subsystem this
+ library provides.
+ File "/home/opam/.opam/4.14/lib/ocaml-compiler-libs/toplevel/ocaml-compiler-libs.toplevel.dune", line 1, characters 0-0:
+ Warning: .dune files are ignored since 2.0. Reinstall the library with dune
+ >= 2.0 to get rid of this warning and enable support for the subsystem this
+ library provides.
+ File "/home/opam/.opam/4.14/lib/ppx_derivers/ppx_derivers.dune", line 1, characters 0-0:
+ Warning: .dune files are ignored since 2.0. Reinstall the library with dune
+ >= 2.0 to get rid of this warning and enable support for the subsystem this
+ library provides.
$ $MERLIN single expand-node -position 9:8 -filename ./apc.ml < ./apc.ml
{
@@ -401,6 +581,26 @@ Module type declaration in signature
> EOF
$ dune build
+ File "/home/opam/.opam/4.14/lib/ocaml-compiler-libs/bytecomp/ocaml-compiler-libs.bytecomp.dune", line 1, characters 0-0:
+ Warning: .dune files are ignored since 2.0. Reinstall the library with dune
+ >= 2.0 to get rid of this warning and enable support for the subsystem this
+ library provides.
+ File "/home/opam/.opam/4.14/lib/ocaml-compiler-libs/common/ocaml-compiler-libs.common.dune", line 1, characters 0-0:
+ Warning: .dune files are ignored since 2.0. Reinstall the library with dune
+ >= 2.0 to get rid of this warning and enable support for the subsystem this
+ library provides.
+ File "/home/opam/.opam/4.14/lib/ocaml-compiler-libs/shadow/ocaml-compiler-libs.shadow.dune", line 1, characters 0-0:
+ Warning: .dune files are ignored since 2.0. Reinstall the library with dune
+ >= 2.0 to get rid of this warning and enable support for the subsystem this
+ library provides.
+ File "/home/opam/.opam/4.14/lib/ocaml-compiler-libs/toplevel/ocaml-compiler-libs.toplevel.dune", line 1, characters 0-0:
+ Warning: .dune files are ignored since 2.0. Reinstall the library with dune
+ >= 2.0 to get rid of this warning and enable support for the subsystem this
+ library provides.
+ File "/home/opam/.opam/4.14/lib/ppx_derivers/ppx_derivers.dune", line 1, characters 0-0:
+ Warning: .dune files are ignored since 2.0. Reinstall the library with dune
+ >= 2.0 to get rid of this warning and enable support for the subsystem this
+ library provides.
on keyword module
$ $MERLIN single expand-node -position 1:6 -filename ./apc.mli < ./apc.mli
@@ -507,6 +707,26 @@ Test for an attribute that's not deriving
> EOF
$ dune build
+ File "/home/opam/.opam/4.14/lib/ocaml-compiler-libs/bytecomp/ocaml-compiler-libs.bytecomp.dune", line 1, characters 0-0:
+ Warning: .dune files are ignored since 2.0. Reinstall the library with dune
+ >= 2.0 to get rid of this warning and enable support for the subsystem this
+ library provides.
+ File "/home/opam/.opam/4.14/lib/ocaml-compiler-libs/common/ocaml-compiler-libs.common.dune", line 1, characters 0-0:
+ Warning: .dune files are ignored since 2.0. Reinstall the library with dune
+ >= 2.0 to get rid of this warning and enable support for the subsystem this
+ library provides.
+ File "/home/opam/.opam/4.14/lib/ocaml-compiler-libs/shadow/ocaml-compiler-libs.shadow.dune", line 1, characters 0-0:
+ Warning: .dune files are ignored since 2.0. Reinstall the library with dune
+ >= 2.0 to get rid of this warning and enable support for the subsystem this
+ library provides.
+ File "/home/opam/.opam/4.14/lib/ocaml-compiler-libs/toplevel/ocaml-compiler-libs.toplevel.dune", line 1, characters 0-0:
+ Warning: .dune files are ignored since 2.0. Reinstall the library with dune
+ >= 2.0 to get rid of this warning and enable support for the subsystem this
+ library provides.
+ File "/home/opam/.opam/4.14/lib/ppx_derivers/ppx_derivers.dune", line 1, characters 0-0:
+ Warning: .dune files are ignored since 2.0. Reinstall the library with dune
+ >= 2.0 to get rid of this warning and enable support for the subsystem this
+ library provides.
$ $MERLIN single expand-node -position 1:18 -filename ./apf.ml < ./apf.ml
{
File "tests/test-dirs/with-ppx/parsetree-cache.t/run.t", line 1, characters 0-0:
git (internal) (exit 1)
(cd _build/.sandbox/64e72ad33134b488e307a8ade3fa9b79/default && /usr/bin/git --no-pager diff --no-index --color=always -u ../../../default/tests/test-dirs/with-ppx/parsetree-cache.t/run.t tests/test-dirs/with-ppx/parsetree-cache.t/run.t.corrected)
diff --git a/../../../default/tests/test-dirs/with-ppx/parsetree-cache.t/run.t b/tests/test-dirs/with-ppx/parsetree-cache.t/run.t.corrected
index a403786..52bffdf 100644
--- a/../../../default/tests/test-dirs/with-ppx/parsetree-cache.t/run.t
+++ b/tests/test-dirs/with-ppx/parsetree-cache.t/run.t.corrected
@@ -180,7 +180,7 @@ When ppx_dep.txt contains an int, there are no errors.
> EOF
$ dune exec ./main.exe 2>/dev/null
- 1
+ [1]
And Merlin does the right thing.
$ $MERLIN server errors -filename main.ml -log-file merlin_logs 1> /dev/null < main.ml
$ $MERLIN server errors -filename main.ml -log-file merlin_logs < main.ml
@@ -228,7 +228,7 @@ Again: when ppx_dep.txt contains an int, there are no errors.
> EOF
$ dune exec ./main.exe 2>/dev/null
- 1
+ [1]
And Merlin does the right thing.
$ $MERLIN server errors -filename main.ml -log-file merlin_logs < main.ml
@@ -256,22 +256,7 @@ This time, since the PPX cache isn't enabled, Merlin does the right thing here a
$ $MERLIN server errors -filename main.ml -log-file merlin_logs < main.ml
{
"class": "return",
- "value": [
- {
- "start": {
- "line": 1,
- "col": 18
- },
- "end": {
- "line": 1,
- "col": 30
- },
- "type": "typer",
- "sub": [],
- "valid": true,
- "message": "It's sunny"
- }
- ],
+ "value": [],
"notifications": []
}
$ cat merlin_logs | grep 'Phase cache' -A 1 | sed "s/[0-9]*//g"
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2024-04-10 21:02.51: Job failed: Failed: Build failed