Build Information
Successful build of cassowary, reference main (553057
), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 14:24:57 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: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/compnerd/cassowary
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 5530573 gitignore: ignore the default SPM build directory
Cloned https://github.com/compnerd/cassowary.git
Revision (git rev-parse @):
5530573af9b3899143c442a14a7069aa3e5ea33b
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/compnerd/cassowary.git at main
Fetching https://github.com/apple/swift-collections.git
[1/15475] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.13s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.0.6 (0.68s)
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.75s)
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.04s)
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
Creating working copy for https://github.com/compnerd/cassowary.git
Working copy of https://github.com/compnerd/cassowary.git resolved at main (5530573)
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/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/51] Emitting module OrderedCollections
[5/56] Compiling OrderedCollections _HashTable.swift
[6/56] Compiling OrderedCollections _Hashtable+Header.swift
[7/56] Compiling OrderedCollections OrderedDictionary+Codable.swift
[8/56] Compiling OrderedCollections OrderedDictionary+CustomDebugStringConvertible.swift
[9/56] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[10/56] Compiling OrderedCollections OrderedDictionary+CustomStringConvertible.swift
[11/56] Compiling OrderedCollections _HashTable+Bucket.swift
[12/56] Compiling OrderedCollections _HashTable+BucketIterator.swift
[13/56] Compiling OrderedCollections _HashTable+Constants.swift
[14/56] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[15/56] Compiling OrderedCollections _HashTable+Testing.swift
[16/56] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[17/56] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[18/56] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[19/56] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[20/56] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[21/56] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[22/56] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[23/56] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[24/56] Compiling OrderedCollections OrderedSet+Sendable.swift
[25/56] Compiling OrderedCollections OrderedSet+SubSequence.swift
[26/56] Compiling OrderedCollections OrderedSet+Testing.swift
[27/56] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[28/56] Compiling OrderedCollections OrderedDictionary+Elements+SubSequence.swift
[29/56] Compiling OrderedCollections OrderedDictionary+Elements.swift
[30/56] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[31/56] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[32/56] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[33/56] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[34/56] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[35/56] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Operations.swift
[36/56] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Predicates.swift
[37/56] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[38/56] Compiling OrderedCollections OrderedSet+Hashable.swift
[39/56] Compiling OrderedCollections OrderedSet+Initializers.swift
[40/56] Compiling OrderedCollections OrderedSet+Insertions.swift
[41/56] Compiling OrderedCollections OrderedSet+Invariants.swift
[42/56] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[43/56] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[44/56] Compiling OrderedCollections OrderedDictionary+Values.swift
[45/56] Compiling OrderedCollections OrderedDictionary.swift
[46/56] Compiling OrderedCollections OrderedSet+Codable.swift
[47/56] Compiling OrderedCollections OrderedSet+CustomDebugStringConvertible.swift
[48/56] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[49/56] Compiling OrderedCollections OrderedSet+CustomStringConvertible.swift
[50/56] Compiling OrderedCollections OrderedSet+Diffing.swift
[51/56] Compiling OrderedCollections OrderedSet+Equatable.swift
[52/56] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[53/56] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[54/56] Compiling OrderedCollections OrderedSet.swift
[55/56] Compiling OrderedCollections RandomAccessCollection+Offsets.swift
[56/56] Compiling OrderedCollections _UnsafeBitset.swift
[57/66] Compiling Cassowary Term.swift
[58/67] 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 |
[59/67] Compiling Cassowary Errors.swift
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Errors.swift:6: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
4 | /// The constraint cannot be satisfied.
5 | public struct UnsatisfiableConstraint: Error {
6 | 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
7 | public init(_ constraint: Constraint) {
8 | self.constraint = constraint
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Constraint.swift:13:20: note: class 'Constraint' does not conform to the 'Sendable' protocol
11 |
12 | /// Describes a constraint over variables in the system.
13 | public final class Constraint {
| `- note: class 'Constraint' does not conform to the 'Sendable' protocol
14 | /// The expression that is constrained.
15 | public let expression: Expression
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Errors.swift:22: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
20 | /// The constraint is not currently in the system.
21 | public struct UnknownConstraint: Error {
22 | 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
23 | public init(_ constraint: Constraint) {
24 | self.constraint = constraint
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Constraint.swift:13:20: note: class 'Constraint' does not conform to the 'Sendable' protocol
11 |
12 | /// Describes a constraint over variables in the system.
13 | public final class Constraint {
| `- note: class 'Constraint' does not conform to the 'Sendable' protocol
14 | /// The expression that is constrained.
15 | public let expression: Expression
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Errors.swift:38: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
36 | /// The constraint is already in the system.
37 | public struct DuplicateConstraint: Error {
38 | 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
39 | public init(_ constraint: Constraint) {
40 | self.constraint = constraint
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Constraint.swift:13:20: note: class 'Constraint' does not conform to the 'Sendable' protocol
11 |
12 | /// Describes a constraint over variables in the system.
13 | public final class Constraint {
| `- note: class 'Constraint' does not conform to the 'Sendable' protocol
14 | /// The expression that is constrained.
15 | public let expression: Expression
[60/67] 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 | /// An expression is a linear combination of terms and a constant.
/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 final class Row {
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Errors.swift:6: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
4 | /// The constraint cannot be satisfied.
5 | public struct UnsatisfiableConstraint: Error {
6 | 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
7 | public init(_ constraint: Constraint) {
8 | self.constraint = constraint
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Constraint.swift:13:20: note: class 'Constraint' does not conform to the 'Sendable' protocol
11 |
12 | /// Describes a constraint over variables in the system.
13 | public final class Constraint {
| `- note: class 'Constraint' does not conform to the 'Sendable' protocol
14 | /// The expression that is constrained.
15 | public let expression: Expression
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Errors.swift:22: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
20 | /// The constraint is not currently in the system.
21 | public struct UnknownConstraint: Error {
22 | 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
23 | public init(_ constraint: Constraint) {
24 | self.constraint = constraint
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Constraint.swift:13:20: note: class 'Constraint' does not conform to the 'Sendable' protocol
11 |
12 | /// Describes a constraint over variables in the system.
13 | public final class Constraint {
| `- note: class 'Constraint' does not conform to the 'Sendable' protocol
14 | /// The expression that is constrained.
15 | public let expression: Expression
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Errors.swift:38: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
36 | /// The constraint is already in the system.
37 | public struct DuplicateConstraint: Error {
38 | 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
39 | public init(_ constraint: Constraint) {
40 | self.constraint = constraint
/Users/admin/builder/spi-builder-workspace/Sources/Cassowary/Constraint.swift:13:20: note: class 'Constraint' does not conform to the 'Sendable' protocol
11 |
12 | /// Describes a constraint over variables in the system.
13 | public final class Constraint {
| `- note: class 'Constraint' does not conform to the 'Sendable' protocol
14 | /// The expression that is constrained.
15 | public let expression: Expression
/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 |
[61/67] Compiling Cassowary Variable.swift
[62/67] Compiling Cassowary Symbolics.swift
[63/67] 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 | /// An expression is a linear combination of terms and a constant.
[64/67] Compiling Cassowary Constraint.swift
[65/67] Compiling Cassowary Strength.swift
[66/67] 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 |
[67/67] 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 final class Row {
Build complete! (10.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" : [
"automatic"
]
}
}
],
"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.