[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#b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18 for pr-79470 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fefharkin%2Funlucky" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/efharkin/unlucky on toolchain b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "read-manifest" "--manifest-path" "Cargo.toml", 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-9/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" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f5f2a31b62a815286ec5482d5e50c52129d5f53f4933917d7867cb53b8882ec2 [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" "f5f2a31b62a815286ec5482d5e50c52129d5f53f4933917d7867cb53b8882ec2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f5f2a31b62a815286ec5482d5e50c52129d5f53f4933917d7867cb53b8882ec2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5f2a31b62a815286ec5482d5e50c52129d5f53f4933917d7867cb53b8882ec2", kill_on_drop: false }` [INFO] [stdout] f5f2a31b62a815286ec5482d5e50c52129d5f53f4933917d7867cb53b8882ec2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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] 1b42a2ca247b11d35346c90f57435df94d90fcd906fa6d64ba42c3a0d244c25c [INFO] running `Command { std: "docker" "start" "-a" "1b42a2ca247b11d35346c90f57435df94d90fcd906fa6d64ba42c3a0d244c25c", 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: 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] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.45s [INFO] running `Command { std: "docker" "inspect" "1b42a2ca247b11d35346c90f57435df94d90fcd906fa6d64ba42c3a0d244c25c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b42a2ca247b11d35346c90f57435df94d90fcd906fa6d64ba42c3a0d244c25c", kill_on_drop: false }` [INFO] [stdout] 1b42a2ca247b11d35346c90f57435df94d90fcd906fa6d64ba42c3a0d244c25c