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 swiftui-animate, reference main (df8f33), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 10:48:37 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/sebj/swiftui-animate.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/sebj/swiftui-animate
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at df8f33e Mention new official keyframeAnimator view modifier in README.md
Cloned https://github.com/sebj/swiftui-animate.git
Revision (git rev-parse @):
df8f33e70dae491fa3fba6dda7cc943c2dbf2e1e
SUCCESS checkout https://github.com/sebj/swiftui-animate.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": "swiftui-animate",
      "name": "swiftui-animate",
      "url": "https://github.com/sebj/swiftui-animate.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swiftui-animate",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/sebj/swiftui-animate.git
[1/62] Fetching swiftui-animate
Fetched https://github.com/sebj/swiftui-animate.git from cache (0.66s)
Creating working copy for https://github.com/sebj/swiftui-animate.git
Working copy of https://github.com/sebj/swiftui-animate.git resolved at main (df8f33e)
warning: 'swiftui-animate': the target name Animate has different case on the filesystem and the Package.swift manifest file
warning: '.resolve-product-dependencies': dependency 'swiftui-animate' 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/sebj/swiftui-animate.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/6] Compiling Animate KeyFrame.swift
[4/6] Compiling Animate RuntimeWarnings.swift
/Users/admin/builder/spi-builder-workspace/Sources/Animate/RuntimeWarnings.swift:14:13: warning: let 'rw' is not concurrency-safe because non-'Sendable' type '(dso: UnsafeMutableRawPointer, log: OSLog)' may have shared mutable state; this is an error in the Swift 6 language mode
12 | //
13 | // Feedback filed: https://gist.github.com/stephencelis/a8d06383ed6ccde3e5ef5d1b3ad52bbc
14 | private let rw = (
   |             |- warning: let 'rw' is not concurrency-safe because non-'Sendable' type '(dso: UnsafeMutableRawPointer, log: OSLog)' may have shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: annotate 'rw' 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
15 |     dso: { () -> UnsafeMutableRawPointer in
16 |         let count = _dyld_image_count()
[5/6] Compiling Animate AnimationViewModifier.swift
[6/6] Emitting module Animate
/Users/admin/builder/spi-builder-workspace/Sources/Animate/RuntimeWarnings.swift:14:13: warning: let 'rw' is not concurrency-safe because non-'Sendable' type '(dso: UnsafeMutableRawPointer, log: OSLog)' may have shared mutable state; this is an error in the Swift 6 language mode
12 | //
13 | // Feedback filed: https://gist.github.com/stephencelis/a8d06383ed6ccde3e5ef5d1b3ad52bbc
14 | private let rw = (
   |             |- warning: let 'rw' is not concurrency-safe because non-'Sendable' type '(dso: UnsafeMutableRawPointer, log: OSLog)' may have shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: annotate 'rw' 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
15 |     dso: { () -> UnsafeMutableRawPointer in
16 |         let count = _dyld_image_count()
Build complete! (12.10s)
warning: 'spi-builder-workspace': the target name Animate has different case on the filesystem and the Package.swift manifest file
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swiftui-animate",
  "name" : "swiftui-animate",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    }
  ],
  "products" : [
    {
      "name" : "Animate",
      "targets" : [
        "Animate"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Animate",
      "module_type" : "SwiftTarget",
      "name" : "Animate",
      "path" : "Sources/Animate",
      "product_memberships" : [
        "Animate"
      ],
      "sources" : [
        "AnimationViewModifier.swift",
        "KeyFrame.swift",
        "RuntimeWarnings.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
warning: 'spi-builder-workspace': the target name Animate has different case on the filesystem and the Package.swift manifest file
Done.