[INFO] cloning repository https://github.com/Narigo/aocrs20 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Narigo/aocrs20" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNarigo%2Faocrs20", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNarigo%2Faocrs20'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b29de7c31bb99a8b5d156fd7fddc28eeb7864e8a [INFO] checking Narigo/aocrs20 against master#39b841dfe36f90a7cd111e7f0c55f32594f6e578 for pr-77035 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNarigo%2Faocrs20" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Narigo/aocrs20 on toolchain 39b841dfe36f90a7cd111e7f0c55f32594f6e578 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39b841dfe36f90a7cd111e7f0c55f32594f6e578" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Narigo/aocrs20 [INFO] finished tweaking git repo https://github.com/Narigo/aocrs20 [INFO] tweaked toml for git repo https://github.com/Narigo/aocrs20 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/Narigo/aocrs20 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39b841dfe36f90a7cd111e7f0c55f32594f6e578" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+39b841dfe36f90a7cd111e7f0c55f32594f6e578" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 43c232bc63c1ecdad96390a5ad015f0283a313be1a93e8f2e897bd0165fc891b [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" "43c232bc63c1ecdad96390a5ad015f0283a313be1a93e8f2e897bd0165fc891b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "43c232bc63c1ecdad96390a5ad015f0283a313be1a93e8f2e897bd0165fc891b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43c232bc63c1ecdad96390a5ad015f0283a313be1a93e8f2e897bd0165fc891b", kill_on_drop: false }` [INFO] [stdout] 43c232bc63c1ecdad96390a5ad015f0283a313be1a93e8f2e897bd0165fc891b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+39b841dfe36f90a7cd111e7f0c55f32594f6e578" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] df1dbdb77aaa9fe15ca208d295e137a2546f570daab47e1b8d058138d81d3ad1 [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" "df1dbdb77aaa9fe15ca208d295e137a2546f570daab47e1b8d058138d81d3ad1", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking app v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function is never used: `check_expense_report_a` [INFO] [stdout] --> src/day_01/mod.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn check_expense_report_a(report: String) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `check_expense_report_b` [INFO] [stdout] --> src/day_01/mod.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn check_expense_report_b(report: String) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `check_password_policy` [INFO] [stdout] --> src/day_02/mod.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn check_password_policy(file: &str, is_valid_fn: &dyn Fn(&str) -> bool) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_valid_password_with_policy_of_old_shop` [INFO] [stdout] --> src/day_02/mod.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn is_valid_password_with_policy_of_old_shop(line: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_valid_password_with_policy_of_new_shop` [INFO] [stdout] --> src/day_02/mod.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn is_valid_password_with_policy_of_new_shop(line: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `generate_field` [INFO] [stdout] --> src/day_03/mod.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn generate_field(file: &str) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_amount_of_trees_in_slope` [INFO] [stdout] --> src/day_03/mod.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn get_amount_of_trees_in_slope(field: &Vec>, right: usize, down: usize) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `check_amount_of_trees_a` [INFO] [stdout] --> src/day_03/mod.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn check_amount_of_trees_a(file: &str) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `check_amount_of_trees_b` [INFO] [stdout] --> src/day_03/mod.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn check_amount_of_trees_b(file: &str) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `split_into_maybe_passports` [INFO] [stdout] --> src/day_04/mod.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn split_into_maybe_passports(file: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_passport` [INFO] [stdout] --> src/day_04/mod.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn to_passport(passport: &MaybePassport) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_valid_cm_hgt` [INFO] [stdout] --> src/day_04/mod.rs:153:4 [INFO] [stdout] | [INFO] [stdout] 153 | fn is_valid_cm_hgt(hgt: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_valid_in_hgt` [INFO] [stdout] --> src/day_04/mod.rs:157:4 [INFO] [stdout] | [INFO] [stdout] 157 | fn is_valid_in_hgt(hgt: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_valid_hgt` [INFO] [stdout] --> src/day_04/mod.rs:161:4 [INFO] [stdout] | [INFO] [stdout] 161 | fn is_valid_hgt(hgt: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_valid_hcl` [INFO] [stdout] --> src/day_04/mod.rs:197:4 [INFO] [stdout] | [INFO] [stdout] 197 | fn is_valid_hcl(hcl: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_valid_ecl` [INFO] [stdout] --> src/day_04/mod.rs:206:4 [INFO] [stdout] | [INFO] [stdout] 206 | fn is_valid_ecl(ecl: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_valid_pid` [INFO] [stdout] --> src/day_04/mod.rs:215:4 [INFO] [stdout] | [INFO] [stdout] 215 | fn is_valid_pid(pid: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_valid_passport` [INFO] [stdout] --> src/day_04/mod.rs:224:4 [INFO] [stdout] | [INFO] [stdout] 224 | fn to_valid_passport(passport: &MaybePassport) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Seat` [INFO] [stdout] --> src/day_05/mod.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Seat { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_seat` [INFO] [stdout] --> src/day_05/mod.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn get_seat(input: &str) -> Seat { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `free_seat` [INFO] [stdout] --> src/day_05/mod.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn free_seat(mut seat_ids: Vec) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_file` [INFO] [stdout] --> src/util/mod.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn read_file(filename: &str) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.79s [INFO] running `Command { std: "docker" "inspect" "df1dbdb77aaa9fe15ca208d295e137a2546f570daab47e1b8d058138d81d3ad1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df1dbdb77aaa9fe15ca208d295e137a2546f570daab47e1b8d058138d81d3ad1", kill_on_drop: false }` [INFO] [stdout] df1dbdb77aaa9fe15ca208d295e137a2546f570daab47e1b8d058138d81d3ad1