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 SIMDSupport, reference 0.2.1 (b163c8), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 21:01:15 UTC.

Swift 6 data race errors: 1

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/schwa/SIMD-Support.git
Reference: 0.2.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/schwa/SIMD-Support
 * tag               0.2.1      -> FETCH_HEAD
HEAD is now at b163c89 Move unsafe conformances into own module.
Cloned https://github.com/schwa/SIMD-Support.git
Revision (git rev-parse @):
b163c8951dca3089d69f4bcc3febe60d178965ac
SUCCESS checkout https://github.com/schwa/SIMD-Support.git at 0.2.1
========================================
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": "simd-support",
      "name": "SIMDSupport",
      "url": "https://github.com/schwa/SIMD-Support.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SIMD-Support",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/schwa/SIMD-Support.git
[1/336] Fetching simd-support
Fetched https://github.com/schwa/SIMD-Support.git from cache (0.64s)
Creating working copy for https://github.com/schwa/SIMD-Support.git
Working copy of https://github.com/schwa/SIMD-Support.git resolved at 0.2.1 (b163c89)
warning: '.resolve-product-dependencies': dependency 'simd-support' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/schwa/SIMD-Support.git
https://github.com/schwa/SIMD-Support.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SIMDSupport",
  "name" : "SIMDSupport",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "SIMDSupport",
      "targets" : [
        "SIMDSupport"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SIMDSupportUnsafeConformances",
      "module_type" : "SwiftTarget",
      "name" : "SIMDSupportUnsafeConformances",
      "path" : "Sources/SIMDSupportUnsafeConformances",
      "sources" : [
        "SIMDSupportUnsafeConformances.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SIMDSupportTests",
      "module_type" : "SwiftTarget",
      "name" : "SIMDSupportTests",
      "path" : "Tests/SIMDSupportTests",
      "sources" : [
        "CompendiumTests.swift",
        "DocTest.swift",
        "EulerTests.swift",
        "MatrixDecompositionTests.swift",
        "SIMDTests.swift",
        "TransformTests.swift",
        "XCTAsserts.swift"
      ],
      "target_dependencies" : [
        "SIMDSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SIMDSupport",
      "module_type" : "SwiftTarget",
      "name" : "SIMDSupport",
      "path" : "Sources/SIMDSupport",
      "product_memberships" : [
        "SIMDSupport"
      ],
      "sources" : [
        "Angle.swift",
        "Arcball.swift",
        "Color.swift",
        "CoreGraphics.swift",
        "Euler.swift",
        "EulerRotation.swift",
        "GenericMatrices.swift",
        "Matrix4x4+Extensions.swift",
        "MatrixDecomposition.swift",
        "Projection.swift",
        "Quaternion.swift",
        "SIMD+AltHashable.swift",
        "SIMD+Color.swift",
        "SIMD+Swizzling.swift",
        "SRT.swift",
        "Scratch.swift",
        "Support.swift",
        "Transform.swift",
        "Vector.swift",
        "simd+matrix3x.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
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/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/24] Emitting module SIMDSupportUnsafeConformances
[5/24] Compiling SIMDSupportUnsafeConformances SIMDSupportUnsafeConformances.swift
[6/24] Compiling SIMDSupport Support.swift
/Users/admin/builder/spi-builder-workspace/Sources/SIMDSupport/Transform.swift:14:23: warning: static property 'identity' is not concurrency-safe because non-'Sendable' type 'Transform' may have shared mutable state; this is an error in the Swift 6 language mode
  4 | A type to represent a 3d transformation as an `SRT` or a SIMD matrix.
  5 | */
  6 | public struct Transform: Codable, Hashable {
    |               `- note: consider making struct 'Transform' conform to the 'Sendable' protocol
  7 |     public enum Storage: Equatable {
  8 |         case matrix(simd_float4x4)
    :
 12 |     public private(set) var storage: Storage
 13 |
 14 |     public static let identity = Transform()
    |                       |- warning: static property 'identity' is not concurrency-safe because non-'Sendable' type 'Transform' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'identity' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 15 |
 16 |     public init(scale: SIMD3<Float> = .unit, rotation: simd_quatf = .identity, translation: SIMD3<Float> = .zero) {
[7/24] Compiling SIMDSupport Transform.swift
/Users/admin/builder/spi-builder-workspace/Sources/SIMDSupport/Transform.swift:14:23: warning: static property 'identity' is not concurrency-safe because non-'Sendable' type 'Transform' may have shared mutable state; this is an error in the Swift 6 language mode
  4 | A type to represent a 3d transformation as an `SRT` or a SIMD matrix.
  5 | */
  6 | public struct Transform: Codable, Hashable {
    |               `- note: consider making struct 'Transform' conform to the 'Sendable' protocol
  7 |     public enum Storage: Equatable {
  8 |         case matrix(simd_float4x4)
    :
 12 |     public private(set) var storage: Storage
 13 |
 14 |     public static let identity = Transform()
    |                       |- warning: static property 'identity' is not concurrency-safe because non-'Sendable' type 'Transform' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'identity' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 15 |
 16 |     public init(scale: SIMD3<Float> = .unit, rotation: simd_quatf = .identity, translation: SIMD3<Float> = .zero) {
[8/24] Compiling SIMDSupport SRT.swift
[9/24] Compiling SIMDSupport Scratch.swift
[10/26] Compiling SIMDSupport Vector.swift
[11/26] Compiling SIMDSupport simd+matrix3x.swift
[12/26] Compiling SIMDSupport SIMD+Color.swift
[13/26] Compiling SIMDSupport SIMD+Swizzling.swift
[14/26] Compiling SIMDSupport MatrixDecomposition.swift
[15/26] Compiling SIMDSupport Projection.swift
[16/26] Compiling SIMDSupport Quaternion.swift
[17/26] Compiling SIMDSupport SIMD+AltHashable.swift
[18/26] Compiling SIMDSupport GenericMatrices.swift
[19/26] Compiling SIMDSupport Matrix4x4+Extensions.swift
[20/26] Compiling SIMDSupport Euler.swift
[21/26] Compiling SIMDSupport EulerRotation.swift
[22/26] Compiling SIMDSupport Angle.swift
[23/26] Compiling SIMDSupport Arcball.swift
[24/26] Compiling SIMDSupport Color.swift
[25/26] Compiling SIMDSupport CoreGraphics.swift
[26/26] Emitting module SIMDSupport
/Users/admin/builder/spi-builder-workspace/Sources/SIMDSupport/Transform.swift:14:23: warning: static property 'identity' is not concurrency-safe because non-'Sendable' type 'Transform' may have shared mutable state; this is an error in the Swift 6 language mode
  4 | A type to represent a 3d transformation as an `SRT` or a SIMD matrix.
  5 | */
  6 | public struct Transform: Codable, Hashable {
    |               `- note: consider making struct 'Transform' conform to the 'Sendable' protocol
  7 |     public enum Storage: Equatable {
  8 |         case matrix(simd_float4x4)
    :
 12 |     public private(set) var storage: Storage
 13 |
 14 |     public static let identity = Transform()
    |                       |- warning: static property 'identity' is not concurrency-safe because non-'Sendable' type 'Transform' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'identity' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 15 |
 16 |     public init(scale: SIMD3<Float> = .unit, rotation: simd_quatf = .identity, translation: SIMD3<Float> = .zero) {
Build complete! (6.63s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SIMDSupport",
  "name" : "SIMDSupport",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "SIMDSupport",
      "targets" : [
        "SIMDSupport"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SIMDSupportUnsafeConformances",
      "module_type" : "SwiftTarget",
      "name" : "SIMDSupportUnsafeConformances",
      "path" : "Sources/SIMDSupportUnsafeConformances",
      "sources" : [
        "SIMDSupportUnsafeConformances.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SIMDSupportTests",
      "module_type" : "SwiftTarget",
      "name" : "SIMDSupportTests",
      "path" : "Tests/SIMDSupportTests",
      "sources" : [
        "CompendiumTests.swift",
        "DocTest.swift",
        "EulerTests.swift",
        "MatrixDecompositionTests.swift",
        "SIMDTests.swift",
        "TransformTests.swift",
        "XCTAsserts.swift"
      ],
      "target_dependencies" : [
        "SIMDSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SIMDSupport",
      "module_type" : "SwiftTarget",
      "name" : "SIMDSupport",
      "path" : "Sources/SIMDSupport",
      "product_memberships" : [
        "SIMDSupport"
      ],
      "sources" : [
        "Angle.swift",
        "Arcball.swift",
        "Color.swift",
        "CoreGraphics.swift",
        "Euler.swift",
        "EulerRotation.swift",
        "GenericMatrices.swift",
        "Matrix4x4+Extensions.swift",
        "MatrixDecomposition.swift",
        "Projection.swift",
        "Quaternion.swift",
        "SIMD+AltHashable.swift",
        "SIMD+Color.swift",
        "SIMD+Swizzling.swift",
        "SRT.swift",
        "Scratch.swift",
        "Support.swift",
        "Transform.swift",
        "Vector.swift",
        "simd+matrix3x.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
Done.