Build Information
Successful build of Cassowary, reference 2.0.1 (7de8fe
), with Swift 6.1 for macOS (SPM) on 25 Apr 2025 04:08:23 UTC.
Swift 6 data race errors: 8
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tribalworldwidelondon/CassowarySwift.git
Reference: 2.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/tribalworldwidelondon/CassowarySwift
* tag 2.0.1 -> FETCH_HEAD
HEAD is now at 7de8fee Optimised orderedDictionary
Cloned https://github.com/tribalworldwidelondon/CassowarySwift.git
Revision (git rev-parse @):
7de8fee8331ad13eabb8de639fab0fde7a8f0d77
SUCCESS checkout https://github.com/tribalworldwidelondon/CassowarySwift.git at 2.0.1
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "cassowaryswift",
"name": "Cassowary",
"url": "https://github.com/tribalworldwidelondon/CassowarySwift.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CassowarySwift",
"dependencies": [
]
}
]
}
Fetching https://github.com/tribalworldwidelondon/CassowarySwift.git
[1/195] Fetching cassowaryswift
Fetched https://github.com/tribalworldwidelondon/CassowarySwift.git from cache (0.62s)
Creating working copy for https://github.com/tribalworldwidelondon/CassowarySwift.git
Working copy of https://github.com/tribalworldwidelondon/CassowarySwift.git resolved at 2.0.1 (7de8fee)
warning: '.resolve-product-dependencies': dependency 'cassowaryswift' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/tribalworldwidelondon/CassowarySwift.git
https://github.com/tribalworldwidelondon/CassowarySwift.git
{
"dependencies" : [
],
"manifest_display_name" : "Cassowary",
"name" : "Cassowary",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Cassowary",
"targets" : [
"Cassowary"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "CassowaryTests",
"module_type" : "SwiftTarget",
"name" : "CassowaryTests",
"path" : "Tests/CassowaryTests",
"sources" : [
"AssertionHelpers.swift",
"CassowaryTests.swift",
"ConstraintTests.swift",
"Double+EpsilonTests.swift",
"ExpressionTests.swift",
"TermTests.swift",
"VariableTests.swift"
],
"target_dependencies" : [
"Cassowary"
],
"type" : "test"
},
{
"c99name" : "Cassowary",
"module_type" : "SwiftTarget",
"name" : "Cassowary",
"path" : "Sources/Cassowary",
"product_memberships" : [
"Cassowary"
],
"sources" : [
"CassowaryDebugDescription.swift",
"Constraint.swift",
"ConstraintOperators.swift",
"ConstraintOperatorsCGFloat.swift",
"ConstraintOperatorsInt.swift",
"Double+Epsilon.swift",
"Errors.swift",
"Expression.swift",
"OrderedDictionary.swift",
"RelationalOperator.swift",
"Row.swift",
"Solver.swift",
"Strength.swift",
"Symbol.swift",
"Term.swift",
"Variable.swift"
],
"type" : "library"
}
],
"tools_version" : "4.1"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/18] Compiling Cassowary Strength.swift
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Strength.swift:37:23: warning: static property 'REQUIRED' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 | public final class Strength {
36 |
37 | public static var REQUIRED: Double = create(1000.0, 1000.0, 1000.0)
| |- warning: static property 'REQUIRED' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'REQUIRED' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'REQUIRED' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | public static var STRONG: Double = create(1.0, 0.0, 0.0)
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Strength.swift:39:23: warning: static property 'STRONG' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
37 | public static var REQUIRED: Double = create(1000.0, 1000.0, 1000.0)
38 |
39 | public static var STRONG: Double = create(1.0, 0.0, 0.0)
| |- warning: static property 'STRONG' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'STRONG' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'STRONG' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | public static var MEDIUM: Double = create(0.0, 1.0, 0.0)
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Strength.swift:41:23: warning: static property 'MEDIUM' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
39 | public static var STRONG: Double = create(1.0, 0.0, 0.0)
40 |
41 | public static var MEDIUM: Double = create(0.0, 1.0, 0.0)
| |- warning: static property 'MEDIUM' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'MEDIUM' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'MEDIUM' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | public static var WEAK: Double = create(0.0, 0.0, 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Strength.swift:43:23: warning: static property 'WEAK' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
41 | public static var MEDIUM: Double = create(0.0, 1.0, 0.0)
42 |
43 | public static var WEAK: Double = create(0.0, 0.0, 1.0)
| |- warning: static property 'WEAK' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'WEAK' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'WEAK' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 |
[4/18] Compiling Cassowary Row.swift
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Row.swift:240:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Row' to 'Hashable' by implementing 'hash(into:)' instead
238 | extension Row: Hashable {
239 |
240 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Row' to 'Hashable' by implementing 'hash(into:)' instead
241 | // Return a hash 'unique' to this object
242 | return ObjectIdentifier(self).hashValue
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Row.swift:148:13: warning: variable 'newCells' was never mutated; consider changing to 'let' constant
146 | constant = -constant
147 |
148 | var newCells = OrderedDictionary<Symbol, Double>()
| `- warning: variable 'newCells' was never mutated; consider changing to 'let' constant
149 |
150 | for symbol in cells.keys {
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Row.swift:173:13: warning: variable 'newCells' was never mutated; consider changing to 'let' constant
171 | constant *= coeff
172 |
173 | var newCells = OrderedDictionary<Symbol, Double>()
| `- warning: variable 'newCells' was never mutated; consider changing to 'let' constant
174 |
175 | for s in cells.keys {
[5/18] Compiling Cassowary Solver.swift
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Row.swift:240:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Row' to 'Hashable' by implementing 'hash(into:)' instead
238 | extension Row: Hashable {
239 |
240 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Row' to 'Hashable' by implementing 'hash(into:)' instead
241 | // Return a hash 'unique' to this object
242 | return ObjectIdentifier(self).hashValue
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Row.swift:148:13: warning: variable 'newCells' was never mutated; consider changing to 'let' constant
146 | constant = -constant
147 |
148 | var newCells = OrderedDictionary<Symbol, Double>()
| `- warning: variable 'newCells' was never mutated; consider changing to 'let' constant
149 |
150 | for symbol in cells.keys {
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Row.swift:173:13: warning: variable 'newCells' was never mutated; consider changing to 'let' constant
171 | constant *= coeff
172 |
173 | var newCells = OrderedDictionary<Symbol, Double>()
| `- warning: variable 'newCells' was never mutated; consider changing to 'let' constant
174 |
175 | for s in cells.keys {
[6/18] Compiling Cassowary Term.swift
[7/18] Compiling Cassowary Symbol.swift
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Symbol.swift:66:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Symbol' to 'Hashable' by implementing 'hash(into:)' instead
64 | extension Symbol: Hashable {
65 |
66 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Symbol' to 'Hashable' by implementing 'hash(into:)' instead
67 | // Return a hash 'unique' to this object
68 | return ObjectIdentifier(self).hashValue
[8/18] Compiling Cassowary OrderedDictionary.swift
[9/18] Compiling Cassowary RelationalOperator.swift
[10/18] Compiling Cassowary Errors.swift
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Errors.swift:42:10: warning: associated value 'unknownConstraint' of 'Sendable'-conforming enum 'CassowaryError' has non-sendable type 'Constraint'; this is an error in the Swift 6 language mode
40 |
41 | /// The constraint is not added to the solver
42 | case unknownConstraint(Constraint)
| `- warning: associated value 'unknownConstraint' of 'Sendable'-conforming enum 'CassowaryError' has non-sendable type 'Constraint'; this is an error in the Swift 6 language mode
43 |
44 | /// The constraint already exists in the solver
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Constraint.swift:37:14: note: class 'Constraint' does not conform to the 'Sendable' protocol
35 | This is a class that describes a constraint placed on a number of variables in the solver system.
36 | */
37 | public class Constraint: CassowaryDebugDescription, CustomStringConvertible {
| `- note: class 'Constraint' does not conform to the 'Sendable' protocol
38 | internal var debugDescription: String = ""
39 |
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Errors.swift:45:10: warning: associated value 'duplicateConstraint' of 'Sendable'-conforming enum 'CassowaryError' has non-sendable type 'Constraint'; this is an error in the Swift 6 language mode
43 |
44 | /// The constraint already exists in the solver
45 | case duplicateConstraint(Constraint)
| `- warning: associated value 'duplicateConstraint' of 'Sendable'-conforming enum 'CassowaryError' has non-sendable type 'Constraint'; this is an error in the Swift 6 language mode
46 |
47 | /// The constraint cannot be satisfied by the solver
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Constraint.swift:37:14: note: class 'Constraint' does not conform to the 'Sendable' protocol
35 | This is a class that describes a constraint placed on a number of variables in the solver system.
36 | */
37 | public class Constraint: CassowaryDebugDescription, CustomStringConvertible {
| `- note: class 'Constraint' does not conform to the 'Sendable' protocol
38 | internal var debugDescription: String = ""
39 |
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Errors.swift:48:10: warning: associated value 'unsatisfiableConstraint' of 'Sendable'-conforming enum 'CassowaryError' has non-sendable type 'Constraint'; this is an error in the Swift 6 language mode
46 |
47 | /// The constraint cannot be satisfied by the solver
48 | case unsatisfiableConstraint(Constraint, [Constraint])
| `- warning: associated value 'unsatisfiableConstraint' of 'Sendable'-conforming enum 'CassowaryError' has non-sendable type 'Constraint'; this is an error in the Swift 6 language mode
49 |
50 | /// The variable has not been added as an edit variable
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Constraint.swift:37:14: note: class 'Constraint' does not conform to the 'Sendable' protocol
35 | This is a class that describes a constraint placed on a number of variables in the solver system.
36 | */
37 | public class Constraint: CassowaryDebugDescription, CustomStringConvertible {
| `- note: class 'Constraint' does not conform to the 'Sendable' protocol
38 | internal var debugDescription: String = ""
39 |
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Errors.swift:48:10: warning: associated value 'unsatisfiableConstraint' of 'Sendable'-conforming enum 'CassowaryError' has non-sendable type 'Constraint'; this is an error in the Swift 6 language mode
46 |
47 | /// The constraint cannot be satisfied by the solver
48 | case unsatisfiableConstraint(Constraint, [Constraint])
| `- warning: associated value 'unsatisfiableConstraint' of 'Sendable'-conforming enum 'CassowaryError' has non-sendable type 'Constraint'; this is an error in the Swift 6 language mode
49 |
50 | /// The variable has not been added as an edit variable
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Constraint.swift:37:14: note: class 'Constraint' does not conform to the 'Sendable' protocol
35 | This is a class that describes a constraint placed on a number of variables in the solver system.
36 | */
37 | public class Constraint: CassowaryDebugDescription, CustomStringConvertible {
| `- note: class 'Constraint' does not conform to the 'Sendable' protocol
38 | internal var debugDescription: String = ""
39 |
[11/18] Compiling Cassowary Expression.swift
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Errors.swift:42:10: warning: associated value 'unknownConstraint' of 'Sendable'-conforming enum 'CassowaryError' has non-sendable type 'Constraint'; this is an error in the Swift 6 language mode
40 |
41 | /// The constraint is not added to the solver
42 | case unknownConstraint(Constraint)
| `- warning: associated value 'unknownConstraint' of 'Sendable'-conforming enum 'CassowaryError' has non-sendable type 'Constraint'; this is an error in the Swift 6 language mode
43 |
44 | /// The constraint already exists in the solver
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Constraint.swift:37:14: note: class 'Constraint' does not conform to the 'Sendable' protocol
35 | This is a class that describes a constraint placed on a number of variables in the solver system.
36 | */
37 | public class Constraint: CassowaryDebugDescription, CustomStringConvertible {
| `- note: class 'Constraint' does not conform to the 'Sendable' protocol
38 | internal var debugDescription: String = ""
39 |
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Errors.swift:45:10: warning: associated value 'duplicateConstraint' of 'Sendable'-conforming enum 'CassowaryError' has non-sendable type 'Constraint'; this is an error in the Swift 6 language mode
43 |
44 | /// The constraint already exists in the solver
45 | case duplicateConstraint(Constraint)
| `- warning: associated value 'duplicateConstraint' of 'Sendable'-conforming enum 'CassowaryError' has non-sendable type 'Constraint'; this is an error in the Swift 6 language mode
46 |
47 | /// The constraint cannot be satisfied by the solver
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Constraint.swift:37:14: note: class 'Constraint' does not conform to the 'Sendable' protocol
35 | This is a class that describes a constraint placed on a number of variables in the solver system.
36 | */
37 | public class Constraint: CassowaryDebugDescription, CustomStringConvertible {
| `- note: class 'Constraint' does not conform to the 'Sendable' protocol
38 | internal var debugDescription: String = ""
39 |
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Errors.swift:48:10: warning: associated value 'unsatisfiableConstraint' of 'Sendable'-conforming enum 'CassowaryError' has non-sendable type 'Constraint'; this is an error in the Swift 6 language mode
46 |
47 | /// The constraint cannot be satisfied by the solver
48 | case unsatisfiableConstraint(Constraint, [Constraint])
| `- warning: associated value 'unsatisfiableConstraint' of 'Sendable'-conforming enum 'CassowaryError' has non-sendable type 'Constraint'; this is an error in the Swift 6 language mode
49 |
50 | /// The variable has not been added as an edit variable
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Constraint.swift:37:14: note: class 'Constraint' does not conform to the 'Sendable' protocol
35 | This is a class that describes a constraint placed on a number of variables in the solver system.
36 | */
37 | public class Constraint: CassowaryDebugDescription, CustomStringConvertible {
| `- note: class 'Constraint' does not conform to the 'Sendable' protocol
38 | internal var debugDescription: String = ""
39 |
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Errors.swift:48:10: warning: associated value 'unsatisfiableConstraint' of 'Sendable'-conforming enum 'CassowaryError' has non-sendable type 'Constraint'; this is an error in the Swift 6 language mode
46 |
47 | /// The constraint cannot be satisfied by the solver
48 | case unsatisfiableConstraint(Constraint, [Constraint])
| `- warning: associated value 'unsatisfiableConstraint' of 'Sendable'-conforming enum 'CassowaryError' has non-sendable type 'Constraint'; this is an error in the Swift 6 language mode
49 |
50 | /// The variable has not been added as an edit variable
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Constraint.swift:37:14: note: class 'Constraint' does not conform to the 'Sendable' protocol
35 | This is a class that describes a constraint placed on a number of variables in the solver system.
36 | */
37 | public class Constraint: CassowaryDebugDescription, CustomStringConvertible {
| `- note: class 'Constraint' does not conform to the 'Sendable' protocol
38 | internal var debugDescription: String = ""
39 |
[12/19] Emitting module Cassowary
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Constraint.swift:119:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Constraint' to 'Hashable' by implementing 'hash(into:)' instead
117 | extension Constraint: Hashable {
118 | /// :nodoc:
119 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Constraint' to 'Hashable' by implementing 'hash(into:)' instead
120 | // Return a hash 'unique' to this object
121 | return ObjectIdentifier(self).hashValue
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Double+Epsilon.swift:37:5: warning: 'internal' modifier is redundant for property declared in an internal extension
35 | static let epsilon: Double = 1.0e-8
36 |
37 | internal var isNearZero: Bool {
| `- warning: 'internal' modifier is redundant for property declared in an internal extension
38 | return self < 0.0 ? -self < .epsilon : self < .epsilon
39 | }
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Double+Epsilon.swift:41:5: warning: 'internal' modifier is redundant for instance method declared in an internal extension
39 | }
40 |
41 | internal func isApproximately(value: Double) -> Bool {
| `- warning: 'internal' modifier is redundant for instance method declared in an internal extension
42 | return abs(self - value) < .epsilon
43 | }
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Errors.swift:42:10: warning: associated value 'unknownConstraint' of 'Sendable'-conforming enum 'CassowaryError' has non-sendable type 'Constraint'; this is an error in the Swift 6 language mode
40 |
41 | /// The constraint is not added to the solver
42 | case unknownConstraint(Constraint)
| `- warning: associated value 'unknownConstraint' of 'Sendable'-conforming enum 'CassowaryError' has non-sendable type 'Constraint'; this is an error in the Swift 6 language mode
43 |
44 | /// The constraint already exists in the solver
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Constraint.swift:37:14: note: class 'Constraint' does not conform to the 'Sendable' protocol
35 | This is a class that describes a constraint placed on a number of variables in the solver system.
36 | */
37 | public class Constraint: CassowaryDebugDescription, CustomStringConvertible {
| `- note: class 'Constraint' does not conform to the 'Sendable' protocol
38 | internal var debugDescription: String = ""
39 |
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Errors.swift:45:10: warning: associated value 'duplicateConstraint' of 'Sendable'-conforming enum 'CassowaryError' has non-sendable type 'Constraint'; this is an error in the Swift 6 language mode
43 |
44 | /// The constraint already exists in the solver
45 | case duplicateConstraint(Constraint)
| `- warning: associated value 'duplicateConstraint' of 'Sendable'-conforming enum 'CassowaryError' has non-sendable type 'Constraint'; this is an error in the Swift 6 language mode
46 |
47 | /// The constraint cannot be satisfied by the solver
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Constraint.swift:37:14: note: class 'Constraint' does not conform to the 'Sendable' protocol
35 | This is a class that describes a constraint placed on a number of variables in the solver system.
36 | */
37 | public class Constraint: CassowaryDebugDescription, CustomStringConvertible {
| `- note: class 'Constraint' does not conform to the 'Sendable' protocol
38 | internal var debugDescription: String = ""
39 |
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Errors.swift:48:10: warning: associated value 'unsatisfiableConstraint' of 'Sendable'-conforming enum 'CassowaryError' has non-sendable type 'Constraint'; this is an error in the Swift 6 language mode
46 |
47 | /// The constraint cannot be satisfied by the solver
48 | case unsatisfiableConstraint(Constraint, [Constraint])
| `- warning: associated value 'unsatisfiableConstraint' of 'Sendable'-conforming enum 'CassowaryError' has non-sendable type 'Constraint'; this is an error in the Swift 6 language mode
49 |
50 | /// The variable has not been added as an edit variable
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Constraint.swift:37:14: note: class 'Constraint' does not conform to the 'Sendable' protocol
35 | This is a class that describes a constraint placed on a number of variables in the solver system.
36 | */
37 | public class Constraint: CassowaryDebugDescription, CustomStringConvertible {
| `- note: class 'Constraint' does not conform to the 'Sendable' protocol
38 | internal var debugDescription: String = ""
39 |
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Errors.swift:48:10: warning: associated value 'unsatisfiableConstraint' of 'Sendable'-conforming enum 'CassowaryError' has non-sendable type 'Constraint'; this is an error in the Swift 6 language mode
46 |
47 | /// The constraint cannot be satisfied by the solver
48 | case unsatisfiableConstraint(Constraint, [Constraint])
| `- warning: associated value 'unsatisfiableConstraint' of 'Sendable'-conforming enum 'CassowaryError' has non-sendable type 'Constraint'; this is an error in the Swift 6 language mode
49 |
50 | /// The variable has not been added as an edit variable
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Constraint.swift:37:14: note: class 'Constraint' does not conform to the 'Sendable' protocol
35 | This is a class that describes a constraint placed on a number of variables in the solver system.
36 | */
37 | public class Constraint: CassowaryDebugDescription, CustomStringConvertible {
| `- note: class 'Constraint' does not conform to the 'Sendable' protocol
38 | internal var debugDescription: String = ""
39 |
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Row.swift:240:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Row' to 'Hashable' by implementing 'hash(into:)' instead
238 | extension Row: Hashable {
239 |
240 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Row' to 'Hashable' by implementing 'hash(into:)' instead
241 | // Return a hash 'unique' to this object
242 | return ObjectIdentifier(self).hashValue
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Strength.swift:37:23: warning: static property 'REQUIRED' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 | public final class Strength {
36 |
37 | public static var REQUIRED: Double = create(1000.0, 1000.0, 1000.0)
| |- warning: static property 'REQUIRED' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'REQUIRED' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'REQUIRED' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | public static var STRONG: Double = create(1.0, 0.0, 0.0)
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Strength.swift:39:23: warning: static property 'STRONG' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
37 | public static var REQUIRED: Double = create(1000.0, 1000.0, 1000.0)
38 |
39 | public static var STRONG: Double = create(1.0, 0.0, 0.0)
| |- warning: static property 'STRONG' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'STRONG' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'STRONG' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | public static var MEDIUM: Double = create(0.0, 1.0, 0.0)
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Strength.swift:41:23: warning: static property 'MEDIUM' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
39 | public static var STRONG: Double = create(1.0, 0.0, 0.0)
40 |
41 | public static var MEDIUM: Double = create(0.0, 1.0, 0.0)
| |- warning: static property 'MEDIUM' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'MEDIUM' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'MEDIUM' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | public static var WEAK: Double = create(0.0, 0.0, 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Strength.swift:43:23: warning: static property 'WEAK' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
41 | public static var MEDIUM: Double = create(0.0, 1.0, 0.0)
42 |
43 | public static var WEAK: Double = create(0.0, 0.0, 1.0)
| |- warning: static property 'WEAK' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'WEAK' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'WEAK' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 |
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Symbol.swift:66:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Symbol' to 'Hashable' by implementing 'hash(into:)' instead
64 | extension Symbol: Hashable {
65 |
66 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Symbol' to 'Hashable' by implementing 'hash(into:)' instead
67 | // Return a hash 'unique' to this object
68 | return ObjectIdentifier(self).hashValue
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Variable.swift:84:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Variable' to 'Hashable' by implementing 'hash(into:)' instead
82 | extension Variable: Hashable {
83 |
84 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Variable' to 'Hashable' by implementing 'hash(into:)' instead
85 | // Return a hash 'unique' to this object
86 | return ObjectIdentifier(self).hashValue
[13/19] Compiling Cassowary CassowaryDebugDescription.swift
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Constraint.swift:119:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Constraint' to 'Hashable' by implementing 'hash(into:)' instead
117 | extension Constraint: Hashable {
118 | /// :nodoc:
119 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Constraint' to 'Hashable' by implementing 'hash(into:)' instead
120 | // Return a hash 'unique' to this object
121 | return ObjectIdentifier(self).hashValue
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Constraint.swift:81:13: warning: variable 'vars' was never mutated; consider changing to 'let' constant
79 |
80 | private static func reduce(_ expr: Expression) -> Expression {
81 | var vars = OrderedDictionary<Variable, Double>()
| `- warning: variable 'vars' was never mutated; consider changing to 'let' constant
82 |
83 | for term in expr.terms {
[14/19] Compiling Cassowary Constraint.swift
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Constraint.swift:119:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Constraint' to 'Hashable' by implementing 'hash(into:)' instead
117 | extension Constraint: Hashable {
118 | /// :nodoc:
119 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Constraint' to 'Hashable' by implementing 'hash(into:)' instead
120 | // Return a hash 'unique' to this object
121 | return ObjectIdentifier(self).hashValue
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Constraint.swift:81:13: warning: variable 'vars' was never mutated; consider changing to 'let' constant
79 |
80 | private static func reduce(_ expr: Expression) -> Expression {
81 | var vars = OrderedDictionary<Variable, Double>()
| `- warning: variable 'vars' was never mutated; consider changing to 'let' constant
82 |
83 | for term in expr.terms {
[15/19] Compiling Cassowary ConstraintOperatorsInt.swift
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Double+Epsilon.swift:37:5: warning: 'internal' modifier is redundant for property declared in an internal extension
35 | static let epsilon: Double = 1.0e-8
36 |
37 | internal var isNearZero: Bool {
| `- warning: 'internal' modifier is redundant for property declared in an internal extension
38 | return self < 0.0 ? -self < .epsilon : self < .epsilon
39 | }
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Double+Epsilon.swift:41:5: warning: 'internal' modifier is redundant for instance method declared in an internal extension
39 | }
40 |
41 | internal func isApproximately(value: Double) -> Bool {
| `- warning: 'internal' modifier is redundant for instance method declared in an internal extension
42 | return abs(self - value) < .epsilon
43 | }
[16/19] Compiling Cassowary Double+Epsilon.swift
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Double+Epsilon.swift:37:5: warning: 'internal' modifier is redundant for property declared in an internal extension
35 | static let epsilon: Double = 1.0e-8
36 |
37 | internal var isNearZero: Bool {
| `- warning: 'internal' modifier is redundant for property declared in an internal extension
38 | return self < 0.0 ? -self < .epsilon : self < .epsilon
39 | }
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Double+Epsilon.swift:41:5: warning: 'internal' modifier is redundant for instance method declared in an internal extension
39 | }
40 |
41 | internal func isApproximately(value: Double) -> Bool {
| `- warning: 'internal' modifier is redundant for instance method declared in an internal extension
42 | return abs(self - value) < .epsilon
43 | }
[17/19] Compiling Cassowary ConstraintOperators.swift
[18/19] Compiling Cassowary ConstraintOperatorsCGFloat.swift
[19/19] Compiling Cassowary Variable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Variable.swift:84:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Variable' to 'Hashable' by implementing 'hash(into:)' instead
82 | extension Variable: Hashable {
83 |
84 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Variable' to 'Hashable' by implementing 'hash(into:)' instead
85 | // Return a hash 'unique' to this object
86 | return ObjectIdentifier(self).hashValue
Build complete! (5.55s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Cassowary",
"name" : "Cassowary",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Cassowary",
"targets" : [
"Cassowary"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "CassowaryTests",
"module_type" : "SwiftTarget",
"name" : "CassowaryTests",
"path" : "Tests/CassowaryTests",
"sources" : [
"AssertionHelpers.swift",
"CassowaryTests.swift",
"ConstraintTests.swift",
"Double+EpsilonTests.swift",
"ExpressionTests.swift",
"TermTests.swift",
"VariableTests.swift"
],
"target_dependencies" : [
"Cassowary"
],
"type" : "test"
},
{
"c99name" : "Cassowary",
"module_type" : "SwiftTarget",
"name" : "Cassowary",
"path" : "Sources/Cassowary",
"product_memberships" : [
"Cassowary"
],
"sources" : [
"CassowaryDebugDescription.swift",
"Constraint.swift",
"ConstraintOperators.swift",
"ConstraintOperatorsCGFloat.swift",
"ConstraintOperatorsInt.swift",
"Double+Epsilon.swift",
"Errors.swift",
"Expression.swift",
"OrderedDictionary.swift",
"RelationalOperator.swift",
"Row.swift",
"Solver.swift",
"Strength.swift",
"Symbol.swift",
"Term.swift",
"Variable.swift"
],
"type" : "library"
}
],
"tools_version" : "4.1"
}
Done.