[INFO] cloning repository https://github.com/sharms/advent-of-code-2020-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sharms/advent-of-code-2020-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsharms%2Fadvent-of-code-2020-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsharms%2Fadvent-of-code-2020-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f1b925a6b9e322c39e48147f0e2a6d6a9a96bbd7 [INFO] testing sharms/advent-of-code-2020-rs against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsharms%2Fadvent-of-code-2020-rs" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sharms/advent-of-code-2020-rs [INFO] finished tweaking git repo https://github.com/sharms/advent-of-code-2020-rs [INFO] tweaked toml for git repo https://github.com/sharms/advent-of-code-2020-rs written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sharms/advent-of-code-2020-rs on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sharms/advent-of-code-2020-rs 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d9dce24385b3e1a61c13ec346ccb343d8581e3323ff89fd280f8849f16e10587 [INFO] running `Command { std: "docker" "start" "-a" "d9dce24385b3e1a61c13ec346ccb343d8581e3323ff89fd280f8849f16e10587", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d9dce24385b3e1a61c13ec346ccb343d8581e3323ff89fd280f8849f16e10587", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9dce24385b3e1a61c13ec346ccb343d8581e3323ff89fd280f8849f16e10587", kill_on_drop: false }` [INFO] [stdout] d9dce24385b3e1a61c13ec346ccb343d8581e3323ff89fd280f8849f16e10587 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 7e0fe459dede8134bcd1dd1d2db085e8cc7d01832a77b05de0a20b6e58a6e8c8 [INFO] running `Command { std: "docker" "start" "-a" "7e0fe459dede8134bcd1dd1d2db085e8cc7d01832a77b05de0a20b6e58a6e8c8", kill_on_drop: false }` [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling part1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ErrorKind` and `Write` [INFO] [stdout] --> src/main.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{Write, BufReader, BufRead, Error, ErrorKind}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `std::io::Error` [INFO] [stdout] --> src/main.rs:9:77 [INFO] [stdout] | [INFO] [stdout] 9 | let v: Vec = buffer.lines().map(|l| l.and_then(|v| v.parse::()?)).collect()?; [INFO] [stdout] | --------------^ the trait `From` is not implemented for `std::io::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, ParseIntError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From>` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> src/main.rs:9:61 [INFO] [stdout] | [INFO] [stdout] 9 | let v: Vec = buffer.lines().map(|l| l.and_then(|v| v.parse::()?)).collect()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `Result<_, Error>`, found `i64` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `i64` to `Result<_, std::io::Error>` [INFO] [stdout] = note: expected enum `Result<_, std::io::Error>` [INFO] [stdout] found type `i64` [INFO] [stdout] note: return type inferred to be `Result<_, std::io::Error>` here [INFO] [stdout] --> src/main.rs:9:61 [INFO] [stdout] | [INFO] [stdout] 9 | let v: Vec = buffer.lines().map(|l| l.and_then(|v| v.parse::()?)).collect()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try wrapping the expression in `Ok` [INFO] [stdout] | [INFO] [stdout] 9 | let v: Vec = buffer.lines().map(|l| l.and_then(|v| Ok(v.parse::()?))).collect()?; [INFO] [stdout] | +++ + [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 `part1` (bin "part1") due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "7e0fe459dede8134bcd1dd1d2db085e8cc7d01832a77b05de0a20b6e58a6e8c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e0fe459dede8134bcd1dd1d2db085e8cc7d01832a77b05de0a20b6e58a6e8c8", kill_on_drop: false }` [INFO] [stdout] 7e0fe459dede8134bcd1dd1d2db085e8cc7d01832a77b05de0a20b6e58a6e8c8