[INFO] fetching crate goff 0.1.0... [INFO] testing goff-0.1.0 against try#8262275854dc0e5381c9d42d56257d94932c5a87 for pr-90799 [INFO] extracting crate goff 0.1.0 into /workspace/builds/worker-25/source [INFO] validating manifest of crates.io crate goff 0.1.0 on toolchain 8262275854dc0e5381c9d42d56257d94932c5a87 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "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-25/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dbf46fb285c16f02731fc5b31dcf5ccc8298163804e126311b25178a5f72c4ec [INFO] running `Command { std: "docker" "start" "-a" "dbf46fb285c16f02731fc5b31dcf5ccc8298163804e126311b25178a5f72c4ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dbf46fb285c16f02731fc5b31dcf5ccc8298163804e126311b25178a5f72c4ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbf46fb285c16f02731fc5b31dcf5ccc8298163804e126311b25178a5f72c4ec", kill_on_drop: false }` [INFO] [stdout] dbf46fb285c16f02731fc5b31dcf5ccc8298163804e126311b25178a5f72c4ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ffb8e91e06cbab387f5b0e721b04ceffdcb5f9ed9f0694a32a87838676f4349 [INFO] running `Command { std: "docker" "start" "-a" "0ffb8e91e06cbab387f5b0e721b04ceffdcb5f9ed9f0694a32a87838676f4349", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling 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[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` due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "0ffb8e91e06cbab387f5b0e721b04ceffdcb5f9ed9f0694a32a87838676f4349", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ffb8e91e06cbab387f5b0e721b04ceffdcb5f9ed9f0694a32a87838676f4349", kill_on_drop: false }` [INFO] [stdout] 0ffb8e91e06cbab387f5b0e721b04ceffdcb5f9ed9f0694a32a87838676f4349