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 Decomposed, reference main (225ec7), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 20:43:54 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/b3ll/Decomposed.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/b3ll/Decomposed
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 225ec77 Fix swift-create-xcframeworks in create-release.yml
Cloned https://github.com/b3ll/Decomposed.git
Revision (git rev-parse @):
225ec7726a70ae586a5e0d65b450551d4f15b298
SUCCESS checkout https://github.com/b3ll/Decomposed.git at main
========================================
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": "decomposed",
      "name": "Decomposed",
      "url": "https://github.com/b3ll/Decomposed.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Decomposed",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/b3ll/Decomposed.git
[1/821] Fetching decomposed
Fetched https://github.com/b3ll/Decomposed.git from cache (1.16s)
Creating working copy for https://github.com/b3ll/Decomposed.git
Working copy of https://github.com/b3ll/Decomposed.git resolved at main (225ec77)
warning: '.resolve-product-dependencies': dependency 'decomposed' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/b3ll/Decomposed.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/11] Compiling Decomposed Globals.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Decomposed/Globals.swift:13:14: warning: let 'DisableActions' is not concurrency-safe because non-'Sendable' type '(() -> Void) -> ()' may have shared mutable state; this is an error in the Swift 6 language mode
11 | internal let SupportedAccuracy = 0.0001
12 |
13 | internal let DisableActions = { (changes: () -> Void) in
   |              |- warning: let 'DisableActions' is not concurrency-safe because non-'Sendable' type '(() -> Void) -> ()' may have shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: annotate 'DisableActions' 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
14 |   CATransaction.begin()
15 |   CATransaction.setDisableActions(true)
[4/11] Compiling Decomposed SIMDConvenienceExtensions.swift
[5/11] Compiling Decomposed Interpolatable.swift
[6/11] Compiling Decomposed SIMDDecomposed.swift
[7/11] Compiling Decomposed CALayerExtensions.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Decomposed/Globals.swift:13:14: warning: let 'DisableActions' is not concurrency-safe because non-'Sendable' type '(() -> Void) -> ()' may have shared mutable state; this is an error in the Swift 6 language mode
11 | internal let SupportedAccuracy = 0.0001
12 |
13 | internal let DisableActions = { (changes: () -> Void) in
   |              |- warning: let 'DisableActions' is not concurrency-safe because non-'Sendable' type '(() -> Void) -> ()' may have shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: annotate 'DisableActions' 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
14 |   CATransaction.begin()
15 |   CATransaction.setDisableActions(true)
[8/11] Compiling Decomposed CATransform3DExtensions.swift
[9/11] Compiling Decomposed CATransform3DConvenienceExtensions.swift
[10/11] Emitting module Decomposed
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Decomposed/Globals.swift:13:14: warning: let 'DisableActions' is not concurrency-safe because non-'Sendable' type '(() -> Void) -> ()' may have shared mutable state; this is an error in the Swift 6 language mode
11 | internal let SupportedAccuracy = 0.0001
12 |
13 | internal let DisableActions = { (changes: () -> Void) in
   |              |- warning: let 'DisableActions' is not concurrency-safe because non-'Sendable' type '(() -> Void) -> ()' may have shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: annotate 'DisableActions' 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
14 |   CATransaction.begin()
15 |   CATransaction.setDisableActions(true)
[11/11] Compiling Decomposed CGFloatVectorTypes.swift
Build complete! (11.71s)
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/Decomposed/Info.plist
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Decomposed",
  "name" : "Decomposed",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "Decomposed",
      "targets" : [
        "Decomposed"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "DecomposedTests",
      "module_type" : "SwiftTarget",
      "name" : "DecomposedTests",
      "path" : "Tests/DecomposedTests",
      "sources" : [
        "DoubleTests.swift",
        "FloatTests.swift",
        "XCTestManifests.swift",
        "XCTestUtils.swift"
      ],
      "target_dependencies" : [
        "Decomposed"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Decomposed",
      "module_type" : "SwiftTarget",
      "name" : "Decomposed",
      "path" : "Sources/Decomposed",
      "product_memberships" : [
        "Decomposed"
      ],
      "sources" : [
        "CALayerExtensions.swift",
        "CATransform3DConvenienceExtensions.swift",
        "CATransform3DExtensions.swift",
        "CGFloatVectorTypes.swift",
        "Globals.swift",
        "Interpolatable.swift",
        "SIMDConvenienceExtensions.swift",
        "SIMDDecomposed.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
Done.