[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 master#404c8471aba60c2d837fa728e7c729a0f52d5830 for pr-87041-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgissleh%2Faoc2020" "/workspace/builds/worker-98/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-98/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gissleh/aoc2020 on toolchain 404c8471aba60c2d837fa728e7c729a0f52d5830 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+404c8471aba60c2d837fa728e7c729a0f52d5830" "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-98/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" "+404c8471aba60c2d837fa728e7c729a0f52d5830" "fetch" "--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-98/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-98/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:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/opt/rustwide/cargo-home/bin/cargo" "+404c8471aba60c2d837fa728e7c729a0f52d5830" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9af2654020c7841e9e0d24fc1c0610163421238ae8a15fc6a0b698e569fc1a34 [INFO] running `Command { std: "docker" "start" "-a" "9af2654020c7841e9e0d24fc1c0610163421238ae8a15fc6a0b698e569fc1a34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9af2654020c7841e9e0d24fc1c0610163421238ae8a15fc6a0b698e569fc1a34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9af2654020c7841e9e0d24fc1c0610163421238ae8a15fc6a0b698e569fc1a34", kill_on_drop: false }` [INFO] [stdout] 9af2654020c7841e9e0d24fc1c0610163421238ae8a15fc6a0b698e569fc1a34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-98/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-98/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/opt/rustwide/cargo-home/bin/cargo" "+404c8471aba60c2d837fa728e7c729a0f52d5830" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c5e9a49330aea4a284d4abea4383706a9c905145190692ae7d3e44ad184012f3 [INFO] running `Command { std: "docker" "start" "-a" "c5e9a49330aea4a284d4abea4383706a9c905145190692ae7d3e44ad184012f3", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling numtoa v0.1.0 [INFO] [stderr] Compiling smallvec v1.5.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-bigint v0.2.3 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling dirs-sys v0.3.4 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling termion v1.5.4 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling term v0.6.1 [INFO] [stderr] Compiling chrono v0.4.10 [INFO] [stderr] Compiling num v0.2.0 [INFO] [stderr] Compiling aoc2019 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::BTreeMap` [INFO] [stdout] --> src/day14.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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 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: panic message is not a string literal [INFO] [stdout] --> src/day12.rs:100:33 [INFO] [stdout] | [INFO] [stdout] 100 | _ => panic!(format!("Unknown instruction: {}", current_inst as char)), [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] 100 - _ => panic!(format!("Unknown instruction: {}", current_inst as char)), [INFO] [stdout] 100 + _ => panic!("Unknown instruction: {}", current_inst as char), [INFO] [stdout] | [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: 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: 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: panic message is not a string literal [INFO] [stdout] --> src/day18.rs:189:28 [INFO] [stdout] | [INFO] [stdout] 189 | panic!(format!("Unknown token: {}", *b as char)); [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 token: {}", *b as char)); [INFO] [stdout] 189 + panic!("Unknown token: {}", *b as char); [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] [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: 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] 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] [stderr] error: could not compile `aoc2019` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustc --crate-name day07 --edition=2018 src/day07.rs --error-format=json --json=diagnostic-rendered-ansi,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 -C metadata=2ec3da2fa5467a89 -C extra-filename=-2ec3da2fa5467a89 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern common=/opt/rustwide/target/debug/deps/libcommon-ce5e3f96004541fa.rlib --extern chrono=/opt/rustwide/target/debug/deps/libchrono-903f78026825a21f.rlib --extern num=/opt/rustwide/target/debug/deps/libnum-0132ebd58dce0a4e.rlib --extern rustc_hash=/opt/rustwide/target/debug/deps/librustc_hash-91c665a5e97266ba.rlib --extern smallvec=/opt/rustwide/target/debug/deps/libsmallvec-51ee4bb1145b3148.rlib --extern term=/opt/rustwide/target/debug/deps/libterm-af861801d1db6cae.rlib --extern termion=/opt/rustwide/target/debug/deps/libtermion-4abc595885185dde.rlib --extern time=/opt/rustwide/target/debug/deps/libtime-a4d814a35100da35.rlib --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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: 1 warning 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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "c5e9a49330aea4a284d4abea4383706a9c905145190692ae7d3e44ad184012f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5e9a49330aea4a284d4abea4383706a9c905145190692ae7d3e44ad184012f3", kill_on_drop: false }` [INFO] [stdout] c5e9a49330aea4a284d4abea4383706a9c905145190692ae7d3e44ad184012f3