[INFO] cloning repository https://github.com/ajfrantz/advent2018 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ajfrantz/advent2018" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fajfrantz%2Fadvent2018", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fajfrantz%2Fadvent2018'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e142839799b03d3b8299bed6e4f1d93e2b1193f3 [INFO] checking ajfrantz/advent2018 against master#936f2600b6c903b04387f74ed5cbce88bb06d243 for pr-91141 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fajfrantz%2Fadvent2018" "/workspace/builds/worker-84/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-84/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ajfrantz/advent2018 on toolchain 936f2600b6c903b04387f74ed5cbce88bb06d243 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ajfrantz/advent2018 [INFO] finished tweaking git repo https://github.com/ajfrantz/advent2018 [INFO] tweaked toml for git repo https://github.com/ajfrantz/advent2018 written to /workspace/builds/worker-84/source/Cargo.toml [INFO] crate git repo https://github.com/ajfrantz/advent2018 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cached v0.8.0 [INFO] [stderr] Downloaded failure v0.1.4 [INFO] [stderr] Downloaded once_cell v0.1.6 [INFO] [stderr] Downloaded failure_derive v0.1.4 [INFO] [stderr] Downloaded pathfinding v1.1.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-84/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-84/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a760b304c9a4187bdc78f1324bc3e8a261c756ff08d423630e613e08c8f474b7 [INFO] running `Command { std: "docker" "start" "-a" "a760b304c9a4187bdc78f1324bc3e8a261c756ff08d423630e613e08c8f474b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a760b304c9a4187bdc78f1324bc3e8a261c756ff08d423630e613e08c8f474b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a760b304c9a4187bdc78f1324bc3e8a261c756ff08d423630e613e08c8f474b7", kill_on_drop: false }` [INFO] [stdout] a760b304c9a4187bdc78f1324bc3e8a261c756ff08d423630e613e08c8f474b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-84/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-84/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 03039b0a3b4e0ec57422b4f6e5a1818c41c5254db8a2158dc578381b039e66bc [INFO] running `Command { std: "docker" "start" "-a" "03039b0a3b4e0ec57422b4f6e5a1818c41c5254db8a2158dc578381b039e66bc", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.45 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Checking rand_core v0.3.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling cc v1.0.28 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling autocfg v0.1.1 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Compiling failure_derive v0.1.4 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Checking rustc-demangle v0.1.11 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Checking indexmap v1.0.2 [INFO] [stderr] Checking fixedbitset v0.1.9 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Checking slotmap v0.3.0 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking itertools v0.8.0 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking rand_core v0.2.2 [INFO] [stderr] Checking regex-syntax v0.6.4 [INFO] [stderr] Checking smallvec v0.6.7 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling memchr v2.1.2 [INFO] [stderr] Compiling backtrace v0.3.13 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling syn v0.15.23 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Checking rand v0.5.5 [INFO] [stderr] Checking num_cpus v1.9.0 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Checking pathfinding v1.1.10 [INFO] [stderr] Checking parking_lot v0.6.4 [INFO] [stderr] Checking once_cell v0.1.6 [INFO] [stderr] Checking cached v0.8.0 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Checking failure v0.1.4 [INFO] [stderr] Checking advent2018 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: cannot borrow `machine` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/bin/21.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 133 | if let Some(instruction) = machine.instructions.get(ip) { [INFO] [stdout] | ---------------------------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 159 | / machine.execute( [INFO] [stdout] 160 | | instruction.opcode, [INFO] [stdout] | | ------------------ immutable borrow later used here [INFO] [stdout] 161 | | instruction.a, [INFO] [stdout] 162 | | instruction.b, [INFO] [stdout] 163 | | instruction.c, [INFO] [stdout] 164 | | ); [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: unnecessary parentheses around block return value [INFO] [stdout] --> src/bin/23.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | (dx + dy + dz) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 22 - (dx + dy + dz) [INFO] [stdout] 22 + dx + dy + dz [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `distance` [INFO] [stdout] --> src/bin/6.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | distance: i32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/bin/23.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | (dx + dy + dz) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 22 - (dx + dy + dz) [INFO] [stdout] 22 + dx + dy + dz [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `height` [INFO] [stdout] --> src/bin/15.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | height: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021 [INFO] [stdout] --> src/bin/15.rs:150:14 [INFO] [stdout] | [INFO] [stdout] 150 | .into_iter() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 150 | .iter() [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 149 | IntoIterator::into_iter(offsets) [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `height` [INFO] [stdout] --> src/bin/15.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | height: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `distance` [INFO] [stdout] --> src/bin/6.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | distance: i32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021 [INFO] [stdout] --> src/bin/15.rs:150:14 [INFO] [stdout] | [INFO] [stdout] 150 | .into_iter() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 150 | .iter() [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 149 | IntoIterator::into_iter(offsets) [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `machine` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/bin/19.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 140 | if let Some(instruction) = machine.instructions.get(ip) { [INFO] [stdout] | ---------------------------- immutable borrow occurs here [INFO] [stdout] 141 | / machine.execute( [INFO] [stdout] 142 | | instruction.opcode, [INFO] [stdout] | | ------------------ immutable borrow later used here [INFO] [stdout] 143 | | instruction.a, [INFO] [stdout] 144 | | instruction.b, [INFO] [stdout] 145 | | instruction.c, [INFO] [stdout] 146 | | ); [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `draw` [INFO] [stdout] --> src/bin/22.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn draw(grid: &Vec>) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `machine` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/bin/21.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 133 | if let Some(instruction) = machine.instructions.get(ip) { [INFO] [stdout] | ---------------------------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 159 | / machine.execute( [INFO] [stdout] 160 | | instruction.opcode, [INFO] [stdout] | | ------------------ immutable borrow later used here [INFO] [stdout] 161 | | instruction.a, [INFO] [stdout] 162 | | instruction.b, [INFO] [stdout] 163 | | instruction.c, [INFO] [stdout] 164 | | ); [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `draw` [INFO] [stdout] --> src/bin/22.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn draw(grid: &Vec>) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `machine` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/bin/19.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 140 | if let Some(instruction) = machine.instructions.get(ip) { [INFO] [stdout] | ---------------------------- immutable borrow occurs here [INFO] [stdout] 141 | / machine.execute( [INFO] [stdout] 142 | | instruction.opcode, [INFO] [stdout] | | ------------------ immutable borrow later used here [INFO] [stdout] 143 | | instruction.a, [INFO] [stdout] 144 | | instruction.b, [INFO] [stdout] 145 | | instruction.c, [INFO] [stdout] 146 | | ); [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.26s [INFO] running `Command { std: "docker" "inspect" "03039b0a3b4e0ec57422b4f6e5a1818c41c5254db8a2158dc578381b039e66bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03039b0a3b4e0ec57422b4f6e5a1818c41c5254db8a2158dc578381b039e66bc", kill_on_drop: false }` [INFO] [stdout] 03039b0a3b4e0ec57422b4f6e5a1818c41c5254db8a2158dc578381b039e66bc