[INFO] cloning repository https://github.com/smores56/aoc-2021 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/smores56/aoc-2021" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsmores56%2Faoc-2021", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsmores56%2Faoc-2021'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b94f3a7c2aaa29a90dd6d5161f2a63364bf0ce43 [INFO] testing smores56/aoc-2021 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsmores56%2Faoc-2021" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/smores56/aoc-2021 [INFO] finished tweaking git repo https://github.com/smores56/aoc-2021 [INFO] tweaked toml for git repo https://github.com/smores56/aoc-2021 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/smores56/aoc-2021 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/smores56/aoc-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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0290b47c7c0175342eeea80acab1d3b4144e2f5d1f0d1918cd4e1a2abe6e5eb8 [INFO] running `Command { std: "docker" "start" "-a" "0290b47c7c0175342eeea80acab1d3b4144e2f5d1f0d1918cd4e1a2abe6e5eb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0290b47c7c0175342eeea80acab1d3b4144e2f5d1f0d1918cd4e1a2abe6e5eb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0290b47c7c0175342eeea80acab1d3b4144e2f5d1f0d1918cd4e1a2abe6e5eb8", kill_on_drop: false }` [INFO] [stdout] 0290b47c7c0175342eeea80acab1d3b4144e2f5d1f0d1918cd4e1a2abe6e5eb8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 85a2af0a62629e06c7472146a3776f6c5868e438aacfdb516ba791a0093e3864 [INFO] running `Command { std: "docker" "start" "-a" "85a2af0a62629e06c7472146a3776f6c5868e438aacfdb516ba791a0093e3864", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling proc-macro2 v1.0.34 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.18 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling futures-task v0.3.18 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling futures-sink v0.3.18 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling futures-channel v0.3.18 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling serde v1.0.131 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling anyhow v1.0.51 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling textwrap v0.14.2 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling tokio-macros v1.6.0 [INFO] [stderr] Compiling clap_derive v3.0.0-rc.4 [INFO] [stderr] Compiling clap v3.0.0-rc.4 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.9 [INFO] [stderr] Compiling hyper v0.14.16 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.7 [INFO] [stderr] Compiling aoc-2021 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `std::fs::try_exists` [INFO] [stdout] --> src/input.rs:1:47 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::{create_dir_all, read_to_string, try_exists, write}; [INFO] [stdout] | ^^^^^^^^^^ no `try_exists` in `fs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VecDeque` [INFO] [stdout] --> src/day11.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashSet, VecDeque}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BinaryHeap`, `HashSet`, and `LinkedList` [INFO] [stdout] --> src/day15.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{BinaryHeap, HashSet, LinkedList}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `path_try_exists` has been stable since 1.63.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | path_try_exists, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `drain_filter` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | drain_filter, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `hash_drain_filter` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | hash_drain_filter [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `drain_filter` found for struct `HashSet` in the current scope [INFO] [stdout] --> src/day13.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 18 | / self.points [INFO] [stdout] 19 | | .drain_filter(|point| point.x > instruction.line) [INFO] [stdout] | | -^^^^^^^^^^^^ method not found in `HashSet` [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `drain_filter` found for struct `HashSet` in the current scope [INFO] [stdout] --> src/day13.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 26 | / self.points [INFO] [stdout] 27 | | .drain_filter(|point| point.y > instruction.line) [INFO] [stdout] | | -^^^^^^^^^^^^ method not found in `HashSet` [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `lef1` on type `SnailfishNumber` [INFO] [stdout] --> src/day18.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 31 | 3 * self.lef1 [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: a field with a similar name exists [INFO] [stdout] | [INFO] [stdout] 31 - 3 * self.lef1 [INFO] [stdout] 31 + 3 * self.left [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/day18.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn reduce(self) -> Self { [INFO] [stdout] | ---- expected `SnailfishNumber` because of return type [INFO] [stdout] 31 | 3 * self.lef1 [INFO] [stdout] | ^^^^^^^^^^^^^ expected `SnailfishNumber`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `drain_filter` found for struct `Vec<&str>` in the current scope [INFO] [stdout] --> src/day3.rs:52:38 [INFO] [stdout] | [INFO] [stdout] 52 | oxygen_rating_candidates.drain_filter(|candidate| { [INFO] [stdout] | -------------------------^^^^^^^^^^^^ method not found in `Vec<&str>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/day3.rs:52:52 [INFO] [stdout] | [INFO] [stdout] 52 | oxygen_rating_candidates.drain_filter(|candidate| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 53 | candidate.chars().nth(current_bit) == Some(most_common_bit) [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 52 | oxygen_rating_candidates.drain_filter(|candidate: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `drain_filter` found for struct `Vec<&str>` in the current scope [INFO] [stdout] --> src/day3.rs:74:46 [INFO] [stdout] | [INFO] [stdout] 74 | carbon_dioxide_rating_candidates.drain_filter(|candidate| { [INFO] [stdout] | ---------------------------------^^^^^^^^^^^^ method not found in `Vec<&str>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/day3.rs:74:60 [INFO] [stdout] | [INFO] [stdout] 74 | carbon_dioxide_rating_candidates.drain_filter(|candidate| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 75 | candidate.chars().nth(current_bit) == Some(least_common_bit) [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 74 | carbon_dioxide_rating_candidates.drain_filter(|candidate: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `drain_filter` found for struct `Vec` in the current scope [INFO] [stdout] --> src/day4.rs:124:38 [INFO] [stdout] | [INFO] [stdout] 124 | let mut winners = boards.drain_filter(|board| board.has_won()); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/day4.rs:124:52 [INFO] [stdout] | [INFO] [stdout] 124 | let mut winners = boards.drain_filter(|board| board.has_won()); [INFO] [stdout] | ^^^^^ ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 124 | let mut winners = boards.drain_filter(|board: /* Type */| board.has_won()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/day4.rs:126:33 [INFO] [stdout] | [INFO] [stdout] 126 | winning_score = winner.score(drawing); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/day15.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | let start = Point { x: 0, y: 0 }; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `goal` [INFO] [stdout] --> src/day15.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let goal = Point { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_goal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day17.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | fn part1(&self, input: &str) -> anyhow::Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0308, E0432, E0599, E0609, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc-2021` (bin "aoc-2021") due to 14 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "85a2af0a62629e06c7472146a3776f6c5868e438aacfdb516ba791a0093e3864", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85a2af0a62629e06c7472146a3776f6c5868e438aacfdb516ba791a0093e3864", kill_on_drop: false }` [INFO] [stdout] 85a2af0a62629e06c7472146a3776f6c5868e438aacfdb516ba791a0093e3864