Enum nextest_metadata::NextestExitCode
source · [−]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
sourceimpl NextestExitCode
impl NextestExitCode
sourcepub const CARGO_METADATA_FAILED: i32 = 102i32
pub const CARGO_METADATA_FAILED: i32 = 102i32
Running cargo metadata
produced an error.
sourcepub const BUILD_FAILED: i32 = 101i32
pub const BUILD_FAILED: i32 = 101i32
Building tests produced an error.
sourcepub const TEST_RUN_FAILED: i32 = 100i32
pub const TEST_RUN_FAILED: i32 = 100i32
One or more tests failed.
sourcepub const ARCHIVE_CREATION_FAILED: i32 = 103i32
pub const ARCHIVE_CREATION_FAILED: i32 = 103i32
Creating an archive produced an error.
sourcepub const TEST_LIST_CREATION_FAILED: i32 = 104i32
pub const TEST_LIST_CREATION_FAILED: i32 = 104i32
Creating a test list produced an error.
sourcepub const WRITE_OUTPUT_ERROR: i32 = 110i32
pub const WRITE_OUTPUT_ERROR: i32 = 110i32
Writing data to stdout or stderr produced an error.
sourcepub const UPDATE_ERROR: i32 = 90i32
pub const UPDATE_ERROR: i32 = 90i32
Downloading an update resulted in an error.
sourcepub const UPDATE_AVAILABLE: i32 = 80i32
pub const UPDATE_AVAILABLE: i32 = 80i32
An update was available and --check
was requested.
sourcepub const UPDATE_DOWNGRADE_NOT_PERFORMED: i32 = 81i32
pub const UPDATE_DOWNGRADE_NOT_PERFORMED: i32 = 81i32
A downgrade was requested but not performed.
sourcepub const UPDATE_CANCELED: i32 = 82i32
pub const UPDATE_CANCELED: i32 = 82i32
An update was available but the user canceled it.
sourcepub const SETUP_ERROR: i32 = 96i32
pub const SETUP_ERROR: i32 = 96i32
A user issue happened while setting up a nextest invocation.
sourcepub const EXPERIMENTAL_FEATURE_NOT_ENABLED: i32 = 95i32
pub const EXPERIMENTAL_FEATURE_NOT_ENABLED: i32 = 95i32
An experimental feature was used without the environment variable to enable it.
sourcepub const INVALID_FILTER_EXPRESSION: i32 = 94i32
pub const INVALID_FILTER_EXPRESSION: i32 = 94i32
A filtering expression failed to parse.
sourcepub const SELF_UPDATE_UNAVAILABLE: i32 = 93i32
pub const SELF_UPDATE_UNAVAILABLE: i32 = 93i32
A self-update was requested but this version of cargo-nextest cannot perform self-updates.
Auto Trait Implementations
impl RefUnwindSafe for NextestExitCode
impl Send for NextestExitCode
impl Sync for NextestExitCode
impl Unpin for NextestExitCode
impl UnwindSafe for NextestExitCode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more