[INFO] cloning repository https://github.com/adamagatt/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/adamagatt/advent_of_code_2021" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadamagatt%2Fadvent_of_code_2021", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadamagatt%2Fadvent_of_code_2021'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2ee73018a071d71f5163658ce426c6ea6129ca2d [INFO] checking adamagatt/advent_of_code_2021 against try#94e848735e78b58442e0b82e9c60f8f430840389 for pr-149218 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadamagatt%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] started tweaking git repo https://github.com/adamagatt/advent_of_code_2021 [INFO] finished tweaking git repo https://github.com/adamagatt/advent_of_code_2021 [INFO] tweaked toml for git repo https://github.com/adamagatt/advent_of_code_2021 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/adamagatt/advent_of_code_2021 on toolchain 94e848735e78b58442e0b82e9c60f8f430840389 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+94e848735e78b58442e0b82e9c60f8f430840389" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/adamagatt/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" "+94e848735e78b58442e0b82e9c60f8f430840389" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking adamagatt/advent_of_code_2021 against try#94e848735e78b58442e0b82e9c60f8f430840389 for pr-149218 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadamagatt%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] started tweaking git repo https://github.com/adamagatt/advent_of_code_2021 [INFO] finished tweaking git repo https://github.com/adamagatt/advent_of_code_2021 [INFO] tweaked toml for git repo https://github.com/adamagatt/advent_of_code_2021 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/adamagatt/advent_of_code_2021 on toolchain 94e848735e78b58442e0b82e9c60f8f430840389 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+94e848735e78b58442e0b82e9c60f8f430840389" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/adamagatt/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" "+94e848735e78b58442e0b82e9c60f8f430840389" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded permute v0.2.1 [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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+94e848735e78b58442e0b82e9c60f8f430840389" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 734309b870919f5da8b045701661313d04a796664b1fd600e90627d887ccac42 [INFO] running `Command { std: "docker" "start" "-a" "734309b870919f5da8b045701661313d04a796664b1fd600e90627d887ccac42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "734309b870919f5da8b045701661313d04a796664b1fd600e90627d887ccac42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "734309b870919f5da8b045701661313d04a796664b1fd600e90627d887ccac42", kill_on_drop: false }` [INFO] [stdout] 734309b870919f5da8b045701661313d04a796664b1fd600e90627d887ccac42 [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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+94e848735e78b58442e0b82e9c60f8f430840389" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d8dec54b20d068787a0643ae35c6a2bcee4b4c3b593482b2d257450288ad9e30 [INFO] running `Command { std: "docker" "start" "-a" "d8dec54b20d068787a0643ae35c6a2bcee4b4c3b593482b2d257450288ad9e30", kill_on_drop: false }` [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking permute v0.2.1 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Checking aoc2021 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0635]: unknown feature `result_into_ok_or_err` [INFO] [stdout] --> src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(result_into_ok_or_err)] // Solution 23 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `drain_filter` [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(drain_filter)] // Solution 22 [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `result_into_ok_or_err` [INFO] [stdout] --> src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(result_into_ok_or_err)] // Solution 23 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `drain_filter` [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(drain_filter)] // Solution 22 [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/solutions/solution22.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 40 | let mut new_cubes: Vec = active_regions [INFO] [stdout] | ________________________________________- [INFO] [stdout] 41 | | // Remove any intersected regions for re-processing [INFO] [stdout] 42 | | .drain_filter(|region| region.intersects(&command.region)) [INFO] [stdout] | | -^^^^^^^^^^^^ method not found in `Vec` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/solutions/solution22.rs:42:28 [INFO] [stdout] | [INFO] [stdout] 42 | .drain_filter(|region| region.intersects(&command.region)) [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] 42 | .drain_filter(|region: /* Type */| region.intersects(&command.region)) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/solutions/solution22.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | .flat_map(|region| { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 45 | let intersection = region.intersection(&command.region); [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] 44 | .flat_map(|region: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/solutions/solution22.rs:55:22 [INFO] [stdout] | [INFO] [stdout] 55 | .filter(|region| !region.is_empty()) [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] 55 | .filter(|region: /* Type */| !region.is_empty()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_ok_or_err` found for enum `Result` in the current scope [INFO] [stdout] --> src/solutions/solution23.rs:99:10 [INFO] [stdout] | [INFO] [stdout] 98 | let new_idx = list[..current_node_idx].binary_search_by_key(&new_node.total_cost_estimate, |x| x.total_cost_estimate) [INFO] [stdout] | ___________________- [INFO] [stdout] 99 | | .into_ok_or_err(); [INFO] [stdout] | | -^^^^^^^^^^^^^^ method not found in `Result` [INFO] [stdout] | |_________| [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/solutions/solution22.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 40 | let mut new_cubes: Vec = active_regions [INFO] [stdout] | ________________________________________- [INFO] [stdout] 41 | | // Remove any intersected regions for re-processing [INFO] [stdout] 42 | | .drain_filter(|region| region.intersects(&command.region)) [INFO] [stdout] | | -^^^^^^^^^^^^ method not found in `Vec` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/solutions/solution22.rs:42:28 [INFO] [stdout] | [INFO] [stdout] 42 | .drain_filter(|region| region.intersects(&command.region)) [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] 42 | .drain_filter(|region: /* Type */| region.intersects(&command.region)) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/solutions/solution22.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | .flat_map(|region| { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 45 | let intersection = region.intersection(&command.region); [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] 44 | .flat_map(|region: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/solutions/solution22.rs:55:22 [INFO] [stdout] | [INFO] [stdout] 55 | .filter(|region| !region.is_empty()) [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] 55 | .filter(|region: /* Type */| !region.is_empty()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_ok_or_err` found for enum `Result` in the current scope [INFO] [stdout] --> src/solutions/solution23.rs:99:10 [INFO] [stdout] | [INFO] [stdout] 98 | let new_idx = list[..current_node_idx].binary_search_by_key(&new_node.total_cost_estimate, |x| x.total_cost_estimate) [INFO] [stdout] | ___________________- [INFO] [stdout] 99 | | .into_ok_or_err(); [INFO] [stdout] | | -^^^^^^^^^^^^^^ method not found in `Result` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `bingo_line` is never read [INFO] [stdout] --> src/solutions/solution4.rs:112:20 [INFO] [stdout] | [INFO] [stdout] 112 | while let Some(mut bingo_line) = lines_iter.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `bingo_line` is never read [INFO] [stdout] --> src/solutions/solution4.rs:112:20 [INFO] [stdout] | [INFO] [stdout] 112 | while let Some(mut bingo_line) = lines_iter.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0599, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc2021` (bin "aoc2021") due to 7 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0282, E0599, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc2021` (bin "aoc2021" test) due to 7 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "d8dec54b20d068787a0643ae35c6a2bcee4b4c3b593482b2d257450288ad9e30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8dec54b20d068787a0643ae35c6a2bcee4b4c3b593482b2d257450288ad9e30", kill_on_drop: false }` [INFO] [stdout] d8dec54b20d068787a0643ae35c6a2bcee4b4c3b593482b2d257450288ad9e30