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

Failed to build ViewController, reference 0.3.1 (3699ad), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 23:04:15 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ZeeZide/ViewController.git
Reference: 0.3.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ZeeZide/ViewController
 * tag               0.3.1      -> FETCH_HEAD
HEAD is now at 3699adc Merge branch 'develop'
Cloned https://github.com/ZeeZide/ViewController.git
Revision (git rev-parse @):
3699adc0af6be289a78e56546d1dd41c2194275b
SUCCESS checkout https://github.com/ZeeZide/ViewController.git at 0.3.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": "viewcontroller",
      "name": "ViewController",
      "url": "https://github.com/ZeeZide/ViewController.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ViewController",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/ZeeZide/ViewController.git
[3/270] Fetching viewcontroller
Fetched https://github.com/ZeeZide/ViewController.git from cache (0.77s)
Creating working copy for https://github.com/ZeeZide/ViewController.git
Working copy of https://github.com/ZeeZide/ViewController.git resolved at 0.3.1 (3699adc)
warning: '.resolve-product-dependencies': dependency 'viewcontroller' 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/ZeeZide/ViewController.git
https://github.com/ZeeZide/ViewController.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "ViewController",
  "name" : "ViewController",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "ViewController",
      "targets" : [
        "ViewController"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ViewController",
      "module_type" : "SwiftTarget",
      "name" : "ViewController",
      "path" : "Sources/ViewController",
      "product_memberships" : [
        "ViewController"
      ],
      "sources" : [
        "AnyViewController.swift",
        "ContainerViewControllers/NavigationController.swift",
        "Debugging/DebugMode.swift",
        "Debugging/DebugOverlay.swift",
        "Debugging/HierarchyView.swift",
        "Debugging/TypeMismatchInfoView.swift",
        "Debugging/ViewControllerInfo.swift",
        "Logger.swift",
        "MainViewController.swift",
        "NavigationLink/PushLink.swift",
        "Presentations/AutoPresentation.swift",
        "Presentations/Presentation.swift",
        "Presentations/PresentationMode.swift",
        "Presentations/ViewControllerPresentation.swift",
        "ReExports.swift",
        "RenderContentView.swift",
        "ViewController.swift",
        "ViewController/Containment.swift",
        "ViewController/ContentView.swift",
        "ViewController/DefaultDescription.swift",
        "ViewController/RepresentedObject.swift",
        "ViewController/Subscriptions.swift",
        "ViewController/Title.swift",
        "ViewController/TypeErasure.swift",
        "ViewController/ViewControllerStorage.swift",
        "ViewController/_ViewController.swift",
        "ViewControllerEnvironment.swift",
        "ViewControllerView.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/29] Emitting module ViewController
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController.swift:201:48: error: 'PresentationMode' is ambiguous for type lookup in this context
199 |    * the given mode.
200 |    */
201 |   func present<VC>(_ viewController: VC, mode: PresentationMode)
    |                                                `- error: 'PresentationMode' is ambiguous for type lookup in this context
202 |          where VC: ViewController
203 |   /**
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:91:13: note: found this candidate
 89 |    * ```
 90 |    */
 91 |   typealias PresentationMode = ViewControllerPresentationMode
    |             `- note: found this candidate
 92 | }
 93 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController/_ViewController.swift:25:13: note: found this candidate
 23 |   typealias ObjectWillChangePublisher = ObservableObjectPublisher
 24 |
 25 |   typealias PresentationMode = ViewControllerPresentationMode
    |             `- note: found this candidate
 26 |
 27 |   // MARK: - Titles
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Debugging/DebugMode.swift:22:18: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ViewControllerDebugMode' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | import SwiftUI
10 |
11 | public enum ViewControllerDebugMode: Equatable {
   |             `- note: consider making enum 'ViewControllerDebugMode' conform to the 'Sendable' protocol
12 |   case none
13 |   case overlay
   :
20 |     #if DEBUG
21 |       @usableFromInline
22 |       static let defaultValue = ViewControllerDebugMode.overlay
   |                  |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ViewControllerDebugMode' may have shared mutable state; this is an error in the Swift 6 language mode
   |                  |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
   |                  `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |     #else
24 |       @usableFromInline
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Logger.swift:49:5: warning: let 'logger' is not concurrency-safe because non-'Sendable' type 'PrintLogger' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | @usableFromInline
16 | struct PrintLogger {
   |        `- note: consider making struct 'PrintLogger' conform to the 'Sendable' protocol
17 |
18 |   static let logLevel : OSLogType = {
   :
47 |
48 | @usableFromInline
49 | let logger = PrintLogger()
   |     |- warning: let 'logger' is not concurrency-safe because non-'Sendable' type 'PrintLogger' may have shared mutable state; this is an error in the Swift 6 language mode
   |     |- note: add '@MainActor' to make let 'logger' part of global actor 'MainActor'
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | #else
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:105:34: warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
103 |     Binding(
104 |       get: {
105 |         guard let presentation = self.activePresentation(for: mode) else {
    |                                  `- warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
106 |           return false
107 |         }
ViewController._ViewController.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _ViewController {
2 | Self : ViewController._ViewController}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:105:63: warning: capture of 'mode' with non-sendable type 'ViewControllerPresentationMode?' in a '@Sendable' closure
103 |     Binding(
104 |       get: {
105 |         guard let presentation = self.activePresentation(for: mode) else {
    |                                                               `- warning: capture of 'mode' with non-sendable type 'ViewControllerPresentationMode?' in a '@Sendable' closure
106 |           return false
107 |         }
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:29:13: note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 27 |  * ```
 28 |  */
 29 | public enum ViewControllerPresentationMode: Hashable {
    |             `- note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 30 |   // FIXME: Used in two different ways, for accessing the actual presentation,
 31 |   //        and for deciding what presentation to use.
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:109:16: warning: capture of 'condition' with non-sendable type '(any _ViewController) -> Bool' in a '@Sendable' closure
107 |         }
108 |         if let mode = mode, mode != presentation.mode { return false }
109 |         return condition(presentation.viewController)
    |                |- warning: capture of 'condition' with non-sendable type '(any _ViewController) -> Bool' in a '@Sendable' closure
    |                `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
110 |       },
111 |       set: { isShowing in
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:117:34: warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
115 |         guard !isShowing else { return } // isShowing=true would be activation
116 |
117 |         guard let presentation = self.activePresentation(for: mode) else {
    |                                  `- warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
118 |           // This is fine, could have happened by other means.
119 |           return logger.debug("Did not find VC to deactivate in: \(self)")
ViewController._ViewController.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _ViewController {
2 | Self : ViewController._ViewController}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:117:63: warning: capture of 'mode' with non-sendable type 'ViewControllerPresentationMode?' in a '@Sendable' closure
115 |         guard !isShowing else { return } // isShowing=true would be activation
116 |
117 |         guard let presentation = self.activePresentation(for: mode) else {
    |                                                               `- warning: capture of 'mode' with non-sendable type 'ViewControllerPresentationMode?' in a '@Sendable' closure
118 |           // This is fine, could have happened by other means.
119 |           return logger.debug("Did not find VC to deactivate in: \(self)")
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:29:13: note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 27 |  * ```
 28 |  */
 29 | public enum ViewControllerPresentationMode: Hashable {
    |             `- note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 30 |   // FIXME: Used in two different ways, for accessing the actual presentation,
 31 |   //        and for deciding what presentation to use.
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:127:15: warning: capture of 'condition' with non-sendable type '(any _ViewController) -> Bool' in a '@Sendable' closure
125 |
126 |         /// Does our condition match?
127 |         guard condition(presentation.viewController) else { return }
    |               |- warning: capture of 'condition' with non-sendable type '(any _ViewController) -> Bool' in a '@Sendable' closure
    |               `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
128 |
129 |         logger.debug(
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:119:68: warning: implicit capture of 'self' requires that 'Self' conforms to 'Sendable'; this is an error in the Swift 6 language mode
117 |         guard let presentation = self.activePresentation(for: mode) else {
118 |           // This is fine, could have happened by other means.
119 |           return logger.debug("Did not find VC to deactivate in: \(self)")
    |                                                                    `- warning: implicit capture of 'self' requires that 'Self' conforms to 'Sendable'; this is an error in the Swift 6 language mode
120 |         }
121 |
ViewController._ViewController.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _ViewController {
2 | Self : ViewController._ViewController}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:122:16: warning: implicit capture of 'mode' requires that 'ViewControllerPresentationMode?' conforms to 'Sendable'; this is an error in the Swift 6 language mode
120 |         }
121 |
122 |         assert(mode != .automatic)
    |                `- warning: implicit capture of 'mode' requires that 'ViewControllerPresentationMode?' conforms to 'Sendable'; this is an error in the Swift 6 language mode
123 |         assert(presentation.mode != .automatic)
124 |         if let mode = mode, presentation.mode != mode { return }
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:29:13: note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 27 |  * ```
 28 |  */
 29 | public enum ViewControllerPresentationMode: Hashable {
    |             `- note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 30 |   // FIXME: Used in two different ways, for accessing the actual presentation,
 31 |   //        and for deciding what presentation to use.
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:157:12: warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
155 |     Binding(
156 |       get: {
157 |         if self.activePresentations.contains(where: { $0.mode == mode }) {
    |            `- warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
158 |           logger.debug("Is presenting in mode \(mode): \(self)")
159 |           return true
ViewController._ViewController.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _ViewController {
2 | Self : ViewController._ViewController}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:157:66: warning: capture of 'mode' with non-sendable type 'ViewControllerPresentationMode' in a '@Sendable' closure
155 |     Binding(
156 |       get: {
157 |         if self.activePresentations.contains(where: { $0.mode == mode }) {
    |                                                                  `- warning: capture of 'mode' with non-sendable type 'ViewControllerPresentationMode' in a '@Sendable' closure
158 |           logger.debug("Is presenting in mode \(mode): \(self)")
159 |           return true
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:29:13: note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 27 |  * ```
 28 |  */
 29 | public enum ViewControllerPresentationMode: Hashable {
    |             `- note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 30 |   // FIXME: Used in two different ways, for accessing the actual presentation,
 31 |   //        and for deciding what presentation to use.
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:157:66: warning: capture of 'mode' with non-sendable type 'ViewControllerPresentationMode' in an isolated closure; this is an error in the Swift 6 language mode
155 |     Binding(
156 |       get: {
157 |         if self.activePresentations.contains(where: { $0.mode == mode }) {
    |                                                                  `- warning: capture of 'mode' with non-sendable type 'ViewControllerPresentationMode' in an isolated closure; this is an error in the Swift 6 language mode
158 |           logger.debug("Is presenting in mode \(mode): \(self)")
159 |           return true
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:29:13: note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 27 |  * ```
 28 |  */
 29 | public enum ViewControllerPresentationMode: Hashable {
    |             `- note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 30 |   // FIXME: Used in two different ways, for accessing the actual presentation,
 31 |   //        and for deciding what presentation to use.
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:158:49: warning: implicit capture of 'mode' requires that 'ViewControllerPresentationMode' conforms to 'Sendable'; this is an error in the Swift 6 language mode
156 |       get: {
157 |         if self.activePresentations.contains(where: { $0.mode == mode }) {
158 |           logger.debug("Is presenting in mode \(mode): \(self)")
    |                                                 `- warning: implicit capture of 'mode' requires that 'ViewControllerPresentationMode' conforms to 'Sendable'; this is an error in the Swift 6 language mode
159 |           return true
160 |         }
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:29:13: note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 27 |  * ```
 28 |  */
 29 | public enum ViewControllerPresentationMode: Hashable {
    |             `- note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 30 |   // FIXME: Used in two different ways, for accessing the actual presentation,
 31 |   //        and for deciding what presentation to use.
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:158:58: warning: implicit capture of 'self' requires that 'Self' conforms to 'Sendable'; this is an error in the Swift 6 language mode
156 |       get: {
157 |         if self.activePresentations.contains(where: { $0.mode == mode }) {
158 |           logger.debug("Is presenting in mode \(mode): \(self)")
    |                                                          `- warning: implicit capture of 'self' requires that 'Self' conforms to 'Sendable'; this is an error in the Swift 6 language mode
159 |           return true
160 |         }
ViewController._ViewController.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _ViewController {
2 | Self : ViewController._ViewController}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:162:50: warning: implicit capture of 'mode' requires that 'ViewControllerPresentationMode' conforms to 'Sendable'; this is an error in the Swift 6 language mode
160 |         }
161 |         else {
162 |           logger.debug("Not presenting in mode \(mode): \(self)")
    |                                                  `- warning: implicit capture of 'mode' requires that 'ViewControllerPresentationMode' conforms to 'Sendable'; this is an error in the Swift 6 language mode
163 |           return false
164 |         }
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:29:13: note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 27 |  * ```
 28 |  */
 29 | public enum ViewControllerPresentationMode: Hashable {
    |             `- note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 30 |   // FIXME: Used in two different ways, for accessing the actual presentation,
 31 |   //        and for deciding what presentation to use.
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:162:59: warning: implicit capture of 'self' requires that 'Self' conforms to 'Sendable'; this is an error in the Swift 6 language mode
160 |         }
161 |         else {
162 |           logger.debug("Not presenting in mode \(mode): \(self)")
    |                                                           `- warning: implicit capture of 'self' requires that 'Self' conforms to 'Sendable'; this is an error in the Swift 6 language mode
163 |           return false
164 |         }
ViewController._ViewController.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _ViewController {
2 | Self : ViewController._ViewController}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:172:14: warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
170 |         guard !isShowing else {
171 |           // isShowing=true would be activation
172 |           if self.activePresentations.contains(where: { $0.mode == mode }) {
    |              `- warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
173 |             logger.debug(
174 |               "Attempt to activate VC via Binding, mode already active!")
ViewController._ViewController.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _ViewController {
2 | Self : ViewController._ViewController}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:172:68: warning: capture of 'mode' with non-sendable type 'ViewControllerPresentationMode' in a '@Sendable' closure
170 |         guard !isShowing else {
171 |           // isShowing=true would be activation
172 |           if self.activePresentations.contains(where: { $0.mode == mode }) {
    |                                                                    `- warning: capture of 'mode' with non-sendable type 'ViewControllerPresentationMode' in a '@Sendable' closure
173 |             logger.debug(
174 |               "Attempt to activate VC via Binding, mode already active!")
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:29:13: note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 27 |  * ```
 28 |  */
 29 | public enum ViewControllerPresentationMode: Hashable {
    |             `- note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 30 |   // FIXME: Used in two different ways, for accessing the actual presentation,
 31 |   //        and for deciding what presentation to use.
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:172:68: warning: capture of 'mode' with non-sendable type 'ViewControllerPresentationMode' in an isolated closure; this is an error in the Swift 6 language mode
170 |         guard !isShowing else {
171 |           // isShowing=true would be activation
172 |           if self.activePresentations.contains(where: { $0.mode == mode }) {
    |                                                                    `- warning: capture of 'mode' with non-sendable type 'ViewControllerPresentationMode' in an isolated closure; this is an error in the Swift 6 language mode
173 |             logger.debug(
174 |               "Attempt to activate VC via Binding, mode already active!")
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:29:13: note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 27 |  * ```
 28 |  */
 29 | public enum ViewControllerPresentationMode: Hashable {
    |             `- note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 30 |   // FIXME: Used in two different ways, for accessing the actual presentation,
 31 |   //        and for deciding what presentation to use.
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:179:65: warning: implicit capture of 'self' requires that 'Self' conforms to 'Sendable'; this is an error in the Swift 6 language mode
177 |             // FIXME: This can sometimes be seen in sheets, figure out why
178 |             logger.warning(
179 |               "Attempt to activate VC via Binding, won't work \(self)!")
    |                                                                 `- warning: implicit capture of 'self' requires that 'Self' conforms to 'Sendable'; this is an error in the Swift 6 language mode
180 |           }
181 |           return
ViewController._ViewController.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _ViewController {
2 | Self : ViewController._ViewController}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:189:41: warning: implicit capture of 'mode' requires that 'ViewControllerPresentationMode' conforms to 'Sendable'; this is an error in the Swift 6 language mode
187 |           // This is fine, could have happened by other means.
188 |           return logger.debug(
189 |             "did not find VC for mode \(mode) to deactivate in: \(self)?")
    |                                         `- warning: implicit capture of 'mode' requires that 'ViewControllerPresentationMode' conforms to 'Sendable'; this is an error in the Swift 6 language mode
190 |         }
191 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:29:13: note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 27 |  * ```
 28 |  */
 29 | public enum ViewControllerPresentationMode: Hashable {
    |             `- note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 30 |   // FIXME: Used in two different ways, for accessing the actual presentation,
 31 |   //        and for deciding what presentation to use.
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:189:67: warning: implicit capture of 'self' requires that 'Self' conforms to 'Sendable'; this is an error in the Swift 6 language mode
187 |           // This is fine, could have happened by other means.
188 |           return logger.debug(
189 |             "did not find VC for mode \(mode) to deactivate in: \(self)?")
    |                                                                   `- warning: implicit capture of 'self' requires that 'Self' conforms to 'Sendable'; this is an error in the Swift 6 language mode
190 |         }
191 |
ViewController._ViewController.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _ViewController {
2 | Self : ViewController._ViewController}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:195:37: warning: implicit capture of 'mode' requires that 'ViewControllerPresentationMode' conforms to 'Sendable'; this is an error in the Swift 6 language mode
193 |         /// TBD: what about "automatic" and such? Never active in an actual
194 |         ///      presentation!
195 |         assert(presentation.mode == mode, "internal inconsistency!")
    |                                     `- warning: implicit capture of 'mode' requires that 'ViewControllerPresentationMode' conforms to 'Sendable'; this is an error in the Swift 6 language mode
196 |         guard presentation.mode == mode else { return }
197 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:29:13: note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 27 |  * ```
 28 |  */
 29 | public enum ViewControllerPresentationMode: Hashable {
    |             `- note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 30 |   // FIXME: Used in two different ways, for accessing the actual presentation,
 31 |   //        and for deciding what presentation to use.
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:98:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ViewControllerPresentationMode' may have shared mutable state; this is an error in the Swift 6 language mode
 27 |  * ```
 28 |  */
 29 | public enum ViewControllerPresentationMode: Hashable {
    |             `- note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 30 |   // FIXME: Used in two different ways, for accessing the actual presentation,
 31 |   //        and for deciding what presentation to use.
    :
 96 |   @usableFromInline
 97 |   internal struct ViewControllerPresentationModeKey: EnvironmentKey {
 98 |     public static let defaultValue = ViewController.PresentationMode.custom
    |                       |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ViewControllerPresentationMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 99 |   }
100 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController/ContentView.swift:20:41: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
18 |    */
19 |   @inlinable
20 |   @ViewBuilder var view : ContentView { ContentView() }
   |                                         `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
21 | }
22 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewControllerView.swift:18:3: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
16 |  */
17 | public protocol ViewControllerView: View {
18 |   init()
   |   |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
   |   `- note: main actor isolation inferred from conformance to protocol 'View'
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController/ContentView.swift:49:5: warning: call to main actor-isolated initializer 'init(viewController:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
34 |
35 |   @usableFromInline
36 |   init(viewController: VC) { self.viewController = viewController }
   |   |- note: calls to initializer 'init(viewController:)' from outside of its actor context are implicitly asynchronous
   |   `- note: main actor isolation inferred from conformance to protocol 'View'
37 |
38 |   @usableFromInline
   :
47 |   @inlinable
48 |   var controlledContentView : some SwiftUI.View {
49 |     ControlWrapper(viewController: self)
   |     `- warning: call to main actor-isolated initializer 'init(viewController:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
50 |   }
51 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController/ViewControllerStorage.swift:191:17: warning: var 'associatedObjectToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
189 | // MARK: - Associated Object
190 |
191 | fileprivate var associatedObjectToken = 42
    |                 |- warning: var 'associatedObjectToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                 |- note: convert 'associatedObjectToken' to a 'let' constant to make 'Sendable' shared state immutable
    |                 |- note: add '@MainActor' to make var 'associatedObjectToken' part of global actor 'MainActor'
    |                 `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
192 |
193 | internal extension ViewController {
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewControllerEnvironment.swift:15:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '(any _ViewController)?' may have shared mutable state; this is an error in the Swift 6 language mode
13 |   @usableFromInline
14 |   internal struct ViewControllerKey: EnvironmentKey {
15 |     public static let defaultValue : _ViewController? = nil
   |                       |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '(any _ViewController)?' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |   }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController/_ViewController.swift:20:17: note: protocol '_ViewController' does not conform to the 'Sendable' protocol
 18 |  * - RepresentedValue
 19 |  */
 20 | public protocol _ViewController: AnyObject, CustomStringConvertible {
    |                 `- note: protocol '_ViewController' does not conform to the 'Sendable' protocol
 21 |   // Even just `ObservableObject` is a PAT.
 22 |
[4/31] Compiling ViewController ViewControllerEnvironment.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewControllerEnvironment.swift:15:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '(any _ViewController)?' may have shared mutable state; this is an error in the Swift 6 language mode
13 |   @usableFromInline
14 |   internal struct ViewControllerKey: EnvironmentKey {
15 |     public static let defaultValue : _ViewController? = nil
   |                       |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '(any _ViewController)?' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |   }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController/_ViewController.swift:20:17: note: protocol '_ViewController' does not conform to the 'Sendable' protocol
 18 |  * - RepresentedValue
 19 |  */
 20 | public protocol _ViewController: AnyObject, CustomStringConvertible {
    |                 `- note: protocol '_ViewController' does not conform to the 'Sendable' protocol
 21 |   // Even just `ObservableObject` is a PAT.
 22 |
[5/31] Compiling ViewController ViewControllerView.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewControllerEnvironment.swift:15:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '(any _ViewController)?' may have shared mutable state; this is an error in the Swift 6 language mode
13 |   @usableFromInline
14 |   internal struct ViewControllerKey: EnvironmentKey {
15 |     public static let defaultValue : _ViewController? = nil
   |                       |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '(any _ViewController)?' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |   }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController/_ViewController.swift:20:17: note: protocol '_ViewController' does not conform to the 'Sendable' protocol
 18 |  * - RepresentedValue
 19 |  */
 20 | public protocol _ViewController: AnyObject, CustomStringConvertible {
    |                 `- note: protocol '_ViewController' does not conform to the 'Sendable' protocol
 21 |   // Even just `ObservableObject` is a PAT.
 22 |
[6/31] Compiling ViewController AnyViewController.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController.swift:201:48: error: 'PresentationMode' is ambiguous for type lookup in this context
199 |    * the given mode.
200 |    */
201 |   func present<VC>(_ viewController: VC, mode: PresentationMode)
    |                                                `- error: 'PresentationMode' is ambiguous for type lookup in this context
202 |          where VC: ViewController
203 |   /**
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:91:13: note: found this candidate
 89 |    * ```
 90 |    */
 91 |   typealias PresentationMode = ViewControllerPresentationMode
    |             `- note: found this candidate
 92 | }
 93 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController/_ViewController.swift:25:13: note: found this candidate
 23 |   typealias ObjectWillChangePublisher = ObservableObjectPublisher
 24 |
 25 |   typealias PresentationMode = ViewControllerPresentationMode
    |             `- note: found this candidate
 26 |
 27 |   // MARK: - Titles
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ContainerViewControllers/NavigationController.swift:179:10: warning: call to main actor-isolated instance method 'controlled(by:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
177 |     NavigationView {
178 |       _rootViewController.view
179 |         .controlled(by: _rootViewController)
    |          `- warning: call to main actor-isolated instance method 'controlled(by:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
180 |         .navigationTitle(_rootViewController.navigationTitle)
181 |     }
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewControllerEnvironment.swift:74:8: note: calls to instance method 'controlled(by:)' from outside of its actor context are implicitly asynchronous
72 |    *                     View.
73 |    */
74 |   func controlled<VC: ViewController>(by viewController: VC)
   |        `- note: calls to instance method 'controlled(by:)' from outside of its actor context are implicitly asynchronous
75 |        -> some SwiftUI.View
76 |   {
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Debugging/DebugMode.swift:22:18: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ViewControllerDebugMode' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | import SwiftUI
10 |
11 | public enum ViewControllerDebugMode: Equatable {
   |             `- note: consider making enum 'ViewControllerDebugMode' conform to the 'Sendable' protocol
12 |   case none
13 |   case overlay
   :
20 |     #if DEBUG
21 |       @usableFromInline
22 |       static let defaultValue = ViewControllerDebugMode.overlay
   |                  |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ViewControllerDebugMode' may have shared mutable state; this is an error in the Swift 6 language mode
   |                  |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
   |                  `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |     #else
24 |       @usableFromInline
[7/31] Compiling ViewController NavigationController.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController.swift:201:48: error: 'PresentationMode' is ambiguous for type lookup in this context
199 |    * the given mode.
200 |    */
201 |   func present<VC>(_ viewController: VC, mode: PresentationMode)
    |                                                `- error: 'PresentationMode' is ambiguous for type lookup in this context
202 |          where VC: ViewController
203 |   /**
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:91:13: note: found this candidate
 89 |    * ```
 90 |    */
 91 |   typealias PresentationMode = ViewControllerPresentationMode
    |             `- note: found this candidate
 92 | }
 93 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController/_ViewController.swift:25:13: note: found this candidate
 23 |   typealias ObjectWillChangePublisher = ObservableObjectPublisher
 24 |
 25 |   typealias PresentationMode = ViewControllerPresentationMode
    |             `- note: found this candidate
 26 |
 27 |   // MARK: - Titles
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ContainerViewControllers/NavigationController.swift:179:10: warning: call to main actor-isolated instance method 'controlled(by:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
177 |     NavigationView {
178 |       _rootViewController.view
179 |         .controlled(by: _rootViewController)
    |          `- warning: call to main actor-isolated instance method 'controlled(by:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
180 |         .navigationTitle(_rootViewController.navigationTitle)
181 |     }
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewControllerEnvironment.swift:74:8: note: calls to instance method 'controlled(by:)' from outside of its actor context are implicitly asynchronous
72 |    *                     View.
73 |    */
74 |   func controlled<VC: ViewController>(by viewController: VC)
   |        `- note: calls to instance method 'controlled(by:)' from outside of its actor context are implicitly asynchronous
75 |        -> some SwiftUI.View
76 |   {
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Debugging/DebugMode.swift:22:18: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ViewControllerDebugMode' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | import SwiftUI
10 |
11 | public enum ViewControllerDebugMode: Equatable {
   |             `- note: consider making enum 'ViewControllerDebugMode' conform to the 'Sendable' protocol
12 |   case none
13 |   case overlay
   :
20 |     #if DEBUG
21 |       @usableFromInline
22 |       static let defaultValue = ViewControllerDebugMode.overlay
   |                  |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ViewControllerDebugMode' may have shared mutable state; this is an error in the Swift 6 language mode
   |                  |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
   |                  `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |     #else
24 |       @usableFromInline
[8/31] Compiling ViewController DebugMode.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController.swift:201:48: error: 'PresentationMode' is ambiguous for type lookup in this context
199 |    * the given mode.
200 |    */
201 |   func present<VC>(_ viewController: VC, mode: PresentationMode)
    |                                                `- error: 'PresentationMode' is ambiguous for type lookup in this context
202 |          where VC: ViewController
203 |   /**
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:91:13: note: found this candidate
 89 |    * ```
 90 |    */
 91 |   typealias PresentationMode = ViewControllerPresentationMode
    |             `- note: found this candidate
 92 | }
 93 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController/_ViewController.swift:25:13: note: found this candidate
 23 |   typealias ObjectWillChangePublisher = ObservableObjectPublisher
 24 |
 25 |   typealias PresentationMode = ViewControllerPresentationMode
    |             `- note: found this candidate
 26 |
 27 |   // MARK: - Titles
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ContainerViewControllers/NavigationController.swift:179:10: warning: call to main actor-isolated instance method 'controlled(by:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
177 |     NavigationView {
178 |       _rootViewController.view
179 |         .controlled(by: _rootViewController)
    |          `- warning: call to main actor-isolated instance method 'controlled(by:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
180 |         .navigationTitle(_rootViewController.navigationTitle)
181 |     }
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewControllerEnvironment.swift:74:8: note: calls to instance method 'controlled(by:)' from outside of its actor context are implicitly asynchronous
72 |    *                     View.
73 |    */
74 |   func controlled<VC: ViewController>(by viewController: VC)
   |        `- note: calls to instance method 'controlled(by:)' from outside of its actor context are implicitly asynchronous
75 |        -> some SwiftUI.View
76 |   {
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Debugging/DebugMode.swift:22:18: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ViewControllerDebugMode' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | import SwiftUI
10 |
11 | public enum ViewControllerDebugMode: Equatable {
   |             `- note: consider making enum 'ViewControllerDebugMode' conform to the 'Sendable' protocol
12 |   case none
13 |   case overlay
   :
20 |     #if DEBUG
21 |       @usableFromInline
22 |       static let defaultValue = ViewControllerDebugMode.overlay
   |                  |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ViewControllerDebugMode' may have shared mutable state; this is an error in the Swift 6 language mode
   |                  |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
   |                  `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |     #else
24 |       @usableFromInline
[9/31] Compiling ViewController RenderContentView.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController.swift:201:48: error: 'PresentationMode' is ambiguous for type lookup in this context
199 |    * the given mode.
200 |    */
201 |   func present<VC>(_ viewController: VC, mode: PresentationMode)
    |                                                `- error: 'PresentationMode' is ambiguous for type lookup in this context
202 |          where VC: ViewController
203 |   /**
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:91:13: note: found this candidate
 89 |    * ```
 90 |    */
 91 |   typealias PresentationMode = ViewControllerPresentationMode
    |             `- note: found this candidate
 92 | }
 93 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController/_ViewController.swift:25:13: note: found this candidate
 23 |   typealias ObjectWillChangePublisher = ObservableObjectPublisher
 24 |
 25 |   typealias PresentationMode = ViewControllerPresentationMode
    |             `- note: found this candidate
 26 |
 27 |   // MARK: - Titles
[10/31] Compiling ViewController ViewController.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController.swift:201:48: error: 'PresentationMode' is ambiguous for type lookup in this context
199 |    * the given mode.
200 |    */
201 |   func present<VC>(_ viewController: VC, mode: PresentationMode)
    |                                                `- error: 'PresentationMode' is ambiguous for type lookup in this context
202 |          where VC: ViewController
203 |   /**
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:91:13: note: found this candidate
 89 |    * ```
 90 |    */
 91 |   typealias PresentationMode = ViewControllerPresentationMode
    |             `- note: found this candidate
 92 | }
 93 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController/_ViewController.swift:25:13: note: found this candidate
 23 |   typealias ObjectWillChangePublisher = ObservableObjectPublisher
 24 |
 25 |   typealias PresentationMode = ViewControllerPresentationMode
    |             `- note: found this candidate
 26 |
 27 |   // MARK: - Titles
[11/31] Compiling ViewController Containment.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController.swift:201:48: error: 'PresentationMode' is ambiguous for type lookup in this context
199 |    * the given mode.
200 |    */
201 |   func present<VC>(_ viewController: VC, mode: PresentationMode)
    |                                                `- error: 'PresentationMode' is ambiguous for type lookup in this context
202 |          where VC: ViewController
203 |   /**
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:91:13: note: found this candidate
 89 |    * ```
 90 |    */
 91 |   typealias PresentationMode = ViewControllerPresentationMode
    |             `- note: found this candidate
 92 | }
 93 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController/_ViewController.swift:25:13: note: found this candidate
 23 |   typealias ObjectWillChangePublisher = ObservableObjectPublisher
 24 |
 25 |   typealias PresentationMode = ViewControllerPresentationMode
    |             `- note: found this candidate
 26 |
 27 |   // MARK: - Titles
[12/31] Compiling ViewController PresentationMode.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:98:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ViewControllerPresentationMode' may have shared mutable state; this is an error in the Swift 6 language mode
 27 |  * ```
 28 |  */
 29 | public enum ViewControllerPresentationMode: Hashable {
    |             `- note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 30 |   // FIXME: Used in two different ways, for accessing the actual presentation,
 31 |   //        and for deciding what presentation to use.
    :
 96 |   @usableFromInline
 97 |   internal struct ViewControllerPresentationModeKey: EnvironmentKey {
 98 |     public static let defaultValue = ViewController.PresentationMode.custom
    |                       |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ViewControllerPresentationMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 99 |   }
100 |
[13/31] Compiling ViewController ViewControllerPresentation.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:98:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ViewControllerPresentationMode' may have shared mutable state; this is an error in the Swift 6 language mode
 27 |  * ```
 28 |  */
 29 | public enum ViewControllerPresentationMode: Hashable {
    |             `- note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 30 |   // FIXME: Used in two different ways, for accessing the actual presentation,
 31 |   //        and for deciding what presentation to use.
    :
 96 |   @usableFromInline
 97 |   internal struct ViewControllerPresentationModeKey: EnvironmentKey {
 98 |     public static let defaultValue = ViewController.PresentationMode.custom
    |                       |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ViewControllerPresentationMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 99 |   }
100 |
[14/31] Compiling ViewController ReExports.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:98:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ViewControllerPresentationMode' may have shared mutable state; this is an error in the Swift 6 language mode
 27 |  * ```
 28 |  */
 29 | public enum ViewControllerPresentationMode: Hashable {
    |             `- note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 30 |   // FIXME: Used in two different ways, for accessing the actual presentation,
 31 |   //        and for deciding what presentation to use.
    :
 96 |   @usableFromInline
 97 |   internal struct ViewControllerPresentationModeKey: EnvironmentKey {
 98 |     public static let defaultValue = ViewController.PresentationMode.custom
    |                       |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ViewControllerPresentationMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 99 |   }
100 |
[15/31] Compiling ViewController ViewControllerStorage.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController/ViewControllerStorage.swift:191:17: warning: var 'associatedObjectToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
189 | // MARK: - Associated Object
190 |
191 | fileprivate var associatedObjectToken = 42
    |                 |- warning: var 'associatedObjectToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                 |- note: convert 'associatedObjectToken' to a 'let' constant to make 'Sendable' shared state immutable
    |                 |- note: add '@MainActor' to make var 'associatedObjectToken' part of global actor 'MainActor'
    |                 `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
192 |
193 | internal extension ViewController {
[16/31] Compiling ViewController _ViewController.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController/ViewControllerStorage.swift:191:17: warning: var 'associatedObjectToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
189 | // MARK: - Associated Object
190 |
191 | fileprivate var associatedObjectToken = 42
    |                 |- warning: var 'associatedObjectToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                 |- note: convert 'associatedObjectToken' to a 'let' constant to make 'Sendable' shared state immutable
    |                 |- note: add '@MainActor' to make var 'associatedObjectToken' part of global actor 'MainActor'
    |                 `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
192 |
193 | internal extension ViewController {
[17/31] Compiling ViewController DebugOverlay.swift
[18/31] Compiling ViewController HierarchyView.swift
[19/31] Compiling ViewController TypeMismatchInfoView.swift
[20/31] Compiling ViewController PushLink.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController.swift:201:48: error: 'PresentationMode' is ambiguous for type lookup in this context
199 |    * the given mode.
200 |    */
201 |   func present<VC>(_ viewController: VC, mode: PresentationMode)
    |                                                `- error: 'PresentationMode' is ambiguous for type lookup in this context
202 |          where VC: ViewController
203 |   /**
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:91:13: note: found this candidate
 89 |    * ```
 90 |    */
 91 |   typealias PresentationMode = ViewControllerPresentationMode
    |             `- note: found this candidate
 92 | }
 93 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController/_ViewController.swift:25:13: note: found this candidate
 23 |   typealias ObjectWillChangePublisher = ObservableObjectPublisher
 24 |
 25 |   typealias PresentationMode = ViewControllerPresentationMode
    |             `- note: found this candidate
 26 |
 27 |   // MARK: - Titles
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:105:34: warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
103 |     Binding(
104 |       get: {
105 |         guard let presentation = self.activePresentation(for: mode) else {
    |                                  `- warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
106 |           return false
107 |         }
ViewController._ViewController.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _ViewController {
2 | Self : ViewController._ViewController}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:105:63: warning: capture of 'mode' with non-sendable type 'ViewControllerPresentationMode?' in a '@Sendable' closure
103 |     Binding(
104 |       get: {
105 |         guard let presentation = self.activePresentation(for: mode) else {
    |                                                               `- warning: capture of 'mode' with non-sendable type 'ViewControllerPresentationMode?' in a '@Sendable' closure
106 |           return false
107 |         }
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:29:13: note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 27 |  * ```
 28 |  */
 29 | public enum ViewControllerPresentationMode: Hashable {
    |             `- note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 30 |   // FIXME: Used in two different ways, for accessing the actual presentation,
 31 |   //        and for deciding what presentation to use.
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:109:16: warning: capture of 'condition' with non-sendable type '(any _ViewController) -> Bool' in a '@Sendable' closure
107 |         }
108 |         if let mode = mode, mode != presentation.mode { return false }
109 |         return condition(presentation.viewController)
    |                |- warning: capture of 'condition' with non-sendable type '(any _ViewController) -> Bool' in a '@Sendable' closure
    |                `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
110 |       },
111 |       set: { isShowing in
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:117:34: warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
115 |         guard !isShowing else { return } // isShowing=true would be activation
116 |
117 |         guard let presentation = self.activePresentation(for: mode) else {
    |                                  `- warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
118 |           // This is fine, could have happened by other means.
119 |           return logger.debug("Did not find VC to deactivate in: \(self)")
ViewController._ViewController.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _ViewController {
2 | Self : ViewController._ViewController}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:117:63: warning: capture of 'mode' with non-sendable type 'ViewControllerPresentationMode?' in a '@Sendable' closure
115 |         guard !isShowing else { return } // isShowing=true would be activation
116 |
117 |         guard let presentation = self.activePresentation(for: mode) else {
    |                                                               `- warning: capture of 'mode' with non-sendable type 'ViewControllerPresentationMode?' in a '@Sendable' closure
118 |           // This is fine, could have happened by other means.
119 |           return logger.debug("Did not find VC to deactivate in: \(self)")
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:29:13: note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 27 |  * ```
 28 |  */
 29 | public enum ViewControllerPresentationMode: Hashable {
    |             `- note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 30 |   // FIXME: Used in two different ways, for accessing the actual presentation,
 31 |   //        and for deciding what presentation to use.
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:127:15: warning: capture of 'condition' with non-sendable type '(any _ViewController) -> Bool' in a '@Sendable' closure
125 |
126 |         /// Does our condition match?
127 |         guard condition(presentation.viewController) else { return }
    |               |- warning: capture of 'condition' with non-sendable type '(any _ViewController) -> Bool' in a '@Sendable' closure
    |               `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
128 |
129 |         logger.debug(
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:119:68: warning: implicit capture of 'self' requires that 'Self' conforms to 'Sendable'; this is an error in the Swift 6 language mode
117 |         guard let presentation = self.activePresentation(for: mode) else {
118 |           // This is fine, could have happened by other means.
119 |           return logger.debug("Did not find VC to deactivate in: \(self)")
    |                                                                    `- warning: implicit capture of 'self' requires that 'Self' conforms to 'Sendable'; this is an error in the Swift 6 language mode
120 |         }
121 |
ViewController._ViewController.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _ViewController {
2 | Self : ViewController._ViewController}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:122:16: warning: implicit capture of 'mode' requires that 'ViewControllerPresentationMode?' conforms to 'Sendable'; this is an error in the Swift 6 language mode
120 |         }
121 |
122 |         assert(mode != .automatic)
    |                `- warning: implicit capture of 'mode' requires that 'ViewControllerPresentationMode?' conforms to 'Sendable'; this is an error in the Swift 6 language mode
123 |         assert(presentation.mode != .automatic)
124 |         if let mode = mode, presentation.mode != mode { return }
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:29:13: note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 27 |  * ```
 28 |  */
 29 | public enum ViewControllerPresentationMode: Hashable {
    |             `- note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 30 |   // FIXME: Used in two different ways, for accessing the actual presentation,
 31 |   //        and for deciding what presentation to use.
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:157:12: warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
155 |     Binding(
156 |       get: {
157 |         if self.activePresentations.contains(where: { $0.mode == mode }) {
    |            `- warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
158 |           logger.debug("Is presenting in mode \(mode): \(self)")
159 |           return true
ViewController._ViewController.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _ViewController {
2 | Self : ViewController._ViewController}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:157:66: warning: capture of 'mode' with non-sendable type 'ViewControllerPresentationMode' in a '@Sendable' closure
155 |     Binding(
156 |       get: {
157 |         if self.activePresentations.contains(where: { $0.mode == mode }) {
    |                                                                  `- warning: capture of 'mode' with non-sendable type 'ViewControllerPresentationMode' in a '@Sendable' closure
158 |           logger.debug("Is presenting in mode \(mode): \(self)")
159 |           return true
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:29:13: note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 27 |  * ```
 28 |  */
 29 | public enum ViewControllerPresentationMode: Hashable {
    |             `- note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 30 |   // FIXME: Used in two different ways, for accessing the actual presentation,
 31 |   //        and for deciding what presentation to use.
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:157:66: warning: capture of 'mode' with non-sendable type 'ViewControllerPresentationMode' in an isolated closure; this is an error in the Swift 6 language mode
155 |     Binding(
156 |       get: {
157 |         if self.activePresentations.contains(where: { $0.mode == mode }) {
    |                                                                  `- warning: capture of 'mode' with non-sendable type 'ViewControllerPresentationMode' in an isolated closure; this is an error in the Swift 6 language mode
158 |           logger.debug("Is presenting in mode \(mode): \(self)")
159 |           return true
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:29:13: note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 27 |  * ```
 28 |  */
 29 | public enum ViewControllerPresentationMode: Hashable {
    |             `- note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 30 |   // FIXME: Used in two different ways, for accessing the actual presentation,
 31 |   //        and for deciding what presentation to use.
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:158:49: warning: implicit capture of 'mode' requires that 'ViewControllerPresentationMode' conforms to 'Sendable'; this is an error in the Swift 6 language mode
156 |       get: {
157 |         if self.activePresentations.contains(where: { $0.mode == mode }) {
158 |           logger.debug("Is presenting in mode \(mode): \(self)")
    |                                                 `- warning: implicit capture of 'mode' requires that 'ViewControllerPresentationMode' conforms to 'Sendable'; this is an error in the Swift 6 language mode
159 |           return true
160 |         }
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:29:13: note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 27 |  * ```
 28 |  */
 29 | public enum ViewControllerPresentationMode: Hashable {
    |             `- note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 30 |   // FIXME: Used in two different ways, for accessing the actual presentation,
 31 |   //        and for deciding what presentation to use.
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:158:58: warning: implicit capture of 'self' requires that 'Self' conforms to 'Sendable'; this is an error in the Swift 6 language mode
156 |       get: {
157 |         if self.activePresentations.contains(where: { $0.mode == mode }) {
158 |           logger.debug("Is presenting in mode \(mode): \(self)")
    |                                                          `- warning: implicit capture of 'self' requires that 'Self' conforms to 'Sendable'; this is an error in the Swift 6 language mode
159 |           return true
160 |         }
ViewController._ViewController.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _ViewController {
2 | Self : ViewController._ViewController}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:162:50: warning: implicit capture of 'mode' requires that 'ViewControllerPresentationMode' conforms to 'Sendable'; this is an error in the Swift 6 language mode
160 |         }
161 |         else {
162 |           logger.debug("Not presenting in mode \(mode): \(self)")
    |                                                  `- warning: implicit capture of 'mode' requires that 'ViewControllerPresentationMode' conforms to 'Sendable'; this is an error in the Swift 6 language mode
163 |           return false
164 |         }
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:29:13: note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 27 |  * ```
 28 |  */
 29 | public enum ViewControllerPresentationMode: Hashable {
    |             `- note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 30 |   // FIXME: Used in two different ways, for accessing the actual presentation,
 31 |   //        and for deciding what presentation to use.
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:162:59: warning: implicit capture of 'self' requires that 'Self' conforms to 'Sendable'; this is an error in the Swift 6 language mode
160 |         }
161 |         else {
162 |           logger.debug("Not presenting in mode \(mode): \(self)")
    |                                                           `- warning: implicit capture of 'self' requires that 'Self' conforms to 'Sendable'; this is an error in the Swift 6 language mode
163 |           return false
164 |         }
ViewController._ViewController.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _ViewController {
2 | Self : ViewController._ViewController}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:172:14: warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
170 |         guard !isShowing else {
171 |           // isShowing=true would be activation
172 |           if self.activePresentations.contains(where: { $0.mode == mode }) {
    |              `- warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
173 |             logger.debug(
174 |               "Attempt to activate VC via Binding, mode already active!")
ViewController._ViewController.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _ViewController {
2 | Self : ViewController._ViewController}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:172:68: warning: capture of 'mode' with non-sendable type 'ViewControllerPresentationMode' in a '@Sendable' closure
170 |         guard !isShowing else {
171 |           // isShowing=true would be activation
172 |           if self.activePresentations.contains(where: { $0.mode == mode }) {
    |                                                                    `- warning: capture of 'mode' with non-sendable type 'ViewControllerPresentationMode' in a '@Sendable' closure
173 |             logger.debug(
174 |               "Attempt to activate VC via Binding, mode already active!")
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:29:13: note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 27 |  * ```
 28 |  */
 29 | public enum ViewControllerPresentationMode: Hashable {
    |             `- note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 30 |   // FIXME: Used in two different ways, for accessing the actual presentation,
 31 |   //        and for deciding what presentation to use.
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:172:68: warning: capture of 'mode' with non-sendable type 'ViewControllerPresentationMode' in an isolated closure; this is an error in the Swift 6 language mode
170 |         guard !isShowing else {
171 |           // isShowing=true would be activation
172 |           if self.activePresentations.contains(where: { $0.mode == mode }) {
    |                                                                    `- warning: capture of 'mode' with non-sendable type 'ViewControllerPresentationMode' in an isolated closure; this is an error in the Swift 6 language mode
173 |             logger.debug(
174 |               "Attempt to activate VC via Binding, mode already active!")
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:29:13: note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 27 |  * ```
 28 |  */
 29 | public enum ViewControllerPresentationMode: Hashable {
    |             `- note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 30 |   // FIXME: Used in two different ways, for accessing the actual presentation,
 31 |   //        and for deciding what presentation to use.
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:179:65: warning: implicit capture of 'self' requires that 'Self' conforms to 'Sendable'; this is an error in the Swift 6 language mode
177 |             // FIXME: This can sometimes be seen in sheets, figure out why
178 |             logger.warning(
179 |               "Attempt to activate VC via Binding, won't work \(self)!")
    |                                                                 `- warning: implicit capture of 'self' requires that 'Self' conforms to 'Sendable'; this is an error in the Swift 6 language mode
180 |           }
181 |           return
ViewController._ViewController.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _ViewController {
2 | Self : ViewController._ViewController}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:189:41: warning: implicit capture of 'mode' requires that 'ViewControllerPresentationMode' conforms to 'Sendable'; this is an error in the Swift 6 language mode
187 |           // This is fine, could have happened by other means.
188 |           return logger.debug(
189 |             "did not find VC for mode \(mode) to deactivate in: \(self)?")
    |                                         `- warning: implicit capture of 'mode' requires that 'ViewControllerPresentationMode' conforms to 'Sendable'; this is an error in the Swift 6 language mode
190 |         }
191 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:29:13: note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 27 |  * ```
 28 |  */
 29 | public enum ViewControllerPresentationMode: Hashable {
    |             `- note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 30 |   // FIXME: Used in two different ways, for accessing the actual presentation,
 31 |   //        and for deciding what presentation to use.
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:189:67: warning: implicit capture of 'self' requires that 'Self' conforms to 'Sendable'; this is an error in the Swift 6 language mode
187 |           // This is fine, could have happened by other means.
188 |           return logger.debug(
189 |             "did not find VC for mode \(mode) to deactivate in: \(self)?")
    |                                                                   `- warning: implicit capture of 'self' requires that 'Self' conforms to 'Sendable'; this is an error in the Swift 6 language mode
190 |         }
191 |
ViewController._ViewController.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _ViewController {
2 | Self : ViewController._ViewController}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:195:37: warning: implicit capture of 'mode' requires that 'ViewControllerPresentationMode' conforms to 'Sendable'; this is an error in the Swift 6 language mode
193 |         /// TBD: what about "automatic" and such? Never active in an actual
194 |         ///      presentation!
195 |         assert(presentation.mode == mode, "internal inconsistency!")
    |                                     `- warning: implicit capture of 'mode' requires that 'ViewControllerPresentationMode' conforms to 'Sendable'; this is an error in the Swift 6 language mode
196 |         guard presentation.mode == mode else { return }
197 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:29:13: note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 27 |  * ```
 28 |  */
 29 | public enum ViewControllerPresentationMode: Hashable {
    |             `- note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 30 |   // FIXME: Used in two different ways, for accessing the actual presentation,
 31 |   //        and for deciding what presentation to use.
[21/31] Compiling ViewController AutoPresentation.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController.swift:201:48: error: 'PresentationMode' is ambiguous for type lookup in this context
199 |    * the given mode.
200 |    */
201 |   func present<VC>(_ viewController: VC, mode: PresentationMode)
    |                                                `- error: 'PresentationMode' is ambiguous for type lookup in this context
202 |          where VC: ViewController
203 |   /**
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:91:13: note: found this candidate
 89 |    * ```
 90 |    */
 91 |   typealias PresentationMode = ViewControllerPresentationMode
    |             `- note: found this candidate
 92 | }
 93 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController/_ViewController.swift:25:13: note: found this candidate
 23 |   typealias ObjectWillChangePublisher = ObservableObjectPublisher
 24 |
 25 |   typealias PresentationMode = ViewControllerPresentationMode
    |             `- note: found this candidate
 26 |
 27 |   // MARK: - Titles
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:105:34: warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
103 |     Binding(
104 |       get: {
105 |         guard let presentation = self.activePresentation(for: mode) else {
    |                                  `- warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
106 |           return false
107 |         }
ViewController._ViewController.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _ViewController {
2 | Self : ViewController._ViewController}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:105:63: warning: capture of 'mode' with non-sendable type 'ViewControllerPresentationMode?' in a '@Sendable' closure
103 |     Binding(
104 |       get: {
105 |         guard let presentation = self.activePresentation(for: mode) else {
    |                                                               `- warning: capture of 'mode' with non-sendable type 'ViewControllerPresentationMode?' in a '@Sendable' closure
106 |           return false
107 |         }
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:29:13: note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 27 |  * ```
 28 |  */
 29 | public enum ViewControllerPresentationMode: Hashable {
    |             `- note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 30 |   // FIXME: Used in two different ways, for accessing the actual presentation,
 31 |   //        and for deciding what presentation to use.
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:109:16: warning: capture of 'condition' with non-sendable type '(any _ViewController) -> Bool' in a '@Sendable' closure
107 |         }
108 |         if let mode = mode, mode != presentation.mode { return false }
109 |         return condition(presentation.viewController)
    |                |- warning: capture of 'condition' with non-sendable type '(any _ViewController) -> Bool' in a '@Sendable' closure
    |                `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
110 |       },
111 |       set: { isShowing in
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:117:34: warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
115 |         guard !isShowing else { return } // isShowing=true would be activation
116 |
117 |         guard let presentation = self.activePresentation(for: mode) else {
    |                                  `- warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
118 |           // This is fine, could have happened by other means.
119 |           return logger.debug("Did not find VC to deactivate in: \(self)")
ViewController._ViewController.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _ViewController {
2 | Self : ViewController._ViewController}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:117:63: warning: capture of 'mode' with non-sendable type 'ViewControllerPresentationMode?' in a '@Sendable' closure
115 |         guard !isShowing else { return } // isShowing=true would be activation
116 |
117 |         guard let presentation = self.activePresentation(for: mode) else {
    |                                                               `- warning: capture of 'mode' with non-sendable type 'ViewControllerPresentationMode?' in a '@Sendable' closure
118 |           // This is fine, could have happened by other means.
119 |           return logger.debug("Did not find VC to deactivate in: \(self)")
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:29:13: note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 27 |  * ```
 28 |  */
 29 | public enum ViewControllerPresentationMode: Hashable {
    |             `- note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 30 |   // FIXME: Used in two different ways, for accessing the actual presentation,
 31 |   //        and for deciding what presentation to use.
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:127:15: warning: capture of 'condition' with non-sendable type '(any _ViewController) -> Bool' in a '@Sendable' closure
125 |
126 |         /// Does our condition match?
127 |         guard condition(presentation.viewController) else { return }
    |               |- warning: capture of 'condition' with non-sendable type '(any _ViewController) -> Bool' in a '@Sendable' closure
    |               `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
128 |
129 |         logger.debug(
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:119:68: warning: implicit capture of 'self' requires that 'Self' conforms to 'Sendable'; this is an error in the Swift 6 language mode
117 |         guard let presentation = self.activePresentation(for: mode) else {
118 |           // This is fine, could have happened by other means.
119 |           return logger.debug("Did not find VC to deactivate in: \(self)")
    |                                                                    `- warning: implicit capture of 'self' requires that 'Self' conforms to 'Sendable'; this is an error in the Swift 6 language mode
120 |         }
121 |
ViewController._ViewController.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _ViewController {
2 | Self : ViewController._ViewController}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:122:16: warning: implicit capture of 'mode' requires that 'ViewControllerPresentationMode?' conforms to 'Sendable'; this is an error in the Swift 6 language mode
120 |         }
121 |
122 |         assert(mode != .automatic)
    |                `- warning: implicit capture of 'mode' requires that 'ViewControllerPresentationMode?' conforms to 'Sendable'; this is an error in the Swift 6 language mode
123 |         assert(presentation.mode != .automatic)
124 |         if let mode = mode, presentation.mode != mode { return }
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:29:13: note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 27 |  * ```
 28 |  */
 29 | public enum ViewControllerPresentationMode: Hashable {
    |             `- note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 30 |   // FIXME: Used in two different ways, for accessing the actual presentation,
 31 |   //        and for deciding what presentation to use.
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:157:12: warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
155 |     Binding(
156 |       get: {
157 |         if self.activePresentations.contains(where: { $0.mode == mode }) {
    |            `- warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
158 |           logger.debug("Is presenting in mode \(mode): \(self)")
159 |           return true
ViewController._ViewController.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _ViewController {
2 | Self : ViewController._ViewController}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:157:66: warning: capture of 'mode' with non-sendable type 'ViewControllerPresentationMode' in a '@Sendable' closure
155 |     Binding(
156 |       get: {
157 |         if self.activePresentations.contains(where: { $0.mode == mode }) {
    |                                                                  `- warning: capture of 'mode' with non-sendable type 'ViewControllerPresentationMode' in a '@Sendable' closure
158 |           logger.debug("Is presenting in mode \(mode): \(self)")
159 |           return true
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:29:13: note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 27 |  * ```
 28 |  */
 29 | public enum ViewControllerPresentationMode: Hashable {
    |             `- note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 30 |   // FIXME: Used in two different ways, for accessing the actual presentation,
 31 |   //        and for deciding what presentation to use.
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:157:66: warning: capture of 'mode' with non-sendable type 'ViewControllerPresentationMode' in an isolated closure; this is an error in the Swift 6 language mode
155 |     Binding(
156 |       get: {
157 |         if self.activePresentations.contains(where: { $0.mode == mode }) {
    |                                                                  `- warning: capture of 'mode' with non-sendable type 'ViewControllerPresentationMode' in an isolated closure; this is an error in the Swift 6 language mode
158 |           logger.debug("Is presenting in mode \(mode): \(self)")
159 |           return true
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:29:13: note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 27 |  * ```
 28 |  */
 29 | public enum ViewControllerPresentationMode: Hashable {
    |             `- note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 30 |   // FIXME: Used in two different ways, for accessing the actual presentation,
 31 |   //        and for deciding what presentation to use.
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:158:49: warning: implicit capture of 'mode' requires that 'ViewControllerPresentationMode' conforms to 'Sendable'; this is an error in the Swift 6 language mode
156 |       get: {
157 |         if self.activePresentations.contains(where: { $0.mode == mode }) {
158 |           logger.debug("Is presenting in mode \(mode): \(self)")
    |                                                 `- warning: implicit capture of 'mode' requires that 'ViewControllerPresentationMode' conforms to 'Sendable'; this is an error in the Swift 6 language mode
159 |           return true
160 |         }
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:29:13: note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 27 |  * ```
 28 |  */
 29 | public enum ViewControllerPresentationMode: Hashable {
    |             `- note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 30 |   // FIXME: Used in two different ways, for accessing the actual presentation,
 31 |   //        and for deciding what presentation to use.
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:158:58: warning: implicit capture of 'self' requires that 'Self' conforms to 'Sendable'; this is an error in the Swift 6 language mode
156 |       get: {
157 |         if self.activePresentations.contains(where: { $0.mode == mode }) {
158 |           logger.debug("Is presenting in mode \(mode): \(self)")
    |                                                          `- warning: implicit capture of 'self' requires that 'Self' conforms to 'Sendable'; this is an error in the Swift 6 language mode
159 |           return true
160 |         }
ViewController._ViewController.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _ViewController {
2 | Self : ViewController._ViewController}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:162:50: warning: implicit capture of 'mode' requires that 'ViewControllerPresentationMode' conforms to 'Sendable'; this is an error in the Swift 6 language mode
160 |         }
161 |         else {
162 |           logger.debug("Not presenting in mode \(mode): \(self)")
    |                                                  `- warning: implicit capture of 'mode' requires that 'ViewControllerPresentationMode' conforms to 'Sendable'; this is an error in the Swift 6 language mode
163 |           return false
164 |         }
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:29:13: note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 27 |  * ```
 28 |  */
 29 | public enum ViewControllerPresentationMode: Hashable {
    |             `- note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 30 |   // FIXME: Used in two different ways, for accessing the actual presentation,
 31 |   //        and for deciding what presentation to use.
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:162:59: warning: implicit capture of 'self' requires that 'Self' conforms to 'Sendable'; this is an error in the Swift 6 language mode
160 |         }
161 |         else {
162 |           logger.debug("Not presenting in mode \(mode): \(self)")
    |                                                           `- warning: implicit capture of 'self' requires that 'Self' conforms to 'Sendable'; this is an error in the Swift 6 language mode
163 |           return false
164 |         }
ViewController._ViewController.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _ViewController {
2 | Self : ViewController._ViewController}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:172:14: warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
170 |         guard !isShowing else {
171 |           // isShowing=true would be activation
172 |           if self.activePresentations.contains(where: { $0.mode == mode }) {
    |              `- warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
173 |             logger.debug(
174 |               "Attempt to activate VC via Binding, mode already active!")
ViewController._ViewController.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _ViewController {
2 | Self : ViewController._ViewController}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:172:68: warning: capture of 'mode' with non-sendable type 'ViewControllerPresentationMode' in a '@Sendable' closure
170 |         guard !isShowing else {
171 |           // isShowing=true would be activation
172 |           if self.activePresentations.contains(where: { $0.mode == mode }) {
    |                                                                    `- warning: capture of 'mode' with non-sendable type 'ViewControllerPresentationMode' in a '@Sendable' closure
173 |             logger.debug(
174 |               "Attempt to activate VC via Binding, mode already active!")
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:29:13: note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 27 |  * ```
 28 |  */
 29 | public enum ViewControllerPresentationMode: Hashable {
    |             `- note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 30 |   // FIXME: Used in two different ways, for accessing the actual presentation,
 31 |   //        and for deciding what presentation to use.
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:172:68: warning: capture of 'mode' with non-sendable type 'ViewControllerPresentationMode' in an isolated closure; this is an error in the Swift 6 language mode
170 |         guard !isShowing else {
171 |           // isShowing=true would be activation
172 |           if self.activePresentations.contains(where: { $0.mode == mode }) {
    |                                                                    `- warning: capture of 'mode' with non-sendable type 'ViewControllerPresentationMode' in an isolated closure; this is an error in the Swift 6 language mode
173 |             logger.debug(
174 |               "Attempt to activate VC via Binding, mode already active!")
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:29:13: note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 27 |  * ```
 28 |  */
 29 | public enum ViewControllerPresentationMode: Hashable {
    |             `- note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 30 |   // FIXME: Used in two different ways, for accessing the actual presentation,
 31 |   //        and for deciding what presentation to use.
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:179:65: warning: implicit capture of 'self' requires that 'Self' conforms to 'Sendable'; this is an error in the Swift 6 language mode
177 |             // FIXME: This can sometimes be seen in sheets, figure out why
178 |             logger.warning(
179 |               "Attempt to activate VC via Binding, won't work \(self)!")
    |                                                                 `- warning: implicit capture of 'self' requires that 'Self' conforms to 'Sendable'; this is an error in the Swift 6 language mode
180 |           }
181 |           return
ViewController._ViewController.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _ViewController {
2 | Self : ViewController._ViewController}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:189:41: warning: implicit capture of 'mode' requires that 'ViewControllerPresentationMode' conforms to 'Sendable'; this is an error in the Swift 6 language mode
187 |           // This is fine, could have happened by other means.
188 |           return logger.debug(
189 |             "did not find VC for mode \(mode) to deactivate in: \(self)?")
    |                                         `- warning: implicit capture of 'mode' requires that 'ViewControllerPresentationMode' conforms to 'Sendable'; this is an error in the Swift 6 language mode
190 |         }
191 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:29:13: note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 27 |  * ```
 28 |  */
 29 | public enum ViewControllerPresentationMode: Hashable {
    |             `- note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 30 |   // FIXME: Used in two different ways, for accessing the actual presentation,
 31 |   //        and for deciding what presentation to use.
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:189:67: warning: implicit capture of 'self' requires that 'Self' conforms to 'Sendable'; this is an error in the Swift 6 language mode
187 |           // This is fine, could have happened by other means.
188 |           return logger.debug(
189 |             "did not find VC for mode \(mode) to deactivate in: \(self)?")
    |                                                                   `- warning: implicit capture of 'self' requires that 'Self' conforms to 'Sendable'; this is an error in the Swift 6 language mode
190 |         }
191 |
ViewController._ViewController.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _ViewController {
2 | Self : ViewController._ViewController}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:195:37: warning: implicit capture of 'mode' requires that 'ViewControllerPresentationMode' conforms to 'Sendable'; this is an error in the Swift 6 language mode
193 |         /// TBD: what about "automatic" and such? Never active in an actual
194 |         ///      presentation!
195 |         assert(presentation.mode == mode, "internal inconsistency!")
    |                                     `- warning: implicit capture of 'mode' requires that 'ViewControllerPresentationMode' conforms to 'Sendable'; this is an error in the Swift 6 language mode
196 |         guard presentation.mode == mode else { return }
197 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:29:13: note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 27 |  * ```
 28 |  */
 29 | public enum ViewControllerPresentationMode: Hashable {
    |             `- note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 30 |   // FIXME: Used in two different ways, for accessing the actual presentation,
 31 |   //        and for deciding what presentation to use.
[22/31] Compiling ViewController Presentation.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController.swift:201:48: error: 'PresentationMode' is ambiguous for type lookup in this context
199 |    * the given mode.
200 |    */
201 |   func present<VC>(_ viewController: VC, mode: PresentationMode)
    |                                                `- error: 'PresentationMode' is ambiguous for type lookup in this context
202 |          where VC: ViewController
203 |   /**
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:91:13: note: found this candidate
 89 |    * ```
 90 |    */
 91 |   typealias PresentationMode = ViewControllerPresentationMode
    |             `- note: found this candidate
 92 | }
 93 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController/_ViewController.swift:25:13: note: found this candidate
 23 |   typealias ObjectWillChangePublisher = ObservableObjectPublisher
 24 |
 25 |   typealias PresentationMode = ViewControllerPresentationMode
    |             `- note: found this candidate
 26 |
 27 |   // MARK: - Titles
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:105:34: warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
103 |     Binding(
104 |       get: {
105 |         guard let presentation = self.activePresentation(for: mode) else {
    |                                  `- warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
106 |           return false
107 |         }
ViewController._ViewController.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _ViewController {
2 | Self : ViewController._ViewController}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:105:63: warning: capture of 'mode' with non-sendable type 'ViewControllerPresentationMode?' in a '@Sendable' closure
103 |     Binding(
104 |       get: {
105 |         guard let presentation = self.activePresentation(for: mode) else {
    |                                                               `- warning: capture of 'mode' with non-sendable type 'ViewControllerPresentationMode?' in a '@Sendable' closure
106 |           return false
107 |         }
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:29:13: note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 27 |  * ```
 28 |  */
 29 | public enum ViewControllerPresentationMode: Hashable {
    |             `- note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 30 |   // FIXME: Used in two different ways, for accessing the actual presentation,
 31 |   //        and for deciding what presentation to use.
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:109:16: warning: capture of 'condition' with non-sendable type '(any _ViewController) -> Bool' in a '@Sendable' closure
107 |         }
108 |         if let mode = mode, mode != presentation.mode { return false }
109 |         return condition(presentation.viewController)
    |                |- warning: capture of 'condition' with non-sendable type '(any _ViewController) -> Bool' in a '@Sendable' closure
    |                `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
110 |       },
111 |       set: { isShowing in
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:117:34: warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
115 |         guard !isShowing else { return } // isShowing=true would be activation
116 |
117 |         guard let presentation = self.activePresentation(for: mode) else {
    |                                  `- warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
118 |           // This is fine, could have happened by other means.
119 |           return logger.debug("Did not find VC to deactivate in: \(self)")
ViewController._ViewController.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _ViewController {
2 | Self : ViewController._ViewController}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:117:63: warning: capture of 'mode' with non-sendable type 'ViewControllerPresentationMode?' in a '@Sendable' closure
115 |         guard !isShowing else { return } // isShowing=true would be activation
116 |
117 |         guard let presentation = self.activePresentation(for: mode) else {
    |                                                               `- warning: capture of 'mode' with non-sendable type 'ViewControllerPresentationMode?' in a '@Sendable' closure
118 |           // This is fine, could have happened by other means.
119 |           return logger.debug("Did not find VC to deactivate in: \(self)")
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:29:13: note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 27 |  * ```
 28 |  */
 29 | public enum ViewControllerPresentationMode: Hashable {
    |             `- note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 30 |   // FIXME: Used in two different ways, for accessing the actual presentation,
 31 |   //        and for deciding what presentation to use.
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:127:15: warning: capture of 'condition' with non-sendable type '(any _ViewController) -> Bool' in a '@Sendable' closure
125 |
126 |         /// Does our condition match?
127 |         guard condition(presentation.viewController) else { return }
    |               |- warning: capture of 'condition' with non-sendable type '(any _ViewController) -> Bool' in a '@Sendable' closure
    |               `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
128 |
129 |         logger.debug(
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:119:68: warning: implicit capture of 'self' requires that 'Self' conforms to 'Sendable'; this is an error in the Swift 6 language mode
117 |         guard let presentation = self.activePresentation(for: mode) else {
118 |           // This is fine, could have happened by other means.
119 |           return logger.debug("Did not find VC to deactivate in: \(self)")
    |                                                                    `- warning: implicit capture of 'self' requires that 'Self' conforms to 'Sendable'; this is an error in the Swift 6 language mode
120 |         }
121 |
ViewController._ViewController.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _ViewController {
2 | Self : ViewController._ViewController}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:122:16: warning: implicit capture of 'mode' requires that 'ViewControllerPresentationMode?' conforms to 'Sendable'; this is an error in the Swift 6 language mode
120 |         }
121 |
122 |         assert(mode != .automatic)
    |                `- warning: implicit capture of 'mode' requires that 'ViewControllerPresentationMode?' conforms to 'Sendable'; this is an error in the Swift 6 language mode
123 |         assert(presentation.mode != .automatic)
124 |         if let mode = mode, presentation.mode != mode { return }
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:29:13: note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 27 |  * ```
 28 |  */
 29 | public enum ViewControllerPresentationMode: Hashable {
    |             `- note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 30 |   // FIXME: Used in two different ways, for accessing the actual presentation,
 31 |   //        and for deciding what presentation to use.
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:157:12: warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
155 |     Binding(
156 |       get: {
157 |         if self.activePresentations.contains(where: { $0.mode == mode }) {
    |            `- warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
158 |           logger.debug("Is presenting in mode \(mode): \(self)")
159 |           return true
ViewController._ViewController.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _ViewController {
2 | Self : ViewController._ViewController}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:157:66: warning: capture of 'mode' with non-sendable type 'ViewControllerPresentationMode' in a '@Sendable' closure
155 |     Binding(
156 |       get: {
157 |         if self.activePresentations.contains(where: { $0.mode == mode }) {
    |                                                                  `- warning: capture of 'mode' with non-sendable type 'ViewControllerPresentationMode' in a '@Sendable' closure
158 |           logger.debug("Is presenting in mode \(mode): \(self)")
159 |           return true
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:29:13: note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 27 |  * ```
 28 |  */
 29 | public enum ViewControllerPresentationMode: Hashable {
    |             `- note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 30 |   // FIXME: Used in two different ways, for accessing the actual presentation,
 31 |   //        and for deciding what presentation to use.
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:157:66: warning: capture of 'mode' with non-sendable type 'ViewControllerPresentationMode' in an isolated closure; this is an error in the Swift 6 language mode
155 |     Binding(
156 |       get: {
157 |         if self.activePresentations.contains(where: { $0.mode == mode }) {
    |                                                                  `- warning: capture of 'mode' with non-sendable type 'ViewControllerPresentationMode' in an isolated closure; this is an error in the Swift 6 language mode
158 |           logger.debug("Is presenting in mode \(mode): \(self)")
159 |           return true
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:29:13: note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 27 |  * ```
 28 |  */
 29 | public enum ViewControllerPresentationMode: Hashable {
    |             `- note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 30 |   // FIXME: Used in two different ways, for accessing the actual presentation,
 31 |   //        and for deciding what presentation to use.
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:158:49: warning: implicit capture of 'mode' requires that 'ViewControllerPresentationMode' conforms to 'Sendable'; this is an error in the Swift 6 language mode
156 |       get: {
157 |         if self.activePresentations.contains(where: { $0.mode == mode }) {
158 |           logger.debug("Is presenting in mode \(mode): \(self)")
    |                                                 `- warning: implicit capture of 'mode' requires that 'ViewControllerPresentationMode' conforms to 'Sendable'; this is an error in the Swift 6 language mode
159 |           return true
160 |         }
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:29:13: note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 27 |  * ```
 28 |  */
 29 | public enum ViewControllerPresentationMode: Hashable {
    |             `- note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 30 |   // FIXME: Used in two different ways, for accessing the actual presentation,
 31 |   //        and for deciding what presentation to use.
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:158:58: warning: implicit capture of 'self' requires that 'Self' conforms to 'Sendable'; this is an error in the Swift 6 language mode
156 |       get: {
157 |         if self.activePresentations.contains(where: { $0.mode == mode }) {
158 |           logger.debug("Is presenting in mode \(mode): \(self)")
    |                                                          `- warning: implicit capture of 'self' requires that 'Self' conforms to 'Sendable'; this is an error in the Swift 6 language mode
159 |           return true
160 |         }
ViewController._ViewController.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _ViewController {
2 | Self : ViewController._ViewController}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:162:50: warning: implicit capture of 'mode' requires that 'ViewControllerPresentationMode' conforms to 'Sendable'; this is an error in the Swift 6 language mode
160 |         }
161 |         else {
162 |           logger.debug("Not presenting in mode \(mode): \(self)")
    |                                                  `- warning: implicit capture of 'mode' requires that 'ViewControllerPresentationMode' conforms to 'Sendable'; this is an error in the Swift 6 language mode
163 |           return false
164 |         }
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:29:13: note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 27 |  * ```
 28 |  */
 29 | public enum ViewControllerPresentationMode: Hashable {
    |             `- note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 30 |   // FIXME: Used in two different ways, for accessing the actual presentation,
 31 |   //        and for deciding what presentation to use.
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:162:59: warning: implicit capture of 'self' requires that 'Self' conforms to 'Sendable'; this is an error in the Swift 6 language mode
160 |         }
161 |         else {
162 |           logger.debug("Not presenting in mode \(mode): \(self)")
    |                                                           `- warning: implicit capture of 'self' requires that 'Self' conforms to 'Sendable'; this is an error in the Swift 6 language mode
163 |           return false
164 |         }
ViewController._ViewController.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _ViewController {
2 | Self : ViewController._ViewController}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:172:14: warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
170 |         guard !isShowing else {
171 |           // isShowing=true would be activation
172 |           if self.activePresentations.contains(where: { $0.mode == mode }) {
    |              `- warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
173 |             logger.debug(
174 |               "Attempt to activate VC via Binding, mode already active!")
ViewController._ViewController.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _ViewController {
2 | Self : ViewController._ViewController}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:172:68: warning: capture of 'mode' with non-sendable type 'ViewControllerPresentationMode' in a '@Sendable' closure
170 |         guard !isShowing else {
171 |           // isShowing=true would be activation
172 |           if self.activePresentations.contains(where: { $0.mode == mode }) {
    |                                                                    `- warning: capture of 'mode' with non-sendable type 'ViewControllerPresentationMode' in a '@Sendable' closure
173 |             logger.debug(
174 |               "Attempt to activate VC via Binding, mode already active!")
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:29:13: note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 27 |  * ```
 28 |  */
 29 | public enum ViewControllerPresentationMode: Hashable {
    |             `- note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 30 |   // FIXME: Used in two different ways, for accessing the actual presentation,
 31 |   //        and for deciding what presentation to use.
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:172:68: warning: capture of 'mode' with non-sendable type 'ViewControllerPresentationMode' in an isolated closure; this is an error in the Swift 6 language mode
170 |         guard !isShowing else {
171 |           // isShowing=true would be activation
172 |           if self.activePresentations.contains(where: { $0.mode == mode }) {
    |                                                                    `- warning: capture of 'mode' with non-sendable type 'ViewControllerPresentationMode' in an isolated closure; this is an error in the Swift 6 language mode
173 |             logger.debug(
174 |               "Attempt to activate VC via Binding, mode already active!")
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:29:13: note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 27 |  * ```
 28 |  */
 29 | public enum ViewControllerPresentationMode: Hashable {
    |             `- note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 30 |   // FIXME: Used in two different ways, for accessing the actual presentation,
 31 |   //        and for deciding what presentation to use.
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:179:65: warning: implicit capture of 'self' requires that 'Self' conforms to 'Sendable'; this is an error in the Swift 6 language mode
177 |             // FIXME: This can sometimes be seen in sheets, figure out why
178 |             logger.warning(
179 |               "Attempt to activate VC via Binding, won't work \(self)!")
    |                                                                 `- warning: implicit capture of 'self' requires that 'Self' conforms to 'Sendable'; this is an error in the Swift 6 language mode
180 |           }
181 |           return
ViewController._ViewController.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _ViewController {
2 | Self : ViewController._ViewController}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:189:41: warning: implicit capture of 'mode' requires that 'ViewControllerPresentationMode' conforms to 'Sendable'; this is an error in the Swift 6 language mode
187 |           // This is fine, could have happened by other means.
188 |           return logger.debug(
189 |             "did not find VC for mode \(mode) to deactivate in: \(self)?")
    |                                         `- warning: implicit capture of 'mode' requires that 'ViewControllerPresentationMode' conforms to 'Sendable'; this is an error in the Swift 6 language mode
190 |         }
191 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:29:13: note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 27 |  * ```
 28 |  */
 29 | public enum ViewControllerPresentationMode: Hashable {
    |             `- note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 30 |   // FIXME: Used in two different ways, for accessing the actual presentation,
 31 |   //        and for deciding what presentation to use.
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:189:67: warning: implicit capture of 'self' requires that 'Self' conforms to 'Sendable'; this is an error in the Swift 6 language mode
187 |           // This is fine, could have happened by other means.
188 |           return logger.debug(
189 |             "did not find VC for mode \(mode) to deactivate in: \(self)?")
    |                                                                   `- warning: implicit capture of 'self' requires that 'Self' conforms to 'Sendable'; this is an error in the Swift 6 language mode
190 |         }
191 |
ViewController._ViewController.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _ViewController {
2 | Self : ViewController._ViewController}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/Presentation.swift:195:37: warning: implicit capture of 'mode' requires that 'ViewControllerPresentationMode' conforms to 'Sendable'; this is an error in the Swift 6 language mode
193 |         /// TBD: what about "automatic" and such? Never active in an actual
194 |         ///      presentation!
195 |         assert(presentation.mode == mode, "internal inconsistency!")
    |                                     `- warning: implicit capture of 'mode' requires that 'ViewControllerPresentationMode' conforms to 'Sendable'; this is an error in the Swift 6 language mode
196 |         guard presentation.mode == mode else { return }
197 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:29:13: note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 27 |  * ```
 28 |  */
 29 | public enum ViewControllerPresentationMode: Hashable {
    |             `- note: consider making enum 'ViewControllerPresentationMode' conform to the 'Sendable' protocol
 30 |   // FIXME: Used in two different ways, for accessing the actual presentation,
 31 |   //        and for deciding what presentation to use.
[23/31] Compiling ViewController ViewControllerInfo.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Logger.swift:49:5: warning: let 'logger' is not concurrency-safe because non-'Sendable' type 'PrintLogger' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | @usableFromInline
16 | struct PrintLogger {
   |        `- note: consider making struct 'PrintLogger' conform to the 'Sendable' protocol
17 |
18 |   static let logLevel : OSLogType = {
   :
47 |
48 | @usableFromInline
49 | let logger = PrintLogger()
   |     |- warning: let 'logger' is not concurrency-safe because non-'Sendable' type 'PrintLogger' may have shared mutable state; this is an error in the Swift 6 language mode
   |     |- note: add '@MainActor' to make let 'logger' part of global actor 'MainActor'
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | #else
[24/31] Compiling ViewController Logger.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Logger.swift:49:5: warning: let 'logger' is not concurrency-safe because non-'Sendable' type 'PrintLogger' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | @usableFromInline
16 | struct PrintLogger {
   |        `- note: consider making struct 'PrintLogger' conform to the 'Sendable' protocol
17 |
18 |   static let logLevel : OSLogType = {
   :
47 |
48 | @usableFromInline
49 | let logger = PrintLogger()
   |     |- warning: let 'logger' is not concurrency-safe because non-'Sendable' type 'PrintLogger' may have shared mutable state; this is an error in the Swift 6 language mode
   |     |- note: add '@MainActor' to make let 'logger' part of global actor 'MainActor'
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | #else
[25/31] Compiling ViewController MainViewController.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Logger.swift:49:5: warning: let 'logger' is not concurrency-safe because non-'Sendable' type 'PrintLogger' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | @usableFromInline
16 | struct PrintLogger {
   |        `- note: consider making struct 'PrintLogger' conform to the 'Sendable' protocol
17 |
18 |   static let logLevel : OSLogType = {
   :
47 |
48 | @usableFromInline
49 | let logger = PrintLogger()
   |     |- warning: let 'logger' is not concurrency-safe because non-'Sendable' type 'PrintLogger' may have shared mutable state; this is an error in the Swift 6 language mode
   |     |- note: add '@MainActor' to make let 'logger' part of global actor 'MainActor'
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | #else
[26/31] Compiling ViewController ContentView.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController/ContentView.swift:20:41: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
18 |    */
19 |   @inlinable
20 |   @ViewBuilder var view : ContentView { ContentView() }
   |                                         `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
21 | }
22 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewControllerView.swift:18:3: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
16 |  */
17 | public protocol ViewControllerView: View {
18 |   init()
   |   |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
   |   `- note: main actor isolation inferred from conformance to protocol 'View'
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController/ContentView.swift:49:5: warning: call to main actor-isolated initializer 'init(viewController:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
34 |
35 |   @usableFromInline
36 |   init(viewController: VC) { self.viewController = viewController }
   |   |- note: calls to initializer 'init(viewController:)' from outside of its actor context are implicitly asynchronous
   |   `- note: main actor isolation inferred from conformance to protocol 'View'
37 |
38 |   @usableFromInline
   :
47 |   @inlinable
48 |   var controlledContentView : some SwiftUI.View {
49 |     ControlWrapper(viewController: self)
   |     `- warning: call to main actor-isolated initializer 'init(viewController:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
50 |   }
51 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController/ContentView.swift:49:5: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
47 |   @inlinable
48 |   var controlledContentView : some SwiftUI.View {
49 |     ControlWrapper(viewController: self)
   |     |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
   |     `- note: sending task-isolated 'self' to main actor-isolated initializer 'init(viewController:)' risks causing data races between main actor-isolated and task-isolated uses
50 |   }
51 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController.swift:201:48: error: 'PresentationMode' is ambiguous for type lookup in this context
199 |    * the given mode.
200 |    */
201 |   func present<VC>(_ viewController: VC, mode: PresentationMode)
    |                                                `- error: 'PresentationMode' is ambiguous for type lookup in this context
202 |          where VC: ViewController
203 |   /**
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:91:13: note: found this candidate
 89 |    * ```
 90 |    */
 91 |   typealias PresentationMode = ViewControllerPresentationMode
    |             `- note: found this candidate
 92 | }
 93 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController/_ViewController.swift:25:13: note: found this candidate
 23 |   typealias ObjectWillChangePublisher = ObservableObjectPublisher
 24 |
 25 |   typealias PresentationMode = ViewControllerPresentationMode
    |             `- note: found this candidate
 26 |
 27 |   // MARK: - Titles
[27/31] Compiling ViewController DefaultDescription.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController/ContentView.swift:20:41: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
18 |    */
19 |   @inlinable
20 |   @ViewBuilder var view : ContentView { ContentView() }
   |                                         `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
21 | }
22 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewControllerView.swift:18:3: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
16 |  */
17 | public protocol ViewControllerView: View {
18 |   init()
   |   |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
   |   `- note: main actor isolation inferred from conformance to protocol 'View'
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController/ContentView.swift:49:5: warning: call to main actor-isolated initializer 'init(viewController:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
34 |
35 |   @usableFromInline
36 |   init(viewController: VC) { self.viewController = viewController }
   |   |- note: calls to initializer 'init(viewController:)' from outside of its actor context are implicitly asynchronous
   |   `- note: main actor isolation inferred from conformance to protocol 'View'
37 |
38 |   @usableFromInline
   :
47 |   @inlinable
48 |   var controlledContentView : some SwiftUI.View {
49 |     ControlWrapper(viewController: self)
   |     `- warning: call to main actor-isolated initializer 'init(viewController:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
50 |   }
51 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController/ContentView.swift:49:5: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
47 |   @inlinable
48 |   var controlledContentView : some SwiftUI.View {
49 |     ControlWrapper(viewController: self)
   |     |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
   |     `- note: sending task-isolated 'self' to main actor-isolated initializer 'init(viewController:)' risks causing data races between main actor-isolated and task-isolated uses
50 |   }
51 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController.swift:201:48: error: 'PresentationMode' is ambiguous for type lookup in this context
199 |    * the given mode.
200 |    */
201 |   func present<VC>(_ viewController: VC, mode: PresentationMode)
    |                                                `- error: 'PresentationMode' is ambiguous for type lookup in this context
202 |          where VC: ViewController
203 |   /**
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:91:13: note: found this candidate
 89 |    * ```
 90 |    */
 91 |   typealias PresentationMode = ViewControllerPresentationMode
    |             `- note: found this candidate
 92 | }
 93 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController/_ViewController.swift:25:13: note: found this candidate
 23 |   typealias ObjectWillChangePublisher = ObservableObjectPublisher
 24 |
 25 |   typealias PresentationMode = ViewControllerPresentationMode
    |             `- note: found this candidate
 26 |
 27 |   // MARK: - Titles
[28/31] Compiling ViewController RepresentedObject.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController/ContentView.swift:20:41: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
18 |    */
19 |   @inlinable
20 |   @ViewBuilder var view : ContentView { ContentView() }
   |                                         `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
21 | }
22 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewControllerView.swift:18:3: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
16 |  */
17 | public protocol ViewControllerView: View {
18 |   init()
   |   |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
   |   `- note: main actor isolation inferred from conformance to protocol 'View'
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController/ContentView.swift:49:5: warning: call to main actor-isolated initializer 'init(viewController:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
34 |
35 |   @usableFromInline
36 |   init(viewController: VC) { self.viewController = viewController }
   |   |- note: calls to initializer 'init(viewController:)' from outside of its actor context are implicitly asynchronous
   |   `- note: main actor isolation inferred from conformance to protocol 'View'
37 |
38 |   @usableFromInline
   :
47 |   @inlinable
48 |   var controlledContentView : some SwiftUI.View {
49 |     ControlWrapper(viewController: self)
   |     `- warning: call to main actor-isolated initializer 'init(viewController:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
50 |   }
51 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController/ContentView.swift:49:5: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
47 |   @inlinable
48 |   var controlledContentView : some SwiftUI.View {
49 |     ControlWrapper(viewController: self)
   |     |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
   |     `- note: sending task-isolated 'self' to main actor-isolated initializer 'init(viewController:)' risks causing data races between main actor-isolated and task-isolated uses
50 |   }
51 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController.swift:201:48: error: 'PresentationMode' is ambiguous for type lookup in this context
199 |    * the given mode.
200 |    */
201 |   func present<VC>(_ viewController: VC, mode: PresentationMode)
    |                                                `- error: 'PresentationMode' is ambiguous for type lookup in this context
202 |          where VC: ViewController
203 |   /**
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:91:13: note: found this candidate
 89 |    * ```
 90 |    */
 91 |   typealias PresentationMode = ViewControllerPresentationMode
    |             `- note: found this candidate
 92 | }
 93 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController/_ViewController.swift:25:13: note: found this candidate
 23 |   typealias ObjectWillChangePublisher = ObservableObjectPublisher
 24 |
 25 |   typealias PresentationMode = ViewControllerPresentationMode
    |             `- note: found this candidate
 26 |
 27 |   // MARK: - Titles
[29/31] Compiling ViewController Subscriptions.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController.swift:201:48: error: 'PresentationMode' is ambiguous for type lookup in this context
199 |    * the given mode.
200 |    */
201 |   func present<VC>(_ viewController: VC, mode: PresentationMode)
    |                                                `- error: 'PresentationMode' is ambiguous for type lookup in this context
202 |          where VC: ViewController
203 |   /**
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:91:13: note: found this candidate
 89 |    * ```
 90 |    */
 91 |   typealias PresentationMode = ViewControllerPresentationMode
    |             `- note: found this candidate
 92 | }
 93 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController/_ViewController.swift:25:13: note: found this candidate
 23 |   typealias ObjectWillChangePublisher = ObservableObjectPublisher
 24 |
 25 |   typealias PresentationMode = ViewControllerPresentationMode
    |             `- note: found this candidate
 26 |
 27 |   // MARK: - Titles
[30/31] Compiling ViewController Title.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController.swift:201:48: error: 'PresentationMode' is ambiguous for type lookup in this context
199 |    * the given mode.
200 |    */
201 |   func present<VC>(_ viewController: VC, mode: PresentationMode)
    |                                                `- error: 'PresentationMode' is ambiguous for type lookup in this context
202 |          where VC: ViewController
203 |   /**
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:91:13: note: found this candidate
 89 |    * ```
 90 |    */
 91 |   typealias PresentationMode = ViewControllerPresentationMode
    |             `- note: found this candidate
 92 | }
 93 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController/_ViewController.swift:25:13: note: found this candidate
 23 |   typealias ObjectWillChangePublisher = ObservableObjectPublisher
 24 |
 25 |   typealias PresentationMode = ViewControllerPresentationMode
    |             `- note: found this candidate
 26 |
 27 |   // MARK: - Titles
[31/31] Compiling ViewController TypeErasure.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController.swift:201:48: error: 'PresentationMode' is ambiguous for type lookup in this context
199 |    * the given mode.
200 |    */
201 |   func present<VC>(_ viewController: VC, mode: PresentationMode)
    |                                                `- error: 'PresentationMode' is ambiguous for type lookup in this context
202 |          where VC: ViewController
203 |   /**
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:91:13: note: found this candidate
 89 |    * ```
 90 |    */
 91 |   typealias PresentationMode = ViewControllerPresentationMode
    |             `- note: found this candidate
 92 | }
 93 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController/_ViewController.swift:25:13: note: found this candidate
 23 |   typealias ObjectWillChangePublisher = ObservableObjectPublisher
 24 |
 25 |   typealias PresentationMode = ViewControllerPresentationMode
    |             `- note: found this candidate
 26 |
 27 |   // MARK: - Titles
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/28] Emitting module ViewController
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController.swift:201:48: error: 'PresentationMode' is ambiguous for type lookup in this context
199 |    * the given mode.
200 |    */
201 |   func present<VC>(_ viewController: VC, mode: PresentationMode)
    |                                                `- error: 'PresentationMode' is ambiguous for type lookup in this context
202 |          where VC: ViewController
203 |   /**
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:91:13: note: found this candidate
 89 |    * ```
 90 |    */
 91 |   typealias PresentationMode = ViewControllerPresentationMode
    |             `- note: found this candidate
 92 | }
 93 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController/_ViewController.swift:25:13: note: found this candidate
 23 |   typealias ObjectWillChangePublisher = ObservableObjectPublisher
 24 |
 25 |   typealias PresentationMode = ViewControllerPresentationMode
    |             `- note: found this candidate
 26 |
 27 |   // MARK: - Titles
[3/30] Compiling ViewController AnyViewController.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController.swift:201:48: error: 'PresentationMode' is ambiguous for type lookup in this context
199 |    * the given mode.
200 |    */
201 |   func present<VC>(_ viewController: VC, mode: PresentationMode)
    |                                                `- error: 'PresentationMode' is ambiguous for type lookup in this context
202 |          where VC: ViewController
203 |   /**
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:91:13: note: found this candidate
 89 |    * ```
 90 |    */
 91 |   typealias PresentationMode = ViewControllerPresentationMode
    |             `- note: found this candidate
 92 | }
 93 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController/_ViewController.swift:25:13: note: found this candidate
 23 |   typealias ObjectWillChangePublisher = ObservableObjectPublisher
 24 |
 25 |   typealias PresentationMode = ViewControllerPresentationMode
    |             `- note: found this candidate
 26 |
 27 |   // MARK: - Titles
[4/30] Compiling ViewController NavigationController.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController.swift:201:48: error: 'PresentationMode' is ambiguous for type lookup in this context
199 |    * the given mode.
200 |    */
201 |   func present<VC>(_ viewController: VC, mode: PresentationMode)
    |                                                `- error: 'PresentationMode' is ambiguous for type lookup in this context
202 |          where VC: ViewController
203 |   /**
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:91:13: note: found this candidate
 89 |    * ```
 90 |    */
 91 |   typealias PresentationMode = ViewControllerPresentationMode
    |             `- note: found this candidate
 92 | }
 93 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController/_ViewController.swift:25:13: note: found this candidate
 23 |   typealias ObjectWillChangePublisher = ObservableObjectPublisher
 24 |
 25 |   typealias PresentationMode = ViewControllerPresentationMode
    |             `- note: found this candidate
 26 |
 27 |   // MARK: - Titles
[5/30] Compiling ViewController DebugMode.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController.swift:201:48: error: 'PresentationMode' is ambiguous for type lookup in this context
199 |    * the given mode.
200 |    */
201 |   func present<VC>(_ viewController: VC, mode: PresentationMode)
    |                                                `- error: 'PresentationMode' is ambiguous for type lookup in this context
202 |          where VC: ViewController
203 |   /**
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:91:13: note: found this candidate
 89 |    * ```
 90 |    */
 91 |   typealias PresentationMode = ViewControllerPresentationMode
    |             `- note: found this candidate
 92 | }
 93 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController/_ViewController.swift:25:13: note: found this candidate
 23 |   typealias ObjectWillChangePublisher = ObservableObjectPublisher
 24 |
 25 |   typealias PresentationMode = ViewControllerPresentationMode
    |             `- note: found this candidate
 26 |
 27 |   // MARK: - Titles
[6/30] Compiling ViewController ViewControllerStorage.swift
[7/30] Compiling ViewController _ViewController.swift
[8/30] Compiling ViewController ContentView.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController.swift:201:48: error: 'PresentationMode' is ambiguous for type lookup in this context
199 |    * the given mode.
200 |    */
201 |   func present<VC>(_ viewController: VC, mode: PresentationMode)
    |                                                `- error: 'PresentationMode' is ambiguous for type lookup in this context
202 |          where VC: ViewController
203 |   /**
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:91:13: note: found this candidate
 89 |    * ```
 90 |    */
 91 |   typealias PresentationMode = ViewControllerPresentationMode
    |             `- note: found this candidate
 92 | }
 93 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController/_ViewController.swift:25:13: note: found this candidate
 23 |   typealias ObjectWillChangePublisher = ObservableObjectPublisher
 24 |
 25 |   typealias PresentationMode = ViewControllerPresentationMode
    |             `- note: found this candidate
 26 |
 27 |   // MARK: - Titles
[9/30] Compiling ViewController DefaultDescription.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController.swift:201:48: error: 'PresentationMode' is ambiguous for type lookup in this context
199 |    * the given mode.
200 |    */
201 |   func present<VC>(_ viewController: VC, mode: PresentationMode)
    |                                                `- error: 'PresentationMode' is ambiguous for type lookup in this context
202 |          where VC: ViewController
203 |   /**
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:91:13: note: found this candidate
 89 |    * ```
 90 |    */
 91 |   typealias PresentationMode = ViewControllerPresentationMode
    |             `- note: found this candidate
 92 | }
 93 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController/_ViewController.swift:25:13: note: found this candidate
 23 |   typealias ObjectWillChangePublisher = ObservableObjectPublisher
 24 |
 25 |   typealias PresentationMode = ViewControllerPresentationMode
    |             `- note: found this candidate
 26 |
 27 |   // MARK: - Titles
[10/30] Compiling ViewController RepresentedObject.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController.swift:201:48: error: 'PresentationMode' is ambiguous for type lookup in this context
199 |    * the given mode.
200 |    */
201 |   func present<VC>(_ viewController: VC, mode: PresentationMode)
    |                                                `- error: 'PresentationMode' is ambiguous for type lookup in this context
202 |          where VC: ViewController
203 |   /**
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:91:13: note: found this candidate
 89 |    * ```
 90 |    */
 91 |   typealias PresentationMode = ViewControllerPresentationMode
    |             `- note: found this candidate
 92 | }
 93 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController/_ViewController.swift:25:13: note: found this candidate
 23 |   typealias ObjectWillChangePublisher = ObservableObjectPublisher
 24 |
 25 |   typealias PresentationMode = ViewControllerPresentationMode
    |             `- note: found this candidate
 26 |
 27 |   // MARK: - Titles
[11/30] Compiling ViewController PresentationMode.swift
[12/30] Compiling ViewController ViewControllerPresentation.swift
[13/30] Compiling ViewController ReExports.swift
[14/30] Compiling ViewController Subscriptions.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController.swift:201:48: error: 'PresentationMode' is ambiguous for type lookup in this context
199 |    * the given mode.
200 |    */
201 |   func present<VC>(_ viewController: VC, mode: PresentationMode)
    |                                                `- error: 'PresentationMode' is ambiguous for type lookup in this context
202 |          where VC: ViewController
203 |   /**
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:91:13: note: found this candidate
 89 |    * ```
 90 |    */
 91 |   typealias PresentationMode = ViewControllerPresentationMode
    |             `- note: found this candidate
 92 | }
 93 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController/_ViewController.swift:25:13: note: found this candidate
 23 |   typealias ObjectWillChangePublisher = ObservableObjectPublisher
 24 |
 25 |   typealias PresentationMode = ViewControllerPresentationMode
    |             `- note: found this candidate
 26 |
 27 |   // MARK: - Titles
[15/30] Compiling ViewController Title.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController.swift:201:48: error: 'PresentationMode' is ambiguous for type lookup in this context
199 |    * the given mode.
200 |    */
201 |   func present<VC>(_ viewController: VC, mode: PresentationMode)
    |                                                `- error: 'PresentationMode' is ambiguous for type lookup in this context
202 |          where VC: ViewController
203 |   /**
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:91:13: note: found this candidate
 89 |    * ```
 90 |    */
 91 |   typealias PresentationMode = ViewControllerPresentationMode
    |             `- note: found this candidate
 92 | }
 93 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController/_ViewController.swift:25:13: note: found this candidate
 23 |   typealias ObjectWillChangePublisher = ObservableObjectPublisher
 24 |
 25 |   typealias PresentationMode = ViewControllerPresentationMode
    |             `- note: found this candidate
 26 |
 27 |   // MARK: - Titles
[16/30] Compiling ViewController TypeErasure.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController.swift:201:48: error: 'PresentationMode' is ambiguous for type lookup in this context
199 |    * the given mode.
200 |    */
201 |   func present<VC>(_ viewController: VC, mode: PresentationMode)
    |                                                `- error: 'PresentationMode' is ambiguous for type lookup in this context
202 |          where VC: ViewController
203 |   /**
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:91:13: note: found this candidate
 89 |    * ```
 90 |    */
 91 |   typealias PresentationMode = ViewControllerPresentationMode
    |             `- note: found this candidate
 92 | }
 93 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController/_ViewController.swift:25:13: note: found this candidate
 23 |   typealias ObjectWillChangePublisher = ObservableObjectPublisher
 24 |
 25 |   typealias PresentationMode = ViewControllerPresentationMode
    |             `- note: found this candidate
 26 |
 27 |   // MARK: - Titles
[17/30] Compiling ViewController PushLink.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController.swift:201:48: error: 'PresentationMode' is ambiguous for type lookup in this context
199 |    * the given mode.
200 |    */
201 |   func present<VC>(_ viewController: VC, mode: PresentationMode)
    |                                                `- error: 'PresentationMode' is ambiguous for type lookup in this context
202 |          where VC: ViewController
203 |   /**
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:91:13: note: found this candidate
 89 |    * ```
 90 |    */
 91 |   typealias PresentationMode = ViewControllerPresentationMode
    |             `- note: found this candidate
 92 | }
 93 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController/_ViewController.swift:25:13: note: found this candidate
 23 |   typealias ObjectWillChangePublisher = ObservableObjectPublisher
 24 |
 25 |   typealias PresentationMode = ViewControllerPresentationMode
    |             `- note: found this candidate
 26 |
 27 |   // MARK: - Titles
[18/30] Compiling ViewController AutoPresentation.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController.swift:201:48: error: 'PresentationMode' is ambiguous for type lookup in this context
199 |    * the given mode.
200 |    */
201 |   func present<VC>(_ viewController: VC, mode: PresentationMode)
    |                                                `- error: 'PresentationMode' is ambiguous for type lookup in this context
202 |          where VC: ViewController
203 |   /**
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:91:13: note: found this candidate
 89 |    * ```
 90 |    */
 91 |   typealias PresentationMode = ViewControllerPresentationMode
    |             `- note: found this candidate
 92 | }
 93 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController/_ViewController.swift:25:13: note: found this candidate
 23 |   typealias ObjectWillChangePublisher = ObservableObjectPublisher
 24 |
 25 |   typealias PresentationMode = ViewControllerPresentationMode
    |             `- note: found this candidate
 26 |
 27 |   // MARK: - Titles
[19/30] Compiling ViewController Presentation.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController.swift:201:48: error: 'PresentationMode' is ambiguous for type lookup in this context
199 |    * the given mode.
200 |    */
201 |   func present<VC>(_ viewController: VC, mode: PresentationMode)
    |                                                `- error: 'PresentationMode' is ambiguous for type lookup in this context
202 |          where VC: ViewController
203 |   /**
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:91:13: note: found this candidate
 89 |    * ```
 90 |    */
 91 |   typealias PresentationMode = ViewControllerPresentationMode
    |             `- note: found this candidate
 92 | }
 93 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController/_ViewController.swift:25:13: note: found this candidate
 23 |   typealias ObjectWillChangePublisher = ObservableObjectPublisher
 24 |
 25 |   typealias PresentationMode = ViewControllerPresentationMode
    |             `- note: found this candidate
 26 |
 27 |   // MARK: - Titles
[20/30] Compiling ViewController ViewControllerInfo.swift
[21/30] Compiling ViewController Logger.swift
[22/30] Compiling ViewController MainViewController.swift
[23/30] Compiling ViewController ViewControllerEnvironment.swift
[24/30] Compiling ViewController ViewControllerView.swift
[25/30] Compiling ViewController DebugOverlay.swift
[26/30] Compiling ViewController HierarchyView.swift
[27/30] Compiling ViewController TypeMismatchInfoView.swift
[28/30] Compiling ViewController RenderContentView.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController.swift:201:48: error: 'PresentationMode' is ambiguous for type lookup in this context
199 |    * the given mode.
200 |    */
201 |   func present<VC>(_ viewController: VC, mode: PresentationMode)
    |                                                `- error: 'PresentationMode' is ambiguous for type lookup in this context
202 |          where VC: ViewController
203 |   /**
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:91:13: note: found this candidate
 89 |    * ```
 90 |    */
 91 |   typealias PresentationMode = ViewControllerPresentationMode
    |             `- note: found this candidate
 92 | }
 93 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController/_ViewController.swift:25:13: note: found this candidate
 23 |   typealias ObjectWillChangePublisher = ObservableObjectPublisher
 24 |
 25 |   typealias PresentationMode = ViewControllerPresentationMode
    |             `- note: found this candidate
 26 |
 27 |   // MARK: - Titles
[29/30] Compiling ViewController ViewController.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController.swift:201:48: error: 'PresentationMode' is ambiguous for type lookup in this context
199 |    * the given mode.
200 |    */
201 |   func present<VC>(_ viewController: VC, mode: PresentationMode)
    |                                                `- error: 'PresentationMode' is ambiguous for type lookup in this context
202 |          where VC: ViewController
203 |   /**
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:91:13: note: found this candidate
 89 |    * ```
 90 |    */
 91 |   typealias PresentationMode = ViewControllerPresentationMode
    |             `- note: found this candidate
 92 | }
 93 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController/_ViewController.swift:25:13: note: found this candidate
 23 |   typealias ObjectWillChangePublisher = ObservableObjectPublisher
 24 |
 25 |   typealias PresentationMode = ViewControllerPresentationMode
    |             `- note: found this candidate
 26 |
 27 |   // MARK: - Titles
[30/30] Compiling ViewController Containment.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController.swift:201:48: error: 'PresentationMode' is ambiguous for type lookup in this context
199 |    * the given mode.
200 |    */
201 |   func present<VC>(_ viewController: VC, mode: PresentationMode)
    |                                                `- error: 'PresentationMode' is ambiguous for type lookup in this context
202 |          where VC: ViewController
203 |   /**
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/PresentationMode.swift:91:13: note: found this candidate
 89 |    * ```
 90 |    */
 91 |   typealias PresentationMode = ViewControllerPresentationMode
    |             `- note: found this candidate
 92 | }
 93 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewController/_ViewController.swift:25:13: note: found this candidate
 23 |   typealias ObjectWillChangePublisher = ObservableObjectPublisher
 24 |
 25 |   typealias PresentationMode = ViewControllerPresentationMode
    |             `- note: found this candidate
 26 |
 27 |   // MARK: - Titles
BUILD FAILURE 6.1 macosSpm