[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] checking sharms/advent-of-code-2020-rs against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsharms%2Fadvent-of-code-2020-rs" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sharms/advent-of-code-2020-rs on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-6/source/Cargo.toml [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: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9877341a561f6359c65ade4ea080fcb653fcd79fad581e69ecd035399567d7fa [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9877341a561f6359c65ade4ea080fcb653fcd79fad581e69ecd035399567d7fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9877341a561f6359c65ade4ea080fcb653fcd79fad581e69ecd035399567d7fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9877341a561f6359c65ade4ea080fcb653fcd79fad581e69ecd035399567d7fa", kill_on_drop: false }` [INFO] [stdout] 9877341a561f6359c65ade4ea080fcb653fcd79fad581e69ecd035399567d7fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 156d286e0096e334f28917fb4e4f93235c956234c8a2a97d1648be79670a67de [INFO] running `Command { std: "docker" "start" "-a" "156d286e0096e334f28917fb4e4f93235c956234c8a2a97d1648be79670a67de", kill_on_drop: false }` [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking part1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ErrorKind`, `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] warning: unused imports: `ErrorKind`, `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] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] >> [INFO] [stdout] > [INFO] [stdout] = note: required by `from` [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] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] >> [INFO] [stdout] > [INFO] [stdout] = note: required by `from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: try expression alternatives have 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] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected enum `Result`, found `i64` [INFO] [stdout] | help: try using a variant of the expected enum: `Ok(v.parse::()?)` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<_, std::io::Error>` [INFO] [stdout] found type `i64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: try expression alternatives have 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] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected enum `Result`, found `i64` [INFO] [stdout] | help: try using a variant of the expected enum: `Ok(v.parse::()?)` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<_, std::io::Error>` [INFO] [stdout] found type `i64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [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: build failed [INFO] running `Command { std: "docker" "inspect" "156d286e0096e334f28917fb4e4f93235c956234c8a2a97d1648be79670a67de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "156d286e0096e334f28917fb4e4f93235c956234c8a2a97d1648be79670a67de", kill_on_drop: false }` [INFO] [stdout] 156d286e0096e334f28917fb4e4f93235c956234c8a2a97d1648be79670a67de