Incompatibility
A set of terms that are incompatible with each other and can therefore not all be true at the same time. In dependency resolution, these are derived from version requirements and when running into unresolvable situations.
Incompatibility.swift:20struct Incompatibility
Citizens in PackageGraph
Conformances
protocol Copyable
A type whose values can be implicitly or explicitly copied.
protocol CustomStringConvertible
A type with a customized textual representation.
protocol Equatable
A type that can be compared for value equality.
protocol Escapable
protocol Hashable
A type that can be hashed into a
Hasher
to produce an integer hash value.
Types
enum Cause
Every incompatibility has a cause to explain its presence in the derivation graph. Only the root incompatibility uses
.root
. All other incompatibilities are either obtained from dependency constraints, decided upon in decision making or derived during unit propagation or conflict resolution. Using this information we can build up a derivation graph by following the tree of causes. All leaf nodes are external dependencies and all internal nodes are derived incompatibilities.
Type members
init(OrderedCollections.OrderedSet<Term>, root: DependencyResolutionNode, cause: Cause
) throws init(Term..., root: DependencyResolutionNode, cause: Cause
) throws init(terms: OrderedCollections.OrderedSet<Term>, cause: Cause
)
Instance members
Type features
static func != (lhs: Self, rhs: Self
) -> Bool Returns a Boolean value indicating whether two values are not equal.