cargo install cli errors E0271, E0277, E0599.

#423
Opened by carnotweat at 2024-11-15T22·17+00

error[E0599]: no method named syntax found for reference &rnix::ast::Inherit in the current scope --> eval/src/spans.rs:74:22 | 74 | self.syntax().span_for(file) | ^^^^^^ method not found in &Inherit ... 92 | expr_to_span!(ast::Inherit); | --------------------------- in this macro invocation | note: there are multiple different versions of crate rowan in the dependency graph --> /home/xameer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rowan-0.15.16/src/ast.rs:29:1 | 29 | pub trait AstNode { | ^^^^^^^^^^^^^^^^^ this is the trait that is needed ... 40 | fn syntax(&self) -> &SyntaxNodeSelf::Language; | ------------------------------------------------ the method is available for &rnix::ast::Inherit here | ::: eval/src/spans.rs:6:5 | 6 | use rowan::ast::AstNode; | ------------------- AstNode imported here doesn't correspond to the right version of crate rowan | ::: /home/xameer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rowan-0.16.0/src/ast.rs:29:1 | 29 | pub trait AstNode { | ----------------- this is the trait that was imported = note: this error originates in the macro expr_to_span (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0599]: no method named syntax found for reference &Interpol in the current scope --> eval/src/spans.rs:74:22 | 74 | self.syntax().span_for(file) | ^^^^^^ method not found in &Interpol ... 93 | expr_to_span!(ast::Interpol); | ---------------------------- in this macro invocation | note: there are multiple different versions of crate rowan in the dependency graph --> /home/xameer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rowan-0.15.16/src/ast.rs:29:1 | 29 | pub trait AstNode { | ^^^^^^^^^^^^^^^^^ this is the trait that is needed ... 40 | fn syntax(&self) -> &SyntaxNodeSelf::Language; | ------------------------------------------------ the method is available for &Interpol here | ::: eval/src/spans.rs:6:5 | 6 | use rowan::ast::AstNode; | ------------------- AstNode imported here doesn't correspond to the right version of crate rowan | ::: /home/xameer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rowan-0.16.0/src/ast.rs:29:1 | 29 | pub trait AstNode { | ----------------- this is the trait that was imported = note: this error originates in the macro expr_to_span (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0599]: no method named syntax found for reference &rnix::ast::Lambda in the current scope --> eval/src/spans.rs:74:22 | 74 | self.syntax().span_for(file) | ^^^^^^ method not found in &Lambda ... 94 | expr_to_span!(ast::Lambda); | -------------------------- in this macro invocation | note: there are multiple different versions of crate rowan in the dependency graph --> /home/xameer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rowan-0.15.16/src/ast.rs:29:1 | 29 | pub trait AstNode { | ^^^^^^^^^^^^^^^^^ this is the trait that is needed ... 40 | fn syntax(&self) -> &SyntaxNodeSelf::Language; | ------------------------------------------------ the method is available for &rnix::ast::Lambda here | ::: eval/src/spans.rs:6:5 | 6 | use rowan::ast::AstNode; | ------------------- AstNode imported here doesn't correspond to the right version of crate rowan | ::: /home/xameer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rowan-0.16.0/src/ast.rs:29:1 | 29 | pub trait AstNode { | ----------------- this is the trait that was imported = note: this error originates in the macro expr_to_span (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0599]: no method named syntax found for reference &rnix::ast::LegacyLet in the current scope --> eval/src/spans.rs:74:22 | 74 | self.syntax().span_for(file) | ^^^^^^ method not found in &LegacyLet ... 95 | expr_to_span!(ast::LegacyLet); | ----------------------------- in this macro invocation | note: there are multiple different versions of crate rowan in the dependency graph --> /home/xameer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rowan-0.15.16/src/ast.rs:29:1 | 29 | pub trait AstNode { | ^^^^^^^^^^^^^^^^^ this is the trait that is needed ... 40 | fn syntax(&self) -> &SyntaxNodeSelf::Language; | ------------------------------------------------ the method is available for &rnix::ast::LegacyLet here | ::: eval/src/spans.rs:6:5 | 6 | use rowan::ast::AstNode; | ------------------- AstNode imported here doesn't correspond to the right version of crate rowan | ::: /home/xameer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rowan-0.16.0/src/ast.rs:29:1 | 29 | pub trait AstNode { | ----------------- this is the trait that was imported = note: this error originates in the macro expr_to_span (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0599]: no method named syntax found for reference &rnix::ast::LetIn in the current scope --> eval/src/spans.rs:74:22 | 74 | self.syntax().span_for(file) | ^^^^^^ method not found in &LetIn ... 96 | expr_to_span!(ast::LetIn); | ------------------------- in this macro invocation | note: there are multiple different versions of crate rowan in the dependency graph --> /home/xameer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rowan-0.15.16/src/ast.rs:29:1 | 29 | pub trait AstNode { | ^^^^^^^^^^^^^^^^^ this is the trait that is needed ... 40 | fn syntax(&self) -> &SyntaxNodeSelf::Language; | ------------------------------------------------ the method is available for &rnix::ast::LetIn here | ::: eval/src/spans.rs:6:5 | 6 | use rowan::ast::AstNode; | ------------------- AstNode imported here doesn't correspond to the right version of crate rowan | ::: /home/xameer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rowan-0.16.0/src/ast.rs:29:1 | 29 | pub trait AstNode { | ----------------- this is the trait that was imported = note: this error originates in the macro expr_to_span (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0599]: no method named syntax found for reference &rnix::ast::List in the current scope --> eval/src/spans.rs:74:22 | 74 | self.syntax().span_for(file) | ^^^^^^ method not found in &List ... 97 | expr_to_span!(ast::List); | ------------------------ in this macro invocation | note: there are multiple different versions of crate rowan in the dependency graph --> /home/xameer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rowan-0.15.16/src/ast.rs:29:1 | 29 | pub trait AstNode { | ^^^^^^^^^^^^^^^^^ this is the trait that is needed ... 40 | fn syntax(&self) -> &SyntaxNodeSelf::Language; | ------------------------------------------------ the method is available for &rnix::ast::List here | ::: eval/src/spans.rs:6:5 | 6 | use rowan::ast::AstNode; | ------------------- AstNode imported here doesn't correspond to the right version of crate rowan | ::: /home/xameer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rowan-0.16.0/src/ast.rs:29:1 | 29 | pub trait AstNode { | ----------------- this is the trait that was imported = note: this error originates in the macro expr_to_span (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0599]: no method named syntax found for reference &rnix::ast::Literal in the current scope --> eval/src/spans.rs:74:22 | 74 | self.syntax().span_for(file) | ^^^^^^ method not found in &Literal ... 98 | expr_to_span!(ast::Literal); | --------------------------- in this macro invocation | note: there are multiple different versions of crate rowan in the dependency graph --> /home/xameer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rowan-0.15.16/src/ast.rs:29:1 | 29 | pub trait AstNode { | ^^^^^^^^^^^^^^^^^ this is the trait that is needed ... 40 | fn syntax(&self) -> &SyntaxNodeSelf::Language; | ------------------------------------------------ the method is available for &rnix::ast::Literal here | ::: eval/src/spans.rs:6:5 | 6 | use rowan::ast::AstNode; | ------------------- AstNode imported here doesn't correspond to the right version of crate rowan | ::: /home/xameer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rowan-0.16.0/src/ast.rs:29:1 | 29 | pub trait AstNode { | ----------------- this is the trait that was imported = note: this error originates in the macro expr_to_span (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0599]: no method named syntax found for reference &PatBind in the current scope --> eval/src/spans.rs:74:22 | 74 | self.syntax().span_for(file) | ^^^^^^ method not found in &PatBind ... 99 | expr_to_span!(ast::PatBind); | --------------------------- in this macro invocation | note: there are multiple different versions of crate rowan in the dependency graph --> /home/xameer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rowan-0.15.16/src/ast.rs:29:1 | 29 | pub trait AstNode { | ^^^^^^^^^^^^^^^^^ this is the trait that is needed ... 40 | fn syntax(&self) -> &SyntaxNodeSelf::Language; | ------------------------------------------------ the method is available for &PatBind here | ::: eval/src/spans.rs:6:5 | 6 | use rowan::ast::AstNode; | ------------------- AstNode imported here doesn't correspond to the right version of crate rowan | ::: /home/xameer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rowan-0.16.0/src/ast.rs:29:1 | 29 | pub trait AstNode { | ----------------- this is the trait that was imported = note: this error originates in the macro expr_to_span (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0599]: no method named syntax found for reference &rnix::ast::Path in the current scope --> eval/src/spans.rs:74:22 | 74 | self.syntax().span_for(file) | ^^^^^^ method not found in &Path ... 100 | expr_to_span!(ast::Path); | ------------------------ in this macro invocation | note: there are multiple different versions of crate rowan in the dependency graph --> /home/xameer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rowan-0.15.16/src/ast.rs:29:1 | 29 | pub trait AstNode { | ^^^^^^^^^^^^^^^^^ this is the trait that is needed ... 40 | fn syntax(&self) -> &SyntaxNodeSelf::Language; | ------------------------------------------------ the method is available for &rnix::ast::Path here | ::: eval/src/spans.rs:6:5 | 6 | use rowan::ast::AstNode; | ------------------- AstNode imported here doesn't correspond to the right version of crate rowan | ::: /home/xameer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rowan-0.16.0/src/ast.rs:29:1 | 29 | pub trait AstNode { | ----------------- this is the trait that was imported = note: this error originates in the macro expr_to_span (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0599]: no method named syntax found for reference &rnix::ast::Pattern in the current scope --> eval/src/spans.rs:74:22 | 74 | self.syntax().span_for(file) | ^^^^^^ method not found in &Pattern ... 101 | expr_to_span!(ast::Pattern); | --------------------------- in this macro invocation | note: there are multiple different versions of crate rowan in the dependency graph --> /home/xameer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rowan-0.15.16/src/ast.rs:29:1 | 29 | pub trait AstNode { | ^^^^^^^^^^^^^^^^^ this is the trait that is needed ... 40 | fn syntax(&self) -> &SyntaxNodeSelf::Language; | ------------------------------------------------ the method is available for &rnix::ast::Pattern here | ::: eval/src/spans.rs:6:5 | 6 | use rowan::ast::AstNode; | ------------------- AstNode imported here doesn't correspond to the right version of crate rowan | ::: /home/xameer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rowan-0.16.0/src/ast.rs:29:1 | 29 | pub trait AstNode { | ----------------- this is the trait that was imported = note: this error originates in the macro expr_to_span (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0599]: no method named syntax found for reference &rnix::ast::Select in the current scope --> eval/src/spans.rs:74:22 | 74 | self.syntax().span_for(file) | ^^^^^^ method not found in &Select ... 102 | expr_to_span!(ast::Select); | -------------------------- in this macro invocation | note: there are multiple different versions of crate rowan in the dependency graph --> /home/xameer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rowan-0.15.16/src/ast.rs:29:1 | 29 | pub trait AstNode { | ^^^^^^^^^^^^^^^^^ this is the trait that is needed ... 40 | fn syntax(&self) -> &SyntaxNodeSelf::Language; | ------------------------------------------------ the method is available for &rnix::ast::Select here | ::: eval/src/spans.rs:6:5 | 6 | use rowan::ast::AstNode; | ------------------- AstNode imported here doesn't correspond to the right version of crate rowan | ::: /home/xameer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rowan-0.16.0/src/ast.rs:29:1 | 29 | pub trait AstNode { | ----------------- this is the trait that was imported = note: this error originates in the macro expr_to_span (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0599]: no method named syntax found for reference &rnix::ast::Str in the current scope --> eval/src/spans.rs:74:22 | 74 | self.syntax().span_for(file) | ^^^^^^ method not found in &Str ... 103 | expr_to_span!(ast::Str); | ----------------------- in this macro invocation | note: there are multiple different versions of crate rowan in the dependency graph --> /home/xameer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rowan-0.15.16/src/ast.rs:29:1 | 29 | pub trait AstNode { | ^^^^^^^^^^^^^^^^^ this is the trait that is needed ... 40 | fn syntax(&self) -> &SyntaxNodeSelf::Language; | ------------------------------------------------ the method is available for &rnix::ast::Str here | ::: eval/src/spans.rs:6:5 | 6 | use rowan::ast::AstNode; | ------------------- AstNode imported here doesn't correspond to the right version of crate rowan | ::: /home/xameer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rowan-0.16.0/src/ast.rs:29:1 | 29 | pub trait AstNode { | ----------------- this is the trait that was imported = note: this error originates in the macro expr_to_span (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0599]: no method named syntax found for reference &rnix::ast::UnaryOp in the current scope --> eval/src/spans.rs:74:22 | 74 | self.syntax().span_for(file) | ^^^^^^ method not found in &UnaryOp ... 104 | expr_to_span!(ast::UnaryOp); | --------------------------- in this macro invocation | note: there are multiple different versions of crate rowan in the dependency graph --> /home/xameer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rowan-0.15.16/src/ast.rs:29:1 | 29 | pub trait AstNode { | ^^^^^^^^^^^^^^^^^ this is the trait that is needed ... 40 | fn syntax(&self) -> &SyntaxNodeSelf::Language; | ------------------------------------------------ the method is available for &rnix::ast::UnaryOp here | ::: eval/src/spans.rs:6:5 | 6 | use rowan::ast::AstNode; | ------------------- AstNode imported here doesn't correspond to the right version of crate rowan | ::: /home/xameer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rowan-0.16.0/src/ast.rs:29:1 | 29 | pub trait AstNode { | ----------------- this is the trait that was imported = note: this error originates in the macro expr_to_span (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0599]: no method named syntax found for reference &rnix::ast::With in the current scope --> eval/src/spans.rs:74:22 | 74 | self.syntax().span_for(file) | ^^^^^^ method not found in &With ... 105 | expr_to_span!(ast::With); | ------------------------ in this macro invocation | note: there are multiple different versions of crate rowan in the dependency graph --> /home/xameer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rowan-0.15.16/src/ast.rs:29:1 | 29 | pub trait AstNode { | ^^^^^^^^^^^^^^^^^ this is the trait that is needed ... 40 | fn syntax(&self) -> &SyntaxNodeSelf::Language; | ------------------------------------------------ the method is available for &rnix::ast::With here | ::: eval/src/spans.rs:6:5 | 6 | use rowan::ast::AstNode; | ------------------- AstNode imported here doesn't correspond to the right version of crate rowan | ::: /home/xameer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rowan-0.16.0/src/ast.rs:29:1 | 29 | pub trait AstNode { | ----------------- this is the trait that was imported = note: this error originates in the macro expr_to_span (in Nightly builds, run with -Z macro-backtrace for more info)

warning: unused import: rowan::ast::AstNode --> eval/src/spans.rs:6:5 | 6 | use rowan::ast::AstNode; | ^^^^^^^^^^^^^^^^^^^ | = note: #[warn(unused_imports)] on by default

For more information about this error, try rustc --explain E0277. error: could not compile tvix-store (lib) due to 1 previous error warning: build failed, waiting for other jobs to finish... Some errors have detailed explanations: E0271, E0277, E0599.