[INFO] cloning repository https://github.com/imtira/goff [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/imtira/goff" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimtira%2Fgoff", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimtira%2Fgoff'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d525e3348a0e471e383729229dad68e63948f7df [INFO] checking imtira/goff against try#4a23c45c7893f1416456144e3883cc48ea91722e for pr-82322 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimtira%2Fgoff" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/imtira/goff 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 git repo https://github.com/imtira/goff [INFO] finished tweaking git repo https://github.com/imtira/goff [INFO] tweaked toml for git repo https://github.com/imtira/goff written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/imtira/goff already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a23c45c7893f1416456144e3883cc48ea91722e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde v1.0.120 [INFO] [stderr] Downloaded serde_derive v1.0.120 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+4a23c45c7893f1416456144e3883cc48ea91722e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 233b17d88cfec32b98abe8b80cebe3a76b814200186a7e24084ada48349b3b71 [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" "233b17d88cfec32b98abe8b80cebe3a76b814200186a7e24084ada48349b3b71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "233b17d88cfec32b98abe8b80cebe3a76b814200186a7e24084ada48349b3b71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "233b17d88cfec32b98abe8b80cebe3a76b814200186a7e24084ada48349b3b71", kill_on_drop: false }` [INFO] [stdout] 233b17d88cfec32b98abe8b80cebe3a76b814200186a7e24084ada48349b3b71 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+4a23c45c7893f1416456144e3883cc48ea91722e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 001017faa19a65aa72ec49ad2a91b338e3fe87e0b2eb073e7194f869d5e74b33 [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" "001017faa19a65aa72ec49ad2a91b338e3fe87e0b2eb073e7194f869d5e74b33", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling serde_derive v1.0.120 [INFO] [stderr] Compiling serde v1.0.120 [INFO] [stderr] Compiling quote v1.0.8 [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] [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] [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: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: build failed [INFO] running `Command { std: "docker" "inspect" "001017faa19a65aa72ec49ad2a91b338e3fe87e0b2eb073e7194f869d5e74b33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "001017faa19a65aa72ec49ad2a91b338e3fe87e0b2eb073e7194f869d5e74b33", kill_on_drop: false }` [INFO] [stdout] 001017faa19a65aa72ec49ad2a91b338e3fe87e0b2eb073e7194f869d5e74b33