[INFO] fetching crate exit 0.2.0... [INFO] testing exit-0.2.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate exit 0.2.0 into /workspace/builds/worker-1-tc1/source [INFO] removed /workspace/builds/worker-1-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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate exit 0.2.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 21246ea4ba2dd9b9c9463a074c252a70b85e4c277bfbdc1d5fcbca5640e450cd [INFO] running `Command { std: "docker" "start" "-a" "21246ea4ba2dd9b9c9463a074c252a70b85e4c277bfbdc1d5fcbca5640e450cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "21246ea4ba2dd9b9c9463a074c252a70b85e4c277bfbdc1d5fcbca5640e450cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21246ea4ba2dd9b9c9463a074c252a70b85e4c277bfbdc1d5fcbca5640e450cd", kill_on_drop: false }` [INFO] [stdout] 21246ea4ba2dd9b9c9463a074c252a70b85e4c277bfbdc1d5fcbca5640e450cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=forbid" "-e" "RUSTDOCFLAGS=--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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] a652bf377dba4e5849b45380e4f2b805260e1830f5b7595482fdcbe4c44444c9 [INFO] running `Command { std: "docker" "start" "-a" "a652bf377dba4e5849b45380e4f2b805260e1830f5b7595482fdcbe4c44444c9", kill_on_drop: false }` [INFO] [stderr] Compiling 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[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] warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(specialization)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #31844 for more information [INFO] [stdout] = help: consider using `min_specialization` instead, which is more stable and complete [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [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 2025-06-19; 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 2025-06-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `termination_trait_lib` has been stable since 1.61.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(termination_trait_lib)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: feature `try_trait` has been renamed to `try_trait_v2` [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) -> i32 { [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) -> i32 { [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) due to 15 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a652bf377dba4e5849b45380e4f2b805260e1830f5b7595482fdcbe4c44444c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a652bf377dba4e5849b45380e4f2b805260e1830f5b7595482fdcbe4c44444c9", kill_on_drop: false }` [INFO] [stdout] a652bf377dba4e5849b45380e4f2b805260e1830f5b7595482fdcbe4c44444c9