Build Information
Successful build of cassowary, reference 0.0.2 (655d2a
), with Swift 6.0 for Linux on 3 Nov 2024 14:15:01 UTC.
Swift 6 data race errors: 4
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
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
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/compnerd/cassowary.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-collections.git
[1/15475] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (0.97s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.0.6 (0.44s)
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
Building for debugging...
[0/7] Write sources
[2/7] Write swift-version-24593BA9C3E375BF.txt
[4/54] Emitting module OrderedCollections
[5/60] Compiling OrderedCollections OrderedSet+Testing.swift
[6/60] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[7/60] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[8/60] Compiling OrderedCollections OrderedSet.swift
[9/60] Compiling OrderedCollections RandomAccessCollection+Offsets.swift
[10/60] Compiling OrderedCollections _UnsafeBitset.swift
[11/60] Compiling OrderedCollections OrderedDictionary+Elements.swift
[12/60] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[13/60] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[14/60] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[15/60] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[16/60] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[17/60] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[18/60] Compiling OrderedCollections _HashTable+Bucket.swift
[19/60] Compiling OrderedCollections _HashTable+BucketIterator.swift
[20/60] Compiling OrderedCollections _HashTable+Constants.swift
[21/60] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[22/60] Compiling OrderedCollections _HashTable+Testing.swift
[23/60] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[24/60] Compiling OrderedCollections _HashTable.swift
[25/60] Compiling OrderedCollections _Hashtable+Header.swift
[26/60] Compiling OrderedCollections OrderedDictionary+Codable.swift
[27/60] Compiling OrderedCollections OrderedDictionary+CustomDebugStringConvertible.swift
[28/60] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[29/60] Compiling OrderedCollections OrderedDictionary+CustomStringConvertible.swift
[30/60] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[31/60] Compiling OrderedCollections OrderedDictionary+Elements+SubSequence.swift
[32/60] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[33/60] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[34/60] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[35/60] Compiling OrderedCollections OrderedDictionary+Values.swift
[36/60] Compiling OrderedCollections OrderedDictionary.swift
[37/60] Compiling OrderedCollections OrderedSet+Codable.swift
[38/60] Compiling OrderedCollections OrderedSet+CustomDebugStringConvertible.swift
[39/60] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Operations.swift
[40/60] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Predicates.swift
[41/60] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[42/60] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[43/60] Compiling OrderedCollections OrderedSet+Sendable.swift
[44/60] Compiling OrderedCollections OrderedSet+SubSequence.swift
[45/60] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[46/60] Compiling OrderedCollections OrderedSet+CustomStringConvertible.swift
[47/60] Compiling OrderedCollections OrderedSet+Diffing.swift
[48/60] Compiling OrderedCollections OrderedSet+Equatable.swift
[49/60] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[50/60] Compiling OrderedCollections OrderedSet+Hashable.swift
[51/60] Compiling OrderedCollections OrderedSet+Initializers.swift
[52/60] Compiling OrderedCollections OrderedSet+Insertions.swift
[53/60] Compiling OrderedCollections OrderedSet+Invariants.swift
[54/60] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[55/60] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[56/60] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[57/61] Wrapping AST for OrderedCollections for debugging
[59/71] Compiling Cassowary Term.swift
[60/71] Compiling Cassowary Symbol.swift
/host/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/72] Compiling Cassowary Variable.swift
[62/72] Compiling Cassowary Symbolics.swift
[63/72] Compiling Cassowary Strength.swift
[64/72] Emitting module Cassowary
/host/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 {
/host/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 {
/host/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
/host/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
/host/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
/host/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
/host/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
/host/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
/host/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 |
[65/72] Compiling Cassowary Expression.swift
/host/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 {
/host/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 {
[66/72] Compiling Cassowary Row.swift
/host/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 {
/host/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 {
[67/72] Compiling Cassowary Constraint.swift
/host/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
/host/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
/host/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
/host/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
/host/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
/host/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
[68/72] Compiling Cassowary Errors.swift
/host/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
/host/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
/host/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
/host/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
/host/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
/host/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
[69/72] Compiling Cassowary Solver.swift
/host/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 |
[70/73] Wrapping AST for Cassowary for debugging
[71/73] Write Objects.LinkFileList
[72/73] Linking libcassowary.so
Build complete! (9.50s)
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" : "/host/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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.