[INFO] cloning repository https://github.com/JanMaier97/advent-of-code-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JanMaier97/advent-of-code-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJanMaier97%2Fadvent-of-code-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJanMaier97%2Fadvent-of-code-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c4b303e11ab32509f932a7d1760505bc07109395 [INFO] building JanMaier97/advent-of-code-rs/c4b303e11ab32509f932a7d1760505bc07109395 against master#70591dc15db32941fe3595fdbf98e58d6975f95e for pr-127731 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJanMaier97%2Fadvent-of-code-rs" "/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/JanMaier97/advent-of-code-rs on toolchain 70591dc15db32941fe3595fdbf98e58d6975f95e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+70591dc15db32941fe3595fdbf98e58d6975f95e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JanMaier97/advent-of-code-rs [INFO] finished tweaking git repo https://github.com/JanMaier97/advent-of-code-rs [INFO] tweaked toml for git repo https://github.com/JanMaier97/advent-of-code-rs written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/JanMaier97/advent-of-code-rs 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" "+70591dc15db32941fe3595fdbf98e58d6975f95e" "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" "+70591dc15db32941fe3595fdbf98e58d6975f95e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] be4de44e8940b698a1aeb43131a905060a1cbef0e856f666e024c2d0ca77269c [INFO] running `Command { std: "docker" "start" "-a" "be4de44e8940b698a1aeb43131a905060a1cbef0e856f666e024c2d0ca77269c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "be4de44e8940b698a1aeb43131a905060a1cbef0e856f666e024c2d0ca77269c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be4de44e8940b698a1aeb43131a905060a1cbef0e856f666e024c2d0ca77269c", kill_on_drop: false }` [INFO] [stdout] be4de44e8940b698a1aeb43131a905060a1cbef0e856f666e024c2d0ca77269c [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" "+70591dc15db32941fe3595fdbf98e58d6975f95e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0200e851a624fe17bdd13813e50e39e95058c50c40fab4796c298d2940930902 [INFO] running `Command { std: "docker" "start" "-a" "0200e851a624fe17bdd13813e50e39e95058c50c40fab4796c298d2940930902", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling memchr v2.6.3 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling plotters-backend v0.3.5 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling ciborium-io v0.2.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling textwrap v0.16.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling plotters-svg v0.3.5 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling ciborium-ll v0.2.1 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling walkdir v2.4.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling aho-corasick v1.1.1 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling itertools v0.12.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling rayon v1.8.0 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling num-complex v0.4.4 [INFO] [stderr] Compiling plotters v0.3.5 [INFO] [stderr] Compiling regex-automata v0.3.8 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling num v0.4.1 [INFO] [stderr] Compiling regex v1.9.5 [INFO] [stderr] Compiling ciborium v0.2.1 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.4.0 [INFO] [stderr] Compiling advent_of_code_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `day_01` [INFO] [stdout] --> src/year_2022/mod.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | mod day_01; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `day_01`, create file "src/year_2022/day_01.rs" or "src/year_2022/day_01/mod.rs" [INFO] [stdout] = note: if there is a `mod day_01` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `solve` in module `day_01` [INFO] [stdout] --> src/year_2022/mod.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | day_01::solve()?; [INFO] [stdout] | ^^^^^ not found in `day_01` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 1 + use crate::year_2022::day_02::solve; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::year_2022::day_03::solve; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::year_2022::day_04::solve; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::year_2022::day_05::solve; [INFO] [stdout] | [INFO] [stdout] and 9 other candidates [INFO] [stdout] help: if you import `solve`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 18 - day_01::solve()?; [INFO] [stdout] 18 + solve()?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `f32::consts::E` [INFO] [stdout] --> src/year_2023/day_08/mod.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, f32::consts::E}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::collections::hash_map` [INFO] [stdout] --> src/year_2023/day_08/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rayon::collections::hash_map; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::pattern::Pattern` [INFO] [stdout] --> src/year_2023/day_13/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::str::pattern::Pattern; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'pattern': API not fully fleshed out and ready to be stabilized [INFO] [stdout] --> src/year_2023/day_13/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::str::pattern::Pattern; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27721 for more information [INFO] [stdout] = help: add `#![feature(pattern)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-08-01; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/year_2023/day_13/mod.rs:60:18 [INFO] [stdout] | [INFO] [stdout] 60 | let points = find_all_possible_points_of_reflection(pattern) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------- argument #2 of type `u32` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/year_2023/day_13/mod.rs:168:4 [INFO] [stdout] | [INFO] [stdout] 168 | fn find_all_possible_points_of_reflection(pattern: &[String], edit_distance: u32) -> ReflectionPoint { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ------------------ ------------------ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 60 | let points = find_all_possible_points_of_reflection(pattern, /* u32 */) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `ReflectionPoint` is not an iterator [INFO] [stdout] --> src/year_2023/day_13/mod.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 25 | struct ReflectionPoint { [INFO] [stdout] | ---------------------- method `into_iter` not found for this struct because it doesn't satisfy `ReflectionPoint: IntoIterator` or `ReflectionPoint: Iterator` [INFO] [stdout] ... [INFO] [stdout] 60 | let points = find_all_possible_points_of_reflection(pattern) [INFO] [stdout] | __________________- [INFO] [stdout] 61 | | .into_iter() [INFO] [stdout] | | -^^^^^^^^^ `ReflectionPoint` is not an iterator [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `ReflectionPoint: Iterator` [INFO] [stdout] which is required by `ReflectionPoint: IntoIterator` [INFO] [stdout] `&ReflectionPoint: Iterator` [INFO] [stdout] which is required by `&ReflectionPoint: IntoIterator` [INFO] [stdout] `&mut ReflectionPoint: Iterator` [INFO] [stdout] which is required by `&mut ReflectionPoint: IntoIterator` [INFO] [stdout] note: the trait `Iterator` must be implemented [INFO] [stdout] --> /rustc/70591dc15db32941fe3595fdbf98e58d6975f95e/library/core/src/iter/traits/iterator.rs:39:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `into_iter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `IntoIterator` [INFO] [stdout] candidate #2: `Producer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/year_2023/day_13/mod.rs:147:25 [INFO] [stdout] | [INFO] [stdout] 147 | if let Some(rows) = find_point_of_reflection(&pattern.rows) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^--------------- argument #2 of type `u32` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/year_2023/day_13/mod.rs:158:4 [INFO] [stdout] | [INFO] [stdout] 158 | fn find_point_of_reflection(pattern: &[String], edit_distance: u32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ------------------ ------------------ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 147 | if let Some(rows) = find_point_of_reflection(&pattern.rows, /* u32 */) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/year_2023/day_13/mod.rs:151:28 [INFO] [stdout] | [INFO] [stdout] 151 | if let Some(columns) = find_point_of_reflection(&pattern.columns) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^------------------ argument #2 of type `u32` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/year_2023/day_13/mod.rs:158:4 [INFO] [stdout] | [INFO] [stdout] 158 | fn find_point_of_reflection(pattern: &[String], edit_distance: u32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ------------------ ------------------ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 151 | if let Some(columns) = find_point_of_reflection(&pattern.columns, /* u32 */) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `ReflectionPoint` is not an iterator [INFO] [stdout] --> src/year_2023/day_13/mod.rs:159:16 [INFO] [stdout] | [INFO] [stdout] 159 | for idx in find_all_possible_points_of_reflection(pattern, edit_distance){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `ReflectionPoint` is not an iterator [INFO] [stdout] | [INFO] [stdout] = help: the trait `Iterator` is not implemented for `ReflectionPoint`, which is required by `ReflectionPoint: IntoIterator` [INFO] [stdout] = note: required for `ReflectionPoint` to implement `IntoIterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/year_2023/day_13/mod.rs:180:5 [INFO] [stdout] | [INFO] [stdout] 168 | fn find_all_possible_points_of_reflection(pattern: &[String], edit_distance: u32) -> ReflectionPoint { [INFO] [stdout] | --------------- expected `ReflectionPoint` because of return type [INFO] [stdout] ... [INFO] [stdout] 180 | indices [INFO] [stdout] | ^^^^^^^ expected `ReflectionPoint`, found `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `ReflectionPoint` [INFO] [stdout] found struct `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/year_2023/day_11/mod.rs:126:23 [INFO] [stdout] | [INFO] [stdout] 126 | .filter(|(idx, c)| *c == '#') [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `positions` [INFO] [stdout] --> src/year_2023/day_13/mod.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let positions = find_possible_smudge_in_pattern(pattern); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_positions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/year_2023/day_13/mod.rs:106:23 [INFO] [stdout] | [INFO] [stdout] 106 | fn replace_smudge(mut input: &str, index: usize) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/year_2023/day_13/mod.rs:106:36 [INFO] [stdout] | [INFO] [stdout] 106 | fn replace_smudge(mut input: &str, index: usize) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/year_2023/day_13/mod.rs:106:19 [INFO] [stdout] | [INFO] [stdout] 106 | fn replace_smudge(mut input: &str, index: usize) { [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: unused variable: `idx` [INFO] [stdout] --> src/year_2023/day_13/mod.rs:201:19 [INFO] [stdout] | [INFO] [stdout] 201 | .filter(|(idx, (a,b))| a != b ) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308, E0425, E0583, E0599, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent_of_code_rs` (lib) due to 10 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "0200e851a624fe17bdd13813e50e39e95058c50c40fab4796c298d2940930902", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0200e851a624fe17bdd13813e50e39e95058c50c40fab4796c298d2940930902", kill_on_drop: false }` [INFO] [stdout] 0200e851a624fe17bdd13813e50e39e95058c50c40fab4796c298d2940930902