The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of cassowary, reference main (553057), with Swift 6.0 for Linux on 3 Nov 2024 14:15:18 UTC.

Swift 6 data race errors: 4

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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: main
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
 * 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
========================================
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-4606859-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 (1.16s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.0.6 (0.55s)
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/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/50] Emitting module OrderedCollections
[5/56] Compiling OrderedCollections OrderedDictionary+Elements.swift
[6/56] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[7/56] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[8/56] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[9/56] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[10/56] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[11/56] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[12/56] Compiling OrderedCollections OrderedSet+Testing.swift
[13/56] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[14/56] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[15/56] Compiling OrderedCollections OrderedSet.swift
[16/56] Compiling OrderedCollections RandomAccessCollection+Offsets.swift
[17/56] Compiling OrderedCollections _UnsafeBitset.swift
[18/56] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[19/56] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[20/56] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[21/56] Compiling OrderedCollections OrderedDictionary+Values.swift
[22/56] Compiling OrderedCollections OrderedDictionary.swift
[23/56] Compiling OrderedCollections OrderedSet+Codable.swift
[24/56] Compiling OrderedCollections OrderedSet+CustomDebugStringConvertible.swift
[25/56] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Operations.swift
[26/56] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Predicates.swift
[27/56] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[28/56] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[29/56] Compiling OrderedCollections OrderedSet+Sendable.swift
[30/56] Compiling OrderedCollections OrderedSet+SubSequence.swift
[31/56] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[32/56] Compiling OrderedCollections OrderedSet+CustomStringConvertible.swift
[33/56] Compiling OrderedCollections OrderedSet+Diffing.swift
[34/56] Compiling OrderedCollections OrderedSet+Equatable.swift
[35/56] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[36/56] Compiling OrderedCollections OrderedSet+Hashable.swift
[37/56] Compiling OrderedCollections OrderedSet+Initializers.swift
[38/56] Compiling OrderedCollections OrderedSet+Insertions.swift
[39/56] Compiling OrderedCollections OrderedSet+Invariants.swift
[40/56] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[41/56] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[42/56] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[43/56] Compiling OrderedCollections _Hashtable+Header.swift
[44/56] Compiling OrderedCollections OrderedDictionary+Codable.swift
[45/56] Compiling OrderedCollections OrderedDictionary+CustomDebugStringConvertible.swift
[46/56] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[47/56] Compiling OrderedCollections OrderedDictionary+CustomStringConvertible.swift
[48/56] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[49/56] Compiling OrderedCollections OrderedDictionary+Elements+SubSequence.swift
[50/56] Compiling OrderedCollections _HashTable+Bucket.swift
[51/56] Compiling OrderedCollections _HashTable+BucketIterator.swift
[52/56] Compiling OrderedCollections _HashTable+Constants.swift
[53/56] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[54/56] Compiling OrderedCollections _HashTable+Testing.swift
[55/56] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[56/56] Compiling OrderedCollections _HashTable.swift
[58/67] Compiling Cassowary Term.swift
[59/68] Compiling Cassowary Variable.swift
[60/68] 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/68] Compiling Cassowary Strength.swift
[62/68] Compiling Cassowary Symbolics.swift
[63/68] 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 | /// An expression is a linear combination of terms and a constant.
/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 final class Row {
[64/68] 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 | /// An expression is a linear combination of terms and a constant.
/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 final class Row {
[65/68] Compiling Cassowary Constraint.swift
/host/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
/host/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
/host/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
/host/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
/host/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
/host/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
[66/68] Compiling Cassowary Errors.swift
/host/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
/host/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
/host/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
/host/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
/host/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
/host/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
[67/68] 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 |
[68/68] 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 | /// An expression is a linear combination of terms and a constant.
/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 final class Row {
/host/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
/host/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
/host/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
/host/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
/host/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
/host/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
/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 |
Build complete! (13.41s)
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" : [
          "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"
}
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.