[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 master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 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-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/niccholaspage/rusty-lox on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded typed-arena v2.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9fb7f2d75019920cdba1ca96a85200770d34716bd7389faf5bab8a3b0d8451df [INFO] running `Command { std: "docker" "start" "-a" "9fb7f2d75019920cdba1ca96a85200770d34716bd7389faf5bab8a3b0d8451df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9fb7f2d75019920cdba1ca96a85200770d34716bd7389faf5bab8a3b0d8451df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fb7f2d75019920cdba1ca96a85200770d34716bd7389faf5bab8a3b0d8451df", kill_on_drop: false }` [INFO] [stdout] 9fb7f2d75019920cdba1ca96a85200770d34716bd7389faf5bab8a3b0d8451df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 49e116222037dc704f811c229e30e0d2e7bb8b82d92c301f1f585d71b6f16246 [INFO] running `Command { std: "docker" "start" "-a" "49e116222037dc704f811c229e30e0d2e7bb8b82d92c301f1f585d71b6f16246", 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: 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 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: 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 0.43s [INFO] running `Command { std: "docker" "inspect" "49e116222037dc704f811c229e30e0d2e7bb8b82d92c301f1f585d71b6f16246", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49e116222037dc704f811c229e30e0d2e7bb8b82d92c301f1f585d71b6f16246", kill_on_drop: false }` [INFO] [stdout] 49e116222037dc704f811c229e30e0d2e7bb8b82d92c301f1f585d71b6f16246 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 903a5bb579a86ca17939820bc6e23beb6a914a7f485655b17c77d31992679aab [INFO] running `Command { std: "docker" "start" "-a" "903a5bb579a86ca17939820bc6e23beb6a914a7f485655b17c77d31992679aab", 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: 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 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: 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.20s [INFO] running `Command { std: "docker" "inspect" "903a5bb579a86ca17939820bc6e23beb6a914a7f485655b17c77d31992679aab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "903a5bb579a86ca17939820bc6e23beb6a914a7f485655b17c77d31992679aab", kill_on_drop: false }` [INFO] [stdout] 903a5bb579a86ca17939820bc6e23beb6a914a7f485655b17c77d31992679aab