[INFO] cloning repository https://github.com/svartalf/rust-advent-of-code-2017 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/svartalf/rust-advent-of-code-2017" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsvartalf%2Frust-advent-of-code-2017", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsvartalf%2Frust-advent-of-code-2017'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 43c7b7c4e5fda091ba924f025b3e4b57070ee6bf [INFO] checking svartalf/rust-advent-of-code-2017 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsvartalf%2Frust-advent-of-code-2017" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/svartalf/rust-advent-of-code-2017 on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/svartalf/rust-advent-of-code-2017 [INFO] finished tweaking git repo https://github.com/svartalf/rust-advent-of-code-2017 [INFO] tweaked toml for git repo https://github.com/svartalf/rust-advent-of-code-2017 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/svartalf/rust-advent-of-code-2017 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 831188e3659e4c885a382d1f0a350f8b1ff1cd6005bb9150f3dbe3eb332d9705 [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" "831188e3659e4c885a382d1f0a350f8b1ff1cd6005bb9150f3dbe3eb332d9705", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "831188e3659e4c885a382d1f0a350f8b1ff1cd6005bb9150f3dbe3eb332d9705", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "831188e3659e4c885a382d1f0a350f8b1ff1cd6005bb9150f3dbe3eb332d9705", kill_on_drop: false }` [INFO] [stdout] 831188e3659e4c885a382d1f0a350f8b1ff1cd6005bb9150f3dbe3eb332d9705 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f634dc4a80156a9de587112201e69bd6d4ef74857887254ea15b5c2fe4e61c33 [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" "f634dc4a80156a9de587112201e69bd6d4ef74857887254ea15b5c2fe4e61c33", kill_on_drop: false }` [INFO] [stderr] Checking aoc2017 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `std::option::NoneError` [INFO] [stdout] --> src/days/day08/common.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::option::NoneError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `NoneError` in `option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::option::NoneError` [INFO] [stdout] --> src/days/day08/common.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::option::NoneError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `NoneError` in `option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/days/day19/common.rs:124:41 [INFO] [stdout] | [INFO] [stdout] 124 | ... letter @ 'A'...'Z' => Cell::Letter(letter), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/days/day19/common.rs:124:41 [INFO] [stdout] | [INFO] [stdout] 124 | ... letter @ 'A'...'Z' => Cell::Letter(letter), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/days/day08/common.rs:110:37 [INFO] [stdout] | [INFO] [stdout] 108 | / pub fn from(line: &'l str) -> Result { [INFO] [stdout] 109 | | let mut split = line.split_whitespace(); [INFO] [stdout] 110 | | let register1 = split.next()?; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result, ParseError>` [INFO] [stdout] 111 | | let op = Op::new( [INFO] [stdout] ... | [INFO] [stdout] 126 | | }) [INFO] [stdout] 127 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result, ParseError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/days/day08/common.rs:112:25 [INFO] [stdout] | [INFO] [stdout] 108 | / pub fn from(line: &'l str) -> Result { [INFO] [stdout] 109 | | let mut split = line.split_whitespace(); [INFO] [stdout] 110 | | let register1 = split.next()?; [INFO] [stdout] 111 | | let op = Op::new( [INFO] [stdout] 112 | | split.next()?, [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result, ParseError>` [INFO] [stdout] ... | [INFO] [stdout] 126 | | }) [INFO] [stdout] 127 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result, ParseError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/days/day08/common.rs:113:25 [INFO] [stdout] | [INFO] [stdout] 108 | / pub fn from(line: &'l str) -> Result { [INFO] [stdout] 109 | | let mut split = line.split_whitespace(); [INFO] [stdout] 110 | | let register1 = split.next()?; [INFO] [stdout] 111 | | let op = Op::new( [INFO] [stdout] 112 | | split.next()?, [INFO] [stdout] 113 | | split.next()?, [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result, ParseError>` [INFO] [stdout] ... | [INFO] [stdout] 126 | | }) [INFO] [stdout] 127 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result, ParseError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/days/day08/common.rs:115:37 [INFO] [stdout] | [INFO] [stdout] 108 | / pub fn from(line: &'l str) -> Result { [INFO] [stdout] 109 | | let mut split = line.split_whitespace(); [INFO] [stdout] 110 | | let register1 = split.next()?; [INFO] [stdout] 111 | | let op = Op::new( [INFO] [stdout] ... | [INFO] [stdout] 115 | | let register2 = split.nth(1)?; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result, ParseError>` [INFO] [stdout] ... | [INFO] [stdout] 126 | | }) [INFO] [stdout] 127 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result, ParseError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/days/day08/common.rs:117:25 [INFO] [stdout] | [INFO] [stdout] 108 | / pub fn from(line: &'l str) -> Result { [INFO] [stdout] 109 | | let mut split = line.split_whitespace(); [INFO] [stdout] 110 | | let register1 = split.next()?; [INFO] [stdout] 111 | | let op = Op::new( [INFO] [stdout] ... | [INFO] [stdout] 117 | | split.next()?, [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result, ParseError>` [INFO] [stdout] ... | [INFO] [stdout] 126 | | }) [INFO] [stdout] 127 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result, ParseError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/days/day08/common.rs:118:25 [INFO] [stdout] | [INFO] [stdout] 108 | / pub fn from(line: &'l str) -> Result { [INFO] [stdout] 109 | | let mut split = line.split_whitespace(); [INFO] [stdout] 110 | | let register1 = split.next()?; [INFO] [stdout] 111 | | let op = Op::new( [INFO] [stdout] ... | [INFO] [stdout] 118 | | split.next()?, [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result, ParseError>` [INFO] [stdout] ... | [INFO] [stdout] 126 | | }) [INFO] [stdout] 127 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result, ParseError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/days/day08/common.rs:110:37 [INFO] [stdout] | [INFO] [stdout] 108 | / pub fn from(line: &'l str) -> Result { [INFO] [stdout] 109 | | let mut split = line.split_whitespace(); [INFO] [stdout] 110 | | let register1 = split.next()?; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result, ParseError>` [INFO] [stdout] 111 | | let op = Op::new( [INFO] [stdout] ... | [INFO] [stdout] 126 | | }) [INFO] [stdout] 127 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result, ParseError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/days/day08/common.rs:112:25 [INFO] [stdout] | [INFO] [stdout] 108 | / pub fn from(line: &'l str) -> Result { [INFO] [stdout] 109 | | let mut split = line.split_whitespace(); [INFO] [stdout] 110 | | let register1 = split.next()?; [INFO] [stdout] 111 | | let op = Op::new( [INFO] [stdout] 112 | | split.next()?, [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result, ParseError>` [INFO] [stdout] ... | [INFO] [stdout] 126 | | }) [INFO] [stdout] 127 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result, ParseError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/days/day08/common.rs:113:25 [INFO] [stdout] | [INFO] [stdout] 108 | / pub fn from(line: &'l str) -> Result { [INFO] [stdout] 109 | | let mut split = line.split_whitespace(); [INFO] [stdout] 110 | | let register1 = split.next()?; [INFO] [stdout] 111 | | let op = Op::new( [INFO] [stdout] 112 | | split.next()?, [INFO] [stdout] 113 | | split.next()?, [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result, ParseError>` [INFO] [stdout] ... | [INFO] [stdout] 126 | | }) [INFO] [stdout] 127 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result, ParseError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/days/day08/common.rs:115:37 [INFO] [stdout] | [INFO] [stdout] 108 | / pub fn from(line: &'l str) -> Result { [INFO] [stdout] 109 | | let mut split = line.split_whitespace(); [INFO] [stdout] 110 | | let register1 = split.next()?; [INFO] [stdout] 111 | | let op = Op::new( [INFO] [stdout] ... | [INFO] [stdout] 115 | | let register2 = split.nth(1)?; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result, ParseError>` [INFO] [stdout] ... | [INFO] [stdout] 126 | | }) [INFO] [stdout] 127 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result, ParseError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/days/day08/common.rs:117:25 [INFO] [stdout] | [INFO] [stdout] 108 | / pub fn from(line: &'l str) -> Result { [INFO] [stdout] 109 | | let mut split = line.split_whitespace(); [INFO] [stdout] 110 | | let register1 = split.next()?; [INFO] [stdout] 111 | | let op = Op::new( [INFO] [stdout] ... | [INFO] [stdout] 117 | | split.next()?, [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result, ParseError>` [INFO] [stdout] ... | [INFO] [stdout] 126 | | }) [INFO] [stdout] 127 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result, ParseError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/days/day08/common.rs:118:25 [INFO] [stdout] | [INFO] [stdout] 108 | / pub fn from(line: &'l str) -> Result { [INFO] [stdout] 109 | | let mut split = line.split_whitespace(); [INFO] [stdout] 110 | | let register1 = split.next()?; [INFO] [stdout] 111 | | let op = Op::new( [INFO] [stdout] ... | [INFO] [stdout] 118 | | split.next()?, [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result, ParseError>` [INFO] [stdout] ... | [INFO] [stdout] 126 | | }) [INFO] [stdout] 127 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result, ParseError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc2017` due to 8 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "f634dc4a80156a9de587112201e69bd6d4ef74857887254ea15b5c2fe4e61c33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f634dc4a80156a9de587112201e69bd6d4ef74857887254ea15b5c2fe4e61c33", kill_on_drop: false }` [INFO] [stdout] f634dc4a80156a9de587112201e69bd6d4ef74857887254ea15b5c2fe4e61c33