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 Flow, reference main (763878), with Swift 6.0 for macOS (SPM) on 30 Nov 2024 15:54:47 UTC.

Swift 6 data race errors: 0

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.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/AudioKit/Flow.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/AudioKit/Flow
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 763878a Try to fix CI (#38)
Cloned https://github.com/AudioKit/Flow.git
Revision (git rev-parse @):
763878a766114b096780db037fb2bd28cec72806
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/AudioKit/Flow.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": "flow",
      "name": "Flow",
      "url": "https://github.com/AudioKit/Flow.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Flow",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/AudioKit/Flow.git
[1/2091] Fetching flow
Fetched https://github.com/AudioKit/Flow.git from cache (1.09s)
Creating working copy for https://github.com/AudioKit/Flow.git
Working copy of https://github.com/AudioKit/Flow.git resolved at main (763878a)
warning: '.resolve-product-dependencies': dependency 'flow' 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/Flow.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Flow",
  "name" : "Flow",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "Flow",
      "targets" : [
        "Flow"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FlowTests",
      "module_type" : "SwiftTarget",
      "name" : "FlowTests",
      "path" : "Tests/FlowTests",
      "sources" : [
        "LayoutTests.swift",
        "NodeTests.swift"
      ],
      "target_dependencies" : [
        "Flow"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Flow",
      "module_type" : "SwiftTarget",
      "name" : "Flow",
      "path" : "Sources/Flow",
      "product_memberships" : [
        "Flow"
      ],
      "sources" : [
        "Helpers.swift",
        "Model/LayoutConstants.swift",
        "Model/Node+Gestures.swift",
        "Model/Node+Layout.swift",
        "Model/Node.swift",
        "Model/Patch+Gestures.swift",
        "Model/Patch+Layout.swift",
        "Model/Patch.swift",
        "Model/Port.swift",
        "Model/Wire.swift",
        "Views/NodeEditor+Drawing.swift",
        "Views/NodeEditor+Gestures.swift",
        "Views/NodeEditor+Modifiers.swift",
        "Views/NodeEditor+Rects.swift",
        "Views/NodeEditor+Style.swift",
        "Views/NodeEditor.swift",
        "Views/TextCache.swift",
        "Views/WorkspaceView.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
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/20] Compiling Flow Patch+Layout.swift
[4/20] Compiling Flow Patch.swift
[5/21] Compiling Flow NodeEditor+Modifiers.swift
[6/21] Compiling Flow NodeEditor+Rects.swift
[7/21] Compiling Flow NodeEditor+Drawing.swift
[8/21] Compiling Flow NodeEditor+Gestures.swift
[9/21] Compiling Flow Port.swift
[10/21] Compiling Flow Wire.swift
[11/21] Compiling Flow NodeEditor+Style.swift
[12/21] Compiling Flow NodeEditor.swift
[13/21] Compiling Flow Node.swift
[14/21] Compiling Flow Patch+Gestures.swift
[15/21] Compiling Flow TextCache.swift
[16/21] Compiling Flow Node+Gestures.swift
[17/21] Compiling Flow Node+Layout.swift
[18/21] Emitting module Flow
[19/21] Compiling Flow Helpers.swift
[20/21] Compiling Flow LayoutConstants.swift
[21/21] Compiling Flow WorkspaceView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Flow/Views/WorkspaceView.swift:129:13: warning: call to main actor-isolated instance method 'removeTrackingArea' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
127 |     deinit {
128 |         if trackingArea != nil {
129 |             removeTrackingArea(trackingArea)
    |             `- warning: call to main actor-isolated instance method 'removeTrackingArea' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
130 |         }
131 |     }
AppKit.NSView:5:26: note: calls to instance method 'removeTrackingArea' from outside of its actor context are implicitly asynchronous
 3 |     open func addTrackingArea(_ trackingArea: NSTrackingArea)
 4 |     @available(macOS 10.5, *)
 5 |     @MainActor open func removeTrackingArea(_ trackingArea: NSTrackingArea)
   |                          `- note: calls to instance method 'removeTrackingArea' from outside of its actor context are implicitly asynchronous
 6 |     @available(macOS 10.5, *)
 7 |     open var trackingAreas: [NSTrackingArea] { get }
/Users/admin/builder/spi-builder-workspace/Sources/Flow/Views/WorkspaceView.swift:128:12: warning: cannot access property 'trackingArea' with a non-sendable type 'NSTrackingArea?' from nonisolated deinit; this is an error in the Swift 6 language mode
126 |
127 |     deinit {
128 |         if trackingArea != nil {
    |            `- warning: cannot access property 'trackingArea' with a non-sendable type 'NSTrackingArea?' from nonisolated deinit; this is an error in the Swift 6 language mode
129 |             removeTrackingArea(trackingArea)
130 |         }
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
  |                     `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 |     case none
3 |     case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/Sources/Flow/Views/WorkspaceView.swift:129:32: warning: cannot access property 'trackingArea' with a non-sendable type 'NSTrackingArea?' from nonisolated deinit; this is an error in the Swift 6 language mode
127 |     deinit {
128 |         if trackingArea != nil {
129 |             removeTrackingArea(trackingArea)
    |                                `- warning: cannot access property 'trackingArea' with a non-sendable type 'NSTrackingArea?' from nonisolated deinit; this is an error in the Swift 6 language mode
130 |         }
131 |     }
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
  |                     `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 |     case none
3 |     case some(Wrapped)
Build complete! (20.24s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Flow",
  "name" : "Flow",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "Flow",
      "targets" : [
        "Flow"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FlowTests",
      "module_type" : "SwiftTarget",
      "name" : "FlowTests",
      "path" : "Tests/FlowTests",
      "sources" : [
        "LayoutTests.swift",
        "NodeTests.swift"
      ],
      "target_dependencies" : [
        "Flow"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Flow",
      "module_type" : "SwiftTarget",
      "name" : "Flow",
      "path" : "Sources/Flow",
      "product_memberships" : [
        "Flow"
      ],
      "sources" : [
        "Helpers.swift",
        "Model/LayoutConstants.swift",
        "Model/Node+Gestures.swift",
        "Model/Node+Layout.swift",
        "Model/Node.swift",
        "Model/Patch+Gestures.swift",
        "Model/Patch+Layout.swift",
        "Model/Patch.swift",
        "Model/Port.swift",
        "Model/Wire.swift",
        "Views/NodeEditor+Drawing.swift",
        "Views/NodeEditor+Gestures.swift",
        "Views/NodeEditor+Modifiers.swift",
        "Views/NodeEditor+Rects.swift",
        "Views/NodeEditor+Style.swift",
        "Views/NodeEditor.swift",
        "Views/TextCache.swift",
        "Views/WorkspaceView.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/audiokit/flow/main
Repository:               AudioKit/Flow
Swift version used:       6.0
Target:                   Flow
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 'Flow'...
Finished extracting symbol information for 'Flow'. (6.12s)
Building documentation for 'Flow'...
warning: Parameter 'layout' is missing documentation
  --> ../Views/NodeEditor.swift:53:56-53:56
51 |     /// - Parameters:
52 |     ///   - patch: Patch to display.
53 +     ///   - selection: Set of nodes currently selected.
   |                                                        ╰─suggestion: Document 'layout' parameter
54 |     public init(patch: Binding<Patch>,
55 |                 selection: Binding<Set<NodeIndex>>,Finished building documentation for 'Flow' (0.55s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/audiokit/flow/main
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.25s)
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/3188] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.23s)
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-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
[0/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version--7754E27361AE5C74.txt
[6/53] Compiling SymbolKit DeclarationFragments.swift
[7/53] Compiling SymbolKit Fragment.swift
[8/53] Compiling SymbolKit FragmentKind.swift
[9/53] Compiling SymbolKit FunctionParameter.swift
[10/53] Compiling SymbolKit FunctionSignature.swift
[11/57] Compiling SymbolKit Names.swift
[12/57] Compiling SymbolKit SPI.swift
[13/57] Compiling SymbolKit Snippet.swift
[14/57] Compiling SymbolKit Extension.swift
[15/57] Compiling Snippets Snippet.swift
[16/57] Compiling Snippets SnippetParser.swift
[17/57] Emitting module Snippets
[18/57] Compiling SymbolKit SourceRange.swift
[19/57] Compiling SymbolKit Metadata.swift
[20/57] Compiling SymbolKit Module.swift
[21/57] Compiling SymbolKit OperatingSystem.swift
[22/57] Compiling SymbolKit Platform.swift
[23/57] Compiling SymbolKit Relationship.swift
[24/57] Compiling SymbolKit RelationshipKind.swift
[25/57] Compiling SymbolKit SourceOrigin.swift
[26/57] Compiling SymbolKit GenericConstraints.swift
[27/57] Compiling SymbolKit Swift.swift
[28/57] Compiling SymbolKit SemanticVersion.swift
[29/57] Compiling SymbolKit AccessControl.swift
[30/57] Compiling SymbolKit Availability.swift
[31/57] Compiling SymbolKit AvailabilityItem.swift
[32/57] Compiling SymbolKit Domain.swift
[33/57] Emitting module SymbolKit
[34/57] Compiling SymbolKit Mixin+Equals.swift
[35/57] Compiling SymbolKit Mixin+Hash.swift
[36/57] Compiling SymbolKit Mixin.swift
[37/57] Compiling SymbolKit LineList.swift
[38/57] Compiling SymbolKit Position.swift
[39/57] Compiling SymbolKit Identifier.swift
[40/57] Compiling SymbolKit KindIdentifier.swift
[41/57] Compiling SymbolKit Location.swift
[42/57] Compiling SymbolKit Mutability.swift
[43/57] Compiling SymbolKit GenericConstraint.swift
[44/57] Compiling SymbolKit GenericParameter.swift
[45/57] Compiling SymbolKit Generics.swift
[46/57] Compiling SymbolKit Namespace.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 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! (3.89s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/19] Compiling Flow NodeEditor+Style.swift
[3/19] Compiling Flow NodeEditor.swift
[4/19] Compiling Flow TextCache.swift
[5/20] Compiling Flow Patch+Layout.swift
[6/20] Compiling Flow Patch.swift
[7/20] Compiling Flow Port.swift
[8/20] Compiling Flow Wire.swift
[9/20] Compiling Flow Node.swift
[10/20] Compiling Flow Patch+Gestures.swift
[11/20] Compiling Flow NodeEditor+Modifiers.swift
[12/20] Compiling Flow NodeEditor+Rects.swift
[13/20] Compiling Flow Node+Gestures.swift
[14/20] Compiling Flow Node+Layout.swift
[15/20] Emitting module Flow
[16/20] Compiling Flow Helpers.swift
[17/20] Compiling Flow LayoutConstants.swift
[18/20] Compiling Flow NodeEditor+Drawing.swift
[19/20] Compiling Flow NodeEditor+Gestures.swift
[20/20] Compiling Flow WorkspaceView.swift
Build of target: 'Flow' complete! (2.04s)
    1643
13	/Users/admin/builder/spi-builder-workspace/.docs/audiokit/flow/main
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/audiokit/flow/main
File count: 1643
Doc size:   13.0MB
Preparing doc bundle ...
Uploading prod-audiokit-flow-main-5ca25e27.zip to s3://spi-docs-inbox/prod-audiokit-flow-main-5ca25e27.zip
Copying... [12%]
Copying... [21%]
Copying... [30%]
Copying... [42%]
Copying... [51%]
Copying... [60%]
Copying... [72%]
Copying... [81%]
Copying... [90%]
Copying... [100%]
Done.