[INFO] fetching crate exit 0.2.0... [INFO] checking exit-0.2.0 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] extracting crate exit 0.2.0 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate exit 0.2.0 on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc1/source/rust-toolchain [INFO] started tweaking crates.io crate exit 0.2.0 [INFO] finished tweaking crates.io crate exit 0.2.0 [INFO] tweaked toml for crates.io crate exit 0.2.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8c5ded70d85e21248f0058d9319323fd2026c91128b147312ebb8b6c3349ff6f [INFO] running `Command { std: "docker" "start" "-a" "8c5ded70d85e21248f0058d9319323fd2026c91128b147312ebb8b6c3349ff6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8c5ded70d85e21248f0058d9319323fd2026c91128b147312ebb8b6c3349ff6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c5ded70d85e21248f0058d9319323fd2026c91128b147312ebb8b6c3349ff6f", kill_on_drop: false }` [INFO] [stdout] 8c5ded70d85e21248f0058d9319323fd2026c91128b147312ebb8b6c3349ff6f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a98ef393b51ca8191684886880297eac19e4a33a656faa46589ddb27d6641093 [INFO] running `Command { std: "docker" "start" "-a" "a98ef393b51ca8191684886880297eac19e4a33a656faa46589ddb27d6641093", kill_on_drop: false }` [INFO] [stderr] Checking exit v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0437]: type `Ok` is not a member of trait `Try` [INFO] [stdout] --> src/lib.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | type Ok = (); [INFO] [stdout] | ^^^^^^^^^^^^^ not a member of trait `Try` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0437]: type `Error` is not a member of trait `Try` [INFO] [stdout] --> src/lib.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | type Error = T; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not a member of trait `Try` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `into_result` is not a member of trait `Try` [INFO] [stdout] --> src/lib.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | / fn into_result(self) -> Result<::Ok, Self::Error> { [INFO] [stdout] 45 | | match self { [INFO] [stdout] 46 | | Exit::Ok => Ok(()), [INFO] [stdout] 47 | | Exit::Err(err) => Err(err) [INFO] [stdout] 48 | | } [INFO] [stdout] 49 | | } [INFO] [stdout] | |_____^ not a member of trait `Try` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `from_error` is not a member of trait `Try` [INFO] [stdout] --> src/lib.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | / fn from_error(err: Self::Error) -> Self { [INFO] [stdout] 52 | | Exit::Err(err) [INFO] [stdout] 53 | | } [INFO] [stdout] | |_____^ not a member of trait `Try` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `from_ok` is not a member of trait `Try` [INFO] [stdout] --> src/lib.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | / fn from_ok(_: ::Ok) -> Self { [INFO] [stdout] 56 | | Exit::Ok [INFO] [stdout] 57 | | } [INFO] [stdout] | |_____^ not a member of trait `Try` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0437]: type `Ok` is not a member of trait `Try` [INFO] [stdout] --> src/lib.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | type Ok = (); [INFO] [stdout] | ^^^^^^^^^^^^^ not a member of trait `Try` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0437]: type `Error` is not a member of trait `Try` [INFO] [stdout] --> src/lib.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | type Error = T; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not a member of trait `Try` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `into_result` is not a member of trait `Try` [INFO] [stdout] --> src/lib.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | / fn into_result(self) -> Result<::Ok, Self::Error> { [INFO] [stdout] 45 | | match self { [INFO] [stdout] 46 | | Exit::Ok => Ok(()), [INFO] [stdout] 47 | | Exit::Err(err) => Err(err) [INFO] [stdout] 48 | | } [INFO] [stdout] 49 | | } [INFO] [stdout] | |_____^ not a member of trait `Try` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0576]: cannot find associated type `Ok` in trait `Try` [INFO] [stdout] --> src/lib.rs:44:51 [INFO] [stdout] | [INFO] [stdout] 44 | fn into_result(self) -> Result<::Ok, Self::Error> { [INFO] [stdout] | ^^ not found in `Try` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0576]: cannot find associated type `Ok` in trait `Try` [INFO] [stdout] --> src/lib.rs:55:34 [INFO] [stdout] | [INFO] [stdout] 55 | fn from_ok(_: ::Ok) -> Self { [INFO] [stdout] | ^^ not found in `Try` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `try_trait_v2` [INFO] [stdout] --> src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ops::Try; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #84277 for more information [INFO] [stdout] = help: add `#![feature(try_trait_v2)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-11-23; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `try_trait_v2` [INFO] [stdout] --> src/lib.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | impl Try for Exit { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #84277 for more information [INFO] [stdout] = help: add `#![feature(try_trait_v2)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-11-23; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `try_trait` [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(try_trait)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Error` not found for `Self` [INFO] [stdout] --> src/lib.rs:44:61 [INFO] [stdout] | [INFO] [stdout] 44 | fn into_result(self) -> Result<::Ok, Self::Error> { [INFO] [stdout] | ^^^^^ associated type `Error` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Error` not found for `Self` [INFO] [stdout] --> src/lib.rs:51:30 [INFO] [stdout] | [INFO] [stdout] 51 | fn from_error(err: Self::Error) -> Self { [INFO] [stdout] | ^^^^^ associated type `Error` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `from_error` is not a member of trait `Try` [INFO] [stdout] --> src/lib.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | / fn from_error(err: Self::Error) -> Self { [INFO] [stdout] 52 | | Exit::Err(err) [INFO] [stdout] 53 | | } [INFO] [stdout] | |_____^ not a member of trait `Try` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `report` has an incompatible type for trait [INFO] [stdout] --> src/lib.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | default fn report(self) -> i32 { [INFO] [stdout] | ^^^ expected `ExitCode`, found `i32` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(Exit<_>) -> ExitCode` [INFO] [stdout] found signature `fn(Exit<_>) -> i32` [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 18 | default fn report(self) -> ExitCode { [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `report` has an incompatible type for trait [INFO] [stdout] --> src/lib.rs:29:24 [INFO] [stdout] | [INFO] [stdout] 29 | fn report(self) -> i32 { [INFO] [stdout] | ^^^ expected `ExitCode`, found `i32` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(Exit<_>) -> ExitCode` [INFO] [stdout] found signature `fn(Exit<_>) -> i32` [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 29 | fn report(self) -> ExitCode { [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `Output`, `Residual`, `from_output`, `branch` [INFO] [stdout] --> src/lib.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | impl Try for Exit { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ missing `Output`, `Residual`, `from_output`, `branch` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `type Output = /* Type */;` [INFO] [stdout] = help: implement the missing item: `type Residual = /* Type */;` [INFO] [stdout] = help: implement the missing item: `fn from_output(_: ::Output) -> Self { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn branch(self) -> ControlFlow<::Residual, ::Output> { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `from_ok` is not a member of trait `Try` [INFO] [stdout] --> src/lib.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | / fn from_ok(_: ::Ok) -> Self { [INFO] [stdout] 56 | | Exit::Ok [INFO] [stdout] 57 | | } [INFO] [stdout] | |_____^ not a member of trait `Try` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0576]: cannot find associated type `Ok` in trait `Try` [INFO] [stdout] --> src/lib.rs:44:51 [INFO] [stdout] | [INFO] [stdout] 44 | fn into_result(self) -> Result<::Ok, Self::Error> { [INFO] [stdout] | ^^ not found in `Try` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0053, E0220, E0407, E0437, E0576, E0635, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stdout] error[E0576]: cannot find associated type `Ok` in trait `Try` [INFO] [stdout] --> src/lib.rs:55:34 [INFO] [stdout] | [INFO] [stdout] 55 | fn from_ok(_: ::Ok) -> Self { [INFO] [stdout] | ^^ not found in `Try` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `try_trait_v2` [INFO] [stdout] --> src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ops::Try; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #84277 for more information [INFO] [stdout] = help: add `#![feature(try_trait_v2)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-11-23; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `try_trait_v2` [INFO] [stdout] --> src/lib.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | impl Try for Exit { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #84277 for more information [INFO] [stdout] = help: add `#![feature(try_trait_v2)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-11-23; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `try_trait` [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(try_trait)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Error` not found for `Self` [INFO] [stdout] --> src/lib.rs:44:61 [INFO] [stdout] | [INFO] [stdout] 44 | fn into_result(self) -> Result<::Ok, Self::Error> { [INFO] [stdout] | ^^^^^ associated type `Error` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Error` not found for `Self` [INFO] [stdout] --> src/lib.rs:51:30 [INFO] [stdout] | [INFO] [stdout] 51 | fn from_error(err: Self::Error) -> Self { [INFO] [stdout] | ^^^^^ associated type `Error` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `report` has an incompatible type for trait [INFO] [stdout] --> src/lib.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | default fn report(self) -> i32 { [INFO] [stdout] | ^^^ expected `ExitCode`, found `i32` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(Exit<_>) -> ExitCode` [INFO] [stdout] found signature `fn(Exit<_>) -> i32` [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 18 | default fn report(self) -> ExitCode { [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `exit` (lib) due to 15 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0053]: method `report` has an incompatible type for trait [INFO] [stdout] --> src/lib.rs:29:24 [INFO] [stdout] | [INFO] [stdout] 29 | fn report(self) -> i32 { [INFO] [stdout] | ^^^ expected `ExitCode`, found `i32` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(Exit<_>) -> ExitCode` [INFO] [stdout] found signature `fn(Exit<_>) -> i32` [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 29 | fn report(self) -> ExitCode { [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `Output`, `Residual`, `from_output`, `branch` [INFO] [stdout] --> src/lib.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | impl Try for Exit { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ missing `Output`, `Residual`, `from_output`, `branch` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `type Output = /* Type */;` [INFO] [stdout] = help: implement the missing item: `type Residual = /* Type */;` [INFO] [stdout] = help: implement the missing item: `fn from_output(_: ::Output) -> Self { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn branch(self) -> ControlFlow<::Residual, ::Output> { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0053, E0220, E0407, E0437, E0576, E0635, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `exit` (lib test) due to 15 previous errors [INFO] running `Command { std: "docker" "inspect" "a98ef393b51ca8191684886880297eac19e4a33a656faa46589ddb27d6641093", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a98ef393b51ca8191684886880297eac19e4a33a656faa46589ddb27d6641093", kill_on_drop: false }` [INFO] [stdout] a98ef393b51ca8191684886880297eac19e4a33a656faa46589ddb27d6641093