[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] documenting YoloDev/hcl-rs against 1.69.0 for beta-1.70-rustdoc-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYoloDev%2Fhcl-rs" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/YoloDev/hcl-rs on toolchain 1.69.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.69.0" "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-4-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" "+1.69.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded const_format v0.2.19
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d515a33d11509cf0268e2be3ae03afc8306fd4e3264ff39267beedc14e5cc8b9
[INFO] running `Command { std: "docker" "start" "-a" "d515a33d11509cf0268e2be3ae03afc8306fd4e3264ff39267beedc14e5cc8b9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d515a33d11509cf0268e2be3ae03afc8306fd4e3264ff39267beedc14e5cc8b9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d515a33d11509cf0268e2be3ae03afc8306fd4e3264ff39267beedc14e5cc8b9", kill_on_drop: false }`
[INFO] [stdout] d515a33d11509cf0268e2be3ae03afc8306fd4e3264ff39267beedc14e5cc8b9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] eb24a723fa6fede43959e6ddbe8f24aa00a5bb30c2e26888f1b713baee6b58c8
[INFO] running `Command { std: "docker" "start" "-a" "eb24a723fa6fede43959e6ddbe8f24aa00a5bb30c2e26888f1b713baee6b58c8", kill_on_drop: false }`
[INFO] [stderr]     Checking drop_bomb v0.1.5
[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]  Documenting hcl-lex v0.0.0 (/opt/rustwide/workdir/crates/lex)
[INFO] [stderr]     Checking hcl-parse v0.0.0 (/opt/rustwide/workdir/crates/parse)
[INFO] [stderr]  Documenting hcl-parse v0.0.0 (/opt/rustwide/workdir/crates/parse)
[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 `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`, `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`, `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]    |             ^^^^^^^ help: there is a method with a similar name: `recovery`
[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]     |             ^^^^^^^ help: there is a method with a similar name: `recovery`
[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]     |             ^^^^^^^ help: there is a method with a similar name: `recovery`
[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]     |             ^^^^^^^ help: there is a method with a similar name: `recovery`
[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]     |                 ^^^^^^^ help: there is a method with a similar name: `recovery`
[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]     |                   ^^^^^^^ help: there is a method with a similar name: `recovery`
[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]     |                   ^^^^^^^ help: there is a method with a similar name: `recovery`
[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]     |             ^^^^^^^ help: there is a method with a similar name: `recovery`
[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]     |           ^^^^^^^ help: there is a method with a similar name: `recovery`
[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]     |             ^^^^^^^ help: there is a method with a similar name: `recovery`
[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]     |           ^^^^^^^ help: there is a method with a similar name: `recovery`
[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:438:11
[INFO] [stdout]     |
[INFO] [stdout] 438 |         p.recover(T![']']);
[INFO] [stdout]     |           ^^^^^^^ help: there is a method with a similar name: `recovery`
[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]     |           ^^^^^^^ help: there is a method with a similar name: `recovery`
[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:488:11
[INFO] [stdout]     |
[INFO] [stdout] 488 |         p.recover(T!['}']);
[INFO] [stdout]     |           ^^^^^^^ help: there is a method with a similar name: `recovery`
[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<CompletedMarker> {
[INFO] [stdout]     |                                                     ----------------------- expected `Option<CompletedMarker>` 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<CompletedMarker>`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected enum `Option<CompletedMarker>`
[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 `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 `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 `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] [stderr]     Checking rowan v0.14.1
[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: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 `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<CompletedMarker> {
[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: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 `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: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 `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 `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 `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 `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] warning: public documentation for `hcl_parse` links to private item `crate::parser::Parser`
[INFO] [stdout]   --> crates/parse/src/lib.rs:15:17
[INFO] [stdout]    |
[INFO] [stdout] 15 | //! [`Parser`]: crate::parser::Parser
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^ this item is private
[INFO] [stdout]    |
[INFO] [stdout]    = note: this link resolves only because you passed `--document-private-items`, but will break without
[INFO] [stdout]    = note: `#[warn(rustdoc::private_intra_doc_links)]` on by default
[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] warning: public documentation for `hcl_parse` links to private item `grammar`
[INFO] [stdout]   --> crates/parse/src/lib.rs:11:41
[INFO] [stdout]    |
[INFO] [stdout] 11 | //! The actual parsing happens in the [`grammar`] module.
[INFO] [stdout]    |                                         ^^^^^^^ this item is private
[INFO] [stdout]    |
[INFO] [stdout]    = note: this link resolves only because you passed `--document-private-items`, but will break without
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unresolved link to `Parser::start`
[INFO] [stdout]    --> crates/parse/src/parser.rs:220:11
[INFO] [stdout]     |
[INFO] [stdout] 220 | /// See [`Parser::start`].
[INFO] [stdout]     |           ^^^^^^^^^^^^^ the struct `Parser` has no field or associated item named `start`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default
[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 `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 `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 `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 `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 `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 `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<CompletedMarker> {
[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: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: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: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] warning: 3 warnings emitted
[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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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<CompletedMarker> {
[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: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 `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 `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: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 `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 `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 `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 `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 `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 `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 `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 `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] 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: 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: aborting due to 92 previous errors; 3 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` due to 93 previous errors; 3 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "eb24a723fa6fede43959e6ddbe8f24aa00a5bb30c2e26888f1b713baee6b58c8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eb24a723fa6fede43959e6ddbe8f24aa00a5bb30c2e26888f1b713baee6b58c8", kill_on_drop: false }`
[INFO] [stdout] eb24a723fa6fede43959e6ddbe8f24aa00a5bb30c2e26888f1b713baee6b58c8
