[INFO] cloning repository https://github.com/Sonnenhut/aoc2019 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Sonnenhut/aoc2019" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSonnenhut%2Faoc2019", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSonnenhut%2Faoc2019'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b2d6c53492181be15a78967dea2b1cf365201b87 [INFO] checking Sonnenhut/aoc2019 against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSonnenhut%2Faoc2019" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Sonnenhut/aoc2019 on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Sonnenhut/aoc2019 [INFO] finished tweaking git repo https://github.com/Sonnenhut/aoc2019 [INFO] tweaked toml for git repo https://github.com/Sonnenhut/aoc2019 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/Sonnenhut/aoc2019 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 863d6100124beec1baf59b8dd5b4d91742fa6ddb8fb0690d61d2fec426363e2d [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" "863d6100124beec1baf59b8dd5b4d91742fa6ddb8fb0690d61d2fec426363e2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "863d6100124beec1baf59b8dd5b4d91742fa6ddb8fb0690d61d2fec426363e2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "863d6100124beec1baf59b8dd5b4d91742fa6ddb8fb0690d61d2fec426363e2d", kill_on_drop: false }` [INFO] [stdout] 863d6100124beec1baf59b8dd5b4d91742fa6ddb8fb0690d61d2fec426363e2d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e20c9ee8b524218178b71a3a8464292f5758430690d34132a3196662de162554 [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" "e20c9ee8b524218178b71a3a8464292f5758430690d34132a3196662de162554", kill_on_drop: false }` [INFO] [stderr] Checking aoc2019 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/intcode.rs:68:18 [INFO] [stdout] | [INFO] [stdout] 48 | let(p1,p2) = self.params(¶m_modes); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 68 | 7 => self.write_at(3, ¶m_modes, (p1? < p2?) as i64), // less-than [INFO] [stdout] | ^^^^ mutable borrow occurs here -- 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: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/intcode.rs:51:18 [INFO] [stdout] | [INFO] [stdout] 48 | let(p1,p2) = self.params(¶m_modes); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 51 | 2 => self.write_at(3, ¶m_modes, p1? * p2?), // mul [INFO] [stdout] | ^^^^ -- immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [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: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/intcode.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 48 | let(p1,p2) = self.params(¶m_modes); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] 49 | match op { [INFO] [stdout] 50 | 1 => self.write_at(3, ¶m_modes, p1? + p2?), // add [INFO] [stdout] | ^^^^ -- immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [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: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/intcode.rs:69:18 [INFO] [stdout] | [INFO] [stdout] 48 | let(p1,p2) = self.params(¶m_modes); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 69 | 8 => self.write_at(3, ¶m_modes, (p1? == p2?) as i64), // eq [INFO] [stdout] | ^^^^ mutable borrow occurs here -- immutable borrow later used here [INFO] [stdout] | [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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/intcode.rs:68:18 [INFO] [stdout] | [INFO] [stdout] 48 | let(p1,p2) = self.params(¶m_modes); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 68 | 7 => self.write_at(3, ¶m_modes, (p1? < p2?) as i64), // less-than [INFO] [stdout] | ^^^^ mutable borrow occurs here -- 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: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/intcode.rs:51:18 [INFO] [stdout] | [INFO] [stdout] 48 | let(p1,p2) = self.params(¶m_modes); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 51 | 2 => self.write_at(3, ¶m_modes, p1? * p2?), // mul [INFO] [stdout] | ^^^^ -- immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [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: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/intcode.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 48 | let(p1,p2) = self.params(¶m_modes); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] 49 | match op { [INFO] [stdout] 50 | 1 => self.write_at(3, ¶m_modes, p1? + p2?), // add [INFO] [stdout] | ^^^^ -- immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [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: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/intcode.rs:69:18 [INFO] [stdout] | [INFO] [stdout] 48 | let(p1,p2) = self.params(¶m_modes); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 69 | 8 => self.write_at(3, ¶m_modes, (p1? == p2?) as i64), // eq [INFO] [stdout] | ^^^^ mutable borrow occurs here -- immutable borrow later used here [INFO] [stdout] | [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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `aoc2019::intcode::IntCode` [INFO] [stdout] --> src/bin/day22.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use aoc2019::intcode::IntCode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BinaryHeap`, `HashMap`, `HashSet`, `LinkedList` [INFO] [stdout] --> src/bin/day22.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::{HashMap, HashSet, BinaryHeap, LinkedList}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> src/bin/day22.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Iter` [INFO] [stdout] --> src/bin/day22.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::path::Iter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> src/bin/day22.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter` [INFO] [stdout] --> src/bin/day22.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::iter; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RemAssign`, `Sub` [INFO] [stdout] --> src/bin/day22.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | use std::ops::{Sub, RemAssign}; [INFO] [stdout] | ^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::DebugTuple` [INFO] [stdout] --> src/bin/day22.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::fmt::DebugTuple; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/bin/day22.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | modulo((a * x_i + b), modulus) as usize [INFO] [stdout] | ^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/bin/day22.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/bin/day22.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/bin/day11.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0600]: cannot apply unary operator `-` to type `usize` [INFO] [stdout] --> src/bin/day22.rs:225:27 [INFO] [stdout] | [INFO] [stdout] 225 | assert_eq!(modulo(-3usize,10usize), 7usize); [INFO] [stdout] | ^^^^^^^ cannot apply unary operator `-` [INFO] [stdout] | [INFO] [stdout] = note: unsigned values cannot be negated [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/day22.rs:225:27 [INFO] [stdout] | [INFO] [stdout] 225 | assert_eq!(modulo(-3usize,10usize), 7usize); [INFO] [stdout] | ^^^^^^^ expected `isize`, found `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `usize` to `isize` and panic if the converted value wouldn't fit [INFO] [stdout] | [INFO] [stdout] 225 | assert_eq!(modulo((-3usize).try_into().unwrap(),10usize), 7usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/day22.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | assert_eq!(modulo(-3usize,10usize), 7usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `isize`, found `usize` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/day22.rs:226:27 [INFO] [stdout] | [INFO] [stdout] 226 | assert_eq!(modulo(3usize,10usize), 3usize); [INFO] [stdout] | ^^^^^^ expected `isize`, found `usize` [INFO] [stdout] | [INFO] [stdout] help: change the type of the numeric literal from `usize` to `isize` [INFO] [stdout] | [INFO] [stdout] 226 | assert_eq!(modulo(3isize,10usize), 3usize); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/day22.rs:226:9 [INFO] [stdout] | [INFO] [stdout] 226 | assert_eq!(modulo(3usize,10usize), 3usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `isize`, found `usize` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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/day06.rs:26:40 [INFO] [stdout] | [INFO] [stdout] 26 | [origin_distance, target_distance].into_iter().flatten().sum() [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] error: aborting due to 5 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0600. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc2019` [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `printChannel` should have a snake case name [INFO] [stdout] --> src/bin/day25.rs:92:4 [INFO] [stdout] | [INFO] [stdout] 92 | fn printChannel(rcv: &Receiver){ [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `print_channel` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e20c9ee8b524218178b71a3a8464292f5758430690d34132a3196662de162554", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e20c9ee8b524218178b71a3a8464292f5758430690d34132a3196662de162554", kill_on_drop: false }` [INFO] [stdout] e20c9ee8b524218178b71a3a8464292f5758430690d34132a3196662de162554