[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 try#575650af7d7ca88602df28e39d27bf3e456c306e for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fajfrantz%2Fadvent2018" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ajfrantz/advent2018 on toolchain 575650af7d7ca88602df28e39d27bf3e456c306e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "read-manifest" "--manifest-path" "Cargo.toml", 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-1/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" "+575650af7d7ca88602df28e39d27bf3e456c306e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustc-demangle v0.1.11 [INFO] [stderr] Downloaded failure v0.1.4 [INFO] [stderr] Downloaded smallvec v0.6.7 [INFO] [stderr] Downloaded failure_derive v0.1.4 [INFO] [stderr] Downloaded pathfinding v1.1.10 [INFO] [stderr] Downloaded slotmap v0.3.0 [INFO] [stderr] Downloaded once_cell v0.1.6 [INFO] [stderr] Downloaded cached v0.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+575650af7d7ca88602df28e39d27bf3e456c306e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b459550892f53a2c55344ba58c2e6ce211240868487d1d141e07aadcb8de48bf [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" "b459550892f53a2c55344ba58c2e6ce211240868487d1d141e07aadcb8de48bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b459550892f53a2c55344ba58c2e6ce211240868487d1d141e07aadcb8de48bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b459550892f53a2c55344ba58c2e6ce211240868487d1d141e07aadcb8de48bf", kill_on_drop: false }` [INFO] [stdout] b459550892f53a2c55344ba58c2e6ce211240868487d1d141e07aadcb8de48bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+575650af7d7ca88602df28e39d27bf3e456c306e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 56fab89861520806f6a6418431f74a48ce9f352ec0be1a3547aa66410a6ec206 [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" "56fab89861520806f6a6418431f74a48ce9f352ec0be1a3547aa66410a6ec206", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.45 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling cc v1.0.28 [INFO] [stderr] Compiling autocfg v0.1.1 [INFO] [stderr] Compiling failure_derive v0.1.4 [INFO] [stderr] Checking rustc-demangle v0.1.11 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Checking indexmap v1.0.2 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Checking slotmap v0.3.0 [INFO] [stderr] Compiling memchr v2.1.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] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking regex-syntax v0.6.4 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Checking smallvec v0.6.7 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling backtrace v0.3.13 [INFO] [stderr] Compiling syn v0.15.23 [INFO] [stderr] Checking rand v0.5.5 [INFO] [stderr] Checking num_cpus v1.9.0 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Checking pathfinding v1.1.10 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Checking rayon-core v1.4.1 [INFO] [stderr] Checking rayon v1.0.3 [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/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] | ^^^^^^^ mutable borrow occurs here [INFO] [stdout] 142 | instruction.opcode, [INFO] [stdout] | ------------------ immutable borrow later used 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: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/bin/15.rs:150:14 [INFO] [stdout] | [INFO] [stdout] 150 | .into_iter() [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [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: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/bin/15.rs:150:14 [INFO] [stdout] | [INFO] [stdout] 150 | .into_iter() [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [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] | ^^^^^^^ mutable borrow occurs here [INFO] [stdout] 142 | instruction.opcode, [INFO] [stdout] | ------------------ immutable borrow later used 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: 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] | ^^^^^^^ mutable borrow occurs here [INFO] [stdout] 160 | instruction.opcode, [INFO] [stdout] | ------------------ immutable borrow later used 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] [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] | ^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [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: unnecessary parentheses around block return value [INFO] [stdout] --> src/bin/23.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | (dx + dy + dz) [INFO] [stdout] | ^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [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/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] | ^^^^^^^ mutable borrow occurs here [INFO] [stdout] 160 | instruction.opcode, [INFO] [stdout] | ------------------ immutable borrow later used 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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 25.91s [INFO] running `Command { std: "docker" "inspect" "56fab89861520806f6a6418431f74a48ce9f352ec0be1a3547aa66410a6ec206", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56fab89861520806f6a6418431f74a48ce9f352ec0be1a3547aa66410a6ec206", kill_on_drop: false }` [INFO] [stdout] 56fab89861520806f6a6418431f74a48ce9f352ec0be1a3547aa66410a6ec206