[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#7dc9ff5c629753b6930ecfe9a0446538b8e25fb7 for pr-85387 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fefharkin%2Funlucky" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/efharkin/unlucky on toolchain 7dc9ff5c629753b6930ecfe9a0446538b8e25fb7 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "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-0/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" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] db55e2adf4870bf7b7143eebfa0648f68fff468ad66d6b8632892b50048546d7 [INFO] running `Command { std: "docker" "start" "-a" "db55e2adf4870bf7b7143eebfa0648f68fff468ad66d6b8632892b50048546d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db55e2adf4870bf7b7143eebfa0648f68fff468ad66d6b8632892b50048546d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db55e2adf4870bf7b7143eebfa0648f68fff468ad66d6b8632892b50048546d7", kill_on_drop: false }` [INFO] [stdout] db55e2adf4870bf7b7143eebfa0648f68fff468ad66d6b8632892b50048546d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b1c329e7a4e180c2096b185313c0370344dad90b11b10ac3c45ce122c0fc7e85 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b1c329e7a4e180c2096b185313c0370344dad90b11b10ac3c45ce122c0fc7e85", kill_on_drop: false }` [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: 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: 9 warnings emitted [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] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.46s [INFO] running `Command { std: "docker" "inspect" "b1c329e7a4e180c2096b185313c0370344dad90b11b10ac3c45ce122c0fc7e85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1c329e7a4e180c2096b185313c0370344dad90b11b10ac3c45ce122c0fc7e85", kill_on_drop: false }` [INFO] [stdout] b1c329e7a4e180c2096b185313c0370344dad90b11b10ac3c45ce122c0fc7e85