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 PianoRoll, reference 1.0.7 (49e5b6), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 07:02:53 UTC.

Swift 6 data race errors: 2

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/AudioKit/PianoRoll.git
Reference: 1.0.7
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/AudioKit/PianoRoll
 * tag               1.0.7      -> FETCH_HEAD
HEAD is now at 49e5b61 Reorder PianoRollNote params (#14)
Cloned https://github.com/AudioKit/PianoRoll.git
Revision (git rev-parse @):
49e5b619ffbd581431b5baa99054fa1a6982c404
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/AudioKit/PianoRoll.git at 1.0.7
========================================
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": "pianoroll",
      "name": "PianoRoll",
      "url": "https://github.com/AudioKit/PianoRoll.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PianoRoll",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/AudioKit/PianoRoll.git
[1/396] Fetching pianoroll
Fetched https://github.com/AudioKit/PianoRoll.git from cache (0.90s)
Creating working copy for https://github.com/AudioKit/PianoRoll.git
Working copy of https://github.com/AudioKit/PianoRoll.git resolved at 1.0.7 (49e5b61)
warning: '.resolve-product-dependencies': dependency 'pianoroll' 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/AudioKit/PianoRoll.git
https://github.com/AudioKit/PianoRoll.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "PianoRoll",
  "name" : "PianoRoll",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "PianoRoll",
      "targets" : [
        "PianoRoll"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PianoRollTests",
      "module_type" : "SwiftTarget",
      "name" : "PianoRollTests",
      "path" : "Tests/PianoRollTests",
      "sources" : [
        "PianoRollTests.swift"
      ],
      "target_dependencies" : [
        "PianoRoll"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PianoRoll",
      "module_type" : "SwiftTarget",
      "name" : "PianoRoll",
      "path" : "Sources/PianoRoll",
      "product_memberships" : [
        "PianoRoll"
      ],
      "sources" : [
        "PianoRoll.swift",
        "PianoRollGrid.swift",
        "PianoRollModel.swift",
        "PianoRollNote.swift",
        "PianoRollNoteView.swift",
        "PreferenceKeys.swift",
        "VerticalPianoRollNoteView.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
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/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/10] Compiling PianoRoll PianoRollNote.swift
[4/10] Compiling PianoRoll PianoRollNoteView.swift
[5/10] Compiling PianoRoll PianoRollModel.swift
[6/10] Compiling PianoRoll PianoRollGrid.swift
/Users/admin/builder/spi-builder-workspace/Sources/PianoRoll/PianoRollGrid.swift:13:9: warning: stored property 'layout' of 'Sendable'-conforming struct 'PianoRollGrid' has non-sendable type 'PianoRoll.Layout'; this is an error in the Swift 6 language mode
11 |     var length: Int
12 |     var height: Int
13 |     var layout: PianoRoll.Layout
   |         `- warning: stored property 'layout' of 'Sendable'-conforming struct 'PianoRollGrid' has non-sendable type 'PianoRoll.Layout'; this is an error in the Swift 6 language mode
14 |
15 |     func path(in rect: CGRect) -> Path {
/Users/admin/builder/spi-builder-workspace/Sources/PianoRoll/PianoRoll.swift:9:17: note: consider making enum 'Layout' conform to the 'Sendable' protocol
  7 | /// Note: Requires macOS 12 / iOS 15 due to SwiftUI bug (crashes in SwiftUI when deleting notes).
  8 | public struct PianoRoll: View {
  9 |     public enum Layout {
    |                 `- note: consider making enum 'Layout' conform to the 'Sendable' protocol
 10 |         case horizontal
 11 |         case vertical
[7/10] Compiling PianoRoll PreferenceKeys.swift
/Users/admin/builder/spi-builder-workspace/Sources/PianoRoll/PreferenceKeys.swift:5:23: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 3 | /// For accumulating note view offsets.
 4 | public struct NoteOffsetsKey: PreferenceKey {
 5 |     public static var defaultValue: [NoteOffsetInfo] = []
   |                       |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 6 |
 7 |     public static func reduce(value: inout [NoteOffsetInfo], nextValue: () -> [NoteOffsetInfo]) {
[8/10] Compiling PianoRoll VerticalPianoRollNoteView.swift
[9/10] Emitting module PianoRoll
/Users/admin/builder/spi-builder-workspace/Sources/PianoRoll/PianoRollGrid.swift:13:9: warning: stored property 'layout' of 'Sendable'-conforming struct 'PianoRollGrid' has non-sendable type 'PianoRoll.Layout'; this is an error in the Swift 6 language mode
11 |     var length: Int
12 |     var height: Int
13 |     var layout: PianoRoll.Layout
   |         `- warning: stored property 'layout' of 'Sendable'-conforming struct 'PianoRollGrid' has non-sendable type 'PianoRoll.Layout'; this is an error in the Swift 6 language mode
14 |
15 |     func path(in rect: CGRect) -> Path {
/Users/admin/builder/spi-builder-workspace/Sources/PianoRoll/PianoRoll.swift:9:17: note: consider making enum 'Layout' conform to the 'Sendable' protocol
  7 | /// Note: Requires macOS 12 / iOS 15 due to SwiftUI bug (crashes in SwiftUI when deleting notes).
  8 | public struct PianoRoll: View {
  9 |     public enum Layout {
    |                 `- note: consider making enum 'Layout' conform to the 'Sendable' protocol
 10 |         case horizontal
 11 |         case vertical
/Users/admin/builder/spi-builder-workspace/Sources/PianoRoll/PreferenceKeys.swift:5:23: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 3 | /// For accumulating note view offsets.
 4 | public struct NoteOffsetsKey: PreferenceKey {
 5 |     public static var defaultValue: [NoteOffsetInfo] = []
   |                       |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 6 |
 7 |     public static func reduce(value: inout [NoteOffsetInfo], nextValue: () -> [NoteOffsetInfo]) {
[10/10] Compiling PianoRoll PianoRoll.swift
Build complete! (9.53s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "PianoRoll",
  "name" : "PianoRoll",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "PianoRoll",
      "targets" : [
        "PianoRoll"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PianoRollTests",
      "module_type" : "SwiftTarget",
      "name" : "PianoRollTests",
      "path" : "Tests/PianoRollTests",
      "sources" : [
        "PianoRollTests.swift"
      ],
      "target_dependencies" : [
        "PianoRoll"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PianoRoll",
      "module_type" : "SwiftTarget",
      "name" : "PianoRoll",
      "path" : "Sources/PianoRoll",
      "product_memberships" : [
        "PianoRoll"
      ],
      "sources" : [
        "PianoRoll.swift",
        "PianoRollGrid.swift",
        "PianoRollModel.swift",
        "PianoRollNote.swift",
        "PianoRollNoteView.swift",
        "PreferenceKeys.swift",
        "VerticalPianoRollNoteView.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/audiokit/pianoroll/1.0.7
Repository:               AudioKit/PianoRoll
Swift version used:       6.1
Target:                   PianoRoll
Extracting symbol information for 'PianoRoll'...
Finished extracting symbol information for 'PianoRoll'. (4.83s)
Building documentation for 'PianoRoll'...
warning: Parameter 'layout' is missing documentation
  --> ../PianoRoll.swift:29:42-29:42
27 |     ///   - noteLineOpacity: Opacity of the note view vertical black line
28 |     ///   - gridColor: Color of grid
29 +     ///   - gridSize: Size of a grid cell
   |                                          ╰─suggestion: Document 'layout' parameter
30 |     public init(
31 |         editable: Bool = true,
Finished building documentation for 'PianoRoll' (0.58s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/audiokit/pianoroll/1.0.7
Fetching https://github.com/swiftlang/swift-docc-plugin from cache
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.46s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (1.04s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit from cache
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.79s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.43s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.3
Building for debugging...
[0/8] Write sources
[1/8] Write snippet-extract-tool-entitlement.plist
[2/8] Write sources
[4/8] Write swift-version-2F0A5646E1D333AE.txt
[6/53] Compiling SymbolKit GenericConstraint.swift
[7/53] Compiling SymbolKit GenericParameter.swift
[8/53] Compiling SymbolKit Generics.swift
[9/53] Compiling SymbolKit Namespace.swift
[10/57] Compiling Snippets Snippet.swift
[11/57] Compiling SymbolKit Identifier.swift
[12/57] Compiling SymbolKit KindIdentifier.swift
[13/57] Compiling SymbolKit Location.swift
[14/57] Compiling SymbolKit Mutability.swift
[15/57] Compiling SymbolKit DeclarationFragments.swift
[16/57] Compiling SymbolKit Fragment.swift
[17/57] Compiling SymbolKit FragmentKind.swift
[18/57] Compiling SymbolKit FunctionParameter.swift
[19/57] Compiling SymbolKit FunctionSignature.swift
[20/57] Compiling SymbolKit Relationship.swift
[21/57] Compiling SymbolKit RelationshipKind.swift
[22/57] Compiling SymbolKit SourceOrigin.swift
[23/57] Compiling SymbolKit GenericConstraints.swift
[24/57] Compiling SymbolKit Swift.swift
[25/57] Compiling SymbolKit Names.swift
[26/57] Compiling SymbolKit SPI.swift
[27/57] Compiling SymbolKit Snippet.swift
[28/57] Compiling SymbolKit Extension.swift
[29/57] Compiling SymbolKit SourceRange.swift
[30/57] Compiling SymbolKit Metadata.swift
[31/57] Compiling SymbolKit Module.swift
[32/57] Compiling SymbolKit OperatingSystem.swift
[33/57] Compiling SymbolKit Platform.swift
[34/57] Emitting module SymbolKit
[35/57] Compiling SymbolKit Mixin+Equals.swift
[36/57] Compiling SymbolKit Mixin+Hash.swift
[37/57] Compiling SymbolKit Mixin.swift
[38/57] Compiling SymbolKit LineList.swift
[39/57] Compiling SymbolKit Position.swift
[40/57] Emitting module Snippets
[41/57] Compiling Snippets SnippetParser.swift
[42/57] Compiling SymbolKit Symbol.swift
[43/57] Compiling SymbolKit SymbolKind.swift
[44/57] Compiling SymbolKit SymbolGraph.swift
[45/57] Compiling SymbolKit GraphCollector.swift
[46/57] Compiling SymbolKit SemanticVersion.swift
[47/57] Compiling SymbolKit AccessControl.swift
[48/57] Compiling SymbolKit Availability.swift
[49/57] Compiling SymbolKit AvailabilityItem.swift
[50/57] Compiling SymbolKit Domain.swift
[51/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[52/57] Compiling SymbolKit UnifiedSymbol.swift
[53/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[54/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Emitting module snippet_extract
[58/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.21s)
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/9] Compiling PianoRoll PreferenceKeys.swift
[3/9] Compiling PianoRoll PianoRollModel.swift
[4/9] Compiling PianoRoll VerticalPianoRollNoteView.swift
[5/9] Compiling PianoRoll PianoRollNoteView.swift
[6/9] Compiling PianoRoll PianoRollGrid.swift
/Users/admin/builder/spi-builder-workspace/Sources/PianoRoll/PianoRollGrid.swift:13:9: warning: stored property 'layout' of 'Sendable'-conforming struct 'PianoRollGrid' has non-sendable type 'PianoRoll.Layout'; this is an error in the Swift 6 language mode
11 |     var length: Int
12 |     var height: Int
13 |     var layout: PianoRoll.Layout
   |         `- warning: stored property 'layout' of 'Sendable'-conforming struct 'PianoRollGrid' has non-sendable type 'PianoRoll.Layout'; this is an error in the Swift 6 language mode
14 |
15 |     func path(in rect: CGRect) -> Path {
/Users/admin/builder/spi-builder-workspace/Sources/PianoRoll/PianoRoll.swift:9:17: note: consider making enum 'Layout' conform to the 'Sendable' protocol
  7 | /// Note: Requires macOS 12 / iOS 15 due to SwiftUI bug (crashes in SwiftUI when deleting notes).
  8 | public struct PianoRoll: View {
  9 |     public enum Layout {
    |                 `- note: consider making enum 'Layout' conform to the 'Sendable' protocol
 10 |         case horizontal
 11 |         case vertical
[7/9] Compiling PianoRoll PianoRollNote.swift
[8/9] Emitting module PianoRoll
/Users/admin/builder/spi-builder-workspace/Sources/PianoRoll/PianoRollGrid.swift:13:9: warning: stored property 'layout' of 'Sendable'-conforming struct 'PianoRollGrid' has non-sendable type 'PianoRoll.Layout'; this is an error in the Swift 6 language mode
11 |     var length: Int
12 |     var height: Int
13 |     var layout: PianoRoll.Layout
   |         `- warning: stored property 'layout' of 'Sendable'-conforming struct 'PianoRollGrid' has non-sendable type 'PianoRoll.Layout'; this is an error in the Swift 6 language mode
14 |
15 |     func path(in rect: CGRect) -> Path {
/Users/admin/builder/spi-builder-workspace/Sources/PianoRoll/PianoRoll.swift:9:17: note: consider making enum 'Layout' conform to the 'Sendable' protocol
  7 | /// Note: Requires macOS 12 / iOS 15 due to SwiftUI bug (crashes in SwiftUI when deleting notes).
  8 | public struct PianoRoll: View {
  9 |     public enum Layout {
    |                 `- note: consider making enum 'Layout' conform to the 'Sendable' protocol
 10 |         case horizontal
 11 |         case vertical
[9/9] Compiling PianoRoll PianoRoll.swift
Build of target: 'PianoRoll' complete! (0.88s)
    1531
11	/Users/admin/builder/spi-builder-workspace/.docs/audiokit/pianoroll/1.0.7
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/audiokit/pianoroll/1.0.7
File count: 1531
Doc size:   11.0MB
Preparing doc bundle ...
Uploading prod-audiokit-pianoroll-1.0.7-36c7ad9c.zip to s3://spi-docs-inbox/prod-audiokit-pianoroll-1.0.7-36c7ad9c.zip
Copying... [11%]
Copying... [22%]
Copying... [30%]
Copying... [42%]
Copying... [53%]
Copying... [61%]
Copying... [72%]
Copying... [80%]
Copying... [91%]
Copying... [100%]
Done.