pub enum SkipReason {
IgnoreRule,
NotRequested,
NotSafelyEditable(UnplannableReason),
OverlapsAnotherEdit,
WithinFreshnessCooldown,
}Expand description
Why a default-mode candidate was skipped.
Variants§
IgnoreRule
A matching [update].ignore rule excluded this dependency (FR-006).
NotRequested
--package was given and this dependency was not named (FR-005).
NotSafelyEditable(UnplannableReason)
The dependency is outdated but could not be safely rewritten — the registry’s cached
latest value failed the safety gate, the declared span is not the literal
requirement text (e.g. a Maven ${property} reference or a Gradle DSL variable/
version-catalog alias), or the formatter has no single unambiguous rewrite for it.
See deps_core::edit::UnplannableReason for which of the three applies.
OverlapsAnotherEdit
The edit overlapped another item’s edit and was dropped by the apply-time dedup pass
(see dedup_applied_items) — a report never claims applied for something that was
not actually written (critic finding M2).
WithinFreshnessCooldown
Spec 075 FR-014: nothing available clears the freshness cooldown for this occurrence —
either no fallback candidate exists at all (no lockfile-resolved in-use version to floor
the search, spec 075 OQ1’s documented no-floor limitation; or the newest
cooldown-cleared candidate failed an ecosystem-safety/in-use-floor/requirement-floor
guard, FR-001/FR-002/FR-003), or a candidate exists but the fallback view shows it
already satisfies the declared requirement (FR-009, so there is nothing to rewrite), or
it was itself blocked for a non-OSV structural reason (FR-007’s decision table). A
fallback candidate blocked by its own OSV verdict is reported separately as
Self::NotSafelyEditable (exit 1, FR-011) — never demoted to this routine, exit-0
pause. Since the engine (deps-engine) now computes a fallback candidate whenever one
exists, this is no longer the unconditional starvation risk it was before spec 075: a
package publishing faster than the cooldown window can still resolve via its fallback,
provided one clears every guard.
Trait Implementations§
Source§impl Clone for SkipReason
impl Clone for SkipReason
impl Copy for SkipReason
Source§impl Debug for SkipReason
impl Debug for SkipReason
impl Eq for SkipReason
Source§impl PartialEq for SkipReason
impl PartialEq for SkipReason
impl StructuralPartialEq for SkipReason
Auto Trait Implementations§
impl Freeze for SkipReason
impl RefUnwindSafe for SkipReason
impl Send for SkipReason
impl Sync for SkipReason
impl Unpin for SkipReason
impl UnsafeUnpin for SkipReason
impl UnwindSafe for SkipReason
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more