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 Inspect, reference main (8400a1), with Swift 6.1 for macOS (SPM) on 29 Apr 2025 04:33:22 UTC.

Swift 6 data race errors: 0

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/0xWDG/Inspect.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/0xWDG/Inspect
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 8400a19 Update README.md
Cloned https://github.com/0xWDG/Inspect.git
Revision (git rev-parse @):
8400a19b0116d2a857cd5c3778846790e413cff0
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/0xWDG/Inspect.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": "inspect",
      "name": "Inspect",
      "url": "https://github.com/0xWDG/Inspect.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Inspect",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/0xWDG/Inspect.git
[4/161] Fetching inspect
Fetched https://github.com/0xWDG/Inspect.git from cache (0.83s)
Creating working copy for https://github.com/0xWDG/Inspect.git
Working copy of https://github.com/0xWDG/Inspect.git resolved at main (8400a19)
warning: '.resolve-product-dependencies': dependency 'inspect' 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/0xWDG/Inspect.git
https://github.com/0xWDG/Inspect.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Inspect",
  "name" : "Inspect",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "14.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "Inspect",
      "targets" : [
        "Inspect"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "InspectTests",
      "module_type" : "SwiftTarget",
      "name" : "InspectTests",
      "path" : "Tests/InspectTests",
      "sources" : [
        "InspectTests.swift"
      ],
      "target_dependencies" : [
        "Inspect"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Inspect",
      "module_type" : "SwiftTarget",
      "name" : "Inspect",
      "path" : "Sources/Inspect",
      "product_memberships" : [
        "Inspect"
      ],
      "sources" : [
        "Inspect.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
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/4] Emitting module Inspect
[4/4] Compiling Inspect Inspect.swift
/Users/admin/builder/spi-builder-workspace/Sources/Inspect/Inspect.swift:65:29: warning: main actor-isolated property 'subviews' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 58 |     ///
 59 |     /// - Returns: The view of type (if found)
 60 |     static func findChild<ViewOfType: PlatformView>(
    |                 `- note: add '@MainActor' to make static method 'findChild(ofType:in:)' part of global actor 'MainActor'
 61 |         ofType type: ViewOfType.Type,
 62 |         in root: PlatformView
 63 |     ) -> ViewOfType? {
 64 |         // Search in subviews
 65 |         for subview in root.subviews {
    |                             `- warning: main actor-isolated property 'subviews' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 66 |             if let searchedView = subview as? ViewOfType {
 67 |                 return searchedView
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:88:46: note: property declared here
 86 | @property (nullable, readonly, unsafe_unretained) NSWindow *window;
 87 | @property (nullable, readonly, unsafe_unretained) NSView *superview;
 88 | @property (copy) NSArray<__kindof NSView *> *subviews;
    |                                              `- note: property declared here
 89 | - (BOOL)isDescendantOf:(NSView *)view;
 90 | - (nullable NSView *)ancestorSharedWithView:(NSView *)view;
/Users/admin/builder/spi-builder-workspace/Sources/Inspect/Inspect.swift:94:31: warning: main actor-isolated property 'superview' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 87 |     ///
 88 |     /// - Returns: The view of type (if found)
 89 |     static func find<ViewOfType: PlatformView>(
    |                 `- note: add '@MainActor' to make static method 'find(ofType:from:)' part of global actor 'MainActor'
 90 |         ofType type: ViewOfType.Type,
 91 |         from entry: PlatformView
 92 |     ) -> ViewOfType? {
 93 |         // Get the view above the current view (superview)
 94 |         var superview = entry.superview
    |                               `- warning: main actor-isolated property 'superview' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 95 |
 96 |         while let currentView = superview {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:87:59: note: property declared here
 85 |
 86 | @property (nullable, readonly, unsafe_unretained) NSWindow *window;
 87 | @property (nullable, readonly, unsafe_unretained) NSView *superview;
    |                                                           `- note: property declared here
 88 | @property (copy) NSArray<__kindof NSView *> *subviews;
 89 | - (BOOL)isDescendantOf:(NSView *)view;
/Users/admin/builder/spi-builder-workspace/Sources/Inspect/Inspect.swift:101:37: warning: main actor-isolated property 'superview' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 87 |     ///
 88 |     /// - Returns: The view of type (if found)
 89 |     static func find<ViewOfType: PlatformView>(
    |                 `- note: add '@MainActor' to make static method 'find(ofType:from:)' part of global actor 'MainActor'
 90 |         ofType type: ViewOfType.Type,
 91 |         from entry: PlatformView
    :
 99 |             }
100 |
101 |             superview = currentView.superview
    |                                     `- warning: main actor-isolated property 'superview' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
102 |         }
103 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:87:59: note: property declared here
 85 |
 86 | @property (nullable, readonly, unsafe_unretained) NSWindow *window;
 87 | @property (nullable, readonly, unsafe_unretained) NSView *superview;
    |                                                           `- note: property declared here
 88 | @property (copy) NSArray<__kindof NSView *> *subviews;
 89 | - (BOOL)isDescendantOf:(NSView *)view;
/Users/admin/builder/spi-builder-workspace/Sources/Inspect/Inspect.swift:105:34: warning: main actor-isolated property 'superview' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 87 |     ///
 88 |     /// - Returns: The view of type (if found)
 89 |     static func find<ViewOfType: PlatformView>(
    |                 `- note: add '@MainActor' to make static method 'find(ofType:from:)' part of global actor 'MainActor'
 90 |         ofType type: ViewOfType.Type,
 91 |         from entry: PlatformView
    :
103 |
104 |         // Search previous sibling
105 |         if let superview = entry.superview,
    |                                  `- warning: main actor-isolated property 'superview' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
106 |            let entryIndex = superview.subviews.firstIndex(of: entry),
107 |            entryIndex > 0 {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:87:59: note: property declared here
 85 |
 86 | @property (nullable, readonly, unsafe_unretained) NSWindow *window;
 87 | @property (nullable, readonly, unsafe_unretained) NSView *superview;
    |                                                           `- note: property declared here
 88 | @property (copy) NSArray<__kindof NSView *> *subviews;
 89 | - (BOOL)isDescendantOf:(NSView *)view;
/Users/admin/builder/spi-builder-workspace/Sources/Inspect/Inspect.swift:106:39: warning: main actor-isolated property 'subviews' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 87 |     ///
 88 |     /// - Returns: The view of type (if found)
 89 |     static func find<ViewOfType: PlatformView>(
    |                 `- note: add '@MainActor' to make static method 'find(ofType:from:)' part of global actor 'MainActor'
 90 |         ofType type: ViewOfType.Type,
 91 |         from entry: PlatformView
    :
104 |         // Search previous sibling
105 |         if let superview = entry.superview,
106 |            let entryIndex = superview.subviews.firstIndex(of: entry),
    |                                       `- warning: main actor-isolated property 'subviews' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
107 |            entryIndex > 0 {
108 |             for subview in superview.subviews[0..<entryIndex].reversed() {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:88:46: note: property declared here
 86 | @property (nullable, readonly, unsafe_unretained) NSWindow *window;
 87 | @property (nullable, readonly, unsafe_unretained) NSView *superview;
 88 | @property (copy) NSArray<__kindof NSView *> *subviews;
    |                                              `- note: property declared here
 89 | - (BOOL)isDescendantOf:(NSView *)view;
 90 | - (nullable NSView *)ancestorSharedWithView:(NSView *)view;
/Users/admin/builder/spi-builder-workspace/Sources/Inspect/Inspect.swift:108:38: warning: main actor-isolated property 'subviews' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 87 |     ///
 88 |     /// - Returns: The view of type (if found)
 89 |     static func find<ViewOfType: PlatformView>(
    |                 `- note: add '@MainActor' to make static method 'find(ofType:from:)' part of global actor 'MainActor'
 90 |         ofType type: ViewOfType.Type,
 91 |         from entry: PlatformView
    :
106 |            let entryIndex = superview.subviews.firstIndex(of: entry),
107 |            entryIndex > 0 {
108 |             for subview in superview.subviews[0..<entryIndex].reversed() {
    |                                      `- warning: main actor-isolated property 'subviews' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
109 |                 if let typed = findChild(ofType: type, in: subview) {
110 |                     return typed
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:88:46: note: property declared here
 86 | @property (nullable, readonly, unsafe_unretained) NSWindow *window;
 87 | @property (nullable, readonly, unsafe_unretained) NSView *superview;
 88 | @property (copy) NSArray<__kindof NSView *> *subviews;
    |                                              `- note: property declared here
 89 | - (BOOL)isDescendantOf:(NSView *)view;
 90 | - (nullable NSView *)ancestorSharedWithView:(NSView *)view;
/Users/admin/builder/spi-builder-workspace/Sources/Inspect/Inspect.swift:129:31: warning: main actor-isolated property 'superview' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
125 |     ///
126 |     /// - Returns: The view of type (if found)
127 |     static func findViewWithClass(from entry: PlatformView, className: String = "ViewHost") -> PlatformView? {
    |                 `- note: add '@MainActor' to make static method 'findViewWithClass(from:className:)' part of global actor 'MainActor'
128 |         // Get the view above the current view (superview)
129 |         var superview = entry.superview
    |                               `- warning: main actor-isolated property 'superview' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
130 |
131 |         // Walk trough the subviews
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:87:59: note: property declared here
 85 |
 86 | @property (nullable, readonly, unsafe_unretained) NSWindow *window;
 87 | @property (nullable, readonly, unsafe_unretained) NSView *superview;
    |                                                           `- note: property declared here
 88 | @property (copy) NSArray<__kindof NSView *> *subviews;
 89 | - (BOOL)isDescendantOf:(NSView *)view;
/Users/admin/builder/spi-builder-workspace/Sources/Inspect/Inspect.swift:140:37: warning: main actor-isolated property 'superview' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
125 |     ///
126 |     /// - Returns: The view of type (if found)
127 |     static func findViewWithClass(from entry: PlatformView, className: String = "ViewHost") -> PlatformView? {
    |                 `- note: add '@MainActor' to make static method 'findViewWithClass(from:className:)' part of global actor 'MainActor'
128 |         // Get the view above the current view (superview)
129 |         var superview = entry.superview
    :
138 |
139 |             // Not found, check the view above current view (superview)
140 |             superview = currentView.superview
    |                                     `- warning: main actor-isolated property 'superview' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
141 |         }
142 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:87:59: note: property declared here
 85 |
 86 | @property (nullable, readonly, unsafe_unretained) NSWindow *window;
 87 | @property (nullable, readonly, unsafe_unretained) NSView *superview;
    |                                                           `- note: property declared here
 88 | @property (copy) NSArray<__kindof NSView *> *subviews;
 89 | - (BOOL)isDescendantOf:(NSView *)view;
Build complete! (7.75s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Inspect",
  "name" : "Inspect",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "14.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "Inspect",
      "targets" : [
        "Inspect"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "InspectTests",
      "module_type" : "SwiftTarget",
      "name" : "InspectTests",
      "path" : "Tests/InspectTests",
      "sources" : [
        "InspectTests.swift"
      ],
      "target_dependencies" : [
        "Inspect"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Inspect",
      "module_type" : "SwiftTarget",
      "name" : "Inspect",
      "path" : "Sources/Inspect",
      "product_memberships" : [
        "Inspect"
      ],
      "sources" : [
        "Inspect.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/0xwdg/inspect/main
Repository:               0xWDG/Inspect
Swift version used:       6.1
Target:                   Inspect
Extracting symbol information for 'Inspect'...
Finished extracting symbol information for 'Inspect'. (4.62s)
Building documentation for 'Inspect'...
Finished building documentation for 'Inspect' (0.10s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/0xwdg/inspect/main
Fetching https://github.com/swiftlang/swift-docc-plugin from cache
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.47s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (1.15s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit from cache
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.75s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.39s)
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
[3/8] Write sources
[4/8] Write swift-version-2F0A5646E1D333AE.txt
[6/53] Emitting module SymbolKit
[7/57] Emitting module Snippets
[8/57] Compiling Snippets Snippet.swift
[9/57] Compiling Snippets SnippetParser.swift
[10/57] Compiling SymbolKit Identifier.swift
[11/57] Compiling SymbolKit KindIdentifier.swift
[12/57] Compiling SymbolKit Location.swift
[13/57] Compiling SymbolKit Mutability.swift
[14/57] Compiling SymbolKit SourceRange.swift
[15/57] Compiling SymbolKit Metadata.swift
[16/57] Compiling SymbolKit Module.swift
[17/57] Compiling SymbolKit OperatingSystem.swift
[18/57] Compiling SymbolKit Platform.swift
[19/57] Compiling SymbolKit Relationship.swift
[20/57] Compiling SymbolKit RelationshipKind.swift
[21/57] Compiling SymbolKit SourceOrigin.swift
[22/57] Compiling SymbolKit GenericConstraints.swift
[23/57] Compiling SymbolKit Swift.swift
[24/57] Compiling SymbolKit Mixin+Equals.swift
[25/57] Compiling SymbolKit Mixin+Hash.swift
[26/57] Compiling SymbolKit Mixin.swift
[27/57] Compiling SymbolKit LineList.swift
[28/57] Compiling SymbolKit Position.swift
[29/57] Compiling SymbolKit GenericConstraint.swift
[30/57] Compiling SymbolKit GenericParameter.swift
[31/57] Compiling SymbolKit Generics.swift
[32/57] Compiling SymbolKit Namespace.swift
[33/57] Compiling SymbolKit DeclarationFragments.swift
[34/57] Compiling SymbolKit Fragment.swift
[35/57] Compiling SymbolKit FragmentKind.swift
[36/57] Compiling SymbolKit FunctionParameter.swift
[37/57] Compiling SymbolKit FunctionSignature.swift
[38/57] Compiling SymbolKit Names.swift
[39/57] Compiling SymbolKit SPI.swift
[40/57] Compiling SymbolKit Snippet.swift
[41/57] Compiling SymbolKit Extension.swift
[42/57] Compiling SymbolKit SemanticVersion.swift
[43/57] Compiling SymbolKit AccessControl.swift
[44/57] Compiling SymbolKit Availability.swift
[45/57] Compiling SymbolKit AvailabilityItem.swift
[46/57] Compiling SymbolKit Domain.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] 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.16s)
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/3] Emitting module Inspect
[3/3] Compiling Inspect Inspect.swift
Build of target: 'Inspect' complete! (0.65s)
      66
2	/Users/admin/builder/spi-builder-workspace/.docs/0xwdg/inspect/main
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/0xwdg/inspect/main
File count: 66
Doc size:   2.0MB
Preparing doc bundle ...
Uploading prod-0xwdg-inspect-main-d1e0e9f8.zip to s3://spi-docs-inbox/prod-0xwdg-inspect-main-d1e0e9f8.zip
Copying... [20%]
Copying... [40%]
Copying... [59%]
Copying... [79%]
Copying... [99%]
Copying... [100%]
Done.