[INFO] cloning repository https://github.com/apjaffe/aoc2019 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/apjaffe/aoc2019" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fapjaffe%2Faoc2019", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fapjaffe%2Faoc2019'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 02e48ecc5fa7602ff3702fe41c505a4521225adc [INFO] checking apjaffe/aoc2019 against try#39605810efb1a0d52f955bfba9e4eec7a01d5deb for pr-153692 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fapjaffe%2Faoc2019" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/apjaffe/aoc2019 [INFO] finished tweaking git repo https://github.com/apjaffe/aoc2019 [INFO] tweaked toml for git repo https://github.com/apjaffe/aoc2019 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/apjaffe/aoc2019 on toolchain 39605810efb1a0d52f955bfba9e4eec7a01d5deb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/apjaffe/aoc2019 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ebdddc53a9afde35e53e1a4c2f14a7c97106652792248a0fa0c7fe17db5539aa [INFO] running `Command { std: "docker" "start" "-a" "ebdddc53a9afde35e53e1a4c2f14a7c97106652792248a0fa0c7fe17db5539aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ebdddc53a9afde35e53e1a4c2f14a7c97106652792248a0fa0c7fe17db5539aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebdddc53a9afde35e53e1a4c2f14a7c97106652792248a0fa0c7fe17db5539aa", kill_on_drop: false }` [INFO] [stdout] ebdddc53a9afde35e53e1a4c2f14a7c97106652792248a0fa0c7fe17db5539aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 717689ebbadf406ce69dfa5500d197509ab2db0e3ed313988dd51d291a00a9e4 [INFO] running `Command { std: "docker" "start" "-a" "717689ebbadf406ce69dfa5500d197509ab2db0e3ed313988dd51d291a00a9e4", kill_on_drop: false }` [INFO] [stderr] Checking aoc2019 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `product` is never read [INFO] [stdout] --> src/bin/day14.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 5 | struct Reaction { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 6 | reactants: HashMap, [INFO] [stdout] 7 | product: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Reaction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/bin/day13-2.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | fn get_xcoords(self: &Screen, pixel:i64) -> i64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] = note: `#[deny(self_lifetime_elision_not_applicable)]` (part of `#[deny(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/bin/day13-2.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 25 | fn read_frame(self: &mut Screen, comp: &mut Computer, term: &mut Bytes) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/bin/day13-2.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 56 | fn render(self: &Screen) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/bin/day13-2.rs:23:65 [INFO] [stdout] | [INFO] [stdout] 23 | *self.pixels.iter().filter(|((x,y),v)| **v==pixel).map(|((x,y),v)| x).min().unwrap() [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/bin/day13-2.rs:23:68 [INFO] [stdout] | [INFO] [stdout] 23 | *self.pixels.iter().filter(|((x,y),v)| **v==pixel).map(|((x,y),v)| x).min().unwrap() [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/bin/day13-2.rs:23:35 [INFO] [stdout] | [INFO] [stdout] 23 | *self.pixels.iter().filter(|((x,y),v)| **v==pixel).map(|((x,y),v)| x).min().unwrap() [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/bin/day13-2.rs:23:37 [INFO] [stdout] | [INFO] [stdout] 23 | *self.pixels.iter().filter(|((x,y),v)| **v==pixel).map(|((x,y),v)| x).min().unwrap() [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `term` [INFO] [stdout] --> src/bin/day13-2.rs:25:57 [INFO] [stdout] | [INFO] [stdout] 25 | fn read_frame(self: &mut Screen, comp: &mut Computer, term: &mut Bytes) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_term` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day13-2.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | let mut buffer = fs::read_to_string("inputs/day13").unwrap(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day13-2.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | let mut stdin = io::stdin(); [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/day13-2.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | let mut reader = stdin.lock(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dir` is never read [INFO] [stdout] --> src/bin/day13-2.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 8 | struct Screen { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | dir: i64 [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc2019` (bin "day13-2" test) due to 3 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/bin/day12-2.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | fn gravity(self: &mut Moon, other: &Moon) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] = note: `#[deny(self_lifetime_elision_not_applicable)]` (part of `#[deny(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/bin/day12-2.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | fn velocity(self: &mut Moon) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev` [INFO] [stdout] --> src/bin/day15.rs:86:26 [INFO] [stdout] | [INFO] [stdout] 86 | while let Some((coord, prev)) = queue.pop_front() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_prev` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day15.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | let mut start = Coord {x:0, y:0}; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coord` [INFO] [stdout] --> src/bin/day15.rs:144:38 [INFO] [stdout] | [INFO] [stdout] 144 | let target = map.iter().filter(|(coord, typ)| **typ == 2).collect::>(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_coord` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Move` is never constructed [INFO] [stdout] --> src/bin/day15.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct Move { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day12-2.rs:85:7 [INFO] [stdout] | [INFO] [stdout] 85 | let mut total = repeats.iter().fold(1, |accum, i| accum * i / calc_gcd(accum, *i)); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc2019` (bin "day12-2") due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "717689ebbadf406ce69dfa5500d197509ab2db0e3ed313988dd51d291a00a9e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "717689ebbadf406ce69dfa5500d197509ab2db0e3ed313988dd51d291a00a9e4", kill_on_drop: false }` [INFO] [stdout] 717689ebbadf406ce69dfa5500d197509ab2db0e3ed313988dd51d291a00a9e4