pub enum NextestExitCode {}
Expand description

Documented exit codes for cargo nextest failures.

cargo nextest runs may fail for a variety of reasons. This structure documents the exit codes that may occur in case of expected failures.

Unknown/unexpected failures will always result in exit code 1.

Implementations§

source§

impl NextestExitCode

source

pub const CARGO_METADATA_FAILED: i32 = 102i32

Running cargo metadata produced an error.

source

pub const BUILD_FAILED: i32 = 101i32

Building tests produced an error.

source

pub const DOUBLE_SPAWN_ERROR: i32 = 70i32

An error was encountered while attempting to double-spawn a nextest process.

source

pub const TEST_RUN_FAILED: i32 = 100i32

One or more tests failed.

source

pub const ARCHIVE_CREATION_FAILED: i32 = 103i32

Creating an archive produced an error.

source

pub const TEST_LIST_CREATION_FAILED: i32 = 104i32

Creating a test list produced an error.

source

pub const SETUP_SCRIPT_FAILED: i32 = 105i32

A setup script failed.

source

pub const WRITE_OUTPUT_ERROR: i32 = 110i32

Writing data to stdout or stderr produced an error.

source

pub const UPDATE_ERROR: i32 = 90i32

Downloading an update resulted in an error.

source

pub const UPDATE_AVAILABLE: i32 = 80i32

An update was available and --check was requested.

source

pub const UPDATE_DOWNGRADE_NOT_PERFORMED: i32 = 81i32

A downgrade was requested but not performed.

source

pub const UPDATE_CANCELED: i32 = 82i32

An update was available but the user canceled it.

source

pub const SETUP_ERROR: i32 = 96i32

A user issue happened while setting up a nextest invocation.

source

pub const EXPERIMENTAL_FEATURE_NOT_ENABLED: i32 = 95i32

An experimental feature was used without the environment variable to enable it.

source

pub const INVALID_FILTER_EXPRESSION: i32 = 94i32

A filtering expression failed to parse.

source

pub const SELF_UPDATE_UNAVAILABLE: i32 = 93i32

A self-update was requested but this version of cargo-nextest cannot perform self-updates.

source

pub const REQUIRED_VERSION_NOT_MET: i32 = 92i32

The current version of nextest did not meet repository or tool requirements.

Since nextest 0.9.55.

source

pub const RECOMMENDED_VERSION_NOT_MET: i32 = 10i32

The current version of nextest is older than the minimum recommended version.

This advisory exit code is only produced by cargo nextest show-config version.

Since nextest 0.9.55.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.