[INFO] cloning repository https://github.com/kyegupov/aoc2022 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kyegupov/aoc2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkyegupov%2Faoc2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkyegupov%2Faoc2022'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 70416b9f58820eb1fa6f49de31312dfba395e696 [INFO] testing kyegupov/aoc2022 against 1.86.0 for beta-1.87-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkyegupov%2Faoc2022" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kyegupov/aoc2022 on toolchain 1.86.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.86.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kyegupov/aoc2022 [INFO] finished tweaking git repo https://github.com/kyegupov/aoc2022 [INFO] tweaked toml for git repo https://github.com/kyegupov/aoc2022 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/kyegupov/aoc2022 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.86.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 160f7148c218c8a0f4976367bf304fa3589a3eb774d3afa9478c83d88ebc8093 [INFO] running `Command { std: "docker" "start" "-a" "160f7148c218c8a0f4976367bf304fa3589a3eb774d3afa9478c83d88ebc8093", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "160f7148c218c8a0f4976367bf304fa3589a3eb774d3afa9478c83d88ebc8093", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "160f7148c218c8a0f4976367bf304fa3589a3eb774d3afa9478c83d88ebc8093", kill_on_drop: false }` [INFO] [stdout] 160f7148c218c8a0f4976367bf304fa3589a3eb774d3afa9478c83d88ebc8093 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "RUSTDOCFLAGS=--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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b10e635a0f39c535e25be77169f1fc927da8d70aaa6289d87961b7eccb219177 [INFO] running `Command { std: "docker" "start" "-a" "b10e635a0f39c535e25be77169f1fc927da8d70aaa6289d87961b7eccb219177", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling aoc2022 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `bytes::complete::tag`, `character::complete::digit0`, `combinator::map`, `error`, and `sequence::tuple` [INFO] [stdout] --> src/main07.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | bytes::complete::tag, character::complete::digit0, combinator::map, error, sequence::tuple, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `bytes::complete::tag`, `character::complete::digit0`, `combinator::map`, `error`, and `sequence::tuple` [INFO] [stdout] --> src/main05a.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | bytes::complete::tag, character::complete::digit0, combinator::map, error, sequence::tuple, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/main03a.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | 'a'..='z' => (*c as i64 - 'a' as i64 + 1), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 10 - 'a'..='z' => (*c as i64 - 'a' as i64 + 1), [INFO] [stdout] 10 + 'a'..='z' => *c as i64 - 'a' as i64 + 1, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/main03a.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | 'A'..='Z' => (*c as i64 - 'A' as i64 + 27), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 11 - 'A'..='Z' => (*c as i64 - 'A' as i64 + 27), [INFO] [stdout] 11 + 'A'..='Z' => *c as i64 - 'A' as i64 + 27, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cmp::max` [INFO] [stdout] --> src/main09.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | cmp::max, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main02a.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | for (i, line) in read_to_string("input02.txt")?.lines().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `bytes::complete::tag`, `character::complete::digit0`, `combinator::map`, `error`, and `sequence::tuple` [INFO] [stdout] --> src/main09.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | bytes::complete::tag, character::complete::digit0, combinator::map, error, sequence::tuple, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main03a.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | for (i, line) in read_to_string("input03.txt")?.lines().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main05a.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | for (i, line) in read_to_string("input05.txt")?.lines().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main05a.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | for i in 0..qty { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `bytes::complete::tag`, `character::complete::digit0`, `combinator::map`, `error`, and `sequence::tuple` [INFO] [stdout] --> src/main08.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | bytes::complete::tag, character::complete::digit0, combinator::map, error, sequence::tuple, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BTreeSet` and `VecDeque` [INFO] [stdout] --> src/main14.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | collections::{BTreeMap, BTreeSet, VecDeque}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/main08.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `bytes::complete::tag`, `character::complete::digit0`, `combinator::map`, `error`, and `sequence::tuple` [INFO] [stdout] --> src/main05b.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | bytes::complete::tag, character::complete::digit0, combinator::map, error, sequence::tuple, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main09.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | for (i, line) in read_to_string("input09.txt")?.lines().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main07.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | for (i, line) in read_to_string("input07.txt")?.lines().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BTreeMap`, `BTreeSet`, `cmp::max`, and `iter` [INFO] [stdout] --> src/main10.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | cmp::max, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 3 | collections::{BTreeMap, BTreeSet}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | iter, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IResult`, `bytes::complete::tag`, `character::complete::digit0`, `combinator::map`, `error`, and `sequence::tuple` [INFO] [stdout] --> src/main10.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | bytes::complete::tag, character::complete::digit0, combinator::map, error, sequence::tuple, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | IResult, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main04b.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | for (i, line) in read_to_string("input04.txt")?.lines().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BTreeSet` [INFO] [stdout] --> src/main12.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | collections::{BTreeMap, BTreeSet, VecDeque}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Parser` is never used [INFO] [stdout] --> src/main09.rs:17:6 [INFO] [stdout] | [INFO] [stdout] 17 | type Parser<'a, T> = fn(&'a str) -> IResult<&'a str, T>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Entry` is never used [INFO] [stdout] --> src/main09.rs:20:6 [INFO] [stdout] | [INFO] [stdout] 20 | enum Entry { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Parser` is never used [INFO] [stdout] --> src/main05a.rs:10:6 [INFO] [stdout] | [INFO] [stdout] 10 | type Parser<'a, T> = fn(&'a str) -> IResult<&'a str, T>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Parser` is never used [INFO] [stdout] --> src/main07.rs:10:6 [INFO] [stdout] | [INFO] [stdout] 10 | type Parser<'a, T> = fn(&'a str) -> IResult<&'a str, T>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BTreeMap` and `VecDeque` [INFO] [stdout] --> src/main15.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | collections::{BTreeMap, BTreeSet, VecDeque}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/main15.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error`, `is_digit`, and `multi::separated_list1` [INFO] [stdout] --> src/main15.rs:11:35 [INFO] [stdout] | [INFO] [stdout] 11 | character::{complete::digit1, is_digit}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | combinator::{map, map_res, recognize}, [INFO] [stdout] 13 | error, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | multi::separated_list1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ops::Index` [INFO] [stdout] --> src/main13.rs:1:62 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{env, error::Error, fmt::Debug, fs::read_to_string, ops::Index}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `digit0` [INFO] [stdout] --> src/main13.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | character::complete::{digit0, digit1}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main05b.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | for (i, line) in read_to_string("input05.txt")?.lines().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main05b.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | for i in 0..qty { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main13.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | (Item::Number(x), Item::List(_)) => Item::List(vec![self.clone()]).cmp(other), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/main13.rs:37:42 [INFO] [stdout] | [INFO] [stdout] 37 | (Item::List(_), Item::Number(y)) => self.cmp(&Item::List(vec![other.clone()])), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main01b.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | for (i, line) in read_to_string("input01.txt")?.lines().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Parser` is never used [INFO] [stdout] --> src/main04b.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | type Parser<'a, T> = fn(&'a str) -> IResult<&'a str, T>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main01b.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | Err(x) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `directions` should have an upper case name [INFO] [stdout] --> src/main12.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | const directions: [Coord2D; 4] = [ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `DIRECTIONS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main01a.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | for (i, line) in read_to_string("input01.txt")?.lines().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main10.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | for (i, line) in read_to_string("input10.txt")?.lines().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main01a.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | Err(x) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Parser` is never used [INFO] [stdout] --> src/main05b.rs:10:6 [INFO] [stdout] | [INFO] [stdout] 10 | type Parser<'a, T> = fn(&'a str) -> IResult<&'a str, T>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main08.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | for (i, line) in read_to_string("input08.txt")?.lines().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Parser` is never used [INFO] [stdout] --> src/main08.rs:10:6 [INFO] [stdout] | [INFO] [stdout] 10 | type Parser<'a, T> = fn(&'a str) -> IResult<&'a str, T>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Entry` is never used [INFO] [stdout] --> src/main08.rs:13:6 [INFO] [stdout] | [INFO] [stdout] 13 | enum Entry { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/main14.rs:129:10 [INFO] [stdout] | [INFO] [stdout] 129 | for (y, line) in read_to_string("input14.txt")?.lines().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rules` [INFO] [stdout] --> src/main15.rs:95:27 [INFO] [stdout] | [INFO] [stdout] 95 | fn do_tick(&mut self, rules: &Rules) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_rules` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/main15.rs:105:10 [INFO] [stdout] | [INFO] [stdout] 105 | for (y, line) in read_to_string("input15.txt")?.lines().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/main15.rs:145:14 [INFO] [stdout] | [INFO] [stdout] 145 | for (s, b) in rules.sensors_beacons { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `directions` is never used [INFO] [stdout] --> src/main14.rs:42:7 [INFO] [stdout] | [INFO] [stdout] 42 | const directions: [Coord2D; 4] = [ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `directions` should have an upper case name [INFO] [stdout] --> src/main14.rs:42:7 [INFO] [stdout] | [INFO] [stdout] 42 | const directions: [Coord2D; 4] = [ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `DIRECTIONS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add` and `signum` are never used [INFO] [stdout] --> src/main15.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 25 | impl Coord2D { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 26 | fn add(self, o: Self) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | fn signum(&self) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `directions4` is never used [INFO] [stdout] --> src/main15.rs:50:7 [INFO] [stdout] | [INFO] [stdout] 50 | const directions4: [Coord2D; 4] = [ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `State` is never constructed [INFO] [stdout] --> src/main15.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | struct State {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `State` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_u64` is never used [INFO] [stdout] --> src/main15.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn parse_u64(input: &str) -> IResult<&str, u64> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `do_tick` is never used [INFO] [stdout] --> src/main15.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 94 | impl State { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 95 | fn do_tick(&mut self, rules: &Rules) {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `directions4` should have an upper case name [INFO] [stdout] --> src/main15.rs:50:7 [INFO] [stdout] | [INFO] [stdout] 50 | const directions4: [Coord2D; 4] = [ [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `DIRECTIONS4` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/main16.rs:95:30 [INFO] [stdout] | [INFO] [stdout] 95 | .filter(|(k)| !s.opened.contains(*k)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 95 - .filter(|(k)| !s.opened.contains(*k)) [INFO] [stdout] 95 + .filter(|k| !s.opened.contains(*k)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/main16.rs:96:27 [INFO] [stdout] | [INFO] [stdout] 96 | .map(|(k)| r.flows_by_idx[k] * (26 - 1 - r.distances_by_idx[0][k])) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 96 - .map(|(k)| r.flows_by_idx[k] * (26 - 1 - r.distances_by_idx[0][k])) [INFO] [stdout] 96 + .map(|k| r.flows_by_idx[k] * (26 - 1 - r.distances_by_idx[0][k])) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/main16.rs:167:10 [INFO] [stdout] | [INFO] [stdout] 167 | for (y, line) in read_to_string("input16.txt")?.lines().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i1` [INFO] [stdout] --> src/main16.rs:204:10 [INFO] [stdout] | [INFO] [stdout] 204 | for (i1, n1) in iter::once(&rules.start) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_i1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i2` [INFO] [stdout] --> src/main16.rs:209:14 [INFO] [stdout] | [INFO] [stdout] 209 | for (i2, n2) in iter::once(&rules.start) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_i2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_i64` is never used [INFO] [stdout] --> src/main16.rs:133:4 [INFO] [stdout] | [INFO] [stdout] 133 | fn parse_i64(input: &str) -> IResult<&str, i64> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `bytes::complete::tag`, `character::complete::digit0`, `combinator::map`, `error`, and `sequence::tuple` [INFO] [stdout] --> src/main06.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | bytes::complete::tag, character::complete::digit0, combinator::map, error, sequence::tuple, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main06.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | for (i, line) in read_to_string("input06.txt")?.lines().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Parser` is never used [INFO] [stdout] --> src/main06.rs:10:6 [INFO] [stdout] | [INFO] [stdout] 10 | type Parser<'a, T> = fn(&'a str) -> IResult<&'a str, T>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BTreeSet` [INFO] [stdout] --> src/main03b.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | collections::{BTreeMap, BTreeSet}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/main03b.rs:20:34 [INFO] [stdout] | [INFO] [stdout] 20 | 'a'..='z' => (c as i64 - 'a' as i64 + 1), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 20 - 'a'..='z' => (c as i64 - 'a' as i64 + 1), [INFO] [stdout] 20 + 'a'..='z' => c as i64 - 'a' as i64 + 1, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/main03b.rs:21:34 [INFO] [stdout] | [INFO] [stdout] 21 | 'A'..='Z' => (c as i64 - 'A' as i64 + 27), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 21 - 'A'..='Z' => (c as i64 - 'A' as i64 + 27), [INFO] [stdout] 21 + 'A'..='Z' => c as i64 - 'A' as i64 + 27, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main04a.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | for (i, line) in read_to_string("input04.txt")?.lines().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main02b.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | for (i, line) in read_to_string("input02.txt")?.lines().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Parser` is never used [INFO] [stdout] --> src/main04a.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | type Parser<'a, T> = fn(&'a str) -> IResult<&'a str, T>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcP1xYG3/symbols.o" "<6 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libitertools-97c8513d921155ec.rlib,libeither-abe67897b51ad1bb.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,libcfg_if-*,liblibc-*,liballoc-*,librustc_std_workspace_core-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/main11-3d3f2247e84c9a37" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: final link failed: No space left on device [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc2022` (bin "main11") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcjnIX0R/symbols.o" "<7 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libnom-11fde554b5014e63.rlib,libmemchr-996171f3a12ec51c.rlib,libbit_set-060e79b6ce5fafee.rlib,libbit_vec-ed19a9d324f969c4.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,libcfg_if-*,liblibc-*,liballoc-*,librustc_std_workspace_core-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/main16-cb946864250811ea" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: final link failed: No space left on device [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc2022` (bin "main16") due to 1 previous error; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b10e635a0f39c535e25be77169f1fc927da8d70aaa6289d87961b7eccb219177", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b10e635a0f39c535e25be77169f1fc927da8d70aaa6289d87961b7eccb219177", kill_on_drop: false }` [INFO] [stdout] b10e635a0f39c535e25be77169f1fc927da8d70aaa6289d87961b7eccb219177