[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 beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fefharkin%2Funlucky" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/efharkin/unlucky on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "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-13/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" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2220ba0c04acb85b4d381c87ebce15c56a205ad29a011978fb79d473b3d1bd79 [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" "2220ba0c04acb85b4d381c87ebce15c56a205ad29a011978fb79d473b3d1bd79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2220ba0c04acb85b4d381c87ebce15c56a205ad29a011978fb79d473b3d1bd79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2220ba0c04acb85b4d381c87ebce15c56a205ad29a011978fb79d473b3d1bd79", kill_on_drop: false }` [INFO] [stdout] 2220ba0c04acb85b4d381c87ebce15c56a205ad29a011978fb79d473b3d1bd79 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc2c54b0c296e4f77362ee29311edc943da8cacd230188186ca64c2eb3054760 [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" "dc2c54b0c296e4f77362ee29311edc943da8cacd230188186ca64c2eb3054760", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-bigint v0.3.0 [INFO] [stderr] Checking num-integer v0.1.43 [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.63s [INFO] running `Command { std: "docker" "inspect" "dc2c54b0c296e4f77362ee29311edc943da8cacd230188186ca64c2eb3054760", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc2c54b0c296e4f77362ee29311edc943da8cacd230188186ca64c2eb3054760", kill_on_drop: false }` [INFO] [stdout] dc2c54b0c296e4f77362ee29311edc943da8cacd230188186ca64c2eb3054760