[INFO] cloning repository https://github.com/RobJenks/google-code-jam [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RobJenks/google-code-jam" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRobJenks%2Fgoogle-code-jam", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRobJenks%2Fgoogle-code-jam'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 53f48f7e42d0a913e0b67328936085f018ebbba7 [INFO] checking RobJenks/google-code-jam/53f48f7e42d0a913e0b67328936085f018ebbba7 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRobJenks%2Fgoogle-code-jam" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/RobJenks/google-code-jam on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/RobJenks/google-code-jam [INFO] finished tweaking git repo https://github.com/RobJenks/google-code-jam [INFO] tweaked toml for git repo https://github.com/RobJenks/google-code-jam written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/RobJenks/google-code-jam already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] baa65277210b856a4e0fefc88a1e39bd69e6334e0d2296dc11372cd60e0d4bcb [INFO] running `Command { std: "docker" "start" "-a" "baa65277210b856a4e0fefc88a1e39bd69e6334e0d2296dc11372cd60e0d4bcb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "baa65277210b856a4e0fefc88a1e39bd69e6334e0d2296dc11372cd60e0d4bcb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "baa65277210b856a4e0fefc88a1e39bd69e6334e0d2296dc11372cd60e0d4bcb", kill_on_drop: false }` [INFO] [stdout] baa65277210b856a4e0fefc88a1e39bd69e6334e0d2296dc11372cd60e0d4bcb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "RUSTDOCFLAGS=--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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 06ce7055f37677062e123978a118bf3b971a0c22f276511a5a53509d4e031074 [INFO] running `Command { std: "docker" "start" "-a" "06ce7055f37677062e123978a118bf3b971a0c22f276511a5a53509d4e031074", kill_on_drop: false }` [INFO] [stderr] Checking google-code-jam v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `FromStr` [INFO] [stdout] --> src/codejam_2018/../util/mod.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::str::{FromStr}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std` [INFO] [stdout] --> src/codejam_2018/round_1a_1.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FromStr` [INFO] [stdout] --> src/codejam_2018/../util/mod.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::str::{FromStr}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Grid` [INFO] [stdout] --> src/codejam_2018/qualifier_3.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | use super::{Grid, determine_best_size, build_grid}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std` [INFO] [stdout] --> src/codejam_2018/round_1a_1.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Grid` [INFO] [stdout] --> src/codejam_2018/round_1a_1.rs:129:30 [INFO] [stdout] | [INFO] [stdout] 129 | use super::{util::Input, Grid, load_grid, get_distribution }; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `while let` pattern [INFO] [stdout] --> src/codejam_2018/qualifier_3.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | while let next = best_cell(&grid, &size) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the loop will never exit [INFO] [stdout] = help: consider instead using a `loop { ... }` with a `let` inside it [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `while let` pattern [INFO] [stdout] --> src/codejam_2018/qualifier_3.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | while let next = best_cell(&grid, &size) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the loop will never exit [INFO] [stdout] = help: consider instead using a `loop { ... }` with a `let` inside it [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_lines` is never used [INFO] [stdout] --> src/codejam_2018/../util/mod.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn get_lines(input: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_file` is never used [INFO] [stdout] --> src/codejam_2018/../util/mod.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn read_file(path : &str) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_file_lines` is never used [INFO] [stdout] --> src/codejam_2018/../util/mod.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn read_file_lines(path: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `create`, `get_line`, `get_line_as`, `get_line_components`, `get_line_components_as`, and `create_for_string` are never used [INFO] [stdout] --> src/codejam_2018/../util/mod.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl Input { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 51 | pub fn create(pre_load: bool, data_path: &str) -> Input { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn get_line(&mut self) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn get_line_as(&mut self) -> T [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn get_line_components(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn get_line_components_as(&mut self) -> Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn create_for_string(data: &str) -> Input { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `stdin_all` is never used [INFO] [stdout] --> src/codejam_2018/../util/mod.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn stdin_all() -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `get_line_components` and `create_for_string` are never used [INFO] [stdout] --> src/codejam_2018/../util/mod.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl Input { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn get_line_components(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn create_for_string(data: &str) -> Input { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_lines` is never used [INFO] [stdout] --> src/codejam_2018/../util/mod.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn get_lines(input: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_file` is never used [INFO] [stdout] --> src/codejam_2018/../util/mod.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn read_file(path : &str) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_file_lines` is never used [INFO] [stdout] --> src/codejam_2018/../util/mod.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn read_file_lines(path: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `create`, `get_line`, `get_line_as`, `get_line_components`, `get_line_components_as`, and `create_for_string` are never used [INFO] [stdout] --> src/codejam_2018/../util/mod.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl Input { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 51 | pub fn create(pre_load: bool, data_path: &str) -> Input { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn get_line(&mut self) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn get_line_as(&mut self) -> T [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn get_line_components(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn get_line_components_as(&mut self) -> Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn create_for_string(data: &str) -> Input { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `stdin_all` is never used [INFO] [stdout] --> src/codejam_2018/../util/mod.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn stdin_all() -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_line_components` is never used [INFO] [stdout] --> src/codejam_2018/../util/mod.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl Input { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn get_line_components(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] running `Command { std: "docker" "inspect" "06ce7055f37677062e123978a118bf3b971a0c22f276511a5a53509d4e031074", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06ce7055f37677062e123978a118bf3b971a0c22f276511a5a53509d4e031074", kill_on_drop: false }` [INFO] [stdout] 06ce7055f37677062e123978a118bf3b971a0c22f276511a5a53509d4e031074