[INFO] fetching crate goff 0.1.0... [INFO] checking goff-0.1.0 against try#4a23c45c7893f1416456144e3883cc48ea91722e for pr-82322 [INFO] extracting crate goff 0.1.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate goff 0.1.0 on toolchain 4a23c45c7893f1416456144e3883cc48ea91722e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a23c45c7893f1416456144e3883cc48ea91722e" "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-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a23c45c7893f1416456144e3883cc48ea91722e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a23c45c7893f1416456144e3883cc48ea91722e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+4a23c45c7893f1416456144e3883cc48ea91722e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 821b467726b37786d9db204e14c0df7861df6ff0184cc747e82669d762d75524 [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" "821b467726b37786d9db204e14c0df7861df6ff0184cc747e82669d762d75524", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "821b467726b37786d9db204e14c0df7861df6ff0184cc747e82669d762d75524", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "821b467726b37786d9db204e14c0df7861df6ff0184cc747e82669d762d75524", kill_on_drop: false }` [INFO] [stdout] 821b467726b37786d9db204e14c0df7861df6ff0184cc747e82669d762d75524 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+4a23c45c7893f1416456144e3883cc48ea91722e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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] 14580fcaef56f443feec6d31bcb0cda00f6a6815720d7569c0edb5af0be019d3 [INFO] running `Command { std: "docker" "start" "-a" "14580fcaef56f443feec6d31bcb0cda00f6a6815720d7569c0edb5af0be019d3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Checking serde v1.0.123 [INFO] [stderr] Checking goff v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the `?` operator can only be used in a method that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/serialize.rs:41:18 [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] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a method that returns `std::result::Result` [INFO] [stdout] 42 | | Ok(ch) [INFO] [stdout] 43 | | } [INFO] [stdout] | |___- this function should return `Result` or `Option` to accept `?` [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 in a method that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/serialize.rs:50:20 [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] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a method that returns `std::result::Result` [INFO] [stdout] ... | [INFO] [stdout] 57 | | } [INFO] [stdout] 58 | | } [INFO] [stdout] | |___- this function should return `Result` or `Option` to accept `?` [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 in a method that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/serialize.rs:53:20 [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] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a method that returns `std::result::Result` [INFO] [stdout] ... | [INFO] [stdout] 57 | | } [INFO] [stdout] 58 | | } [INFO] [stdout] | |___- this function should return `Result` or `Option` to accept `?` [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 in a method that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/serialize.rs:74:24 [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] | | ^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a method that returns `std::result::Result` [INFO] [stdout] ... | [INFO] [stdout] 82 | | } [INFO] [stdout] 83 | | } [INFO] [stdout] | |___- this function should return `Result` or `Option` to accept `?` [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 in a method that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/serialize.rs:107:22 [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] | | ^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a method that returns `std::result::Result` [INFO] [stdout] ... | [INFO] [stdout] 116 | | } [INFO] [stdout] 117 | | } [INFO] [stdout] | |___- this function should return `Result` or `Option` to accept `?` [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 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this 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 in a method that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/serialize.rs:41:18 [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] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a method that returns `std::result::Result` [INFO] [stdout] 42 | | Ok(ch) [INFO] [stdout] 43 | | } [INFO] [stdout] | |___- this function should return `Result` or `Option` to accept `?` [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 in a method that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/serialize.rs:50:20 [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] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a method that returns `std::result::Result` [INFO] [stdout] ... | [INFO] [stdout] 57 | | } [INFO] [stdout] 58 | | } [INFO] [stdout] | |___- this function should return `Result` or `Option` to accept `?` [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 in a method that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/serialize.rs:53:20 [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] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a method that returns `std::result::Result` [INFO] [stdout] ... | [INFO] [stdout] 57 | | } [INFO] [stdout] 58 | | } [INFO] [stdout] | |___- this function should return `Result` or `Option` to accept `?` [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 in a method that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/serialize.rs:74:24 [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] | | ^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a method that returns `std::result::Result` [INFO] [stdout] ... | [INFO] [stdout] 82 | | } [INFO] [stdout] 83 | | } [INFO] [stdout] | |___- this function should return `Result` or `Option` to accept `?` [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 in a method that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/serialize.rs:107:22 [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] | | ^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a method that returns `std::result::Result` [INFO] [stdout] ... | [INFO] [stdout] 116 | | } [INFO] [stdout] 117 | | } [INFO] [stdout] | |___- this function should return `Result` or `Option` to accept `?` [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] [stderr] error: build failed [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "14580fcaef56f443feec6d31bcb0cda00f6a6815720d7569c0edb5af0be019d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14580fcaef56f443feec6d31bcb0cda00f6a6815720d7569c0edb5af0be019d3", kill_on_drop: false }` [INFO] [stdout] 14580fcaef56f443feec6d31bcb0cda00f6a6815720d7569c0edb5af0be019d3