[INFO] fetching crate exit 0.2.0... [INFO] checking exit-0.2.0 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate exit 0.2.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate exit 0.2.0 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0/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-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1ae8426c4970a51384f58d76f685a3a5fd7902adc01c81ad6ee76f8aff90b5b8 [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" "1ae8426c4970a51384f58d76f685a3a5fd7902adc01c81ad6ee76f8aff90b5b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1ae8426c4970a51384f58d76f685a3a5fd7902adc01c81ad6ee76f8aff90b5b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ae8426c4970a51384f58d76f685a3a5fd7902adc01c81ad6ee76f8aff90b5b8", kill_on_drop: false }` [INFO] [stdout] 1ae8426c4970a51384f58d76f685a3a5fd7902adc01c81ad6ee76f8aff90b5b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5aa9125a0dc5af7ceabd37525227b2481dfbaf1bb2cc3bc8fc01cc467c82a0fd [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" "5aa9125a0dc5af7ceabd37525227b2481dfbaf1bb2cc3bc8fc01cc467c82a0fd", 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[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: `#[warn(incomplete_features)]` on by default [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] [INFO] [stdout] [INFO] [stderr] error: could not compile `exit` due to 12 previous errors; 1 warning emitted [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] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] [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: aborting due to 11 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0220, E0407, E0437, E0576, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0220`. [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[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: `#[warn(incomplete_features)]` on by default [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] [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] [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] [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: aborting due to 11 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0220, E0407, E0437, E0576, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0220`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "5aa9125a0dc5af7ceabd37525227b2481dfbaf1bb2cc3bc8fc01cc467c82a0fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5aa9125a0dc5af7ceabd37525227b2481dfbaf1bb2cc3bc8fc01cc467c82a0fd", kill_on_drop: false }` [INFO] [stdout] 5aa9125a0dc5af7ceabd37525227b2481dfbaf1bb2cc3bc8fc01cc467c82a0fd