[INFO] cloning repository https://github.com/gissleh/aoc2020 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gissleh/aoc2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgissleh%2Faoc2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgissleh%2Faoc2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3c981ee8531393a21c0a7219dc5415e575376175 [INFO] testing gissleh/aoc2020 against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgissleh%2Faoc2020" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gissleh/aoc2020 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gissleh/aoc2020 [INFO] finished tweaking git repo https://github.com/gissleh/aoc2020 [INFO] tweaked toml for git repo https://github.com/gissleh/aoc2020 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/gissleh/aoc2020 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded smallvec v1.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b4f6c4067a2d356c898f11fe7ac4cad49f44b51c714cd2ad2b11b84ac617cd6a [INFO] running `Command { std: "docker" "start" "-a" "b4f6c4067a2d356c898f11fe7ac4cad49f44b51c714cd2ad2b11b84ac617cd6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b4f6c4067a2d356c898f11fe7ac4cad49f44b51c714cd2ad2b11b84ac617cd6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4f6c4067a2d356c898f11fe7ac4cad49f44b51c714cd2ad2b11b84ac617cd6a", kill_on_drop: false }` [INFO] [stdout] b4f6c4067a2d356c898f11fe7ac4cad49f44b51c714cd2ad2b11b84ac617cd6a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5101351b2e2e5609484a9cb4f876028f4a987423cff061c421d7b87f6856883e [INFO] running `Command { std: "docker" "start" "-a" "5101351b2e2e5609484a9cb4f876028f4a987423cff061c421d7b87f6856883e", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.5.1 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling dirs-sys v0.3.4 [INFO] [stderr] Compiling termion v1.5.4 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling term v0.6.1 [INFO] [stderr] Compiling num-bigint v0.2.3 [INFO] [stderr] Compiling chrono v0.4.10 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling num v0.2.0 [INFO] [stderr] Compiling aoc2019 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day08.rs:130:29 [INFO] [stdout] | [INFO] [stdout] 130 | _ => panic!(format!("Unknown instruction: {}", line)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 130 - _ => panic!(format!("Unknown instruction: {}", line)), [INFO] [stdout] 130 + _ => panic!("Unknown instruction: {}", line), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::format::Item::Fixed` [INFO] [stdout] --> src/day20.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::format::Item::Fixed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `termion::event::Key::Right` [INFO] [stdout] --> src/day20.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use termion::event::Key::Right; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sub_indexes` [INFO] [stdout] --> src/day19.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 150 | sub_indexes: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Input` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/day19.rs:146:10 [INFO] [stdout] | [INFO] [stdout] 146 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `check_slope` [INFO] [stdout] --> src/day03.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn check_slope(grid: &FixedGrid, vx: usize, w: usize, h: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `check_slope_vertical` [INFO] [stdout] --> src/day03.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn check_slope_vertical(grid: &FixedGrid, vx: usize, vy: usize, w: usize, h: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/day20.rs:189:23 [INFO] [stdout] | [INFO] [stdout] 189 | .map(|(i, s)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `horizontal` [INFO] [stdout] --> src/day20.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | let horizontal = dir == LEFT || dir == RIGHT; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_horizontal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day20.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | let mut target_dir = FLIPPED_VH[dir]; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/year2017-day23.rs:189:29 [INFO] [stdout] | [INFO] [stdout] 189 | _ => panic!(format!("Unknown op {}", command)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 189 - _ => panic!(format!("Unknown op {}", command)), [INFO] [stdout] 189 + _ => panic!("Unknown op {}", command), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day20.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | let mut side = states[index].tile.sides[dir]; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/day21.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(is_sorted)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0554`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc2019` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: constant is never used: `DIRECTIONS` [INFO] [stdout] --> src/day20.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | const DIRECTIONS: [usize; 4] = [RIGHT, DOWN, LEFT, UP]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FLIPPED_H` [INFO] [stdout] --> src/day20.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | const FLIPPED_H: [usize; 4] = [LEFT, UP, RIGHT, DOWN]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FLIPPED_V` [INFO] [stdout] --> src/day20.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | const FLIPPED_V: [usize; 4] = [RIGHT, UP, LEFT, DOWN]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `pos_dir` [INFO] [stdout] --> src/day20.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn pos_dir(x: usize, y: usize, dir: usize) -> (usize, usize) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rotate_right` [INFO] [stdout] --> src/day20.rs:473:4 [INFO] [stdout] | [INFO] [stdout] 473 | fn rotate_right(dir: usize, amount: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `put_padded` [INFO] [stdout] --> src/day20.rs:550:8 [INFO] [stdout] | [INFO] [stdout] 550 | fn put_padded(&self, grid: &mut FixedGrid, x: usize, y: usize) { [INFO] [stdout] | ^^^^^^^^^^ [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: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "5101351b2e2e5609484a9cb4f876028f4a987423cff061c421d7b87f6856883e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5101351b2e2e5609484a9cb4f876028f4a987423cff061c421d7b87f6856883e", kill_on_drop: false }` [INFO] [stdout] 5101351b2e2e5609484a9cb4f876028f4a987423cff061c421d7b87f6856883e