[INFO] cloning repository https://github.com/TroyNeubauer/aoc2020 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TroyNeubauer/aoc2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTroyNeubauer%2Faoc2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTroyNeubauer%2Faoc2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6540c0b21b0255d04a14312718953ed31a6da1de [INFO] checking TroyNeubauer/aoc2020 against try#9cfe725f0995b018340c519db1b2f3cf8a7e0631 for pr-81174 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTroyNeubauer%2Faoc2020" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TroyNeubauer/aoc2020 on toolchain 9cfe725f0995b018340c519db1b2f3cf8a7e0631 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9cfe725f0995b018340c519db1b2f3cf8a7e0631" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/TroyNeubauer/aoc2020 [INFO] finished tweaking git repo https://github.com/TroyNeubauer/aoc2020 [INFO] tweaked toml for git repo https://github.com/TroyNeubauer/aoc2020 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/TroyNeubauer/aoc2020 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9cfe725f0995b018340c519db1b2f3cf8a7e0631" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded funty v1.1.0 [INFO] [stderr] Downloaded scan_fmt v0.2.5 [INFO] [stderr] Downloaded array2d v0.2.1 [INFO] [stderr] Downloaded vector2d v2.2.0 [INFO] [stderr] Downloaded proc_vector2d v1.0.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+9cfe725f0995b018340c519db1b2f3cf8a7e0631" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4262ba3ee966924b7587154f391bd17ddb542291bfe660b1ca525c9bac85ec41 [INFO] running `Command { std: "docker" "start" "-a" "4262ba3ee966924b7587154f391bd17ddb542291bfe660b1ca525c9bac85ec41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4262ba3ee966924b7587154f391bd17ddb542291bfe660b1ca525c9bac85ec41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4262ba3ee966924b7587154f391bd17ddb542291bfe660b1ca525c9bac85ec41", kill_on_drop: false }` [INFO] [stdout] 4262ba3ee966924b7587154f391bd17ddb542291bfe660b1ca525c9bac85ec41 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+9cfe725f0995b018340c519db1b2f3cf8a7e0631" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d72603a3a203a7d1e667e16aa9984da7eaaa07b1f17367d9042da2968a9c3151 [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" "d72603a3a203a7d1e667e16aa9984da7eaaa07b1f17367d9042da2968a9c3151", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling lexical-core v0.7.4 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking wyz v0.2.0 [INFO] [stderr] Checking funty v1.1.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking tap v1.0.0 [INFO] [stderr] Compiling proc_vector2d v1.0.2 [INFO] [stderr] Checking array2d v0.2.1 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling nom v6.0.1 [INFO] [stderr] Checking vector2d v2.2.0 [INFO] [stderr] Checking bitvec v0.19.4 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking scan_fmt v0.2.5 [INFO] [stderr] Checking aoc-2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/day7/a.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/day20: Is a directory (os error 21) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day13/a.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/day7/a.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc-2020` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/day7/a.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | for (suspect, count) in &graph[color as usize] { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day7/a.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | let lines: Vec<&str> = input.lines().collect(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day18/b.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::slice` [INFO] [stdout] --> src/day18/b.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::slice; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day18/a.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/day15/a.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day12/b.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day9/a.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `next_value` is never read [INFO] [stdout] --> src/day15/a.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | let mut next_value = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test2` [INFO] [stdout] --> src/day15/a.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn test2() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/day7/a.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | for (suspect, count) in &graph[color as usize] { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day7/a.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | let lines: Vec<&str> = input.lines().collect(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day18/b.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | for i in 0..indent { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_op` [INFO] [stdout] --> src/day18/b.rs:97:26 [INFO] [stdout] | [INFO] [stdout] 97 | fn get_atom(input: &str, last_op: char, indent: u32) -> (&str, usize) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day20/a.rs:476:13 [INFO] [stdout] | [INFO] [stdout] 476 | let mut tile = &tiles[child_index]; [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] error[E0596]: cannot borrow `*tile` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/day20/a.rs:478:15 [INFO] [stdout] | [INFO] [stdout] 476 | let mut tile = &tiles[child_index]; [INFO] [stdout] | ------------------- help: consider changing this to be a mutable reference: `&mut tiles[child_index]` [INFO] [stdout] 477 | let mut string = String::new(); [INFO] [stdout] 478 | while tile.next().is_some() { [INFO] [stdout] | ^^^^ `tile` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*tiles` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/day20/a.rs:481:16 [INFO] [stdout] | [INFO] [stdout] 476 | let mut tile = &tiles[child_index]; [INFO] [stdout] | ----- immutable borrow occurs here [INFO] [stdout] 477 | let mut string = String::new(); [INFO] [stdout] 478 | while tile.next().is_some() { [INFO] [stdout] | ---- immutable borrow later used here [INFO] [stdout] ... [INFO] [stdout] 481 | if exe_helper(tiles, positions, next_pos + 1, child_index, tmp_a, tmp_b) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day20/a.rs:490:9 [INFO] [stdout] | [INFO] [stdout] 490 | let mut result = 0; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0502, E0596. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "d72603a3a203a7d1e667e16aa9984da7eaaa07b1f17367d9042da2968a9c3151", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d72603a3a203a7d1e667e16aa9984da7eaaa07b1f17367d9042da2968a9c3151", kill_on_drop: false }` [INFO] [stdout] d72603a3a203a7d1e667e16aa9984da7eaaa07b1f17367d9042da2968a9c3151