[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#fc81ad22c453776de16acf9938976930cf8c9401 for pr-77325 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsvartalf%2Frust-advent-of-code-2017" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/svartalf/rust-advent-of-code-2017 on toolchain fc81ad22c453776de16acf9938976930cf8c9401 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+fc81ad22c453776de16acf9938976930cf8c9401" "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-0/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" "+fc81ad22c453776de16acf9938976930cf8c9401" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+fc81ad22c453776de16acf9938976930cf8c9401" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c83350c769bf2f1dea008f7192f9045c69e91ee51dc0a0154dabf1bc3f93a47c [INFO] running `Command { std: "docker" "start" "-a" "c83350c769bf2f1dea008f7192f9045c69e91ee51dc0a0154dabf1bc3f93a47c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c83350c769bf2f1dea008f7192f9045c69e91ee51dc0a0154dabf1bc3f93a47c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c83350c769bf2f1dea008f7192f9045c69e91ee51dc0a0154dabf1bc3f93a47c", kill_on_drop: false }` [INFO] [stdout] c83350c769bf2f1dea008f7192f9045c69e91ee51dc0a0154dabf1bc3f93a47c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+fc81ad22c453776de16acf9938976930cf8c9401" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 04314e145529acd7cfc29667cb4446091d9035e818d2b0a499b0fa63ae32a708 [INFO] running `Command { std: "docker" "start" "-a" "04314e145529acd7cfc29667cb4446091d9035e818d2b0a499b0fa63ae32a708", kill_on_drop: false }` [INFO] [stderr] Checking aoc2017 v0.1.0 (/opt/rustwide/workdir) [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: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: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: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: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: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 6 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this 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 6 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "04314e145529acd7cfc29667cb4446091d9035e818d2b0a499b0fa63ae32a708", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04314e145529acd7cfc29667cb4446091d9035e818d2b0a499b0fa63ae32a708", kill_on_drop: false }` [INFO] [stdout] 04314e145529acd7cfc29667cb4446091d9035e818d2b0a499b0fa63ae32a708