[INFO] cloning repository https://github.com/brian-dawn/advent-of-code-2019 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/brian-dawn/advent-of-code-2019" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrian-dawn%2Fadvent-of-code-2019", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrian-dawn%2Fadvent-of-code-2019'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d5349a66c4e1572140aedec9903d50e614c8b45f [INFO] checking brian-dawn/advent-of-code-2019 against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrian-dawn%2Fadvent-of-code-2019" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/brian-dawn/advent-of-code-2019 on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/brian-dawn/advent-of-code-2019 [INFO] finished tweaking git repo https://github.com/brian-dawn/advent-of-code-2019 [INFO] tweaked toml for git repo https://github.com/brian-dawn/advent-of-code-2019 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/brian-dawn/advent-of-code-2019 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "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] edc8934726b0ae7ae8d5353ad39990fc53854e2c5d0e1717c60568b7dd325c4d [INFO] running `Command { std: "docker" "start" "-a" "edc8934726b0ae7ae8d5353ad39990fc53854e2c5d0e1717c60568b7dd325c4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "edc8934726b0ae7ae8d5353ad39990fc53854e2c5d0e1717c60568b7dd325c4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edc8934726b0ae7ae8d5353ad39990fc53854e2c5d0e1717c60568b7dd325c4d", kill_on_drop: false }` [INFO] [stdout] edc8934726b0ae7ae8d5353ad39990fc53854e2c5d0e1717c60568b7dd325c4d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 43cc8f93c69d8f5d1bced112d22708fac7916a8511bd4ba08e0ea2fafeabd317 [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" "43cc8f93c69d8f5d1bced112d22708fac7916a8511bd4ba08e0ea2fafeabd317", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling rayon-core v1.6.1 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking static_assertions v0.3.4 [INFO] [stderr] Checking permutohedron v0.2.4 [INFO] [stderr] Checking num_cpus v1.11.1 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling nom v5.0.1 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling num-bigint v0.2.3 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking aho-corasick v0.7.6 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling lexical-core v0.4.6 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking crossbeam-queue v0.2.0 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Checking regex v1.3.1 [INFO] [stderr] Checking rayon v1.2.1 [INFO] [stderr] Checking num v0.2.0 [INFO] [stderr] Compiling derive_more v0.99.2 [INFO] [stderr] Checking advent-of-code-2019 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> src/bin/day10.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::cmp::Ordering; [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/bin/day10.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> src/bin/day10.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::cmp::Ordering; [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/bin/day10.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `distance` [INFO] [stdout] --> src/bin/day10.rs:146:18 [INFO] [stdout] | [INFO] [stdout] 146 | for (distance, point) in dist_points { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_distance` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day10.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | let mut world: Vec<(i64, (i64, Point))> = parsed [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/bin/day10.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | let mut by_angle = world.into_iter().into_group_map(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/bin/day10.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | fn new(x: usize, y: usize) -> Point { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/bin/day9.rs:165:21 [INFO] [stdout] | [INFO] [stdout] 164 | let inp: &i64 = self.inputs.first().context("ran out of inputs")?; [INFO] [stdout] | ----------- immutable borrow occurs here [INFO] [stdout] 165 | self.set_memory(addr, *inp); [INFO] [stdout] | ^^^^ ---- immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_input` [INFO] [stdout] --> src/bin/day9.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | fn add_input(&mut self, input: i64) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run_program` [INFO] [stdout] --> src/bin/day9.rs:217:4 [INFO] [stdout] | [INFO] [stdout] 217 | fn run_program(memory: &[i64], input: &[i64]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `distance` [INFO] [stdout] --> src/bin/day10.rs:146:18 [INFO] [stdout] | [INFO] [stdout] 146 | for (distance, point) in dist_points { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_distance` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day10.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | let mut world: Vec<(i64, (i64, Point))> = parsed [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: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/bin/day9.rs:165:21 [INFO] [stdout] | [INFO] [stdout] 164 | let inp: &i64 = self.inputs.first().context("ran out of inputs")?; [INFO] [stdout] | ----------- immutable borrow occurs here [INFO] [stdout] 165 | self.set_memory(addr, *inp); [INFO] [stdout] | ^^^^ ---- immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day10.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | let mut by_angle = world.into_iter().into_group_map(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day10.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | let mut example = ".#..# [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day10.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | let mut example = ".#..# [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_input` [INFO] [stdout] --> src/bin/day9.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | fn add_input(&mut self, input: i64) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 38.83s [INFO] running `Command { std: "docker" "inspect" "43cc8f93c69d8f5d1bced112d22708fac7916a8511bd4ba08e0ea2fafeabd317", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43cc8f93c69d8f5d1bced112d22708fac7916a8511bd4ba08e0ea2fafeabd317", kill_on_drop: false }` [INFO] [stdout] 43cc8f93c69d8f5d1bced112d22708fac7916a8511bd4ba08e0ea2fafeabd317