[INFO] cloning repository https://github.com/zack-hill/advent-of-code [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zack-hill/advent-of-code" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzack-hill%2Fadvent-of-code", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzack-hill%2Fadvent-of-code'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 45b0eddfacc60ea7417a5b804165c5f3f0a51670 [INFO] checking zack-hill/advent-of-code against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzack-hill%2Fadvent-of-code" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/zack-hill/advent-of-code [INFO] finished tweaking git repo https://github.com/zack-hill/advent-of-code [INFO] tweaked toml for git repo https://github.com/zack-hill/advent-of-code written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/zack-hill/advent-of-code on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/zack-hill/advent-of-code 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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 690359cbabb7f45f080c980e49dcb4083e21768efa83d6f970997fc8e6ea0cde [INFO] running `Command { std: "docker" "start" "-a" "690359cbabb7f45f080c980e49dcb4083e21768efa83d6f970997fc8e6ea0cde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "690359cbabb7f45f080c980e49dcb4083e21768efa83d6f970997fc8e6ea0cde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "690359cbabb7f45f080c980e49dcb4083e21768efa83d6f970997fc8e6ea0cde", kill_on_drop: false }` [INFO] [stdout] 690359cbabb7f45f080c980e49dcb4083e21768efa83d6f970997fc8e6ea0cde [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fc976781d5adbd7b875e916f79693cc9aac823cf57f6318c422d9f7759f879e0 [INFO] running `Command { std: "docker" "start" "-a" "fc976781d5adbd7b875e916f79693cc9aac823cf57f6318c422d9f7759f879e0", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking colored v2.2.0 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking advent-of-code v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `extract_if` has been stable since 1.87.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(extract_if)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `extract_if` has been stable since 1.87.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(extract_if)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/2021/day_03.rs:48:45 [INFO] [stdout] | [INFO] [stdout] 48 | let _ = working_set.extract_if(|x| x[position] != 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] 48 | let _ = working_set.extract_if(|x: /* Type */| x[position] != most_common_bit); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/2021/day_03.rs:48:33 [INFO] [stdout] | [INFO] [stdout] 48 | let _ = working_set.extract_if(|x| x[position] != most_common_bit); [INFO] [stdout] | ^^^^^^^^^^------------------------------------ argument #2 is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/alloc/src/vec/mod.rs:3757:12 [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 48 | let _ = working_set.extract_if(|x| x[position] != most_common_bit, /* filter */); [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/2021/day_03.rs:66:33 [INFO] [stdout] | [INFO] [stdout] 66 | let _ = working_set.extract_if(|x| x[position] != most_common_bit); [INFO] [stdout] | ^^^^^^^^^^------------------------------------ argument #2 is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/alloc/src/vec/mod.rs:3757:12 [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 66 | let _ = working_set.extract_if(|x| x[position] != most_common_bit, /* filter */); [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/2021/day_03.rs:48:45 [INFO] [stdout] | [INFO] [stdout] 48 | let _ = working_set.extract_if(|x| x[position] != 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] 48 | let _ = working_set.extract_if(|x: /* Type */| x[position] != most_common_bit); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/2021/day_04.rs:55:32 [INFO] [stdout] | [INFO] [stdout] 55 | let _ = boards.extract_if(|board| has_board_won(&board, &called_numbers)); [INFO] [stdout] | ^^^^^^^^^^------------------------------------------------ argument #2 is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/alloc/src/vec/mod.rs:3757:12 [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 55 | let _ = boards.extract_if(|board| has_board_won(&board, &called_numbers), /* filter */); [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/2021/day_03.rs:48:33 [INFO] [stdout] | [INFO] [stdout] 48 | let _ = working_set.extract_if(|x| x[position] != most_common_bit); [INFO] [stdout] | ^^^^^^^^^^------------------------------------ argument #2 is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/alloc/src/vec/mod.rs:3757:12 [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 48 | let _ = working_set.extract_if(|x| x[position] != most_common_bit, /* filter */); [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/2021/day_03.rs:66:33 [INFO] [stdout] | [INFO] [stdout] 66 | let _ = working_set.extract_if(|x| x[position] != most_common_bit); [INFO] [stdout] | ^^^^^^^^^^------------------------------------ argument #2 is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/alloc/src/vec/mod.rs:3757:12 [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 66 | let _ = working_set.extract_if(|x| x[position] != most_common_bit, /* filter */); [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `{closure@src/2021/day_04.rs:55:43: 55:50}: RangeBounds` is not satisfied [INFO] [stdout] --> src/2021/day_04.rs:55:43 [INFO] [stdout] | [INFO] [stdout] 55 | let _ = boards.extract_if(|board| has_board_won(&board, &called_numbers)); [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `RangeBounds` is not implemented for closure `{closure@src/2021/day_04.rs:55:43: 55:50}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Vec::::extract_if` [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/alloc/src/vec/mod.rs:3757:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/2021/day_04.rs:55:32 [INFO] [stdout] | [INFO] [stdout] 55 | let _ = boards.extract_if(|board| has_board_won(&board, &called_numbers)); [INFO] [stdout] | ^^^^^^^^^^------------------------------------------------ argument #2 is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/alloc/src/vec/mod.rs:3757:12 [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 55 | let _ = boards.extract_if(|board| has_board_won(&board, &called_numbers), /* filter */); [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `{closure@src/2021/day_04.rs:55:43: 55:50}: RangeBounds` is not satisfied [INFO] [stdout] --> src/2021/day_04.rs:55:43 [INFO] [stdout] | [INFO] [stdout] 55 | let _ = boards.extract_if(|board| has_board_won(&board, &called_numbers)); [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `RangeBounds` is not implemented for closure `{closure@src/2021/day_04.rs:55:43: 55:50}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Vec::::extract_if` [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/alloc/src/vec/mod.rs:3757:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/2024/day_05.rs:136:14 [INFO] [stdout] | [INFO] [stdout] 136 | .extract_if(|(left, _)| left == &page) [INFO] [stdout] | ^^^^^^^^^^--------------------------- argument #2 is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/alloc/src/vec/mod.rs:3757:12 [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 136 | .extract_if(|(left, _)| left == &page, /* filter */) [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `{closure@src/2024/day_05.rs:136:25: 136:36}: RangeBounds` is not satisfied [INFO] [stdout] --> src/2024/day_05.rs:136:25 [INFO] [stdout] | [INFO] [stdout] 136 | .extract_if(|(left, _)| left == &page) [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `RangeBounds` is not implemented for closure `{closure@src/2024/day_05.rs:136:25: 136:36}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Vec::::extract_if` [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/alloc/src/vec/mod.rs:3757:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/2024/day_05.rs:136:14 [INFO] [stdout] | [INFO] [stdout] 136 | .extract_if(|(left, _)| left == &page) [INFO] [stdout] | ^^^^^^^^^^--------------------------- argument #2 is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/alloc/src/vec/mod.rs:3757:12 [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 136 | .extract_if(|(left, _)| left == &page, /* filter */) [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `{closure@src/2024/day_05.rs:136:25: 136:36}: RangeBounds` is not satisfied [INFO] [stdout] --> src/2024/day_05.rs:136:25 [INFO] [stdout] | [INFO] [stdout] 136 | .extract_if(|(left, _)| left == &page) [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `RangeBounds` is not implemented for closure `{closure@src/2024/day_05.rs:136:25: 136:36}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Vec::::extract_if` [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/alloc/src/vec/mod.rs:3757:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0282. [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` (bin "advent-of-code") 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: E0061, E0277, E0282. [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` (bin "advent-of-code" test) due to 7 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "fc976781d5adbd7b875e916f79693cc9aac823cf57f6318c422d9f7759f879e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc976781d5adbd7b875e916f79693cc9aac823cf57f6318c422d9f7759f879e0", kill_on_drop: false }` [INFO] [stdout] fc976781d5adbd7b875e916f79693cc9aac823cf57f6318c422d9f7759f879e0