flycheck-eglot checks error with `max-lisp-eval-depth`
- Dominant language
- Emacs Lisp
- Stars
- 22.7k
- Forks
- 3.1k
- Avg merge
- 10h 46m
- Merged PRs (30d)
- 4
Description
### What did you expect to happen?
To see flycheck errors.
### What actually happened?
When I open a buffer that's managed by eglot, I see the error `max-lisp-eval-depth` raised that appears to recursing onto itself.
I've observed this with eglot in python + rust.
*Messages*
```
[eglot] Connected! Server `rust-analyzer' now managing `rustic-mode' buffers in project `rustbook'.
Error while checking syntax automatically: (error "Lisp nesting exceeds ‘max-lisp-eval-depth’") [2 times]
```
This is the backtrace I've collected using `toggle-debug-on-error`
```
Debugger entered--Lisp error: (error "Lisp nesting exceeds ‘max-lisp-eval-depth’")
signal(error ("Lisp nesting exceeds ‘max-lisp-eval-depth’"))
flycheck-buffer()
flycheck-buffer-automatically()
flycheck-perform-deferred-syntax-check()
flycheck-finish-current-syntax-check((#s(flycheck-error :buffer # :checker eglot :filename "/Users/rayh/projects/gnr/rustbook/src/lib.rs" :line 1 :column 1 :message "rust-analyzer [unlinked-file]: file not included i..." :level info :id nil :group nil :-end-line 1 :-end-column 4) #s(flycheck-error :buffer # :checker eglot :filename "/Users/rayh/projects/gnr/rustbook/src/lib.rs" :line 22 :column 9 :message "rustc [E0201]: duplicate definitions with name `co..." :level error :id nil :group nil :-end-line 24 :-end-column 6) #s(flycheck-error :buffer # :checker eglot :filename "/Users/rayh/projects/gnr/rustbook/src/lib.rs" :line 18 :column 5 :message "rustc [E0201]: previous definition of `content` he..." :level info :id nil :group nil :-end-line 20 :-end-column 6)) "/Users/rayh/projects/gnr/rustbook/src/")
flycheck-report-buffer-checker-status(#s(flycheck-syntax-check :buffer # :checker eglot :context nil :working-directory "/Users/rayh/projects/gnr/rustbook/src/") finished (#s(flycheck-error :buffer # :checker eglot :filename "/Users/rayh/projects/gnr/rustbook/src/lib.rs" :line 1 :column 1 :message "rust-analyzer [unlinked-file]: file not included i..." :level info :id nil :group nil :-end-line 1 :-end-column 4) #s(flycheck-error :buffer # :checker eglot :filename "/Users/rayh/projects/gnr/rustbook/src/lib.rs" :line 22 :column 9 :message "rustc [E0201]: duplicate definitions with name `co..." :level error :id nil :group nil :-end-line 24 :-end-column 6) #s(flycheck-error :buffer # :checker eglot :filename "/Users/rayh/projects/gnr/rustbook/src/lib.rs" :line 18 :column 5 :message "rustc [E0201]: previous definition of `content` he..." :level info :id nil :group nil :-end-line 20 :-end-column 6)))
apply(flycheck-report-buffer-checker-status #s(flycheck-syntax-check :buffer # :checker eglot :context nil :working-directory "/Users/rayh/projects/gnr/rustbook/src/") (finished (#s(flycheck-error :buffer # :checker eglot :filename "/Users/rayh/projects/gnr/rustbook/src/lib.rs" :line 1 :column 1 :message "rust-analyzer [unlinked-file]: file not included i..." :level info :id nil :group nil :-end-line 1 :-end-column 4) #s(flycheck-error :buffer # :checker eglot :filename "/Users/rayh/projects/gnr/rustbook/src/lib.rs" :line 22 :column 9 :message "rustc [E0201]: duplicate definitions with name `co..." :level error :id nil :group nil :-end-line 24 :-end-column 6) #s(flycheck-error :buffer # :checker eglot :filename "/Users/rayh/projects/gnr/rustbook/src/lib.rs" :line 18 :column 5 :message "rustc [E0201]: previous definition of `content` he..." :level info :id nil :group nil :-end-line 20 :-end-column 6))))
#f(compiled-function (&rest args) #)(finished (#s(flycheck-error :buffer # :checker eglot :filename "/Users/rayh/projects/gnr/rustbook/src/lib.rs" :line 1 :column 1 :message "rust-analyzer [unlinked-file]: file not included i..." :level info :id nil :group nil :-end-line 1 :-end-column 4) #s(flycheck-error :buffer # :checker eglot :filename "/Users/rayh/projects/gnr/rustbook/src/lib.rs" :line 22 :column 9 :message "rustc [E0201]: duplicate definitions with name `co..." :level error :id nil :group nil :-end-line 24 :-end-column 6) #s(flycheck-error :buffer # :checker eglot :filename "/Users/rayh/projects/gnr/rustbook/src/lib.rs" :line 18 :column 5 :message "rustc [E0201]: previous definition of `content` he..." :level info :id nil :group nil :-end-line 20 :-end-column 6)))
funcall(#f(compiled-function (&rest args) #) finished (#s(flycheck-error :buffer # :checker eglot :filename "/Users/rayh/projects/gnr/rustbook/src/lib.rs" :line 1 :column 1 :message "rust-analyzer [unlinked-file]: file not included i..." :level info :id nil :group nil :-end-line 1 :-end-column 4) #s(flycheck-error :buffer # :checker eglot :filename "/Users/rayh/projects/gnr/rustbook/src/lib.rs" :line 22 :column 9 :message "rustc [E0201]: duplicate definitions with name `co..." :level error :id nil :group nil :-end-line 24 :-end-column 6) #s(flycheck-error :buffer # :checker eglot :filename "/Users/rayh/projects/gnr/rustbook/src/lib.rs" :line 18 :column 5 :message "rustc [E0201]: previous definition of `content` he..." :level info :id nil :group nil :-end-line 20 :-end-column 6)))
+lsp--flycheck-eglot-init(eglot #f(compiled-function (&rest args) #))
flycheck-syntax-check-start(#s(flycheck-syntax-check :buffer # :checker eglot :context nil :working-directory "/Users/rayh/projects/gnr/rustbook/src/") #f(compiled-function (&rest args) #))
flycheck-start-current-syntax-check(eglot)
flycheck-buffer()
flycheck-buffer-automatically()
flycheck-perform-deferred-syntax-check()
flycheck-finish-current-syntax-check((#s(flycheck-error :buffer # :checker eglot :filename "/Users/rayh/projects/gnr/rustbook/src/lib.rs" :line 1 :column 1 :message "rust-analyzer [unlinked-file]: file not included i..." :level info :id nil :group nil :-end-line 1 :-end-column 4) #s(flycheck-error :buffer # :checker eglot :filename "/Users/rayh/projects/gnr/rustbook/src/lib.rs" :line 22 :column 9 :message "rustc [E0201]: duplicate definitions with name `co..." :level error :id nil :group nil :-end-line 24 :-end-column 6) #s(flycheck-error :buffer # :checker eglot :filename "/Users/rayh/projects/gnr/rustbook/src/lib.rs" :line 18 :column 5 :message "rustc [E0201]: previous definition of `content` he..." :level info :id nil :group nil :-end-line 20 :-end-column 6)) "/Users/rayh/projects/gnr/rustbook/src/")
flycheck-report-buffer-checker-status(#s(flycheck-syntax-check :buffer # :checker eglot :context nil :working-directory "/Users/rayh/projects/gnr/rustbook/src/") finished (#s(flycheck-error :buffer # :checker eglot :filename "/Users/rayh/projects/gnr/rustbook/src/lib.rs" :line 1 :column 1 :message "rust-analyzer [unlinked-file]: file not included i..." :level info :id nil :group nil :-end-line 1 :-end-column 4) #s(flycheck-error :buffer # :checker eglot :filename "/Users/rayh/projects/gnr/rustbook/src/lib.rs" :line 22 :column 9 :message "rustc [E0201]: duplicate definitions with name `co..." :level error :id nil :group nil :-end-line 24 :-end-column 6) #s(flycheck-error :buffer # :checker eglot :filename "/Users/rayh/projects/gnr/rustbook/src/lib.rs" :line 18 :column 5 :message "rustc [E0201]: previous definition of `content` he..." :level info :id nil :group nil :-end-line 20 :-end-column 6)))
apply(flycheck-report-buffer-checker-status #s(flycheck-syntax-check :buffer # :checker eglot :context nil :working-directory "/Users/rayh/projects/gnr/rustbook/src/") (finished (#s(flycheck-error :buffer # :checker eglot :filename "/Users/rayh/projects/gnr/rustbook/src/lib.rs" :line 1 :column 1 :message "rust-analyzer [unlinked-file]: file not included i..." :level info :id nil :group nil :-end-line 1 :-end-column 4) #s(flycheck-error :buffer # :checker eglot :filename "/Users/rayh/projects/gnr/rustbook/src/lib.rs" :line 22 :column 9 :message "rustc [E0201]: duplicate definitions with name `co..." :level error :id nil :group nil :-end-line 24 :-end-column 6) #s(flycheck-error :buffer # :checker eglot :filename "/Users/rayh/projects/gnr/rustbook/src/lib.rs" :line 18 :column 5 :message "rustc [E0201]: previous definition of `content` he..." :level info :id nil :group nil :-end-line 20 :-end-column 6))))
#f(compiled-function (&rest args) #)(finished (#s(flycheck-error :buffer # :checker eglot :filename "/Users/rayh/projects/gnr/rustbook/src/lib.rs" :line 1 :column 1 :message "rust-analyzer [unlinked-file]: file not included i..." :level info :id nil :group nil :-end-line 1 :-end-column 4) #s(flycheck-error :buffer # :checker eglot :filename "/Users/rayh/projects/gnr/rustbook/src/lib.rs" :line 22 :column 9 :message "rustc [E0201]: duplicate definitions with name `co..." :level error :id nil :group nil :-end-line 24 :-end-column 6) #s(flycheck-error :buffer # :checker eglot :filename "/Users/rayh/projects/gnr/rustbook/src/lib.rs" :line 18 :column 5 :message "rustc [E0201]: previous definition of `content` he..." :level info :id nil :group nil :-end-line 20 :-end-column 6)))
funcall(#f(compiled-function (&rest args) #) finished (#s(flycheck-error :buffer # :checker eglot :filename "/Users/rayh/projects/gnr/rustbook/src/lib.rs" :line 1 :column 1 :message "rust-analyzer [unlinked-file]: file not included i..." :level info :id nil :group nil :-end-line 1 :-end-column 4) #s(flycheck-error :buffer # :checker eglot :filename "/Users/rayh/projects/gnr/rustbook/src/lib.rs" :line 22 :column 9 :message "rustc [E0201]: duplicate definitions with name `co..." :level error :id nil :group nil :-end-line 24 :-end-column 6) #s(flycheck-error :buffer # :checker eglot :filename "/Users/rayh/projects/gnr/rustbook/src/lib.rs" :line 18 :column 5 :message "rustc [E0201]: previous definition of `content` he..." :level info :id nil :group nil :-end-line 20 :-end-column 6)))
+lsp--flycheck-eglot-init(eglot #f(compiled-function (&rest args) #))
flycheck-syntax-check-start(#s(flycheck-syntax-check :buffer # :checker eglot :context nil :working-directory "/Users/rayh/projects/gnr/rustbook/src/") #f(compiled-function (&rest args) #))
flycheck-start-current-syntax-check(eglot)
flycheck-buffer()
flycheck-buffer-automatically()
flycheck-perform-deferred-syntax-check()
flycheck-finish-current-syntax-check((#s(flycheck-error :buffer # :checker eglot :filename "/Users/rayh/projects/gnr/rustbook/src/lib.rs" :line 1 :column 1 :message "rust-analyzer [unlinked-file]: file not included i..." :level info :id nil :group nil :-end-line 1 :-end-column 4) #s(flycheck-error :buffer # :checker eglot :filename "/Users/rayh/projects/gnr/rustbook/src/lib.rs" :line 22 :column 9 :message "rustc [E0201]: duplicate definitions with name `co..." :level error :id nil :group nil :-end-line 24 :-end-column 6) #s(flycheck-error :buffer # :checker eglot :filename "/Users/rayh/projects/gnr/rustbook/src/lib.rs" :line 18 :column 5 :message "rustc [E0201]: previous definition of `content` he..." :level info :id nil :group nil :-end-line 20 :-end-column 6)) "/Users/rayh/projects/gnr/rustbook/src/")
flycheck-report-buffer-checker-status(#s(flycheck-syntax-check :buffer # :checker eglot :context nil :working-directory "/Users/rayh/projects/gnr/rustbook/src/") finished (#s(flycheck-error :buffer # :checker eglot :filename "/Users/rayh/projects/gnr/rustbook/src/lib.rs" :line 1 :column 1 :message "rust-analyzer [unlinked-file]: file not included i..." :level info :id nil :group nil :-end-line 1 :-end-column 4) #s(flycheck-error :buffer # :checker eglot :filename "/Users/rayh/projects/gnr/rustbook/src/lib.rs" :line 22 :column 9 :message "rustc [E0201]: duplicate definitions with name `co..." :level error :id nil :group nil :-end-line 24 :-end-column 6) #s(flycheck-error :buffer # :checker eglot :filename "/Users/rayh/projects/gnr/rustbook/src/lib.rs" :line 18 :column 5 :message "rustc [E0201]: previous definition of `content` he..." :level info :id nil :group nil :-end-line 20 :-end-column 6)))
apply(flycheck-report-buffer-checker-status #s(flycheck-syntax-check :buffer # :checker eglot :context nil :working-directory "/Users/rayh/projects/gnr/rustbook/src/") (finished (#s(flycheck-error :buffer # :checker eglot :filename "/Users/rayh/projects/gnr/rustbook/src/lib.rs" :line 1 :column 1 :message "rust-analyzer [unlinked-file]: file not included i..." :level info :id nil :group nil :-end-line 1 :-end-column 4) #s(flycheck-error :buffer # :checker eglot :filename "/Users/rayh/projects/gnr/rustbook/src/lib.rs" :line 22 :column 9 :message "rustc [E0201]: duplicate definitions with name `co..." :level error :id nil :group nil :-end-line 24 :-end-column 6) #s(flycheck-error :buffer # :checker eglot :filename "/Users/rayh/projects/gnr/rustbook/src/lib.rs" :line 18 :column 5 :message "rustc [E0201]: previous definition of `content` he..." :level info :id nil :group nil :-end-line 20 :-end-column 6))))
#f(compiled-function (&rest args) #)(finished (#s(flycheck-error :buffer # :checker eglot :filename "/Users/rayh/projects/gnr/rustbook/src/lib.rs" :line 1 :column 1 :message "rust-analyzer [unlinked-file]: file not included i..." :level info :id nil :group nil :-end-line 1 :-end-column 4) #s(flycheck-error :buffer # :checker eglot :filename "/Users/rayh/projects/gnr/rustbook/src/lib.rs" :line 22 :column 9 :message "rustc [E0201]: duplicate definitions with name `co..." :level error :id nil :group nil :-end-line 24 :-end-column 6) #s(flycheck-error :buffer # :checker eglot :filename "/Users/rayh/projects/gnr/rustbook/src/lib.rs" :line 18 :column 5 :message "rustc [E0201]: previous definition of `content` he..." :level info :id nil :group nil :-end-line 20 :-end-column 6)))
funcall(#f(compiled-function (&rest args) #) finished (#s(flycheck-error :buffer # :checker eglot :filename "/Users/rayh/projects/gnr/rustbook/src/lib.rs" :line 1 :column 1 :message "rust-analyzer [unlinked-file]: file not included i..." :level info :id nil :group nil :-end-line 1 :-end-column 4) #s(flycheck-error :buffer # :checker eglot :filename "/Users/rayh/projects/gnr/rustbook/src/lib.rs" :line 22 :column 9 :message "rustc [E0201]: duplicate definitions with name `co..." :level error :id nil :group nil :-end-line 24 :-end-column 6) #s(flycheck-error :buffer # :checker eglot :filename "/Users/rayh/projects/gnr/rustbook/src/lib.rs" :line 18 :column 5 :message "rustc [E0201]: previous definition of `content` he..." :level info :id nil :group nil :-end-line 20 :-end-column 6)))
+lsp--flycheck-eglot-init(eglot #f(compiled-function (&rest args) #))
flycheck-syntax-check-start(#s(flycheck-syntax-check :buffer # :checker eglot :context nil :working-directory "/Users/rayh/projects/gnr/rustbook/src/") #f(compiled-function (&rest args) #))
flycheck-start-current-syntax-check(eglot)
... I've omitted this middle section to keep the stack trace small ...
flycheck-buffer()
flycheck-buffer-automatically()
flycheck-perform-deferred-syntax-check()
flycheck-finish-current-syntax-check((#s(flycheck-error :buffer # :checker eglot :filename "/Users/rayh/projects/gnr/rustbook/src/lib.rs" :line 1 :column 1 :message "rust-analyzer [unlinked-file]: file not included i..." :level info :id nil :group nil :-end-line 1 :-end-column 4) #s(flycheck-error :buffer # :checker eglot :filename "/Users/rayh/projects/gnr/rustbook/src/lib.rs" :line 22 :column 9 :message "rustc [E0201]: duplicate definitions with name `co..." :level error :id nil :group nil :-end-line 24 :-end-column 6) #s(flycheck-error :buffer # :checker eglot :filename "/Users/rayh/projects/gnr/rustbook/src/lib.rs" :line 18 :column 5 :message "rustc [E0201]: previous definition of `content` he..." :level info :id nil :group nil :-end-line 20 :-end-column 6)) "/Users/rayh/projects/gnr/rustbook/src/")
flycheck-report-buffer-checker-status(#s(flycheck-syntax-check :buffer # :checker eglot :context nil :working-directory "/Users/rayh/projects/gnr/rustbook/src/") finished (#s(flycheck-error :buffer # :checker eglot :filename "/Users/rayh/projects/gnr/rustbook/src/lib.rs" :line 1 :column 1 :message "rust-analyzer [unlinked-file]: file not included i..." :level info :id nil :group nil :-end-line 1 :-end-column 4) #s(flycheck-error :buffer # :checker eglot :filename "/Users/rayh/projects/gnr/rustbook/src/lib.rs" :line 22 :column 9 :message "rustc [E0201]: duplicate definitions with name `co..." :level error :id nil :group nil :-end-line 24 :-end-column 6) #s(flycheck-error :buffer # :checker eglot :filename "/Users/rayh/projects/gnr/rustbook/src/lib.rs" :line 18 :column 5 :message "rustc [E0201]: previous definition of `content` he..." :level info :id nil :group nil :-end-line 20 :-end-column 6)))
apply(flycheck-report-buffer-checker-status #s(flycheck-syntax-check :buffer # :checker eglot :context nil :working-directory "/Users/rayh/projects/gnr/rustbook/src/") (finished (#s(flycheck-error :buffer # :checker eglot :filename "/Users/rayh/projects/gnr/rustbook/src/lib.rs" :line 1 :column 1 :message "rust-analyzer [unlinked-file]: file not included i..." :level info :id nil :group nil :-end-line 1 :-end-column 4) #s(flycheck-error :buffer # :checker eglot :filename "/Users/rayh/projects/gnr/rustbook/src/lib.rs" :line 22 :column 9 :message "rustc [E0201]: duplicate definitions with name `co..." :level error :id nil :group nil :-end-line 24 :-end-column 6) #s(flycheck-error :buffer # :checker eglot :filename "/Users/rayh/projects/gnr/rustbook/src/lib.rs" :line 18 :column 5 :message "rustc [E0201]: previous definition of `content` he..." :level info :id nil :group nil :-end-line 20 :-end-column 6))))
#f(compiled-function (&rest args) #)(finished (#s(flycheck-error :buffer # :checker eglot :filename "/Users/rayh/projects/gnr/rustbook/src/lib.rs" :line 1 :column 1 :message "rust-analyzer [unlinked-file]: file not included i..." :level info :id nil :group nil :-end-line 1 :-end-column 4) #s(flycheck-error :buffer # :checker eglot :filename "/Users/rayh/projects/gnr/rustbook/src/lib.rs" :line 22 :column 9 :message "rustc [E0201]: duplicate definitions with name `co..." :level error :id nil :group nil :-end-line 24 :-end-column 6) #s(flycheck-error :buffer # :checker eglot :filename "/Users/rayh/projects/gnr/rustbook/src/lib.rs" :line 18 :column 5 :message "rustc [E0201]: previous definition of `content` he..." :level info :id nil :group nil :-end-line 20 :-end-column 6)))
funcall(#f(compiled-function (&rest args) #) finished (#s(flycheck-error :buffer # :checker eglot :filename "/Users/rayh/projects/gnr/rustbook/src/lib.rs" :line 1 :column 1 :message "rust-analyzer [unlinked-file]: file not included i..." :level info :id nil :group nil :-end-line 1 :-end-column 4) #s(flycheck-error :buffer # :checker eglot :filename "/Users/rayh/projects/gnr/rustbook/src/lib.rs" :line 22 :column 9 :message "rustc [E0201]: duplicate definitions with name `co..." :level error :id nil :group nil :-end-line 24 :-end-column 6) #s(flycheck-error :buffer # :checker eglot :filename "/Users/rayh/projects/gnr/rustbook/src/lib.rs" :line 18 :column 5 :message "rustc [E0201]: previous definition of `content` he..." :level info :id nil :group nil :-end-line 20 :-end-column 6)))
+lsp--flycheck-eglot-init(eglot #f(compiled-function (&rest args) #))
flycheck-syntax-check-start(#s(flycheck-syntax-check :buffer # :checker eglot :context nil :working-directory "/Users/rayh/projects/gnr/rustbook/src/") #f(compiled-function (&rest args) #))
flycheck-start-current-syntax-check(eglot)
flycheck-buffer()
flycheck-buffer-automatically()
flycheck-perform-deferred-syntax-check1()
flycheck-finish-current-syntax-check((#s(flycheck-error :buffer # :checker eglot :filename "/Users/rayh/projects/gnr/rustbook/src/lib.rs" :line 1 :column 1 :message "rust-analyzer [unlinked-file]: file not included i..." :level info :id nil :group nil :-end-line 1 :-end-column 4) #s(flycheck-error :buffer # :checker eglot :filename "/Users/rayh/projects/gnr/rustbook/src/lib.rs" :line 22 :column 9 :message "rustc [E0201]: duplicate definitions with name `co..." :level error :id nil :group nil :-end-line 24 :-end-column 6) #s(flycheck-error :buffer # :checker eglot :filename "/Users/rayh/projects/gnr/rustbook/src/lib.rs" :line 18 :column 5 :message "rustc [E0201]: previous definition of `content` he..." :level info :id nil :group nil :-end-line 20 :-end-column 6)) "/Users/rayh/projects/gnr/rustbook/src/")
flycheck-report-buffer-checker-status(#s(flycheck-syntax-check :buffer # :checker eglot :context nil :working-directory "/Users/rayh/projects/gnr/rustbook/src/") finished (#s(flycheck-error :buffer # :checker eglot :filename "/Users/rayh/projects/gnr/rustbook/src/lib.rs" :line 1 :column 1 :message "rust-analyzer [unlinked-file]: file not included i..." :level info :id nil :group nil :-end-line 1 :-end-column 4) #s(flycheck-error :buffer # :checker eglot :filename "/Users/rayh/projects/gnr/rustbook/src/lib.rs" :line 22 :column 9 :message "rustc [E0201]: duplicate definitions with name `co..." :level error :id nil :group nil :-end-line 24 :-end-column 6) #s(flycheck-error :buffer # :checker eglot :filename "/Users/rayh/projects/gnr/rustbook/src/lib.rs" :line 18 :column 5 :message "rustc [E0201]: previous definition of `content` he.
.." :level info :id nil :group nil :-end-line 20 :-end-column 6)))
apply(flycheck-report-buffer-checker-status #s(flycheck-syntax-check :buffer # :checker eglot :context nil :working-directory "/Users/rayh/projects/gnr/rustbook/src/") (finished (#s(flycheck-error :buffer # :checker eglot :filename "/Users/rayh/projects/gnr/rustbook/src/lib.rs" :line 1 :column 1 :message "rust-analyzer [unlinked-file]: file not included i..." :level info :id nil :group nil :-end-line 1 :-end-column 4) #s(flycheck-error :buffer # :checker eglot :filename "/Users/rayh/projects/gnr/rustbook/src/lib.rs" :line 22 :column 9 :message "rustc [E0201]: duplicate definitions with name `co..." :level error :id nil :group nil :-end-line 24 :-end-column 6) #s(flycheck-error :buffer # :checker eglot :filename "/Users/rayh/projects/gnr/rustbook/src/lib.rs" :line 18 :column 5 :message "rustc [E0201]: previous definition of `content` he..." :level info :id nil :group nil :-end-line 20 :-end-column 6))))
#f(compiled-function (&rest args) #)(finished (#s(flycheck-error :buffer # :checker eglot :filename "/Users/rayh/projects/gnr/rustbook/src/lib.rs" :line 1 :column 1 :message "rust-analyzer [unlinked-file]: file not included i..." :level info :id nil :group nil :-end-line 1 :-end-column 4) #s(flycheck-error :buffer # :checker eglot :filename "/Users/rayh/projects/gnr/rustbook/src/lib.rs" :line 22 :column 9 :message "rustc [E0201]: duplicate definitions with name `co..." :level error :id nil :group nil :-end-line 24 :-end-column 6) #s(flycheck-error :buffer # :checker eglot :filename "/Users/rayh/projects/gnr/rustbook/src/lib.rs" :line 18 :column 5 :message "rustc [E0201]: previous definition of `content` he..." :level info :id nil :group nil :-end-line 20 :-end-column 6)))
funcall(#f(compiled-function (&rest args) #) finished (#s(flycheck-error :buffer # :checker eglot :filename "/Users/rayh/projects/gnr/rustbook/src/lib.rs" :line 1 :column 1 :message "rust-analyzer [unlinked-file]: file not included i..." :level info :id nil :group nil :-end-line 1 :-end-column 4) #s(flycheck-error :buffer # :checker eglot :filename "/Users/rayh/projects/gnr/rustbook/src/lib.rs" :line 22 :column 9 :message "rustc [E0201]: duplicate definitions with name `co..." :level error :id nil :group nil :-end-line 24 :-end-column 6) #s(flycheck-error :buffer # :checker eglot :filename "/Users/rayh/projects/gnr/rustbook/src/lib.rs" :line 18 :column 5 :message "rustc [E0201]: previous definition of `content` he..." :level info :id nil :group nil :-end-line 20 :-end-column 6)))
+lsp--flycheck-eglot-init(eglot #f(compiled-function (&rest args) #))
flycheck-syntax-check-start(#s(flycheck-syntax-check :buffer # :checker eglot :context nil :working-directory "/Users/rayh/projects/gnr/rustbook/src/") #f(compiled-function (&rest args) #))
flycheck-start-current-syntax-check(eglot)
flycheck-buffer()
flycheck-buffer-automatically(save)
flycheck-handle-save()
run-hooks(after-save-hook)
basic-save-buffer(t)
save-buffer(1)
funcall-interactively(save-buffer 1)
command-execute(save-buffer)
```
### Describe your attempts to resolve the issue
I can avoid this issue by disabling the eglot checker.
### Steps to reproduce
1. Open Emacs
2. Open a rust file (see eglot started)
4. See Error in mini-buffer
### System Information
https://pastebin.com/tkf2nuEf
Contributor guide
Assessment
This issue has not been assessed yet.