[INFO] cloning repository https://github.com/binaryoverload/DiceRollParser-Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/binaryoverload/DiceRollParser-Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbinaryoverload%2FDiceRollParser-Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbinaryoverload%2FDiceRollParser-Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 10c2047e448b3ce58816791d2f8537ea8a156501 [INFO] checking binaryoverload/DiceRollParser-Rust against try#b1f2594eac607c1f051534800237eeedb5590a49 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbinaryoverload%2FDiceRollParser-Rust" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/binaryoverload/DiceRollParser-Rust [INFO] finished tweaking git repo https://github.com/binaryoverload/DiceRollParser-Rust [INFO] tweaked toml for git repo https://github.com/binaryoverload/DiceRollParser-Rust written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/binaryoverload/DiceRollParser-Rust on toolchain b1f2594eac607c1f051534800237eeedb5590a49 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/binaryoverload/DiceRollParser-Rust 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" "+b1f2594eac607c1f051534800237eeedb5590a49" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e7582fe3ceaa030c3b17a5efa95898d817f83e242a44c016238a640d2fff7e4f [INFO] running `Command { std: "docker" "start" "-a" "e7582fe3ceaa030c3b17a5efa95898d817f83e242a44c016238a640d2fff7e4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e7582fe3ceaa030c3b17a5efa95898d817f83e242a44c016238a640d2fff7e4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7582fe3ceaa030c3b17a5efa95898d817f83e242a44c016238a640d2fff7e4f", kill_on_drop: false }` [INFO] [stdout] e7582fe3ceaa030c3b17a5efa95898d817f83e242a44c016238a640d2fff7e4f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 606ea2dff168c6c2b2303eb1137fcec31791a3dace3f815cbb0c87f9f963cfbb [INFO] running `Command { std: "docker" "start" "-a" "606ea2dff168c6c2b2303eb1137fcec31791a3dace3f815cbb0c87f9f963cfbb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.99 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking dicerollparser_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `number_of_dice` and `number_of_sides` are never read [INFO] [stdout] --> src/types.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 2 | pub(crate) struct Dice { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 3 | pub(crate) number_of_dice: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 4 | pub(crate) number_of_sides: u8 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Dice` 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: fields `operator` and `value` are never read [INFO] [stdout] --> src/types.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) struct ValueOperator { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 9 | pub(crate) operator: OperatorType, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | pub(crate) value: u8 [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ValueOperator` 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 `modifier_type`, `modifier_value`, and `selector` are never read [INFO] [stdout] --> src/types.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 42 | pub(crate) struct Modifier { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 43 | pub(crate) modifier_type: ModifierType, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 44 | pub(crate) modifier_value: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 45 | pub(crate) selector: Option<(SelectorType, u8)> [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Modifier` 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 `dice`, `modifiers`, `value_operators`, `label`, and `joining_operator` are never read [INFO] [stdout] --> src/types.rs:50:16 [INFO] [stdout] | [INFO] [stdout] 49 | pub(crate) struct DiceRoll<'a> { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 50 | pub(crate) dice: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 51 | pub(crate) modifiers: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 52 | pub(crate) value_operators: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 53 | pub(crate) label: Option<&'a str>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 54 | pub(crate) joining_operator: Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DiceRoll` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `calculate_dice` is never used [INFO] [stdout] --> src/impls.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 51 | impl DiceRoll<'_> { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 52 | [INFO] [stdout] 53 | fn calculate_dice(dice: &Dice) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) fn parse(input: &str) -> Vec { [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] 6 | pub(crate) fn parse(input: &str) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `number_of_dice` and `number_of_sides` are never read [INFO] [stdout] --> src/types.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 2 | pub(crate) struct Dice { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 3 | pub(crate) number_of_dice: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 4 | pub(crate) number_of_sides: u8 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Dice` 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: fields `operator` and `value` are never read [INFO] [stdout] --> src/types.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) struct ValueOperator { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 9 | pub(crate) operator: OperatorType, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | pub(crate) value: u8 [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ValueOperator` 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 `modifier_type`, `modifier_value`, and `selector` are never read [INFO] [stdout] --> src/types.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 42 | pub(crate) struct Modifier { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 43 | pub(crate) modifier_type: ModifierType, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 44 | pub(crate) modifier_value: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 45 | pub(crate) selector: Option<(SelectorType, u8)> [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Modifier` 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 `dice`, `modifiers`, `value_operators`, `label`, and `joining_operator` are never read [INFO] [stdout] --> src/types.rs:50:16 [INFO] [stdout] | [INFO] [stdout] 49 | pub(crate) struct DiceRoll<'a> { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 50 | pub(crate) dice: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 51 | pub(crate) modifiers: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 52 | pub(crate) value_operators: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 53 | pub(crate) label: Option<&'a str>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 54 | pub(crate) joining_operator: Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DiceRoll` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `calculate_dice` is never used [INFO] [stdout] --> src/impls.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 51 | impl DiceRoll<'_> { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 52 | [INFO] [stdout] 53 | fn calculate_dice(dice: &Dice) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) fn parse(input: &str) -> Vec { [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] 6 | pub(crate) fn parse(input: &str) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.65s [INFO] running `Command { std: "docker" "inspect" "606ea2dff168c6c2b2303eb1137fcec31791a3dace3f815cbb0c87f9f963cfbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "606ea2dff168c6c2b2303eb1137fcec31791a3dace3f815cbb0c87f9f963cfbb", kill_on_drop: false }` [INFO] [stdout] 606ea2dff168c6c2b2303eb1137fcec31791a3dace3f815cbb0c87f9f963cfbb