[INFO] cloning repository https://github.com/jbarlin/advent-of-code [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jbarlin/advent-of-code" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjbarlin%2Fadvent-of-code", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjbarlin%2Fadvent-of-code'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7e2435a50b85f5d1e97dcdd60ff1d2a6588fc9b3 [INFO] testing jbarlin/advent-of-code against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjbarlin%2Fadvent-of-code" "/workspace/builds/worker-100/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-100/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jbarlin/advent-of-code 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/jbarlin/advent-of-code [INFO] finished tweaking git repo https://github.com/jbarlin/advent-of-code [INFO] tweaked toml for git repo https://github.com/jbarlin/advent-of-code written to /workspace/builds/worker-100/source/Cargo.toml [INFO] crate git repo https://github.com/jbarlin/advent-of-code 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] warning: unused manifest key: bench.0.html_reports [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cast v0.2.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-100/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-100/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 871d6cf88748caaf25ceabb3653c96a6ac750eb13f967d96b940bda6e13c7613 [INFO] running `Command { std: "docker" "start" "-a" "871d6cf88748caaf25ceabb3653c96a6ac750eb13f967d96b940bda6e13c7613", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "871d6cf88748caaf25ceabb3653c96a6ac750eb13f967d96b940bda6e13c7613", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "871d6cf88748caaf25ceabb3653c96a6ac750eb13f967d96b940bda6e13c7613", kill_on_drop: false }` [INFO] [stdout] 871d6cf88748caaf25ceabb3653c96a6ac750eb13f967d96b940bda6e13c7613 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-100/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-100/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e056e9787769e99c614ed633dd0bd5794ed5cc2b159b20e9f05771dee120ed26 [INFO] running `Command { std: "docker" "start" "-a" "e056e9787769e99c614ed633dd0bd5794ed5cc2b159b20e9f05771dee120ed26", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: bench.0.html_reports [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling eyre v0.6.5 [INFO] [stderr] Compiling gimli v0.24.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling owo-colors v1.3.0 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling rustc-demangle v0.1.20 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling sharded-slab v0.1.1 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling object v0.25.3 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling tracing-subscriber v0.2.19 [INFO] [stderr] Compiling backtrace v0.3.60 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling addr2line v0.15.2 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling structopt v0.3.21 [INFO] [stderr] Compiling tracing-error v0.1.2 [INFO] [stderr] Compiling color-spantrace v0.1.6 [INFO] [stderr] Compiling color-eyre v0.5.11 [INFO] [stderr] Compiling aoc-2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/image_layer.rs:131:6 [INFO] [stdout] | [INFO] [stdout] 131 | _ => unreachable!(), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/solutions/nineteen25.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | let mut machine: IntCodeVM = IntCodeVM::new(Vec::from(DAY_25_DATA)); [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/solutions/nineteen25.rs:182:20 [INFO] [stdout] | [INFO] [stdout] 182 | fn compute_map(mut machine: IntCodeVM) -> (Grid, BTreeMap) { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `path` [INFO] [stdout] --> src/map.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn path(&self) -> &Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cost` [INFO] [stdout] --> src/map.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn cost(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cell_map` [INFO] [stdout] --> src/map.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn cell_map(&self) -> &Map { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `intersections` [INFO] [stdout] --> src/map.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn intersections(&self) -> &Map> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `step_all_tiles` [INFO] [stdout] --> src/map.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn step_all_tiles(&self, start_point: Coords, facing: Direction) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_str` [INFO] [stdout] --> src/map.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn from_str(input: &str, space: char, barrier: char, special_barrier: Vec, special_goal: Vec, curr_loc: Vec) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_output_of_chars` [INFO] [stdout] --> src/map.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | pub fn from_output_of_chars [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Start` [INFO] [stdout] --> src/cell.rs:7:2 [INFO] [stdout] | [INFO] [stdout] 7 | Start(char), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CellType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cell.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Clone, Copy, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `WarpInner` [INFO] [stdout] --> src/cell.rs:8:2 [INFO] [stdout] | [INFO] [stdout] 8 | WarpInner(u16), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CellType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cell.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Clone, Copy, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `WarpOuter` [INFO] [stdout] --> src/cell.rs:9:2 [INFO] [stdout] | [INFO] [stdout] 9 | WarpOuter(u16), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CellType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cell.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Clone, Copy, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_map` [INFO] [stdout] --> src/solutions/nineteen25.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn print_map(grid: &Grid){ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(drain_filter)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0554`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc-2020` due to 2 previous errors; 14 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e056e9787769e99c614ed633dd0bd5794ed5cc2b159b20e9f05771dee120ed26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e056e9787769e99c614ed633dd0bd5794ed5cc2b159b20e9f05771dee120ed26", kill_on_drop: false }` [INFO] [stdout] e056e9787769e99c614ed633dd0bd5794ed5cc2b159b20e9f05771dee120ed26