[INFO] cloning repository https://github.com/Shadlock0133/aoc2020 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Shadlock0133/aoc2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShadlock0133%2Faoc2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShadlock0133%2Faoc2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c35785be8e965a596f7a07fe21cdaa66ad92b01a [INFO] checking Shadlock0133/aoc2020/c35785be8e965a596f7a07fe21cdaa66ad92b01a against try#de0e80659cee4f27282e60d63bbb8c5271a0d147 for pr-129392 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShadlock0133%2Faoc2020" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Shadlock0133/aoc2020 on toolchain de0e80659cee4f27282e60d63bbb8c5271a0d147 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+de0e80659cee4f27282e60d63bbb8c5271a0d147" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Shadlock0133/aoc2020 [INFO] finished tweaking git repo https://github.com/Shadlock0133/aoc2020 [INFO] tweaked toml for git repo https://github.com/Shadlock0133/aoc2020 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Shadlock0133/aoc2020 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" "+de0e80659cee4f27282e60d63bbb8c5271a0d147" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+de0e80659cee4f27282e60d63bbb8c5271a0d147" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0746fd9abead12ba67be84fdf686559e6dc47c005d92b044a439a056795f5cf5 [INFO] running `Command { std: "docker" "start" "-a" "0746fd9abead12ba67be84fdf686559e6dc47c005d92b044a439a056795f5cf5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0746fd9abead12ba67be84fdf686559e6dc47c005d92b044a439a056795f5cf5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0746fd9abead12ba67be84fdf686559e6dc47c005d92b044a439a056795f5cf5", kill_on_drop: false }` [INFO] [stdout] 0746fd9abead12ba67be84fdf686559e6dc47c005d92b044a439a056795f5cf5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+de0e80659cee4f27282e60d63bbb8c5271a0d147" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 667368bce3df79c8609ce62081567df1828a11ab14c0dbc01b04f00fbffdb302 [INFO] running `Command { std: "docker" "start" "-a" "667368bce3df79c8609ce62081567df1828a11ab14c0dbc01b04f00fbffdb302", kill_on_drop: false }` [INFO] [stderr] Checking aoc2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/map.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | &self.map[(y * self.width + x)] [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 13 - &self.map[(y * self.width + x)] [INFO] [stdout] 13 + &self.map[y * self.width + x] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/map.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | &self.map[(y * self.width + x)] [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 13 - &self.map[(y * self.width + x)] [INFO] [stdout] 13 + &self.map[y * self.width + x] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `image` are never read [INFO] [stdout] --> src/bin/day20.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | struct Photo { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 11 | id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 12 | image: Map2D, [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: function `check_2_fast` is never used [INFO] [stdout] --> src/bin/day13.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn check_2_fast(timestamp: u64, buses: &[Option]) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/bin/day3.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | &self.map[(y * self.width + x % self.width)] [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 23 - &self.map[(y * self.width + x % self.width)] [INFO] [stdout] 23 + &self.map[y * self.width + x % self.width] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/bin/day3.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | &self.map[(y * self.width + x % self.width)] [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 23 - &self.map[(y * self.width + x % self.width)] [INFO] [stdout] 23 + &self.map[y * self.width + x % self.width] [INFO] [stdout] | [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 `check_2_fast` is never used [INFO] [stdout] --> src/bin/day13.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn check_2_fast(timestamp: u64, buses: &[Option]) -> u64 { [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: fields `id` and `image` are never read [INFO] [stdout] --> src/bin/day20.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | struct Photo { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 11 | id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 12 | image: Map2D, [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.48s [INFO] running `Command { std: "docker" "inspect" "667368bce3df79c8609ce62081567df1828a11ab14c0dbc01b04f00fbffdb302", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "667368bce3df79c8609ce62081567df1828a11ab14c0dbc01b04f00fbffdb302", kill_on_drop: false }` [INFO] [stdout] 667368bce3df79c8609ce62081567df1828a11ab14c0dbc01b04f00fbffdb302