[INFO] cloning repository https://github.com/vangroan/grok-bump [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vangroan/grok-bump" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvangroan%2Fgrok-bump", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvangroan%2Fgrok-bump'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ea97532978cf79e0cb0047a2bbc5cafbd09b578d [INFO] checking vangroan/grok-bump against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvangroan%2Fgrok-bump" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/vangroan/grok-bump [INFO] finished tweaking git repo https://github.com/vangroan/grok-bump [INFO] tweaked toml for git repo https://github.com/vangroan/grok-bump written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/vangroan/grok-bump on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/vangroan/grok-bump 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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 94a582a59273391511f2fc34c2cdc94ea41f706053f9623c62490a13a382b3dd [INFO] running `Command { std: "docker" "start" "-a" "94a582a59273391511f2fc34c2cdc94ea41f706053f9623c62490a13a382b3dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "94a582a59273391511f2fc34c2cdc94ea41f706053f9623c62490a13a382b3dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94a582a59273391511f2fc34c2cdc94ea41f706053f9623c62490a13a382b3dd", kill_on_drop: false }` [INFO] [stdout] 94a582a59273391511f2fc34c2cdc94ea41f706053f9623c62490a13a382b3dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 47c300eb7fa049f3287cab78318d9726fb4c99e4d2b8229c536d00a03cbe5a03 [INFO] running `Command { std: "docker" "start" "-a" "47c300eb7fa049f3287cab78318d9726fb4c99e4d2b8229c536d00a03cbe5a03", kill_on_drop: false }` [INFO] [stderr] Checking bumpalo v3.14.0 [INFO] [stderr] Checking grok-bump v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variants `Sub`, `Mul`, `Div`, and `Mod` are never constructed [INFO] [stdout] --> src/main.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 50 | enum BinaryOperator { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 51 | Add, [INFO] [stdout] 52 | Sub, [INFO] [stdout] | ^^^ [INFO] [stdout] 53 | Mul, [INFO] [stdout] | ^^^ [INFO] [stdout] 54 | Div, [INFO] [stdout] | ^^^ [INFO] [stdout] 55 | Mod, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinaryOperator` 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: field `bump` is never read [INFO] [stdout] --> src/main.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 59 | struct SyntaxTree<'a> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 60 | root: Ast<'a>, [INFO] [stdout] 61 | bump: &'a Bump, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SyntaxTree` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/main.rs:307:9 [INFO] [stdout] | [INFO] [stdout] 307 | Add(u8, u8, u8), [INFO] [stdout] | --- ^^ ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Op` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 307 - Add(u8, u8, u8), [INFO] [stdout] 307 + Add((), (), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/main.rs:312:25 [INFO] [stdout] | [INFO] [stdout] 312 | LoadConstant_Number(u8, isize), [INFO] [stdout] | ------------------- ^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Op` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 312 - LoadConstant_Number(u8, isize), [INFO] [stdout] 312 + LoadConstant_Number((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/main.rs:313:25 [INFO] [stdout] | [INFO] [stdout] 313 | LoadConstant_String(u8, String), [INFO] [stdout] | ------------------- ^^ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Op` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 313 - LoadConstant_String(u8, String), [INFO] [stdout] 313 + LoadConstant_String((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:315:15 [INFO] [stdout] | [INFO] [stdout] 315 | StoreZero(u8), [INFO] [stdout] | --------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Op` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 315 - StoreZero(u8), [INFO] [stdout] 315 + StoreZero(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/main.rs:65:33 [INFO] [stdout] | [INFO] [stdout] 65 | fn into_literal(self, bump: &Bump) -> &mut Literal; [INFO] [stdout] | ^^^^^ ------------ [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 65 | fn into_literal(self, bump: &Bump) -> &mut Literal<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/main.rs:70:33 [INFO] [stdout] | [INFO] [stdout] 70 | fn into_literal(self, bump: &Bump) -> &mut Literal { [INFO] [stdout] | ^^^^^ ------------ [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 70 | fn into_literal(self, bump: &Bump) -> &mut Literal<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/main.rs:77:33 [INFO] [stdout] | [INFO] [stdout] 77 | fn into_literal(self, bump: &Bump) -> &mut Literal { [INFO] [stdout] | ^^^^^ ------------ [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 77 | fn into_literal(self, bump: &Bump) -> &mut Literal<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/main.rs:206:18 [INFO] [stdout] | [INFO] [stdout] 206 | fn literal(bump: &Bump, value: impl IntoLiteral) -> &mut Literal { [INFO] [stdout] | ^^^^^ ------------ [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 206 | fn literal(bump: &Bump, value: impl IntoLiteral) -> &mut Literal<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/main.rs:217:23 [INFO] [stdout] | [INFO] [stdout] 217 | fn var_def<'a>(bump: &'a Bump, name: String, rhs: impl IntoExpr<'a>) -> &'a mut VarStmt { [INFO] [stdout] | ^^ -- ------- the lifetimes get resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | this lifetime flows to the output the lifetimes get resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 217 | fn var_def<'a>(bump: &'a Bump, name: String, rhs: impl IntoExpr<'a>) -> &'a mut VarStmt<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/main.rs:225:24 [INFO] [stdout] | [INFO] [stdout] 225 | fn var_decl<'a>(bump: &'a Bump, name: String) -> &'a mut VarStmt { [INFO] [stdout] | ^^ -- ------- the lifetimes get resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 225 | fn var_decl<'a>(bump: &'a Bump, name: String) -> &'a mut VarStmt<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/main.rs:231:12 [INFO] [stdout] | [INFO] [stdout] 231 | bump: &'a Bump, [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 235 | ) -> &'a mut BinaryExpr { [INFO] [stdout] | -- ---------- the lifetimes get resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | the lifetimes get resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 235 | ) -> &'a mut BinaryExpr<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/main.rs:246:16 [INFO] [stdout] | [INFO] [stdout] 246 | fn parse(bump: &Bump) -> SyntaxTree { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 246 | fn parse(bump: &Bump) -> SyntaxTree<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Sub`, `Mul`, `Div`, and `Mod` are never constructed [INFO] [stdout] --> src/main.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 50 | enum BinaryOperator { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 51 | Add, [INFO] [stdout] 52 | Sub, [INFO] [stdout] | ^^^ [INFO] [stdout] 53 | Mul, [INFO] [stdout] | ^^^ [INFO] [stdout] 54 | Div, [INFO] [stdout] | ^^^ [INFO] [stdout] 55 | Mod, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinaryOperator` 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: field `bump` is never read [INFO] [stdout] --> src/main.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 59 | struct SyntaxTree<'a> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 60 | root: Ast<'a>, [INFO] [stdout] 61 | bump: &'a Bump, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SyntaxTree` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/main.rs:307:9 [INFO] [stdout] | [INFO] [stdout] 307 | Add(u8, u8, u8), [INFO] [stdout] | --- ^^ ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Op` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 307 - Add(u8, u8, u8), [INFO] [stdout] 307 + Add((), (), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/main.rs:312:25 [INFO] [stdout] | [INFO] [stdout] 312 | LoadConstant_Number(u8, isize), [INFO] [stdout] | ------------------- ^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Op` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 312 - LoadConstant_Number(u8, isize), [INFO] [stdout] 312 + LoadConstant_Number((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/main.rs:313:25 [INFO] [stdout] | [INFO] [stdout] 313 | LoadConstant_String(u8, String), [INFO] [stdout] | ------------------- ^^ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Op` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 313 - LoadConstant_String(u8, String), [INFO] [stdout] 313 + LoadConstant_String((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:315:15 [INFO] [stdout] | [INFO] [stdout] 315 | StoreZero(u8), [INFO] [stdout] | --------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Op` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 315 - StoreZero(u8), [INFO] [stdout] 315 + StoreZero(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/main.rs:65:33 [INFO] [stdout] | [INFO] [stdout] 65 | fn into_literal(self, bump: &Bump) -> &mut Literal; [INFO] [stdout] | ^^^^^ ------------ [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 65 | fn into_literal(self, bump: &Bump) -> &mut Literal<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/main.rs:70:33 [INFO] [stdout] | [INFO] [stdout] 70 | fn into_literal(self, bump: &Bump) -> &mut Literal { [INFO] [stdout] | ^^^^^ ------------ [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 70 | fn into_literal(self, bump: &Bump) -> &mut Literal<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/main.rs:77:33 [INFO] [stdout] | [INFO] [stdout] 77 | fn into_literal(self, bump: &Bump) -> &mut Literal { [INFO] [stdout] | ^^^^^ ------------ [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 77 | fn into_literal(self, bump: &Bump) -> &mut Literal<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/main.rs:206:18 [INFO] [stdout] | [INFO] [stdout] 206 | fn literal(bump: &Bump, value: impl IntoLiteral) -> &mut Literal { [INFO] [stdout] | ^^^^^ ------------ [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 206 | fn literal(bump: &Bump, value: impl IntoLiteral) -> &mut Literal<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/main.rs:217:23 [INFO] [stdout] | [INFO] [stdout] 217 | fn var_def<'a>(bump: &'a Bump, name: String, rhs: impl IntoExpr<'a>) -> &'a mut VarStmt { [INFO] [stdout] | ^^ -- ------- the lifetimes get resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | this lifetime flows to the output the lifetimes get resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 217 | fn var_def<'a>(bump: &'a Bump, name: String, rhs: impl IntoExpr<'a>) -> &'a mut VarStmt<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/main.rs:225:24 [INFO] [stdout] | [INFO] [stdout] 225 | fn var_decl<'a>(bump: &'a Bump, name: String) -> &'a mut VarStmt { [INFO] [stdout] | ^^ -- ------- the lifetimes get resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 225 | fn var_decl<'a>(bump: &'a Bump, name: String) -> &'a mut VarStmt<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/main.rs:231:12 [INFO] [stdout] | [INFO] [stdout] 231 | bump: &'a Bump, [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 235 | ) -> &'a mut BinaryExpr { [INFO] [stdout] | -- ---------- the lifetimes get resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | the lifetimes get resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 235 | ) -> &'a mut BinaryExpr<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/main.rs:246:16 [INFO] [stdout] | [INFO] [stdout] 246 | fn parse(bump: &Bump) -> SyntaxTree { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 246 | fn parse(bump: &Bump) -> SyntaxTree<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.71s [INFO] running `Command { std: "docker" "inspect" "47c300eb7fa049f3287cab78318d9726fb4c99e4d2b8229c536d00a03cbe5a03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47c300eb7fa049f3287cab78318d9726fb4c99e4d2b8229c536d00a03cbe5a03", kill_on_drop: false }` [INFO] [stdout] 47c300eb7fa049f3287cab78318d9726fb4c99e4d2b8229c536d00a03cbe5a03