[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/10c2047e448b3ce58816791d2f8537ea8a156501 against master#f2abf827c128120ed7a874d02973947968c158b8 for pr-132268 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbinaryoverload%2FDiceRollParser-Rust" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/binaryoverload/DiceRollParser-Rust on toolchain f2abf827c128120ed7a874d02973947968c158b8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f2abf827c128120ed7a874d02973947968c158b8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-3-tc1/source/Cargo.toml [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" "+f2abf827c128120ed7a874d02973947968c158b8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+f2abf827c128120ed7a874d02973947968c158b8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fad7f728e65cc73c286a26fa5f2ddd0aaa30b98e6b27f17f7525e6752bee337c [INFO] running `Command { std: "docker" "start" "-a" "fad7f728e65cc73c286a26fa5f2ddd0aaa30b98e6b27f17f7525e6752bee337c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fad7f728e65cc73c286a26fa5f2ddd0aaa30b98e6b27f17f7525e6752bee337c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fad7f728e65cc73c286a26fa5f2ddd0aaa30b98e6b27f17f7525e6752bee337c", kill_on_drop: false }` [INFO] [stdout] fad7f728e65cc73c286a26fa5f2ddd0aaa30b98e6b27f17f7525e6752bee337c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+f2abf827c128120ed7a874d02973947968c158b8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9cbb9d64e1f23a7e7b95f0dbea182354fbf473b94007f0a3c11e784c5a85675e [INFO] running `Command { std: "docker" "start" "-a" "9cbb9d64e1f23a7e7b95f0dbea182354fbf473b94007f0a3c11e784c5a85675e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.99 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [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 regex v1.5.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)]` on by default [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)]` 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 `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 `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: 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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.65s [INFO] running `Command { std: "docker" "inspect" "9cbb9d64e1f23a7e7b95f0dbea182354fbf473b94007f0a3c11e784c5a85675e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cbb9d64e1f23a7e7b95f0dbea182354fbf473b94007f0a3c11e784c5a85675e", kill_on_drop: false }` [INFO] [stdout] 9cbb9d64e1f23a7e7b95f0dbea182354fbf473b94007f0a3c11e784c5a85675e