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.0 for macOS (SPM) on 29 Nov 2024 03:17:03 UTC.

Swift 6 data race errors: 2

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 -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.58.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/386] Fetching pianoroll
Fetched https://github.com/AudioKit/PianoRoll.git from cache (0.88s)
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.0
Building package at path:  $PWD
https://github.com/AudioKit/PianoRoll.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 -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--7754E27361AE5C74.txt
[3/10] Compiling PianoRoll VerticalPianoRollNoteView.swift
[4/10] Compiling PianoRoll PianoRollNoteView.swift
[5/10] Compiling PianoRoll PianoRollNote.swift
[6/10] Compiling PianoRoll PianoRollModel.swift
[7/10] Compiling PianoRoll PianoRoll.swift
[8/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
[9/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: annotate 'defaultValue' 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
 6 |
 7 |     public static func reduce(value: inout [NoteOffsetInfo], nextValue: () -> [NoteOffsetInfo]) {
[10/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: annotate 'defaultValue' 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
 6 |
 7 |     public static func reduce(value: inout [NoteOffsetInfo], nextValue: () -> [NoteOffsetInfo]) {
Build complete! (18.77s)
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.0
Target:                   PianoRoll
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/swift-docc-render-artifact/.git/
From https://github.com/swiftlang/swift-docc-render-artifact
 * branch            88815688627177b9716a01ca41da19397bd30e47 -> FETCH_HEAD
HEAD is now at 8881568 Update the artifact
Extracting symbol information for 'PianoRoll'...
Finished extracting symbol information for 'PianoRoll'. (4.97s)
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.45s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/audiokit/pianoroll/1.0.7
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2038] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.27s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (0.56s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3186] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.22s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.58s)
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
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
Building for debugging...
[0/8] Write sources
[2/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version--7754E27361AE5C74.txt
[6/53] Emitting module SymbolKit
[7/57] Compiling Snippets Snippet.swift
[8/57] Emitting module Snippets
[9/57] Compiling Snippets SnippetParser.swift
[10/57] Compiling SymbolKit Mixin+Equals.swift
[11/57] Compiling SymbolKit Mixin+Hash.swift
[12/57] Compiling SymbolKit Mixin.swift
[13/57] Compiling SymbolKit LineList.swift
[14/57] Compiling SymbolKit Position.swift
[15/57] Compiling SymbolKit GenericConstraint.swift
[16/57] Compiling SymbolKit GenericParameter.swift
[17/57] Compiling SymbolKit Generics.swift
[18/57] Compiling SymbolKit Namespace.swift
[19/57] Compiling SymbolKit DeclarationFragments.swift
[20/57] Compiling SymbolKit Fragment.swift
[21/57] Compiling SymbolKit FragmentKind.swift
[22/57] Compiling SymbolKit FunctionParameter.swift
[23/57] Compiling SymbolKit FunctionSignature.swift
[24/57] Compiling SymbolKit Names.swift
[25/57] Compiling SymbolKit SPI.swift
[26/57] Compiling SymbolKit Snippet.swift
[27/57] Compiling SymbolKit Extension.swift
[28/57] Compiling SymbolKit Relationship.swift
[29/57] Compiling SymbolKit RelationshipKind.swift
[30/57] Compiling SymbolKit SourceOrigin.swift
[31/57] Compiling SymbolKit GenericConstraints.swift
[32/57] Compiling SymbolKit Swift.swift
[33/57] Compiling SymbolKit SourceRange.swift
[34/57] Compiling SymbolKit Metadata.swift
[35/57] Compiling SymbolKit Module.swift
[36/57] Compiling SymbolKit OperatingSystem.swift
[37/57] Compiling SymbolKit Platform.swift
[38/57] Compiling SymbolKit SemanticVersion.swift
[39/57] Compiling SymbolKit AccessControl.swift
[40/57] Compiling SymbolKit Availability.swift
[41/57] Compiling SymbolKit AvailabilityItem.swift
[42/57] Compiling SymbolKit Domain.swift
[43/57] Compiling SymbolKit Identifier.swift
[44/57] Compiling SymbolKit KindIdentifier.swift
[45/57] Compiling SymbolKit Location.swift
[46/57] Compiling SymbolKit Mutability.swift
[47/57] Compiling SymbolKit Symbol.swift
[48/57] Compiling SymbolKit SymbolKind.swift
[49/57] Compiling SymbolKit SymbolGraph.swift
[50/57] Compiling SymbolKit GraphCollector.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 SymbolGraph+Snippet.swift
[56/61] Compiling snippet_extract URL+Status.swift
[57/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Emitting module snippet_extract
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.06s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/9] Compiling PianoRoll PianoRollNoteView.swift
[3/9] Compiling PianoRoll PianoRollNote.swift
[4/9] Compiling PianoRoll VerticalPianoRollNoteView.swift
[5/9] Compiling PianoRoll PreferenceKeys.swift
[6/9] Compiling PianoRoll PianoRollModel.swift
[7/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
[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)
    1511
12	/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: 1511
Doc size:   12.0MB
Preparing doc bundle ...
Uploading prod-audiokit-pianoroll-1.0.7-ac538a4b.zip to s3://spi-docs-inbox/prod-audiokit-pianoroll-1.0.7-ac538a4b.zip
Copying... [11%]
Copying... [21%]
Copying... [32%]
Copying... [40%]
Copying... [51%]
Copying... [62%]
Copying... [72%]
Copying... [80%]
Copying... [91%]
Copying... [100%]
Done.