[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] testing vangroan/grok-bump against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvangroan%2Fgrok-bump" "/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/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-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/vangroan/grok-bump on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 35dc580622f022ec3a2dc5aa98acec6349c8f1238cace8f25a00398c2a531ee5 [INFO] running `Command { std: "docker" "start" "-a" "35dc580622f022ec3a2dc5aa98acec6349c8f1238cace8f25a00398c2a531ee5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "35dc580622f022ec3a2dc5aa98acec6349c8f1238cace8f25a00398c2a531ee5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35dc580622f022ec3a2dc5aa98acec6349c8f1238cace8f25a00398c2a531ee5", kill_on_drop: false }` [INFO] [stdout] 35dc580622f022ec3a2dc5aa98acec6349c8f1238cace8f25a00398c2a531ee5 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 16e0d574763956f6ed90648558d5597f11fd3e5c073726981fc6948ad2cf5907 [INFO] running `Command { std: "docker" "start" "-a" "16e0d574763956f6ed90648558d5597f11fd3e5c073726981fc6948ad2cf5907", kill_on_drop: false }` [INFO] [stderr] Compiling bumpalo v3.14.0 [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] 65 | fn into_literal(self, bump: &Bump) -> &mut Literal<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 70 | fn into_literal(self, bump: &Bump) -> &mut Literal<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 77 | fn into_literal(self, bump: &Bump) -> &mut Literal<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here the same lifetime is elided 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 literal(bump: &Bump, value: impl IntoLiteral) -> &mut Literal<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/main.rs:217:81 [INFO] [stdout] | [INFO] [stdout] 217 | fn var_def<'a>(bump: &'a Bump, name: String, rhs: impl IntoExpr<'a>) -> &'a mut VarStmt { [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] | [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] 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: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/main.rs:225:58 [INFO] [stdout] | [INFO] [stdout] 225 | fn var_decl<'a>(bump: &'a Bump, name: String) -> &'a mut VarStmt { [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] | [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] 225 | fn var_decl<'a>(bump: &'a Bump, name: String) -> &'a mut VarStmt<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/main.rs:235:14 [INFO] [stdout] | [INFO] [stdout] 231 | bump: &'a Bump, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 235 | ) -> &'a mut BinaryExpr { [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] 235 | ) -> &'a mut BinaryExpr<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/main.rs:246:16 [INFO] [stdout] | [INFO] [stdout] 246 | fn parse(bump: &Bump) -> SyntaxTree { [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] help: use `'_` for type 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 2.08s [INFO] running `Command { std: "docker" "inspect" "16e0d574763956f6ed90648558d5597f11fd3e5c073726981fc6948ad2cf5907", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16e0d574763956f6ed90648558d5597f11fd3e5c073726981fc6948ad2cf5907", kill_on_drop: false }` [INFO] [stdout] 16e0d574763956f6ed90648558d5597f11fd3e5c073726981fc6948ad2cf5907 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 153b59651ea6f096139109c95aebc9ad1f02d6bb0fbe685335ca8a75a544b1c3 [INFO] running `Command { std: "docker" "start" "-a" "153b59651ea6f096139109c95aebc9ad1f02d6bb0fbe685335ca8a75a544b1c3", kill_on_drop: false }` [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] 65 | fn into_literal(self, bump: &Bump) -> &mut Literal<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 70 | fn into_literal(self, bump: &Bump) -> &mut Literal<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 77 | fn into_literal(self, bump: &Bump) -> &mut Literal<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here the same lifetime is elided 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 literal(bump: &Bump, value: impl IntoLiteral) -> &mut Literal<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/main.rs:217:81 [INFO] [stdout] | [INFO] [stdout] 217 | fn var_def<'a>(bump: &'a Bump, name: String, rhs: impl IntoExpr<'a>) -> &'a mut VarStmt { [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] | [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] 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: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/main.rs:225:58 [INFO] [stdout] | [INFO] [stdout] 225 | fn var_decl<'a>(bump: &'a Bump, name: String) -> &'a mut VarStmt { [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] | [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] 225 | fn var_decl<'a>(bump: &'a Bump, name: String) -> &'a mut VarStmt<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/main.rs:235:14 [INFO] [stdout] | [INFO] [stdout] 231 | bump: &'a Bump, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 235 | ) -> &'a mut BinaryExpr { [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] 235 | ) -> &'a mut BinaryExpr<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/main.rs:246:16 [INFO] [stdout] | [INFO] [stdout] 246 | fn parse(bump: &Bump) -> SyntaxTree { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 246 | fn parse(bump: &Bump) -> SyntaxTree<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.33s [INFO] running `Command { std: "docker" "inspect" "153b59651ea6f096139109c95aebc9ad1f02d6bb0fbe685335ca8a75a544b1c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "153b59651ea6f096139109c95aebc9ad1f02d6bb0fbe685335ca8a75a544b1c3", kill_on_drop: false }` [INFO] [stdout] 153b59651ea6f096139109c95aebc9ad1f02d6bb0fbe685335ca8a75a544b1c3 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f593b4c8a8880358fedcf8c8cfa90e54d9d27e4233cb187333d9cd4c75173dc0 [INFO] running `Command { std: "docker" "start" "-a" "f593b4c8a8880358fedcf8c8cfa90e54d9d27e4233cb187333d9cd4c75173dc0", kill_on_drop: false }` [INFO] [stderr] warning: variants `Sub`, `Mul`, `Div`, and `Mod` are never constructed [INFO] [stderr] --> src/main.rs:52:5 [INFO] [stderr] | [INFO] [stderr] 50 | enum BinaryOperator { [INFO] [stderr] | -------------- variants in this enum [INFO] [stderr] 51 | Add, [INFO] [stderr] 52 | Sub, [INFO] [stderr] | ^^^ [INFO] [stderr] 53 | Mul, [INFO] [stderr] | ^^^ [INFO] [stderr] 54 | Div, [INFO] [stderr] | ^^^ [INFO] [stderr] 55 | Mod, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `BinaryOperator` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `bump` is never read [INFO] [stderr] --> src/main.rs:61:5 [INFO] [stderr] | [INFO] [stderr] 59 | struct SyntaxTree<'a> { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] 60 | root: Ast<'a>, [INFO] [stderr] 61 | bump: &'a Bump, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SyntaxTree` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `0`, `1`, and `2` are never read [INFO] [stderr] --> src/main.rs:307:9 [INFO] [stderr] | [INFO] [stderr] 307 | Add(u8, u8, u8), [INFO] [stderr] | --- ^^ ^^ ^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Op` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stderr] | [INFO] [stderr] 307 - Add(u8, u8, u8), [INFO] [stderr] 307 + Add((), (), ()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: fields `0` and `1` are never read [INFO] [stderr] --> src/main.rs:312:25 [INFO] [stderr] | [INFO] [stderr] 312 | LoadConstant_Number(u8, isize), [INFO] [stderr] | ------------------- ^^ ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Op` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stderr] | [INFO] [stderr] 312 - LoadConstant_Number(u8, isize), [INFO] [stderr] 312 + LoadConstant_Number((), ()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: fields `0` and `1` are never read [INFO] [stderr] --> src/main.rs:313:25 [INFO] [stderr] | [INFO] [stderr] 313 | LoadConstant_String(u8, String), [INFO] [stderr] | ------------------- ^^ ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Op` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stderr] | [INFO] [stderr] 313 - LoadConstant_String(u8, String), [INFO] [stderr] 313 + LoadConstant_String((), ()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/main.rs:315:15 [INFO] [stderr] | [INFO] [stderr] 315 | StoreZero(u8), [INFO] [stderr] | --------- ^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Op` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 315 - StoreZero(u8), [INFO] [stderr] 315 + StoreZero(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/main.rs:65:33 [INFO] [stderr] | [INFO] [stderr] 65 | fn into_literal(self, bump: &Bump) -> &mut Literal; [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] | | | | [INFO] [stderr] | | | the same lifetime is hidden here [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 65 | fn into_literal(self, bump: &Bump) -> &mut Literal<'_>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/main.rs:70:33 [INFO] [stderr] | [INFO] [stderr] 70 | fn into_literal(self, bump: &Bump) -> &mut Literal { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] | | | | [INFO] [stderr] | | | the same lifetime is hidden here [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 70 | fn into_literal(self, bump: &Bump) -> &mut Literal<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/main.rs:77:33 [INFO] [stderr] | [INFO] [stderr] 77 | fn into_literal(self, bump: &Bump) -> &mut Literal { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] | | | | [INFO] [stderr] | | | the same lifetime is hidden here [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 77 | fn into_literal(self, bump: &Bump) -> &mut Literal<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/main.rs:206:18 [INFO] [stderr] | [INFO] [stderr] 206 | fn literal(bump: &Bump, value: impl IntoLiteral) -> &mut Literal { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] | | | | [INFO] [stderr] | | | the same lifetime is hidden here [INFO] [stderr] | the lifetime is elided here the same lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 206 | fn literal(bump: &Bump, value: impl IntoLiteral) -> &mut Literal<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/main.rs:217:81 [INFO] [stderr] | [INFO] [stderr] 217 | fn var_def<'a>(bump: &'a Bump, name: String, rhs: impl IntoExpr<'a>) -> &'a mut VarStmt { [INFO] [stderr] | -- -- ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | the lifetime is named here the same lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 217 | fn var_def<'a>(bump: &'a Bump, name: String, rhs: impl IntoExpr<'a>) -> &'a mut VarStmt<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/main.rs:225:58 [INFO] [stderr] | [INFO] [stderr] 225 | fn var_decl<'a>(bump: &'a Bump, name: String) -> &'a mut VarStmt { [INFO] [stderr] | -- -- ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is named here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 225 | fn var_decl<'a>(bump: &'a Bump, name: String) -> &'a mut VarStmt<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/main.rs:235:14 [INFO] [stderr] | [INFO] [stderr] 231 | bump: &'a Bump, [INFO] [stderr] | -- the lifetime is named here [INFO] [stderr] ... [INFO] [stderr] 235 | ) -> &'a mut BinaryExpr { [INFO] [stderr] | -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the same lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 235 | ) -> &'a mut BinaryExpr<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/main.rs:246:16 [INFO] [stderr] | [INFO] [stderr] 246 | fn parse(bump: &Bump) -> SyntaxTree { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 246 | fn parse(bump: &Bump) -> SyntaxTree<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `grok-bump` (bin "grok-bump" test) generated 14 warnings (run `cargo fix --bin "grok-bump" --tests` to apply 8 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/grok_bump-abc4b263cbf1e97f) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f593b4c8a8880358fedcf8c8cfa90e54d9d27e4233cb187333d9cd4c75173dc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f593b4c8a8880358fedcf8c8cfa90e54d9d27e4233cb187333d9cd4c75173dc0", kill_on_drop: false }` [INFO] [stdout] f593b4c8a8880358fedcf8c8cfa90e54d9d27e4233cb187333d9cd4c75173dc0