[INFO] cloning repository https://github.com/gabucito/aoc-2022 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gabucito/aoc-2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgabucito%2Faoc-2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgabucito%2Faoc-2022'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3e4f61882d704aa27f7fe036416cb258c1c1a79e [INFO] checking gabucito/aoc-2022 against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgabucito%2Faoc-2022" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gabucito/aoc-2022 on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gabucito/aoc-2022 [INFO] finished tweaking git repo https://github.com/gabucito/aoc-2022 [INFO] tweaked toml for git repo https://github.com/gabucito/aoc-2022 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/gabucito/aoc-2022 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9f18135ad882b642506030feeb6488ec10d3ff330b87345d7c03674e269f9af9 [INFO] running `Command { std: "docker" "start" "-a" "9f18135ad882b642506030feeb6488ec10d3ff330b87345d7c03674e269f9af9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9f18135ad882b642506030feeb6488ec10d3ff330b87345d7c03674e269f9af9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f18135ad882b642506030feeb6488ec10d3ff330b87345d7c03674e269f9af9", kill_on_drop: false }` [INFO] [stdout] 9f18135ad882b642506030feeb6488ec10d3ff330b87345d7c03674e269f9af9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=forbid" "-e" "RUSTDOCFLAGS=--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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 36f53a154ce21f1c0e87d2da3e43a29a070cfa875a893f77185f7f5cb02869ce [INFO] running `Command { std: "docker" "start" "-a" "36f53a154ce21f1c0e87d2da3e43a29a070cfa875a893f77185f7f5cb02869ce", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking either v1.8.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking nom v7.1.1 [INFO] [stderr] Checking aoc-2022 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/day_12/mod.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashSet, 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/day_12/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::character::complete::digit1` [INFO] [stdout] --> src/day_13/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use nom::character::complete::digit1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error::ErrorKind`, `is_not`, `many0`, `map_res`, `map`, `one_of`, and `terminated` [INFO] [stdout] --> src/day_13/mod.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | bytes::complete::{is_not, tag}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | character::complete::{char, one_of}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | combinator::{map, map_res}, [INFO] [stdout] | ^^^ ^^^^^^^ [INFO] [stdout] 10 | error::ErrorKind, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | multi::{many0, separated_list0}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | sequence::{delimited, terminated}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/day_12/mod.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashSet, 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/day_12/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::character::complete::digit1` [INFO] [stdout] --> src/day_13/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use nom::character::complete::digit1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error::ErrorKind`, `is_not`, `many0`, `map_res`, `map`, `one_of`, and `terminated` [INFO] [stdout] --> src/day_13/mod.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | bytes::complete::{is_not, tag}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | character::complete::{char, one_of}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | combinator::{map, map_res}, [INFO] [stdout] | ^^^ ^^^^^^^ [INFO] [stdout] 10 | error::ErrorKind, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | multi::{many0, separated_list0}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | sequence::{delimited, terminated}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/day_09/mod.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | let start: Point = Point::new(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/day_09/mod.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | let start: Point = Point::new(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/day_09/mod.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | let start: Point = Point::new(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/day_09/mod.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | let start: Point = Point::new(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coordinates` [INFO] [stdout] --> src/day_14/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let coordinates: Vec> = contents [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coordinates` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coordinates` [INFO] [stdout] --> src/day_14/mod.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | let coordinates: Vec> = contents [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coordinates` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/day_11/mod.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 175 | pub struct Monkey { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 176 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Monkey` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Move` is never constructed [INFO] [stdout] --> src/day_11/mod.rs:211:8 [INFO] [stdout] | [INFO] [stdout] 211 | struct Move(usize, u64); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lcm` is never used [INFO] [stdout] --> src/day_11/mod.rs:221:4 [INFO] [stdout] | [INFO] [stdout] 221 | fn lcm(first: usize, second: usize) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gcd` is never used [INFO] [stdout] --> src/day_11/mod.rs:225:4 [INFO] [stdout] | [INFO] [stdout] 225 | fn gcd(first: usize, second: usize) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coordinates` [INFO] [stdout] --> src/day_14/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let coordinates: Vec> = contents [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coordinates` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coordinates` [INFO] [stdout] --> src/day_14/mod.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | let coordinates: Vec> = contents [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coordinates` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day_14/mod.rs:275:13 [INFO] [stdout] | [INFO] [stdout] 275 | let input = r#"498,4 -> 498,6 -> 496,6 [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/day_11/mod.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 175 | pub struct Monkey { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 176 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Monkey` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Move` is never constructed [INFO] [stdout] --> src/day_11/mod.rs:211:8 [INFO] [stdout] | [INFO] [stdout] 211 | struct Move(usize, u64); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lcm` is never used [INFO] [stdout] --> src/day_11/mod.rs:221:4 [INFO] [stdout] | [INFO] [stdout] 221 | fn lcm(first: usize, second: usize) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gcd` is never used [INFO] [stdout] --> src/day_11/mod.rs:225:4 [INFO] [stdout] | [INFO] [stdout] 225 | fn gcd(first: usize, second: usize) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.56s [INFO] running `Command { std: "docker" "inspect" "36f53a154ce21f1c0e87d2da3e43a29a070cfa875a893f77185f7f5cb02869ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36f53a154ce21f1c0e87d2da3e43a29a070cfa875a893f77185f7f5cb02869ce", kill_on_drop: false }` [INFO] [stdout] 36f53a154ce21f1c0e87d2da3e43a29a070cfa875a893f77185f7f5cb02869ce