[INFO] cloning repository https://github.com/YoloDev/hcl-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/YoloDev/hcl-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYoloDev%2Fhcl-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYoloDev%2Fhcl-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f6a386241a94644b451898a3c3c937a338be17a9 [INFO] checking YoloDev/hcl-rs/f6a386241a94644b451898a3c3c937a338be17a9 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYoloDev%2Fhcl-rs" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/YoloDev/hcl-rs on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/YoloDev/hcl-rs [INFO] finished tweaking git repo https://github.com/YoloDev/hcl-rs [INFO] tweaked toml for git repo https://github.com/YoloDev/hcl-rs written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/YoloDev/hcl-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded test-case v2.0.0 [INFO] [stderr] Downloaded rowan v0.14.1 [INFO] [stderr] Downloaded countme v2.0.4 [INFO] [stderr] Downloaded drop_bomb v0.1.5 [INFO] [stderr] Downloaded const_format v0.2.19 [INFO] [stderr] Downloaded const_format_proc_macros v0.2.14 [INFO] [stderr] Downloaded text-size v1.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7c20b309748c37461613f2b811feb573225df146769364c646bb7200577c2518 [INFO] running `Command { std: "docker" "start" "-a" "7c20b309748c37461613f2b811feb573225df146769364c646bb7200577c2518", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7c20b309748c37461613f2b811feb573225df146769364c646bb7200577c2518", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c20b309748c37461613f2b811feb573225df146769364c646bb7200577c2518", kill_on_drop: false }` [INFO] [stdout] 7c20b309748c37461613f2b811feb573225df146769364c646bb7200577c2518 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fcf8870b15e4382c0e8e65887703b65846dcd23ce059afbbc28254d845c7c6fb [INFO] running `Command { std: "docker" "start" "-a" "fcf8870b15e4382c0e8e65887703b65846dcd23ce059afbbc28254d845c7c6fb", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Checking drop_bomb v0.1.5 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking countme v2.0.4 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking text-size v1.1.0 [INFO] [stderr] Checking levenshtein v1.0.5 [INFO] [stderr] Checking hcl-lex v0.0.0 (/opt/rustwide/workdir/crates/lex) [INFO] [stderr] Compiling const_format_proc_macros v0.2.14 [INFO] [stderr] Checking hcl-parse v0.0.0 (/opt/rustwide/workdir/crates/parse) [INFO] [stdout] error[E0425]: cannot find function `expression` in this scope [INFO] [stdout] --> crates/parse/src/grammar/body.rs:106:21 [INFO] [stdout] | [INFO] [stdout] 106 | let expr_result = expression(p); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::grammar::expr::expression; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `expression` in this scope [INFO] [stdout] --> crates/parse/src/grammar/body.rs:106:21 [INFO] [stdout] | [INFO] [stdout] 106 | let expr_result = expression(p); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::grammar::expr::expression; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CompletedMarker`, `Marker`, and `token_set::TokenSet` [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | parser::{CompletedMarker, Marker, Parser}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] 4 | token_set::TokenSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CompletedMarker`, `TokenSet`, `TokenSource`, and `self` [INFO] [stdout] --> crates/parse/src/grammar.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | parser::{CompletedMarker, Parser}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | SyntaxKind::{self, *}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | TokenSet, TokenSource, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CompletedMarker`, `Marker`, and `token_set::TokenSet` [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | parser::{CompletedMarker, Marker, Parser}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] 4 | token_set::TokenSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CompletedMarker`, `TokenSet`, `TokenSource`, and `self` [INFO] [stdout] --> crates/parse/src/grammar.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | parser::{CompletedMarker, Parser}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | SyntaxKind::{self, *}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | TokenSet, TokenSource, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `recover` found for mutable reference `&mut ParserScope<'_, '_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/body.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | p.recover(T!['}']); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `recovery` with a similar name, but with different arguments [INFO] [stdout] --> crates/parse/src/parser.rs:70:3 [INFO] [stdout] | [INFO] [stdout] 70 | pub(crate) fn recovery(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `recover` found for mutable reference `&mut ParserScope<'_, '_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/body.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | p.recover(T!['}']); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `recovery` with a similar name, but with different arguments [INFO] [stdout] --> crates/parse/src/parser.rs:70:3 [INFO] [stdout] | [INFO] [stdout] 70 | pub(crate) fn recovery(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExpressionResult` [INFO] [stdout] --> crates/parse/src/grammar/body.rs:107:37 [INFO] [stdout] | [INFO] [stdout] 107 | if p.recovery() && expr_result == ExpressionResult::Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `ExpressionResult` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExpressionResult` [INFO] [stdout] --> crates/parse/src/grammar/body.rs:107:37 [INFO] [stdout] | [INFO] [stdout] 107 | if p.recovery() && expr_result == ExpressionResult::Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `ExpressionResult` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `quoted_string_literal` in this scope [INFO] [stdout] --> crates/parse/src/grammar/body.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | quoted_string_literal(p); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `quoted_string_literal` in this scope [INFO] [stdout] --> crates/parse/src/grammar/body.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | quoted_string_literal(p); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `recover` found for mutable reference `&mut ParserScope<'_, '_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/body.rs:199:13 [INFO] [stdout] | [INFO] [stdout] 199 | p.recover(T!['}']); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `recovery` with a similar name, but with different arguments [INFO] [stdout] --> crates/parse/src/parser.rs:70:3 [INFO] [stdout] | [INFO] [stdout] 70 | pub(crate) fn recovery(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `recover` found for mutable reference `&mut ParserScope<'_, '_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/body.rs:199:13 [INFO] [stdout] | [INFO] [stdout] 199 | p.recover(T!['}']); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `recovery` with a similar name, but with different arguments [INFO] [stdout] --> crates/parse/src/parser.rs:70:3 [INFO] [stdout] | [INFO] [stdout] 70 | pub(crate) fn recovery(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `recover` found for mutable reference `&mut ParserScope<'_, '_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/body.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | p.recover(T!['}']); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `recovery` with a similar name, but with different arguments [INFO] [stdout] --> crates/parse/src/parser.rs:70:3 [INFO] [stdout] | [INFO] [stdout] 70 | pub(crate) fn recovery(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `recover` found for mutable reference `&mut ParserScope<'_, '_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/body.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | p.recover(T!['}']); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `recovery` with a similar name, but with different arguments [INFO] [stdout] --> crates/parse/src/parser.rs:70:3 [INFO] [stdout] | [INFO] [stdout] 70 | pub(crate) fn recovery(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `recover` found for mutable reference `&mut ParserScope<'_, '_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/body.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 217 | p.recover(T!['}']); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `recovery` with a similar name, but with different arguments [INFO] [stdout] --> crates/parse/src/parser.rs:70:3 [INFO] [stdout] | [INFO] [stdout] 70 | pub(crate) fn recovery(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `recover` found for mutable reference `&mut ParserScope<'_, '_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/body.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 217 | p.recover(T!['}']); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `recovery` with a similar name, but with different arguments [INFO] [stdout] --> crates/parse/src/parser.rs:70:3 [INFO] [stdout] | [INFO] [stdout] 70 | pub(crate) fn recovery(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `recover` found for mutable reference `&mut ParserScope<'_, '_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/expr.rs:210:17 [INFO] [stdout] | [INFO] [stdout] 210 | p.recover(T![']']); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `recovery` with a similar name, but with different arguments [INFO] [stdout] --> crates/parse/src/parser.rs:70:3 [INFO] [stdout] | [INFO] [stdout] 70 | pub(crate) fn recovery(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `recover` found for mutable reference `&mut ParserScope<'_, '_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/expr.rs:210:17 [INFO] [stdout] | [INFO] [stdout] 210 | p.recover(T![']']); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `recovery` with a similar name, but with different arguments [INFO] [stdout] --> crates/parse/src/parser.rs:70:3 [INFO] [stdout] | [INFO] [stdout] 70 | pub(crate) fn recovery(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `recover` found for mutable reference `&mut ParserScope<'_, '_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/expr.rs:226:19 [INFO] [stdout] | [INFO] [stdout] 226 | p.recover(T![']']); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `recovery` with a similar name, but with different arguments [INFO] [stdout] --> crates/parse/src/parser.rs:70:3 [INFO] [stdout] | [INFO] [stdout] 70 | pub(crate) fn recovery(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `recover` found for mutable reference `&mut ParserScope<'_, '_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/expr.rs:226:19 [INFO] [stdout] | [INFO] [stdout] 226 | p.recover(T![']']); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `recovery` with a similar name, but with different arguments [INFO] [stdout] --> crates/parse/src/parser.rs:70:3 [INFO] [stdout] | [INFO] [stdout] 70 | pub(crate) fn recovery(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `recover` found for mutable reference `&mut ParserScope<'_, '_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/expr.rs:233:19 [INFO] [stdout] | [INFO] [stdout] 233 | p.recover(T![']']); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `recovery` with a similar name, but with different arguments [INFO] [stdout] --> crates/parse/src/parser.rs:70:3 [INFO] [stdout] | [INFO] [stdout] 70 | pub(crate) fn recovery(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `recover` found for mutable reference `&mut ParserScope<'_, '_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/expr.rs:233:19 [INFO] [stdout] | [INFO] [stdout] 233 | p.recover(T![']']); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `recovery` with a similar name, but with different arguments [INFO] [stdout] --> crates/parse/src/parser.rs:70:3 [INFO] [stdout] | [INFO] [stdout] 70 | pub(crate) fn recovery(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `recover` found for mutable reference `&mut ParserScope<'_, '_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/expr.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | p.recover(T![')']); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `recovery` with a similar name, but with different arguments [INFO] [stdout] --> crates/parse/src/parser.rs:70:3 [INFO] [stdout] | [INFO] [stdout] 70 | pub(crate) fn recovery(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `recover` found for mutable reference `&mut ParserScope<'_, '_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/expr.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | p.recover(T![')']); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `recovery` with a similar name, but with different arguments [INFO] [stdout] --> crates/parse/src/parser.rs:70:3 [INFO] [stdout] | [INFO] [stdout] 70 | pub(crate) fn recovery(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> crates/parse/src/grammar/expr.rs:323:28 [INFO] [stdout] | [INFO] [stdout] 323 | tmpl::template_inner(p, closer); [INFO] [stdout] | -------------------- ^ expected `&mut Parser<'_>`, found `&mut ParserScope<'_, '_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut parser::Parser<'_>` [INFO] [stdout] found mutable reference `&mut ParserScope<'_, '_>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | pub(super) fn template_inner(p: &mut Parser, end_syntax: SyntaxKind) { [INFO] [stdout] | ^^^^^^^^^^^^^^ -------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> crates/parse/src/grammar/expr.rs:323:28 [INFO] [stdout] | [INFO] [stdout] 323 | tmpl::template_inner(p, closer); [INFO] [stdout] | -------------------- ^ expected `&mut Parser<'_>`, found `&mut ParserScope<'_, '_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut parser::Parser<'_>` [INFO] [stdout] found mutable reference `&mut ParserScope<'_, '_>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | pub(super) fn template_inner(p: &mut Parser, end_syntax: SyntaxKind) { [INFO] [stdout] | ^^^^^^^^^^^^^^ -------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `recover` found for mutable reference `&mut ParserScope<'_, '_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/expr.rs:385:11 [INFO] [stdout] | [INFO] [stdout] 385 | p.recover(T![')']); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `recovery` with a similar name, but with different arguments [INFO] [stdout] --> crates/parse/src/parser.rs:70:3 [INFO] [stdout] | [INFO] [stdout] 70 | pub(crate) fn recovery(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `recover` found for mutable reference `&mut ParserScope<'_, '_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/expr.rs:385:11 [INFO] [stdout] | [INFO] [stdout] 385 | p.recover(T![')']); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `recovery` with a similar name, but with different arguments [INFO] [stdout] --> crates/parse/src/parser.rs:70:3 [INFO] [stdout] | [INFO] [stdout] 70 | pub(crate) fn recovery(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `recover` found for mutable reference `&mut ParserScope<'_, '_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/expr.rs:395:13 [INFO] [stdout] | [INFO] [stdout] 395 | p.recover(T![')']); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `recovery` with a similar name, but with different arguments [INFO] [stdout] --> crates/parse/src/parser.rs:70:3 [INFO] [stdout] | [INFO] [stdout] 70 | pub(crate) fn recovery(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `recover` found for mutable reference `&mut ParserScope<'_, '_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/expr.rs:410:11 [INFO] [stdout] | [INFO] [stdout] 410 | p.recover(T![')']); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `recovery` with a similar name, but with different arguments [INFO] [stdout] --> crates/parse/src/parser.rs:70:3 [INFO] [stdout] | [INFO] [stdout] 70 | pub(crate) fn recovery(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `finish_for_expr` in this scope [INFO] [stdout] --> crates/parse/src/grammar/expr.rs:424:17 [INFO] [stdout] | [INFO] [stdout] 424 | let ret = finish_for_expr(p, m, ForExpression::Tuple); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `recover` found for mutable reference `&mut ParserScope<'_, '_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/expr.rs:395:13 [INFO] [stdout] | [INFO] [stdout] 395 | p.recover(T![')']); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `recovery` with a similar name, but with different arguments [INFO] [stdout] --> crates/parse/src/parser.rs:70:3 [INFO] [stdout] | [INFO] [stdout] 70 | pub(crate) fn recovery(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `recover` found for mutable reference `&mut ParserScope<'_, '_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/expr.rs:438:11 [INFO] [stdout] | [INFO] [stdout] 438 | p.recover(T![']']); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `recovery` with a similar name, but with different arguments [INFO] [stdout] --> crates/parse/src/parser.rs:70:3 [INFO] [stdout] | [INFO] [stdout] 70 | pub(crate) fn recovery(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `recover` found for mutable reference `&mut ParserScope<'_, '_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/expr.rs:410:11 [INFO] [stdout] | [INFO] [stdout] 410 | p.recover(T![')']); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `recovery` with a similar name, but with different arguments [INFO] [stdout] --> crates/parse/src/parser.rs:70:3 [INFO] [stdout] | [INFO] [stdout] 70 | pub(crate) fn recovery(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `finish_for_expr` in this scope [INFO] [stdout] --> crates/parse/src/grammar/expr.rs:424:17 [INFO] [stdout] | [INFO] [stdout] 424 | let ret = finish_for_expr(p, m, ForExpression::Tuple); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `recover` found for mutable reference `&mut ParserScope<'_, '_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/expr.rs:451:11 [INFO] [stdout] | [INFO] [stdout] 451 | p.recover(T![']']); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `recovery` with a similar name, but with different arguments [INFO] [stdout] --> crates/parse/src/parser.rs:70:3 [INFO] [stdout] | [INFO] [stdout] 70 | pub(crate) fn recovery(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `finish_for_expr` in this scope [INFO] [stdout] --> crates/parse/src/grammar/expr.rs:469:12 [INFO] [stdout] | [INFO] [stdout] 469 | return finish_for_expr(p, m, ForExpression::Object); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `recover` found for mutable reference `&mut ParserScope<'_, '_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/expr.rs:438:11 [INFO] [stdout] | [INFO] [stdout] 438 | p.recover(T![']']); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `recovery` with a similar name, but with different arguments [INFO] [stdout] --> crates/parse/src/parser.rs:70:3 [INFO] [stdout] | [INFO] [stdout] 70 | pub(crate) fn recovery(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `recover` found for mutable reference `&mut ParserScope<'_, '_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/expr.rs:488:11 [INFO] [stdout] | [INFO] [stdout] 488 | p.recover(T!['}']); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `recovery` with a similar name, but with different arguments [INFO] [stdout] --> crates/parse/src/parser.rs:70:3 [INFO] [stdout] | [INFO] [stdout] 70 | pub(crate) fn recovery(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `recover` found for mutable reference `&mut ParserScope<'_, '_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/expr.rs:451:11 [INFO] [stdout] | [INFO] [stdout] 451 | p.recover(T![']']); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `recovery` with a similar name, but with different arguments [INFO] [stdout] --> crates/parse/src/parser.rs:70:3 [INFO] [stdout] | [INFO] [stdout] 70 | pub(crate) fn recovery(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> crates/parse/src/grammar/expr.rs:472:3 [INFO] [stdout] | [INFO] [stdout] 460 | fn object_cons(p: &mut ParserScope, m: Marker) -> Option { [INFO] [stdout] | ----------------------- expected `Option` because of return type [INFO] [stdout] ... [INFO] [stdout] 472 | / p.with_include_newlines(true, |p| { [INFO] [stdout] 473 | | loop { [INFO] [stdout] 474 | | if p.eat(NEWLINE) { [INFO] [stdout] 475 | | continue; [INFO] [stdout] ... | [INFO] [stdout] 491 | | } [INFO] [stdout] 492 | | }) [INFO] [stdout] | |____^ expected `Option`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found unit type `()` [INFO] [stdout] help: try adding an expression at the end of the block [INFO] [stdout] | [INFO] [stdout] 492 ~ }); [INFO] [stdout] 493 + None [INFO] [stdout] | [INFO] [stdout] 492 ~ }); [INFO] [stdout] 493 + Some(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `finish_for_expr` in this scope [INFO] [stdout] --> crates/parse/src/grammar/expr.rs:469:12 [INFO] [stdout] | [INFO] [stdout] 469 | return finish_for_expr(p, m, ForExpression::Object); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `eat` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | if p.eat(end_syntax) { [INFO] [stdout] | ^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `recover` found for mutable reference `&mut ParserScope<'_, '_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/expr.rs:488:11 [INFO] [stdout] | [INFO] [stdout] 488 | p.recover(T!['}']); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `recovery` with a similar name, but with different arguments [INFO] [stdout] --> crates/parse/src/parser.rs:70:3 [INFO] [stdout] | [INFO] [stdout] 70 | pub(crate) fn recovery(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> crates/parse/src/grammar/expr.rs:472:3 [INFO] [stdout] | [INFO] [stdout] 460 | fn object_cons(p: &mut ParserScope, m: Marker) -> Option { [INFO] [stdout] | ----------------------- expected `Option` because of return type [INFO] [stdout] ... [INFO] [stdout] 472 | / p.with_include_newlines(true, |p| { [INFO] [stdout] 473 | | loop { [INFO] [stdout] 474 | | if p.eat(NEWLINE) { [INFO] [stdout] 475 | | continue; [INFO] [stdout] ... | [INFO] [stdout] 491 | | } [INFO] [stdout] 492 | | }) [INFO] [stdout] | |____^ expected `Option`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found unit type `()` [INFO] [stdout] help: try adding an expression at the end of the block [INFO] [stdout] | [INFO] [stdout] 492 ~ }); [INFO] [stdout] 493 + None [INFO] [stdout] | [INFO] [stdout] 492 ~ }); [INFO] [stdout] 493 + Some(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `current` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | match p.current() { [INFO] [stdout] | ^^^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `TokenSource` defines an item `current`, perhaps you need to implement it [INFO] [stdout] --> crates/parse/src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub trait TokenSource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bump_any` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | p.bump_any(); [INFO] [stdout] | ^^^^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `eat` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | if p.eat(end_syntax) { [INFO] [stdout] | ^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `start` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 32 | let m = p.start(); [INFO] [stdout] | ^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `current` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | match p.current() { [INFO] [stdout] | ^^^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `TokenSource` defines an item `current`, perhaps you need to implement it [INFO] [stdout] --> crates/parse/src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub trait TokenSource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bump` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | p.bump(TMPL_INTERPRET_START); [INFO] [stdout] | ^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `TokenSource` defines an item `bump`, perhaps you need to implement it [INFO] [stdout] --> crates/parse/src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub trait TokenSource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bump_any` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | p.bump_any(); [INFO] [stdout] | ^^^^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `eat` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | p.eat(TMPL_STRIP_MARKER); [INFO] [stdout] | ^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `start` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 32 | let m = p.start(); [INFO] [stdout] | ^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push_include_newlines` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | p.push_include_newlines(false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:37:26 [INFO] [stdout] | [INFO] [stdout] 37 | expr::expression(p); [INFO] [stdout] | ---------------- ^ expected `&mut ParserScope<'_, '_>`, found `&mut Parser<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut ParserScope<'_, '_>` [INFO] [stdout] found mutable reference `&mut parser::Parser<'_>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> crates/parse/src/grammar/expr.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | pub(super) fn expression(p: &mut ParserScope) -> Option { [INFO] [stdout] | ^^^^^^^^^^ ------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bump` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | p.bump(TMPL_INTERPRET_START); [INFO] [stdout] | ^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `TokenSource` defines an item `bump`, perhaps you need to implement it [INFO] [stdout] --> crates/parse/src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub trait TokenSource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `eat` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | p.eat(TMPL_STRIP_MARKER); [INFO] [stdout] | ^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `eat` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | p.eat(TMPL_STRIP_MARKER); [INFO] [stdout] | ^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `eat` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | if !p.eat(TMPL_SEQUENCE_END) { [INFO] [stdout] | ^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push_include_newlines` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | p.push_include_newlines(false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:37:26 [INFO] [stdout] | [INFO] [stdout] 37 | expr::expression(p); [INFO] [stdout] | ---------------- ^ expected `&mut ParserScope<'_, '_>`, found `&mut Parser<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut ParserScope<'_, '_>` [INFO] [stdout] found mutable reference `&mut parser::Parser<'_>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> crates/parse/src/grammar/expr.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | pub(super) fn expression(p: &mut ParserScope) -> Option { [INFO] [stdout] | ^^^^^^^^^^ ------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `recovery` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | if !p.recovery() { [INFO] [stdout] | ^^^^^^^^ private field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `eat` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | p.eat(TMPL_STRIP_MARKER); [INFO] [stdout] | ^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `current` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | match p.current() { [INFO] [stdout] | ^^^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `TokenSource` defines an item `current`, perhaps you need to implement it [INFO] [stdout] --> crates/parse/src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub trait TokenSource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `eat` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | if !p.eat(TMPL_SEQUENCE_END) { [INFO] [stdout] | ^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `recovery` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | if !p.recovery() { [INFO] [stdout] | ^^^^^^^^ private field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `error` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | ... p.error("Extra characters after interpolation expression", "Template interpolation doesn't expect a colon at this location. Did you... [INFO] [stdout] | ^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `TreeSink` defines an item `error`, perhaps you need to implement it [INFO] [stdout] --> crates/parse/src/lib.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub trait TreeSink { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `current` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | match p.current() { [INFO] [stdout] | ^^^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `TokenSource` defines an item `current`, perhaps you need to implement it [INFO] [stdout] --> crates/parse/src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub trait TokenSource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `error` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | ... p.error("Extra characters after interpolation expression", "Expected a closing brace to end the interpolation expression, but found... [INFO] [stdout] | ^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `TreeSink` defines an item `error`, perhaps you need to implement it [INFO] [stdout] --> crates/parse/src/lib.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub trait TreeSink { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `error` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | ... p.error("Extra characters after interpolation expression", "Template interpolation doesn't expect a colon at this location. Did you... [INFO] [stdout] | ^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `TreeSink` defines an item `error`, perhaps you need to implement it [INFO] [stdout] --> crates/parse/src/lib.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub trait TreeSink { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `recover` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | p.recover(TMPL_SEQUENCE_END); [INFO] [stdout] | ^^^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `error` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | ... p.error("Extra characters after interpolation expression", "Expected a closing brace to end the interpolation expression, but found... [INFO] [stdout] | ^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `TreeSink` defines an item `error`, perhaps you need to implement it [INFO] [stdout] --> crates/parse/src/lib.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub trait TreeSink { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pop_include_newlines` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:56:11 [INFO] [stdout] | [INFO] [stdout] 56 | p.pop_include_newlines(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `recover` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | p.recover(TMPL_SEQUENCE_END); [INFO] [stdout] | ^^^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `start` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:60:19 [INFO] [stdout] | [INFO] [stdout] 60 | let m = p.start(); [INFO] [stdout] | ^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pop_include_newlines` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:56:11 [INFO] [stdout] | [INFO] [stdout] 56 | p.pop_include_newlines(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bump` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | p.bump(TMPL_CONTROL_START); [INFO] [stdout] | ^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `TokenSource` defines an item `bump`, perhaps you need to implement it [INFO] [stdout] --> crates/parse/src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub trait TokenSource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `eat` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:62:11 [INFO] [stdout] | [INFO] [stdout] 62 | p.eat(TMPL_STRIP_MARKER); [INFO] [stdout] | ^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `start` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:60:19 [INFO] [stdout] | [INFO] [stdout] 60 | let m = p.start(); [INFO] [stdout] | ^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bump` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | p.bump(TMPL_CONTROL_START); [INFO] [stdout] | ^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `TokenSource` defines an item `bump`, perhaps you need to implement it [INFO] [stdout] --> crates/parse/src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub trait TokenSource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push_include_newlines` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:64:11 [INFO] [stdout] | [INFO] [stdout] 64 | p.push_include_newlines(false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `eat` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:62:11 [INFO] [stdout] | [INFO] [stdout] 62 | p.eat(TMPL_STRIP_MARKER); [INFO] [stdout] | ^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `at` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:65:15 [INFO] [stdout] | [INFO] [stdout] 65 | if !p.at(IDENTIFIER) { [INFO] [stdout] | ^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push_include_newlines` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:64:11 [INFO] [stdout] | [INFO] [stdout] 64 | p.push_include_newlines(false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `recovery` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | if !p.recovery() { [INFO] [stdout] | ^^^^^^^^ private field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `error` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:67:15 [INFO] [stdout] | [INFO] [stdout] 67 | ... p.error("Invalid template directive", "A template directive keyword (\"if\", \"for\", etc) is expected at the beginning of a %{ seq... [INFO] [stdout] | ^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `TreeSink` defines an item `error`, perhaps you need to implement it [INFO] [stdout] --> crates/parse/src/lib.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub trait TreeSink { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `at` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:65:15 [INFO] [stdout] | [INFO] [stdout] 65 | if !p.at(IDENTIFIER) { [INFO] [stdout] | ^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `recover` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | p.recover(TMPL_SEQUENCE_END); [INFO] [stdout] | ^^^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `recovery` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | if !p.recovery() { [INFO] [stdout] | ^^^^^^^^ private field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `error` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:67:15 [INFO] [stdout] | [INFO] [stdout] 67 | ... p.error("Invalid template directive", "A template directive keyword (\"if\", \"for\", etc) is expected at the beginning of a %{ seq... [INFO] [stdout] | ^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `TreeSink` defines an item `error`, perhaps you need to implement it [INFO] [stdout] --> crates/parse/src/lib.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub trait TreeSink { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pop_include_newlines` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | p.pop_include_newlines(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `recover` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | p.recover(TMPL_SEQUENCE_END); [INFO] [stdout] | ^^^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `at_contextual_kw` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:76:14 [INFO] [stdout] | [INFO] [stdout] 76 | if p.at_contextual_kw("if") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pop_include_newlines` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | p.pop_include_newlines(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bump_remap` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | p.bump_remap(KW_IF); [INFO] [stdout] | ^^^^^^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:78:28 [INFO] [stdout] | [INFO] [stdout] 78 | expr::expression(p); [INFO] [stdout] | ---------------- ^ expected `&mut ParserScope<'_, '_>`, found `&mut Parser<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut ParserScope<'_, '_>` [INFO] [stdout] found mutable reference `&mut parser::Parser<'_>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> crates/parse/src/grammar/expr.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | pub(super) fn expression(p: &mut ParserScope) -> Option { [INFO] [stdout] | ^^^^^^^^^^ ------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `at_contextual_kw` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:76:14 [INFO] [stdout] | [INFO] [stdout] 76 | if p.at_contextual_kw("if") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `at_contextual_kw` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:79:21 [INFO] [stdout] | [INFO] [stdout] 79 | } else if p.at_contextual_kw("else") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bump_remap` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | p.bump_remap(KW_IF); [INFO] [stdout] | ^^^^^^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bump_remap` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | p.bump_remap(KW_ELSE); [INFO] [stdout] | ^^^^^^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:78:28 [INFO] [stdout] | [INFO] [stdout] 78 | expr::expression(p); [INFO] [stdout] | ---------------- ^ expected `&mut ParserScope<'_, '_>`, found `&mut Parser<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut ParserScope<'_, '_>` [INFO] [stdout] found mutable reference `&mut parser::Parser<'_>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> crates/parse/src/grammar/expr.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | pub(super) fn expression(p: &mut ParserScope) -> Option { [INFO] [stdout] | ^^^^^^^^^^ ------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `at_contextual_kw` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:81:21 [INFO] [stdout] | [INFO] [stdout] 81 | } else if p.at_contextual_kw("endif") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `at_contextual_kw` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:79:21 [INFO] [stdout] | [INFO] [stdout] 79 | } else if p.at_contextual_kw("else") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bump_remap` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | p.bump_remap(KW_ENDIF); [INFO] [stdout] | ^^^^^^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bump_remap` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | p.bump_remap(KW_ELSE); [INFO] [stdout] | ^^^^^^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `at_contextual_kw` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:83:21 [INFO] [stdout] | [INFO] [stdout] 83 | } else if p.at_contextual_kw("for") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `at_contextual_kw` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:81:21 [INFO] [stdout] | [INFO] [stdout] 81 | } else if p.at_contextual_kw("endif") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bump_remap` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | p.bump_remap(KW_FOR); [INFO] [stdout] | ^^^^^^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bump_remap` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | p.bump_remap(KW_ENDIF); [INFO] [stdout] | ^^^^^^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `eat` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | if !p.eat(IDENTIFIER) { [INFO] [stdout] | ^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `at_contextual_kw` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:83:21 [INFO] [stdout] | [INFO] [stdout] 83 | } else if p.at_contextual_kw("for") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `recovery` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:87:19 [INFO] [stdout] | [INFO] [stdout] 87 | if !p.recovery() { [INFO] [stdout] | ^^^^^^^^ private field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bump_remap` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | p.bump_remap(KW_FOR); [INFO] [stdout] | ^^^^^^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `error` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | p.error( [INFO] [stdout] | --^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `TreeSink` defines an item `error`, perhaps you need to implement it [INFO] [stdout] --> crates/parse/src/lib.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub trait TreeSink { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `eat` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | if !p.eat(IDENTIFIER) { [INFO] [stdout] | ^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `recover` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:94:15 [INFO] [stdout] | [INFO] [stdout] 94 | p.recover(TMPL_SEQUENCE_END); [INFO] [stdout] | ^^^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `recovery` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:87:19 [INFO] [stdout] | [INFO] [stdout] 87 | if !p.recovery() { [INFO] [stdout] | ^^^^^^^^ private field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pop_include_newlines` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:95:15 [INFO] [stdout] | [INFO] [stdout] 95 | p.pop_include_newlines(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `error` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | p.error( [INFO] [stdout] | --^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `TreeSink` defines an item `error`, perhaps you need to implement it [INFO] [stdout] --> crates/parse/src/lib.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub trait TreeSink { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `eat` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:100:16 [INFO] [stdout] | [INFO] [stdout] 100 | if p.eat(T![,]) { [INFO] [stdout] | ^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `recover` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:94:15 [INFO] [stdout] | [INFO] [stdout] 94 | p.recover(TMPL_SEQUENCE_END); [INFO] [stdout] | ^^^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `eat` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:103:19 [INFO] [stdout] | [INFO] [stdout] 103 | if !p.eat(IDENTIFIER) { [INFO] [stdout] | ^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pop_include_newlines` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:95:15 [INFO] [stdout] | [INFO] [stdout] 95 | p.pop_include_newlines(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `recovery` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:104:21 [INFO] [stdout] | [INFO] [stdout] 104 | if !p.recovery() { [INFO] [stdout] | ^^^^^^^^ private field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `eat` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:100:16 [INFO] [stdout] | [INFO] [stdout] 100 | if p.eat(T![,]) { [INFO] [stdout] | ^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `error` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:105:19 [INFO] [stdout] | [INFO] [stdout] 105 | p.error( [INFO] [stdout] | --^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `TreeSink` defines an item `error`, perhaps you need to implement it [INFO] [stdout] --> crates/parse/src/lib.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub trait TreeSink { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `eat` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:103:19 [INFO] [stdout] | [INFO] [stdout] 103 | if !p.eat(IDENTIFIER) { [INFO] [stdout] | ^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `recover` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | p.recover(TMPL_SEQUENCE_END); [INFO] [stdout] | ^^^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `recovery` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:104:21 [INFO] [stdout] | [INFO] [stdout] 104 | if !p.recovery() { [INFO] [stdout] | ^^^^^^^^ private field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pop_include_newlines` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | p.pop_include_newlines(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `error` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:105:19 [INFO] [stdout] | [INFO] [stdout] 105 | p.error( [INFO] [stdout] | --^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `TreeSink` defines an item `error`, perhaps you need to implement it [INFO] [stdout] --> crates/parse/src/lib.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub trait TreeSink { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `at_contextual_kw` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | if !p.at_contextual_kw("in") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `recover` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | p.recover(TMPL_SEQUENCE_END); [INFO] [stdout] | ^^^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `recovery` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:119:19 [INFO] [stdout] | [INFO] [stdout] 119 | if !p.recovery() { [INFO] [stdout] | ^^^^^^^^ private field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `error` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 120 | p.error( [INFO] [stdout] | --^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `TreeSink` defines an item `error`, perhaps you need to implement it [INFO] [stdout] --> crates/parse/src/lib.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub trait TreeSink { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pop_include_newlines` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | p.pop_include_newlines(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `recover` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:126:15 [INFO] [stdout] | [INFO] [stdout] 126 | p.recover(TMPL_SEQUENCE_END); [INFO] [stdout] | ^^^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pop_include_newlines` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:127:15 [INFO] [stdout] | [INFO] [stdout] 127 | p.pop_include_newlines(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `at_contextual_kw` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | if !p.at_contextual_kw("in") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bump_remap` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | p.bump_remap(KW_IN); [INFO] [stdout] | ^^^^^^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:133:28 [INFO] [stdout] | [INFO] [stdout] 133 | expr::expression(p); [INFO] [stdout] | ---------------- ^ expected `&mut ParserScope<'_, '_>`, found `&mut Parser<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut ParserScope<'_, '_>` [INFO] [stdout] found mutable reference `&mut parser::Parser<'_>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> crates/parse/src/grammar/expr.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | pub(super) fn expression(p: &mut ParserScope) -> Option { [INFO] [stdout] | ^^^^^^^^^^ ------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rowan v0.14.1 [INFO] [stdout] error[E0599]: no method named `recovery` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:119:19 [INFO] [stdout] | [INFO] [stdout] 119 | if !p.recovery() { [INFO] [stdout] | ^^^^^^^^ private field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `at_contextual_kw` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:134:21 [INFO] [stdout] | [INFO] [stdout] 134 | } else if p.at_contextual_kw("endfor") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bump_remap` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | p.bump_remap(KW_ENDFOR); [INFO] [stdout] | ^^^^^^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `error` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 120 | p.error( [INFO] [stdout] | --^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `TreeSink` defines an item `error`, perhaps you need to implement it [INFO] [stdout] --> crates/parse/src/lib.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub trait TreeSink { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `recovery` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | if !p.recovery() { [INFO] [stdout] | ^^^^^^^^ private field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `recover` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:126:15 [INFO] [stdout] | [INFO] [stdout] 126 | p.recover(TMPL_SEQUENCE_END); [INFO] [stdout] | ^^^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `error` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:138:15 [INFO] [stdout] | [INFO] [stdout] 138 | p.error( [INFO] [stdout] | --^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `TreeSink` defines an item `error`, perhaps you need to implement it [INFO] [stdout] --> crates/parse/src/lib.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub trait TreeSink { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `recover` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | p.recover(TMPL_SEQUENCE_END); [INFO] [stdout] | ^^^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pop_include_newlines` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:127:15 [INFO] [stdout] | [INFO] [stdout] 127 | p.pop_include_newlines(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bump_remap` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | p.bump_remap(KW_IN); [INFO] [stdout] | ^^^^^^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:133:28 [INFO] [stdout] | [INFO] [stdout] 133 | expr::expression(p); [INFO] [stdout] | ---------------- ^ expected `&mut ParserScope<'_, '_>`, found `&mut Parser<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut ParserScope<'_, '_>` [INFO] [stdout] found mutable reference `&mut parser::Parser<'_>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> crates/parse/src/grammar/expr.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | pub(super) fn expression(p: &mut ParserScope) -> Option { [INFO] [stdout] | ^^^^^^^^^^ ------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pop_include_newlines` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | p.pop_include_newlines(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `at_contextual_kw` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:134:21 [INFO] [stdout] | [INFO] [stdout] 134 | } else if p.at_contextual_kw("endfor") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `eat` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:150:11 [INFO] [stdout] | [INFO] [stdout] 150 | p.eat(TMPL_STRIP_MARKER); [INFO] [stdout] | ^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bump_remap` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | p.bump_remap(KW_ENDFOR); [INFO] [stdout] | ^^^^^^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `recovery` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | if !p.recovery() { [INFO] [stdout] | ^^^^^^^^ private field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `eat` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:151:15 [INFO] [stdout] | [INFO] [stdout] 151 | if !p.eat(TMPL_SEQUENCE_END) { [INFO] [stdout] | ^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `error` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:138:15 [INFO] [stdout] | [INFO] [stdout] 138 | p.error( [INFO] [stdout] | --^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `TreeSink` defines an item `error`, perhaps you need to implement it [INFO] [stdout] --> crates/parse/src/lib.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub trait TreeSink { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `recovery` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | if !p.recovery() { [INFO] [stdout] | ^^^^^^^^ private field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `recover` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | p.recover(TMPL_SEQUENCE_END); [INFO] [stdout] | ^^^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pop_include_newlines` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | p.pop_include_newlines(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `current` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:153:21 [INFO] [stdout] | [INFO] [stdout] 153 | match p.current() { [INFO] [stdout] | ^^^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `TokenSource` defines an item `current`, perhaps you need to implement it [INFO] [stdout] --> crates/parse/src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub trait TokenSource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `eat` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:150:11 [INFO] [stdout] | [INFO] [stdout] 150 | p.eat(TMPL_STRIP_MARKER); [INFO] [stdout] | ^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `error` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:155:19 [INFO] [stdout] | [INFO] [stdout] 155 | ... p.error("Extra characters after interpolation expression", "Template interpolation doesn't expect a colon at this location. Did you... [INFO] [stdout] | ^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `TreeSink` defines an item `error`, perhaps you need to implement it [INFO] [stdout] --> crates/parse/src/lib.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub trait TreeSink { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `eat` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:151:15 [INFO] [stdout] | [INFO] [stdout] 151 | if !p.eat(TMPL_SEQUENCE_END) { [INFO] [stdout] | ^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `recovery` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | if !p.recovery() { [INFO] [stdout] | ^^^^^^^^ private field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `error` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:158:19 [INFO] [stdout] | [INFO] [stdout] 158 | ... p.error("Extra characters after interpolation expression", "Expected a closing brace to end the interpolation expression, but found... [INFO] [stdout] | ^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `TreeSink` defines an item `error`, perhaps you need to implement it [INFO] [stdout] --> crates/parse/src/lib.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub trait TreeSink { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `current` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:153:21 [INFO] [stdout] | [INFO] [stdout] 153 | match p.current() { [INFO] [stdout] | ^^^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `TokenSource` defines an item `current`, perhaps you need to implement it [INFO] [stdout] --> crates/parse/src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub trait TokenSource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `recover` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | p.recover(TMPL_SEQUENCE_END); [INFO] [stdout] | ^^^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `error` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:155:19 [INFO] [stdout] | [INFO] [stdout] 155 | ... p.error("Extra characters after interpolation expression", "Template interpolation doesn't expect a colon at this location. Did you... [INFO] [stdout] | ^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `TreeSink` defines an item `error`, perhaps you need to implement it [INFO] [stdout] --> crates/parse/src/lib.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub trait TreeSink { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pop_include_newlines` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:167:11 [INFO] [stdout] | [INFO] [stdout] 167 | p.pop_include_newlines(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `error` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:158:19 [INFO] [stdout] | [INFO] [stdout] 158 | ... p.error("Extra characters after interpolation expression", "Expected a closing brace to end the interpolation expression, but found... [INFO] [stdout] | ^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `TreeSink` defines an item `error`, perhaps you need to implement it [INFO] [stdout] --> crates/parse/src/lib.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub trait TreeSink { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `recovery` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:171:15 [INFO] [stdout] | [INFO] [stdout] 171 | if !p.recovery() { [INFO] [stdout] | ^^^^^^^^ private field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `recover` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | p.recover(TMPL_SEQUENCE_END); [INFO] [stdout] | ^^^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `error` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | p.error( [INFO] [stdout] | --^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `TreeSink` defines an item `error`, perhaps you need to implement it [INFO] [stdout] --> crates/parse/src/lib.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub trait TreeSink { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `recover` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:178:11 [INFO] [stdout] | [INFO] [stdout] 178 | p.recover(end_syntax); [INFO] [stdout] | ^^^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pop_include_newlines` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:167:11 [INFO] [stdout] | [INFO] [stdout] 167 | p.pop_include_newlines(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `start` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | let m = p.start(); [INFO] [stdout] | ^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> crates/parse/src/grammar.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | body::body(p, false); [INFO] [stdout] | ---------- ^ expected `&mut ParserScope<'_, '_>`, found `&mut Parser<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut ParserScope<'_, '_>` [INFO] [stdout] found mutable reference `&mut parser::Parser<'_>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> crates/parse/src/grammar/body.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) fn body(p: &mut ParserScope, stop_on_r_curly: bool) { [INFO] [stdout] | ^^^^ ------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `recovery` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:171:15 [INFO] [stdout] | [INFO] [stdout] 171 | if !p.recovery() { [INFO] [stdout] | ^^^^^^^^ private field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `error` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | p.error( [INFO] [stdout] | --^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `TreeSink` defines an item `error`, perhaps you need to implement it [INFO] [stdout] --> crates/parse/src/lib.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub trait TreeSink { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> crates/parse/src/lib.rs:90:3 [INFO] [stdout] | [INFO] [stdout] 84 | let entry_point: fn(&'_ mut parser::Parser) = match entry_point { [INFO] [stdout] | _________________________________________________- [INFO] [stdout] 85 | | ParserEntryPoint::SourceFile => todo!(), [INFO] [stdout] 86 | | ParserEntryPoint::Template => todo!(), [INFO] [stdout] 87 | | ParserEntryPoint::IdentOnly => todo!(), [INFO] [stdout] 88 | | }; [INFO] [stdout] | |___- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 89 | [INFO] [stdout] 90 | let mut p = parser::Parser::new(token_source); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `recover` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar/tmpl.rs:178:11 [INFO] [stdout] | [INFO] [stdout] 178 | p.recover(end_syntax); [INFO] [stdout] | ^^^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `start` found for mutable reference `&mut parser::Parser<'_>` in the current scope [INFO] [stdout] --> crates/parse/src/grammar.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | let m = p.start(); [INFO] [stdout] | ^^^^^ method not found in `&mut Parser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> crates/parse/src/grammar.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | body::body(p, false); [INFO] [stdout] | ---------- ^ expected `&mut ParserScope<'_, '_>`, found `&mut Parser<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut ParserScope<'_, '_>` [INFO] [stdout] found mutable reference `&mut parser::Parser<'_>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> crates/parse/src/grammar/body.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) fn body(p: &mut ParserScope, stop_on_r_curly: bool) { [INFO] [stdout] | ^^^^ ------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> crates/parse/src/grammar/body.rs:239:39 [INFO] [stdout] | [INFO] [stdout] 239 | pub(crate) fn recover_after_body_item(p: &mut ParserScope) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `true_expr` [INFO] [stdout] --> crates/parse/src/grammar/expr.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | let true_expr = expression(p)?; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_true_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `false_expr` [INFO] [stdout] --> crates/parse/src/grammar/expr.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | let false_expr = expression(p)?; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_false_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> crates/parse/src/grammar/expr.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | let rhs = binary_ops(p, ops)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> crates/parse/src/lib.rs:90:3 [INFO] [stdout] | [INFO] [stdout] 84 | let entry_point: fn(&'_ mut parser::Parser) = match entry_point { [INFO] [stdout] | _________________________________________________- [INFO] [stdout] 85 | | ParserEntryPoint::SourceFile => todo!(), [INFO] [stdout] 86 | | ParserEntryPoint::Template => todo!(), [INFO] [stdout] 87 | | ParserEntryPoint::IdentOnly => todo!(), [INFO] [stdout] 88 | | }; [INFO] [stdout] | |___- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 89 | [INFO] [stdout] 90 | let mut p = parser::Parser::new(token_source); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entry_point` [INFO] [stdout] --> crates/parse/src/lib.rs:84:7 [INFO] [stdout] | [INFO] [stdout] 84 | let entry_point: fn(&'_ mut parser::Parser) = match entry_point { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entry_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_source` [INFO] [stdout] --> crates/parse/src/lib.rs:80:3 [INFO] [stdout] | [INFO] [stdout] 80 | token_source: &mut dyn TokenSource, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tree_sink` [INFO] [stdout] --> crates/parse/src/lib.rs:81:3 [INFO] [stdout] | [INFO] [stdout] 81 | tree_sink: &mut dyn TreeSink, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tree_sink` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 92 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> crates/parse/src/grammar/body.rs:239:39 [INFO] [stdout] | [INFO] [stdout] 239 | pub(crate) fn recover_after_body_item(p: &mut ParserScope) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `true_expr` [INFO] [stdout] --> crates/parse/src/grammar/expr.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | let true_expr = expression(p)?; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_true_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `false_expr` [INFO] [stdout] --> crates/parse/src/grammar/expr.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | let false_expr = expression(p)?; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_false_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> crates/parse/src/grammar/expr.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | let rhs = binary_ops(p, ops)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hcl-parse` (lib) due to 93 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `entry_point` [INFO] [stdout] --> crates/parse/src/lib.rs:84:7 [INFO] [stdout] | [INFO] [stdout] 84 | let entry_point: fn(&'_ mut parser::Parser) = match entry_point { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entry_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_source` [INFO] [stdout] --> crates/parse/src/lib.rs:80:3 [INFO] [stdout] | [INFO] [stdout] 80 | token_source: &mut dyn TokenSource, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tree_sink` [INFO] [stdout] --> crates/parse/src/lib.rs:81:3 [INFO] [stdout] | [INFO] [stdout] 81 | tree_sink: &mut dyn TreeSink, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tree_sink` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 92 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hcl-parse` (lib test) due to 93 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "fcf8870b15e4382c0e8e65887703b65846dcd23ce059afbbc28254d845c7c6fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcf8870b15e4382c0e8e65887703b65846dcd23ce059afbbc28254d845c7c6fb", kill_on_drop: false }` [INFO] [stdout] fcf8870b15e4382c0e8e65887703b65846dcd23ce059afbbc28254d845c7c6fb