[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 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRobJenks%2Fgoogle-code-jam" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/RobJenks/google-code-jam on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-11/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: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d2a4ecd48a004363d85d99302ba14016e8206286cdbaac69827727d9abe5d5ec [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" "d2a4ecd48a004363d85d99302ba14016e8206286cdbaac69827727d9abe5d5ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d2a4ecd48a004363d85d99302ba14016e8206286cdbaac69827727d9abe5d5ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2a4ecd48a004363d85d99302ba14016e8206286cdbaac69827727d9abe5d5ec", kill_on_drop: false }` [INFO] [stdout] d2a4ecd48a004363d85d99302ba14016e8206286cdbaac69827727d9abe5d5ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c32df6a1c79e2f6bd498882a4c87ebc88e5df023f5255083ce902c88cee67c1 [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" "6c32df6a1c79e2f6bd498882a4c87ebc88e5df023f5255083ce902c88cee67c1", 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: `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] [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: `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] [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:5 [INFO] [stdout] | [INFO] [stdout] 18 | / while let next = best_cell(&grid, &size) { [INFO] [stdout] 19 | | println!("{} {}", next.0, next.1); [INFO] [stdout] 20 | | [INFO] [stdout] 21 | | let response = util::stdin_get() [INFO] [stdout] ... | [INFO] [stdout] 29 | | grid[(response[1] - 1) as usize][(response[0] - 1) as usize] = true; [INFO] [stdout] 30 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [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] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `while let` pattern [INFO] [stdout] --> src/codejam_2018/qualifier_3.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / while let next = best_cell(&grid, &size) { [INFO] [stdout] 19 | | println!("{} {}", next.0, next.1); [INFO] [stdout] 20 | | [INFO] [stdout] 21 | | let response = util::stdin_get() [INFO] [stdout] ... | [INFO] [stdout] 29 | | grid[(response[1] - 1) as usize][(response[0] - 1) as usize] = true; [INFO] [stdout] 30 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [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] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_lines` [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 is never used: `read_file` [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 is never used: `read_file_lines` [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 function is never used: `create` [INFO] [stdout] --> src/codejam_2018/../util/mod.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn create(pre_load: bool, data_path: &str) -> Input { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_line` [INFO] [stdout] --> src/codejam_2018/../util/mod.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn get_line(&mut self) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_line_as` [INFO] [stdout] --> src/codejam_2018/../util/mod.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn get_line_as(&mut self) -> T [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_line_components` [INFO] [stdout] --> src/codejam_2018/../util/mod.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn get_line_components(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_line_components_as` [INFO] [stdout] --> src/codejam_2018/../util/mod.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn get_line_components_as(&mut self) -> Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create_for_string` [INFO] [stdout] --> src/codejam_2018/../util/mod.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn create_for_string(data: &str) -> Input { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_lines` [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] [INFO] [stdout] warning: function is never used: `stdin_all` [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: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_lines` [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 is never used: `read_file` [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 is never used: `read_file_lines` [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 function is never used: `create` [INFO] [stdout] --> src/codejam_2018/../util/mod.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn create(pre_load: bool, data_path: &str) -> Input { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_line` [INFO] [stdout] --> src/codejam_2018/../util/mod.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn get_line(&mut self) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_line_as` [INFO] [stdout] --> src/codejam_2018/../util/mod.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn get_line_as(&mut self) -> T [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_line_components` [INFO] [stdout] --> src/codejam_2018/../util/mod.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn get_line_components(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_line_components_as` [INFO] [stdout] --> src/codejam_2018/../util/mod.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn get_line_components_as(&mut self) -> Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create_for_string` [INFO] [stdout] --> src/codejam_2018/../util/mod.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn create_for_string(data: &str) -> Input { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_lines` [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] [INFO] [stdout] warning: function is never used: `stdin_all` [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: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.82s [INFO] running `Command { std: "docker" "inspect" "6c32df6a1c79e2f6bd498882a4c87ebc88e5df023f5255083ce902c88cee67c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c32df6a1c79e2f6bd498882a4c87ebc88e5df023f5255083ce902c88cee67c1", kill_on_drop: false }` [INFO] [stdout] 6c32df6a1c79e2f6bd498882a4c87ebc88e5df023f5255083ce902c88cee67c1