[INFO] cloning repository https://github.com/SergeevPavel/adventofcode2021 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SergeevPavel/adventofcode2021" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSergeevPavel%2Fadventofcode2021", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSergeevPavel%2Fadventofcode2021'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 45477fa6f9ed2b12325aab36afc67ca4c26c3eaf [INFO] testing SergeevPavel/adventofcode2021 against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSergeevPavel%2Fadventofcode2021" "/workspace/builds/worker-57/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-57/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SergeevPavel/adventofcode2021 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/SergeevPavel/adventofcode2021 [INFO] finished tweaking git repo https://github.com/SergeevPavel/adventofcode2021 [INFO] tweaked toml for git repo https://github.com/SergeevPavel/adventofcode2021 written to /workspace/builds/worker-57/source/Cargo.toml [INFO] crate git repo https://github.com/SergeevPavel/adventofcode2021 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-57/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-57/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" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b53bf2f7879d876a7fcb2e63de847eca085a71829da68c901132ea7e22643ea1 [INFO] running `Command { std: "docker" "start" "-a" "b53bf2f7879d876a7fcb2e63de847eca085a71829da68c901132ea7e22643ea1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b53bf2f7879d876a7fcb2e63de847eca085a71829da68c901132ea7e22643ea1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b53bf2f7879d876a7fcb2e63de847eca085a71829da68c901132ea7e22643ea1", kill_on_drop: false }` [INFO] [stdout] b53bf2f7879d876a7fcb2e63de847eca085a71829da68c901132ea7e22643ea1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-57/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-57/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" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9192413cd91ad8312719aa52bc2a82e1bbfa290c9a745ff6ca4e3f5e3472eed2 [INFO] running `Command { std: "docker" "start" "-a" "9192413cd91ad8312719aa52bc2a82e1bbfa290c9a745ff6ca4e3f5e3472eed2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling numtoa v0.1.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling termion v1.5.6 [INFO] [stderr] Compiling adventofcode2021 v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error: could not compile `adventofcode2021` due to 2 previous errors [INFO] [stdout] warning: unused import: `io::BufRead` [INFO] [stdout] --> src/day03a.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::BufRead, collections::HashMap}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> src/day06.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | for d in 0..days_count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `step` [INFO] [stdout] --> src/day14.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | for step in 0..steps { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_step` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `step` [INFO] [stdout] --> src/day14.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | for step in 0..steps { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_step` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day09.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | let mut result = iproduct!(0..field.width, 0..field.height) [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: function is never used: `apply` [INFO] [stdout] --> src/day14.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn apply(s: String, productions: &HashMap) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part1` [INFO] [stdout] --> src/day14.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn part1(steps: usize) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `task1` [INFO] [stdout] --> src/day08.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn task1() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `edges` [INFO] [stdout] --> src/day12.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | edges: Vec<(String, String)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Task` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/day12.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[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: unused variable: `st` [INFO] [stdout] --> src/day11.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | for st in 1..=100 { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_st` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `task1` [INFO] [stdout] --> src/day11.rs:119:4 [INFO] [stdout] | [INFO] [stdout] 119 | fn task1() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ops::Range` [INFO] [stdout] --> src/day05.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::BufRead, ops::Range}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/day18.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(linked_list_cursors)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/day05.rs:84:64 [INFO] [stdout] | [INFO] [stdout] 84 | println!("result1 : {:?}", points.counts().iter().filter(|(k, v)| **v > 1).count()); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/day05.rs:92:64 [INFO] [stdout] | [INFO] [stdout] 92 | println!("result2 : {:?}", points.counts().iter().filter(|(k, v)| **v > 1).count()); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [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] [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: 4 warnings emitted [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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9192413cd91ad8312719aa52bc2a82e1bbfa290c9a745ff6ca4e3f5e3472eed2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9192413cd91ad8312719aa52bc2a82e1bbfa290c9a745ff6ca4e3f5e3472eed2", kill_on_drop: false }` [INFO] [stdout] 9192413cd91ad8312719aa52bc2a82e1bbfa290c9a745ff6ca4e3f5e3472eed2