[INFO] cloning repository https://github.com/zachcb/advent-of-code-2022 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zachcb/advent-of-code-2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzachcb%2Fadvent-of-code-2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzachcb%2Fadvent-of-code-2022'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3c113a72d9fe9c49dcdc48d12672b1fd1dd60da1 [INFO] checking zachcb/advent-of-code-2022 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzachcb%2Fadvent-of-code-2022" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/zachcb/advent-of-code-2022 [INFO] finished tweaking git repo https://github.com/zachcb/advent-of-code-2022 [INFO] tweaked toml for git repo https://github.com/zachcb/advent-of-code-2022 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/zachcb/advent-of-code-2022 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/zachcb/advent-of-code-2022 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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2d867d09365847ec0f3fe59244d077c567cdb30d8c298f907d31b8351be218ad [INFO] running `Command { std: "docker" "start" "-a" "2d867d09365847ec0f3fe59244d077c567cdb30d8c298f907d31b8351be218ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2d867d09365847ec0f3fe59244d077c567cdb30d8c298f907d31b8351be218ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d867d09365847ec0f3fe59244d077c567cdb30d8c298f907d31b8351be218ad", kill_on_drop: false }` [INFO] [stdout] 2d867d09365847ec0f3fe59244d077c567cdb30d8c298f907d31b8351be218ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f653a50b12b2bef40bbcb899d4ca1c7d1353a59ad02b1e5cbaa44a11f795b4e5 [INFO] running `Command { std: "docker" "start" "-a" "f653a50b12b2bef40bbcb899d4ca1c7d1353a59ad02b1e5cbaa44a11f795b4e5", kill_on_drop: false }` [INFO] [stderr] Checking advent-of-code-2022 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/calendar/day01/day01.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/calendar/day01/day01.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-code-2022` (bin "advent-of-code-2022") due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: a value of type `Vec>` cannot be built from an iterator over elements of type `Map, {closure@src/calendar/day01/day01.rs:7:32: 7:35}>` [INFO] [stdout] --> src/calendar/day01/day01.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | .collect::>>(); [INFO] [stdout] | ------- ^^^^^^^^^^^^^ value of type `Vec>` cannot be built from `std::iter::Iterator, {closure@src/calendar/day01/day01.rs:7:32: 7:35}>>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator, {closure@src/calendar/day01/day01.rs:7:32: 7:35}>>` is not implemented for `Vec>` [INFO] [stdout] but trait `FromIterator>` is implemented for it [INFO] [stdout] = help: for that trait implementation, expected `Vec`, found `Map, {closure@src/calendar/day01/day01.rs:7:32: 7:35}>` [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> src/calendar/day01/day01.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 6 | .split("\n\n") [INFO] [stdout] | ------------- `Iterator::Item` is `&str` here [INFO] [stdout] 7 | .map(|e| e.lines().map(|c| c.parse::())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Iterator::Item` changed to `Map, {closure@day01.rs:7:32}>` here [INFO] [stdout] | [INFO] [stdout] ::: src/calendar/day01/./input.txt:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / 5686 [INFO] [stdout] 2 | | 2211 [INFO] [stdout] 3 | | 1513 [INFO] [stdout] 4 | | 7036 [INFO] [stdout] ... | [INFO] [stdout] 2254 | | 1510 [INFO] [stdout] 2255 | | 5279 [INFO] [stdout] | |_____-this expression has type `&str` [INFO] [stdout] note: required by a bound in `collect` [INFO] [stdout] --> /rustc/8c32e313cccf7df531e2d49ffb8227bb92304aee/library/core/src/iter/traits/iterator.rs:2014:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/calendar/day01/day01.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn main() { [INFO] [stdout] | - expected `()` because of default return type [INFO] [stdout] ... [INFO] [stdout] 11 | get_most_calories(elves) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^- help: consider using a semicolon here: `;` [INFO] [stdout] | | [INFO] [stdout] | expected `()`, found `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `Vec>` cannot be built from an iterator over elements of type `Map, {closure@src/calendar/day01/day01.rs:7:32: 7:35}>` [INFO] [stdout] --> src/calendar/day01/day01.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | .collect::>>(); [INFO] [stdout] | ------- ^^^^^^^^^^^^^ value of type `Vec>` cannot be built from `std::iter::Iterator, {closure@src/calendar/day01/day01.rs:7:32: 7:35}>>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator, {closure@src/calendar/day01/day01.rs:7:32: 7:35}>>` is not implemented for `Vec>` [INFO] [stdout] but trait `FromIterator>` is implemented for it [INFO] [stdout] = help: for that trait implementation, expected `Vec`, found `Map, {closure@src/calendar/day01/day01.rs:7:32: 7:35}>` [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> src/calendar/day01/day01.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 6 | .split("\n\n") [INFO] [stdout] | ------------- `Iterator::Item` is `&str` here [INFO] [stdout] 7 | .map(|e| e.lines().map(|c| c.parse::())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Iterator::Item` changed to `Map, {closure@day01.rs:7:32}>` here [INFO] [stdout] | [INFO] [stdout] ::: src/calendar/day01/./input.txt:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / 5686 [INFO] [stdout] 2 | | 2211 [INFO] [stdout] 3 | | 1513 [INFO] [stdout] 4 | | 7036 [INFO] [stdout] ... | [INFO] [stdout] 2254 | | 1510 [INFO] [stdout] 2255 | | 5279 [INFO] [stdout] | |_____-this expression has type `&str` [INFO] [stdout] note: required by a bound in `collect` [INFO] [stdout] --> /rustc/8c32e313cccf7df531e2d49ffb8227bb92304aee/library/core/src/iter/traits/iterator.rs:2014:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/calendar/day01/day01.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn main() { [INFO] [stdout] | - expected `()` because of default return type [INFO] [stdout] ... [INFO] [stdout] 11 | get_most_calories(elves) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^- help: consider using a semicolon here: `;` [INFO] [stdout] | | [INFO] [stdout] | expected `()`, found `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-code-2022` (bin "advent-of-code-2022" test) due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "f653a50b12b2bef40bbcb899d4ca1c7d1353a59ad02b1e5cbaa44a11f795b4e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f653a50b12b2bef40bbcb899d4ca1c7d1353a59ad02b1e5cbaa44a11f795b4e5", kill_on_drop: false }` [INFO] [stdout] f653a50b12b2bef40bbcb899d4ca1c7d1353a59ad02b1e5cbaa44a11f795b4e5