Build Information
Successful build of cassowary, reference 0.0.2 (655d2a
), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 14:24:25 UTC.
Swift 6 data race errors: 4
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/compnerd/cassowary.git
Reference: 0.0.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/compnerd/cassowary
* tag 0.0.2 -> FETCH_HEAD
HEAD is now at 655d2af Fix for intermittent failure for multi term expressions. The cause is Dictionary is not Ordered and Terms must be evaluated in insertion order.
Cloned https://github.com/compnerd/cassowary.git
Revision (git rev-parse @):
655d2afbc3dc306261610ecb0db73a6b0564041f
SUCCESS checkout https://github.com/compnerd/cassowary.git at 0.0.2
Fetching https://github.com/apple/swift-collections.git
[1/15475] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.92s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.0.6 (0.69s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.0.6
========================================
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": "cassowary",
"name": "cassowary",
"url": "https://github.com/compnerd/cassowary.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/cassowary",
"dependencies": [
{
"identity": "swift-collections",
"name": "swift-collections",
"url": "https://github.com/apple/swift-collections.git",
"version": "1.0.6",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/compnerd/cassowary.git
[1/265] Fetching cassowary
Fetched https://github.com/compnerd/cassowary.git from cache (0.78s)
Fetching https://github.com/apple/swift-collections.git from cache
Fetched https://github.com/apple/swift-collections.git from cache (0.58s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.0.6 (0.03s)
Creating working copy for https://github.com/compnerd/cassowary.git
Working copy of https://github.com/compnerd/cassowary.git resolved at 0.0.2 (655d2af)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.0.6
warning: '.resolve-product-dependencies': dependency 'cassowary' is not used by any target
Found 1 product dependencies
- swift-collections
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/compnerd/cassowary.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/5] Write sources
[2/5] Write swift-version--7754E27361AE5C74.txt
[4/53] Emitting module OrderedCollections
[5/58] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[6/58] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[7/58] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[8/58] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[9/58] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[10/58] Compiling OrderedCollections _HashTable.swift
[11/58] Compiling OrderedCollections _Hashtable+Header.swift
[12/58] Compiling OrderedCollections OrderedDictionary+Codable.swift
[13/58] Compiling OrderedCollections OrderedDictionary+CustomDebugStringConvertible.swift
[14/58] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[15/58] Compiling OrderedCollections OrderedDictionary+CustomStringConvertible.swift
[16/58] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[17/58] Compiling OrderedCollections OrderedSet+Hashable.swift
[18/58] Compiling OrderedCollections OrderedSet+Initializers.swift
[19/58] Compiling OrderedCollections OrderedSet+Insertions.swift
[20/58] Compiling OrderedCollections OrderedSet+Invariants.swift
[21/58] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[22/58] Compiling OrderedCollections OrderedDictionary+Elements+SubSequence.swift
[23/58] Compiling OrderedCollections OrderedDictionary+Elements.swift
[24/58] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[25/58] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[26/58] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[27/58] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[28/58] Compiling OrderedCollections OrderedDictionary+Values.swift
[29/58] Compiling OrderedCollections OrderedDictionary.swift
[30/58] Compiling OrderedCollections OrderedSet+Codable.swift
[31/58] Compiling OrderedCollections OrderedSet+CustomDebugStringConvertible.swift
[32/58] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[33/58] Compiling OrderedCollections OrderedSet+CustomStringConvertible.swift
[34/58] Compiling OrderedCollections OrderedSet+Diffing.swift
[35/58] Compiling OrderedCollections OrderedSet+Equatable.swift
[36/58] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[37/58] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[38/58] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[39/58] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Operations.swift
[40/58] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Predicates.swift
[41/58] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[42/58] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[43/58] Compiling OrderedCollections OrderedSet+Sendable.swift
[44/58] Compiling OrderedCollections OrderedSet+SubSequence.swift
[45/58] Compiling OrderedCollections OrderedSet+Testing.swift
[46/58] Compiling OrderedCollections _HashTable+Bucket.swift
[47/58] Compiling OrderedCollections _HashTable+BucketIterator.swift
[48/58] Compiling OrderedCollections _HashTable+Constants.swift
[49/58] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[50/58] Compiling OrderedCollections _HashTable+Testing.swift
[51/58] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[52/58] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[53/58] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[54/58] Compiling OrderedCollections OrderedSet.swift
[55/58] Compiling OrderedCollections RandomAccessCollection+Offsets.swift
[56/58] Compiling OrderedCollections _UnsafeBitset.swift
[57/68] Compiling Cassowary Term.swift
[58/69] Compiling Cassowary Strength.swift
[59/69] Compiling Cassowary Row.swift
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Row.swift:5:1: warning: using '@_implementationOnly' without enabling library evolution for 'Cassowary' may lead to instability during execution
3 |
4 | @_implementationOnly
5 | import OrderedCollections
| `- warning: using '@_implementationOnly' without enabling library evolution for 'Cassowary' may lead to instability during execution
6 |
7 | internal class Row {
[60/69] Compiling Cassowary Variable.swift
[61/69] Compiling Cassowary Symbol.swift
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Symbol.swift:27:14: warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'Symbol' may have shared mutable state; this is an error in the Swift 6 language mode
12 | }
13 |
14 | public struct Symbol {
| `- note: consider making struct 'Symbol' conform to the 'Sendable' protocol
15 | public typealias ID = UInt64
16 |
:
25 |
26 | extension Symbol {
27 | static let invalid: Symbol = Symbol(.invalid, 0)
| |- warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'Symbol' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalid' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | }
29 |
[62/69] Compiling Cassowary Symbolics.swift
[63/69] Compiling Cassowary Expression.swift
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Expression.swift:5:1: warning: using '@_implementationOnly' without enabling library evolution for 'Cassowary' may lead to instability during execution
3 |
4 | @_implementationOnly
5 | import OrderedCollections
| `- warning: using '@_implementationOnly' without enabling library evolution for 'Cassowary' may lead to instability during execution
6 |
7 | public struct Expression {
[64/69] Compiling Cassowary Constraint.swift
[65/69] Compiling Cassowary Solver.swift
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Symbol.swift:27:14: warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'Symbol' may have shared mutable state; this is an error in the Swift 6 language mode
12 | }
13 |
14 | public struct Symbol {
| `- note: consider making struct 'Symbol' conform to the 'Sendable' protocol
15 | public typealias ID = UInt64
16 |
:
25 |
26 | extension Symbol {
27 | static let invalid: Symbol = Symbol(.invalid, 0)
| |- warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'Symbol' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalid' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | }
29 |
[66/69] Compiling Cassowary Errors.swift
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Errors.swift:5:15: warning: stored property 'constraint' of 'Sendable'-conforming struct 'UnsatisfiableConstraint' has non-sendable type 'Constraint'; this is an error in the Swift 6 language mode
3 |
4 | public struct UnsatisfiableConstraint: Error {
5 | private let constraint: Constraint
| `- warning: stored property 'constraint' of 'Sendable'-conforming struct 'UnsatisfiableConstraint' has non-sendable type 'Constraint'; this is an error in the Swift 6 language mode
6 | public init(_ constraint: Constraint) {
7 | self.constraint = constraint
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Constraint.swift:12:14: note: class 'Constraint' does not conform to the 'Sendable' protocol
10 | }
11 |
12 | public class Constraint {
| `- note: class 'Constraint' does not conform to the 'Sendable' protocol
13 | public let expression: Expression
14 | public let operation: Constraint.Relationship
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Errors.swift:18:15: warning: stored property 'constraint' of 'Sendable'-conforming struct 'UnknownConstraint' has non-sendable type 'Constraint'; this is an error in the Swift 6 language mode
16 |
17 | public struct UnknownConstraint: Error {
18 | private let constraint: Constraint
| `- warning: stored property 'constraint' of 'Sendable'-conforming struct 'UnknownConstraint' has non-sendable type 'Constraint'; this is an error in the Swift 6 language mode
19 | public init(_ constraint: Constraint) {
20 | self.constraint = constraint
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Constraint.swift:12:14: note: class 'Constraint' does not conform to the 'Sendable' protocol
10 | }
11 |
12 | public class Constraint {
| `- note: class 'Constraint' does not conform to the 'Sendable' protocol
13 | public let expression: Expression
14 | public let operation: Constraint.Relationship
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Errors.swift:31:15: warning: stored property 'constraint' of 'Sendable'-conforming struct 'DuplicateConstraint' has non-sendable type 'Constraint'; this is an error in the Swift 6 language mode
29 |
30 | public struct DuplicateConstraint: Error {
31 | private let constraint: Constraint
| `- warning: stored property 'constraint' of 'Sendable'-conforming struct 'DuplicateConstraint' has non-sendable type 'Constraint'; this is an error in the Swift 6 language mode
32 | public init(_ constraint: Constraint) {
33 | self.constraint = constraint
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Constraint.swift:12:14: note: class 'Constraint' does not conform to the 'Sendable' protocol
10 | }
11 |
12 | public class Constraint {
| `- note: class 'Constraint' does not conform to the 'Sendable' protocol
13 | public let expression: Expression
14 | public let operation: Constraint.Relationship
[67/69] Emitting module Cassowary
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Expression.swift:5:1: warning: using '@_implementationOnly' without enabling library evolution for 'Cassowary' may lead to instability during execution
3 |
4 | @_implementationOnly
5 | import OrderedCollections
| `- warning: using '@_implementationOnly' without enabling library evolution for 'Cassowary' may lead to instability during execution
6 |
7 | public struct Expression {
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Row.swift:5:1: warning: using '@_implementationOnly' without enabling library evolution for 'Cassowary' may lead to instability during execution
3 |
4 | @_implementationOnly
5 | import OrderedCollections
| `- warning: using '@_implementationOnly' without enabling library evolution for 'Cassowary' may lead to instability during execution
6 |
7 | internal class Row {
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Errors.swift:5:15: warning: stored property 'constraint' of 'Sendable'-conforming struct 'UnsatisfiableConstraint' has non-sendable type 'Constraint'; this is an error in the Swift 6 language mode
3 |
4 | public struct UnsatisfiableConstraint: Error {
5 | private let constraint: Constraint
| `- warning: stored property 'constraint' of 'Sendable'-conforming struct 'UnsatisfiableConstraint' has non-sendable type 'Constraint'; this is an error in the Swift 6 language mode
6 | public init(_ constraint: Constraint) {
7 | self.constraint = constraint
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Constraint.swift:12:14: note: class 'Constraint' does not conform to the 'Sendable' protocol
10 | }
11 |
12 | public class Constraint {
| `- note: class 'Constraint' does not conform to the 'Sendable' protocol
13 | public let expression: Expression
14 | public let operation: Constraint.Relationship
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Errors.swift:18:15: warning: stored property 'constraint' of 'Sendable'-conforming struct 'UnknownConstraint' has non-sendable type 'Constraint'; this is an error in the Swift 6 language mode
16 |
17 | public struct UnknownConstraint: Error {
18 | private let constraint: Constraint
| `- warning: stored property 'constraint' of 'Sendable'-conforming struct 'UnknownConstraint' has non-sendable type 'Constraint'; this is an error in the Swift 6 language mode
19 | public init(_ constraint: Constraint) {
20 | self.constraint = constraint
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Constraint.swift:12:14: note: class 'Constraint' does not conform to the 'Sendable' protocol
10 | }
11 |
12 | public class Constraint {
| `- note: class 'Constraint' does not conform to the 'Sendable' protocol
13 | public let expression: Expression
14 | public let operation: Constraint.Relationship
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Errors.swift:31:15: warning: stored property 'constraint' of 'Sendable'-conforming struct 'DuplicateConstraint' has non-sendable type 'Constraint'; this is an error in the Swift 6 language mode
29 |
30 | public struct DuplicateConstraint: Error {
31 | private let constraint: Constraint
| `- warning: stored property 'constraint' of 'Sendable'-conforming struct 'DuplicateConstraint' has non-sendable type 'Constraint'; this is an error in the Swift 6 language mode
32 | public init(_ constraint: Constraint) {
33 | self.constraint = constraint
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Constraint.swift:12:14: note: class 'Constraint' does not conform to the 'Sendable' protocol
10 | }
11 |
12 | public class Constraint {
| `- note: class 'Constraint' does not conform to the 'Sendable' protocol
13 | public let expression: Expression
14 | public let operation: Constraint.Relationship
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Symbol.swift:27:14: warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'Symbol' may have shared mutable state; this is an error in the Swift 6 language mode
12 | }
13 |
14 | public struct Symbol {
| `- note: consider making struct 'Symbol' conform to the 'Sendable' protocol
15 | public typealias ID = UInt64
16 |
:
25 |
26 | extension Symbol {
27 | static let invalid: Symbol = Symbol(.invalid, 0)
| |- warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'Symbol' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalid' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | }
29 |
[67/69] Write Objects.LinkFileList
[68/69] Linking libcassowary.dylib
Build complete! (11.08s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-collections",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "1.1.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-collections.git"
}
],
"manifest_display_name" : "cassowary",
"name" : "cassowary",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "cassowary",
"targets" : [
"Cassowary"
],
"type" : {
"library" : [
"dynamic"
]
}
}
],
"targets" : [
{
"c99name" : "CassowaryTests",
"module_type" : "SwiftTarget",
"name" : "CassowaryTests",
"path" : "Tests/CassowaryTests",
"sources" : [
"CassowaryTests.swift"
],
"target_dependencies" : [
"Cassowary"
],
"type" : "test"
},
{
"c99name" : "Cassowary",
"module_type" : "SwiftTarget",
"name" : "Cassowary",
"path" : "Sources/Cassowary",
"product_dependencies" : [
"OrderedCollections"
],
"product_memberships" : [
"cassowary"
],
"sources" : [
"Constraint.swift",
"Errors.swift",
"Expression.swift",
"Row.swift",
"Solver.swift",
"Strength.swift",
"Symbol.swift",
"Symbolics.swift",
"Term.swift",
"Variable.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.