[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#c5fbcd35a8217a17f6b63a22217ace06cf8f5f02 for pr-86194 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsvartalf%2Frust-advent-of-code-2017" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/svartalf/rust-advent-of-code-2017 on toolchain c5fbcd35a8217a17f6b63a22217ace06cf8f5f02 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c5fbcd35a8217a17f6b63a22217ace06cf8f5f02" "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-5/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" "+c5fbcd35a8217a17f6b63a22217ace06cf8f5f02" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+c5fbcd35a8217a17f6b63a22217ace06cf8f5f02" "metadata" "--no-deps" "--format-version=1", 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] b1619a43f1b53ac819cc27cdd1f9b599e3a65a9cb75ec29f57c3c72831a416f6 [INFO] running `Command { std: "docker" "start" "-a" "b1619a43f1b53ac819cc27cdd1f9b599e3a65a9cb75ec29f57c3c72831a416f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b1619a43f1b53ac819cc27cdd1f9b599e3a65a9cb75ec29f57c3c72831a416f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1619a43f1b53ac819cc27cdd1f9b599e3a65a9cb75ec29f57c3c72831a416f6", kill_on_drop: false }` [INFO] [stdout] b1619a43f1b53ac819cc27cdd1f9b599e3a65a9cb75ec29f57c3c72831a416f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+c5fbcd35a8217a17f6b63a22217ace06cf8f5f02" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0a893f903292428f20fb54f42151d47822f825d8f9ab57754e06f8d7553e5192 [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" "0a893f903292428f20fb54f42151d47822f825d8f9ab57754e06f8d7553e5192", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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: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: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: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] [stderr] error: could not compile `aoc2017` [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: 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: build failed [INFO] running `Command { std: "docker" "inspect" "0a893f903292428f20fb54f42151d47822f825d8f9ab57754e06f8d7553e5192", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a893f903292428f20fb54f42151d47822f825d8f9ab57754e06f8d7553e5192", kill_on_drop: false }` [INFO] [stdout] 0a893f903292428f20fb54f42151d47822f825d8f9ab57754e06f8d7553e5192