This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 4

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.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: $workDir/.spi.yml
SUCCESS checkout https://github.com/compnerd/cassowary.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/compnerd/cassowary.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a 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-6F35C1178C84523A.txt
[4/51] Compiling OrderedCollections _HashTable+Bucket.swift
[5/51] Compiling OrderedCollections _HashTable+BucketIterator.swift
[6/51] Compiling OrderedCollections _HashTable+Constants.swift
[7/51] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[8/51] Compiling OrderedCollections _HashTable+Testing.swift
[9/51] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[10/56] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[11/56] Compiling OrderedCollections OrderedDictionary+Elements+SubSequence.swift
[12/56] Compiling OrderedCollections OrderedDictionary+Elements.swift
[13/56] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[14/56] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[15/56] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[16/56] Compiling OrderedCollections OrderedSet+Hashable.swift
[17/56] Compiling OrderedCollections OrderedSet+Initializers.swift
[18/56] Compiling OrderedCollections OrderedSet+Insertions.swift
[19/56] Compiling OrderedCollections OrderedSet+Invariants.swift
[20/56] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[21/56] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[22/56] Compiling OrderedCollections OrderedSet+Sendable.swift
[23/56] Compiling OrderedCollections OrderedSet+SubSequence.swift
[24/56] Compiling OrderedCollections OrderedSet+Testing.swift
[25/56] Emitting module OrderedCollections
[26/56] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[27/56] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[28/56] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[29/56] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Operations.swift
[30/56] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Predicates.swift
[31/56] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[32/56] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[33/56] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[34/56] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[35/56] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[36/56] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[37/56] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[38/56] Compiling OrderedCollections OrderedDictionary+Values.swift
[39/56] Compiling OrderedCollections OrderedDictionary.swift
[40/56] Compiling OrderedCollections OrderedSet+Codable.swift
[41/56] Compiling OrderedCollections _HashTable.swift
[42/56] Compiling OrderedCollections _Hashtable+Header.swift
[43/56] Compiling OrderedCollections OrderedDictionary+Codable.swift
[44/56] Compiling OrderedCollections OrderedDictionary+CustomDebugStringConvertible.swift
[45/56] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[46/56] Compiling OrderedCollections OrderedDictionary+CustomStringConvertible.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 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 |
[58/66] 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.
[59/66] Compiling Cassowary Term.swift
[60/66] 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 {
[61/66] Compiling Cassowary Strength.swift
[62/67] Compiling Cassowary Symbolics.swift
[63/67] Compiling Cassowary Variable.swift
[64/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
[65/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 |
[66/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 |
[67/67] Compiling Cassowary Constraint.swift
Build complete! (13.09s)
Fetching https://github.com/apple/swift-collections.git
[1/14015] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.28s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.0.6 (0.79s)
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
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.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.