Build Information
Successful build of Cassowary, reference master (7de8fe
), with Swift 6.0 for Linux on 27 Nov 2024 04:15:17 UTC.
Swift 6 data race errors: 8
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tribalworldwidelondon/CassowarySwift.git
Reference: master
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/tribalworldwidelondon/CassowarySwift
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
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 master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/tribalworldwidelondon/CassowarySwift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/17] Compiling Cassowary Strength.swift
/host/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: annotate 'REQUIRED' 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
38 |
39 | public static var STRONG: Double = create(1.0, 0.0, 0.0)
/host/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: annotate 'STRONG' 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
40 |
41 | public static var MEDIUM: Double = create(0.0, 1.0, 0.0)
/host/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: annotate 'MEDIUM' 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
42 |
43 | public static var WEAK: Double = create(0.0, 0.0, 1.0)
/host/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: annotate 'WEAK' 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
44 |
45 |
/host/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
[4/17] Compiling Cassowary Symbol.swift
/host/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: annotate 'REQUIRED' 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
38 |
39 | public static var STRONG: Double = create(1.0, 0.0, 0.0)
/host/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: annotate 'STRONG' 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
40 |
41 | public static var MEDIUM: Double = create(0.0, 1.0, 0.0)
/host/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: annotate 'MEDIUM' 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
42 |
43 | public static var WEAK: Double = create(0.0, 0.0, 1.0)
/host/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: annotate 'WEAK' 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
44 |
45 |
/host/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
[5/19] Compiling Cassowary Term.swift
/host/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
[6/19] Compiling Cassowary Variable.swift
/host/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
[7/19] Compiling Cassowary OrderedDictionary.swift
[8/19] Compiling Cassowary RelationalOperator.swift
[9/19] Compiling Cassowary Row.swift
/host/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
/host/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 {
/host/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 {
/host/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: annotate 'REQUIRED' 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
38 |
39 | public static var STRONG: Double = create(1.0, 0.0, 0.0)
[10/19] Compiling Cassowary Solver.swift
/host/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
/host/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 {
/host/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 {
/host/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: annotate 'REQUIRED' 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
38 |
39 | public static var STRONG: Double = create(1.0, 0.0, 0.0)
[11/19] Compiling Cassowary Errors.swift
/host/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
/host/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 |
/host/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
/host/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 |
/host/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
/host/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 |
/host/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
/host/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] Compiling Cassowary Expression.swift
/host/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
/host/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 |
/host/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
/host/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 |
/host/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
/host/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 |
/host/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
/host/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 |
[13/19] Emitting module Cassowary
/host/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
/host/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 | }
/host/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 | }
/host/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
/host/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 |
/host/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
/host/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 |
/host/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
/host/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 |
/host/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
/host/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 |
/host/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
/host/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: annotate 'REQUIRED' 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
38 |
39 | public static var STRONG: Double = create(1.0, 0.0, 0.0)
/host/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: annotate 'STRONG' 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
40 |
41 | public static var MEDIUM: Double = create(0.0, 1.0, 0.0)
/host/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: annotate 'MEDIUM' 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
42 |
43 | public static var WEAK: Double = create(0.0, 0.0, 1.0)
/host/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: annotate 'WEAK' 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
44 |
45 |
/host/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
/host/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
[14/19] Compiling Cassowary CassowaryDebugDescription.swift
/host/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
/host/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: annotate 'REQUIRED' 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
38 |
39 | public static var STRONG: Double = create(1.0, 0.0, 0.0)
/host/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 Constraint.swift
/host/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
/host/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: annotate 'REQUIRED' 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
38 |
39 | public static var STRONG: Double = create(1.0, 0.0, 0.0)
/host/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 {
[16/19] Compiling Cassowary ConstraintOperators.swift
[17/19] Compiling Cassowary ConstraintOperatorsCGFloat.swift
[18/19] Compiling Cassowary ConstraintOperatorsInt.swift
/host/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 | }
/host/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 | }
[19/19] Compiling Cassowary Double+Epsilon.swift
/host/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 | }
/host/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 | }
Build complete! (17.98s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Cassowary",
"name" : "Cassowary",
"path" : "/host/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"
}
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.