[INFO] fetching crate goff 0.1.0... [INFO] checking goff-0.1.0 against master#c5fbcd35a8217a17f6b63a22217ace06cf8f5f02 for pr-86194 [INFO] extracting crate goff 0.1.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate goff 0.1.0 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 crates.io crate goff 0.1.0 [INFO] finished tweaking crates.io crate goff 0.1.0 [INFO] tweaked toml for crates.io crate goff 0.1.0 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c5fbcd35a8217a17f6b63a22217ace06cf8f5f02" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [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-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] [stdout] 6d8627bc64d7a76aeae2fc962931027b2d4858fcb28b80435dee4bce81a6f55d [INFO] running `Command { std: "docker" "start" "-a" "6d8627bc64d7a76aeae2fc962931027b2d4858fcb28b80435dee4bce81a6f55d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6d8627bc64d7a76aeae2fc962931027b2d4858fcb28b80435dee4bce81a6f55d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d8627bc64d7a76aeae2fc962931027b2d4858fcb28b80435dee4bce81a6f55d", kill_on_drop: false }` [INFO] [stdout] 6d8627bc64d7a76aeae2fc962931027b2d4858fcb28b80435dee4bce81a6f55d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] 95a95b3219b651dc35aabaf6d77c2af5d53003d9b712fdd00c815828002e192e [INFO] running `Command { std: "docker" "start" "-a" "95a95b3219b651dc35aabaf6d77c2af5d53003d9b712fdd00c815828002e192e", kill_on_drop: false }` [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Checking serde v1.0.126 [INFO] [stderr] Checking goff v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `NoneError` in module `option` [INFO] [stdout] --> src/error.rs:56:28 [INFO] [stdout] | [INFO] [stdout] 56 | impl convert::From for Error [INFO] [stdout] | ^^^^^^^^^ not found in `option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NoneError` in module `option` [INFO] [stdout] --> src/error.rs:58:27 [INFO] [stdout] | [INFO] [stdout] 58 | fn from(_error: option::NoneError) -> Self [INFO] [stdout] | ^^^^^^^^^ not found in `option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NoneError` in module `option` [INFO] [stdout] --> src/error.rs:56:28 [INFO] [stdout] | [INFO] [stdout] 56 | impl convert::From for Error [INFO] [stdout] | ^^^^^^^^^ not found in `option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NoneError` in module `option` [INFO] [stdout] --> src/error.rs:58:27 [INFO] [stdout] | [INFO] [stdout] 58 | fn from(_error: option::NoneError) -> Self [INFO] [stdout] | ^^^^^^^^^ not found in `option` [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/serialize.rs:41:49 [INFO] [stdout] | [INFO] [stdout] 38 | / fn next_char(&mut self) -> Result [INFO] [stdout] 39 | | { [INFO] [stdout] 40 | | let ch = self.peek_char()?; [INFO] [stdout] 41 | | self.input = self.input.get(ch.len_utf8()..)?; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `std::result::Result` [INFO] [stdout] 42 | | Ok(ch) [INFO] [stdout] 43 | | } [INFO] [stdout] | |___- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `std::result::Result` [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/serialize.rs:50:49 [INFO] [stdout] | [INFO] [stdout] 47 | / fn parse_bool(&mut self) -> Result [INFO] [stdout] 48 | | { [INFO] [stdout] 49 | | if self.input.starts_with("yes") { [INFO] [stdout] 50 | | self.input = self.input.get("yes".len()..)?; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `std::result::Result` [INFO] [stdout] ... | [INFO] [stdout] 57 | | } [INFO] [stdout] 58 | | } [INFO] [stdout] | |___- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `std::result::Result` [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/serialize.rs:53:48 [INFO] [stdout] | [INFO] [stdout] 47 | / fn parse_bool(&mut self) -> Result [INFO] [stdout] 48 | | { [INFO] [stdout] 49 | | if self.input.starts_with("yes") { [INFO] [stdout] 50 | | self.input = self.input.get("yes".len()..)?; [INFO] [stdout] ... | [INFO] [stdout] 53 | | self.input = self.input.get("no".len()..)?; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `std::result::Result` [INFO] [stdout] ... | [INFO] [stdout] 57 | | } [INFO] [stdout] 58 | | } [INFO] [stdout] | |___- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `std::result::Result` [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/serialize.rs:74:43 [INFO] [stdout] | [INFO] [stdout] 61 | / fn parse_unsigned(&mut self) -> Result [INFO] [stdout] 62 | | where T: AddAssign + MulAssign + From, [INFO] [stdout] 63 | | { [INFO] [stdout] 64 | | let mut int = match self.next_char()? { [INFO] [stdout] ... | [INFO] [stdout] 74 | | self.input = self.input.get(1..)?; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `std::result::Result` [INFO] [stdout] ... | [INFO] [stdout] 82 | | } [INFO] [stdout] 83 | | } [INFO] [stdout] | |___- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `std::result::Result` [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/serialize.rs:107:41 [INFO] [stdout] | [INFO] [stdout] 89 | / fn parse_signed(&mut self) -> Result [INFO] [stdout] 90 | | where T: Neg + AddAssign + MulAssign + From, [INFO] [stdout] 91 | | { [INFO] [stdout] 92 | | let is_negative = self.peek_char()? == '-'; [INFO] [stdout] ... | [INFO] [stdout] 107 | | self.input = self.input.get(1..)?; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `std::result::Result` [INFO] [stdout] ... | [INFO] [stdout] 116 | | } [INFO] [stdout] 117 | | } [INFO] [stdout] | |___- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `std::result::Result` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `goff` [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[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/serialize.rs:41:49 [INFO] [stdout] | [INFO] [stdout] 38 | / fn next_char(&mut self) -> Result [INFO] [stdout] 39 | | { [INFO] [stdout] 40 | | let ch = self.peek_char()?; [INFO] [stdout] 41 | | self.input = self.input.get(ch.len_utf8()..)?; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `std::result::Result` [INFO] [stdout] 42 | | Ok(ch) [INFO] [stdout] 43 | | } [INFO] [stdout] | |___- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `std::result::Result` [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/serialize.rs:50:49 [INFO] [stdout] | [INFO] [stdout] 47 | / fn parse_bool(&mut self) -> Result [INFO] [stdout] 48 | | { [INFO] [stdout] 49 | | if self.input.starts_with("yes") { [INFO] [stdout] 50 | | self.input = self.input.get("yes".len()..)?; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `std::result::Result` [INFO] [stdout] ... | [INFO] [stdout] 57 | | } [INFO] [stdout] 58 | | } [INFO] [stdout] | |___- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `std::result::Result` [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/serialize.rs:53:48 [INFO] [stdout] | [INFO] [stdout] 47 | / fn parse_bool(&mut self) -> Result [INFO] [stdout] 48 | | { [INFO] [stdout] 49 | | if self.input.starts_with("yes") { [INFO] [stdout] 50 | | self.input = self.input.get("yes".len()..)?; [INFO] [stdout] ... | [INFO] [stdout] 53 | | self.input = self.input.get("no".len()..)?; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `std::result::Result` [INFO] [stdout] ... | [INFO] [stdout] 57 | | } [INFO] [stdout] 58 | | } [INFO] [stdout] | |___- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `std::result::Result` [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/serialize.rs:74:43 [INFO] [stdout] | [INFO] [stdout] 61 | / fn parse_unsigned(&mut self) -> Result [INFO] [stdout] 62 | | where T: AddAssign + MulAssign + From, [INFO] [stdout] 63 | | { [INFO] [stdout] 64 | | let mut int = match self.next_char()? { [INFO] [stdout] ... | [INFO] [stdout] 74 | | self.input = self.input.get(1..)?; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `std::result::Result` [INFO] [stdout] ... | [INFO] [stdout] 82 | | } [INFO] [stdout] 83 | | } [INFO] [stdout] | |___- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `std::result::Result` [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/serialize.rs:107:41 [INFO] [stdout] | [INFO] [stdout] 89 | / fn parse_signed(&mut self) -> Result [INFO] [stdout] 90 | | where T: Neg + AddAssign + MulAssign + From, [INFO] [stdout] 91 | | { [INFO] [stdout] 92 | | let is_negative = self.peek_char()? == '-'; [INFO] [stdout] ... | [INFO] [stdout] 107 | | self.input = self.input.get(1..)?; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `std::result::Result` [INFO] [stdout] ... | [INFO] [stdout] 116 | | } [INFO] [stdout] 117 | | } [INFO] [stdout] | |___- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `std::result::Result` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412. [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" "95a95b3219b651dc35aabaf6d77c2af5d53003d9b712fdd00c815828002e192e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95a95b3219b651dc35aabaf6d77c2af5d53003d9b712fdd00c815828002e192e", kill_on_drop: false }` [INFO] [stdout] 95a95b3219b651dc35aabaf6d77c2af5d53003d9b712fdd00c815828002e192e