From: Michael Albinus <michael.albinus@gmx.de>
To: "João Távora" <joaotavora@gmail.com>
Cc: 62194@debbugs.gnu.org
Subject: bug#62194: 30.0.50; Two Eglot-over-Tramp tests are failing on master, passing on emacs-29
Date: Wed, 15 Mar 2023 10:40:32 +0100 [thread overview]
Message-ID: <87edpqjqsv.fsf@gmx.de> (raw)
In-Reply-To: <87wn3jue1q.fsf@gmail.com> ("João Távora"'s message of "Tue, 14 Mar 2023 23:08:17 +0000")
[-- Attachment #1: Type: text/plain, Size: 1419 bytes --]
João Távora <joaotavora@gmail.com> writes:
> Hi Michael,
Hi João,
> I've noticd that these two Eglot tests are passing on emacs-29 but
> failing on emacs master. I haven't checked if this is due to your
> recent work on Tramp or some other factor.
>
> Sometimes one of the tests passes, but having the two of them pass is
> rare. In emacs-29, they always pass. Both emacs-master and emacs-29
> have the version of Eglot _with_ the ControlMaster-neutering workaround.
>
> To reproduce, you need the "clangd" language server installed (which is
> one of the easiest to get language servers, should be available in your
> package manager).
>
> Then:
>
> make -C test lisp/progmodes/eglot-tests SELECTOR=\"tramp\"
FTR, the following woulöd be sufficient:
--8<---------------cut here---------------start------------->8---
make -C test eglot-tests ...
--8<---------------cut here---------------end--------------->8---
Well, if I call it w/o a SELECTOR, I get 14 failing tests. clangd is
installed:
--8<---------------cut here---------------start------------->8---
# which clangd
/var/lib/snapd/snap/bin/clangd
--8<---------------cut here---------------end--------------->8---
This might not be the canonical path, but at least the local tests shall
find it. I'm running Fedora 37. Could you, pls, check? The log file is appended.
> João
Best regards, Michael.
[-- Attachment #2: eglot-tests.log --]
[-- Type: text/plain, Size: 161642 bytes --]
Running 50 tests (2023-03-15 10:19:58+0100, selector `(not (or (tag :unstable) (tag :nativecomp)))')
[eglot-tests] [eglot-test-auto-detect-running-server]: test start
[jsonrpc] Server exited with status 9
[eglot-tests] [eglot-test-auto-detect-running-server]: FAILED
[eglot-tests] contents of ` *EGLOT (project/(c-mode c-ts-mode c++-mode c++-ts-mode)) output*':
[eglot-tests] contents of ` *EGLOT (project/(c-mode c-ts-mode c++-mode c++-ts-mode)) stderr*':
Process EGLOT (project/(c-mode c-ts-mode c++-mode c++-ts-mode)) stderr finished
[eglot-tests] contents of `*EGLOT (project/(c-mode c-ts-mode c++-mode c++-ts-mode)) events*':
[internal] Wed Mar 15 10:19:58 2023:
(:message "Running language server: /var/lib/snapd/snap/bin/clangd")
[client-request] (id:1) Wed Mar 15 10:19:58 2023:
(:jsonrpc "2.0" :id 1 :method "initialize" :params
(:processId 2017004 :rootPath "/tmp/eglot--fixtureGOqwaT/project/" :rootUri "file:///tmp/eglot--fixtureGOqwaT/project" :initializationOptions #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
())
:capabilities
(:workspace
(:applyEdit t :executeCommand
(:dynamicRegistration :json-false)
:workspaceEdit
(:documentChanges t)
:didChangeWatchedFiles
(:dynamicRegistration t)
:symbol
(:dynamicRegistration :json-false)
:configuration t :workspaceFolders t)
:textDocument
(:synchronization
(:dynamicRegistration :json-false :willSave t :willSaveWaitUntil t :didSave t)
:completion
(:dynamicRegistration :json-false :completionItem
(:snippetSupport :json-false :deprecatedSupport t :resolveSupport
(:properties
["documentation" "details" "additionalTextEdits"])
:tagSupport
(:valueSet
[1]))
:contextSupport t)
:hover
(:dynamicRegistration :json-false :contentFormat
["plaintext"])
:signatureHelp
(:dynamicRegistration :json-false :signatureInformation
(:parameterInformation
(:labelOffsetSupport t)
:activeParameterSupport t))
:references
(:dynamicRegistration :json-false)
:definition
(:dynamicRegistration :json-false :linkSupport t)
:declaration
(:dynamicRegistration :json-false :linkSupport t)
:implementation
(:dynamicRegistration :json-false :linkSupport t)
:typeDefinition
(:dynamicRegistration :json-false :linkSupport t)
:documentSymbol
(:dynamicRegistration :json-false :hierarchicalDocumentSymbolSupport t :symbolKind
(:valueSet
[1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26]))
:documentHighlight
(:dynamicRegistration :json-false)
:codeAction
(:dynamicRegistration :json-false :codeActionLiteralSupport
(:codeActionKind
(:valueSet
["quickfix" "refactor" "refactor.extract" "refactor.inline" "refactor.rewrite" "source" "source.organizeImports"]))
:isPreferredSupport t)
:formatting
(:dynamicRegistration :json-false)
:rangeFormatting
(:dynamicRegistration :json-false)
:rename
(:dynamicRegistration :json-false)
:inlayHint
(:dynamicRegistration :json-false)
:publishDiagnostics
(:relatedInformation :json-false :codeDescriptionSupport :json-false :tagSupport
(:valueSet
[1 2])))
:general
(:positionEncodings
["utf-32" "utf-8" "utf-16"])
:experimental #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
()))
:workspaceFolders
[(:uri "file:///tmp/eglot--fixtureGOqwaT/project" :name "/tmp/eglot--fixtureGOqwaT/project/")]))
[internal] Wed Mar 15 10:20:08 2023:
(:message "Connection state changed" :change "killed\n")
----------b---y---e---b---y---e----------
[stderr]
[stderr]
[stderr] nil
[stderr] nil
[stderr] Process EGLOT (project/(c-mode c-ts-mode c++-mode c++-ts-mode)) stderr finished
[eglot-tests] Killing (coiso.c), wiping /tmp/eglot--fixtureGOqwaT, restoring nil
Test eglot-test-auto-detect-running-server backtrace:
signal(error ("[eglot] Timed out after 10 seconds"))
error("[eglot] %s" "Timed out after 10 seconds")
eglot--error("Timed out after 10 seconds")
eglot--connect((c-mode c-ts-mode c++-mode c++-ts-mode) (transient .
apply(eglot--connect ((c-mode c-ts-mode c++-mode c++-ts-mode) (trans
(let* ((timeout (or timeout 10)) (eglot-sync-connect t) (eglot-conne
eglot--tests-connect()
(setq server (eglot--tests-connect))
(setq value-10 (setq server (eglot--tests-connect)))
(unwind-protect (setq value-10 (setq server (eglot--tests-connect)))
(if (unwind-protect (setq value-10 (setq server (eglot--tests-connec
(let (form-description-11) (if (unwind-protect (setq value-10 (setq
(let ((value-10 (gensym "ert-form-evaluation-aborted-"))) (let (form
(save-current-buffer (set-buffer (eglot--find-file-noselect "project
(closure ((server)) nil (save-current-buffer (set-buffer (eglot--fin
funcall((closure ((server)) nil (save-current-buffer (set-buffer (eg
(prog1 (funcall fn) (setq test-body-successful-p t))
(let* ((process-environment (append (list "XDG_CONFIG_HOME=/dev/null
(unwind-protect (let* ((process-environment (append (list "XDG_CONFI
(let* ((fixture-directory (make-nearby-temp-file "eglot--fixture" t)
eglot--call-with-fixture((("project" ("coiso.c" . "bla") ("merdix.c"
(let (server) (eglot--call-with-fixture '(("project" ("coiso.c" . "b
eglot-tests--auto-detect-running-server-1()
(closure (typescript-mode-abbrev-table typescript-mode-syntax-table
ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
ert-run-test(#s(ert-test :name eglot-test-auto-detect-running-server
ert-run-or-rerun-test(#s(ert--stats :selector ... :tests ... :test-m
ert-run-tests((not (or (tag :unstable) (tag :nativecomp))) #f(compil
ert-run-tests-batch((not (or (tag :unstable) (tag :nativecomp))))
ert-run-tests-batch-and-exit((not (or (tag :unstable) (tag :nativeco
eval((ert-run-tests-batch-and-exit '(not (or (tag :unstable) (tag :n
command-line-1(("-L" ":." "-l" "ert" "-l" "lisp/progmodes/eglot-test
command-line()
normal-top-level()
Test eglot-test-auto-detect-running-server condition:
(error "[eglot] Timed out after 10 seconds")
FAILED 1/50 eglot-test-auto-detect-running-server (10.149717 sec) at lisp/progmodes/eglot-tests.el:355
[eglot-tests] [eglot-test-auto-reconnect]: test start
[jsonrpc] Server exited with status 9
[eglot-tests] [eglot-test-auto-reconnect]: FAILED
[eglot-tests] contents of ` *EGLOT (project/(c-mode c-ts-mode c++-mode c++-ts-mode)) output*':
[eglot-tests] contents of ` *EGLOT (project/(c-mode c-ts-mode c++-mode c++-ts-mode)) stderr*':
Process EGLOT (project/(c-mode c-ts-mode c++-mode c++-ts-mode)) stderr finished
[eglot-tests] contents of `*EGLOT (project/(c-mode c-ts-mode c++-mode c++-ts-mode)) events*':
[internal] Wed Mar 15 10:19:58 2023:
(:message "Running language server: /var/lib/snapd/snap/bin/clangd")
[client-request] (id:1) Wed Mar 15 10:19:58 2023:
(:jsonrpc "2.0" :id 1 :method "initialize" :params
(:processId 2017004 :rootPath "/tmp/eglot--fixtureGOqwaT/project/" :rootUri "file:///tmp/eglot--fixtureGOqwaT/project" :initializationOptions #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
())
:capabilities
(:workspace
(:applyEdit t :executeCommand
(:dynamicRegistration :json-false)
:workspaceEdit
(:documentChanges t)
:didChangeWatchedFiles
(:dynamicRegistration t)
:symbol
(:dynamicRegistration :json-false)
:configuration t :workspaceFolders t)
:textDocument
(:synchronization
(:dynamicRegistration :json-false :willSave t :willSaveWaitUntil t :didSave t)
:completion
(:dynamicRegistration :json-false :completionItem
(:snippetSupport :json-false :deprecatedSupport t :resolveSupport
(:properties
["documentation" "details" "additionalTextEdits"])
:tagSupport
(:valueSet
[1]))
:contextSupport t)
:hover
(:dynamicRegistration :json-false :contentFormat
["plaintext"])
:signatureHelp
(:dynamicRegistration :json-false :signatureInformation
(:parameterInformation
(:labelOffsetSupport t)
:activeParameterSupport t))
:references
(:dynamicRegistration :json-false)
:definition
(:dynamicRegistration :json-false :linkSupport t)
:declaration
(:dynamicRegistration :json-false :linkSupport t)
:implementation
(:dynamicRegistration :json-false :linkSupport t)
:typeDefinition
(:dynamicRegistration :json-false :linkSupport t)
:documentSymbol
(:dynamicRegistration :json-false :hierarchicalDocumentSymbolSupport t :symbolKind
(:valueSet
[1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26]))
:documentHighlight
(:dynamicRegistration :json-false)
:codeAction
(:dynamicRegistration :json-false :codeActionLiteralSupport
(:codeActionKind
(:valueSet
["quickfix" "refactor" "refactor.extract" "refactor.inline" "refactor.rewrite" "source" "source.organizeImports"]))
:isPreferredSupport t)
:formatting
(:dynamicRegistration :json-false)
:rangeFormatting
(:dynamicRegistration :json-false)
:rename
(:dynamicRegistration :json-false)
:inlayHint
(:dynamicRegistration :json-false)
:publishDiagnostics
(:relatedInformation :json-false :codeDescriptionSupport :json-false :tagSupport
(:valueSet
[1 2])))
:general
(:positionEncodings
["utf-32" "utf-8" "utf-16"])
:experimental #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
()))
:workspaceFolders
[(:uri "file:///tmp/eglot--fixtureGOqwaT/project" :name "/tmp/eglot--fixtureGOqwaT/project/")]))
[internal] Wed Mar 15 10:20:08 2023:
(:message "Connection state changed" :change "killed\n")
----------b---y---e---b---y---e----------
[stderr]
[stderr]
[stderr] nil
[stderr] nil
[stderr] Process EGLOT (project/(c-mode c-ts-mode c++-mode c++-ts-mode)) stderr finished
[internal] Wed Mar 15 10:20:08 2023:
(:message "Running language server: /var/lib/snapd/snap/bin/clangd")
[client-request] (id:1) Wed Mar 15 10:20:08 2023:
(:jsonrpc "2.0" :id 1 :method "initialize" :params
(:processId 2017004 :rootPath "/tmp/eglot--fixturewNlzZp/project/" :rootUri "file:///tmp/eglot--fixturewNlzZp/project" :initializationOptions #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
())
:capabilities
(:workspace
(:applyEdit t :executeCommand
(:dynamicRegistration :json-false)
:workspaceEdit
(:documentChanges t)
:didChangeWatchedFiles
(:dynamicRegistration t)
:symbol
(:dynamicRegistration :json-false)
:configuration t :workspaceFolders t)
:textDocument
(:synchronization
(:dynamicRegistration :json-false :willSave t :willSaveWaitUntil t :didSave t)
:completion
(:dynamicRegistration :json-false :completionItem
(:snippetSupport :json-false :deprecatedSupport t :resolveSupport
(:properties
["documentation" "details" "additionalTextEdits"])
:tagSupport
(:valueSet
[1]))
:contextSupport t)
:hover
(:dynamicRegistration :json-false :contentFormat
["plaintext"])
:signatureHelp
(:dynamicRegistration :json-false :signatureInformation
(:parameterInformation
(:labelOffsetSupport t)
:activeParameterSupport t))
:references
(:dynamicRegistration :json-false)
:definition
(:dynamicRegistration :json-false :linkSupport t)
:declaration
(:dynamicRegistration :json-false :linkSupport t)
:implementation
(:dynamicRegistration :json-false :linkSupport t)
:typeDefinition
(:dynamicRegistration :json-false :linkSupport t)
:documentSymbol
(:dynamicRegistration :json-false :hierarchicalDocumentSymbolSupport t :symbolKind
(:valueSet
[1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26]))
:documentHighlight
(:dynamicRegistration :json-false)
:codeAction
(:dynamicRegistration :json-false :codeActionLiteralSupport
(:codeActionKind
(:valueSet
["quickfix" "refactor" "refactor.extract" "refactor.inline" "refactor.rewrite" "source" "source.organizeImports"]))
:isPreferredSupport t)
:formatting
(:dynamicRegistration :json-false)
:rangeFormatting
(:dynamicRegistration :json-false)
:rename
(:dynamicRegistration :json-false)
:inlayHint
(:dynamicRegistration :json-false)
:publishDiagnostics
(:relatedInformation :json-false :codeDescriptionSupport :json-false :tagSupport
(:valueSet
[1 2])))
:general
(:positionEncodings
["utf-32" "utf-8" "utf-16"])
:experimental #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
()))
:workspaceFolders
[(:uri "file:///tmp/eglot--fixturewNlzZp/project" :name "/tmp/eglot--fixturewNlzZp/project/")]))
[internal] Wed Mar 15 10:20:18 2023:
(:message "Connection state changed" :change "killed\n")
----------b---y---e---b---y---e----------
[stderr]
[stderr]
[stderr] nil
[stderr] nil
[stderr] Process EGLOT (project/(c-mode c-ts-mode c++-mode c++-ts-mode)) stderr finished
[eglot-tests] Killing (thingy.c), wiping /tmp/eglot--fixturewNlzZp, restoring nil
Test eglot-test-auto-reconnect backtrace:
signal(error ("[eglot] Timed out after 10 seconds"))
error("[eglot] %s" "Timed out after 10 seconds")
eglot--error("Timed out after 10 seconds")
eglot--connect((c-mode c-ts-mode c++-mode c++-ts-mode) (transient .
apply(eglot--connect ((c-mode c-ts-mode c++-mode c++-ts-mode) (trans
(let* ((timeout (or timeout 10)) (eglot-sync-connect t) (eglot-conne
eglot--tests-connect()
(setq server (eglot--tests-connect))
(setq value-66 (setq server (eglot--tests-connect)))
(unwind-protect (setq value-66 (setq server (eglot--tests-connect)))
(if (unwind-protect (setq value-66 (setq server (eglot--tests-connec
(let (form-description-67) (if (unwind-protect (setq value-66 (setq
(let ((value-66 (gensym "ert-form-evaluation-aborted-"))) (let (form
(save-current-buffer (set-buffer (eglot--find-file-noselect "project
(closure ((server)) nil (save-current-buffer (set-buffer (eglot--fin
funcall((closure ((server)) nil (save-current-buffer (set-buffer (eg
(prog1 (funcall fn) (setq test-body-successful-p t))
(let* ((process-environment (append (list "XDG_CONFIG_HOME=/dev/null
(unwind-protect (let* ((process-environment (append (list "XDG_CONFI
(let* ((fixture-directory (make-nearby-temp-file "eglot--fixture" t)
eglot--call-with-fixture((("project" ("thingy.c" . "bla") ("thingy2.
(let (server (eglot-autoreconnect 1)) (eglot--call-with-fixture '(("
(closure (typescript-mode-abbrev-table typescript-mode-syntax-table
ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
ert-run-test(#s(ert-test :name eglot-test-auto-reconnect :documentat
ert-run-or-rerun-test(#s(ert--stats :selector ... :tests ... :test-m
ert-run-tests((not (or (tag :unstable) (tag :nativecomp))) #f(compil
ert-run-tests-batch((not (or (tag :unstable) (tag :nativecomp))))
ert-run-tests-batch-and-exit((not (or (tag :unstable) (tag :nativeco
eval((ert-run-tests-batch-and-exit '(not (or (tag :unstable) (tag :n
command-line-1(("-L" ":." "-l" "ert" "-l" "lisp/progmodes/eglot-test
command-line()
normal-top-level()
Test eglot-test-auto-reconnect condition:
(error "[eglot] Timed out after 10 seconds")
FAILED 2/50 eglot-test-auto-reconnect (10.142759 sec) at lisp/progmodes/eglot-tests.el:379
[eglot-tests] [eglot-test-auto-shutdown]: test start
[jsonrpc] Server exited with status 9
[eglot-tests] [eglot-test-auto-shutdown]: FAILED
[eglot-tests] contents of ` *EGLOT (project/(c-mode c-ts-mode c++-mode c++-ts-mode)) output*':
[eglot-tests] contents of ` *EGLOT (project/(c-mode c-ts-mode c++-mode c++-ts-mode)) stderr*':
Process EGLOT (project/(c-mode c-ts-mode c++-mode c++-ts-mode)) stderr finished
[eglot-tests] contents of `*EGLOT (project/(c-mode c-ts-mode c++-mode c++-ts-mode)) events*':
[internal] Wed Mar 15 10:19:58 2023:
(:message "Running language server: /var/lib/snapd/snap/bin/clangd")
[client-request] (id:1) Wed Mar 15 10:19:58 2023:
(:jsonrpc "2.0" :id 1 :method "initialize" :params
(:processId 2017004 :rootPath "/tmp/eglot--fixtureGOqwaT/project/" :rootUri "file:///tmp/eglot--fixtureGOqwaT/project" :initializationOptions #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
())
:capabilities
(:workspace
(:applyEdit t :executeCommand
(:dynamicRegistration :json-false)
:workspaceEdit
(:documentChanges t)
:didChangeWatchedFiles
(:dynamicRegistration t)
:symbol
(:dynamicRegistration :json-false)
:configuration t :workspaceFolders t)
:textDocument
(:synchronization
(:dynamicRegistration :json-false :willSave t :willSaveWaitUntil t :didSave t)
:completion
(:dynamicRegistration :json-false :completionItem
(:snippetSupport :json-false :deprecatedSupport t :resolveSupport
(:properties
["documentation" "details" "additionalTextEdits"])
:tagSupport
(:valueSet
[1]))
:contextSupport t)
:hover
(:dynamicRegistration :json-false :contentFormat
["plaintext"])
:signatureHelp
(:dynamicRegistration :json-false :signatureInformation
(:parameterInformation
(:labelOffsetSupport t)
:activeParameterSupport t))
:references
(:dynamicRegistration :json-false)
:definition
(:dynamicRegistration :json-false :linkSupport t)
:declaration
(:dynamicRegistration :json-false :linkSupport t)
:implementation
(:dynamicRegistration :json-false :linkSupport t)
:typeDefinition
(:dynamicRegistration :json-false :linkSupport t)
:documentSymbol
(:dynamicRegistration :json-false :hierarchicalDocumentSymbolSupport t :symbolKind
(:valueSet
[1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26]))
:documentHighlight
(:dynamicRegistration :json-false)
:codeAction
(:dynamicRegistration :json-false :codeActionLiteralSupport
(:codeActionKind
(:valueSet
["quickfix" "refactor" "refactor.extract" "refactor.inline" "refactor.rewrite" "source" "source.organizeImports"]))
:isPreferredSupport t)
:formatting
(:dynamicRegistration :json-false)
:rangeFormatting
(:dynamicRegistration :json-false)
:rename
(:dynamicRegistration :json-false)
:inlayHint
(:dynamicRegistration :json-false)
:publishDiagnostics
(:relatedInformation :json-false :codeDescriptionSupport :json-false :tagSupport
(:valueSet
[1 2])))
:general
(:positionEncodings
["utf-32" "utf-8" "utf-16"])
:experimental #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
()))
:workspaceFolders
[(:uri "file:///tmp/eglot--fixtureGOqwaT/project" :name "/tmp/eglot--fixtureGOqwaT/project/")]))
[internal] Wed Mar 15 10:20:08 2023:
(:message "Connection state changed" :change "killed\n")
----------b---y---e---b---y---e----------
[stderr]
[stderr]
[stderr] nil
[stderr] nil
[stderr] Process EGLOT (project/(c-mode c-ts-mode c++-mode c++-ts-mode)) stderr finished
[internal] Wed Mar 15 10:20:08 2023:
(:message "Running language server: /var/lib/snapd/snap/bin/clangd")
[client-request] (id:1) Wed Mar 15 10:20:08 2023:
(:jsonrpc "2.0" :id 1 :method "initialize" :params
(:processId 2017004 :rootPath "/tmp/eglot--fixturewNlzZp/project/" :rootUri "file:///tmp/eglot--fixturewNlzZp/project" :initializationOptions #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
())
:capabilities
(:workspace
(:applyEdit t :executeCommand
(:dynamicRegistration :json-false)
:workspaceEdit
(:documentChanges t)
:didChangeWatchedFiles
(:dynamicRegistration t)
:symbol
(:dynamicRegistration :json-false)
:configuration t :workspaceFolders t)
:textDocument
(:synchronization
(:dynamicRegistration :json-false :willSave t :willSaveWaitUntil t :didSave t)
:completion
(:dynamicRegistration :json-false :completionItem
(:snippetSupport :json-false :deprecatedSupport t :resolveSupport
(:properties
["documentation" "details" "additionalTextEdits"])
:tagSupport
(:valueSet
[1]))
:contextSupport t)
:hover
(:dynamicRegistration :json-false :contentFormat
["plaintext"])
:signatureHelp
(:dynamicRegistration :json-false :signatureInformation
(:parameterInformation
(:labelOffsetSupport t)
:activeParameterSupport t))
:references
(:dynamicRegistration :json-false)
:definition
(:dynamicRegistration :json-false :linkSupport t)
:declaration
(:dynamicRegistration :json-false :linkSupport t)
:implementation
(:dynamicRegistration :json-false :linkSupport t)
:typeDefinition
(:dynamicRegistration :json-false :linkSupport t)
:documentSymbol
(:dynamicRegistration :json-false :hierarchicalDocumentSymbolSupport t :symbolKind
(:valueSet
[1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26]))
:documentHighlight
(:dynamicRegistration :json-false)
:codeAction
(:dynamicRegistration :json-false :codeActionLiteralSupport
(:codeActionKind
(:valueSet
["quickfix" "refactor" "refactor.extract" "refactor.inline" "refactor.rewrite" "source" "source.organizeImports"]))
:isPreferredSupport t)
:formatting
(:dynamicRegistration :json-false)
:rangeFormatting
(:dynamicRegistration :json-false)
:rename
(:dynamicRegistration :json-false)
:inlayHint
(:dynamicRegistration :json-false)
:publishDiagnostics
(:relatedInformation :json-false :codeDescriptionSupport :json-false :tagSupport
(:valueSet
[1 2])))
:general
(:positionEncodings
["utf-32" "utf-8" "utf-16"])
:experimental #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
()))
:workspaceFolders
[(:uri "file:///tmp/eglot--fixturewNlzZp/project" :name "/tmp/eglot--fixturewNlzZp/project/")]))
[internal] Wed Mar 15 10:20:18 2023:
(:message "Connection state changed" :change "killed\n")
----------b---y---e---b---y---e----------
[stderr]
[stderr]
[stderr] nil
[stderr] nil
[stderr] Process EGLOT (project/(c-mode c-ts-mode c++-mode c++-ts-mode)) stderr finished
[internal] Wed Mar 15 10:20:18 2023:
(:message "Running language server: /var/lib/snapd/snap/bin/clangd")
[client-request] (id:1) Wed Mar 15 10:20:18 2023:
(:jsonrpc "2.0" :id 1 :method "initialize" :params
(:processId 2017004 :rootPath "/tmp/eglot--fixturehfF6Pn/project/" :rootUri "file:///tmp/eglot--fixturehfF6Pn/project" :initializationOptions #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
())
:capabilities
(:workspace
(:applyEdit t :executeCommand
(:dynamicRegistration :json-false)
:workspaceEdit
(:documentChanges t)
:didChangeWatchedFiles
(:dynamicRegistration t)
:symbol
(:dynamicRegistration :json-false)
:configuration t :workspaceFolders t)
:textDocument
(:synchronization
(:dynamicRegistration :json-false :willSave t :willSaveWaitUntil t :didSave t)
:completion
(:dynamicRegistration :json-false :completionItem
(:snippetSupport :json-false :deprecatedSupport t :resolveSupport
(:properties
["documentation" "details" "additionalTextEdits"])
:tagSupport
(:valueSet
[1]))
:contextSupport t)
:hover
(:dynamicRegistration :json-false :contentFormat
["plaintext"])
:signatureHelp
(:dynamicRegistration :json-false :signatureInformation
(:parameterInformation
(:labelOffsetSupport t)
:activeParameterSupport t))
:references
(:dynamicRegistration :json-false)
:definition
(:dynamicRegistration :json-false :linkSupport t)
:declaration
(:dynamicRegistration :json-false :linkSupport t)
:implementation
(:dynamicRegistration :json-false :linkSupport t)
:typeDefinition
(:dynamicRegistration :json-false :linkSupport t)
:documentSymbol
(:dynamicRegistration :json-false :hierarchicalDocumentSymbolSupport t :symbolKind
(:valueSet
[1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26]))
:documentHighlight
(:dynamicRegistration :json-false)
:codeAction
(:dynamicRegistration :json-false :codeActionLiteralSupport
(:codeActionKind
(:valueSet
["quickfix" "refactor" "refactor.extract" "refactor.inline" "refactor.rewrite" "source" "source.organizeImports"]))
:isPreferredSupport t)
:formatting
(:dynamicRegistration :json-false)
:rangeFormatting
(:dynamicRegistration :json-false)
:rename
(:dynamicRegistration :json-false)
:inlayHint
(:dynamicRegistration :json-false)
:publishDiagnostics
(:relatedInformation :json-false :codeDescriptionSupport :json-false :tagSupport
(:valueSet
[1 2])))
:general
(:positionEncodings
["utf-32" "utf-8" "utf-16"])
:experimental #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
()))
:workspaceFolders
[(:uri "file:///tmp/eglot--fixturehfF6Pn/project" :name "/tmp/eglot--fixturehfF6Pn/project/")]))
[internal] Wed Mar 15 10:20:28 2023:
(:message "Connection state changed" :change "killed\n")
----------b---y---e---b---y---e----------
[stderr]
[stderr]
[stderr] nil
[stderr] nil
[stderr] Process EGLOT (project/(c-mode c-ts-mode c++-mode c++-ts-mode)) stderr finished
[eglot-tests] Killing (thingy.c), wiping /tmp/eglot--fixturehfF6Pn, restoring nil
Test eglot-test-auto-shutdown backtrace:
signal(error ("[eglot] Timed out after 10 seconds"))
error("[eglot] %s" "Timed out after 10 seconds")
eglot--error("Timed out after 10 seconds")
eglot--connect((c-mode c-ts-mode c++-mode c++-ts-mode) (transient .
apply(eglot--connect ((c-mode c-ts-mode c++-mode c++-ts-mode) (trans
(let* ((timeout (or timeout 10)) (eglot-sync-connect t) (eglot-conne
eglot--tests-connect()
(setq server (eglot--tests-connect))
(setq value-44 (setq server (eglot--tests-connect)))
(unwind-protect (setq value-44 (setq server (eglot--tests-connect)))
(if (unwind-protect (setq value-44 (setq server (eglot--tests-connec
(let (form-description-45) (if (unwind-protect (setq value-44 (setq
(let ((value-44 (gensym "ert-form-evaluation-aborted-"))) (let (form
(save-current-buffer (set-buffer (setq buffer (eglot--find-file-nose
(closure ((buffer . #<killed buffer>) (server)) nil (save-current-bu
funcall((closure ((buffer . #<killed buffer>) (server)) nil (save-cu
(prog1 (funcall fn) (setq test-body-successful-p t))
(let* ((process-environment (append (list "XDG_CONFIG_HOME=/dev/null
(unwind-protect (let* ((process-environment (append (list "XDG_CONFI
(let* ((fixture-directory (make-nearby-temp-file "eglot--fixture" t)
eglot--call-with-fixture((("project" ("thingy.c" . "int main() {retu
(let (server buffer) (eglot--call-with-fixture '(("project" ("thingy
(closure (typescript-mode-abbrev-table typescript-mode-syntax-table
ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
ert-run-test(#s(ert-test :name eglot-test-auto-shutdown :documentati
ert-run-or-rerun-test(#s(ert--stats :selector ... :tests ... :test-m
ert-run-tests((not (or (tag :unstable) (tag :nativecomp))) #f(compil
ert-run-tests-batch((not (or (tag :unstable) (tag :nativecomp))))
ert-run-tests-batch-and-exit((not (or (tag :unstable) (tag :nativeco
eval((ert-run-tests-batch-and-exit '(not (or (tag :unstable) (tag :n
command-line-1(("-L" ":." "-l" "ert" "-l" "lisp/progmodes/eglot-test
command-line()
normal-top-level()
Test eglot-test-auto-shutdown condition:
(error "[eglot] Timed out after 10 seconds")
FAILED 3/50 eglot-test-auto-shutdown (10.154016 sec) at lisp/progmodes/eglot-tests.el:360
skipped 4/50 eglot-test-basic-completions (0.007256 sec)
[eglot-tests] [eglot-test-basic-diagnostics]: test start
[jsonrpc] Server exited with status 9
[eglot-tests] [eglot-test-basic-diagnostics]: FAILED
[eglot-tests] contents of ` *EGLOT (diag-project/(c-mode c-ts-mode c++-mode c++-ts-mode)) output*':
[eglot-tests] contents of ` *EGLOT (diag-project/(c-mode c-ts-mode c++-mode c++-ts-mode)) stderr*':
Process EGLOT (diag-project/(c-mode c-ts-mode c++-mode c++-ts-mode)) stderr finished
[eglot-tests] contents of `*EGLOT (diag-project/(c-mode c-ts-mode c++-mode c++-ts-mode)) events*':
[internal] Wed Mar 15 10:20:29 2023:
(:message "Running language server: /var/lib/snapd/snap/bin/clangd")
[client-request] (id:1) Wed Mar 15 10:20:29 2023:
(:jsonrpc "2.0" :id 1 :method "initialize" :params
(:processId 2017004 :rootPath "/tmp/eglot--fixtureyg5veW/diag-project/" :rootUri "file:///tmp/eglot--fixtureyg5veW/diag-project" :initializationOptions #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
())
:capabilities
(:workspace
(:applyEdit t :executeCommand
(:dynamicRegistration :json-false)
:workspaceEdit
(:documentChanges t)
:didChangeWatchedFiles
(:dynamicRegistration t)
:symbol
(:dynamicRegistration :json-false)
:configuration t :workspaceFolders t)
:textDocument
(:synchronization
(:dynamicRegistration :json-false :willSave t :willSaveWaitUntil t :didSave t)
:completion
(:dynamicRegistration :json-false :completionItem
(:snippetSupport :json-false :deprecatedSupport t :resolveSupport
(:properties
["documentation" "details" "additionalTextEdits"])
:tagSupport
(:valueSet
[1]))
:contextSupport t)
:hover
(:dynamicRegistration :json-false :contentFormat
["plaintext"])
:signatureHelp
(:dynamicRegistration :json-false :signatureInformation
(:parameterInformation
(:labelOffsetSupport t)
:activeParameterSupport t))
:references
(:dynamicRegistration :json-false)
:definition
(:dynamicRegistration :json-false :linkSupport t)
:declaration
(:dynamicRegistration :json-false :linkSupport t)
:implementation
(:dynamicRegistration :json-false :linkSupport t)
:typeDefinition
(:dynamicRegistration :json-false :linkSupport t)
:documentSymbol
(:dynamicRegistration :json-false :hierarchicalDocumentSymbolSupport t :symbolKind
(:valueSet
[1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26]))
:documentHighlight
(:dynamicRegistration :json-false)
:codeAction
(:dynamicRegistration :json-false :codeActionLiteralSupport
(:codeActionKind
(:valueSet
["quickfix" "refactor" "refactor.extract" "refactor.inline" "refactor.rewrite" "source" "source.organizeImports"]))
:isPreferredSupport t)
:formatting
(:dynamicRegistration :json-false)
:rangeFormatting
(:dynamicRegistration :json-false)
:rename
(:dynamicRegistration :json-false)
:inlayHint
(:dynamicRegistration :json-false)
:publishDiagnostics
(:relatedInformation :json-false :codeDescriptionSupport :json-false :tagSupport
(:valueSet
[1 2])))
:general
(:positionEncodings
["utf-32" "utf-8" "utf-16"])
:experimental #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
()))
:workspaceFolders
[(:uri "file:///tmp/eglot--fixtureyg5veW/diag-project" :name "/tmp/eglot--fixtureyg5veW/diag-project/")]))
[internal] Wed Mar 15 10:20:39 2023:
(:message "Connection state changed" :change "killed\n")
----------b---y---e---b---y---e----------
[stderr]
[stderr]
[stderr] nil
[stderr] nil
[stderr] Process EGLOT (diag-project/(c-mode c-ts-mode c++-mode c++-ts-mode)) stderr finished
[eglot-tests] Killing (main.c), wiping /tmp/eglot--fixtureyg5veW, restoring nil
Test eglot-test-basic-diagnostics backtrace:
signal(error ("[eglot] Timed out after 10 seconds"))
error("[eglot] %s" "Timed out after 10 seconds")
eglot--error("Timed out after 10 seconds")
eglot--connect((c-mode c-ts-mode c++-mode c++-ts-mode) (transient .
apply(eglot--connect ((c-mode c-ts-mode c++-mode c++-ts-mode) (trans
(let* ((timeout (or timeout 10)) (eglot-sync-connect t) (eglot-conne
eglot--tests-connect()
(let (s-notifs) (advice-add #'jsonrpc--log-event :before #'(lambda (
(unwind-protect (let (s-notifs) (advice-add #'jsonrpc--log-event :be
(save-current-buffer (set-buffer (eglot--find-file-noselect "diag-pr
(closure (typescript-mode-abbrev-table typescript-mode-syntax-table
funcall((closure (typescript-mode-abbrev-table typescript-mode-synta
(prog1 (funcall fn) (setq test-body-successful-p t))
(let* ((process-environment (append (list "XDG_CONFIG_HOME=/dev/null
(unwind-protect (let* ((process-environment (append (list "XDG_CONFI
(let* ((fixture-directory (make-nearby-temp-file "eglot--fixture" t)
eglot--call-with-fixture((("diag-project" ("main.c" . "int main(){fr
(closure (typescript-mode-abbrev-table typescript-mode-syntax-table
ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
ert-run-test(#s(ert-test :name eglot-test-basic-diagnostics :documen
ert-run-or-rerun-test(#s(ert--stats :selector ... :tests ... :test-m
ert-run-tests((not (or (tag :unstable) (tag :nativecomp))) #f(compil
ert-run-tests-batch((not (or (tag :unstable) (tag :nativecomp))))
ert-run-tests-batch-and-exit((not (or (tag :unstable) (tag :nativeco
eval((ert-run-tests-batch-and-exit '(not (or (tag :unstable) (tag :n
command-line-1(("-L" ":." "-l" "ert" "-l" "lisp/progmodes/eglot-test
command-line()
normal-top-level()
Test eglot-test-basic-diagnostics condition:
(error "[eglot] Timed out after 10 seconds")
FAILED 5/50 eglot-test-basic-diagnostics (10.148437 sec) at lisp/progmodes/eglot-tests.el:437
skipped 6/50 eglot-test-basic-xref (0.000175 sec)
passed 7/50 eglot-test-capabilities (0.000090 sec)
passed 8/50 eglot-test-dcase (0.000078 sec)
passed 9/50 eglot-test-dcase-issue-452 (0.000057 sec)
[eglot-tests] [eglot-test-diagnostic-tags-unnecessary-code]: test start
[eglot-tests] [eglot-test-diagnostic-tags-unnecessary-code]: FAILED
[eglot-tests] Killing (main.cpp), wiping /tmp/eglot--fixture1mMI9I, restoring nil
Test eglot-test-diagnostic-tags-unnecessary-code backtrace:
(json-serialize (vector (list ':directory default-directory ':comman
(cons "compile_commands.json" (json-serialize (vector (list ':direct
(eglot--make-file-or-dir (cons "compile_commands.json" (json-seriali
(save-current-buffer (set-buffer (eglot--find-file-noselect "diag-pr
(closure (typescript-mode-abbrev-table typescript-mode-syntax-table
funcall((closure (typescript-mode-abbrev-table typescript-mode-synta
(prog1 (funcall fn) (setq test-body-successful-p t))
(let* ((process-environment (append (list "XDG_CONFIG_HOME=/dev/null
(unwind-protect (let* ((process-environment (append (list "XDG_CONFI
(let* ((fixture-directory (make-nearby-temp-file "eglot--fixture" t)
eglot--call-with-fixture((("diag-project" ("main.cpp" . "int main(){
(closure (typescript-mode-abbrev-table typescript-mode-syntax-table
ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
ert-run-test(#s(ert-test :name eglot-test-diagnostic-tags-unnecessar
ert-run-or-rerun-test(#s(ert--stats :selector ... :tests ... :test-m
ert-run-tests((not (or (tag :unstable) (tag :nativecomp))) #f(compil
ert-run-tests-batch((not (or (tag :unstable) (tag :nativecomp))))
ert-run-tests-batch-and-exit((not (or (tag :unstable) (tag :nativeco
eval((ert-run-tests-batch-and-exit '(not (or (tag :unstable) (tag :n
command-line-1(("-L" ":." "-l" "ert" "-l" "lisp/progmodes/eglot-test
command-line()
normal-top-level()
Test eglot-test-diagnostic-tags-unnecessary-code condition:
(void-function json-serialize)
FAILED 10/50 eglot-test-diagnostic-tags-unnecessary-code (0.007393 sec) at lisp/progmodes/eglot-tests.el:455
skipped 11/50 eglot-test-eclipse-connect (0.000350 sec)
skipped 12/50 eglot-test-eldoc-after-completions (0.000269 sec)
[eglot-tests] [eglot-test-ensure]: test start
[eglot] Waiting in background for server `EGLOT (project/(c-mode c-ts-mode c++-mode c++-ts-mode))'
[eglot-tests] [eglot-test-ensure]: FAILED
[eglot] Asking EGLOT (project/(c-mode c-ts-mode c++-mode c++-ts-mode)) politely to terminate
[jsonrpc] Server exited with status 9
[eglot-tests] Non-critical cleanup error: (error "[eglot] -1: Server died")
[eglot-tests] contents of ` *EGLOT (project/(c-mode c-ts-mode c++-mode c++-ts-mode)) output*':
[eglot-tests] contents of ` *EGLOT (project/(c-mode c-ts-mode c++-mode c++-ts-mode)) stderr*':
[eglot-tests] contents of `*EGLOT (project/(c-mode c-ts-mode c++-mode c++-ts-mode)) events*':
[internal] Wed Mar 15 10:19:58 2023:
(:message "Running language server: /var/lib/snapd/snap/bin/clangd")
[client-request] (id:1) Wed Mar 15 10:19:58 2023:
(:jsonrpc "2.0" :id 1 :method "initialize" :params
(:processId 2017004 :rootPath "/tmp/eglot--fixtureGOqwaT/project/" :rootUri "file:///tmp/eglot--fixtureGOqwaT/project" :initializationOptions #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
())
:capabilities
(:workspace
(:applyEdit t :executeCommand
(:dynamicRegistration :json-false)
:workspaceEdit
(:documentChanges t)
:didChangeWatchedFiles
(:dynamicRegistration t)
:symbol
(:dynamicRegistration :json-false)
:configuration t :workspaceFolders t)
:textDocument
(:synchronization
(:dynamicRegistration :json-false :willSave t :willSaveWaitUntil t :didSave t)
:completion
(:dynamicRegistration :json-false :completionItem
(:snippetSupport :json-false :deprecatedSupport t :resolveSupport
(:properties
["documentation" "details" "additionalTextEdits"])
:tagSupport
(:valueSet
[1]))
:contextSupport t)
:hover
(:dynamicRegistration :json-false :contentFormat
["plaintext"])
:signatureHelp
(:dynamicRegistration :json-false :signatureInformation
(:parameterInformation
(:labelOffsetSupport t)
:activeParameterSupport t))
:references
(:dynamicRegistration :json-false)
:definition
(:dynamicRegistration :json-false :linkSupport t)
:declaration
(:dynamicRegistration :json-false :linkSupport t)
:implementation
(:dynamicRegistration :json-false :linkSupport t)
:typeDefinition
(:dynamicRegistration :json-false :linkSupport t)
:documentSymbol
(:dynamicRegistration :json-false :hierarchicalDocumentSymbolSupport t :symbolKind
(:valueSet
[1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26]))
:documentHighlight
(:dynamicRegistration :json-false)
:codeAction
(:dynamicRegistration :json-false :codeActionLiteralSupport
(:codeActionKind
(:valueSet
["quickfix" "refactor" "refactor.extract" "refactor.inline" "refactor.rewrite" "source" "source.organizeImports"]))
:isPreferredSupport t)
:formatting
(:dynamicRegistration :json-false)
:rangeFormatting
(:dynamicRegistration :json-false)
:rename
(:dynamicRegistration :json-false)
:inlayHint
(:dynamicRegistration :json-false)
:publishDiagnostics
(:relatedInformation :json-false :codeDescriptionSupport :json-false :tagSupport
(:valueSet
[1 2])))
:general
(:positionEncodings
["utf-32" "utf-8" "utf-16"])
:experimental #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
()))
:workspaceFolders
[(:uri "file:///tmp/eglot--fixtureGOqwaT/project" :name "/tmp/eglot--fixtureGOqwaT/project/")]))
[internal] Wed Mar 15 10:20:08 2023:
(:message "Connection state changed" :change "killed\n")
----------b---y---e---b---y---e----------
[stderr]
[stderr]
[stderr] nil
[stderr] nil
[stderr] Process EGLOT (project/(c-mode c-ts-mode c++-mode c++-ts-mode)) stderr finished
[internal] Wed Mar 15 10:20:08 2023:
(:message "Running language server: /var/lib/snapd/snap/bin/clangd")
[client-request] (id:1) Wed Mar 15 10:20:08 2023:
(:jsonrpc "2.0" :id 1 :method "initialize" :params
(:processId 2017004 :rootPath "/tmp/eglot--fixturewNlzZp/project/" :rootUri "file:///tmp/eglot--fixturewNlzZp/project" :initializationOptions #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
())
:capabilities
(:workspace
(:applyEdit t :executeCommand
(:dynamicRegistration :json-false)
:workspaceEdit
(:documentChanges t)
:didChangeWatchedFiles
(:dynamicRegistration t)
:symbol
(:dynamicRegistration :json-false)
:configuration t :workspaceFolders t)
:textDocument
(:synchronization
(:dynamicRegistration :json-false :willSave t :willSaveWaitUntil t :didSave t)
:completion
(:dynamicRegistration :json-false :completionItem
(:snippetSupport :json-false :deprecatedSupport t :resolveSupport
(:properties
["documentation" "details" "additionalTextEdits"])
:tagSupport
(:valueSet
[1]))
:contextSupport t)
:hover
(:dynamicRegistration :json-false :contentFormat
["plaintext"])
:signatureHelp
(:dynamicRegistration :json-false :signatureInformation
(:parameterInformation
(:labelOffsetSupport t)
:activeParameterSupport t))
:references
(:dynamicRegistration :json-false)
:definition
(:dynamicRegistration :json-false :linkSupport t)
:declaration
(:dynamicRegistration :json-false :linkSupport t)
:implementation
(:dynamicRegistration :json-false :linkSupport t)
:typeDefinition
(:dynamicRegistration :json-false :linkSupport t)
:documentSymbol
(:dynamicRegistration :json-false :hierarchicalDocumentSymbolSupport t :symbolKind
(:valueSet
[1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26]))
:documentHighlight
(:dynamicRegistration :json-false)
:codeAction
(:dynamicRegistration :json-false :codeActionLiteralSupport
(:codeActionKind
(:valueSet
["quickfix" "refactor" "refactor.extract" "refactor.inline" "refactor.rewrite" "source" "source.organizeImports"]))
:isPreferredSupport t)
:formatting
(:dynamicRegistration :json-false)
:rangeFormatting
(:dynamicRegistration :json-false)
:rename
(:dynamicRegistration :json-false)
:inlayHint
(:dynamicRegistration :json-false)
:publishDiagnostics
(:relatedInformation :json-false :codeDescriptionSupport :json-false :tagSupport
(:valueSet
[1 2])))
:general
(:positionEncodings
["utf-32" "utf-8" "utf-16"])
:experimental #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
()))
:workspaceFolders
[(:uri "file:///tmp/eglot--fixturewNlzZp/project" :name "/tmp/eglot--fixturewNlzZp/project/")]))
[internal] Wed Mar 15 10:20:18 2023:
(:message "Connection state changed" :change "killed\n")
----------b---y---e---b---y---e----------
[stderr]
[stderr]
[stderr] nil
[stderr] nil
[stderr] Process EGLOT (project/(c-mode c-ts-mode c++-mode c++-ts-mode)) stderr finished
[internal] Wed Mar 15 10:20:18 2023:
(:message "Running language server: /var/lib/snapd/snap/bin/clangd")
[client-request] (id:1) Wed Mar 15 10:20:18 2023:
(:jsonrpc "2.0" :id 1 :method "initialize" :params
(:processId 2017004 :rootPath "/tmp/eglot--fixturehfF6Pn/project/" :rootUri "file:///tmp/eglot--fixturehfF6Pn/project" :initializationOptions #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
())
:capabilities
(:workspace
(:applyEdit t :executeCommand
(:dynamicRegistration :json-false)
:workspaceEdit
(:documentChanges t)
:didChangeWatchedFiles
(:dynamicRegistration t)
:symbol
(:dynamicRegistration :json-false)
:configuration t :workspaceFolders t)
:textDocument
(:synchronization
(:dynamicRegistration :json-false :willSave t :willSaveWaitUntil t :didSave t)
:completion
(:dynamicRegistration :json-false :completionItem
(:snippetSupport :json-false :deprecatedSupport t :resolveSupport
(:properties
["documentation" "details" "additionalTextEdits"])
:tagSupport
(:valueSet
[1]))
:contextSupport t)
:hover
(:dynamicRegistration :json-false :contentFormat
["plaintext"])
:signatureHelp
(:dynamicRegistration :json-false :signatureInformation
(:parameterInformation
(:labelOffsetSupport t)
:activeParameterSupport t))
:references
(:dynamicRegistration :json-false)
:definition
(:dynamicRegistration :json-false :linkSupport t)
:declaration
(:dynamicRegistration :json-false :linkSupport t)
:implementation
(:dynamicRegistration :json-false :linkSupport t)
:typeDefinition
(:dynamicRegistration :json-false :linkSupport t)
:documentSymbol
(:dynamicRegistration :json-false :hierarchicalDocumentSymbolSupport t :symbolKind
(:valueSet
[1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26]))
:documentHighlight
(:dynamicRegistration :json-false)
:codeAction
(:dynamicRegistration :json-false :codeActionLiteralSupport
(:codeActionKind
(:valueSet
["quickfix" "refactor" "refactor.extract" "refactor.inline" "refactor.rewrite" "source" "source.organizeImports"]))
:isPreferredSupport t)
:formatting
(:dynamicRegistration :json-false)
:rangeFormatting
(:dynamicRegistration :json-false)
:rename
(:dynamicRegistration :json-false)
:inlayHint
(:dynamicRegistration :json-false)
:publishDiagnostics
(:relatedInformation :json-false :codeDescriptionSupport :json-false :tagSupport
(:valueSet
[1 2])))
:general
(:positionEncodings
["utf-32" "utf-8" "utf-16"])
:experimental #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
()))
:workspaceFolders
[(:uri "file:///tmp/eglot--fixturehfF6Pn/project" :name "/tmp/eglot--fixturehfF6Pn/project/")]))
[internal] Wed Mar 15 10:20:28 2023:
(:message "Connection state changed" :change "killed\n")
----------b---y---e---b---y---e----------
[stderr]
[stderr]
[stderr] nil
[stderr] nil
[stderr] Process EGLOT (project/(c-mode c-ts-mode c++-mode c++-ts-mode)) stderr finished
[internal] Wed Mar 15 10:20:39 2023:
(:message "Running language server: /var/lib/snapd/snap/bin/clangd")
[client-request] (id:1) Wed Mar 15 10:20:39 2023:
(:jsonrpc "2.0" :id 1 :method "initialize" :params
(:processId 2017004 :rootPath "/tmp/eglot--fixtureRUxVaa/project/" :rootUri "file:///tmp/eglot--fixtureRUxVaa/project" :initializationOptions #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
())
:capabilities
(:workspace
(:applyEdit t :executeCommand
(:dynamicRegistration :json-false)
:workspaceEdit
(:documentChanges t)
:didChangeWatchedFiles
(:dynamicRegistration t)
:symbol
(:dynamicRegistration :json-false)
:configuration t :workspaceFolders t)
:textDocument
(:synchronization
(:dynamicRegistration :json-false :willSave t :willSaveWaitUntil t :didSave t)
:completion
(:dynamicRegistration :json-false :completionItem
(:snippetSupport :json-false :deprecatedSupport t :resolveSupport
(:properties
["documentation" "details" "additionalTextEdits"])
:tagSupport
(:valueSet
[1]))
:contextSupport t)
:hover
(:dynamicRegistration :json-false :contentFormat
["plaintext"])
:signatureHelp
(:dynamicRegistration :json-false :signatureInformation
(:parameterInformation
(:labelOffsetSupport t)
:activeParameterSupport t))
:references
(:dynamicRegistration :json-false)
:definition
(:dynamicRegistration :json-false :linkSupport t)
:declaration
(:dynamicRegistration :json-false :linkSupport t)
:implementation
(:dynamicRegistration :json-false :linkSupport t)
:typeDefinition
(:dynamicRegistration :json-false :linkSupport t)
:documentSymbol
(:dynamicRegistration :json-false :hierarchicalDocumentSymbolSupport t :symbolKind
(:valueSet
[1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26]))
:documentHighlight
(:dynamicRegistration :json-false)
:codeAction
(:dynamicRegistration :json-false :codeActionLiteralSupport
(:codeActionKind
(:valueSet
["quickfix" "refactor" "refactor.extract" "refactor.inline" "refactor.rewrite" "source" "source.organizeImports"]))
:isPreferredSupport t)
:formatting
(:dynamicRegistration :json-false)
:rangeFormatting
(:dynamicRegistration :json-false)
:rename
(:dynamicRegistration :json-false)
:inlayHint
(:dynamicRegistration :json-false)
:publishDiagnostics
(:relatedInformation :json-false :codeDescriptionSupport :json-false :tagSupport
(:valueSet
[1 2])))
:general
(:positionEncodings
["utf-32" "utf-8" "utf-16"])
:experimental #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
()))
:workspaceFolders
[(:uri "file:///tmp/eglot--fixtureRUxVaa/project" :name "/tmp/eglot--fixtureRUxVaa/project/")]))
[client-request] (id:2) Wed Mar 15 10:20:42 2023:
(:jsonrpc "2.0" :id 2 :method "shutdown" :params nil)
[internal] Wed Mar 15 10:20:45 2023:
(:message "Connection state changed" :change "killed\n")
----------b---y---e---b---y---e----------
[eglot-tests] Killing (foo.c), wiping /tmp/eglot--fixtureRUxVaa, restoring (c-mode-hook)
Test eglot-test-ensure backtrace:
signal(ert-test-failed (((should (setq server (eglot-current-server)
ert-fail(((should (setq server (eglot-current-server))) :form (setq
(if (unwind-protect (setq value-452 (setq server (eglot-current-serv
(let (form-description-453) (if (unwind-protect (setq value-452 (set
(let ((value-452 (gensym "ert-form-evaluation-aborted-"))) (let (for
(save-current-buffer (set-buffer (ert-simulate-command '(find-file "
(let (server) (save-current-buffer (set-buffer (ert-simulate-command
(closure (company-candidates typescript-mode-abbrev-table typescript
funcall((closure (company-candidates typescript-mode-abbrev-table ty
(prog1 (funcall fn) (setq test-body-successful-p t))
(let* ((process-environment (append (list "XDG_CONFIG_HOME=/dev/null
(unwind-protect (let* ((process-environment (append (list "XDG_CONFI
(let* ((fixture-directory (make-nearby-temp-file "eglot--fixture" t)
eglot--call-with-fixture((("project" ("foo.c" . "int foo() {return 4
(closure (company-candidates typescript-mode-abbrev-table typescript
ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
ert-run-test(#s(ert-test :name eglot-test-ensure :documentation "Tes
ert-run-or-rerun-test(#s(ert--stats :selector ... :tests ... :test-m
ert-run-tests((not (or (tag :unstable) (tag :nativecomp))) #f(compil
ert-run-tests-batch((not (or (tag :unstable) (tag :nativecomp))))
ert-run-tests-batch-and-exit((not (or (tag :unstable) (tag :nativeco
eval((ert-run-tests-batch-and-exit '(not (or (tag :unstable) (tag :n
command-line-1(("-L" ":." "-l" "ert" "-l" "lisp/progmodes/eglot-test
command-line()
normal-top-level()
Test eglot-test-ensure condition:
(ert-test-failed
((should
(setq server
(eglot-current-server)))
:form
(setq server
(eglot-current-server))
:value nil))
FAILED 13/50 eglot-test-ensure (6.194872 sec) at lisp/progmodes/eglot-tests.el:892
passed 14/50 eglot-test-glob-test (0.064999 sec)
skipped 15/50 eglot-test-javascript-basic (0.000263 sec)
skipped 16/50 eglot-test-json-basic (0.000168 sec)
[eglot-tests] [eglot-test-lsp-abiding-column]: test start
[jsonrpc] Server exited with status 9
[eglot-tests] [eglot-test-lsp-abiding-column]: FAILED
[eglot-tests] contents of ` *EGLOT (project/(c-mode)) output*':
[eglot-tests] contents of ` *EGLOT (project/(c-mode)) stderr*':
Process EGLOT (project/(c-mode)) stderr finished
[eglot-tests] contents of `*EGLOT (project/(c-mode)) events*':
[internal] Wed Mar 15 10:20:46 2023:
(:message "Running language server: clangd")
[client-request] (id:1) Wed Mar 15 10:20:46 2023:
(:jsonrpc "2.0" :id 1 :method "initialize" :params
(:processId 2017004 :rootPath "/tmp/eglot--fixturePO4VrS/project/" :rootUri "file:///tmp/eglot--fixturePO4VrS/project" :initializationOptions #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
())
:capabilities
(:workspace
(:applyEdit t :executeCommand
(:dynamicRegistration :json-false)
:workspaceEdit
(:documentChanges t)
:didChangeWatchedFiles
(:dynamicRegistration t)
:symbol
(:dynamicRegistration :json-false)
:configuration t :workspaceFolders t)
:textDocument
(:synchronization
(:dynamicRegistration :json-false :willSave t :willSaveWaitUntil t :didSave t)
:completion
(:dynamicRegistration :json-false :completionItem
(:snippetSupport :json-false :deprecatedSupport t :resolveSupport
(:properties
["documentation" "details" "additionalTextEdits"])
:tagSupport
(:valueSet
[1]))
:contextSupport t)
:hover
(:dynamicRegistration :json-false :contentFormat
["plaintext"])
:signatureHelp
(:dynamicRegistration :json-false :signatureInformation
(:parameterInformation
(:labelOffsetSupport t)
:activeParameterSupport t))
:references
(:dynamicRegistration :json-false)
:definition
(:dynamicRegistration :json-false :linkSupport t)
:declaration
(:dynamicRegistration :json-false :linkSupport t)
:implementation
(:dynamicRegistration :json-false :linkSupport t)
:typeDefinition
(:dynamicRegistration :json-false :linkSupport t)
:documentSymbol
(:dynamicRegistration :json-false :hierarchicalDocumentSymbolSupport t :symbolKind
(:valueSet
[1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26]))
:documentHighlight
(:dynamicRegistration :json-false)
:codeAction
(:dynamicRegistration :json-false :codeActionLiteralSupport
(:codeActionKind
(:valueSet
["quickfix" "refactor" "refactor.extract" "refactor.inline" "refactor.rewrite" "source" "source.organizeImports"]))
:isPreferredSupport t)
:formatting
(:dynamicRegistration :json-false)
:rangeFormatting
(:dynamicRegistration :json-false)
:rename
(:dynamicRegistration :json-false)
:inlayHint
(:dynamicRegistration :json-false)
:publishDiagnostics
(:relatedInformation :json-false :codeDescriptionSupport :json-false :tagSupport
(:valueSet
[1 2])))
:general
(:positionEncodings
["utf-32" "utf-8" "utf-16"])
:experimental #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
()))
:workspaceFolders
[(:uri "file:///tmp/eglot--fixturePO4VrS/project" :name "/tmp/eglot--fixturePO4VrS/project/")]))
[internal] Wed Mar 15 10:20:56 2023:
(:message "Connection state changed" :change "killed\n")
----------b---y---e---b---y---e----------
[stderr]
[stderr]
[stderr] nil
[stderr] nil
[stderr] Process EGLOT (project/(c-mode)) stderr finished
[eglot-tests] Killing (foo.c), wiping /tmp/eglot--fixturePO4VrS, restoring nil
Test eglot-test-lsp-abiding-column backtrace:
signal(error ("[eglot] Timed out after 10 seconds"))
error("[eglot] %s" "Timed out after 10 seconds")
eglot--error("Timed out after 10 seconds")
eglot--connect((c-mode) (transient . "/tmp/eglot--fixturePO4VrS/proj
apply(eglot--connect ((c-mode) (transient . "/tmp/eglot--fixturePO4V
(let* ((timeout (or timeout 10)) (eglot-sync-connect t) (eglot-conne
eglot--tests-connect()
(let (c-notifs) (advice-add #'jsonrpc--log-event :before #'(lambda (
(unwind-protect (let (c-notifs) (advice-add #'jsonrpc--log-event :be
(save-current-buffer (set-buffer (eglot--find-file-noselect "project
(let ((eglot-server-programs '((c-mode "clangd")))) (save-current-bu
(closure (company-candidates typescript-mode-abbrev-table typescript
funcall((closure (company-candidates typescript-mode-abbrev-table ty
(prog1 (funcall fn) (setq test-body-successful-p t))
(let* ((process-environment (append (list "XDG_CONFIG_HOME=/dev/null
(unwind-protect (let* ((process-environment (append (list "XDG_CONFI
(let* ((fixture-directory (make-nearby-temp-file "eglot--fixture" t)
eglot--call-with-fixture((("project" ("foo.c" . "const char write_da
eglot-tests--lsp-abiding-column-1()
(closure (company-candidates typescript-mode-abbrev-table typescript
ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
ert-run-test(#s(ert-test :name eglot-test-lsp-abiding-column :docume
ert-run-or-rerun-test(#s(ert--stats :selector ... :tests ... :test-m
ert-run-tests((not (or (tag :unstable) (tag :nativecomp))) #f(compil
ert-run-tests-batch((not (or (tag :unstable) (tag :nativecomp))))
ert-run-tests-batch-and-exit((not (or (tag :unstable) (tag :nativeco
eval((ert-run-tests-batch-and-exit '(not (or (tag :unstable) (tag :n
command-line-1(("-L" ":." "-l" "ert" "-l" "lisp/progmodes/eglot-test
command-line()
normal-top-level()
Test eglot-test-lsp-abiding-column condition:
(error "[eglot] Timed out after 10 seconds")
FAILED 17/50 eglot-test-lsp-abiding-column (10.782969 sec) at lisp/progmodes/eglot-tests.el:887
skipped 18/50 eglot-test-multiline-eldoc (0.000179 sec)
skipped 19/50 eglot-test-non-unique-completions (0.000155 sec)
skipped 20/50 eglot-test-path-to-uri-windows (0.000084 sec)
skipped 21/50 eglot-test-project-wide-diagnostics-rust-analyzer (0.000148 sec)
skipped 22/50 eglot-test-project-wide-diagnostics-typescript (0.000150 sec)
skipped 23/50 eglot-test-python-autopep-formatting (0.000138 sec)
skipped 24/50 eglot-test-python-yapf-formatting (0.000265 sec)
[eglot-tests] [eglot-test-rename-a-symbol]: test start
[jsonrpc] Server exited with status 9
[eglot-tests] [eglot-test-rename-a-symbol]: FAILED
[eglot-tests] contents of ` *EGLOT (rename-project/(c-mode c-ts-mode c++-mode c++-ts-mode)) output*':
[eglot-tests] contents of ` *EGLOT (rename-project/(c-mode c-ts-mode c++-mode c++-ts-mode)) stderr*':
Process EGLOT (rename-project/(c-mode c-ts-mode c++-mode c++-ts-mode)) stderr finished
[eglot-tests] contents of `*EGLOT (rename-project/(c-mode c-ts-mode c++-mode c++-ts-mode)) events*':
[internal] Wed Mar 15 10:20:56 2023:
(:message "Running language server: /var/lib/snapd/snap/bin/clangd")
[client-request] (id:1) Wed Mar 15 10:20:56 2023:
(:jsonrpc "2.0" :id 1 :method "initialize" :params
(:processId 2017004 :rootPath "/tmp/eglot--fixtureG1IY17/rename-project/" :rootUri "file:///tmp/eglot--fixtureG1IY17/rename-project" :initializationOptions #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
())
:capabilities
(:workspace
(:applyEdit t :executeCommand
(:dynamicRegistration :json-false)
:workspaceEdit
(:documentChanges t)
:didChangeWatchedFiles
(:dynamicRegistration t)
:symbol
(:dynamicRegistration :json-false)
:configuration t :workspaceFolders t)
:textDocument
(:synchronization
(:dynamicRegistration :json-false :willSave t :willSaveWaitUntil t :didSave t)
:completion
(:dynamicRegistration :json-false :completionItem
(:snippetSupport :json-false :deprecatedSupport t :resolveSupport
(:properties
["documentation" "details" "additionalTextEdits"])
:tagSupport
(:valueSet
[1]))
:contextSupport t)
:hover
(:dynamicRegistration :json-false :contentFormat
["plaintext"])
:signatureHelp
(:dynamicRegistration :json-false :signatureInformation
(:parameterInformation
(:labelOffsetSupport t)
:activeParameterSupport t))
:references
(:dynamicRegistration :json-false)
:definition
(:dynamicRegistration :json-false :linkSupport t)
:declaration
(:dynamicRegistration :json-false :linkSupport t)
:implementation
(:dynamicRegistration :json-false :linkSupport t)
:typeDefinition
(:dynamicRegistration :json-false :linkSupport t)
:documentSymbol
(:dynamicRegistration :json-false :hierarchicalDocumentSymbolSupport t :symbolKind
(:valueSet
[1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26]))
:documentHighlight
(:dynamicRegistration :json-false)
:codeAction
(:dynamicRegistration :json-false :codeActionLiteralSupport
(:codeActionKind
(:valueSet
["quickfix" "refactor" "refactor.extract" "refactor.inline" "refactor.rewrite" "source" "source.organizeImports"]))
:isPreferredSupport t)
:formatting
(:dynamicRegistration :json-false)
:rangeFormatting
(:dynamicRegistration :json-false)
:rename
(:dynamicRegistration :json-false)
:inlayHint
(:dynamicRegistration :json-false)
:publishDiagnostics
(:relatedInformation :json-false :codeDescriptionSupport :json-false :tagSupport
(:valueSet
[1 2])))
:general
(:positionEncodings
["utf-32" "utf-8" "utf-16"])
:experimental #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
()))
:workspaceFolders
[(:uri "file:///tmp/eglot--fixtureG1IY17/rename-project" :name "/tmp/eglot--fixtureG1IY17/rename-project/")]))
[internal] Wed Mar 15 10:21:06 2023:
(:message "Connection state changed" :change "killed\n")
----------b---y---e---b---y---e----------
[stderr]
[stderr]
[stderr] nil
[stderr] nil
[stderr] Process EGLOT (rename-project/(c-mode c-ts-mode c++-mode c++-ts-mode)) stderr finished
[eglot-tests] Killing (main.c), wiping /tmp/eglot--fixtureG1IY17, restoring nil
Test eglot-test-rename-a-symbol backtrace:
signal(error ("[eglot] Timed out after 10 seconds"))
error("[eglot] %s" "Timed out after 10 seconds")
eglot--error("Timed out after 10 seconds")
eglot--connect((c-mode c-ts-mode c++-mode c++-ts-mode) (transient .
apply(eglot--connect ((c-mode c-ts-mode c++-mode c++-ts-mode) (trans
(let* ((timeout (or timeout 10)) (eglot-sync-connect t) (eglot-conne
eglot--tests-connect()
(save-current-buffer (set-buffer (eglot--find-file-noselect "rename-
(closure (typescript-mode-abbrev-table typescript-mode-syntax-table
funcall((closure (typescript-mode-abbrev-table typescript-mode-synta
(prog1 (funcall fn) (setq test-body-successful-p t))
(let* ((process-environment (append (list "XDG_CONFIG_HOME=/dev/null
(unwind-protect (let* ((process-environment (append (list "XDG_CONFI
(let* ((fixture-directory (make-nearby-temp-file "eglot--fixture" t)
eglot--call-with-fixture((("rename-project" ("main.c" . "int foo() {
(closure (typescript-mode-abbrev-table typescript-mode-syntax-table
ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
ert-run-test(#s(ert-test :name eglot-test-rename-a-symbol :documenta
ert-run-or-rerun-test(#s(ert--stats :selector ... :tests ... :test-m
ert-run-tests((not (or (tag :unstable) (tag :nativecomp))) #f(compil
ert-run-tests-batch((not (or (tag :unstable) (tag :nativecomp))))
ert-run-tests-batch-and-exit((not (or (tag :unstable) (tag :nativeco
eval((ert-run-tests-batch-and-exit '(not (or (tag :unstable) (tag :n
command-line-1(("-L" ":." "-l" "ert" "-l" "lisp/progmodes/eglot-test
command-line()
normal-top-level()
Test eglot-test-rename-a-symbol condition:
(error "[eglot] Timed out after 10 seconds")
FAILED 25/50 eglot-test-rename-a-symbol (10.163936 sec) at lisp/progmodes/eglot-tests.el:534
skipped 26/50 eglot-test-rust-analyzer-hover-after-edit (0.000172 sec)
skipped 27/50 eglot-test-rust-analyzer-watches-files (0.000147 sec)
skipped 28/50 eglot-test-rust-on-type-formatting (0.000152 sec)
[eglot-tests] [eglot-test-same-server-multi-mode]: test start
[jsonrpc] Server exited with status 9
[eglot-tests] [eglot-test-same-server-multi-mode]: FAILED
[eglot-tests] contents of ` *EGLOT (project/(c++-mode c-mode c-ts-mode c++-ts-mode)) output*':
[eglot-tests] contents of ` *EGLOT (project/(c++-mode c-mode c-ts-mode c++-ts-mode)) stderr*':
Process EGLOT (project/(c++-mode c-mode c-ts-mode c++-ts-mode)) stderr finished
[eglot-tests] contents of `*EGLOT (project/(c++-mode c-mode c-ts-mode c++-ts-mode)) events*':
[internal] Wed Mar 15 10:21:07 2023:
(:message "Running language server: /var/lib/snapd/snap/bin/clangd")
[client-request] (id:1) Wed Mar 15 10:21:07 2023:
(:jsonrpc "2.0" :id 1 :method "initialize" :params
(:processId 2017004 :rootPath "/tmp/eglot--fixtureZNVza4/project/" :rootUri "file:///tmp/eglot--fixtureZNVza4/project" :initializationOptions #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
())
:capabilities
(:workspace
(:applyEdit t :executeCommand
(:dynamicRegistration :json-false)
:workspaceEdit
(:documentChanges t)
:didChangeWatchedFiles
(:dynamicRegistration t)
:symbol
(:dynamicRegistration :json-false)
:configuration t :workspaceFolders t)
:textDocument
(:synchronization
(:dynamicRegistration :json-false :willSave t :willSaveWaitUntil t :didSave t)
:completion
(:dynamicRegistration :json-false :completionItem
(:snippetSupport :json-false :deprecatedSupport t :resolveSupport
(:properties
["documentation" "details" "additionalTextEdits"])
:tagSupport
(:valueSet
[1]))
:contextSupport t)
:hover
(:dynamicRegistration :json-false :contentFormat
["plaintext"])
:signatureHelp
(:dynamicRegistration :json-false :signatureInformation
(:parameterInformation
(:labelOffsetSupport t)
:activeParameterSupport t))
:references
(:dynamicRegistration :json-false)
:definition
(:dynamicRegistration :json-false :linkSupport t)
:declaration
(:dynamicRegistration :json-false :linkSupport t)
:implementation
(:dynamicRegistration :json-false :linkSupport t)
:typeDefinition
(:dynamicRegistration :json-false :linkSupport t)
:documentSymbol
(:dynamicRegistration :json-false :hierarchicalDocumentSymbolSupport t :symbolKind
(:valueSet
[1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26]))
:documentHighlight
(:dynamicRegistration :json-false)
:codeAction
(:dynamicRegistration :json-false :codeActionLiteralSupport
(:codeActionKind
(:valueSet
["quickfix" "refactor" "refactor.extract" "refactor.inline" "refactor.rewrite" "source" "source.organizeImports"]))
:isPreferredSupport t)
:formatting
(:dynamicRegistration :json-false)
:rangeFormatting
(:dynamicRegistration :json-false)
:rename
(:dynamicRegistration :json-false)
:inlayHint
(:dynamicRegistration :json-false)
:publishDiagnostics
(:relatedInformation :json-false :codeDescriptionSupport :json-false :tagSupport
(:valueSet
[1 2])))
:general
(:positionEncodings
["utf-32" "utf-8" "utf-16"])
:experimental #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
()))
:workspaceFolders
[(:uri "file:///tmp/eglot--fixtureZNVza4/project" :name "/tmp/eglot--fixtureZNVza4/project/")]))
[internal] Wed Mar 15 10:21:17 2023:
(:message "Connection state changed" :change "killed\n")
----------b---y---e---b---y---e----------
[stderr]
[stderr]
[stderr] nil
[stderr] nil
[stderr] Process EGLOT (project/(c++-mode c-mode c-ts-mode c++-ts-mode)) stderr finished
[eglot-tests] Killing (foo.cpp), wiping /tmp/eglot--fixtureZNVza4, restoring nil
Test eglot-test-same-server-multi-mode backtrace:
signal(error ("[eglot] Timed out after 10 seconds"))
error("[eglot] %s" "Timed out after 10 seconds")
eglot--error("Timed out after 10 seconds")
eglot--connect((c++-mode c-mode c-ts-mode c++-ts-mode) (transient .
apply(eglot--connect ((c++-mode c-mode c-ts-mode c++-ts-mode) (trans
(let* ((timeout (or timeout 10)) (eglot-sync-connect t) (eglot-conne
eglot--tests-connect()
(setq server (eglot--tests-connect))
(setq value-935 (setq server (eglot--tests-connect)))
(unwind-protect (setq value-935 (setq server (eglot--tests-connect))
(if (unwind-protect (setq value-935 (setq server (eglot--tests-conne
(let (form-description-936) (if (unwind-protect (setq value-935 (set
(let ((value-935 (gensym "ert-form-evaluation-aborted-"))) (let (for
(save-current-buffer (set-buffer (eglot--find-file-noselect "project
(closure ((server)) nil (save-current-buffer (set-buffer (eglot--fin
funcall((closure ((server)) nil (save-current-buffer (set-buffer (eg
(prog1 (funcall fn) (setq test-body-successful-p t))
(let* ((process-environment (append (list "XDG_CONFIG_HOME=/dev/null
(unwind-protect (let* ((process-environment (append (list "XDG_CONFI
(let* ((fixture-directory (make-nearby-temp-file "eglot--fixture" t)
eglot--call-with-fixture((("project" ("foo.cpp" . "#include \"foolib
(let (server) (eglot--call-with-fixture '(("project" ("foo.cpp" . "#
(closure (tramp-histfile-override company-candidates typescript-mode
ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
ert-run-test(#s(ert-test :name eglot-test-same-server-multi-mode :do
ert-run-or-rerun-test(#s(ert--stats :selector ... :tests ... :test-m
ert-run-tests((not (or (tag :unstable) (tag :nativecomp))) #f(compil
ert-run-tests-batch((not (or (tag :unstable) (tag :nativecomp))))
ert-run-tests-batch-and-exit((not (or (tag :unstable) (tag :nativeco
eval((ert-run-tests-batch-and-exit '(not (or (tag :unstable) (tag :n
command-line-1(("-L" ":." "-l" "ert" "-l" "lisp/progmodes/eglot-test
command-line()
normal-top-level()
Test eglot-test-same-server-multi-mode condition:
(error "[eglot] Timed out after 10 seconds")
FAILED 29/50 eglot-test-same-server-multi-mode (10.139735 sec) at lisp/progmodes/eglot-tests.el:1306
passed 30/50 eglot-test-server-programs-class-name-and-contact-spec (0.017128 sec)
passed 31/50 eglot-test-server-programs-class-name-and-plist (0.000161 sec)
passed 32/50 eglot-test-server-programs-executable-multiple-major-modes (0.000165 sec)
passed 33/50 eglot-test-server-programs-executable-with-arg (0.000158 sec)
passed 34/50 eglot-test-server-programs-executable-with-args-and-autoport (0.000167 sec)
passed 35/50 eglot-test-server-programs-function (0.000157 sec)
passed 36/50 eglot-test-server-programs-guess-lang (0.000319 sec)
passed 37/50 eglot-test-server-programs-host-and-port (0.000149 sec)
passed 38/50 eglot-test-server-programs-host-and-port-and-tcp-args (0.000148 sec)
passed 39/50 eglot-test-server-programs-simple-executable (0.000155 sec)
passed 40/50 eglot-test-server-programs-simple-missing-executable (0.000160 sec)
skipped 41/50 eglot-test-single-line-eldoc (0.000162 sec)
[eglot-tests] [eglot-test-slow-async-connection]: test start
[eglot] Waiting in background for server `EGLOT (project/(c-mode))'
[eglot-tests] [eglot-test-slow-async-connection]: FAILED
[eglot] Asking EGLOT (project/(c-mode)) politely to terminate
[jsonrpc] Server exited with status 9
[eglot-tests] Non-critical cleanup error: (error "[eglot] -1: Server died")
[eglot-tests] contents of ` *EGLOT (project/(c-mode)) output*':
[eglot-tests] contents of ` *EGLOT (project/(c-mode)) stderr*':
[eglot-tests] contents of `*EGLOT (project/(c-mode)) events*':
[internal] Wed Mar 15 10:20:46 2023:
(:message "Running language server: clangd")
[client-request] (id:1) Wed Mar 15 10:20:46 2023:
(:jsonrpc "2.0" :id 1 :method "initialize" :params
(:processId 2017004 :rootPath "/tmp/eglot--fixturePO4VrS/project/" :rootUri "file:///tmp/eglot--fixturePO4VrS/project" :initializationOptions #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
())
:capabilities
(:workspace
(:applyEdit t :executeCommand
(:dynamicRegistration :json-false)
:workspaceEdit
(:documentChanges t)
:didChangeWatchedFiles
(:dynamicRegistration t)
:symbol
(:dynamicRegistration :json-false)
:configuration t :workspaceFolders t)
:textDocument
(:synchronization
(:dynamicRegistration :json-false :willSave t :willSaveWaitUntil t :didSave t)
:completion
(:dynamicRegistration :json-false :completionItem
(:snippetSupport :json-false :deprecatedSupport t :resolveSupport
(:properties
["documentation" "details" "additionalTextEdits"])
:tagSupport
(:valueSet
[1]))
:contextSupport t)
:hover
(:dynamicRegistration :json-false :contentFormat
["plaintext"])
:signatureHelp
(:dynamicRegistration :json-false :signatureInformation
(:parameterInformation
(:labelOffsetSupport t)
:activeParameterSupport t))
:references
(:dynamicRegistration :json-false)
:definition
(:dynamicRegistration :json-false :linkSupport t)
:declaration
(:dynamicRegistration :json-false :linkSupport t)
:implementation
(:dynamicRegistration :json-false :linkSupport t)
:typeDefinition
(:dynamicRegistration :json-false :linkSupport t)
:documentSymbol
(:dynamicRegistration :json-false :hierarchicalDocumentSymbolSupport t :symbolKind
(:valueSet
[1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26]))
:documentHighlight
(:dynamicRegistration :json-false)
:codeAction
(:dynamicRegistration :json-false :codeActionLiteralSupport
(:codeActionKind
(:valueSet
["quickfix" "refactor" "refactor.extract" "refactor.inline" "refactor.rewrite" "source" "source.organizeImports"]))
:isPreferredSupport t)
:formatting
(:dynamicRegistration :json-false)
:rangeFormatting
(:dynamicRegistration :json-false)
:rename
(:dynamicRegistration :json-false)
:inlayHint
(:dynamicRegistration :json-false)
:publishDiagnostics
(:relatedInformation :json-false :codeDescriptionSupport :json-false :tagSupport
(:valueSet
[1 2])))
:general
(:positionEncodings
["utf-32" "utf-8" "utf-16"])
:experimental #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
()))
:workspaceFolders
[(:uri "file:///tmp/eglot--fixturePO4VrS/project" :name "/tmp/eglot--fixturePO4VrS/project/")]))
[internal] Wed Mar 15 10:20:56 2023:
(:message "Connection state changed" :change "killed\n")
----------b---y---e---b---y---e----------
[stderr]
[stderr]
[stderr] nil
[stderr] nil
[stderr] Process EGLOT (project/(c-mode)) stderr finished
[internal] Wed Mar 15 10:21:17 2023:
(:message "Running language server: sh -c sleep 2 && clangd")
[client-request] (id:1) Wed Mar 15 10:21:17 2023:
(:jsonrpc "2.0" :id 1 :method "initialize" :params
(:processId 2017004 :rootPath "/tmp/eglot--fixturevereoR/project/" :rootUri "file:///tmp/eglot--fixturevereoR/project" :initializationOptions #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
())
:capabilities
(:workspace
(:applyEdit t :executeCommand
(:dynamicRegistration :json-false)
:workspaceEdit
(:documentChanges t)
:didChangeWatchedFiles
(:dynamicRegistration t)
:symbol
(:dynamicRegistration :json-false)
:configuration t :workspaceFolders t)
:textDocument
(:synchronization
(:dynamicRegistration :json-false :willSave t :willSaveWaitUntil t :didSave t)
:completion
(:dynamicRegistration :json-false :completionItem
(:snippetSupport :json-false :deprecatedSupport t :resolveSupport
(:properties
["documentation" "details" "additionalTextEdits"])
:tagSupport
(:valueSet
[1]))
:contextSupport t)
:hover
(:dynamicRegistration :json-false :contentFormat
["plaintext"])
:signatureHelp
(:dynamicRegistration :json-false :signatureInformation
(:parameterInformation
(:labelOffsetSupport t)
:activeParameterSupport t))
:references
(:dynamicRegistration :json-false)
:definition
(:dynamicRegistration :json-false :linkSupport t)
:declaration
(:dynamicRegistration :json-false :linkSupport t)
:implementation
(:dynamicRegistration :json-false :linkSupport t)
:typeDefinition
(:dynamicRegistration :json-false :linkSupport t)
:documentSymbol
(:dynamicRegistration :json-false :hierarchicalDocumentSymbolSupport t :symbolKind
(:valueSet
[1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26]))
:documentHighlight
(:dynamicRegistration :json-false)
:codeAction
(:dynamicRegistration :json-false :codeActionLiteralSupport
(:codeActionKind
(:valueSet
["quickfix" "refactor" "refactor.extract" "refactor.inline" "refactor.rewrite" "source" "source.organizeImports"]))
:isPreferredSupport t)
:formatting
(:dynamicRegistration :json-false)
:rangeFormatting
(:dynamicRegistration :json-false)
:rename
(:dynamicRegistration :json-false)
:inlayHint
(:dynamicRegistration :json-false)
:publishDiagnostics
(:relatedInformation :json-false :codeDescriptionSupport :json-false :tagSupport
(:valueSet
[1 2])))
:general
(:positionEncodings
["utf-32" "utf-8" "utf-16"])
:experimental #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
()))
:workspaceFolders
[(:uri "file:///tmp/eglot--fixturevereoR/project" :name "/tmp/eglot--fixturevereoR/project/")]))
[client-request] (id:2) Wed Mar 15 10:21:21 2023:
(:jsonrpc "2.0" :id 2 :method "shutdown" :params nil)
[internal] Wed Mar 15 10:21:24 2023:
(:message "Connection state changed" :change "killed\n")
----------b---y---e---b---y---e----------
[eglot-tests] Killing (something.c), wiping /tmp/eglot--fixturevereoR, restoring nil
Test eglot-test-slow-async-connection backtrace:
signal(error ("Timed out waiting for test to finish"))
error("%s" "Timed out waiting for test to finish")
(progn (error "%s" (concat "Timed out " message)))
(if (eq retval timed-out) (progn (error "%s" (concat "Timed out " me
(unwind-protect (setq retval (catch tag (setq timer (run-with-timer
(let* ((tag (gensym "eglot-test-timeout")) (timed-out (make-symbol "
eglot--call-with-timeout(3 (closure (company-candidates typescript-m
(let ((eglot-sync-connect 1) (eglot-server-programs '((c-mode "sh" "
(save-current-buffer (set-buffer (eglot--find-file-noselect "project
(closure (company-candidates typescript-mode-abbrev-table typescript
funcall((closure (company-candidates typescript-mode-abbrev-table ty
(prog1 (funcall fn) (setq test-body-successful-p t))
(let* ((process-environment (append (list "XDG_CONFIG_HOME=/dev/null
(unwind-protect (let* ((process-environment (append (list "XDG_CONFI
(let* ((fixture-directory (make-nearby-temp-file "eglot--fixture" t)
eglot--call-with-fixture((("project" ("something.c" . "int foo() {re
(closure (company-candidates typescript-mode-abbrev-table typescript
ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
ert-run-test(#s(ert-test :name eglot-test-slow-async-connection :doc
ert-run-or-rerun-test(#s(ert--stats :selector ... :tests ... :test-m
ert-run-tests((not (or (tag :unstable) (tag :nativecomp))) #f(compil
ert-run-tests-batch((not (or (tag :unstable) (tag :nativecomp))))
ert-run-tests-batch-and-exit((not (or (tag :unstable) (tag :nativeco
eval((ert-run-tests-batch-and-exit '(not (or (tag :unstable) (tag :n
command-line-1(("-L" ":." "-l" "ert" "-l" "lisp/progmodes/eglot-test
command-line()
normal-top-level()
Test eglot-test-slow-async-connection condition:
(error "Timed out waiting for test to finish")
FAILED 42/50 eglot-test-slow-async-connection (7.049764 sec) at lisp/progmodes/eglot-tests.el:938
[eglot-tests] [eglot-test-slow-sync-connection-intime]: test start
[jsonrpc] Server exited with status 9
[eglot-tests] [eglot-test-slow-sync-connection-intime]: FAILED
[eglot-tests] contents of ` *EGLOT (project/(c-mode)) output*':
[eglot-tests] contents of ` *EGLOT (project/(c-mode)) stderr*':
Process EGLOT (project/(c-mode)) stderr<1> finished
[eglot-tests] contents of `*EGLOT (project/(c-mode)) events*':
[internal] Wed Mar 15 10:20:46 2023:
(:message "Running language server: clangd")
[client-request] (id:1) Wed Mar 15 10:20:46 2023:
(:jsonrpc "2.0" :id 1 :method "initialize" :params
(:processId 2017004 :rootPath "/tmp/eglot--fixturePO4VrS/project/" :rootUri "file:///tmp/eglot--fixturePO4VrS/project" :initializationOptions #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
())
:capabilities
(:workspace
(:applyEdit t :executeCommand
(:dynamicRegistration :json-false)
:workspaceEdit
(:documentChanges t)
:didChangeWatchedFiles
(:dynamicRegistration t)
:symbol
(:dynamicRegistration :json-false)
:configuration t :workspaceFolders t)
:textDocument
(:synchronization
(:dynamicRegistration :json-false :willSave t :willSaveWaitUntil t :didSave t)
:completion
(:dynamicRegistration :json-false :completionItem
(:snippetSupport :json-false :deprecatedSupport t :resolveSupport
(:properties
["documentation" "details" "additionalTextEdits"])
:tagSupport
(:valueSet
[1]))
:contextSupport t)
:hover
(:dynamicRegistration :json-false :contentFormat
["plaintext"])
:signatureHelp
(:dynamicRegistration :json-false :signatureInformation
(:parameterInformation
(:labelOffsetSupport t)
:activeParameterSupport t))
:references
(:dynamicRegistration :json-false)
:definition
(:dynamicRegistration :json-false :linkSupport t)
:declaration
(:dynamicRegistration :json-false :linkSupport t)
:implementation
(:dynamicRegistration :json-false :linkSupport t)
:typeDefinition
(:dynamicRegistration :json-false :linkSupport t)
:documentSymbol
(:dynamicRegistration :json-false :hierarchicalDocumentSymbolSupport t :symbolKind
(:valueSet
[1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26]))
:documentHighlight
(:dynamicRegistration :json-false)
:codeAction
(:dynamicRegistration :json-false :codeActionLiteralSupport
(:codeActionKind
(:valueSet
["quickfix" "refactor" "refactor.extract" "refactor.inline" "refactor.rewrite" "source" "source.organizeImports"]))
:isPreferredSupport t)
:formatting
(:dynamicRegistration :json-false)
:rangeFormatting
(:dynamicRegistration :json-false)
:rename
(:dynamicRegistration :json-false)
:inlayHint
(:dynamicRegistration :json-false)
:publishDiagnostics
(:relatedInformation :json-false :codeDescriptionSupport :json-false :tagSupport
(:valueSet
[1 2])))
:general
(:positionEncodings
["utf-32" "utf-8" "utf-16"])
:experimental #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
()))
:workspaceFolders
[(:uri "file:///tmp/eglot--fixturePO4VrS/project" :name "/tmp/eglot--fixturePO4VrS/project/")]))
[internal] Wed Mar 15 10:20:56 2023:
(:message "Connection state changed" :change "killed\n")
----------b---y---e---b---y---e----------
[stderr]
[stderr]
[stderr] nil
[stderr] nil
[stderr] Process EGLOT (project/(c-mode)) stderr finished
[internal] Wed Mar 15 10:21:17 2023:
(:message "Running language server: sh -c sleep 2 && clangd")
[client-request] (id:1) Wed Mar 15 10:21:17 2023:
(:jsonrpc "2.0" :id 1 :method "initialize" :params
(:processId 2017004 :rootPath "/tmp/eglot--fixturevereoR/project/" :rootUri "file:///tmp/eglot--fixturevereoR/project" :initializationOptions #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
())
:capabilities
(:workspace
(:applyEdit t :executeCommand
(:dynamicRegistration :json-false)
:workspaceEdit
(:documentChanges t)
:didChangeWatchedFiles
(:dynamicRegistration t)
:symbol
(:dynamicRegistration :json-false)
:configuration t :workspaceFolders t)
:textDocument
(:synchronization
(:dynamicRegistration :json-false :willSave t :willSaveWaitUntil t :didSave t)
:completion
(:dynamicRegistration :json-false :completionItem
(:snippetSupport :json-false :deprecatedSupport t :resolveSupport
(:properties
["documentation" "details" "additionalTextEdits"])
:tagSupport
(:valueSet
[1]))
:contextSupport t)
:hover
(:dynamicRegistration :json-false :contentFormat
["plaintext"])
:signatureHelp
(:dynamicRegistration :json-false :signatureInformation
(:parameterInformation
(:labelOffsetSupport t)
:activeParameterSupport t))
:references
(:dynamicRegistration :json-false)
:definition
(:dynamicRegistration :json-false :linkSupport t)
:declaration
(:dynamicRegistration :json-false :linkSupport t)
:implementation
(:dynamicRegistration :json-false :linkSupport t)
:typeDefinition
(:dynamicRegistration :json-false :linkSupport t)
:documentSymbol
(:dynamicRegistration :json-false :hierarchicalDocumentSymbolSupport t :symbolKind
(:valueSet
[1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26]))
:documentHighlight
(:dynamicRegistration :json-false)
:codeAction
(:dynamicRegistration :json-false :codeActionLiteralSupport
(:codeActionKind
(:valueSet
["quickfix" "refactor" "refactor.extract" "refactor.inline" "refactor.rewrite" "source" "source.organizeImports"]))
:isPreferredSupport t)
:formatting
(:dynamicRegistration :json-false)
:rangeFormatting
(:dynamicRegistration :json-false)
:rename
(:dynamicRegistration :json-false)
:inlayHint
(:dynamicRegistration :json-false)
:publishDiagnostics
(:relatedInformation :json-false :codeDescriptionSupport :json-false :tagSupport
(:valueSet
[1 2])))
:general
(:positionEncodings
["utf-32" "utf-8" "utf-16"])
:experimental #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
()))
:workspaceFolders
[(:uri "file:///tmp/eglot--fixturevereoR/project" :name "/tmp/eglot--fixturevereoR/project/")]))
[client-request] (id:2) Wed Mar 15 10:21:21 2023:
(:jsonrpc "2.0" :id 2 :method "shutdown" :params nil)
[internal] Wed Mar 15 10:21:24 2023:
(:message "Connection state changed" :change "killed\n")
----------b---y---e---b---y---e----------
[stderr]
[stderr]
[stderr] nil
[stderr] nil
[stderr] Process EGLOT (project/(c-mode)) stderr finished
[internal] Wed Mar 15 10:21:24 2023:
(:message "Running language server: sh -c sleep 1 && clangd")
[client-request] (id:1) Wed Mar 15 10:21:24 2023:
(:jsonrpc "2.0" :id 1 :method "initialize" :params
(:processId 2017004 :rootPath "/tmp/eglot--fixturergwKZj/project/" :rootUri "file:///tmp/eglot--fixturergwKZj/project" :initializationOptions #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
())
:capabilities
(:workspace
(:applyEdit t :executeCommand
(:dynamicRegistration :json-false)
:workspaceEdit
(:documentChanges t)
:didChangeWatchedFiles
(:dynamicRegistration t)
:symbol
(:dynamicRegistration :json-false)
:configuration t :workspaceFolders t)
:textDocument
(:synchronization
(:dynamicRegistration :json-false :willSave t :willSaveWaitUntil t :didSave t)
:completion
(:dynamicRegistration :json-false :completionItem
(:snippetSupport :json-false :deprecatedSupport t :resolveSupport
(:properties
["documentation" "details" "additionalTextEdits"])
:tagSupport
(:valueSet
[1]))
:contextSupport t)
:hover
(:dynamicRegistration :json-false :contentFormat
["plaintext"])
:signatureHelp
(:dynamicRegistration :json-false :signatureInformation
(:parameterInformation
(:labelOffsetSupport t)
:activeParameterSupport t))
:references
(:dynamicRegistration :json-false)
:definition
(:dynamicRegistration :json-false :linkSupport t)
:declaration
(:dynamicRegistration :json-false :linkSupport t)
:implementation
(:dynamicRegistration :json-false :linkSupport t)
:typeDefinition
(:dynamicRegistration :json-false :linkSupport t)
:documentSymbol
(:dynamicRegistration :json-false :hierarchicalDocumentSymbolSupport t :symbolKind
(:valueSet
[1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26]))
:documentHighlight
(:dynamicRegistration :json-false)
:codeAction
(:dynamicRegistration :json-false :codeActionLiteralSupport
(:codeActionKind
(:valueSet
["quickfix" "refactor" "refactor.extract" "refactor.inline" "refactor.rewrite" "source" "source.organizeImports"]))
:isPreferredSupport t)
:formatting
(:dynamicRegistration :json-false)
:rangeFormatting
(:dynamicRegistration :json-false)
:rename
(:dynamicRegistration :json-false)
:inlayHint
(:dynamicRegistration :json-false)
:publishDiagnostics
(:relatedInformation :json-false :codeDescriptionSupport :json-false :tagSupport
(:valueSet
[1 2])))
:general
(:positionEncodings
["utf-32" "utf-8" "utf-16"])
:experimental #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
()))
:workspaceFolders
[(:uri "file:///tmp/eglot--fixturergwKZj/project" :name "/tmp/eglot--fixturergwKZj/project/")]))
[internal] Wed Mar 15 10:21:27 2023:
(:message "Connection state changed" :change "killed\n")
----------b---y---e---b---y---e----------
[stderr]
[stderr]
[stderr] nil
[stderr] nil
[stderr] Process EGLOT (project/(c-mode)) stderr<1> finished
[eglot-tests] Killing (something.c), wiping /tmp/eglot--fixturergwKZj, restoring nil
Test eglot-test-slow-sync-connection-intime backtrace:
signal(error ("[eglot] Timed out after 3 seconds"))
error("[eglot] %s" "Timed out after 3 seconds")
eglot--error("Timed out after 3 seconds")
eglot--connect((c-mode) (transient . "/tmp/eglot--fixturergwKZj/proj
apply(eglot--connect ((c-mode) (transient . "/tmp/eglot--fixturergwK
(let* ((timeout (or timeout 10)) (eglot-sync-connect t) (eglot-conne
eglot--tests-connect(3)
apply(eglot--tests-connect 3)
(setq value-476 (apply fn-474 args-475))
(unwind-protect (setq value-476 (apply fn-474 args-475)) (setq form-
(if (unwind-protect (setq value-476 (apply fn-474 args-475)) (setq f
(let (form-description-478) (if (unwind-protect (setq value-476 (app
(let ((value-476 'ert-form-evaluation-aborted-477)) (let (form-descr
(let* ((fn-474 #'eglot--tests-connect) (args-475 (condition-case err
(let ((eglot-sync-connect 2) (eglot-server-programs '((c-mode "sh" "
(save-current-buffer (set-buffer (eglot--find-file-noselect "project
(closure (company-candidates typescript-mode-abbrev-table typescript
funcall((closure (company-candidates typescript-mode-abbrev-table ty
(prog1 (funcall fn) (setq test-body-successful-p t))
(let* ((process-environment (append (list "XDG_CONFIG_HOME=/dev/null
(unwind-protect (let* ((process-environment (append (list "XDG_CONFI
(let* ((fixture-directory (make-nearby-temp-file "eglot--fixture" t)
eglot--call-with-fixture((("project" ("something.c" . "int foo() {re
(closure (company-candidates typescript-mode-abbrev-table typescript
ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
ert-run-test(#s(ert-test :name eglot-test-slow-sync-connection-intim
ert-run-or-rerun-test(#s(ert--stats :selector ... :tests ... :test-m
ert-run-tests((not (or (tag :unstable) (tag :nativecomp))) #f(compil
ert-run-tests-batch((not (or (tag :unstable) (tag :nativecomp))))
ert-run-tests-batch-and-exit((not (or (tag :unstable) (tag :nativeco
eval((ert-run-tests-batch-and-exit '(not (or (tag :unstable) (tag :n
command-line-1(("-L" ":." "-l" "ert" "-l" "lisp/progmodes/eglot-test
command-line()
normal-top-level()
Test eglot-test-slow-sync-connection-intime condition:
(error "[eglot] Timed out after 3 seconds")
FAILED 43/50 eglot-test-slow-sync-connection-intime (3.150838 sec) at lisp/progmodes/eglot-tests.el:926
[eglot-tests] [eglot-test-slow-sync-connection-wait]: test start
[jsonrpc] Server exited with status 9
[eglot-tests] [eglot-test-slow-sync-connection-wait]: FAILED
[eglot-tests] contents of ` *EGLOT (project/(c-mode)) output*':
[eglot-tests] contents of ` *EGLOT (project/(c-mode)) stderr*':
Process EGLOT (project/(c-mode)) stderr finished
[eglot-tests] contents of `*EGLOT (project/(c-mode)) events*':
[internal] Wed Mar 15 10:20:46 2023:
(:message "Running language server: clangd")
[client-request] (id:1) Wed Mar 15 10:20:46 2023:
(:jsonrpc "2.0" :id 1 :method "initialize" :params
(:processId 2017004 :rootPath "/tmp/eglot--fixturePO4VrS/project/" :rootUri "file:///tmp/eglot--fixturePO4VrS/project" :initializationOptions #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
())
:capabilities
(:workspace
(:applyEdit t :executeCommand
(:dynamicRegistration :json-false)
:workspaceEdit
(:documentChanges t)
:didChangeWatchedFiles
(:dynamicRegistration t)
:symbol
(:dynamicRegistration :json-false)
:configuration t :workspaceFolders t)
:textDocument
(:synchronization
(:dynamicRegistration :json-false :willSave t :willSaveWaitUntil t :didSave t)
:completion
(:dynamicRegistration :json-false :completionItem
(:snippetSupport :json-false :deprecatedSupport t :resolveSupport
(:properties
["documentation" "details" "additionalTextEdits"])
:tagSupport
(:valueSet
[1]))
:contextSupport t)
:hover
(:dynamicRegistration :json-false :contentFormat
["plaintext"])
:signatureHelp
(:dynamicRegistration :json-false :signatureInformation
(:parameterInformation
(:labelOffsetSupport t)
:activeParameterSupport t))
:references
(:dynamicRegistration :json-false)
:definition
(:dynamicRegistration :json-false :linkSupport t)
:declaration
(:dynamicRegistration :json-false :linkSupport t)
:implementation
(:dynamicRegistration :json-false :linkSupport t)
:typeDefinition
(:dynamicRegistration :json-false :linkSupport t)
:documentSymbol
(:dynamicRegistration :json-false :hierarchicalDocumentSymbolSupport t :symbolKind
(:valueSet
[1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26]))
:documentHighlight
(:dynamicRegistration :json-false)
:codeAction
(:dynamicRegistration :json-false :codeActionLiteralSupport
(:codeActionKind
(:valueSet
["quickfix" "refactor" "refactor.extract" "refactor.inline" "refactor.rewrite" "source" "source.organizeImports"]))
:isPreferredSupport t)
:formatting
(:dynamicRegistration :json-false)
:rangeFormatting
(:dynamicRegistration :json-false)
:rename
(:dynamicRegistration :json-false)
:inlayHint
(:dynamicRegistration :json-false)
:publishDiagnostics
(:relatedInformation :json-false :codeDescriptionSupport :json-false :tagSupport
(:valueSet
[1 2])))
:general
(:positionEncodings
["utf-32" "utf-8" "utf-16"])
:experimental #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
()))
:workspaceFolders
[(:uri "file:///tmp/eglot--fixturePO4VrS/project" :name "/tmp/eglot--fixturePO4VrS/project/")]))
[internal] Wed Mar 15 10:20:56 2023:
(:message "Connection state changed" :change "killed\n")
----------b---y---e---b---y---e----------
[stderr]
[stderr]
[stderr] nil
[stderr] nil
[stderr] Process EGLOT (project/(c-mode)) stderr finished
[internal] Wed Mar 15 10:21:17 2023:
(:message "Running language server: sh -c sleep 2 && clangd")
[client-request] (id:1) Wed Mar 15 10:21:17 2023:
(:jsonrpc "2.0" :id 1 :method "initialize" :params
(:processId 2017004 :rootPath "/tmp/eglot--fixturevereoR/project/" :rootUri "file:///tmp/eglot--fixturevereoR/project" :initializationOptions #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
())
:capabilities
(:workspace
(:applyEdit t :executeCommand
(:dynamicRegistration :json-false)
:workspaceEdit
(:documentChanges t)
:didChangeWatchedFiles
(:dynamicRegistration t)
:symbol
(:dynamicRegistration :json-false)
:configuration t :workspaceFolders t)
:textDocument
(:synchronization
(:dynamicRegistration :json-false :willSave t :willSaveWaitUntil t :didSave t)
:completion
(:dynamicRegistration :json-false :completionItem
(:snippetSupport :json-false :deprecatedSupport t :resolveSupport
(:properties
["documentation" "details" "additionalTextEdits"])
:tagSupport
(:valueSet
[1]))
:contextSupport t)
:hover
(:dynamicRegistration :json-false :contentFormat
["plaintext"])
:signatureHelp
(:dynamicRegistration :json-false :signatureInformation
(:parameterInformation
(:labelOffsetSupport t)
:activeParameterSupport t))
:references
(:dynamicRegistration :json-false)
:definition
(:dynamicRegistration :json-false :linkSupport t)
:declaration
(:dynamicRegistration :json-false :linkSupport t)
:implementation
(:dynamicRegistration :json-false :linkSupport t)
:typeDefinition
(:dynamicRegistration :json-false :linkSupport t)
:documentSymbol
(:dynamicRegistration :json-false :hierarchicalDocumentSymbolSupport t :symbolKind
(:valueSet
[1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26]))
:documentHighlight
(:dynamicRegistration :json-false)
:codeAction
(:dynamicRegistration :json-false :codeActionLiteralSupport
(:codeActionKind
(:valueSet
["quickfix" "refactor" "refactor.extract" "refactor.inline" "refactor.rewrite" "source" "source.organizeImports"]))
:isPreferredSupport t)
:formatting
(:dynamicRegistration :json-false)
:rangeFormatting
(:dynamicRegistration :json-false)
:rename
(:dynamicRegistration :json-false)
:inlayHint
(:dynamicRegistration :json-false)
:publishDiagnostics
(:relatedInformation :json-false :codeDescriptionSupport :json-false :tagSupport
(:valueSet
[1 2])))
:general
(:positionEncodings
["utf-32" "utf-8" "utf-16"])
:experimental #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
()))
:workspaceFolders
[(:uri "file:///tmp/eglot--fixturevereoR/project" :name "/tmp/eglot--fixturevereoR/project/")]))
[client-request] (id:2) Wed Mar 15 10:21:21 2023:
(:jsonrpc "2.0" :id 2 :method "shutdown" :params nil)
[internal] Wed Mar 15 10:21:24 2023:
(:message "Connection state changed" :change "killed\n")
----------b---y---e---b---y---e----------
[stderr]
[stderr]
[stderr] nil
[stderr] nil
[stderr] Process EGLOT (project/(c-mode)) stderr finished
[internal] Wed Mar 15 10:21:24 2023:
(:message "Running language server: sh -c sleep 1 && clangd")
[client-request] (id:1) Wed Mar 15 10:21:24 2023:
(:jsonrpc "2.0" :id 1 :method "initialize" :params
(:processId 2017004 :rootPath "/tmp/eglot--fixturergwKZj/project/" :rootUri "file:///tmp/eglot--fixturergwKZj/project" :initializationOptions #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
())
:capabilities
(:workspace
(:applyEdit t :executeCommand
(:dynamicRegistration :json-false)
:workspaceEdit
(:documentChanges t)
:didChangeWatchedFiles
(:dynamicRegistration t)
:symbol
(:dynamicRegistration :json-false)
:configuration t :workspaceFolders t)
:textDocument
(:synchronization
(:dynamicRegistration :json-false :willSave t :willSaveWaitUntil t :didSave t)
:completion
(:dynamicRegistration :json-false :completionItem
(:snippetSupport :json-false :deprecatedSupport t :resolveSupport
(:properties
["documentation" "details" "additionalTextEdits"])
:tagSupport
(:valueSet
[1]))
:contextSupport t)
:hover
(:dynamicRegistration :json-false :contentFormat
["plaintext"])
:signatureHelp
(:dynamicRegistration :json-false :signatureInformation
(:parameterInformation
(:labelOffsetSupport t)
:activeParameterSupport t))
:references
(:dynamicRegistration :json-false)
:definition
(:dynamicRegistration :json-false :linkSupport t)
:declaration
(:dynamicRegistration :json-false :linkSupport t)
:implementation
(:dynamicRegistration :json-false :linkSupport t)
:typeDefinition
(:dynamicRegistration :json-false :linkSupport t)
:documentSymbol
(:dynamicRegistration :json-false :hierarchicalDocumentSymbolSupport t :symbolKind
(:valueSet
[1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26]))
:documentHighlight
(:dynamicRegistration :json-false)
:codeAction
(:dynamicRegistration :json-false :codeActionLiteralSupport
(:codeActionKind
(:valueSet
["quickfix" "refactor" "refactor.extract" "refactor.inline" "refactor.rewrite" "source" "source.organizeImports"]))
:isPreferredSupport t)
:formatting
(:dynamicRegistration :json-false)
:rangeFormatting
(:dynamicRegistration :json-false)
:rename
(:dynamicRegistration :json-false)
:inlayHint
(:dynamicRegistration :json-false)
:publishDiagnostics
(:relatedInformation :json-false :codeDescriptionSupport :json-false :tagSupport
(:valueSet
[1 2])))
:general
(:positionEncodings
["utf-32" "utf-8" "utf-16"])
:experimental #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
()))
:workspaceFolders
[(:uri "file:///tmp/eglot--fixturergwKZj/project" :name "/tmp/eglot--fixturergwKZj/project/")]))
[internal] Wed Mar 15 10:21:27 2023:
(:message "Connection state changed" :change "killed\n")
----------b---y---e---b---y---e----------
[stderr]
[stderr]
[stderr] nil
[stderr] nil
[stderr] Process EGLOT (project/(c-mode)) stderr<1> finished
[internal] Wed Mar 15 10:21:28 2023:
(:message "Running language server: sh -c sleep 1 && clangd")
[client-request] (id:1) Wed Mar 15 10:21:28 2023:
(:jsonrpc "2.0" :id 1 :method "initialize" :params
(:processId 2017004 :rootPath "/tmp/eglot--fixturePSEZX9/project/" :rootUri "file:///tmp/eglot--fixturePSEZX9/project" :initializationOptions #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
())
:capabilities
(:workspace
(:applyEdit t :executeCommand
(:dynamicRegistration :json-false)
:workspaceEdit
(:documentChanges t)
:didChangeWatchedFiles
(:dynamicRegistration t)
:symbol
(:dynamicRegistration :json-false)
:configuration t :workspaceFolders t)
:textDocument
(:synchronization
(:dynamicRegistration :json-false :willSave t :willSaveWaitUntil t :didSave t)
:completion
(:dynamicRegistration :json-false :completionItem
(:snippetSupport :json-false :deprecatedSupport t :resolveSupport
(:properties
["documentation" "details" "additionalTextEdits"])
:tagSupport
(:valueSet
[1]))
:contextSupport t)
:hover
(:dynamicRegistration :json-false :contentFormat
["plaintext"])
:signatureHelp
(:dynamicRegistration :json-false :signatureInformation
(:parameterInformation
(:labelOffsetSupport t)
:activeParameterSupport t))
:references
(:dynamicRegistration :json-false)
:definition
(:dynamicRegistration :json-false :linkSupport t)
:declaration
(:dynamicRegistration :json-false :linkSupport t)
:implementation
(:dynamicRegistration :json-false :linkSupport t)
:typeDefinition
(:dynamicRegistration :json-false :linkSupport t)
:documentSymbol
(:dynamicRegistration :json-false :hierarchicalDocumentSymbolSupport t :symbolKind
(:valueSet
[1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26]))
:documentHighlight
(:dynamicRegistration :json-false)
:codeAction
(:dynamicRegistration :json-false :codeActionLiteralSupport
(:codeActionKind
(:valueSet
["quickfix" "refactor" "refactor.extract" "refactor.inline" "refactor.rewrite" "source" "source.organizeImports"]))
:isPreferredSupport t)
:formatting
(:dynamicRegistration :json-false)
:rangeFormatting
(:dynamicRegistration :json-false)
:rename
(:dynamicRegistration :json-false)
:inlayHint
(:dynamicRegistration :json-false)
:publishDiagnostics
(:relatedInformation :json-false :codeDescriptionSupport :json-false :tagSupport
(:valueSet
[1 2])))
:general
(:positionEncodings
["utf-32" "utf-8" "utf-16"])
:experimental #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
()))
:workspaceFolders
[(:uri "file:///tmp/eglot--fixturePSEZX9/project" :name "/tmp/eglot--fixturePSEZX9/project/")]))
[internal] Wed Mar 15 10:21:31 2023:
(:message "Connection state changed" :change "killed\n")
----------b---y---e---b---y---e----------
[stderr]
[stderr]
[stderr] nil
[stderr] nil
[stderr] Process EGLOT (project/(c-mode)) stderr finished
[eglot-tests] Killing (something.c), wiping /tmp/eglot--fixturePSEZX9, restoring nil
Test eglot-test-slow-sync-connection-wait backtrace:
signal(error ("[eglot] Timed out after 3 seconds"))
error("[eglot] %s" "Timed out after 3 seconds")
eglot--error("Timed out after 3 seconds")
eglot--connect((c-mode) (transient . "/tmp/eglot--fixturePSEZX9/proj
apply(eglot--connect ((c-mode) (transient . "/tmp/eglot--fixturePSEZ
(let* ((timeout (or timeout 10)) (eglot-sync-connect t) (eglot-conne
eglot--tests-connect(3)
apply(eglot--tests-connect 3)
(setq value-466 (apply fn-464 args-465))
(unwind-protect (setq value-466 (apply fn-464 args-465)) (setq form-
(if (unwind-protect (setq value-466 (apply fn-464 args-465)) (setq f
(let (form-description-468) (if (unwind-protect (setq value-466 (app
(let ((value-466 'ert-form-evaluation-aborted-467)) (let (form-descr
(let* ((fn-464 #'eglot--tests-connect) (args-465 (condition-case err
(let ((eglot-sync-connect t) (eglot-server-programs '((c-mode "sh" "
(save-current-buffer (set-buffer (eglot--find-file-noselect "project
(closure (company-candidates typescript-mode-abbrev-table typescript
funcall((closure (company-candidates typescript-mode-abbrev-table ty
(prog1 (funcall fn) (setq test-body-successful-p t))
(let* ((process-environment (append (list "XDG_CONFIG_HOME=/dev/null
(unwind-protect (let* ((process-environment (append (list "XDG_CONFI
(let* ((fixture-directory (make-nearby-temp-file "eglot--fixture" t)
eglot--call-with-fixture((("project" ("something.c" . "int foo() {re
(closure (company-candidates typescript-mode-abbrev-table typescript
ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
ert-run-test(#s(ert-test :name eglot-test-slow-sync-connection-wait
ert-run-or-rerun-test(#s(ert--stats :selector ... :tests ... :test-m
ert-run-tests((not (or (tag :unstable) (tag :nativecomp))) #f(compil
ert-run-tests-batch((not (or (tag :unstable) (tag :nativecomp))))
ert-run-tests-batch-and-exit((not (or (tag :unstable) (tag :nativeco
eval((ert-run-tests-batch-and-exit '(not (or (tag :unstable) (tag :n
command-line-1(("-L" ":." "-l" "ert" "-l" "lisp/progmodes/eglot-test
command-line()
normal-top-level()
Test eglot-test-slow-sync-connection-wait condition:
(error "[eglot] Timed out after 3 seconds")
FAILED 44/50 eglot-test-slow-sync-connection-wait (3.193473 sec) at lisp/progmodes/eglot-tests.el:914
[eglot-tests] [eglot-test-slow-sync-timeout]: test start
[jsonrpc] Server exited with status 9
[eglot-tests] [eglot-test-slow-sync-timeout]: OK
[eglot-tests] Killing (something.c), wiping /tmp/eglot--fixtureqvce4y, restoring nil
passed 45/50 eglot-test-slow-sync-timeout (1.129448 sec)
skipped 46/50 eglot-test-snippet-completions (0.010595 sec)
skipped 47/50 eglot-test-snippet-completions-with-company (0.000331 sec)
passed 48/50 eglot-test-strict-interfaces (0.000356 sec)
[eglot-tests] [eglot-test-tramp-test]: test start
[jsonrpc] Server exited with status 9
[eglot-tests] [eglot-test-tramp-test]: FAILED
[eglot-tests] contents of ` *EGLOT (project/(c-mode c-ts-mode c++-mode c++-ts-mode)) output*':
[eglot-tests] contents of ` *EGLOT (project/(c-mode c-ts-mode c++-mode c++-ts-mode)) stderr*':
[eglot-tests] contents of `*EGLOT (project/(c-mode c-ts-mode c++-mode c++-ts-mode)) events*':
[internal] Wed Mar 15 10:19:58 2023:
(:message "Running language server: /var/lib/snapd/snap/bin/clangd")
[client-request] (id:1) Wed Mar 15 10:19:58 2023:
(:jsonrpc "2.0" :id 1 :method "initialize" :params
(:processId 2017004 :rootPath "/tmp/eglot--fixtureGOqwaT/project/" :rootUri "file:///tmp/eglot--fixtureGOqwaT/project" :initializationOptions #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
())
:capabilities
(:workspace
(:applyEdit t :executeCommand
(:dynamicRegistration :json-false)
:workspaceEdit
(:documentChanges t)
:didChangeWatchedFiles
(:dynamicRegistration t)
:symbol
(:dynamicRegistration :json-false)
:configuration t :workspaceFolders t)
:textDocument
(:synchronization
(:dynamicRegistration :json-false :willSave t :willSaveWaitUntil t :didSave t)
:completion
(:dynamicRegistration :json-false :completionItem
(:snippetSupport :json-false :deprecatedSupport t :resolveSupport
(:properties
["documentation" "details" "additionalTextEdits"])
:tagSupport
(:valueSet
[1]))
:contextSupport t)
:hover
(:dynamicRegistration :json-false :contentFormat
["plaintext"])
:signatureHelp
(:dynamicRegistration :json-false :signatureInformation
(:parameterInformation
(:labelOffsetSupport t)
:activeParameterSupport t))
:references
(:dynamicRegistration :json-false)
:definition
(:dynamicRegistration :json-false :linkSupport t)
:declaration
(:dynamicRegistration :json-false :linkSupport t)
:implementation
(:dynamicRegistration :json-false :linkSupport t)
:typeDefinition
(:dynamicRegistration :json-false :linkSupport t)
:documentSymbol
(:dynamicRegistration :json-false :hierarchicalDocumentSymbolSupport t :symbolKind
(:valueSet
[1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26]))
:documentHighlight
(:dynamicRegistration :json-false)
:codeAction
(:dynamicRegistration :json-false :codeActionLiteralSupport
(:codeActionKind
(:valueSet
["quickfix" "refactor" "refactor.extract" "refactor.inline" "refactor.rewrite" "source" "source.organizeImports"]))
:isPreferredSupport t)
:formatting
(:dynamicRegistration :json-false)
:rangeFormatting
(:dynamicRegistration :json-false)
:rename
(:dynamicRegistration :json-false)
:inlayHint
(:dynamicRegistration :json-false)
:publishDiagnostics
(:relatedInformation :json-false :codeDescriptionSupport :json-false :tagSupport
(:valueSet
[1 2])))
:general
(:positionEncodings
["utf-32" "utf-8" "utf-16"])
:experimental #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
()))
:workspaceFolders
[(:uri "file:///tmp/eglot--fixtureGOqwaT/project" :name "/tmp/eglot--fixtureGOqwaT/project/")]))
[internal] Wed Mar 15 10:20:08 2023:
(:message "Connection state changed" :change "killed\n")
----------b---y---e---b---y---e----------
[stderr]
[stderr]
[stderr] nil
[stderr] nil
[stderr] Process EGLOT (project/(c-mode c-ts-mode c++-mode c++-ts-mode)) stderr finished
[internal] Wed Mar 15 10:20:08 2023:
(:message "Running language server: /var/lib/snapd/snap/bin/clangd")
[client-request] (id:1) Wed Mar 15 10:20:08 2023:
(:jsonrpc "2.0" :id 1 :method "initialize" :params
(:processId 2017004 :rootPath "/tmp/eglot--fixturewNlzZp/project/" :rootUri "file:///tmp/eglot--fixturewNlzZp/project" :initializationOptions #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
())
:capabilities
(:workspace
(:applyEdit t :executeCommand
(:dynamicRegistration :json-false)
:workspaceEdit
(:documentChanges t)
:didChangeWatchedFiles
(:dynamicRegistration t)
:symbol
(:dynamicRegistration :json-false)
:configuration t :workspaceFolders t)
:textDocument
(:synchronization
(:dynamicRegistration :json-false :willSave t :willSaveWaitUntil t :didSave t)
:completion
(:dynamicRegistration :json-false :completionItem
(:snippetSupport :json-false :deprecatedSupport t :resolveSupport
(:properties
["documentation" "details" "additionalTextEdits"])
:tagSupport
(:valueSet
[1]))
:contextSupport t)
:hover
(:dynamicRegistration :json-false :contentFormat
["plaintext"])
:signatureHelp
(:dynamicRegistration :json-false :signatureInformation
(:parameterInformation
(:labelOffsetSupport t)
:activeParameterSupport t))
:references
(:dynamicRegistration :json-false)
:definition
(:dynamicRegistration :json-false :linkSupport t)
:declaration
(:dynamicRegistration :json-false :linkSupport t)
:implementation
(:dynamicRegistration :json-false :linkSupport t)
:typeDefinition
(:dynamicRegistration :json-false :linkSupport t)
:documentSymbol
(:dynamicRegistration :json-false :hierarchicalDocumentSymbolSupport t :symbolKind
(:valueSet
[1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26]))
:documentHighlight
(:dynamicRegistration :json-false)
:codeAction
(:dynamicRegistration :json-false :codeActionLiteralSupport
(:codeActionKind
(:valueSet
["quickfix" "refactor" "refactor.extract" "refactor.inline" "refactor.rewrite" "source" "source.organizeImports"]))
:isPreferredSupport t)
:formatting
(:dynamicRegistration :json-false)
:rangeFormatting
(:dynamicRegistration :json-false)
:rename
(:dynamicRegistration :json-false)
:inlayHint
(:dynamicRegistration :json-false)
:publishDiagnostics
(:relatedInformation :json-false :codeDescriptionSupport :json-false :tagSupport
(:valueSet
[1 2])))
:general
(:positionEncodings
["utf-32" "utf-8" "utf-16"])
:experimental #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
()))
:workspaceFolders
[(:uri "file:///tmp/eglot--fixturewNlzZp/project" :name "/tmp/eglot--fixturewNlzZp/project/")]))
[internal] Wed Mar 15 10:20:18 2023:
(:message "Connection state changed" :change "killed\n")
----------b---y---e---b---y---e----------
[stderr]
[stderr]
[stderr] nil
[stderr] nil
[stderr] Process EGLOT (project/(c-mode c-ts-mode c++-mode c++-ts-mode)) stderr finished
[internal] Wed Mar 15 10:20:18 2023:
(:message "Running language server: /var/lib/snapd/snap/bin/clangd")
[client-request] (id:1) Wed Mar 15 10:20:18 2023:
(:jsonrpc "2.0" :id 1 :method "initialize" :params
(:processId 2017004 :rootPath "/tmp/eglot--fixturehfF6Pn/project/" :rootUri "file:///tmp/eglot--fixturehfF6Pn/project" :initializationOptions #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
())
:capabilities
(:workspace
(:applyEdit t :executeCommand
(:dynamicRegistration :json-false)
:workspaceEdit
(:documentChanges t)
:didChangeWatchedFiles
(:dynamicRegistration t)
:symbol
(:dynamicRegistration :json-false)
:configuration t :workspaceFolders t)
:textDocument
(:synchronization
(:dynamicRegistration :json-false :willSave t :willSaveWaitUntil t :didSave t)
:completion
(:dynamicRegistration :json-false :completionItem
(:snippetSupport :json-false :deprecatedSupport t :resolveSupport
(:properties
["documentation" "details" "additionalTextEdits"])
:tagSupport
(:valueSet
[1]))
:contextSupport t)
:hover
(:dynamicRegistration :json-false :contentFormat
["plaintext"])
:signatureHelp
(:dynamicRegistration :json-false :signatureInformation
(:parameterInformation
(:labelOffsetSupport t)
:activeParameterSupport t))
:references
(:dynamicRegistration :json-false)
:definition
(:dynamicRegistration :json-false :linkSupport t)
:declaration
(:dynamicRegistration :json-false :linkSupport t)
:implementation
(:dynamicRegistration :json-false :linkSupport t)
:typeDefinition
(:dynamicRegistration :json-false :linkSupport t)
:documentSymbol
(:dynamicRegistration :json-false :hierarchicalDocumentSymbolSupport t :symbolKind
(:valueSet
[1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26]))
:documentHighlight
(:dynamicRegistration :json-false)
:codeAction
(:dynamicRegistration :json-false :codeActionLiteralSupport
(:codeActionKind
(:valueSet
["quickfix" "refactor" "refactor.extract" "refactor.inline" "refactor.rewrite" "source" "source.organizeImports"]))
:isPreferredSupport t)
:formatting
(:dynamicRegistration :json-false)
:rangeFormatting
(:dynamicRegistration :json-false)
:rename
(:dynamicRegistration :json-false)
:inlayHint
(:dynamicRegistration :json-false)
:publishDiagnostics
(:relatedInformation :json-false :codeDescriptionSupport :json-false :tagSupport
(:valueSet
[1 2])))
:general
(:positionEncodings
["utf-32" "utf-8" "utf-16"])
:experimental #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
()))
:workspaceFolders
[(:uri "file:///tmp/eglot--fixturehfF6Pn/project" :name "/tmp/eglot--fixturehfF6Pn/project/")]))
[internal] Wed Mar 15 10:20:28 2023:
(:message "Connection state changed" :change "killed\n")
----------b---y---e---b---y---e----------
[stderr]
[stderr]
[stderr] nil
[stderr] nil
[stderr] Process EGLOT (project/(c-mode c-ts-mode c++-mode c++-ts-mode)) stderr finished
[internal] Wed Mar 15 10:20:39 2023:
(:message "Running language server: /var/lib/snapd/snap/bin/clangd")
[client-request] (id:1) Wed Mar 15 10:20:39 2023:
(:jsonrpc "2.0" :id 1 :method "initialize" :params
(:processId 2017004 :rootPath "/tmp/eglot--fixtureRUxVaa/project/" :rootUri "file:///tmp/eglot--fixtureRUxVaa/project" :initializationOptions #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
())
:capabilities
(:workspace
(:applyEdit t :executeCommand
(:dynamicRegistration :json-false)
:workspaceEdit
(:documentChanges t)
:didChangeWatchedFiles
(:dynamicRegistration t)
:symbol
(:dynamicRegistration :json-false)
:configuration t :workspaceFolders t)
:textDocument
(:synchronization
(:dynamicRegistration :json-false :willSave t :willSaveWaitUntil t :didSave t)
:completion
(:dynamicRegistration :json-false :completionItem
(:snippetSupport :json-false :deprecatedSupport t :resolveSupport
(:properties
["documentation" "details" "additionalTextEdits"])
:tagSupport
(:valueSet
[1]))
:contextSupport t)
:hover
(:dynamicRegistration :json-false :contentFormat
["plaintext"])
:signatureHelp
(:dynamicRegistration :json-false :signatureInformation
(:parameterInformation
(:labelOffsetSupport t)
:activeParameterSupport t))
:references
(:dynamicRegistration :json-false)
:definition
(:dynamicRegistration :json-false :linkSupport t)
:declaration
(:dynamicRegistration :json-false :linkSupport t)
:implementation
(:dynamicRegistration :json-false :linkSupport t)
:typeDefinition
(:dynamicRegistration :json-false :linkSupport t)
:documentSymbol
(:dynamicRegistration :json-false :hierarchicalDocumentSymbolSupport t :symbolKind
(:valueSet
[1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26]))
:documentHighlight
(:dynamicRegistration :json-false)
:codeAction
(:dynamicRegistration :json-false :codeActionLiteralSupport
(:codeActionKind
(:valueSet
["quickfix" "refactor" "refactor.extract" "refactor.inline" "refactor.rewrite" "source" "source.organizeImports"]))
:isPreferredSupport t)
:formatting
(:dynamicRegistration :json-false)
:rangeFormatting
(:dynamicRegistration :json-false)
:rename
(:dynamicRegistration :json-false)
:inlayHint
(:dynamicRegistration :json-false)
:publishDiagnostics
(:relatedInformation :json-false :codeDescriptionSupport :json-false :tagSupport
(:valueSet
[1 2])))
:general
(:positionEncodings
["utf-32" "utf-8" "utf-16"])
:experimental #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
()))
:workspaceFolders
[(:uri "file:///tmp/eglot--fixtureRUxVaa/project" :name "/tmp/eglot--fixtureRUxVaa/project/")]))
[client-request] (id:2) Wed Mar 15 10:20:42 2023:
(:jsonrpc "2.0" :id 2 :method "shutdown" :params nil)
[internal] Wed Mar 15 10:20:45 2023:
(:message "Connection state changed" :change "killed\n")
----------b---y---e---b---y---e----------
[stderr]
[stderr]
[stderr] nil
[stderr] nil
[stderr] Process EGLOT (project/(c-mode c-ts-mode c++-mode c++-ts-mode)) stderr finished
[stderr] nil
[stderr]
[stderr] nil
[stderr]
[stderr] nil
[stderr]
[stderr] nil
[stderr]
[stderr] nil
[stderr]
[stderr] foo
[stderr] foo
[stderr] foo
[stderr]
[stderr] foo
[stderr] bar
[stderr] nil
[stderr] bar
[stderr]
[stderr] nil
[stderr]
[stderr] nil
[stderr]
[stderr] nil
[stderr]
[stderr] nil
[stderr]
[stderr] "/dev/pts/5"
[stderr] tramp_exit_status 0
[stderr] nil
[stderr] tramp_exit_status 0
[stderr] "/dev/pts/5"
[stderr]
[stderr] nil
[stderr]
[stderr] nil
[stderr]
[stderr] 2090098
[stderr] tramp_exit_status 0
[stderr] tramp_exit_status 0
[stderr] tramp_exit_status 0
[stderr] 2090098
[stderr]
[internal] Wed Mar 15 10:21:33 2023:
(:message "Running language server: /bin/sh -c stty raw > /dev/null; /var/lib/snapd/snap/bin/clangd")
[client-request] (id:1) Wed Mar 15 10:21:33 2023:
(:jsonrpc "2.0" :id 1 :method "initialize" :params
(:processId nil :rootPath "/tmp/eglot--fixtureMz8x0y/project/" :rootUri "file:///tmp/eglot--fixtureMz8x0y/project" :initializationOptions #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
())
:capabilities
(:workspace
(:applyEdit t :executeCommand
(:dynamicRegistration :json-false)
:workspaceEdit
(:documentChanges t)
:didChangeWatchedFiles
(:dynamicRegistration :json-false)
:symbol
(:dynamicRegistration :json-false)
:configuration t :workspaceFolders t)
:textDocument
(:synchronization
(:dynamicRegistration :json-false :willSave t :willSaveWaitUntil t :didSave t)
:completion
(:dynamicRegistration :json-false :completionItem
(:snippetSupport :json-false :deprecatedSupport t :resolveSupport
(:properties
["documentation" "details" "additionalTextEdits"])
:tagSupport
(:valueSet
[1]))
:contextSupport t)
:hover
(:dynamicRegistration :json-false :contentFormat
["plaintext"])
:signatureHelp
(:dynamicRegistration :json-false :signatureInformation
(:parameterInformation
(:labelOffsetSupport t)
:activeParameterSupport t))
:references
(:dynamicRegistration :json-false)
:definition
(:dynamicRegistration :json-false :linkSupport t)
:declaration
(:dynamicRegistration :json-false :linkSupport t)
:implementation
(:dynamicRegistration :json-false :linkSupport t)
:typeDefinition
(:dynamicRegistration :json-false :linkSupport t)
:documentSymbol
(:dynamicRegistration :json-false :hierarchicalDocumentSymbolSupport t :symbolKind
(:valueSet
[1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26]))
:documentHighlight
(:dynamicRegistration :json-false)
:codeAction
(:dynamicRegistration :json-false :codeActionLiteralSupport
(:codeActionKind
(:valueSet
["quickfix" "refactor" "refactor.extract" "refactor.inline" "refactor.rewrite" "source" "source.organizeImports"]))
:isPreferredSupport t)
:formatting
(:dynamicRegistration :json-false)
:rangeFormatting
(:dynamicRegistration :json-false)
:rename
(:dynamicRegistration :json-false)
:inlayHint
(:dynamicRegistration :json-false)
:publishDiagnostics
(:relatedInformation :json-false :codeDescriptionSupport :json-false :tagSupport
(:valueSet
[1 2])))
:general
(:positionEncodings
["utf-32" "utf-8" "utf-16"])
:experimental #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
()))
:workspaceFolders
[(:uri "file:///tmp/eglot--fixtureMz8x0y/project" :name "/mock:gandalf:/tmp/eglot--fixtureMz8x0y/project/")]))
[internal] Wed Mar 15 10:21:43 2023:
(:message "Connection state changed" :change "killed\n")
----------b---y---e---b---y---e----------
[eglot-tests] Killing (coiso.c), wiping /mock:gandalf:/tmp/eglot--fixtureMz8x0y, restoring nil
Test eglot-test-tramp-test backtrace:
signal(error ("[eglot] Timed out after 10 seconds"))
error("[eglot] %s" "Timed out after 10 seconds")
eglot--error("Timed out after 10 seconds")
eglot--connect((c-mode c-ts-mode c++-mode c++-ts-mode) (transient .
apply(eglot--connect ((c-mode c-ts-mode c++-mode c++-ts-mode) (trans
(let* ((timeout (or timeout 10)) (eglot-sync-connect t) (eglot-conne
eglot--tests-connect()
(setq server (eglot--tests-connect))
(setq value-10 (setq server (eglot--tests-connect)))
(unwind-protect (setq value-10 (setq server (eglot--tests-connect)))
(if (unwind-protect (setq value-10 (setq server (eglot--tests-connec
(let (form-description-11) (if (unwind-protect (setq value-10 (setq
(let ((value-10 (gensym "ert-form-evaluation-aborted-"))) (let (form
(save-current-buffer (set-buffer (eglot--find-file-noselect "project
(closure ((server)) nil (save-current-buffer (set-buffer (eglot--fin
funcall((closure ((server)) nil (save-current-buffer (set-buffer (eg
(prog1 (funcall fn) (setq test-body-successful-p t))
(let* ((process-environment (append (list "XDG_CONFIG_HOME=/dev/null
(unwind-protect (let* ((process-environment (append (list "XDG_CONFI
(let* ((fixture-directory (make-nearby-temp-file "eglot--fixture" t)
eglot--call-with-fixture((("project" ("coiso.c" . "bla") ("merdix.c"
(let (server) (eglot--call-with-fixture '(("project" ("coiso.c" . "b
eglot-tests--auto-detect-running-server-1()
funcall(eglot-tests--auto-detect-running-server-1)
(let* ((tramp-remote-path (cons 'tramp-own-remote-path tramp-remote-
eglot--call-with-tramp-test(eglot-tests--auto-detect-running-server-
(closure (tramp-histfile-override company-candidates typescript-mode
ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
ert-run-test(#s(ert-test :name eglot-test-tramp-test :documentation
ert-run-or-rerun-test(#s(ert--stats :selector ... :tests ... :test-m
ert-run-tests((not (or (tag :unstable) (tag :nativecomp))) #f(compil
ert-run-tests-batch((not (or (tag :unstable) (tag :nativecomp))))
ert-run-tests-batch-and-exit((not (or (tag :unstable) (tag :nativeco
eval((ert-run-tests-batch-and-exit '(not (or (tag :unstable) (tag :n
command-line-1(("-L" ":." "-l" "ert" "-l" "lisp/progmodes/eglot-test
command-line()
normal-top-level()
Test eglot-test-tramp-test condition:
(error "[eglot] Timed out after 10 seconds")
FAILED 49/50 eglot-test-tramp-test (10.994329 sec) at lisp/progmodes/eglot-tests.el:1289
[eglot-tests] [eglot-test-tramp-test-2]: test start
[jsonrpc] Server exited with status 9
[eglot-tests] [eglot-test-tramp-test-2]: FAILED
[eglot-tests] contents of ` *EGLOT (project/(c-mode)) output*':
[eglot-tests] contents of ` *EGLOT (project/(c-mode)) stderr*':
[eglot-tests] contents of `*EGLOT (project/(c-mode)) events*':
[internal] Wed Mar 15 10:20:46 2023:
(:message "Running language server: clangd")
[client-request] (id:1) Wed Mar 15 10:20:46 2023:
(:jsonrpc "2.0" :id 1 :method "initialize" :params
(:processId 2017004 :rootPath "/tmp/eglot--fixturePO4VrS/project/" :rootUri "file:///tmp/eglot--fixturePO4VrS/project" :initializationOptions #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
())
:capabilities
(:workspace
(:applyEdit t :executeCommand
(:dynamicRegistration :json-false)
:workspaceEdit
(:documentChanges t)
:didChangeWatchedFiles
(:dynamicRegistration t)
:symbol
(:dynamicRegistration :json-false)
:configuration t :workspaceFolders t)
:textDocument
(:synchronization
(:dynamicRegistration :json-false :willSave t :willSaveWaitUntil t :didSave t)
:completion
(:dynamicRegistration :json-false :completionItem
(:snippetSupport :json-false :deprecatedSupport t :resolveSupport
(:properties
["documentation" "details" "additionalTextEdits"])
:tagSupport
(:valueSet
[1]))
:contextSupport t)
:hover
(:dynamicRegistration :json-false :contentFormat
["plaintext"])
:signatureHelp
(:dynamicRegistration :json-false :signatureInformation
(:parameterInformation
(:labelOffsetSupport t)
:activeParameterSupport t))
:references
(:dynamicRegistration :json-false)
:definition
(:dynamicRegistration :json-false :linkSupport t)
:declaration
(:dynamicRegistration :json-false :linkSupport t)
:implementation
(:dynamicRegistration :json-false :linkSupport t)
:typeDefinition
(:dynamicRegistration :json-false :linkSupport t)
:documentSymbol
(:dynamicRegistration :json-false :hierarchicalDocumentSymbolSupport t :symbolKind
(:valueSet
[1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26]))
:documentHighlight
(:dynamicRegistration :json-false)
:codeAction
(:dynamicRegistration :json-false :codeActionLiteralSupport
(:codeActionKind
(:valueSet
["quickfix" "refactor" "refactor.extract" "refactor.inline" "refactor.rewrite" "source" "source.organizeImports"]))
:isPreferredSupport t)
:formatting
(:dynamicRegistration :json-false)
:rangeFormatting
(:dynamicRegistration :json-false)
:rename
(:dynamicRegistration :json-false)
:inlayHint
(:dynamicRegistration :json-false)
:publishDiagnostics
(:relatedInformation :json-false :codeDescriptionSupport :json-false :tagSupport
(:valueSet
[1 2])))
:general
(:positionEncodings
["utf-32" "utf-8" "utf-16"])
:experimental #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
()))
:workspaceFolders
[(:uri "file:///tmp/eglot--fixturePO4VrS/project" :name "/tmp/eglot--fixturePO4VrS/project/")]))
[internal] Wed Mar 15 10:20:56 2023:
(:message "Connection state changed" :change "killed\n")
----------b---y---e---b---y---e----------
[stderr]
[stderr]
[stderr] nil
[stderr] nil
[stderr] Process EGLOT (project/(c-mode)) stderr finished
[internal] Wed Mar 15 10:21:17 2023:
(:message "Running language server: sh -c sleep 2 && clangd")
[client-request] (id:1) Wed Mar 15 10:21:17 2023:
(:jsonrpc "2.0" :id 1 :method "initialize" :params
(:processId 2017004 :rootPath "/tmp/eglot--fixturevereoR/project/" :rootUri "file:///tmp/eglot--fixturevereoR/project" :initializationOptions #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
())
:capabilities
(:workspace
(:applyEdit t :executeCommand
(:dynamicRegistration :json-false)
:workspaceEdit
(:documentChanges t)
:didChangeWatchedFiles
(:dynamicRegistration t)
:symbol
(:dynamicRegistration :json-false)
:configuration t :workspaceFolders t)
:textDocument
(:synchronization
(:dynamicRegistration :json-false :willSave t :willSaveWaitUntil t :didSave t)
:completion
(:dynamicRegistration :json-false :completionItem
(:snippetSupport :json-false :deprecatedSupport t :resolveSupport
(:properties
["documentation" "details" "additionalTextEdits"])
:tagSupport
(:valueSet
[1]))
:contextSupport t)
:hover
(:dynamicRegistration :json-false :contentFormat
["plaintext"])
:signatureHelp
(:dynamicRegistration :json-false :signatureInformation
(:parameterInformation
(:labelOffsetSupport t)
:activeParameterSupport t))
:references
(:dynamicRegistration :json-false)
:definition
(:dynamicRegistration :json-false :linkSupport t)
:declaration
(:dynamicRegistration :json-false :linkSupport t)
:implementation
(:dynamicRegistration :json-false :linkSupport t)
:typeDefinition
(:dynamicRegistration :json-false :linkSupport t)
:documentSymbol
(:dynamicRegistration :json-false :hierarchicalDocumentSymbolSupport t :symbolKind
(:valueSet
[1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26]))
:documentHighlight
(:dynamicRegistration :json-false)
:codeAction
(:dynamicRegistration :json-false :codeActionLiteralSupport
(:codeActionKind
(:valueSet
["quickfix" "refactor" "refactor.extract" "refactor.inline" "refactor.rewrite" "source" "source.organizeImports"]))
:isPreferredSupport t)
:formatting
(:dynamicRegistration :json-false)
:rangeFormatting
(:dynamicRegistration :json-false)
:rename
(:dynamicRegistration :json-false)
:inlayHint
(:dynamicRegistration :json-false)
:publishDiagnostics
(:relatedInformation :json-false :codeDescriptionSupport :json-false :tagSupport
(:valueSet
[1 2])))
:general
(:positionEncodings
["utf-32" "utf-8" "utf-16"])
:experimental #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
()))
:workspaceFolders
[(:uri "file:///tmp/eglot--fixturevereoR/project" :name "/tmp/eglot--fixturevereoR/project/")]))
[client-request] (id:2) Wed Mar 15 10:21:21 2023:
(:jsonrpc "2.0" :id 2 :method "shutdown" :params nil)
[internal] Wed Mar 15 10:21:24 2023:
(:message "Connection state changed" :change "killed\n")
----------b---y---e---b---y---e----------
[stderr]
[stderr]
[stderr] nil
[stderr] nil
[stderr] Process EGLOT (project/(c-mode)) stderr finished
[internal] Wed Mar 15 10:21:24 2023:
(:message "Running language server: sh -c sleep 1 && clangd")
[client-request] (id:1) Wed Mar 15 10:21:24 2023:
(:jsonrpc "2.0" :id 1 :method "initialize" :params
(:processId 2017004 :rootPath "/tmp/eglot--fixturergwKZj/project/" :rootUri "file:///tmp/eglot--fixturergwKZj/project" :initializationOptions #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
())
:capabilities
(:workspace
(:applyEdit t :executeCommand
(:dynamicRegistration :json-false)
:workspaceEdit
(:documentChanges t)
:didChangeWatchedFiles
(:dynamicRegistration t)
:symbol
(:dynamicRegistration :json-false)
:configuration t :workspaceFolders t)
:textDocument
(:synchronization
(:dynamicRegistration :json-false :willSave t :willSaveWaitUntil t :didSave t)
:completion
(:dynamicRegistration :json-false :completionItem
(:snippetSupport :json-false :deprecatedSupport t :resolveSupport
(:properties
["documentation" "details" "additionalTextEdits"])
:tagSupport
(:valueSet
[1]))
:contextSupport t)
:hover
(:dynamicRegistration :json-false :contentFormat
["plaintext"])
:signatureHelp
(:dynamicRegistration :json-false :signatureInformation
(:parameterInformation
(:labelOffsetSupport t)
:activeParameterSupport t))
:references
(:dynamicRegistration :json-false)
:definition
(:dynamicRegistration :json-false :linkSupport t)
:declaration
(:dynamicRegistration :json-false :linkSupport t)
:implementation
(:dynamicRegistration :json-false :linkSupport t)
:typeDefinition
(:dynamicRegistration :json-false :linkSupport t)
:documentSymbol
(:dynamicRegistration :json-false :hierarchicalDocumentSymbolSupport t :symbolKind
(:valueSet
[1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26]))
:documentHighlight
(:dynamicRegistration :json-false)
:codeAction
(:dynamicRegistration :json-false :codeActionLiteralSupport
(:codeActionKind
(:valueSet
["quickfix" "refactor" "refactor.extract" "refactor.inline" "refactor.rewrite" "source" "source.organizeImports"]))
:isPreferredSupport t)
:formatting
(:dynamicRegistration :json-false)
:rangeFormatting
(:dynamicRegistration :json-false)
:rename
(:dynamicRegistration :json-false)
:inlayHint
(:dynamicRegistration :json-false)
:publishDiagnostics
(:relatedInformation :json-false :codeDescriptionSupport :json-false :tagSupport
(:valueSet
[1 2])))
:general
(:positionEncodings
["utf-32" "utf-8" "utf-16"])
:experimental #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
()))
:workspaceFolders
[(:uri "file:///tmp/eglot--fixturergwKZj/project" :name "/tmp/eglot--fixturergwKZj/project/")]))
[internal] Wed Mar 15 10:21:27 2023:
(:message "Connection state changed" :change "killed\n")
----------b---y---e---b---y---e----------
[stderr]
[stderr]
[stderr] nil
[stderr] nil
[stderr] Process EGLOT (project/(c-mode)) stderr<1> finished
[internal] Wed Mar 15 10:21:28 2023:
(:message "Running language server: sh -c sleep 1 && clangd")
[client-request] (id:1) Wed Mar 15 10:21:28 2023:
(:jsonrpc "2.0" :id 1 :method "initialize" :params
(:processId 2017004 :rootPath "/tmp/eglot--fixturePSEZX9/project/" :rootUri "file:///tmp/eglot--fixturePSEZX9/project" :initializationOptions #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
())
:capabilities
(:workspace
(:applyEdit t :executeCommand
(:dynamicRegistration :json-false)
:workspaceEdit
(:documentChanges t)
:didChangeWatchedFiles
(:dynamicRegistration t)
:symbol
(:dynamicRegistration :json-false)
:configuration t :workspaceFolders t)
:textDocument
(:synchronization
(:dynamicRegistration :json-false :willSave t :willSaveWaitUntil t :didSave t)
:completion
(:dynamicRegistration :json-false :completionItem
(:snippetSupport :json-false :deprecatedSupport t :resolveSupport
(:properties
["documentation" "details" "additionalTextEdits"])
:tagSupport
(:valueSet
[1]))
:contextSupport t)
:hover
(:dynamicRegistration :json-false :contentFormat
["plaintext"])
:signatureHelp
(:dynamicRegistration :json-false :signatureInformation
(:parameterInformation
(:labelOffsetSupport t)
:activeParameterSupport t))
:references
(:dynamicRegistration :json-false)
:definition
(:dynamicRegistration :json-false :linkSupport t)
:declaration
(:dynamicRegistration :json-false :linkSupport t)
:implementation
(:dynamicRegistration :json-false :linkSupport t)
:typeDefinition
(:dynamicRegistration :json-false :linkSupport t)
:documentSymbol
(:dynamicRegistration :json-false :hierarchicalDocumentSymbolSupport t :symbolKind
(:valueSet
[1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26]))
:documentHighlight
(:dynamicRegistration :json-false)
:codeAction
(:dynamicRegistration :json-false :codeActionLiteralSupport
(:codeActionKind
(:valueSet
["quickfix" "refactor" "refactor.extract" "refactor.inline" "refactor.rewrite" "source" "source.organizeImports"]))
:isPreferredSupport t)
:formatting
(:dynamicRegistration :json-false)
:rangeFormatting
(:dynamicRegistration :json-false)
:rename
(:dynamicRegistration :json-false)
:inlayHint
(:dynamicRegistration :json-false)
:publishDiagnostics
(:relatedInformation :json-false :codeDescriptionSupport :json-false :tagSupport
(:valueSet
[1 2])))
:general
(:positionEncodings
["utf-32" "utf-8" "utf-16"])
:experimental #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
()))
:workspaceFolders
[(:uri "file:///tmp/eglot--fixturePSEZX9/project" :name "/tmp/eglot--fixturePSEZX9/project/")]))
[internal] Wed Mar 15 10:21:31 2023:
(:message "Connection state changed" :change "killed\n")
----------b---y---e---b---y---e----------
[stderr]
[stderr]
[stderr] nil
[stderr] nil
[stderr] Process EGLOT (project/(c-mode)) stderr finished
[internal] Wed Mar 15 10:21:31 2023:
(:message "Running language server: sh -c sleep 2 && clangd")
[client-request] (id:1) Wed Mar 15 10:21:31 2023:
(:jsonrpc "2.0" :id 1 :method "initialize" :params
(:processId 2017004 :rootPath "/tmp/eglot--fixtureqvce4y/project/" :rootUri "file:///tmp/eglot--fixtureqvce4y/project" :initializationOptions #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
())
:capabilities
(:workspace
(:applyEdit t :executeCommand
(:dynamicRegistration :json-false)
:workspaceEdit
(:documentChanges t)
:didChangeWatchedFiles
(:dynamicRegistration t)
:symbol
(:dynamicRegistration :json-false)
:configuration t :workspaceFolders t)
:textDocument
(:synchronization
(:dynamicRegistration :json-false :willSave t :willSaveWaitUntil t :didSave t)
:completion
(:dynamicRegistration :json-false :completionItem
(:snippetSupport :json-false :deprecatedSupport t :resolveSupport
(:properties
["documentation" "details" "additionalTextEdits"])
:tagSupport
(:valueSet
[1]))
:contextSupport t)
:hover
(:dynamicRegistration :json-false :contentFormat
["plaintext"])
:signatureHelp
(:dynamicRegistration :json-false :signatureInformation
(:parameterInformation
(:labelOffsetSupport t)
:activeParameterSupport t))
:references
(:dynamicRegistration :json-false)
:definition
(:dynamicRegistration :json-false :linkSupport t)
:declaration
(:dynamicRegistration :json-false :linkSupport t)
:implementation
(:dynamicRegistration :json-false :linkSupport t)
:typeDefinition
(:dynamicRegistration :json-false :linkSupport t)
:documentSymbol
(:dynamicRegistration :json-false :hierarchicalDocumentSymbolSupport t :symbolKind
(:valueSet
[1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26]))
:documentHighlight
(:dynamicRegistration :json-false)
:codeAction
(:dynamicRegistration :json-false :codeActionLiteralSupport
(:codeActionKind
(:valueSet
["quickfix" "refactor" "refactor.extract" "refactor.inline" "refactor.rewrite" "source" "source.organizeImports"]))
:isPreferredSupport t)
:formatting
(:dynamicRegistration :json-false)
:rangeFormatting
(:dynamicRegistration :json-false)
:rename
(:dynamicRegistration :json-false)
:inlayHint
(:dynamicRegistration :json-false)
:publishDiagnostics
(:relatedInformation :json-false :codeDescriptionSupport :json-false :tagSupport
(:valueSet
[1 2])))
:general
(:positionEncodings
["utf-32" "utf-8" "utf-16"])
:experimental #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
()))
:workspaceFolders
[(:uri "file:///tmp/eglot--fixtureqvce4y/project" :name "/tmp/eglot--fixtureqvce4y/project/")]))
[internal] Wed Mar 15 10:21:32 2023:
(:message "Connection state changed" :change "killed\n")
----------b---y---e---b---y---e----------
[stderr]
[stderr]
[stderr] nil
[stderr] nil
[stderr] Process EGLOT (project/(c-mode)) stderr finished
[stderr] nil
[stderr]
[stderr] nil
[stderr]
[stderr] nil
[stderr]
[stderr] nil
[stderr]
[stderr] nil
[stderr]
[stderr] foo
[stderr] foo
[stderr] foo
[stderr]
[stderr] foo
[stderr] bar
[stderr] nil
[stderr] bar
[stderr]
[stderr] nil
[stderr]
[stderr] nil
[stderr]
[stderr] nil
[stderr]
[stderr] nil
[stderr]
[stderr] "/dev/pts/5"
[stderr] tramp_exit_status 0
[stderr] tramp_exit_status 0
[stderr] tramp_exit_status 0
[stderr] "/dev/pts/5"
[stderr]
[stderr] nil
[stderr]
[stderr] nil
[stderr]
[stderr] 2098678
[stderr] tramp_exit_status 0
[stderr] nil
[stderr] tramp_exit_status 0
[stderr] 2098678
[stderr]
[internal] Wed Mar 15 10:21:44 2023:
(:message "Running language server: /bin/sh -c stty raw > /dev/null; clangd")
[client-request] (id:1) Wed Mar 15 10:21:44 2023:
(:jsonrpc "2.0" :id 1 :method "initialize" :params
(:processId nil :rootPath "/tmp/eglot--fixtureNbu0m1/project/" :rootUri "file:///tmp/eglot--fixtureNbu0m1/project" :initializationOptions #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
())
:capabilities
(:workspace
(:applyEdit t :executeCommand
(:dynamicRegistration :json-false)
:workspaceEdit
(:documentChanges t)
:didChangeWatchedFiles
(:dynamicRegistration :json-false)
:symbol
(:dynamicRegistration :json-false)
:configuration t :workspaceFolders t)
:textDocument
(:synchronization
(:dynamicRegistration :json-false :willSave t :willSaveWaitUntil t :didSave t)
:completion
(:dynamicRegistration :json-false :completionItem
(:snippetSupport :json-false :deprecatedSupport t :resolveSupport
(:properties
["documentation" "details" "additionalTextEdits"])
:tagSupport
(:valueSet
[1]))
:contextSupport t)
:hover
(:dynamicRegistration :json-false :contentFormat
["plaintext"])
:signatureHelp
(:dynamicRegistration :json-false :signatureInformation
(:parameterInformation
(:labelOffsetSupport t)
:activeParameterSupport t))
:references
(:dynamicRegistration :json-false)
:definition
(:dynamicRegistration :json-false :linkSupport t)
:declaration
(:dynamicRegistration :json-false :linkSupport t)
:implementation
(:dynamicRegistration :json-false :linkSupport t)
:typeDefinition
(:dynamicRegistration :json-false :linkSupport t)
:documentSymbol
(:dynamicRegistration :json-false :hierarchicalDocumentSymbolSupport t :symbolKind
(:valueSet
[1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26]))
:documentHighlight
(:dynamicRegistration :json-false)
:codeAction
(:dynamicRegistration :json-false :codeActionLiteralSupport
(:codeActionKind
(:valueSet
["quickfix" "refactor" "refactor.extract" "refactor.inline" "refactor.rewrite" "source" "source.organizeImports"]))
:isPreferredSupport t)
:formatting
(:dynamicRegistration :json-false)
:rangeFormatting
(:dynamicRegistration :json-false)
:rename
(:dynamicRegistration :json-false)
:inlayHint
(:dynamicRegistration :json-false)
:publishDiagnostics
(:relatedInformation :json-false :codeDescriptionSupport :json-false :tagSupport
(:valueSet
[1 2])))
:general
(:positionEncodings
["utf-32" "utf-8" "utf-16"])
:experimental #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
()))
:workspaceFolders
[(:uri "file:///tmp/eglot--fixtureNbu0m1/project" :name "/mock:gandalf:/tmp/eglot--fixtureNbu0m1/project/")]))
[internal] Wed Mar 15 10:21:54 2023:
(:message "Connection state changed" :change "killed\n")
----------b---y---e---b---y---e----------
[eglot-tests] Killing (foo.c), wiping /mock:gandalf:/tmp/eglot--fixtureNbu0m1, restoring nil
Test eglot-test-tramp-test-2 backtrace:
signal(error ("[eglot] Timed out after 10 seconds"))
error("[eglot] %s" "Timed out after 10 seconds")
eglot--error("Timed out after 10 seconds")
eglot--connect((c-mode) (transient . "/mock:gandalf:/tmp/eglot--fixt
apply(eglot--connect ((c-mode) (transient . "/mock:gandalf:/tmp/eglo
(let* ((timeout (or timeout 10)) (eglot-sync-connect t) (eglot-conne
eglot--tests-connect()
(let (c-notifs) (advice-add #'jsonrpc--log-event :before #'(lambda (
(unwind-protect (let (c-notifs) (advice-add #'jsonrpc--log-event :be
(save-current-buffer (set-buffer (eglot--find-file-noselect "project
(let ((eglot-server-programs '((c-mode "clangd")))) (save-current-bu
(closure (company-candidates typescript-mode-abbrev-table typescript
funcall((closure (company-candidates typescript-mode-abbrev-table ty
(prog1 (funcall fn) (setq test-body-successful-p t))
(let* ((process-environment (append (list "XDG_CONFIG_HOME=/dev/null
(unwind-protect (let* ((process-environment (append (list "XDG_CONFI
(let* ((fixture-directory (make-nearby-temp-file "eglot--fixture" t)
eglot--call-with-fixture((("project" ("foo.c" . "const char write_da
eglot-tests--lsp-abiding-column-1()
funcall(eglot-tests--lsp-abiding-column-1)
(let* ((tramp-remote-path (cons 'tramp-own-remote-path tramp-remote-
eglot--call-with-tramp-test(eglot-tests--lsp-abiding-column-1)
(closure (tramp-histfile-override company-candidates typescript-mode
ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
ert-run-test(#s(ert-test :name eglot-test-tramp-test-2 :documentatio
ert-run-or-rerun-test(#s(ert--stats :selector ... :tests ... :test-m
ert-run-tests((not (or (tag :unstable) (tag :nativecomp))) #f(compil
ert-run-tests-batch((not (or (tag :unstable) (tag :nativecomp))))
ert-run-tests-batch-and-exit((not (or (tag :unstable) (tag :nativeco
eval((ert-run-tests-batch-and-exit '(not (or (tag :unstable) (tag :n
command-line-1(("-L" ":." "-l" "ert" "-l" "lisp/progmodes/eglot-test
command-line()
normal-top-level()
Test eglot-test-tramp-test-2 condition:
(error "[eglot] Timed out after 10 seconds")
FAILED 50/50 eglot-test-tramp-test-2 (10.629741 sec) at lisp/progmodes/eglot-tests.el:1294
Ran 50 tests, 17 results as expected, 14 unexpected, 19 skipped (2023-03-15 10:21:54+0100, 116.658086 sec)
14 unexpected results:
FAILED eglot-test-auto-detect-running-server
FAILED eglot-test-auto-reconnect
FAILED eglot-test-auto-shutdown
FAILED eglot-test-basic-diagnostics
FAILED eglot-test-diagnostic-tags-unnecessary-code
FAILED eglot-test-ensure
FAILED eglot-test-lsp-abiding-column
FAILED eglot-test-rename-a-symbol
FAILED eglot-test-same-server-multi-mode
FAILED eglot-test-slow-async-connection
FAILED eglot-test-slow-sync-connection-intime
FAILED eglot-test-slow-sync-connection-wait
FAILED eglot-test-tramp-test
FAILED eglot-test-tramp-test-2
19 skipped results:
SKIPPED eglot-test-basic-completions
SKIPPED eglot-test-basic-xref
SKIPPED eglot-test-eclipse-connect
SKIPPED eglot-test-eldoc-after-completions
SKIPPED eglot-test-javascript-basic
SKIPPED eglot-test-json-basic
SKIPPED eglot-test-multiline-eldoc
SKIPPED eglot-test-non-unique-completions
SKIPPED eglot-test-path-to-uri-windows
SKIPPED eglot-test-project-wide-diagnostics-rust-analyzer
SKIPPED eglot-test-project-wide-diagnostics-typescript
SKIPPED eglot-test-python-autopep-formatting
SKIPPED eglot-test-python-yapf-formatting
SKIPPED eglot-test-rust-analyzer-hover-after-edit
SKIPPED eglot-test-rust-analyzer-watches-files
SKIPPED eglot-test-rust-on-type-formatting
SKIPPED eglot-test-single-line-eldoc
SKIPPED eglot-test-snippet-completions
SKIPPED eglot-test-snippet-completions-with-company
next prev parent reply other threads:[~2023-03-15 9:40 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-14 23:08 bug#62194: 30.0.50; Two Eglot-over-Tramp tests are failing on master, passing on emacs-29 João Távora
2023-03-15 9:40 ` Michael Albinus [this message]
2023-03-15 11:45 ` Michael Albinus
2023-03-15 20:24 ` João Távora
2023-03-15 20:36 ` miha--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-03-15 20:45 ` João Távora
2023-03-16 12:02 ` Michael Albinus
2023-03-16 12:20 ` João Távora
2023-03-16 14:57 ` Michael Albinus
2023-03-16 15:12 ` João Távora
2023-03-16 17:35 ` Michael Albinus
2023-03-16 17:59 ` João Távora
2023-03-16 21:18 ` miha--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-03-16 21:57 ` João Távora
2023-03-16 23:38 ` João Távora
2023-03-17 16:45 ` miha--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-03-17 16:47 ` Eli Zaretskii
2023-03-17 17:22 ` miha--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-03-17 17:22 ` Eli Zaretskii
2023-03-17 10:44 ` Michael Albinus
2023-03-17 11:19 ` João Távora
2023-03-18 9:38 ` Michael Albinus
2023-03-18 11:29 ` João Távora
2023-03-18 12:23 ` Michael Albinus
2023-03-18 12:33 ` João Távora
2023-03-19 12:19 ` Michael Albinus
2023-03-15 20:16 ` João Távora
2023-03-16 15:02 ` Michael Albinus
2023-03-28 10:51 ` Michael Albinus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87edpqjqsv.fsf@gmx.de \
--to=michael.albinus@gmx.de \
--cc=62194@debbugs.gnu.org \
--cc=joaotavora@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.