[INFO] cloning repository https://github.com/addschile/advent_of_code_2021 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/addschile/advent_of_code_2021" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faddschile%2Fadvent_of_code_2021", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faddschile%2Fadvent_of_code_2021'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c25fdf82edfd321c1253ba5695e7c1c894cd6e18 [INFO] checking addschile/advent_of_code_2021 against master#5257aee7dd163d21d32fa904578d4fb0f4c91b79 for pr-116494-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faddschile%2Fadvent_of_code_2021" "/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/addschile/advent_of_code_2021 on toolchain 5257aee7dd163d21d32fa904578d4fb0f4c91b79 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5257aee7dd163d21d32fa904578d4fb0f4c91b79" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/addschile/advent_of_code_2021 [INFO] finished tweaking git repo https://github.com/addschile/advent_of_code_2021 [INFO] tweaked toml for git repo https://github.com/addschile/advent_of_code_2021 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/addschile/advent_of_code_2021 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" "+5257aee7dd163d21d32fa904578d4fb0f4c91b79" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking addschile/advent_of_code_2021 against try#d614ed876e31a5f3ad1d0fbf848fcdab3a29d1d8 for pr-116494-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faddschile%2Fadvent_of_code_2021" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/addschile/advent_of_code_2021 on toolchain d614ed876e31a5f3ad1d0fbf848fcdab3a29d1d8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d614ed876e31a5f3ad1d0fbf848fcdab3a29d1d8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/addschile/advent_of_code_2021 [INFO] finished tweaking git repo https://github.com/addschile/advent_of_code_2021 [INFO] tweaked toml for git repo https://github.com/addschile/advent_of_code_2021 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/addschile/advent_of_code_2021 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" "+d614ed876e31a5f3ad1d0fbf848fcdab3a29d1d8" "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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d614ed876e31a5f3ad1d0fbf848fcdab3a29d1d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0c2e3ef1b8c4c7edd65b96c906ddd2030388d3ecdd17868100e561c71057e60e [INFO] running `Command { std: "docker" "start" "-a" "0c2e3ef1b8c4c7edd65b96c906ddd2030388d3ecdd17868100e561c71057e60e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c2e3ef1b8c4c7edd65b96c906ddd2030388d3ecdd17868100e561c71057e60e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c2e3ef1b8c4c7edd65b96c906ddd2030388d3ecdd17868100e561c71057e60e", kill_on_drop: false }` [INFO] [stdout] 0c2e3ef1b8c4c7edd65b96c906ddd2030388d3ecdd17868100e561c71057e60e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d614ed876e31a5f3ad1d0fbf848fcdab3a29d1d8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e7125f4584d36d7bdfcf0817c70004a5086d37b05607621319f80b68825e7e69 [INFO] running `Command { std: "docker" "start" "-a" "e7125f4584d36d7bdfcf0817c70004a5086d37b05607621319f80b68825e7e69", kill_on_drop: false }` [INFO] [stderr] Checking advent_of_code_2021 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/prob4.rs:75:33 [INFO] [stdout] | [INFO] [stdout] 75 | let num: i32 = parse(digit); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: use `::<...>` instead of `<...>` to specify lifetime, type, or const arguments [INFO] [stdout] | [INFO] [stdout] 75 | let num: i32 = parse::(digit); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::prob4::problem4` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::prob4::problem4; [INFO] [stdout] | ^^^^^^^^^^^^^^-------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `problem3` [INFO] [stdout] | no `problem4` in `prob4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/prob4.rs:75:33 [INFO] [stdout] | [INFO] [stdout] 75 | let num: i32 = parse(digit); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: use `::<...>` instead of `<...>` to specify lifetime, type, or const arguments [INFO] [stdout] | [INFO] [stdout] 75 | let num: i32 = parse::(digit); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Point` in this scope [INFO] [stdout] --> src/prob4.rs:11:34 [INFO] [stdout] | [INFO] [stdout] 11 | fn to_point(&self) -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: these structs exist but are inaccessible [INFO] [stdout] --> src/prob3.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | struct Point { [INFO] [stdout] | ^^^^^^^^^^^^ `crate::prob3::Point`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: src/prob3b.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | struct Point { [INFO] [stdout] | ^^^^^^^^^^^^ `crate::prob3b::Point`: not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Point` in this scope [INFO] [stdout] --> src/prob4.rs:13:29 [INFO] [stdout] | [INFO] [stdout] 13 | "forward" => Ok(Point{vertical: 0, horizontal: self.length}), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: these structs exist but are inaccessible [INFO] [stdout] --> src/prob3.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | struct Point { [INFO] [stdout] | ^^^^^^^^^^^^ `crate::prob3::Point`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: src/prob3b.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | struct Point { [INFO] [stdout] | ^^^^^^^^^^^^ `crate::prob3b::Point`: not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Point` in this scope [INFO] [stdout] --> src/prob4.rs:14:30 [INFO] [stdout] | [INFO] [stdout] 14 | "backward" => Ok(Point{vertical: 0, horizontal: -self.length}), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: these structs exist but are inaccessible [INFO] [stdout] --> src/prob3.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | struct Point { [INFO] [stdout] | ^^^^^^^^^^^^ `crate::prob3::Point`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: src/prob3b.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | struct Point { [INFO] [stdout] | ^^^^^^^^^^^^ `crate::prob3b::Point`: not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Point` in this scope [INFO] [stdout] --> src/prob4.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | "up" => Ok(Point{vertical: -self.length, horizontal: 0}), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: these structs exist but are inaccessible [INFO] [stdout] --> src/prob3.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | struct Point { [INFO] [stdout] | ^^^^^^^^^^^^ `crate::prob3::Point`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: src/prob3b.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | struct Point { [INFO] [stdout] | ^^^^^^^^^^^^ `crate::prob3b::Point`: not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Point` in this scope [INFO] [stdout] --> src/prob4.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | "down" => Ok(Point{vertical: self.length, horizontal: 0}), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: these structs exist but are inaccessible [INFO] [stdout] --> src/prob3.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | struct Point { [INFO] [stdout] | ^^^^^^^^^^^^ `crate::prob3::Point`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: src/prob3b.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | struct Point { [INFO] [stdout] | ^^^^^^^^^^^^ `crate::prob3b::Point`: not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Point` in this scope [INFO] [stdout] --> src/prob4.rs:29:6 [INFO] [stdout] | [INFO] [stdout] 29 | impl Point { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: these structs exist but are inaccessible [INFO] [stdout] --> src/prob3.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | struct Point { [INFO] [stdout] | ^^^^^^^^^^^^ `crate::prob3::Point`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: src/prob3b.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | struct Point { [INFO] [stdout] | ^^^^^^^^^^^^ `crate::prob3b::Point`: not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Point` in this scope [INFO] [stdout] --> src/prob4.rs:31:30 [INFO] [stdout] | [INFO] [stdout] 31 | fn add(&mut self, point: Point) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: these structs exist but are inaccessible [INFO] [stdout] --> src/prob3.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | struct Point { [INFO] [stdout] | ^^^^^^^^^^^^ `crate::prob3::Point`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: src/prob3b.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | struct Point { [INFO] [stdout] | ^^^^^^^^^^^^ `crate::prob3b::Point`: not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Point` in this scope [INFO] [stdout] --> src/prob4.rs:40:20 [INFO] [stdout] | [INFO] [stdout] 40 | fn origin() -> Point { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: these structs exist but are inaccessible [INFO] [stdout] --> src/prob3.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | struct Point { [INFO] [stdout] | ^^^^^^^^^^^^ `crate::prob3::Point`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: src/prob3b.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | struct Point { [INFO] [stdout] | ^^^^^^^^^^^^ `crate::prob3b::Point`: not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Point` in this scope [INFO] [stdout] --> src/prob4.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | Point{vertical: 0, horizontal: 0} [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: these structs exist but are inaccessible [INFO] [stdout] --> src/prob3.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | struct Point { [INFO] [stdout] | ^^^^^^^^^^^^ `crate::prob3::Point`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: src/prob3b.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | struct Point { [INFO] [stdout] | ^^^^^^^^^^^^ `crate::prob3b::Point`: not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `counter` in this scope [INFO] [stdout] --> src/prob4.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | counter[idx] += 2*num - 1; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufReader` [INFO] [stdout] --> src/prob3.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::{self, BufReader, Read}, fs::File}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufReader` [INFO] [stdout] --> src/prob3b.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::{self, BufReader, Read}, fs::File}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufReader` [INFO] [stdout] --> src/prob4.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::{self, BufReader, Read}, fs::File}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `into_iter` exists for struct `String`, but its trait bounds were not satisfied [INFO] [stdout] --> src/prob4.rs:74:34 [INFO] [stdout] | [INFO] [stdout] 74 | for (idx, digit) in code.into_iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `String: Iterator` [INFO] [stdout] which is required by `String: IntoIterator` [INFO] [stdout] `&String: Iterator` [INFO] [stdout] which is required by `&String: IntoIterator` [INFO] [stdout] `&mut String: Iterator` [INFO] [stdout] which is required by `&mut String: IntoIterator` [INFO] [stdout] `str: Sized` [INFO] [stdout] which is required by `str: IntoIterator` [INFO] [stdout] `str: Iterator` [INFO] [stdout] which is required by `str: IntoIterator` [INFO] [stdout] `&str: Iterator` [INFO] [stdout] which is required by `&str: IntoIterator` [INFO] [stdout] `&mut str: Iterator` [INFO] [stdout] which is required by `&mut str: IntoIterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::prob4::problem4` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::prob4::problem4; [INFO] [stdout] | ^^^^^^^^^^^^^^-------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `problem3` [INFO] [stdout] | no `problem4` in `prob4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Point` in this scope [INFO] [stdout] --> src/prob4.rs:11:34 [INFO] [stdout] | [INFO] [stdout] 11 | fn to_point(&self) -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: these structs exist but are inaccessible [INFO] [stdout] --> src/prob3.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | struct Point { [INFO] [stdout] | ^^^^^^^^^^^^ `crate::prob3::Point`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: src/prob3b.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | struct Point { [INFO] [stdout] | ^^^^^^^^^^^^ `crate::prob3b::Point`: not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Point` in this scope [INFO] [stdout] --> src/prob4.rs:13:29 [INFO] [stdout] | [INFO] [stdout] 13 | "forward" => Ok(Point{vertical: 0, horizontal: self.length}), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: these structs exist but are inaccessible [INFO] [stdout] --> src/prob3.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | struct Point { [INFO] [stdout] | ^^^^^^^^^^^^ `crate::prob3::Point`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: src/prob3b.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | struct Point { [INFO] [stdout] | ^^^^^^^^^^^^ `crate::prob3b::Point`: not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Point` in this scope [INFO] [stdout] --> src/prob4.rs:14:30 [INFO] [stdout] | [INFO] [stdout] 14 | "backward" => Ok(Point{vertical: 0, horizontal: -self.length}), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: these structs exist but are inaccessible [INFO] [stdout] --> src/prob3.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | struct Point { [INFO] [stdout] | ^^^^^^^^^^^^ `crate::prob3::Point`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: src/prob3b.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | struct Point { [INFO] [stdout] | ^^^^^^^^^^^^ `crate::prob3b::Point`: not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Point` in this scope [INFO] [stdout] --> src/prob4.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | "up" => Ok(Point{vertical: -self.length, horizontal: 0}), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: these structs exist but are inaccessible [INFO] [stdout] --> src/prob3.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | struct Point { [INFO] [stdout] | ^^^^^^^^^^^^ `crate::prob3::Point`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: src/prob3b.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | struct Point { [INFO] [stdout] | ^^^^^^^^^^^^ `crate::prob3b::Point`: not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Point` in this scope [INFO] [stdout] --> src/prob4.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | "down" => Ok(Point{vertical: self.length, horizontal: 0}), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: these structs exist but are inaccessible [INFO] [stdout] --> src/prob3.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | struct Point { [INFO] [stdout] | ^^^^^^^^^^^^ `crate::prob3::Point`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: src/prob3b.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | struct Point { [INFO] [stdout] | ^^^^^^^^^^^^ `crate::prob3b::Point`: not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Point` in this scope [INFO] [stdout] --> src/prob4.rs:29:6 [INFO] [stdout] | [INFO] [stdout] 29 | impl Point { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: these structs exist but are inaccessible [INFO] [stdout] --> src/prob3.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | struct Point { [INFO] [stdout] | ^^^^^^^^^^^^ `crate::prob3::Point`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: src/prob3b.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | struct Point { [INFO] [stdout] | ^^^^^^^^^^^^ `crate::prob3b::Point`: not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Point` in this scope [INFO] [stdout] --> src/prob4.rs:31:30 [INFO] [stdout] | [INFO] [stdout] 31 | fn add(&mut self, point: Point) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: these structs exist but are inaccessible [INFO] [stdout] --> src/prob3.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | struct Point { [INFO] [stdout] | ^^^^^^^^^^^^ `crate::prob3::Point`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: src/prob3b.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | struct Point { [INFO] [stdout] | ^^^^^^^^^^^^ `crate::prob3b::Point`: not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Point` in this scope [INFO] [stdout] --> src/prob4.rs:40:20 [INFO] [stdout] | [INFO] [stdout] 40 | fn origin() -> Point { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: these structs exist but are inaccessible [INFO] [stdout] --> src/prob3.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | struct Point { [INFO] [stdout] | ^^^^^^^^^^^^ `crate::prob3::Point`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: src/prob3b.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | struct Point { [INFO] [stdout] | ^^^^^^^^^^^^ `crate::prob3b::Point`: not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Point` in this scope [INFO] [stdout] --> src/prob4.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | Point{vertical: 0, horizontal: 0} [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: these structs exist but are inaccessible [INFO] [stdout] --> src/prob3.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | struct Point { [INFO] [stdout] | ^^^^^^^^^^^^ `crate::prob3::Point`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: src/prob3b.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | struct Point { [INFO] [stdout] | ^^^^^^^^^^^^ `crate::prob3b::Point`: not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `counter` in this scope [INFO] [stdout] --> src/prob4.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | counter[idx] += 2*num - 1; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufReader` [INFO] [stdout] --> src/prob3.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::{self, BufReader, Read}, fs::File}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufReader` [INFO] [stdout] --> src/prob3b.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::{self, BufReader, Read}, fs::File}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufReader` [INFO] [stdout] --> src/prob4.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::{self, BufReader, Read}, fs::File}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent_of_code_2021` (bin "advent_of_code_2021") due to 14 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: the method `into_iter` exists for struct `String`, but its trait bounds were not satisfied [INFO] [stdout] --> src/prob4.rs:74:34 [INFO] [stdout] | [INFO] [stdout] 74 | for (idx, digit) in code.into_iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `String: Iterator` [INFO] [stdout] which is required by `String: IntoIterator` [INFO] [stdout] `&String: Iterator` [INFO] [stdout] which is required by `&String: IntoIterator` [INFO] [stdout] `&mut String: Iterator` [INFO] [stdout] which is required by `&mut String: IntoIterator` [INFO] [stdout] `str: Sized` [INFO] [stdout] which is required by `str: IntoIterator` [INFO] [stdout] `str: Iterator` [INFO] [stdout] which is required by `str: IntoIterator` [INFO] [stdout] `&str: Iterator` [INFO] [stdout] which is required by `&str: IntoIterator` [INFO] [stdout] `&mut str: Iterator` [INFO] [stdout] which is required by `&mut str: IntoIterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent_of_code_2021` (bin "advent_of_code_2021" test) due to 14 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e7125f4584d36d7bdfcf0817c70004a5086d37b05607621319f80b68825e7e69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7125f4584d36d7bdfcf0817c70004a5086d37b05607621319f80b68825e7e69", kill_on_drop: false }` [INFO] [stdout] e7125f4584d36d7bdfcf0817c70004a5086d37b05607621319f80b68825e7e69