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 BytePattern, reference 0.0.6 (663d34), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 04:33:22 UTC.

Swift 6 data race errors: 3

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Sajjon/BytePattern.git
Reference: 0.0.6
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Sajjon/BytePattern
 * tag               0.0.6      -> FETCH_HEAD
HEAD is now at 663d343 Revert MainActor change
Cloned https://github.com/Sajjon/BytePattern.git
Revision (git rev-parse @):
663d343d5f2c516e09fdac37db18dd1214a0bcda
SUCCESS checkout https://github.com/Sajjon/BytePattern.git at 0.0.6
Fetching https://github.com/apple/swift-numerics from cache
Fetching https://github.com/apple/swift-algorithms from cache
Fetched https://github.com/apple/swift-algorithms from cache (0.44s)
Computing version for https://github.com/apple/swift-algorithms
Fetched https://github.com/apple/swift-numerics from cache (0.47s)
Computed https://github.com/apple/swift-algorithms at 1.0.0 (1.06s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.2 (0.61s)
Creating working copy for https://github.com/apple/swift-algorithms
Working copy of https://github.com/apple/swift-algorithms resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.0.2
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "bytepattern",
      "name": "BytePattern",
      "url": "https://github.com/Sajjon/BytePattern.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/BytePattern",
      "dependencies": [
        {
          "identity": "swift-algorithms",
          "name": "swift-algorithms",
          "url": "https://github.com/apple/swift-algorithms",
          "version": "1.2.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-algorithms",
          "dependencies": [
            {
              "identity": "swift-numerics",
              "name": "swift-numerics",
              "url": "https://github.com/apple/swift-numerics.git",
              "version": "1.0.3",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-numerics",
              "dependencies": [
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/Sajjon/BytePattern.git
[1/187] Fetching bytepattern
Fetched https://github.com/Sajjon/BytePattern.git from cache (0.71s)
Fetching https://github.com/apple/swift-algorithms from cache
Fetched https://github.com/apple/swift-algorithms from cache (0.43s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.1 (1.03s)
Fetching https://github.com/apple/swift-numerics.git from cache
Fetched https://github.com/apple/swift-numerics.git from cache (0.47s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (1.06s)
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
Creating working copy for https://github.com/apple/swift-algorithms
Working copy of https://github.com/apple/swift-algorithms resolved at 1.2.1
Creating working copy for https://github.com/Sajjon/BytePattern.git
Working copy of https://github.com/Sajjon/BytePattern.git resolved at 0.0.6 (663d343)
warning: '.resolve-product-dependencies': dependency 'bytepattern' is not used by any target
Found 1 product dependencies
  - swift-algorithms
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Sajjon/BytePattern.git
https://github.com/Sajjon/BytePattern.git
{
  "dependencies" : [
    {
      "identity" : "swift-algorithms",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-algorithms"
    }
  ],
  "manifest_display_name" : "BytePattern",
  "name" : "BytePattern",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "BytePattern",
      "targets" : [
        "BytePattern"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "XCTAssertBytesEqual",
      "targets" : [
        "XCTAssertBytesEqual"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "BytesMutation",
      "targets" : [
        "BytesMutation"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "XCTAssertBytesEqual",
      "module_type" : "SwiftTarget",
      "name" : "XCTAssertBytesEqual",
      "path" : "Sources/XCTAssertBytesEqual",
      "product_memberships" : [
        "XCTAssertBytesEqual"
      ],
      "sources" : [
        "DefaultXCTAssertBytesEqualParameters.swift",
        "XCTAssertBytesEqual.swift",
        "XCTAssertBytesFromHexEqual.swift"
      ],
      "target_dependencies" : [
        "BytePattern"
      ],
      "type" : "library"
    },
    {
      "c99name" : "BytesMutation",
      "module_type" : "SwiftTarget",
      "name" : "BytesMutation",
      "path" : "Sources/BytesMutation",
      "product_dependencies" : [
        "Algorithms"
      ],
      "product_memberships" : [
        "BytesMutation"
      ],
      "sources" : [
        "ContigiousBytes+Mutate.swift"
      ],
      "target_dependencies" : [
        "BytePattern"
      ],
      "type" : "library"
    },
    {
      "c99name" : "BytePatternTests",
      "module_type" : "SwiftTarget",
      "name" : "BytePatternTests",
      "path" : "Tests/BytePatternTests",
      "sources" : [
        "BytePatternTests.swift",
        "Support/Timer.swift"
      ],
      "target_dependencies" : [
        "XCTAssertBytesEqual",
        "BytesMutation"
      ],
      "type" : "test"
    },
    {
      "c99name" : "BytePattern",
      "module_type" : "SwiftTarget",
      "name" : "BytePattern",
      "path" : "Sources/BytePattern",
      "product_dependencies" : [
        "Algorithms"
      ],
      "product_memberships" : [
        "BytePattern",
        "XCTAssertBytesEqual",
        "BytesMutation"
      ],
      "sources" : [
        "BytePattern.swift",
        "BytePatternFinder.swift",
        "Bytes/Data+Hex.swift",
        "Bytes/RandomBytes.swift",
        "Bytes/SafeCompare.swift",
        "Bytes/SecureBytes.swift",
        "Operators.swift",
        "Storage/Bools.swift",
        "Storage/IntsGroups/FromBothEnds/FromBothEnds.swift",
        "Storage/IntsGroups/FromBothEnds/FromEnd/FromEnd.swift",
        "Storage/IntsGroups/FromBothEnds/FromEnd/Ints/Ints.swift",
        "Storage/IntsGroups/IntsGroup.swift",
        "Storage/Storage.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/7] Write sources
[5/7] Compiling _NumericsShims _NumericsShims.c
[6/7] Write swift-version-2F0A5646E1D333AE.txt
[8/17] Compiling RealModule Float80+Real.swift
[9/17] Compiling RealModule Float+Real.swift
[10/17] Compiling RealModule Float16+Real.swift
[11/17] Compiling RealModule Double+Real.swift
[12/17] Compiling RealModule ElementaryFunctions.swift
[13/17] Compiling RealModule AugmentedArithmetic.swift
[14/17] Compiling RealModule ApproximateEquality.swift
[15/17] Compiling RealModule AlgebraicField.swift
[16/17] Emitting module RealModule
[17/17] Compiling RealModule Real.swift
[18/18] Compiling RealModule RealFunctions.swift
[19/42] Compiling Algorithms Suffix.swift
[20/42] Compiling Algorithms Trim.swift
[21/44] Compiling Algorithms Product.swift
[22/44] Compiling Algorithms RandomSample.swift
[23/44] Compiling Algorithms Combinations.swift
[24/44] Compiling Algorithms Compacted.swift
[25/44] Compiling Algorithms Cycle.swift
[26/44] Compiling Algorithms EitherSequence.swift
[27/44] Compiling Algorithms FirstNonNil.swift
[28/44] Compiling Algorithms FlattenCollection.swift
[29/44] Compiling Algorithms Unique.swift
[30/44] Compiling Algorithms Windows.swift
[31/44] Compiling Algorithms Split.swift
[32/44] Compiling Algorithms Stride.swift
[33/44] Compiling Algorithms Reductions.swift
[34/44] Compiling Algorithms Rotate.swift
[35/44] Compiling Algorithms MinMax.swift
[36/44] Compiling Algorithms Partition.swift
[37/44] Compiling Algorithms Permutations.swift
[38/44] Compiling Algorithms AdjacentPairs.swift
[39/44] Compiling Algorithms Chain.swift
[40/44] Compiling Algorithms Chunked.swift
[41/44] Compiling Algorithms Indexed.swift
[42/44] Compiling Algorithms Intersperse.swift
[43/44] Compiling Algorithms Joined.swift
[44/44] Emitting module Algorithms
[45/57] Compiling BytePattern Ints.swift
[46/57] Compiling BytePattern IntsGroup.swift
[47/57] Compiling BytePattern FromBothEnds.swift
[48/57] Compiling BytePattern Bools.swift
[49/57] Compiling BytePattern FromEnd.swift
[50/57] Compiling BytePattern SafeCompare.swift
[51/57] Compiling BytePattern SecureBytes.swift
[52/57] Compiling BytePattern Operators.swift
[53/57] Compiling BytePattern BytePattern.swift
[54/57] Compiling BytePattern BytePatternFinder.swift
[55/57] Emitting module BytePattern
/Users/admin/builder/spi-builder-workspace/Sources/BytePattern/Bytes/Data+Hex.swift:82:21: warning: static property 'upperCase' is not concurrency-safe because non-'Sendable' type 'Data.HexEncodingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 73 |
 74 | public extension Data {
 75 | 	struct HexEncodingOptions: OptionSet {
    |         `- note: consider making struct 'HexEncodingOptions' conform to the 'Sendable' protocol
 76 | 		public typealias RawValue = Int
 77 | 		public let rawValue: RawValue
    :
 80 | 		}
 81 |
 82 | 		public static let upperCase = HexEncodingOptions(rawValue: 1 << 0)
    |                     |- warning: static property 'upperCase' is not concurrency-safe because non-'Sendable' type 'Data.HexEncodingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'upperCase' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 83 | 	}
 84 |
[56/57] Compiling BytePattern Data+Hex.swift
/Users/admin/builder/spi-builder-workspace/Sources/BytePattern/Bytes/Data+Hex.swift:82:21: warning: static property 'upperCase' is not concurrency-safe because non-'Sendable' type 'Data.HexEncodingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 73 |
 74 | public extension Data {
 75 | 	struct HexEncodingOptions: OptionSet {
    |         `- note: consider making struct 'HexEncodingOptions' conform to the 'Sendable' protocol
 76 | 		public typealias RawValue = Int
 77 | 		public let rawValue: RawValue
    :
 80 | 		}
 81 |
 82 | 		public static let upperCase = HexEncodingOptions(rawValue: 1 << 0)
    |                     |- warning: static property 'upperCase' is not concurrency-safe because non-'Sendable' type 'Data.HexEncodingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'upperCase' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 83 | 	}
 84 |
[57/57] Compiling BytePattern RandomBytes.swift
/Users/admin/builder/spi-builder-workspace/Sources/BytePattern/Bytes/Data+Hex.swift:82:21: warning: static property 'upperCase' is not concurrency-safe because non-'Sendable' type 'Data.HexEncodingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 73 |
 74 | public extension Data {
 75 | 	struct HexEncodingOptions: OptionSet {
    |         `- note: consider making struct 'HexEncodingOptions' conform to the 'Sendable' protocol
 76 | 		public typealias RawValue = Int
 77 | 		public let rawValue: RawValue
    :
 80 | 		}
 81 |
 82 | 		public static let upperCase = HexEncodingOptions(rawValue: 1 << 0)
    |                     |- warning: static property 'upperCase' is not concurrency-safe because non-'Sendable' type 'Data.HexEncodingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'upperCase' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 83 | 	}
 84 |
[58/58] Compiling BytePattern Storage.swift
[59/64] Emitting module BytesMutation
[60/64] Compiling BytesMutation ContigiousBytes+Mutate.swift
[61/64] Emitting module XCTAssertBytesEqual
/Users/admin/builder/spi-builder-workspace/Sources/XCTAssertBytesEqual/DefaultXCTAssertBytesEqualParameters.swift:19:23: warning: static property 'passOnPatternNonIdentical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 |     /// passed to test assert function `XCTAssertBytesEqual` or
18 |     /// `XCTAssertBytesFromHexEqual`.
19 |     public static var passOnPatternNonIdentical = false
   |                       |- warning: static property 'passOnPatternNonIdentical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'passOnPatternNonIdentical' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'passOnPatternNonIdentical' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 |     /// Used in the abscenve of the `haltOnPatternNonIdentical` parameter
/Users/admin/builder/spi-builder-workspace/Sources/XCTAssertBytesEqual/DefaultXCTAssertBytesEqualParameters.swift:24:23: warning: static property 'haltOnPatternNonIdentical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 |     /// passed to test assert function `XCTAssertBytesEqual` or
23 |     /// `XCTAssertBytesFromHexEqual`.
24 |     public static var haltOnPatternNonIdentical = false
   |                       |- warning: static property 'haltOnPatternNonIdentical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'haltOnPatternNonIdentical' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'haltOnPatternNonIdentical' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
[62/64] Compiling XCTAssertBytesEqual DefaultXCTAssertBytesEqualParameters.swift
/Users/admin/builder/spi-builder-workspace/Sources/XCTAssertBytesEqual/DefaultXCTAssertBytesEqualParameters.swift:19:23: warning: static property 'passOnPatternNonIdentical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 |     /// passed to test assert function `XCTAssertBytesEqual` or
18 |     /// `XCTAssertBytesFromHexEqual`.
19 |     public static var passOnPatternNonIdentical = false
   |                       |- warning: static property 'passOnPatternNonIdentical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'passOnPatternNonIdentical' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'passOnPatternNonIdentical' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 |     /// Used in the abscenve of the `haltOnPatternNonIdentical` parameter
/Users/admin/builder/spi-builder-workspace/Sources/XCTAssertBytesEqual/DefaultXCTAssertBytesEqualParameters.swift:24:23: warning: static property 'haltOnPatternNonIdentical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 |     /// passed to test assert function `XCTAssertBytesEqual` or
23 |     /// `XCTAssertBytesFromHexEqual`.
24 |     public static var haltOnPatternNonIdentical = false
   |                       |- warning: static property 'haltOnPatternNonIdentical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'haltOnPatternNonIdentical' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'haltOnPatternNonIdentical' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
[63/64] Compiling XCTAssertBytesEqual XCTAssertBytesEqual.swift
[64/64] Compiling XCTAssertBytesEqual XCTAssertBytesFromHexEqual.swift
Build complete! (15.51s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-algorithms",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-algorithms"
    }
  ],
  "manifest_display_name" : "BytePattern",
  "name" : "BytePattern",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "BytePattern",
      "targets" : [
        "BytePattern"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "XCTAssertBytesEqual",
      "targets" : [
        "XCTAssertBytesEqual"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "BytesMutation",
      "targets" : [
        "BytesMutation"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "XCTAssertBytesEqual",
      "module_type" : "SwiftTarget",
      "name" : "XCTAssertBytesEqual",
      "path" : "Sources/XCTAssertBytesEqual",
      "product_memberships" : [
        "XCTAssertBytesEqual"
      ],
      "sources" : [
        "DefaultXCTAssertBytesEqualParameters.swift",
        "XCTAssertBytesEqual.swift",
        "XCTAssertBytesFromHexEqual.swift"
      ],
      "target_dependencies" : [
        "BytePattern"
      ],
      "type" : "library"
    },
    {
      "c99name" : "BytesMutation",
      "module_type" : "SwiftTarget",
      "name" : "BytesMutation",
      "path" : "Sources/BytesMutation",
      "product_dependencies" : [
        "Algorithms"
      ],
      "product_memberships" : [
        "BytesMutation"
      ],
      "sources" : [
        "ContigiousBytes+Mutate.swift"
      ],
      "target_dependencies" : [
        "BytePattern"
      ],
      "type" : "library"
    },
    {
      "c99name" : "BytePatternTests",
      "module_type" : "SwiftTarget",
      "name" : "BytePatternTests",
      "path" : "Tests/BytePatternTests",
      "sources" : [
        "BytePatternTests.swift",
        "Support/Timer.swift"
      ],
      "target_dependencies" : [
        "XCTAssertBytesEqual",
        "BytesMutation"
      ],
      "type" : "test"
    },
    {
      "c99name" : "BytePattern",
      "module_type" : "SwiftTarget",
      "name" : "BytePattern",
      "path" : "Sources/BytePattern",
      "product_dependencies" : [
        "Algorithms"
      ],
      "product_memberships" : [
        "BytePattern",
        "XCTAssertBytesEqual",
        "BytesMutation"
      ],
      "sources" : [
        "BytePattern.swift",
        "BytePatternFinder.swift",
        "Bytes/Data+Hex.swift",
        "Bytes/RandomBytes.swift",
        "Bytes/SafeCompare.swift",
        "Bytes/SecureBytes.swift",
        "Operators.swift",
        "Storage/Bools.swift",
        "Storage/IntsGroups/FromBothEnds/FromBothEnds.swift",
        "Storage/IntsGroups/FromBothEnds/FromEnd/FromEnd.swift",
        "Storage/IntsGroups/FromBothEnds/FromEnd/Ints/Ints.swift",
        "Storage/IntsGroups/IntsGroup.swift",
        "Storage/Storage.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Done.