This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 with Swift 6.0 for macOS (SPM).

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ZeeZide/ViewController.git
Reference: develop
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ZeeZide/ViewController
 * branch            develop    -> FETCH_HEAD
 * [new branch]      develop    -> origin/develop
HEAD is now at 526dbb0 Add support for VC specific loglevel
Cloned https://github.com/ZeeZide/ViewController.git
Revision (git rev-parse @):
526dbb0a929fc73518b87a4e3d354dac8d074044
SUCCESS checkout https://github.com/ZeeZide/ViewController.git at develop
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/ZeeZide/ViewController.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
   |                  `- 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:51: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
15 |
16 | @usableFromInline
17 | struct PrintLogger {
   |        `- note: consider making struct 'PrintLogger' conform to the 'Sendable' protocol
18 |
19 |   static let logLevel : OSLogType = {
   :
49 |
50 | @usableFromInline
51 | 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: annotate 'logger' with '@MainActor' if property should only be accessed from the main actor
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | #else
/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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
    |                       `- 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: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
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 non-isolated 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 non-isolated 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: annotate 'associatedObjectToken' with '@MainActor' if property should only be accessed from the main actor
    |                 `- 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
   |                       `- 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 ViewControllerInfo.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Logger.swift:51: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
15 |
16 | @usableFromInline
17 | struct PrintLogger {
   |        `- note: consider making struct 'PrintLogger' conform to the 'Sendable' protocol
18 |
19 |   static let logLevel : OSLogType = {
   :
49 |
50 | @usableFromInline
51 | 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: annotate 'logger' with '@MainActor' if property should only be accessed from the main actor
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | #else
[5/31] Compiling ViewController Logger.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Logger.swift:51: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
15 |
16 | @usableFromInline
17 | struct PrintLogger {
   |        `- note: consider making struct 'PrintLogger' conform to the 'Sendable' protocol
18 |
19 |   static let logLevel : OSLogType = {
   :
49 |
50 | @usableFromInline
51 | 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: annotate 'logger' with '@MainActor' if property should only be accessed from the main actor
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | #else
[6/31] Compiling ViewController MainViewController.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Logger.swift:51: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
15 |
16 | @usableFromInline
17 | struct PrintLogger {
   |        `- note: consider making struct 'PrintLogger' conform to the 'Sendable' protocol
18 |
19 |   static let logLevel : OSLogType = {
   :
49 |
50 | @usableFromInline
51 | 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: annotate 'logger' with '@MainActor' if property should only be accessed from the main actor
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | #else
[7/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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
   |                       `- 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 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewControllerEnvironment.swift:79:17: warning: call to main actor-isolated initializer 'init(viewController:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
72 |    *                     View.
73 |    */
74 |   func controlled<VC: ViewController>(by viewController: VC)
   |        `- note: add '@MainActor' to make instance method 'controlled(by:)' part of global actor 'MainActor'
75 |        -> some SwiftUI.View
76 |   {
77 |     // Note: Also used internally during presentation.
78 |     self
79 |       .modifier(AutoPresentationViewModifier(viewController: viewController))
   |                 `- warning: call to main actor-isolated initializer 'init(viewController:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
80 |       .environmentObject(viewController)
81 |       .environmentObject(AnyViewController(viewController))
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/AutoPresentation.swift:18:17: note: calls to initializer 'init(viewController:)' from outside of its actor context are implicitly asynchronous
16 |  * and binds the sheet/navlink to the respective mode.
17 |  */
18 | internal struct AutoPresentationViewModifier<VC>: ViewModifier
   |                 `- note: calls to initializer 'init(viewController:)' from outside of its actor context are implicitly asynchronous
19 |                   where VC: ViewController
20 | {
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewControllerEnvironment.swift:79:17: warning: sending 'viewController' risks causing data races; this is an error in the Swift 6 language mode
77 |     // Note: Also used internally during presentation.
78 |     self
79 |       .modifier(AutoPresentationViewModifier(viewController: viewController))
   |                 |- warning: sending 'viewController' risks causing data races; this is an error in the Swift 6 language mode
   |                 `- note: sending task-isolated 'viewController' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
80 |       .environmentObject(viewController)
81 |       .environmentObject(AnyViewController(viewController))
[8/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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
   |                       `- 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 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewControllerEnvironment.swift:79:17: warning: call to main actor-isolated initializer 'init(viewController:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
72 |    *                     View.
73 |    */
74 |   func controlled<VC: ViewController>(by viewController: VC)
   |        `- note: add '@MainActor' to make instance method 'controlled(by:)' part of global actor 'MainActor'
75 |        -> some SwiftUI.View
76 |   {
77 |     // Note: Also used internally during presentation.
78 |     self
79 |       .modifier(AutoPresentationViewModifier(viewController: viewController))
   |                 `- warning: call to main actor-isolated initializer 'init(viewController:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
80 |       .environmentObject(viewController)
81 |       .environmentObject(AnyViewController(viewController))
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Presentations/AutoPresentation.swift:18:17: note: calls to initializer 'init(viewController:)' from outside of its actor context are implicitly asynchronous
16 |  * and binds the sheet/navlink to the respective mode.
17 |  */
18 | internal struct AutoPresentationViewModifier<VC>: ViewModifier
   |                 `- note: calls to initializer 'init(viewController:)' from outside of its actor context are implicitly asynchronous
19 |                   where VC: ViewController
20 | {
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/ViewControllerEnvironment.swift:79:17: warning: sending 'viewController' risks causing data races; this is an error in the Swift 6 language mode
77 |     // Note: Also used internally during presentation.
78 |     self
79 |       .modifier(AutoPresentationViewModifier(viewController: viewController))
   |                 |- warning: sending 'viewController' risks causing data races; this is an error in the Swift 6 language mode
   |                 `- note: sending task-isolated 'viewController' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
80 |       .environmentObject(viewController)
81 |       .environmentObject(AnyViewController(viewController))
[9/31] Compiling ViewController ContentView.swift
/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
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
[10/31] Compiling ViewController DefaultDescription.swift
/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
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
[11/31] Compiling ViewController RepresentedObject.swift
/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
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
[12/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
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Logger.swift:51: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
15 |
16 | @usableFromInline
17 | struct PrintLogger {
   |        `- note: consider making struct 'PrintLogger' conform to the 'Sendable' protocol
18 |
19 |   static let logLevel : OSLogType = {
   :
49 |
50 | @usableFromInline
51 | 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: annotate 'logger' with '@MainActor' if property should only be accessed from the main actor
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | #else
[13/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
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Logger.swift:51: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
15 |
16 | @usableFromInline
17 | struct PrintLogger {
   |        `- note: consider making struct 'PrintLogger' conform to the 'Sendable' protocol
18 |
19 |   static let logLevel : OSLogType = {
   :
49 |
50 | @usableFromInline
51 | 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: annotate 'logger' with '@MainActor' if property should only be accessed from the main actor
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | #else
[14/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
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Logger.swift:51: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
15 |
16 | @usableFromInline
17 | struct PrintLogger {
   |        `- note: consider making struct 'PrintLogger' conform to the 'Sendable' protocol
18 |
19 |   static let logLevel : OSLogType = {
   :
49 |
50 | @usableFromInline
51 | 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: annotate 'logger' with '@MainActor' if property should only be accessed from the main actor
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | #else
[15/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/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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
   |                  `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |     #else
24 |       @usableFromInline
[16/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/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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
   |                  `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |     #else
24 |       @usableFromInline
[17/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/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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
   |                  `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |     #else
24 |       @usableFromInline
[18/31] Compiling ViewController DebugOverlay.swift
[19/31] Compiling ViewController HierarchyView.swift
[20/31] Compiling ViewController TypeMismatchInfoView.swift
[21/31] Compiling ViewController PushLink.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Logger.swift:51: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
15 |
16 | @usableFromInline
17 | struct PrintLogger {
   |        `- note: consider making struct 'PrintLogger' conform to the 'Sendable' protocol
18 |
19 |   static let logLevel : OSLogType = {
   :
49 |
50 | @usableFromInline
51 | 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: annotate 'logger' with '@MainActor' if property should only be accessed from the main actor
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | #else
/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
[22/31] Compiling ViewController AutoPresentation.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Logger.swift:51: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
15 |
16 | @usableFromInline
17 | struct PrintLogger {
   |        `- note: consider making struct 'PrintLogger' conform to the 'Sendable' protocol
18 |
19 |   static let logLevel : OSLogType = {
   :
49 |
50 | @usableFromInline
51 | 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: annotate 'logger' with '@MainActor' if property should only be accessed from the main actor
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | #else
/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
[23/31] Compiling ViewController Presentation.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewController/Logger.swift:51: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
15 |
16 | @usableFromInline
17 | struct PrintLogger {
   |        `- note: consider making struct 'PrintLogger' conform to the 'Sendable' protocol
18 |
19 |   static let logLevel : OSLogType = {
   :
49 |
50 | @usableFromInline
51 | 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: annotate 'logger' with '@MainActor' if property should only be accessed from the main actor
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | #else
/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
[24/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 non-isolated 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 non-isolated 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: annotate 'associatedObjectToken' with '@MainActor' if property should only be accessed from the main actor
    |                 `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
192 |
193 | internal extension ViewController {
[25/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 non-isolated 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 non-isolated 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: annotate 'associatedObjectToken' with '@MainActor' if property should only be accessed from the main actor
    |                 `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
192 |
193 | internal extension ViewController {
[26/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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 99 |   }
100 |
[27/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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 99 |   }
100 |
[28/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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 99 |   }
100 |
[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
BUILD FAILURE 6.0 macosSpm
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.