Module errors

Module errors 

Source
Expand description

Errors produced by nextest.

Structs§

CargoConfigParseError
Failed to deserialize config file
ConfigCompileError
An error that occurred while compiling overrides or scripts specified in configuration.
ConfigParseError
An error that occurred while parsing the config.
DisplayErrorChain
A wrapper type to display a chain of errors with internal indentation.
ErrorList
A list of errors that implements Error.
FormatVersionError
Error returned when a user-supplied format version fails to be parsed to a valid and supported version.
InvalidConfigScriptName
The name of a configuration script is invalid (not a valid identifier).
InvalidCustomTestGroupName
The name of a test group is invalid (not a valid identifier).
InvalidRunIdSelector
Error returned when parsing an invalid run ID selector.
MaxFailParseError
Error returned while parsing a MaxFail input.
PartitionerBuilderParseError
An error that occurs while parsing a PartitionerBuilder input.
ProfileListScriptUsesRunFiltersError
While parsing profile-specific config scripts, a list-time-enabled script used a filter that can only be used at test run time.
ProfileNotFound
An error which indicates that a profile was requested but not known to nextest.
ProfileScriptErrors
Errors that occurred while parsing [[profile.*.scripts]].
ProfileUnknownScriptError
While parsing profile-specific config scripts, an unknown script was encountered.
ProfileWrongConfigScriptTypeError
While parsing profile-specific config scripts, a script of the wrong type was encountered.
SignalHandlerSetupError
An error that occurred while setting up the signal handler.
StressCountParseError
Error returned while parsing a StressCount input.
TestPriorityOutOfRange
A test priority specified was out of range.
TestRunnerExecuteErrors
Errors that occurred while managing test runner Tokio tasks.
TestThreadsParseError
Error returned while parsing a TestThreads value.
UnknownArchiveFormat
Represents an unknown archive format.
UnknownTestGroupError
An unknown test group was specified in the config.

Enums§

ArchiveCreateError
An error that occurs while archiving data.
ArchiveExtractError
An error occurred while extracting a file.
ArchiveReadError
An error occurred while reading a file.
CacheDirError
An error determining the cache directory for recordings.
CargoConfigError
An error occurred while constructing a CargoConfigs instance.
ChildError
An error was returned while managing a child process or reading its output.
ChildFdError
An error was returned while reading from child a file descriptor.
ChildStartError
An execution error occurred while attempting to start a test.
ConfigCompileErrorKind
The kind of error that occurred while parsing config overrides.
ConfigCompileSection
For a ConfigCompileError, the section within the profile where the error occurred.
ConfigParseErrorKind
The kind of error that occurred while parsing a config.
ConfigureHandleInheritanceError
An error occurred while configuring handles.
CreateTestListError
An error that occurs while parsing test list output.
DebuggerCommandParseError
An error that occurred while parsing a debugger command.
FormatVersionErrorInner
The different errors that can occur when parsing and validating a format version.
FromMessagesError
An error that occurs in BinaryList::from_messages or RustTestArtifact::from_binary_list.
HostPlatformDetectError
The host platform couldn’t be detected.
InheritsError
An error occurred while processing profile’s inherits setting
InvalidCargoCliConfigReason
The reason an invalid CLI config failed.
InvalidIdentifier
An identifier is invalid.
InvalidToolName
A tool name is invalid.
MetadataMaterializeError
An error occurred while materializing a metadata path.
PathMapperConstructError
An error occurred in PathMapper::new.
PathMapperConstructKind
The kind of directory that failed to be read in PathMapper::new.
RecordPruneError
An error that occurred while pruning recorded runs.
RecordReadError
An error that occurred while reading a recorded run.
RecordReporterError
An error that occurred in the record reporter.
RecordSetupError
An error during recording session setup.
RunIdResolutionError
An error resolving a run ID prefix.
RunStoreError
An error that occurred while managing the run store.
RustBuildMetaParseError
An error that occurs while parsing Rust build metadata from a summary.
SetupScriptOutputError
An error that occurred while reading the output of a setup script.
ShowTestGroupsError
An error occurred while showing test groups.
StoreWriterError
An error that occurred while writing to a zip store.
TargetRunnerError
An error occurred determining the target runner
TargetTripleError
An error occurred while determining the cross-compiling target triple.
TestFilterBuilderError
An error that occurs while operating on a TestFilterBuilder.
TestListFromSummaryError
An error that occurred while reconstructing a TestList from a summary.
TestRunnerBuildError
An error that occurs while building the test runner.
ToolConfigFileParseError
Error returned while parsing a ToolConfigFile value.
TracerCommandParseError
An error that occurred while parsing a tracer command.
UserConfigError
Errors that can occur while loading user config.
WriteEventError
An error that occurs while writing an event.
WriteTestListError
An error that occurs while writing list output.

Functions§

provided_by_tool
Returns the string provided by tool <tool>, if tool is Some.