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 0.0.1 (1e9d39), with Swift 6.0 for macOS (SPM) on 1 Dec 2024 11:06:41 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/0xWDG/Inspect.git
Reference: 0.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/0xWDG/Inspect
 * tag               0.0.1      -> FETCH_HEAD
HEAD is now at 1e9d39e Initial commit
Cloned https://github.com/0xWDG/Inspect.git
Revision (git rev-parse @):
1e9d39e7ae1827b8d49444eab8a82e2ab0f9c4b4
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/0xWDG/Inspect.git at 0.0.1
========================================
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
[1/158] Fetching inspect
Fetched https://github.com/0xWDG/Inspect.git from cache (0.91s)
Creating working copy for https://github.com/0xWDG/Inspect.git
Working copy of https://github.com/0xWDG/Inspect.git resolved at 0.0.1 (1e9d39e)
warning: '.resolve-product-dependencies': dependency 'inspect' 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/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.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/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
AppKit.NSView:6:25: note: property declared here
  4 |     unowned(unsafe) open var window: NSWindow? { get }
  5 |     unowned(unsafe) open var superview: NSView? { get }
  6 |     @MainActor open var subviews: [NSView] { get set }
    |                         `- note: property declared here
  7 |     open func isDescendant(of view: NSView) -> Bool
  8 |     @available(swift, obsoleted: 3, renamed: "isDescendant(of:)")
/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 {
AppKit.NSView:5:30: note: property declared here
  3 |     @MainActor public init?(coder: NSCoder)
  4 |     unowned(unsafe) open var window: NSWindow? { get }
  5 |     unowned(unsafe) open var superview: NSView? { get }
    |                              `- note: property declared here
  6 |     @MainActor open var subviews: [NSView] { get set }
  7 |     open func isDescendant(of view: NSView) -> Bool
/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 |
AppKit.NSView:5:30: note: property declared here
  3 |     @MainActor public init?(coder: NSCoder)
  4 |     unowned(unsafe) open var window: NSWindow? { get }
  5 |     unowned(unsafe) open var superview: NSView? { get }
    |                              `- note: property declared here
  6 |     @MainActor open var subviews: [NSView] { get set }
  7 |     open func isDescendant(of view: NSView) -> Bool
/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 {
AppKit.NSView:5:30: note: property declared here
  3 |     @MainActor public init?(coder: NSCoder)
  4 |     unowned(unsafe) open var window: NSWindow? { get }
  5 |     unowned(unsafe) open var superview: NSView? { get }
    |                              `- note: property declared here
  6 |     @MainActor open var subviews: [NSView] { get set }
  7 |     open func isDescendant(of view: NSView) -> Bool
/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() {
AppKit.NSView:6:25: note: property declared here
  4 |     unowned(unsafe) open var window: NSWindow? { get }
  5 |     unowned(unsafe) open var superview: NSView? { get }
  6 |     @MainActor open var subviews: [NSView] { get set }
    |                         `- note: property declared here
  7 |     open func isDescendant(of view: NSView) -> Bool
  8 |     @available(swift, obsoleted: 3, renamed: "isDescendant(of:)")
/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
AppKit.NSView:6:25: note: property declared here
  4 |     unowned(unsafe) open var window: NSWindow? { get }
  5 |     unowned(unsafe) open var superview: NSView? { get }
  6 |     @MainActor open var subviews: [NSView] { get set }
    |                         `- note: property declared here
  7 |     open func isDescendant(of view: NSView) -> Bool
  8 |     @available(swift, obsoleted: 3, renamed: "isDescendant(of:)")
/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
AppKit.NSView:5:30: note: property declared here
  3 |     @MainActor public init?(coder: NSCoder)
  4 |     unowned(unsafe) open var window: NSWindow? { get }
  5 |     unowned(unsafe) open var superview: NSView? { get }
    |                              `- note: property declared here
  6 |     @MainActor open var subviews: [NSView] { get set }
  7 |     open func isDescendant(of view: NSView) -> Bool
/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 |
AppKit.NSView:5:30: note: property declared here
  3 |     @MainActor public init?(coder: NSCoder)
  4 |     unowned(unsafe) open var window: NSWindow? { get }
  5 |     unowned(unsafe) open var superview: NSView? { get }
    |                              `- note: property declared here
  6 |     @MainActor open var subviews: [NSView] { get set }
  7 |     open func isDescendant(of view: NSView) -> Bool
Build complete! (10.96s)
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/0.0.1
Repository:               0xWDG/Inspect
Swift version used:       6.0
Target:                   CachedAsyncImage
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
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.32s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (2.44s)
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.25s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.55s)
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
[3/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version--7754E27361AE5C74.txt
[6/53] Compiling Snippets Snippet.swift
[7/53] Compiling Snippets SnippetParser.swift
[8/53] Emitting module SymbolKit
[9/57] Emitting module Snippets
[10/57] Compiling SymbolKit SourceRange.swift
[11/57] Compiling SymbolKit Metadata.swift
[12/57] Compiling SymbolKit Module.swift
[13/57] Compiling SymbolKit OperatingSystem.swift
[14/57] Compiling SymbolKit Platform.swift
[15/57] Compiling SymbolKit Relationship.swift
[16/57] Compiling SymbolKit RelationshipKind.swift
[17/57] Compiling SymbolKit SourceOrigin.swift
[18/57] Compiling SymbolKit GenericConstraints.swift
[19/57] Compiling SymbolKit Swift.swift
[20/57] Compiling SymbolKit Mixin+Equals.swift
[21/57] Compiling SymbolKit Mixin+Hash.swift
[22/57] Compiling SymbolKit Mixin.swift
[23/57] Compiling SymbolKit LineList.swift
[24/57] Compiling SymbolKit Position.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 Identifier.swift
[30/57] Compiling SymbolKit KindIdentifier.swift
[31/57] Compiling SymbolKit Location.swift
[32/57] Compiling SymbolKit Mutability.swift
[33/57] Compiling SymbolKit GenericConstraint.swift
[34/57] Compiling SymbolKit GenericParameter.swift
[35/57] Compiling SymbolKit Generics.swift
[36/57] Compiling SymbolKit Namespace.swift
[37/57] Compiling SymbolKit DeclarationFragments.swift
[38/57] Compiling SymbolKit Fragment.swift
[39/57] Compiling SymbolKit FragmentKind.swift
[40/57] Compiling SymbolKit FunctionParameter.swift
[41/57] Compiling SymbolKit FunctionSignature.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 SymbolGraph+Snippet.swift
[56/61] Emitting module snippet_extract
[57/61] Compiling snippet_extract URL+Status.swift
[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.94s)
error: no target named 'CachedAsyncImage'
compatible targets: 'Inspect'
       1
0	/Users/admin/builder/spi-builder-workspace/.docs/0xwdg/inspect/0.0.1
✅  Doc result (uploading) reported
Error while generating docs: Error Domain=NSCocoaErrorDomain Code=260 "The folder “documentation” doesn’t exist." UserInfo={NSFilePath=/Users/admin/builder/spi-builder-workspace/.docs/0xwdg/inspect/0.0.1/documentation, NSUserStringVariant=(
    Folder
), NSUnderlyingError=0x600002a0c540 {Error Domain=NSOSStatusErrorDomain Code=-43 "fnfErr: File not found"}}
✅  Doc result (failed) reported
Done.