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
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 DOUBLE_SPAWN_ERROR: i32 = 70i32
pub const DOUBLE_SPAWN_ERROR: i32 = 70i32
An error was encountered while attempting to double-spawn a nextest process.
sourcepub const NO_TESTS_RUN: i32 = 4i32
pub const NO_TESTS_RUN: i32 = 4i32
No tests were selected to run, but no other errors occurred.
This is an advisory exit code generated if nextest is run with --no-tests=fail
(soon to
become the default). See discussion #1646 for more.
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 SETUP_SCRIPT_FAILED: i32 = 105i32
pub const SETUP_SCRIPT_FAILED: i32 = 105i32
A setup script failed.
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_FILTERSET: i32 = 94i32
pub const INVALID_FILTERSET: i32 = 94i32
A filterset 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.
sourcepub const REQUIRED_VERSION_NOT_MET: i32 = 92i32
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.
sourcepub const RECOMMENDED_VERSION_NOT_MET: i32 = 10i32
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.