[INFO] cloning repository https://github.com/niccholaspage/rusty-lox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/niccholaspage/rusty-lox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fniccholaspage%2Frusty-lox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fniccholaspage%2Frusty-lox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 57e2b22c325d8931fbb84c5983ec16f2220e33b1 [INFO] building niccholaspage/rusty-lox against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fniccholaspage%2Frusty-lox" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/niccholaspage/rusty-lox [INFO] finished tweaking git repo https://github.com/niccholaspage/rusty-lox [INFO] tweaked toml for git repo https://github.com/niccholaspage/rusty-lox written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/niccholaspage/rusty-lox on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/niccholaspage/rusty-lox 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 66e39f5a07b68db83b821f25e7c058a1061da058b8cd49821e5f97a8df05865e [INFO] running `Command { std: "docker" "start" "-a" "66e39f5a07b68db83b821f25e7c058a1061da058b8cd49821e5f97a8df05865e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "66e39f5a07b68db83b821f25e7c058a1061da058b8cd49821e5f97a8df05865e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66e39f5a07b68db83b821f25e7c058a1061da058b8cd49821e5f97a8df05865e", kill_on_drop: false }` [INFO] [stdout] 66e39f5a07b68db83b821f25e7c058a1061da058b8cd49821e5f97a8df05865e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d23c710091599192c85bcececa96bda1f0da6a256a6375e4636242069d710541 [INFO] running `Command { std: "docker" "start" "-a" "d23c710091599192c85bcececa96bda1f0da6a256a6375e4636242069d710541", kill_on_drop: false }` [INFO] [stderr] Compiling typed-arena v2.0.1 [INFO] [stderr] Compiling rusty-lox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait `Visitor` is never used [INFO] [stdout] --> src/expr.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Visitor { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(context: &RefCell, tokens: Vec) -> Parser { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(context: &RefCell, tokens: Vec) -> Parser<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Visitor` is never used [INFO] [stdout] --> src/stmt.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Visitor { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser.rs:28:74 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn parse(&'a mut self, arena: &'a Arena>) -> Option> { [INFO] [stdout] | -- -- -- ^^^^ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the 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] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 28 | pub fn parse(&'a mut self, arena: &'a Arena>) -> Option>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 42 | fn expression(&self, arena: &'a Arena>) -> Result<&'a Expr, ParseError> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 42 | fn expression(&self, arena: &'a Arena>) -> Result<&'a Expr<'_>, ParseError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser.rs:46:73 [INFO] [stdout] | [INFO] [stdout] 46 | fn declaration(&'a self, arena: &'a Arena>) -> Option> { [INFO] [stdout] | -- -- -- ^^ the same lifetime is elided here [INFO] [stdout] | | | | [INFO] [stdout] | | | the 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] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 46 - fn declaration(&'a self, arena: &'a Arena>) -> Option> { [INFO] [stdout] 46 + fn declaration(&'a self, arena: &'a Arena>) -> Option> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | fn statement(&'a self, arena: &'a Arena>) -> Result, ParseError> { [INFO] [stdout] | -- -- -- ^^ the same lifetime is elided here [INFO] [stdout] | | | | [INFO] [stdout] | | | the 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] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 66 - fn statement(&'a self, arena: &'a Arena>) -> Result, ParseError> { [INFO] [stdout] 66 + fn statement(&'a self, arena: &'a Arena>) -> Result, ParseError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser.rs:78:77 [INFO] [stdout] | [INFO] [stdout] 78 | fn print_statement(&'a self, arena: &'a Arena>) -> Result, ParseError> { [INFO] [stdout] | -- -- -- ^^ the same lifetime is elided here [INFO] [stdout] | | | | [INFO] [stdout] | | | the 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] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 78 - fn print_statement(&'a self, arena: &'a Arena>) -> Result, ParseError> { [INFO] [stdout] 78 + fn print_statement(&'a self, arena: &'a Arena>) -> Result, ParseError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser.rs:86:77 [INFO] [stdout] | [INFO] [stdout] 86 | fn var_declaration(&'a self, arena: &'a Arena>) -> Result, ParseError> { [INFO] [stdout] | -- -- -- ^^ the same lifetime is elided here [INFO] [stdout] | | | | [INFO] [stdout] | | | the 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] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 86 - fn var_declaration(&'a self, arena: &'a Arena>) -> Result, ParseError> { [INFO] [stdout] 86 + fn var_declaration(&'a self, arena: &'a Arena>) -> Result, ParseError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser.rs:99:82 [INFO] [stdout] | [INFO] [stdout] 99 | fn expression_statement(&'a self, arena: &'a Arena>) -> Result, ParseError> { [INFO] [stdout] | -- -- -- ^^ the same lifetime is elided here [INFO] [stdout] | | | | [INFO] [stdout] | | | the 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] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 99 - fn expression_statement(&'a self, arena: &'a Arena>) -> Result, ParseError> { [INFO] [stdout] 99 + fn expression_statement(&'a self, arena: &'a Arena>) -> Result, ParseError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser.rs:107:71 [INFO] [stdout] | [INFO] [stdout] 107 | fn block(&'a self, arena: &'a Arena>) -> Result>, ParseError> { [INFO] [stdout] | -- -- -- ^^ the same lifetime is elided here [INFO] [stdout] | | | | [INFO] [stdout] | | | the 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] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 107 - fn block(&'a self, arena: &'a Arena>) -> Result>, ParseError> { [INFO] [stdout] 107 + fn block(&'a self, arena: &'a Arena>) -> Result>, ParseError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:120:19 [INFO] [stdout] | [INFO] [stdout] 120 | fn assignment(&self, arena: &'a Arena>) -> Result<&'a Expr, ParseError> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 120 | fn assignment(&self, arena: &'a Arena>) -> Result<&'a Expr<'_>, ParseError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | fn equality(&self, arena: &'a Arena>) -> Result<&'a Expr, ParseError> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 137 | fn equality(&self, arena: &'a Arena>) -> Result<&'a Expr<'_>, ParseError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:153:19 [INFO] [stdout] | [INFO] [stdout] 153 | fn comparison(&self, arena: &'a Arena>) -> Result<&'a Expr, ParseError> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 153 | fn comparison(&self, arena: &'a Arena>) -> Result<&'a Expr<'_>, ParseError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | fn term(&self, arena: &'a Arena>) -> Result<&'a Expr, ParseError> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 174 | fn term(&self, arena: &'a Arena>) -> Result<&'a Expr<'_>, ParseError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:190:15 [INFO] [stdout] | [INFO] [stdout] 190 | fn factor(&self, arena: &'a Arena>) -> Result<&'a Expr, ParseError> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 190 | fn factor(&self, arena: &'a Arena>) -> Result<&'a Expr<'_>, ParseError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:206:14 [INFO] [stdout] | [INFO] [stdout] 206 | fn unary(&self, arena: &'a Arena>) -> Result<&'a Expr, ParseError> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 206 | fn unary(&self, arena: &'a Arena>) -> Result<&'a Expr<'_>, ParseError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:219:16 [INFO] [stdout] | [INFO] [stdout] 219 | fn primary(&self, arena: &'a Arena>) -> Result<&'a Expr, ParseError> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 219 | fn primary(&self, arena: &'a Arena>) -> Result<&'a Expr<'_>, ParseError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.35s [INFO] running `Command { std: "docker" "inspect" "d23c710091599192c85bcececa96bda1f0da6a256a6375e4636242069d710541", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d23c710091599192c85bcececa96bda1f0da6a256a6375e4636242069d710541", kill_on_drop: false }` [INFO] [stdout] d23c710091599192c85bcececa96bda1f0da6a256a6375e4636242069d710541 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bb1edf1773348910e7eb0d5bd6a5ad9502bfa4645bcaa2fcc2ef86525fe478f1 [INFO] running `Command { std: "docker" "start" "-a" "bb1edf1773348910e7eb0d5bd6a5ad9502bfa4645bcaa2fcc2ef86525fe478f1", kill_on_drop: false }` [INFO] [stderr] Compiling rusty-lox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait `Visitor` is never used [INFO] [stdout] --> src/expr.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Visitor { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(context: &RefCell, tokens: Vec) -> Parser { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(context: &RefCell, tokens: Vec) -> Parser<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser.rs:28:74 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn parse(&'a mut self, arena: &'a Arena>) -> Option> { [INFO] [stdout] | -- -- -- ^^^^ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the 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] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 28 | pub fn parse(&'a mut self, arena: &'a Arena>) -> Option>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 42 | fn expression(&self, arena: &'a Arena>) -> Result<&'a Expr, ParseError> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 42 | fn expression(&self, arena: &'a Arena>) -> Result<&'a Expr<'_>, ParseError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser.rs:46:73 [INFO] [stdout] | [INFO] [stdout] 46 | fn declaration(&'a self, arena: &'a Arena>) -> Option> { [INFO] [stdout] | -- -- -- ^^ the same lifetime is elided here [INFO] [stdout] | | | | [INFO] [stdout] | | | the 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] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 46 - fn declaration(&'a self, arena: &'a Arena>) -> Option> { [INFO] [stdout] 46 + fn declaration(&'a self, arena: &'a Arena>) -> Option> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | fn statement(&'a self, arena: &'a Arena>) -> Result, ParseError> { [INFO] [stdout] | -- -- -- ^^ the same lifetime is elided here [INFO] [stdout] | | | | [INFO] [stdout] | | | the 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] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 66 - fn statement(&'a self, arena: &'a Arena>) -> Result, ParseError> { [INFO] [stdout] 66 + fn statement(&'a self, arena: &'a Arena>) -> Result, ParseError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser.rs:78:77 [INFO] [stdout] | [INFO] [stdout] 78 | fn print_statement(&'a self, arena: &'a Arena>) -> Result, ParseError> { [INFO] [stdout] | -- -- -- ^^ the same lifetime is elided here [INFO] [stdout] | | | | [INFO] [stdout] | | | the 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] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 78 - fn print_statement(&'a self, arena: &'a Arena>) -> Result, ParseError> { [INFO] [stdout] 78 + fn print_statement(&'a self, arena: &'a Arena>) -> Result, ParseError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser.rs:86:77 [INFO] [stdout] | [INFO] [stdout] 86 | fn var_declaration(&'a self, arena: &'a Arena>) -> Result, ParseError> { [INFO] [stdout] | -- -- -- ^^ the same lifetime is elided here [INFO] [stdout] | | | | [INFO] [stdout] | | | the 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] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 86 - fn var_declaration(&'a self, arena: &'a Arena>) -> Result, ParseError> { [INFO] [stdout] 86 + fn var_declaration(&'a self, arena: &'a Arena>) -> Result, ParseError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Visitor` is never used [INFO] [stdout] --> src/stmt.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Visitor { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser.rs:99:82 [INFO] [stdout] | [INFO] [stdout] 99 | fn expression_statement(&'a self, arena: &'a Arena>) -> Result, ParseError> { [INFO] [stdout] | -- -- -- ^^ the same lifetime is elided here [INFO] [stdout] | | | | [INFO] [stdout] | | | the 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] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 99 - fn expression_statement(&'a self, arena: &'a Arena>) -> Result, ParseError> { [INFO] [stdout] 99 + fn expression_statement(&'a self, arena: &'a Arena>) -> Result, ParseError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser.rs:107:71 [INFO] [stdout] | [INFO] [stdout] 107 | fn block(&'a self, arena: &'a Arena>) -> Result>, ParseError> { [INFO] [stdout] | -- -- -- ^^ the same lifetime is elided here [INFO] [stdout] | | | | [INFO] [stdout] | | | the 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] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 107 - fn block(&'a self, arena: &'a Arena>) -> Result>, ParseError> { [INFO] [stdout] 107 + fn block(&'a self, arena: &'a Arena>) -> Result>, ParseError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:120:19 [INFO] [stdout] | [INFO] [stdout] 120 | fn assignment(&self, arena: &'a Arena>) -> Result<&'a Expr, ParseError> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 120 | fn assignment(&self, arena: &'a Arena>) -> Result<&'a Expr<'_>, ParseError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | fn equality(&self, arena: &'a Arena>) -> Result<&'a Expr, ParseError> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 137 | fn equality(&self, arena: &'a Arena>) -> Result<&'a Expr<'_>, ParseError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:153:19 [INFO] [stdout] | [INFO] [stdout] 153 | fn comparison(&self, arena: &'a Arena>) -> Result<&'a Expr, ParseError> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 153 | fn comparison(&self, arena: &'a Arena>) -> Result<&'a Expr<'_>, ParseError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | fn term(&self, arena: &'a Arena>) -> Result<&'a Expr, ParseError> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 174 | fn term(&self, arena: &'a Arena>) -> Result<&'a Expr<'_>, ParseError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:190:15 [INFO] [stdout] | [INFO] [stdout] 190 | fn factor(&self, arena: &'a Arena>) -> Result<&'a Expr, ParseError> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 190 | fn factor(&self, arena: &'a Arena>) -> Result<&'a Expr<'_>, ParseError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:206:14 [INFO] [stdout] | [INFO] [stdout] 206 | fn unary(&self, arena: &'a Arena>) -> Result<&'a Expr, ParseError> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 206 | fn unary(&self, arena: &'a Arena>) -> Result<&'a Expr<'_>, ParseError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:219:16 [INFO] [stdout] | [INFO] [stdout] 219 | fn primary(&self, arena: &'a Arena>) -> Result<&'a Expr, ParseError> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 219 | fn primary(&self, arena: &'a Arena>) -> Result<&'a Expr<'_>, ParseError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.60s [INFO] running `Command { std: "docker" "inspect" "bb1edf1773348910e7eb0d5bd6a5ad9502bfa4645bcaa2fcc2ef86525fe478f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb1edf1773348910e7eb0d5bd6a5ad9502bfa4645bcaa2fcc2ef86525fe478f1", kill_on_drop: false }` [INFO] [stdout] bb1edf1773348910e7eb0d5bd6a5ad9502bfa4645bcaa2fcc2ef86525fe478f1