[INFO] cloning repository https://github.com/sebastianschroh/adventofcode2020 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sebastianschroh/adventofcode2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsebastianschroh%2Fadventofcode2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsebastianschroh%2Fadventofcode2020'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsebastianschroh%2Fadventofcode2020: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/sebastianschroh/adventofcode2020 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sebastianschroh/adventofcode2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsebastianschroh%2Fadventofcode2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsebastianschroh%2Fadventofcode2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a16ce640918294bbb841fb819956d48f9e7481cf [INFO] checking sebastianschroh/adventofcode2020 against try#15e8bc6907ab2b3623cb52acc726f4787458df64 for pr-141352 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsebastianschroh%2Fadventofcode2020" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sebastianschroh/adventofcode2020 on toolchain 15e8bc6907ab2b3623cb52acc726f4787458df64 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+15e8bc6907ab2b3623cb52acc726f4787458df64" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sebastianschroh/adventofcode2020 [INFO] finished tweaking git repo https://github.com/sebastianschroh/adventofcode2020 [INFO] tweaked toml for git repo https://github.com/sebastianschroh/adventofcode2020 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/sebastianschroh/adventofcode2020 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" "+15e8bc6907ab2b3623cb52acc726f4787458df64" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+15e8bc6907ab2b3623cb52acc726f4787458df64" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a0d7aab864da6ccfc1afe0dc93949e74752cb4ffae99742750fc556c5f1a5bf2 [INFO] running `Command { std: "docker" "start" "-a" "a0d7aab864da6ccfc1afe0dc93949e74752cb4ffae99742750fc556c5f1a5bf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a0d7aab864da6ccfc1afe0dc93949e74752cb4ffae99742750fc556c5f1a5bf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0d7aab864da6ccfc1afe0dc93949e74752cb4ffae99742750fc556c5f1a5bf2", kill_on_drop: false }` [INFO] [stdout] a0d7aab864da6ccfc1afe0dc93949e74752cb4ffae99742750fc556c5f1a5bf2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+15e8bc6907ab2b3623cb52acc726f4787458df64" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9900c7487f1ccde277c16032500a857d720518dbb9042d2fe66cbf5517d58fda [INFO] running `Command { std: "docker" "start" "-a" "9900c7487f1ccde277c16032500a857d720518dbb9042d2fe66cbf5517d58fda", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling serde v1.0.122 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling named_tuple v0.1.3 [INFO] [stderr] Checking advent2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `maplength` [INFO] [stdout] --> src/day6.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | let maplength = map.len() as i32; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_maplength` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/day6.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 50 | for (key, value) in map { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_sum_of_answers_anyone` is never used [INFO] [stdout] --> src/day6.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn find_sum_of_answers_anyone(group: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `maplength` [INFO] [stdout] --> src/day6.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | let maplength = map.len() as i32; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_maplength` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/day6.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 50 | for (key, value) in map { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_sum_of_answers_anyone` is never used [INFO] [stdout] --> src/day6.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn find_sum_of_answers_anyone(group: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `amount` is never read [INFO] [stdout] --> src/day7.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | let mut amount: String = insidebag.split("bag").collect(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `number` is never read [INFO] [stdout] --> src/day7.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | let mut number = 0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day7.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let mut insidebags: Vec = tokens[1].split(", ").map(|x| x.to_string()).collect(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day7.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | let mut t: Vec = amount.split(" ").map(|x| x.to_string()).collect(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_outer_bag_sum` is never used [INFO] [stdout] --> src/day7.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn find_outer_bag_sum(desired_color: &String, map: &HashMap>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_outer_bag_recursion` is never used [INFO] [stdout] --> src/day7.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn find_outer_bag_recursion(desired_color: &String, bag_color: &String, bags: &Vec, map: &HashMap>, correct... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/day13.rs:63:35 [INFO] [stdout] | [INFO] [stdout] 63 | fn find_earliest_bus_time_pattern(time: i32, buses: Vec){ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/day13.rs:63:35 [INFO] [stdout] | [INFO] [stdout] 63 | fn find_earliest_bus_time_pattern(time: i32, buses: Vec){ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print_location` is never used [INFO] [stdout] --> src/day12.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl Ferry { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 111 | fn print_location(&self){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instructions` [INFO] [stdout] --> src/day14.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let instructions = parse_into_instructions(contents.clone()); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instructions` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `zeros_mask` is assigned to, but never used [INFO] [stdout] --> src/day14.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | let zeros_mask: u64; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_zeros_mask` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `zeros_mask` is never read [INFO] [stdout] --> src/day14.rs:181:13 [INFO] [stdout] | [INFO] [stdout] 181 | zeros_mask = *zero; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `zeros_mask` and `ones_mask` are never read [INFO] [stdout] --> src/day14.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | UpdateMask { [INFO] [stdout] | ---------- fields in this variant [INFO] [stdout] 13 | zeros_mask: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 14 | ones_mask: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute_initialization_instructions` is never used [INFO] [stdout] --> src/day14.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn execute_initialization_instructions(instructions: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_memory` is never used [INFO] [stdout] --> src/day14.rs:99:4 [INFO] [stdout] | [INFO] [stdout] 99 | fn update_memory(mask: &Instruction, address: &u64, value: &u64, memory: &mut HashMap){ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `amount` is never read [INFO] [stdout] --> src/day7.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | let mut amount: String = insidebag.split("bag").collect(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `number` is never read [INFO] [stdout] --> src/day7.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | let mut number = 0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day7.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let mut insidebags: Vec = tokens[1].split(", ").map(|x| x.to_string()).collect(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day7.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | let mut t: Vec = amount.split(" ").map(|x| x.to_string()).collect(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_outer_bag_sum` is never used [INFO] [stdout] --> src/day7.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn find_outer_bag_sum(desired_color: &String, map: &HashMap>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_outer_bag_recursion` is never used [INFO] [stdout] --> src/day7.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn find_outer_bag_recursion(desired_color: &String, bag_color: &String, bags: &Vec, map: &HashMap>, correct... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print_location` is never used [INFO] [stdout] --> src/day12.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl Ferry { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 111 | fn print_location(&self){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instructions` [INFO] [stdout] --> src/day14.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let instructions = parse_into_instructions(contents.clone()); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instructions` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `zeros_mask` is assigned to, but never used [INFO] [stdout] --> src/day14.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | let zeros_mask: u64; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_zeros_mask` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `zeros_mask` is never read [INFO] [stdout] --> src/day14.rs:181:13 [INFO] [stdout] | [INFO] [stdout] 181 | zeros_mask = *zero; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `zeros_mask` and `ones_mask` are never read [INFO] [stdout] --> src/day14.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | UpdateMask { [INFO] [stdout] | ---------- fields in this variant [INFO] [stdout] 13 | zeros_mask: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 14 | ones_mask: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute_initialization_instructions` is never used [INFO] [stdout] --> src/day14.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn execute_initialization_instructions(instructions: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_memory` is never used [INFO] [stdout] --> src/day14.rs:99:4 [INFO] [stdout] | [INFO] [stdout] 99 | fn update_memory(mask: &Instruction, address: &u64, value: &u64, memory: &mut HashMap){ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.09s [INFO] running `Command { std: "docker" "inspect" "9900c7487f1ccde277c16032500a857d720518dbb9042d2fe66cbf5517d58fda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9900c7487f1ccde277c16032500a857d720518dbb9042d2fe66cbf5517d58fda", kill_on_drop: false }` [INFO] [stdout] 9900c7487f1ccde277c16032500a857d720518dbb9042d2fe66cbf5517d58fda