[INFO] fetching crate goff 0.1.0... [INFO] checking goff-0.1.0 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate goff 0.1.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate goff 0.1.0 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d0459221fe637305493821aab550367e037546fe279a9a83773f1de0aaf3b62a [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" "d0459221fe637305493821aab550367e037546fe279a9a83773f1de0aaf3b62a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d0459221fe637305493821aab550367e037546fe279a9a83773f1de0aaf3b62a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0459221fe637305493821aab550367e037546fe279a9a83773f1de0aaf3b62a", kill_on_drop: false }` [INFO] [stdout] d0459221fe637305493821aab550367e037546fe279a9a83773f1de0aaf3b62a [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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 92c3dd1294ea44232ea71bfdcdb9d0575851608d2385a5ac783fb27cdc56b84d [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" "92c3dd1294ea44232ea71bfdcdb9d0575851608d2385a5ac783fb27cdc56b84d", kill_on_drop: false }` [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[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: 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] [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` due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "92c3dd1294ea44232ea71bfdcdb9d0575851608d2385a5ac783fb27cdc56b84d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92c3dd1294ea44232ea71bfdcdb9d0575851608d2385a5ac783fb27cdc56b84d", kill_on_drop: false }` [INFO] [stdout] 92c3dd1294ea44232ea71bfdcdb9d0575851608d2385a5ac783fb27cdc56b84d