Closed Shapooo closed 1 year ago
When I use rust-analyzer in rustic mode, lsp-lens crashed, and I got messages like (wrong-type-argument hash-table-p (:line 0 :character 0)) repeatedly. Here is the backtrace:
(wrong-type-argument hash-table-p (:line 0 :character 0))
Debugger entered--Lisp error: (wrong-type-argument hash-table-p (:line 0 :character 0)) gethash("line" (:line 0 :character 0)) lsp--position-compare((:line 0 :character 0) #<hash-table equal 2/2 0x158edf44c581>) lsp-point-in-range\?(#<hash-table equal 2/2 0x158edf44c581> #<hash-table equal 2/65 0x158edf47c739>) lsp--lens-backend-not-loaded\?(#<hash-table equal 2/65 0x158edf47c739> #<hash-table equal 3/3 0x158edf63c261>) apply(lsp--lens-backend-not-loaded\? (#<hash-table equal 2/65 0x158edf47c739> #<hash-table equal 3/3 0x158edf63c261>)) #f(compiled-function (&rest args2) #<bytecode -0x1132c224bf59157f>)(#<hash-table equal 3/3 0x158edf63c261>) #f(compiled-function (elt) #<bytecode 0x1ba478ea7e76f026>)(#<hash-table equal 3/3 0x158edf63c261>) mapcar(#f(compiled-function (elt) #<bytecode 0x1ba478ea7e76f026>) (#<hash-table equal 3/3 0x158edf39f859> #<hash-table equal 3/3 0x158edf744687> #<hash-table equal 3/3 0x158edf5e0d59> #<hash-table equal 3/3 0x158edf5bac35> #<hash-table equal 3/3 0x158edf6b7e0d> #<hash-table equal 3/3 0x158edf650ebf> #<hash-table equal 3/3 0x158edf3e603f> #<hash-table equal 3/3 0x158edf6d9185> #<hash-table equal 3/3 0x158edf63c261> #<hash-table equal 3/3 0x158edf44ca0b> #<hash-table equal 3/3 0x158edf44d25f> #<hash-table equal 3/3 0x158edf452f79>)) #f(compiled-function #'sequence #<bytecode 0x1843f244f9a839b4>)(#f(compiled-function (elt) #<bytecode 0x1ba478ea7e76f026>) (#<hash-table equal 3/3 0x158edf39f859> #<hash-table equal 3/3 0x158edf744687> #<hash-table equal 3/3 0x158edf5e0d59> #<hash-table equal 3/3 0x158edf5bac35> #<hash-table equal 3/3 0x158edf6b7e0d> #<hash-table equal 3/3 0x158edf650ebf> #<hash-table equal 3/3 0x158edf3e603f> #<hash-table equal 3/3 0x158edf6d9185> #<hash-table equal 3/3 0x158edf63c261> #<hash-table equal 3/3 0x158edf44ca0b> #<hash-table equal 3/3 0x158edf44d25f> #<hash-table equal 3/3 0x158edf452f79>)) apply(#f(compiled-function #'sequence #<bytecode 0x1843f244f9a839b4>) #f(compiled-function (elt) #<bytecode 0x1ba478ea7e76f026>) (#<hash-table equal 3/3 0x158edf39f859> #<hash-table equal 3/3 0x158edf744687> #<hash-table equal 3/3 0x158edf5e0d59> #<hash-table equal 3/3 0x158edf5bac35> #<hash-table equal 3/3 0x158edf6b7e0d> #<hash-table equal 3/3 0x158edf650ebf> #<hash-table equal 3/3 0x158edf3e603f> #<hash-table equal 3/3 0x158edf6d9185> #<hash-table equal 3/3 0x158edf63c261> #<hash-table equal 3/3 0x158edf44ca0b> #<hash-table equal 3/3 0x158edf44d25f> #<hash-table equal 3/3 0x158edf452f79>) nil) seq-map(#f(compiled-function (elt) #<bytecode 0x1ba478ea7e76f026>) (#<hash-table equal 3/3 0x158edf39f859> #<hash-table equal 3/3 0x158edf744687> #<hash-table equal 3/3 0x158edf5e0d59> #<hash-table equal 3/3 0x158edf5bac35> #<hash-table equal 3/3 0x158edf6b7e0d> #<hash-table equal 3/3 0x158edf650ebf> #<hash-table equal 3/3 0x158edf3e603f> #<hash-table equal 3/3 0x158edf6d9185> #<hash-table equal 3/3 0x158edf63c261> #<hash-table equal 3/3 0x158edf44ca0b> #<hash-table equal 3/3 0x158edf44d25f> #<hash-table equal 3/3 0x158edf452f79>)) seq-filter(#f(compiled-function (&rest args2) #<bytecode -0x1132c224bf59157f>) (#<hash-table equal 3/3 0x158edf39f859> #<hash-table equal 3/3 0x158edf744687> #<hash-table equal 3/3 0x158edf5e0d59> #<hash-table equal 3/3 0x158edf5bac35> #<hash-table equal 3/3 0x158edf6b7e0d> #<hash-table equal 3/3 0x158edf650ebf> #<hash-table equal 3/3 0x158edf3e603f> #<hash-table equal 3/3 0x158edf6d9185> #<hash-table equal 3/3 0x158edf63c261> #<hash-table equal 3/3 0x158edf44ca0b> #<hash-table equal 3/3 0x158edf44d25f> #<hash-table equal 3/3 0x158edf452f79>)) lsp-lens--backend-fetch-missing((#<hash-table equal 3/3 0x158edf39f859> #<hash-table equal 3/3 0x158edf744687> #<hash-table equal 3/3 0x158edf5e0d59> #<hash-table equal 3/3 0x158edf5bac35> #<hash-table equal 3/3 0x158edf6b7e0d> #<hash-table equal 3/3 0x158edf650ebf> #<hash-table equal 3/3 0x158edf3e603f> #<hash-table equal 3/3 0x158edf6d9185> #<hash-table equal 3/3 0x158edf63c261> #<hash-table equal 3/3 0x158edf44ca0b> #<hash-table equal 3/3 0x158edf44d25f> #<hash-table equal 3/3 0x158edf452f79>) #f(compiled-function (lenses version) #<bytecode -0x9fe838f654cd556>) 5) #f(compiled-function (lenses) #<bytecode -0x1482c1b35d6e3e95>)(((#s(lsp--workspace :ewoc nil :server-capabilities #<hash-table equal 26/26 0x158ede575f87> :registered-server-capabilities (#s(lsp--registered-capability :id "workspace/didChangeWatchedFiles" :method "workspace/didChangeWatchedFiles" :options #<hash-table equal 1/1 0x158edf232df1>) #s(lsp--registered-capability :id "workspace/didChangeWatchedFiles" :method "workspace/didChangeWatchedFiles" :options #<hash-table equal 1/1 0x158edf1d478f>)) :root "/home/shapo/PseudoWork/rust/weiback-rs" :client #s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name environment-fn workspace) #<bytecode 0x18e73d4638bd49c5>) :test\? #f(compiled-function () #<bytecode -0x1dd7b19291937553>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 1/65 0x158edf36b41f> :request-handlers #<hash-table equal 0/65 0x158edf36b4e3> :response-handlers #<hash-table eql 0/65 0x158edf36bb0d> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x158edf36c22f> :action-handlers #<hash-table equal 4/65 0x158edf36b4c3> :major-modes nil :activation-fn #f(compiled-function (file-name mode) #<bytecode -0x6bb9f9086646341>) :priority 1 :server-id rust-analyzer :multi-root nil :initialization-options lsp-rust-analyzer--make-init-options :semantic-tokens-faces-overrides (:discard-default-modifiers t :modifiers (("documentation" . lsp-rust-analyzer-documentation-modifier-face) ("declaration" . lsp-rust-analyzer-declaration-modifier-face) ("definition" . lsp-rust-analyzer-definition-modifier-face) ("static" . lsp-rust-analyzer-static-modifier-face) ("abstract" . lsp-rust-analyzer-abstract-modifier-face) ("deprecated" . lsp-rust-analyzer-deprecated-modifier-face) ("readonly" . lsp-rust-analyzer-readonly-modifier-face) ("default_library" . lsp-rust-analyzer-default-library-modifier-face) ("async" . lsp-rust-analyzer-async-modifier-face) ("attribute" . lsp-rust-analyzer-attribute-modifier-face) ("callable" . lsp-rust-analyzer-callable-modifier-face) ("constant" . lsp-rust-analyzer-constant-modifier-face) ("consuming" . lsp-rust-analyzer-consuming-modifier-face) ("control_flow" . lsp-rust-analyzer-control-flow-modifier-face) ("crate_root" . lsp-rust-analyzer-crate-root-modifier-face) ("injected" . lsp-rust-analyzer-injected-modifier-face) ("intra_doc_link" . lsp-rust-analyzer-intra-doc-link-modifier-face) ("library" . lsp-rust-analyzer-library-modifier-face) ("mutable" . lsp-rust-analyzer-mutable-modifier-face) ("public" . lsp-rust-analyzer-public-modifier-face) ("reference" . lsp-rust-analyzer-reference-modifier-face) ("trait" . lsp-rust-analyzer-trait-modifier-face) ("unsafe" . lsp-rust-analyzer-unsafe-modifier-face))) :custom-capabilities ((experimental (snippetTextEdit . t))) :library-folders-fn #f(compiled-function (workspace) #<bytecode -0x47e81766fcb3938>) :before-file-open-fn nil :initialized-fn nil :remote? nil :completion-in-comments? nil :path->uri-fn nil :uri->path-fn nil :environment-fn nil :after-open-fn nil :async-request-handlers #<hash-table equal 0/65 0x158edf36c53d> :download-server-fn #f(compiled-function (client callback error-callback update\?) #<bytecode 0x1730d04507603763>) :download-in-progress? nil :buffers nil :synchronize-sections nil) :host-root nil :proc #<process rust-analyzer> :cmd-proc #<process rust-analyzer> :buffers (#<buffer data.rs>) :semantic-tokens-faces nil :semantic-tokens-modifier-faces nil :extra-client-capabilities nil :status initialized :metadata #<hash-table equal 0/65 0x158edf5f0803> :watches #<hash-table equal 0/65 0x158edf5f0929> :workspace-folders nil :last-id 0 :status-string nil :shutdown-action nil :diagnostics #<hash-table equal 4/65 0x158edefaac05> :work-done-tokens #<hash-table equal 0/65 0x158edefaadaf>) . [#<hash-table equal 3/3 0x158edf39f859> #<hash-table equal 3/3 0x158edf744687> #<hash-table equal 3/3 0x158edf5e0d59> #<hash-table equal 3/3 0x158edf5bac35> #<hash-table equal 3/3 0x158edf6b7e0d> #<hash-table equal 3/3 0x158edf650ebf> #<hash-table equal 3/3 0x158edf3e603f> #<hash-table equal 3/3 0x158edf6d9185> #<hash-table equal 3/3 0x158edf63c261> #<hash-table equal 3/3 0x158edf44ca0b> #<hash-table equal 3/3 0x158edf44d25f> #<hash-table equal 3/3 0x158edf452f79>]))) apply(#f(compiled-function (lenses) #<bytecode -0x1482c1b35d6e3e95>) ((#s(lsp--workspace :ewoc nil :server-capabilities #<hash-table equal 26/26 0x158ede575f87> :registered-server-capabilities (#s(lsp--registered-capability :id "workspace/didChangeWatchedFiles" :method "workspace/didChangeWatchedFiles" :options #<hash-table equal 1/1 0x158edf232df1>) #s(lsp--registered-capability :id "workspace/didChangeWatchedFiles" :method "workspace/didChangeWatchedFiles" :options #<hash-table equal 1/1 0x158edf1d478f>)) :root "/home/shapo/PseudoWork/rust/weiback-rs" :client #s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name environment-fn workspace) #<bytecode 0x18e73d4638bd49c5>) :test\? #f(compiled-function () #<bytecode -0x1dd7b19291937553>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 1/65 0x158edf36b41f> :request-handlers #<hash-table equal 0/65 0x158edf36b4e3> :response-handlers #<hash-table eql 0/65 0x158edf36bb0d> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x158edf36c22f> :action-handlers #<hash-table equal 4/65 0x158edf36b4c3> :major-modes nil :activation-fn #f(compiled-function (file-name mode) #<bytecode -0x6bb9f9086646341>) :priority 1 :server-id rust-analyzer :multi-root nil :initialization-options lsp-rust-analyzer--make-init-options :semantic-tokens-faces-overrides (:discard-default-modifiers t :modifiers (("documentation" . lsp-rust-analyzer-documentation-modifier-face) ("declaration" . lsp-rust-analyzer-declaration-modifier-face) ("definition" . lsp-rust-analyzer-definition-modifier-face) ("static" . lsp-rust-analyzer-static-modifier-face) ("abstract" . lsp-rust-analyzer-abstract-modifier-face) ("deprecated" . lsp-rust-analyzer-deprecated-modifier-face) ("readonly" . lsp-rust-analyzer-readonly-modifier-face) ("default_library" . lsp-rust-analyzer-default-library-modifier-face) ("async" . lsp-rust-analyzer-async-modifier-face) ("attribute" . lsp-rust-analyzer-attribute-modifier-face) ("callable" . lsp-rust-analyzer-callable-modifier-face) ("constant" . lsp-rust-analyzer-constant-modifier-face) ("consuming" . lsp-rust-analyzer-consuming-modifier-face) ("control_flow" . lsp-rust-analyzer-control-flow-modifier-face) ("crate_root" . lsp-rust-analyzer-crate-root-modifier-face) ("injected" . lsp-rust-analyzer-injected-modifier-face) ("intra_doc_link" . lsp-rust-analyzer-intra-doc-link-modifier-face) ("library" . lsp-rust-analyzer-library-modifier-face) ("mutable" . lsp-rust-analyzer-mutable-modifier-face) ("public" . lsp-rust-analyzer-public-modifier-face) ("reference" . lsp-rust-analyzer-reference-modifier-face) ("trait" . lsp-rust-analyzer-trait-modifier-face) ("unsafe" . lsp-rust-analyzer-unsafe-modifier-face))) :custom-capabilities ((experimental (snippetTextEdit . t))) :library-folders-fn #f(compiled-function (workspace) #<bytecode -0x47e81766fcb3938>) :before-file-open-fn nil :initialized-fn nil :remote? nil :completion-in-comments? nil :path->uri-fn nil :uri->path-fn nil :environment-fn nil :after-open-fn nil :async-request-handlers #<hash-table equal 0/65 0x158edf36c53d> :download-server-fn #f(compiled-function (client callback error-callback update\?) #<bytecode 0x1730d04507603763>) :download-in-progress? nil :buffers nil :synchronize-sections nil) :host-root nil :proc #<process rust-analyzer> :cmd-proc #<process rust-analyzer> :buffers (#<buffer data.rs>) :semantic-tokens-faces nil :semantic-tokens-modifier-faces nil :extra-client-capabilities nil :status initialized :metadata #<hash-table equal 0/65 0x158edf5f0803> :watches #<hash-table equal 0/65 0x158edf5f0929> :workspace-folders nil :last-id 0 :status-string nil :shutdown-action nil :diagnostics #<hash-table equal 4/65 0x158edefaac05> :work-done-tokens #<hash-table equal 0/65 0x158edefaadaf>) . [#<hash-table equal 3/3 0x158edf39f859> #<hash-table equal 3/3 0x158edf744687> #<hash-table equal 3/3 0x158edf5e0d59> #<hash-table equal 3/3 0x158edf5bac35> #<hash-table equal 3/3 0x158edf6b7e0d> #<hash-table equal 3/3 0x158edf650ebf> #<hash-table equal 3/3 0x158edf3e603f> #<hash-table equal 3/3 0x158edf6d9185> #<hash-table equal 3/3 0x158edf63c261> #<hash-table equal 3/3 0x158edf44ca0b> #<hash-table equal 3/3 0x158edf44d25f> #<hash-table equal 3/3 0x158edf452f79>]))) #f(compiled-function (&rest args) #<bytecode -0x139aaa2dee9fa9fa>)(((#s(lsp--workspace :ewoc nil :server-capabilities #<hash-table equal 26/26 0x158ede575f87> :registered-server-capabilities (#s(lsp--registered-capability :id "workspace/didChangeWatchedFiles" :method "workspace/didChangeWatchedFiles" :options #<hash-table equal 1/1 0x158edf232df1>) #s(lsp--registered-capability :id "workspace/didChangeWatchedFiles" :method "workspace/didChangeWatchedFiles" :options #<hash-table equal 1/1 0x158edf1d478f>)) :root "/home/shapo/PseudoWork/rust/weiback-rs" :client #s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name environment-fn workspace) #<bytecode 0x18e73d4638bd49c5>) :test\? #f(compiled-function () #<bytecode -0x1dd7b19291937553>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 1/65 0x158edf36b41f> :request-handlers #<hash-table equal 0/65 0x158edf36b4e3> :response-handlers #<hash-table eql 0/65 0x158edf36bb0d> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x158edf36c22f> :action-handlers #<hash-table equal 4/65 0x158edf36b4c3> :major-modes nil :activation-fn #f(compiled-function (file-name mode) #<bytecode -0x6bb9f9086646341>) :priority 1 :server-id rust-analyzer :multi-root nil :initialization-options lsp-rust-analyzer--make-init-options :semantic-tokens-faces-overrides (:discard-default-modifiers t :modifiers (("documentation" . lsp-rust-analyzer-documentation-modifier-face) ("declaration" . lsp-rust-analyzer-declaration-modifier-face) ("definition" . lsp-rust-analyzer-definition-modifier-face) ("static" . lsp-rust-analyzer-static-modifier-face) ("abstract" . lsp-rust-analyzer-abstract-modifier-face) ("deprecated" . lsp-rust-analyzer-deprecated-modifier-face) ("readonly" . lsp-rust-analyzer-readonly-modifier-face) ("default_library" . lsp-rust-analyzer-default-library-modifier-face) ("async" . lsp-rust-analyzer-async-modifier-face) ("attribute" . lsp-rust-analyzer-attribute-modifier-face) ("callable" . lsp-rust-analyzer-callable-modifier-face) ("constant" . lsp-rust-analyzer-constant-modifier-face) ("consuming" . lsp-rust-analyzer-consuming-modifier-face) ("control_flow" . lsp-rust-analyzer-control-flow-modifier-face) ("crate_root" . lsp-rust-analyzer-crate-root-modifier-face) ("injected" . lsp-rust-analyzer-injected-modifier-face) ("intra_doc_link" . lsp-rust-analyzer-intra-doc-link-modifier-face) ("library" . lsp-rust-analyzer-library-modifier-face) ("mutable" . lsp-rust-analyzer-mutable-modifier-face) ("public" . lsp-rust-analyzer-public-modifier-face) ("reference" . lsp-rust-analyzer-reference-modifier-face) ("trait" . lsp-rust-analyzer-trait-modifier-face) ("unsafe" . lsp-rust-analyzer-unsafe-modifier-face))) :custom-capabilities ((experimental (snippetTextEdit . t))) :library-folders-fn #f(compiled-function (workspace) #<bytecode -0x47e81766fcb3938>) :before-file-open-fn nil :initialized-fn nil :remote? nil :completion-in-comments? nil :path->uri-fn nil :uri->path-fn nil :environment-fn nil :after-open-fn nil :async-request-handlers #<hash-table equal 0/65 0x158edf36c53d> :download-server-fn #f(compiled-function (client callback error-callback update\?) #<bytecode 0x1730d04507603763>) :download-in-progress? nil :buffers nil :synchronize-sections nil) :host-root nil :proc #<process rust-analyzer> :cmd-proc #<process rust-analyzer> :buffers (#<buffer data.rs>) :semantic-tokens-faces nil :semantic-tokens-modifier-faces nil :extra-client-capabilities nil :status initialized :metadata #<hash-table equal 0/65 0x158edf5f0803> :watches #<hash-table equal 0/65 0x158edf5f0929> :workspace-folders nil :last-id 0 :status-string nil :shutdown-action nil :diagnostics #<hash-table equal 4/65 0x158edefaac05> :work-done-tokens #<hash-table equal 0/65 0x158edefaadaf>) . [#<hash-table equal 3/3 0x158edf39f859> #<hash-table equal 3/3 0x158edf744687> #<hash-table equal 3/3 0x158edf5e0d59> #<hash-table equal 3/3 0x158edf5bac35> #<hash-table equal 3/3 0x158edf6b7e0d> #<hash-table equal 3/3 0x158edf650ebf> #<hash-table equal 3/3 0x158edf3e603f> #<hash-table equal 3/3 0x158edf6d9185> #<hash-table equal 3/3 0x158edf63c261> #<hash-table equal 3/3 0x158edf44ca0b> #<hash-table equal 3/3 0x158edf44d25f> #<hash-table equal 3/3 0x158edf452f79>]))) #f(compiled-function (result) #<bytecode 0x420e73682b18092>)([#<hash-table equal 3/3 0x158edf39f859> #<hash-table equal 3/3 0x158edf744687> #<hash-table equal 3/3 0x158edf5e0d59> #<hash-table equal 3/3 0x158edf5bac35> #<hash-table equal 3/3 0x158edf6b7e0d> #<hash-table equal 3/3 0x158edf650ebf> #<hash-table equal 3/3 0x158edf3e603f> #<hash-table equal 3/3 0x158edf6d9185> #<hash-table equal 3/3 0x158edf63c261> #<hash-table equal 3/3 0x158edf44ca0b> #<hash-table equal 3/3 0x158edf44d25f> #<hash-table equal 3/3 0x158edf452f79>]) #f(compiled-function (result) #<bytecode -0x7e364643881ac68>)([#<hash-table equal 3/3 0x158edf39f859> #<hash-table equal 3/3 0x158edf744687> #<hash-table equal 3/3 0x158edf5e0d59> #<hash-table equal 3/3 0x158edf5bac35> #<hash-table equal 3/3 0x158edf6b7e0d> #<hash-table equal 3/3 0x158edf650ebf> #<hash-table equal 3/3 0x158edf3e603f> #<hash-table equal 3/3 0x158edf6d9185> #<hash-table equal 3/3 0x158edf63c261> #<hash-table equal 3/3 0x158edf44ca0b> #<hash-table equal 3/3 0x158edf44d25f> #<hash-table equal 3/3 0x158edf452f79>]) lsp--parser-on-message(#<hash-table equal 3/3 0x158edf39ec5b> #s(lsp--workspace :ewoc nil :server-capabilities #<hash-table equal 26/26 0x158ede575f87> :registered-server-capabilities (#s(lsp--registered-capability :id "workspace/didChangeWatchedFiles" :method "workspace/didChangeWatchedFiles" :options #<hash-table equal 1/1 0x158edf232df1>) #s(lsp--registered-capability :id "workspace/didChangeWatchedFiles" :method "workspace/didChangeWatchedFiles" :options #<hash-table equal 1/1 0x158edf1d478f>)) :root "/home/shapo/PseudoWork/rust/weiback-rs" :client #s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name environment-fn workspace) #<bytecode 0x18e73d4638bd49c5>) :test\? #f(compiled-function () #<bytecode -0x1dd7b19291937553>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 1/65 0x158edf36b41f> :request-handlers #<hash-table equal 0/65 0x158edf36b4e3> :response-handlers #<hash-table eql 0/65 0x158edf36bb0d> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x158edf36c22f> :action-handlers #<hash-table equal 4/65 0x158edf36b4c3> :major-modes nil :activation-fn #f(compiled-function (file-name mode) #<bytecode -0x6bb9f9086646341>) :priority 1 :server-id rust-analyzer :multi-root nil :initialization-options lsp-rust-analyzer--make-init-options :semantic-tokens-faces-overrides (:discard-default-modifiers t :modifiers (("documentation" . lsp-rust-analyzer-documentation-modifier-face) ("declaration" . lsp-rust-analyzer-declaration-modifier-face) ("definition" . lsp-rust-analyzer-definition-modifier-face) ("static" . lsp-rust-analyzer-static-modifier-face) ("abstract" . lsp-rust-analyzer-abstract-modifier-face) ("deprecated" . lsp-rust-analyzer-deprecated-modifier-face) ("readonly" . lsp-rust-analyzer-readonly-modifier-face) ("default_library" . lsp-rust-analyzer-default-library-modifier-face) ("async" . lsp-rust-analyzer-async-modifier-face) ("attribute" . lsp-rust-analyzer-attribute-modifier-face) ("callable" . lsp-rust-analyzer-callable-modifier-face) ("constant" . lsp-rust-analyzer-constant-modifier-face) ("consuming" . lsp-rust-analyzer-consuming-modifier-face) ("control_flow" . lsp-rust-analyzer-control-flow-modifier-face) ("crate_root" . lsp-rust-analyzer-crate-root-modifier-face) ("injected" . lsp-rust-analyzer-injected-modifier-face) ("intra_doc_link" . lsp-rust-analyzer-intra-doc-link-modifier-face) ("library" . lsp-rust-analyzer-library-modifier-face) ("mutable" . lsp-rust-analyzer-mutable-modifier-face) ("public" . lsp-rust-analyzer-public-modifier-face) ("reference" . lsp-rust-analyzer-reference-modifier-face) ("trait" . lsp-rust-analyzer-trait-modifier-face) ("unsafe" . lsp-rust-analyzer-unsafe-modifier-face))) :custom-capabilities ((experimental (snippetTextEdit . t))) :library-folders-fn #f(compiled-function (workspace) #<bytecode -0x47e81766fcb3938>) :before-file-open-fn nil :initialized-fn nil :remote? nil :completion-in-comments? nil :path->uri-fn nil :uri->path-fn nil :environment-fn nil :after-open-fn nil :async-request-handlers #<hash-table equal 0/65 0x158edf36c53d> :download-server-fn #f(compiled-function (client callback error-callback update\?) #<bytecode 0x1730d04507603763>) :download-in-progress? nil :buffers nil :synchronize-sections nil) :host-root nil :proc #<process rust-analyzer> :cmd-proc #<process rust-analyzer> :buffers (#<buffer data.rs>) :semantic-tokens-faces nil :semantic-tokens-modifier-faces nil :extra-client-capabilities nil :status initialized :metadata #<hash-table equal 0/65 0x158edf5f0803> :watches #<hash-table equal 0/65 0x158edf5f0929> :workspace-folders nil :last-id 0 :status-string nil :shutdown-action nil :diagnostics #<hash-table equal 4/65 0x158edefaac05> :work-done-tokens #<hash-table equal 0/65 0x158edefaadaf>)) #f(compiled-function (msg) #<bytecode 0xdde5fe2b8721e60>)(#<hash-table equal 3/3 0x158edf39ec5b>) mapc(#f(compiled-function (msg) #<bytecode 0xdde5fe2b8721e60>) (#<hash-table equal 3/3 0x158edf39ec5b>)) #f(compiled-function (proc input) #<bytecode 0x4291b3ca82ab856>)(#<process rust-analyzer> "Content-Length: 6604\15\n\15\n{\"jsonrpc\":\"2.0\",\"id\":96,\"...")
i'm so sorry, delete this issue plz
When I use rust-analyzer in rustic mode, lsp-lens crashed, and I got messages like
(wrong-type-argument hash-table-p (:line 0 :character 0))
repeatedly. Here is the backtrace: