[INFO] cloning repository https://github.com/sharifhsn/aoc2021 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sharifhsn/aoc2021" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsharifhsn%2Faoc2021", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsharifhsn%2Faoc2021'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fca183cf833da2f8cbf4f1f6be49327d32a4c782 [INFO] building sharifhsn/aoc2021 against try#615edd3ad1cf6871c977dc900317cb6c2070fd6b for pr-97334 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsharifhsn%2Faoc2021" "/workspace/builds/worker-32/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-32/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sharifhsn/aoc2021 on toolchain 615edd3ad1cf6871c977dc900317cb6c2070fd6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sharifhsn/aoc2021 [INFO] finished tweaking git repo https://github.com/sharifhsn/aoc2021 [INFO] tweaked toml for git repo https://github.com/sharifhsn/aoc2021 written to /workspace/builds/worker-32/source/Cargo.toml [INFO] crate git repo https://github.com/sharifhsn/aoc2021 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "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-32/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-32/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c8558f2b1e773e2cd161b6caf08769699d6feb88484a178b3a11f589f1765ed2 [INFO] running `Command { std: "docker" "start" "-a" "c8558f2b1e773e2cd161b6caf08769699d6feb88484a178b3a11f589f1765ed2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c8558f2b1e773e2cd161b6caf08769699d6feb88484a178b3a11f589f1765ed2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8558f2b1e773e2cd161b6caf08769699d6feb88484a178b3a11f589f1765ed2", kill_on_drop: false }` [INFO] [stdout] c8558f2b1e773e2cd161b6caf08769699d6feb88484a178b3a11f589f1765ed2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-32/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-32/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 33241f195746446608e3d48b684a258cebe120906bc6a0f45e66f1a692551f0d [INFO] running `Command { std: "docker" "start" "-a" "33241f195746446608e3d48b684a258cebe120906bc6a0f45e66f1a692551f0d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling eyre v0.6.5 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling owo-colors v1.3.0 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling tracing-subscriber v0.2.25 [INFO] [stderr] Compiling backtrace v0.3.63 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling object v0.27.1 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling tracing-error v0.1.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.3 [INFO] [stderr] Compiling color-spantrace v0.1.6 [INFO] [stderr] Compiling color-eyre v0.5.11 [INFO] [stderr] Compiling aoc2021 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `tracing::info` [INFO] [stdout] --> src/day9.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tracing::info; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `int_abs_diff` has been stable since 1.60.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(int_abs_diff)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `outp` [INFO] [stdout] --> src/day8.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | let outp = spl.next().unwrap().split(' ').collect::>(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_outp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/day11.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | for x in 0..n { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/day11.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | if let Some(r) = data.get(i - 1) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/day11.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | if let Some(c) = data.get(j - 1) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/day11.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | if let Some(r) = data.get(i - 1) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/day11.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | if let Some(c) = data.get(j) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/day11.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | if let Some(r) = data.get(i - 1) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/day11.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 62 | if let Some(c) = data.get(j + 1) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/day11.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | if let Some(r) = data.get(i) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/day11.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | if let Some(c) = data.get(j - 1) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/day11.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | if let Some(r) = data.get(i) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/day11.rs:78:21 [INFO] [stdout] | [INFO] [stdout] 78 | if let Some(c) = data.get(j + 1) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/day11.rs:85:17 [INFO] [stdout] | [INFO] [stdout] 85 | if let Some(r) = data.get(i + 1) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/day11.rs:86:21 [INFO] [stdout] | [INFO] [stdout] 86 | if let Some(c) = data.get(j - 1) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/day11.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | if let Some(r) = data.get(i + 1) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/day11.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 94 | if let Some(c) = data.get(j) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/day11.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | if let Some(r) = data.get(i + 1) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/day11.rs:102:21 [INFO] [stdout] | [INFO] [stdout] 102 | if let Some(c) = data.get(j + 1) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/day11.rs:111:11 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn p2(path: &str) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_num_file` [INFO] [stdout] --> src/common.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn read_num_file(path: &str) -> Result, Report> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_str_file` [INFO] [stdout] --> src/common.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn read_str_file(path: &str) -> Result, Report> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `p1` [INFO] [stdout] --> src/day1.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn p1(path: &str) -> Result { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `p2` [INFO] [stdout] --> src/day1.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn p2(path: &str) -> Result { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `p1` [INFO] [stdout] --> src/day2.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn p1(path: &str) -> Result { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `p2` [INFO] [stdout] --> src/day2.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn p2(path: &str) -> Result { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `p1` [INFO] [stdout] --> src/day3.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn p1(path: &str) -> Result { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `p2` [INFO] [stdout] --> src/day3.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn p2(path: &str) -> Result { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Board` [INFO] [stdout] --> src/day4.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Board([[(i32, bool); 5]; 5]); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_bingo` [INFO] [stdout] --> src/day4.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | fn is_bingo(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_board` [INFO] [stdout] --> src/day4.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | fn set_board(&mut self, n: i32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unmarked_sum` [INFO] [stdout] --> src/day4.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | fn unmarked_sum(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Info3` [INFO] [stdout] --> src/day4.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | struct Info3 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `p1` [INFO] [stdout] --> src/day4.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn p1(path: &str) -> Result { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `p2` [INFO] [stdout] --> src/day4.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn p2(path: &str) -> Result { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_bingo` [INFO] [stdout] --> src/day4.rs:92:4 [INFO] [stdout] | [INFO] [stdout] 92 | fn read_bingo(path: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `p1` [INFO] [stdout] --> src/day5.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn p1(path: &str) -> Result { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `p2` [INFO] [stdout] --> src/day5.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn p2(path: &str) -> Result { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `p1` [INFO] [stdout] --> src/day6.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn p1(path: &str) -> Result { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `p2` [INFO] [stdout] --> src/day6.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn p2(path: &str) -> Result { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `p1` [INFO] [stdout] --> src/day7.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn p1(path: &str) -> Result { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `p2` [INFO] [stdout] --> src/day7.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn p2(path: &str) -> Result { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `p1` [INFO] [stdout] --> src/day8.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn p1(path: &str) -> Result { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `p2` [INFO] [stdout] --> src/day8.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn p2(path: &str) -> Result { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sig_init` [INFO] [stdout] --> src/day8.rs:104:4 [INFO] [stdout] | [INFO] [stdout] 104 | fn sig_init() -> HashMap> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sigs_found` [INFO] [stdout] --> src/day8.rs:115:4 [INFO] [stdout] | [INFO] [stdout] 115 | fn sigs_found(sigmap: &HashMap>) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `p1` [INFO] [stdout] --> src/day9.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn p1(path: &str) -> Result { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `p2` [INFO] [stdout] --> src/day9.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn p2(path: &str) -> Result { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_basin` [INFO] [stdout] --> src/day9.rs:87:4 [INFO] [stdout] | [INFO] [stdout] 87 | fn get_basin(data: &[Vec], visited: &mut Vec<(usize, usize)>, pos: (usize, usize)) -> u128 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `p1` [INFO] [stdout] --> src/day10.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn p1(path: &str) -> Result { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `p2` [INFO] [stdout] --> src/day10.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn p2(path: &str) -> Result { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 52 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 51.25s [INFO] running `Command { std: "docker" "inspect" "33241f195746446608e3d48b684a258cebe120906bc6a0f45e66f1a692551f0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33241f195746446608e3d48b684a258cebe120906bc6a0f45e66f1a692551f0d", kill_on_drop: false }` [INFO] [stdout] 33241f195746446608e3d48b684a258cebe120906bc6a0f45e66f1a692551f0d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-32/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-32/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd126ecf7368720a11fe46e9df24a5e3d97a2babb0bd8ef6d56fd14018e4e43f [INFO] running `Command { std: "docker" "start" "-a" "fd126ecf7368720a11fe46e9df24a5e3d97a2babb0bd8ef6d56fd14018e4e43f", kill_on_drop: false }` [INFO] [stderr] Compiling aoc2021 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `tracing::info` [INFO] [stdout] --> src/day9.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tracing::info; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `int_abs_diff` has been stable since 1.60.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(int_abs_diff)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `outp` [INFO] [stdout] --> src/day8.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | let outp = spl.next().unwrap().split(' ').collect::>(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_outp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/day11.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | for x in 0..n { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/day11.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | if let Some(r) = data.get(i - 1) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/day11.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | if let Some(c) = data.get(j - 1) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/day11.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | if let Some(r) = data.get(i - 1) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/day11.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | if let Some(c) = data.get(j) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/day11.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | if let Some(r) = data.get(i - 1) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/day11.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 62 | if let Some(c) = data.get(j + 1) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/day11.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | if let Some(r) = data.get(i) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/day11.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | if let Some(c) = data.get(j - 1) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/day11.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | if let Some(r) = data.get(i) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/day11.rs:78:21 [INFO] [stdout] | [INFO] [stdout] 78 | if let Some(c) = data.get(j + 1) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/day11.rs:85:17 [INFO] [stdout] | [INFO] [stdout] 85 | if let Some(r) = data.get(i + 1) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/day11.rs:86:21 [INFO] [stdout] | [INFO] [stdout] 86 | if let Some(c) = data.get(j - 1) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/day11.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | if let Some(r) = data.get(i + 1) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/day11.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 94 | if let Some(c) = data.get(j) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/day11.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | if let Some(r) = data.get(i + 1) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/day11.rs:102:21 [INFO] [stdout] | [INFO] [stdout] 102 | if let Some(c) = data.get(j + 1) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/day11.rs:111:11 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn p2(path: &str) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_num_file` [INFO] [stdout] --> src/common.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn read_num_file(path: &str) -> Result, Report> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_str_file` [INFO] [stdout] --> src/common.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn read_str_file(path: &str) -> Result, Report> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `p1` [INFO] [stdout] --> src/day1.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn p1(path: &str) -> Result { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `p2` [INFO] [stdout] --> src/day1.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn p2(path: &str) -> Result { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `p1` [INFO] [stdout] --> src/day2.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn p1(path: &str) -> Result { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `p2` [INFO] [stdout] --> src/day2.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn p2(path: &str) -> Result { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `p1` [INFO] [stdout] --> src/day3.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn p1(path: &str) -> Result { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `p2` [INFO] [stdout] --> src/day3.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn p2(path: &str) -> Result { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Board` [INFO] [stdout] --> src/day4.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Board([[(i32, bool); 5]; 5]); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_bingo` [INFO] [stdout] --> src/day4.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | fn is_bingo(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_board` [INFO] [stdout] --> src/day4.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | fn set_board(&mut self, n: i32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unmarked_sum` [INFO] [stdout] --> src/day4.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | fn unmarked_sum(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Info3` [INFO] [stdout] --> src/day4.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | struct Info3 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `p1` [INFO] [stdout] --> src/day4.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn p1(path: &str) -> Result { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `p2` [INFO] [stdout] --> src/day4.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn p2(path: &str) -> Result { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_bingo` [INFO] [stdout] --> src/day4.rs:92:4 [INFO] [stdout] | [INFO] [stdout] 92 | fn read_bingo(path: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `p1` [INFO] [stdout] --> src/day5.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn p1(path: &str) -> Result { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `p2` [INFO] [stdout] --> src/day5.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn p2(path: &str) -> Result { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `p1` [INFO] [stdout] --> src/day6.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn p1(path: &str) -> Result { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `p2` [INFO] [stdout] --> src/day6.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn p2(path: &str) -> Result { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `p1` [INFO] [stdout] --> src/day7.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn p1(path: &str) -> Result { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `p2` [INFO] [stdout] --> src/day7.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn p2(path: &str) -> Result { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `p1` [INFO] [stdout] --> src/day8.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn p1(path: &str) -> Result { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `p2` [INFO] [stdout] --> src/day8.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn p2(path: &str) -> Result { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sig_init` [INFO] [stdout] --> src/day8.rs:104:4 [INFO] [stdout] | [INFO] [stdout] 104 | fn sig_init() -> HashMap> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sigs_found` [INFO] [stdout] --> src/day8.rs:115:4 [INFO] [stdout] | [INFO] [stdout] 115 | fn sigs_found(sigmap: &HashMap>) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `p1` [INFO] [stdout] --> src/day9.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn p1(path: &str) -> Result { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `p2` [INFO] [stdout] --> src/day9.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn p2(path: &str) -> Result { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_basin` [INFO] [stdout] --> src/day9.rs:87:4 [INFO] [stdout] | [INFO] [stdout] 87 | fn get_basin(data: &[Vec], visited: &mut Vec<(usize, usize)>, pos: (usize, usize)) -> u128 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `p1` [INFO] [stdout] --> src/day10.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn p1(path: &str) -> Result { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `p2` [INFO] [stdout] --> src/day10.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn p2(path: &str) -> Result { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 52 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.67s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/aoc2021-c9adaa88ec2fd9fe) [INFO] running `Command { std: "docker" "inspect" "fd126ecf7368720a11fe46e9df24a5e3d97a2babb0bd8ef6d56fd14018e4e43f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd126ecf7368720a11fe46e9df24a5e3d97a2babb0bd8ef6d56fd14018e4e43f", kill_on_drop: false }` [INFO] [stdout] fd126ecf7368720a11fe46e9df24a5e3d97a2babb0bd8ef6d56fd14018e4e43f