[INFO] cloning repository https://github.com/efharkin/unlucky [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/efharkin/unlucky" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fefharkin%2Funlucky", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fefharkin%2Funlucky'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] df66f0c84df3a186705145fe7c1eaf6802de7033 [INFO] checking efharkin/unlucky against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fefharkin%2Funlucky" "/workspace/builds/worker-47/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-47/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/efharkin/unlucky on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/efharkin/unlucky [INFO] finished tweaking git repo https://github.com/efharkin/unlucky [INFO] tweaked toml for git repo https://github.com/efharkin/unlucky written to /workspace/builds/worker-47/source/Cargo.toml [INFO] crate git repo https://github.com/efharkin/unlucky already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-47/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-47/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bcd92ad56cb6c8e94e261c746efc5fb5a15830c91002ad492b516cd5931a4128 [INFO] running `Command { std: "docker" "start" "-a" "bcd92ad56cb6c8e94e261c746efc5fb5a15830c91002ad492b516cd5931a4128", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bcd92ad56cb6c8e94e261c746efc5fb5a15830c91002ad492b516cd5931a4128", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bcd92ad56cb6c8e94e261c746efc5fb5a15830c91002ad492b516cd5931a4128", kill_on_drop: false }` [INFO] [stdout] bcd92ad56cb6c8e94e261c746efc5fb5a15830c91002ad492b516cd5931a4128 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-47/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-47/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4d5a887754827a080c26fabdbc1a2242f2d21f4e76440356b922f38450958bea [INFO] running `Command { std: "docker" "start" "-a" "4d5a887754827a080c26fabdbc1a2242f2d21f4e76440356b922f38450958bea", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-bigint v0.3.0 [INFO] [stderr] Checking how-bad-was-my-roll v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `roll_string` [INFO] [stdout] --> src/dice.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn parse_roll_string(roll_string: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_roll_string` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_roll_string` [INFO] [stdout] --> src/dice.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn parse_roll_string(roll_string: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `strip_roll_prefix` [INFO] [stdout] --> src/dice.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn strip_roll_prefix<'s>(string: &'s str) -> &'s str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `split_off_first_roll_item` [INFO] [stdout] --> src/dice.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn split_off_first_roll_item<'s>(roll_string: &'s str) -> (&'s str, &'s str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `ROLL_DEFAULT_CAPACITY` [INFO] [stdout] --> src/dice.rs:126:1 [INFO] [stdout] | [INFO] [stdout] 126 | static ROLL_DEFAULT_CAPACITY: usize = 8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/dice.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_d` [INFO] [stdout] --> src/dice.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn add_d(&mut self, num_dice: u32, num_sides: u32) -> &mut Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_modifier` [INFO] [stdout] --> src/dice.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn add_modifier(&mut self, modifier: i32) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `total_num_sides` [INFO] [stdout] --> src/dice.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn total_num_sides(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `roll_string` [INFO] [stdout] --> src/dice.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn parse_roll_string(roll_string: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_roll_string` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `ROLL_DEFAULT_CAPACITY` [INFO] [stdout] --> src/dice.rs:126:1 [INFO] [stdout] | [INFO] [stdout] 126 | static ROLL_DEFAULT_CAPACITY: usize = 8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/dice.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_d` [INFO] [stdout] --> src/dice.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn add_d(&mut self, num_dice: u32, num_sides: u32) -> &mut Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_modifier` [INFO] [stdout] --> src/dice.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn add_modifier(&mut self, modifier: i32) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `total_num_sides` [INFO] [stdout] --> src/dice.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn total_num_sides(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.86s [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4d5a887754827a080c26fabdbc1a2242f2d21f4e76440356b922f38450958bea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d5a887754827a080c26fabdbc1a2242f2d21f4e76440356b922f38450958bea", kill_on_drop: false }` [INFO] [stdout] 4d5a887754827a080c26fabdbc1a2242f2d21f4e76440356b922f38450958bea