[INFO] cloning repository https://github.com/anandubey/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/anandubey/advent-of-code" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanandubey%2Fadvent-of-code", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanandubey%2Fadvent-of-code'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5a3721609a3ca6e5b15b8f77091e06e3c60c68e9 [INFO] checking anandubey/advent-of-code/5a3721609a3ca6e5b15b8f77091e06e3c60c68e9 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanandubey%2Fadvent-of-code" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/anandubey/advent-of-code on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/anandubey/advent-of-code [INFO] finished tweaking git repo https://github.com/anandubey/advent-of-code [INFO] tweaked toml for git repo https://github.com/anandubey/advent-of-code written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/anandubey/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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ebd1363ccb38d263b0a788d0f965bea6a72c6d9936c36c7c8ef45d38680a537b [INFO] running `Command { std: "docker" "start" "-a" "ebd1363ccb38d263b0a788d0f965bea6a72c6d9936c36c7c8ef45d38680a537b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ebd1363ccb38d263b0a788d0f965bea6a72c6d9936c36c7c8ef45d38680a537b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebd1363ccb38d263b0a788d0f965bea6a72c6d9936c36c7c8ef45d38680a537b", kill_on_drop: false }` [INFO] [stdout] ebd1363ccb38d263b0a788d0f965bea6a72c6d9936c36c7c8ef45d38680a537b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d8cabb21c2fea8854fd0d3a68d0e2c7d150cd101d0ad48d0ce278df6453d9f0 [INFO] running `Command { std: "docker" "start" "-a" "1d8cabb21c2fea8854fd0d3a68d0e2c7d150cd101d0ad48d0ce278df6453d9f0", kill_on_drop: false }` [INFO] [stderr] Checking day-01 v0.1.0 (/opt/rustwide/workdir/day-01) [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> day-01/src/part2.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | children: HashMap, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> day-01/src/part2.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | children: HashMap, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> day-01/src/part2.rs:15:27 [INFO] [stdout] | [INFO] [stdout] 15 | .filter_map(|inp| { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 16 | | [INFO] [stdout] 17 | | // inp.chars().find(|ch| ch.is_numeric()).map(|left| { [INFO] [stdout] 18 | | // ((left as u32) - 48) * 10 [INFO] [stdout] 19 | | // + ((inp.chars().rfind(|ch| ch.is_numeric()).unwrap() as u32) - 48) [INFO] [stdout] 20 | | // }) [INFO] [stdout] 21 | | }) [INFO] [stdout] | |_________^ expected `Option<_>`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option<_>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> day-01/src/part2.rs:15:27 [INFO] [stdout] | [INFO] [stdout] 15 | .filter_map(|inp| { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 16 | | [INFO] [stdout] 17 | | // inp.chars().find(|ch| ch.is_numeric()).map(|left| { [INFO] [stdout] 18 | | // ((left as u32) - 48) * 10 [INFO] [stdout] 19 | | // + ((inp.chars().rfind(|ch| ch.is_numeric()).unwrap() as u32) - 48) [INFO] [stdout] 20 | | // }) [INFO] [stdout] 21 | | }) [INFO] [stdout] | |_________^ expected `Option<_>`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option<_>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `day-01` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `day-01` (lib test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "1d8cabb21c2fea8854fd0d3a68d0e2c7d150cd101d0ad48d0ce278df6453d9f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d8cabb21c2fea8854fd0d3a68d0e2c7d150cd101d0ad48d0ce278df6453d9f0", kill_on_drop: false }` [INFO] [stdout] 1d8cabb21c2fea8854fd0d3a68d0e2c7d150cd101d0ad48d0ce278df6453d9f0