The Swift Package Index logo.Swift Package Index

Build Information

Successful build of ScreenUI, reference main (99429b), with Swift 6.2 for macOS (SPM) on 19 Jun 2025 00:37:08 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/k-o-d-e-n/ScreenUI.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/k-o-d-e-n/ScreenUI
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 99429b4 Updated to 1.1.1.
Cloned https://github.com/k-o-d-e-n/ScreenUI.git
Revision (git rev-parse @):
99429b497e02b69079d3d60f30b46b426a51208f
SUCCESS checkout https://github.com/k-o-d-e-n/ScreenUI.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/k-o-d-e-n/ScreenUI.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/13] Compiling ScreenUI ScreenBuilder.swift
[4/14] Compiling ScreenUI Transition.swift
[5/14] Emitting module ScreenUI
/Users/admin/builder/spi-builder-workspace/Sources/ScreenUI/ScreenPath.swift:60:22: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 43 |
 44 | public typealias ScreenPathResult<To> = (state: AnyScreenState, screenContent: To.NestedScreen.Content) where To: Screen
 45 | public struct StartPath<T>: ScreenPath, ScreenPathPrivate, ScreenPathPrivate2 where T: Transition {
    |                         `- note: 'T' previously declared here
 46 |     public typealias From = T.From
 47 |     public typealias To = T.To
    :
 58 |     }
 59 |
 60 |     public subscript<T>(next path: KeyPath<To.PathFrom, T>) -> T { transition[next: path] }
    |                      `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 61 |
 62 |     public func __move(from surface: T.From.Content, completion: (() -> Void)?) -> ScreenPathResult<T.To> {
/Users/admin/builder/spi-builder-workspace/Sources/ScreenUI/ScreenPath.swift:128:22: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
107 |     }
108 | }
109 | public struct NextPath<Prev, T>: ScreenPath, ScreenPathPrivate, ScreenPathPrivate2
    |                              `- note: 'T' previously declared here
110 | where Prev: ScreenPath & ScreenPathPrivate2, T: Transition, T.From == Prev.To.NestedScreen,
111 |       Prev.Result == ScreenPathResult<Prev.To>
    :
126 |     }
127 |
128 |     public subscript<T>(next path: KeyPath<To.PathFrom, T>) -> T { transition[next: path] }
    |                      `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
129 |
130 |     public func __move(from surface: Prev.From.Content, completion: (() -> Void)?) -> ScreenPathResult<T.To> {
/Users/admin/builder/spi-builder-workspace/Sources/ScreenUI/SwiftUI.swift:321:22: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
304 | }
305 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
306 | public struct StartPath_SwiftUI<T>: ScreenPath, ScreenPathPrivate, ScreenPath_SwiftUI where T: SwiftUICompatibleTransition {
    |                                 `- note: 'T' previously declared here
307 |     public typealias From = UnavailableContentScreen<Void>
308 |     public typealias To = T.To
    :
319 |     }
320 |
321 |     public subscript<T>(next path: KeyPath<To.PathFrom, T>) -> T { transition[next: path] }
    |                      `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
322 |     public func index(of keyPath: PartialKeyPath<To.PathFrom>) -> Int { transition.index(of: keyPath) }
323 |     public func keyPath(at index: Int) -> PartialKeyPath<To.PathFrom> { transition.keyPath(at: index) }
/Users/admin/builder/spi-builder-workspace/Sources/ScreenUI/SwiftUI.swift:370:22: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
350 | }
351 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
352 | public struct NextPath_SwiftUI<Prev, T>: ScreenPath, ScreenPathPrivate, ScreenPath_SwiftUI
    |                                      `- note: 'T' previously declared here
353 | where Prev: ScreenPath & ScreenPath_SwiftUI, T: SwiftUICompatibleTransition, Prev.To.NestedScreen == T.From
354 | {
    :
368 |     }
369 |
370 |     public subscript<T>(next path: KeyPath<To.PathFrom, T>) -> T { transition[next: path] }
    |                      `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
371 |     public func index(of keyPath: PartialKeyPath<To.PathFrom>) -> Int { transition.index(of: keyPath) }
372 |     public func keyPath(at index: Int) -> PartialKeyPath<To.PathFrom> { transition.keyPath(at: index) }
[6/14] Compiling ScreenUI ScreenPath.swift
/Users/admin/builder/spi-builder-workspace/Sources/ScreenUI/ScreenPath.swift:60:22: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 43 |
 44 | public typealias ScreenPathResult<To> = (state: AnyScreenState, screenContent: To.NestedScreen.Content) where To: Screen
 45 | public struct StartPath<T>: ScreenPath, ScreenPathPrivate, ScreenPathPrivate2 where T: Transition {
    |                         `- note: 'T' previously declared here
 46 |     public typealias From = T.From
 47 |     public typealias To = T.To
    :
 58 |     }
 59 |
 60 |     public subscript<T>(next path: KeyPath<To.PathFrom, T>) -> T { transition[next: path] }
    |                      `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 61 |
 62 |     public func __move(from surface: T.From.Content, completion: (() -> Void)?) -> ScreenPathResult<T.To> {
/Users/admin/builder/spi-builder-workspace/Sources/ScreenUI/ScreenPath.swift:128:22: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
107 |     }
108 | }
109 | public struct NextPath<Prev, T>: ScreenPath, ScreenPathPrivate, ScreenPathPrivate2
    |                              `- note: 'T' previously declared here
110 | where Prev: ScreenPath & ScreenPathPrivate2, T: Transition, T.From == Prev.To.NestedScreen,
111 |       Prev.Result == ScreenPathResult<Prev.To>
    :
126 |     }
127 |
128 |     public subscript<T>(next path: KeyPath<To.PathFrom, T>) -> T { transition[next: path] }
    |                      `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
129 |
130 |     public func __move(from surface: Prev.From.Content, completion: (() -> Void)?) -> ScreenPathResult<T.To> {
[7/14] Compiling ScreenUI ScreenState.swift
[8/14] Compiling ScreenUI UIKit.swift
[9/14] Compiling ScreenUI PathProvider.swift
[10/14] Compiling ScreenUI Crossplatform.swift
[11/14] Compiling ScreenUI Screen.swift
[12/14] Compiling ScreenUI AppKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/ScreenUI/AppKit.swift:73:42: warning: capture of non-sendable type 'Root.Type' in an isolated closure
 71 |             tabBarController.tabViewItems = c1.map(NSTabViewItem.init)
 72 |             let observation = tabBarController.observe(\.selectedTabViewItemIndex, changeHandler: { (tbc, ch) in
 73 |                 guard let state = router.state.childStates[router.keyPath(at: tbc.selectedTabViewItemIndex)] else { return }
    |                                          `- warning: capture of non-sendable type 'Root.Type' in an isolated closure
 74 |                 router.state.next = state
 75 |             })
/Users/admin/builder/spi-builder-workspace/Sources/ScreenUI/AppKit.swift:68:53: warning: capture of non-sendable type 'Root.Type' in an isolated closure
 66 |         public func keyPath(at index: Int) -> PartialKeyPath<Root.PathFrom> { root.keyPath(at: index) }
 67 |
 68 |         public func makeContent(_ context: Context, router: Router<NestedScreen>) -> ContentResult<Self> {
    |                                                     `- warning: capture of non-sendable type 'Root.Type' in an isolated closure
 69 |             let tabBarController = NSTabViewController()
 70 |             let c1 = root.makeContent(context, router: router)
[13/14] Compiling ScreenUI ContentBuilders.swift
/Users/admin/builder/spi-builder-workspace/Sources/ScreenUI/AppKit.swift:73:42: warning: capture of non-sendable type 'Root.Type' in an isolated closure
 71 |             tabBarController.tabViewItems = c1.map(NSTabViewItem.init)
 72 |             let observation = tabBarController.observe(\.selectedTabViewItemIndex, changeHandler: { (tbc, ch) in
 73 |                 guard let state = router.state.childStates[router.keyPath(at: tbc.selectedTabViewItemIndex)] else { return }
    |                                          `- warning: capture of non-sendable type 'Root.Type' in an isolated closure
 74 |                 router.state.next = state
 75 |             })
/Users/admin/builder/spi-builder-workspace/Sources/ScreenUI/AppKit.swift:68:53: warning: capture of non-sendable type 'Root.Type' in an isolated closure
 66 |         public func keyPath(at index: Int) -> PartialKeyPath<Root.PathFrom> { root.keyPath(at: index) }
 67 |
 68 |         public func makeContent(_ context: Context, router: Router<NestedScreen>) -> ContentResult<Self> {
    |                                                     `- warning: capture of non-sendable type 'Root.Type' in an isolated closure
 69 |             let tabBarController = NSTabViewController()
 70 |             let c1 = root.makeContent(context, router: router)
[14/14] Compiling ScreenUI SwiftUI.swift
/Users/admin/builder/spi-builder-workspace/Sources/ScreenUI/SwiftUI.swift:321:22: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
304 | }
305 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
306 | public struct StartPath_SwiftUI<T>: ScreenPath, ScreenPathPrivate, ScreenPath_SwiftUI where T: SwiftUICompatibleTransition {
    |                                 `- note: 'T' previously declared here
307 |     public typealias From = UnavailableContentScreen<Void>
308 |     public typealias To = T.To
    :
319 |     }
320 |
321 |     public subscript<T>(next path: KeyPath<To.PathFrom, T>) -> T { transition[next: path] }
    |                      `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
322 |     public func index(of keyPath: PartialKeyPath<To.PathFrom>) -> Int { transition.index(of: keyPath) }
323 |     public func keyPath(at index: Int) -> PartialKeyPath<To.PathFrom> { transition.keyPath(at: index) }
/Users/admin/builder/spi-builder-workspace/Sources/ScreenUI/SwiftUI.swift:370:22: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
350 | }
351 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
352 | public struct NextPath_SwiftUI<Prev, T>: ScreenPath, ScreenPathPrivate, ScreenPath_SwiftUI
    |                                      `- note: 'T' previously declared here
353 | where Prev: ScreenPath & ScreenPath_SwiftUI, T: SwiftUICompatibleTransition, Prev.To.NestedScreen == T.From
354 | {
    :
368 |     }
369 |
370 |     public subscript<T>(next path: KeyPath<To.PathFrom, T>) -> T { transition[next: path] }
    |                      `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
371 |     public func index(of keyPath: PartialKeyPath<To.PathFrom>) -> Int { transition.index(of: keyPath) }
372 |     public func keyPath(at index: Int) -> PartialKeyPath<To.PathFrom> { transition.keyPath(at: index) }
Build complete! (8.24s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "ScreenUI",
  "name" : "ScreenUI",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "ScreenUI",
      "targets" : [
        "ScreenUI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ScreenUITests",
      "module_type" : "SwiftTarget",
      "name" : "ScreenUITests",
      "path" : "Tests/ScreenUITests",
      "sources" : [
        "ScreenUITests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "ScreenUI"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ScreenUI",
      "module_type" : "SwiftTarget",
      "name" : "ScreenUI",
      "path" : "Sources/ScreenUI",
      "product_memberships" : [
        "ScreenUI"
      ],
      "sources" : [
        "AppKit.swift",
        "ContentBuilders.swift",
        "Crossplatform.swift",
        "PathProvider.swift",
        "Screen.swift",
        "ScreenBuilder.swift",
        "ScreenPath.swift",
        "ScreenState.swift",
        "SwiftUI.swift",
        "Transition.swift",
        "UIKit.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.