[INFO] cloning repository https://github.com/nimaipatel/rlox-treewalking [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nimaipatel/rlox-treewalking" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnimaipatel%2Frlox-treewalking", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnimaipatel%2Frlox-treewalking'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1d03a3651f8422f9f92b14d6582734d4c80ca975 [INFO] checking nimaipatel/rlox-treewalking against master#ca77504943887037504c7fc0b9bf06dab3910373 for pr-145181 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnimaipatel%2Frlox-treewalking" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/nimaipatel/rlox-treewalking [INFO] finished tweaking git repo https://github.com/nimaipatel/rlox-treewalking [INFO] tweaked toml for git repo https://github.com/nimaipatel/rlox-treewalking written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nimaipatel/rlox-treewalking on toolchain ca77504943887037504c7fc0b9bf06dab3910373 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ca77504943887037504c7fc0b9bf06dab3910373" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/nimaipatel/rlox-treewalking 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" "+ca77504943887037504c7fc0b9bf06dab3910373" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+ca77504943887037504c7fc0b9bf06dab3910373" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2f84051a230b219469e126b2c365a7a561bb75e74a75e26227f16c5c30426d24 [INFO] running `Command { std: "docker" "start" "-a" "2f84051a230b219469e126b2c365a7a561bb75e74a75e26227f16c5c30426d24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2f84051a230b219469e126b2c365a7a561bb75e74a75e26227f16c5c30426d24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f84051a230b219469e126b2c365a7a561bb75e74a75e26227f16c5c30426d24", kill_on_drop: false }` [INFO] [stdout] 2f84051a230b219469e126b2c365a7a561bb75e74a75e26227f16c5c30426d24 [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=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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+ca77504943887037504c7fc0b9bf06dab3910373" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eedf371bf0fd1ee576b9ff5029376450585c2d91f3350aa9084a2c21f1771238 [INFO] running `Command { std: "docker" "start" "-a" "eedf371bf0fd1ee576b9ff5029376450585c2d91f3350aa9084a2c21f1771238", kill_on_drop: false }` [INFO] [stderr] Checking rlox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0618]: expected function, found `token_type::TokenType` [INFO] [stdout] --> src/scanner/tests.rs:36:24 [INFO] [stdout] | [INFO] [stdout] 36 | Token::new(TokenType::Number(456.), "456", 1), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | call expression requires function [INFO] [stdout] | [INFO] [stdout] ::: src/token_type.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | Number, [INFO] [stdout] | ------ `token_type::TokenType::Number` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `token_type::TokenType` [INFO] [stdout] --> src/scanner/tests.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | Token::new(TokenType::Number(123.), "123", 1), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | call expression requires function [INFO] [stdout] | [INFO] [stdout] ::: src/token_type.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | Number, [INFO] [stdout] | ------ `token_type::TokenType::Number` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `token_type::TokenType` [INFO] [stdout] --> src/scanner/tests.rs:49:24 [INFO] [stdout] | [INFO] [stdout] 49 | Token::new(TokenType::Number(456.), "456", 1), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | call expression requires function [INFO] [stdout] | [INFO] [stdout] ::: src/token_type.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | Number, [INFO] [stdout] | ------ `token_type::TokenType::Number` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `token_type::TokenType` [INFO] [stdout] --> src/scanner/tests.rs:51:24 [INFO] [stdout] | [INFO] [stdout] 51 | Token::new(TokenType::Number(123.), "123", 1), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | call expression requires function [INFO] [stdout] | [INFO] [stdout] ::: src/token_type.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | Number, [INFO] [stdout] | ------ `token_type::TokenType::Number` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `token_type::TokenType` [INFO] [stdout] --> src/scanner/tests.rs:52:24 [INFO] [stdout] | [INFO] [stdout] 52 | Token::new(TokenType::Number(789.), "789", 2), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | call expression requires function [INFO] [stdout] | [INFO] [stdout] ::: src/token_type.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | Number, [INFO] [stdout] | ------ `token_type::TokenType::Number` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `token_type::TokenType` [INFO] [stdout] --> src/scanner/tests.rs:54:24 [INFO] [stdout] | [INFO] [stdout] 54 | Token::new(TokenType::Number(789.), "789", 2), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | call expression requires function [INFO] [stdout] | [INFO] [stdout] ::: src/token_type.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | Number, [INFO] [stdout] | ------ `token_type::TokenType::Number` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `token_type::TokenType` [INFO] [stdout] --> src/scanner/tests.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | Token::new(TokenType::String("nice"), "\"nice\"", 1), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | call expression requires function [INFO] [stdout] | [INFO] [stdout] ::: src/token_type.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | String, [INFO] [stdout] | ------ `token_type::TokenType::String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `token_type::TokenType` [INFO] [stdout] --> src/scanner/tests.rs:66:24 [INFO] [stdout] | [INFO] [stdout] 66 | Token::new(TokenType::String("lol"), "\"lol\"", 2), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | call expression requires function [INFO] [stdout] | [INFO] [stdout] ::: src/token_type.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | String, [INFO] [stdout] | ------ `token_type::TokenType::String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `token_type::TokenType` [INFO] [stdout] --> src/scanner/tests.rs:79:24 [INFO] [stdout] | [INFO] [stdout] 79 | Token::new(TokenType::Number(69.), "69", 1), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | call expression requires function [INFO] [stdout] | [INFO] [stdout] ::: src/token_type.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | Number, [INFO] [stdout] | ------ `token_type::TokenType::Number` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `token_type::TokenType` [INFO] [stdout] --> src/scanner/tests.rs:93:24 [INFO] [stdout] | [INFO] [stdout] 93 | Token::new(TokenType::Number(69.), "69", 1), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | call expression requires function [INFO] [stdout] | [INFO] [stdout] ::: src/token_type.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | Number, [INFO] [stdout] | ------ `token_type::TokenType::Number` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `token_type::TokenType` [INFO] [stdout] --> src/scanner/tests.rs:106:24 [INFO] [stdout] | [INFO] [stdout] 106 | Token::new(TokenType::Number(1.23), "1.23", 1), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | call expression requires function [INFO] [stdout] | [INFO] [stdout] ::: src/token_type.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | Number, [INFO] [stdout] | ------ `token_type::TokenType::Number` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `token_type::TokenType` [INFO] [stdout] --> src/scanner/tests.rs:108:24 [INFO] [stdout] | [INFO] [stdout] 108 | Token::new(TokenType::Number(3.45), "3.45", 1), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | call expression requires function [INFO] [stdout] | [INFO] [stdout] ::: src/token_type.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | Number, [INFO] [stdout] | ------ `token_type::TokenType::Number` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `keyword` is never read [INFO] [stdout] --> src/stmt.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | Return { [INFO] [stdout] | ------ field in this variant [INFO] [stdout] 7 | keyword: &'a Token<'a>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:66:27 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn parse<'a>(tokens: &'a Vec>) -> (Vec>, Vec) { [INFO] [stdout] | ^^ ^^ -- ---------- the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is named here [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 66 | pub fn parse<'a>(tokens: &'a Vec>) -> (Vec>, Vec>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:112:14 [INFO] [stdout] | [INFO] [stdout] 112 | tokens: &'a Vec>, [INFO] [stdout] | ^^ ^^ the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 113 | pos: usize, [INFO] [stdout] 114 | ) -> Result<(Stmt<'a>, usize), ParseError> { [INFO] [stdout] | -- ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 114 | ) -> Result<(Stmt<'a>, usize), ParseError<'a>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:123:14 [INFO] [stdout] | [INFO] [stdout] 123 | tokens: &'a Vec>, [INFO] [stdout] | ^^ ^^ the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 124 | pos: usize, [INFO] [stdout] 125 | ) -> Result<(Stmt<'a>, usize), ParseError> { [INFO] [stdout] | -- ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 125 | ) -> Result<(Stmt<'a>, usize), ParseError<'a>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:159:14 [INFO] [stdout] | [INFO] [stdout] 159 | tokens: &'a Vec>, [INFO] [stdout] | ^^ ^^ the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 160 | pos: usize, [INFO] [stdout] 161 | ) -> Result<(Stmt<'a>, usize), ParseError> { [INFO] [stdout] | -- ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 161 | ) -> Result<(Stmt<'a>, usize), ParseError<'a>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:178:14 [INFO] [stdout] | [INFO] [stdout] 178 | tokens: &'a Vec>, [INFO] [stdout] | ^^ ^^ the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 179 | pos: usize, [INFO] [stdout] 180 | ) -> Result<(Stmt<'a>, usize), ParseError> { [INFO] [stdout] | -- ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 180 | ) -> Result<(Stmt<'a>, usize), ParseError<'a>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:337:14 [INFO] [stdout] | [INFO] [stdout] 337 | tokens: &'a Vec>, [INFO] [stdout] | ^^ ^^ the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 338 | pos: usize, [INFO] [stdout] 339 | ) -> Result<(Stmt<'a>, usize), ParseError> { [INFO] [stdout] | -- ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 339 | ) -> Result<(Stmt<'a>, usize), ParseError<'a>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:359:14 [INFO] [stdout] | [INFO] [stdout] 359 | tokens: &'a Vec>, [INFO] [stdout] | ^^ ^^ the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 360 | pos: usize, [INFO] [stdout] 361 | ) -> Result<(Stmt<'a>, usize), ParseError> { [INFO] [stdout] | -- ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 361 | ) -> Result<(Stmt<'a>, usize), ParseError<'a>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:368:14 [INFO] [stdout] | [INFO] [stdout] 368 | tokens: &'a Vec>, [INFO] [stdout] | ^^ ^^ the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 369 | pos: usize, [INFO] [stdout] 370 | ) -> Result<(Stmt<'a>, usize), ParseError> { [INFO] [stdout] | -- ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 370 | ) -> Result<(Stmt<'a>, usize), ParseError<'a>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:406:14 [INFO] [stdout] | [INFO] [stdout] 406 | tokens: &'a Vec>, [INFO] [stdout] | ^^ ^^ the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 407 | pos: usize, [INFO] [stdout] 408 | ) -> Result<(Expr<'a>, usize), ParseError> { [INFO] [stdout] | -- ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 408 | ) -> Result<(Expr<'a>, usize), ParseError<'a>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:413:14 [INFO] [stdout] | [INFO] [stdout] 413 | tokens: &'a Vec>, [INFO] [stdout] | ^^ ^^ the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 414 | pos: usize, [INFO] [stdout] 415 | ) -> Result<(Expr<'a>, usize), ParseError> { [INFO] [stdout] | -- ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 415 | ) -> Result<(Expr<'a>, usize), ParseError<'a>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:480:14 [INFO] [stdout] | [INFO] [stdout] 480 | tokens: &'a Vec>, [INFO] [stdout] | ^^ ^^ the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 481 | pos: usize, [INFO] [stdout] 482 | ) -> Result<(Expr<'a>, usize), ParseError> { [INFO] [stdout] | -- ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 482 | ) -> Result<(Expr<'a>, usize), ParseError<'a>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:504:28 [INFO] [stdout] | [INFO] [stdout] 504 | fn parse_comp<'a>(tokens: &'a Vec>, pos: usize) -> Result<(Expr<'a>, usize), ParseError> { [INFO] [stdout] | ^^ ^^ -- ---------- the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | the lifetime is named here the same lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 504 | fn parse_comp<'a>(tokens: &'a Vec>, pos: usize) -> Result<(Expr<'a>, usize), ParseError<'a>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:528:28 [INFO] [stdout] | [INFO] [stdout] 528 | fn parse_term<'a>(tokens: &'a Vec>, pos: usize) -> Result<(Expr<'a>, usize), ParseError> { [INFO] [stdout] | ^^ ^^ -- ---------- the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | the lifetime is named here the same lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 528 | fn parse_term<'a>(tokens: &'a Vec>, pos: usize) -> Result<(Expr<'a>, usize), ParseError<'a>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:549:14 [INFO] [stdout] | [INFO] [stdout] 549 | tokens: &'a Vec>, [INFO] [stdout] | ^^ ^^ the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 550 | pos: usize, [INFO] [stdout] 551 | ) -> Result<(Expr<'a>, usize), ParseError> { [INFO] [stdout] | -- ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 551 | ) -> Result<(Expr<'a>, usize), ParseError<'a>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:572:14 [INFO] [stdout] | [INFO] [stdout] 572 | tokens: &'a Vec>, [INFO] [stdout] | ^^ ^^ the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 573 | pos: usize, [INFO] [stdout] 574 | ) -> Result<(Expr<'a>, usize), ParseError> { [INFO] [stdout] | -- ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 574 | ) -> Result<(Expr<'a>, usize), ParseError<'a>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:593:28 [INFO] [stdout] | [INFO] [stdout] 593 | fn parse_call<'a>(tokens: &'a Vec>, pos: usize) -> Result<(Expr<'a>, usize), ParseError> { [INFO] [stdout] | ^^ ^^ -- ---------- the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | the lifetime is named here the same lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 593 | fn parse_call<'a>(tokens: &'a Vec>, pos: usize) -> Result<(Expr<'a>, usize), ParseError<'a>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:644:14 [INFO] [stdout] | [INFO] [stdout] 644 | tokens: &'a Vec>, [INFO] [stdout] | ^^ ^^ the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 645 | pos: usize, [INFO] [stdout] 646 | ) -> Result<(Expr<'a>, usize), ParseError> { [INFO] [stdout] | -- ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 646 | ) -> Result<(Expr<'a>, usize), ParseError<'a>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0618`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rlox` (bin "rlox" test) due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "eedf371bf0fd1ee576b9ff5029376450585c2d91f3350aa9084a2c21f1771238", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eedf371bf0fd1ee576b9ff5029376450585c2d91f3350aa9084a2c21f1771238", kill_on_drop: false }` [INFO] [stdout] eedf371bf0fd1ee576b9ff5029376450585c2d91f3350aa9084a2c21f1771238