[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] 0f438b71fdf3e195d98fd5ee11c8e7aec232279b [INFO] checking efharkin/unlucky against try#5d9095c550fcec9e458ce8d6b0c04a217641db66 for pr-77153 [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 5d9095c550fcec9e458ce8d6b0c04a217641db66 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d9095c550fcec9e458ce8d6b0c04a217641db66" "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" "+5d9095c550fcec9e458ce8d6b0c04a217641db66" "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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+5d9095c550fcec9e458ce8d6b0c04a217641db66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 43d32551c5ecc31b2f8796ed31c359bb7f4367583e5a723a43aca1868b85f2ac [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" "43d32551c5ecc31b2f8796ed31c359bb7f4367583e5a723a43aca1868b85f2ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "43d32551c5ecc31b2f8796ed31c359bb7f4367583e5a723a43aca1868b85f2ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43d32551c5ecc31b2f8796ed31c359bb7f4367583e5a723a43aca1868b85f2ac", kill_on_drop: false }` [INFO] [stdout] 43d32551c5ecc31b2f8796ed31c359bb7f4367583e5a723a43aca1868b85f2ac [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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+5d9095c550fcec9e458ce8d6b0c04a217641db66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6586305d20eb2ed4a34cf63c93d137cce6f525c85663ea0f81f0197ed780a031 [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" "6586305d20eb2ed4a34cf63c93d137cce6f525c85663ea0f81f0197ed780a031", 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: static is never used: `ROLL_DEFAULT_CAPACITY` [INFO] [stdout] --> src/dice.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | 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:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | 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:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | 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:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | 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:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn total_num_sides(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 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:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | 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:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | 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:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | 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:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | 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:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | 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 8.57s [INFO] running `Command { std: "docker" "inspect" "6586305d20eb2ed4a34cf63c93d137cce6f525c85663ea0f81f0197ed780a031", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6586305d20eb2ed4a34cf63c93d137cce6f525c85663ea0f81f0197ed780a031", kill_on_drop: false }` [INFO] [stdout] 6586305d20eb2ed4a34cf63c93d137cce6f525c85663ea0f81f0197ed780a031