Build Information
Failed to build ToastMaster, reference master (c89c08), with Swift 6.1 for tvOS using Xcode 16.3 on 11 Aug 2026 15:34:08 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme ToastMaster -destination generic/platform=tvOSBuild Log
private static var linkColor = UIColor(red: 0.35, green: 0.78, blue: 0.98, alpha: 1)
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:20:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ToastView' may have shared mutable state; this is an error in the Swift 6 language mode
public static let shared = ToastView()
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:18:14: note: class 'ToastView' does not conform to the 'Sendable' protocol
public class ToastView: NSObject, ToastProtocol {
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:20:23: note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
public static let shared = ToastView()
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:20:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let shared = ToastView()
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:45:27: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
private(set) lazy var toastContainer: UIView = {
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:53:27: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
private(set) lazy var contentStackView: UIStackView = {
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:63:27: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
private(set) lazy var textStackView: UIStackView = {
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:73:27: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
private(set) lazy var actionButton: UIButton = {
^
SwiftCompile normal arm64 Compiling\ IconConfig.swift,\ TextContentStyleConfig.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Data/Config/IconConfig.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Data/Config/TextConfig/TextContentStyleConfig.swift (in target 'ToastMaster' from project 'ToastMaster')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Data/Config/IconConfig.swift (in target 'ToastMaster' from project 'ToastMaster')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Data/Config/TextConfig/TextContentStyleConfig.swift (in target 'ToastMaster' from project 'ToastMaster')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ ToastView.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift (in target 'ToastMaster' from project 'ToastMaster')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift (in target 'ToastMaster' from project 'ToastMaster')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:20:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ToastView' may have shared mutable state; this is an error in the Swift 6 language mode
public static let shared = ToastView()
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:18:14: note: class 'ToastView' does not conform to the 'Sendable' protocol
public class ToastView: NSObject, ToastProtocol {
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:20:23: note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
public static let shared = ToastView()
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:20:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let shared = ToastView()
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:45:27: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
private(set) lazy var toastContainer: UIView = {
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:53:27: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
private(set) lazy var contentStackView: UIStackView = {
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:63:27: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
private(set) lazy var textStackView: UIStackView = {
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:73:27: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
private(set) lazy var actionButton: UIButton = {
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:100:29: warning: main actor-isolated property 'backgroundColor' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
self.toastContainer.backgroundColor = config.containerConfig.backgroundColor
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:303:66: note: mutation of this property is only permitted within the actor
@property(nullable, nonatomic,copy) UIColor *backgroundColor UI_APPEARANCE_SELECTOR; // default is nil. Can be useful with the appearance proxy on custom UIView subclasses.
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:94:17: note: add '@MainActor' to make instance method 'show(header:message:icon:actionButtonTitle:controller:buttonTapped:linkTapped:)' part of global actor 'MainActor'
public func show(header: String?, message: String?, icon: UIImage?, actionButtonTitle: String?, controller: UIViewController, buttonTapped: (() -> Void)?, linkTapped: ((String) -> Void)?) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:101:29: warning: main actor-isolated property 'layer' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
self.toastContainer.layer.cornerRadius = config.containerConfig.cornerRadius
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:154:64: note: mutation of this property is only permitted within the actor
@property(nonatomic,readonly,strong) CALayer *layer; // returns view's layer. Will always return a non-nil value. view is layer's delegate
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:94:17: note: add '@MainActor' to make instance method 'show(header:message:icon:actionButtonTitle:controller:buttonTapped:linkTapped:)' part of global actor 'MainActor'
public func show(header: String?, message: String?, icon: UIImage?, actionButtonTitle: String?, controller: UIViewController, buttonTapped: (() -> Void)?, linkTapped: ((String) -> Void)?) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:103:27: warning: call to main actor-isolated instance method 'setTitle(_:for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
self.actionButton.setTitle(actionButtonTitle, for: [])
^
UIKit.UIButton.setTitle:2:22: note: calls to instance method 'setTitle(_:for:)' from outside of its actor context are implicitly asynchronous
@MainActor open func setTitle(_ title: String?, for state: UIControl.State)}
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:94:17: note: add '@MainActor' to make instance method 'show(header:message:icon:actionButtonTitle:controller:buttonTapped:linkTapped:)' part of global actor 'MainActor'
public func show(header: String?, message: String?, icon: UIImage?, actionButtonTitle: String?, controller: UIViewController, buttonTapped: (() -> Void)?, linkTapped: ((String) -> Void)?) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:104:27: warning: main actor-isolated property 'isHidden' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
self.actionButton.isHidden = actionButtonTitle == nil
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:307:56: note: mutation of this property is only permitted within the actor
@property(nonatomic,getter=isHidden) BOOL hidden; // default is NO. doesn't check superviews
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:94:17: note: add '@MainActor' to make instance method 'show(header:message:icon:actionButtonTitle:controller:buttonTapped:linkTapped:)' part of global actor 'MainActor'
public func show(header: String?, message: String?, icon: UIImage?, actionButtonTitle: String?, controller: UIViewController, buttonTapped: (() -> Void)?, linkTapped: ((String) -> Void)?) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:123:53: warning: main actor-isolated property 'gestureRecognizers' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
if let dismissGesture = self.toastContainer.gestureRecognizers?.first(where: { $0 is UISwipeGestureRecognizer }) as? UISwipeGestureRecognizer {
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:382:78: note: property declared here
@property(nullable, nonatomic,copy) NSArray<__kindof UIGestureRecognizer *> *gestureRecognizers API_AVAILABLE(ios(3.2));
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:122:10: note: add '@MainActor' to make instance method 'setupGesture()' part of global actor 'MainActor'
func setupGesture() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:124:33: warning: call to main actor-isolated instance method 'removeGestureRecognizer' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
self.toastContainer.removeGestureRecognizer(dismissGesture)
^
UIKit.UIView.removeGestureRecognizer:3:24: note: calls to instance method 'removeGestureRecognizer' from outside of its actor context are implicitly asynchronous
@MainActor open func removeGestureRecognizer(_ gestureRecognizer: UIGestureRecognizer)}
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:122:10: note: add '@MainActor' to make instance method 'setupGesture()' part of global actor 'MainActor'
func setupGesture() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:127:30: warning: call to main actor-isolated initializer 'init(target:action:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let dismissGesture = UISwipeGestureRecognizer(target: self, action: #selector(dismissView(gesture:)))
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:40:1: note: calls to initializer 'init(target:action:)' from outside of its actor context are implicitly asynchronous
- (instancetype)initWithTarget:(nullable id)target action:(nullable SEL)action NS_DESIGNATED_INITIALIZER; // designated initializer
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:122:10: note: add '@MainActor' to make instance method 'setupGesture()' part of global actor 'MainActor'
func setupGesture() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:130:28: warning: main actor-isolated property 'direction' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
dismissGesture.direction = .up
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISwipeGestureRecognizer.h:34:56: note: mutation of this property is only permitted within the actor
@property(nonatomic) UISwipeGestureRecognizerDirection direction; // default is UISwipeGestureRecognizerDirectionRight. the desired direction of the swipe. multiple directions may be specified if they will result in the same behavior (for example, UITableView swipe delete)
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:122:10: note: add '@MainActor' to make instance method 'setupGesture()' part of global actor 'MainActor'
func setupGesture() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:132:28: warning: main actor-isolated property 'direction' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
dismissGesture.direction = .down
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISwipeGestureRecognizer.h:34:56: note: mutation of this property is only permitted within the actor
@property(nonatomic) UISwipeGestureRecognizerDirection direction; // default is UISwipeGestureRecognizerDirectionRight. the desired direction of the swipe. multiple directions may be specified if they will result in the same behavior (for example, UITableView swipe delete)
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:122:10: note: add '@MainActor' to make instance method 'setupGesture()' part of global actor 'MainActor'
func setupGesture() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:134:24: warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
dismissGesture.delegate = self
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:50:69: note: mutation of this property is only permitted within the actor
@property(nullable,nonatomic,weak) id <UIGestureRecognizerDelegate> delegate; // the gesture recognizer's delegate
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:122:10: note: add '@MainActor' to make instance method 'setupGesture()' part of global actor 'MainActor'
func setupGesture() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:135:24: warning: main actor-isolated property 'cancelsTouchesInView' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
dismissGesture.cancelsTouchesInView = false
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:57:27: note: mutation of this property is only permitted within the actor
@property(nonatomic) BOOL cancelsTouchesInView; // default is YES. causes touchesCancelled:withEvent: or pressesCancelled:withEvent: to be sent to the view for all touches or presses recognized as part of this gesture immediately before the action method is called.
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:122:10: note: add '@MainActor' to make instance method 'setupGesture()' part of global actor 'MainActor'
func setupGesture() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:137:29: warning: call to main actor-isolated instance method 'addGestureRecognizer' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
self.toastContainer.addGestureRecognizer(dismissGesture)
^
UIKit.UIView.addGestureRecognizer:3:24: note: calls to instance method 'addGestureRecognizer' from outside of its actor context are implicitly asynchronous
@MainActor open func addGestureRecognizer(_ gestureRecognizer: UIGestureRecognizer)}
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:122:10: note: add '@MainActor' to make instance method 'setupGesture()' part of global actor 'MainActor'
func setupGesture() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:138:29: warning: main actor-isolated property 'isUserInteractionEnabled' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
self.toastContainer.isUserInteractionEnabled = true
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:59: note: mutation of this property is only permitted within the actor
@property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:122:10: note: add '@MainActor' to make instance method 'setupGesture()' part of global actor 'MainActor'
func setupGesture() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:144:35: warning: main actor-isolated property 'axis' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
self.contentStackView.axis = .horizontal
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStackView.h:167:45: note: mutation of this property is only permitted within the actor
@property(nonatomic) UILayoutConstraintAxis axis;
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:141:10: note: add '@MainActor' to make instance method 'setupConstraints' part of global actor 'MainActor'
func setupConstraints(_ headerTextView: UITextView, _ header: String?, _ messageTextView: UITextView, _ message: String?, _ iconImageView: UIImageView, _ icon: UIImage?, _ controller: UIViewController) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:146:35: warning: main actor-isolated property 'axis' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
self.contentStackView.axis = .vertical
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStackView.h:167:45: note: mutation of this property is only permitted within the actor
@property(nonatomic) UILayoutConstraintAxis axis;
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:141:10: note: add '@MainActor' to make instance method 'setupConstraints' part of global actor 'MainActor'
func setupConstraints(_ headerTextView: UITextView, _ header: String?, _ messageTextView: UITextView, _ message: String?, _ iconImageView: UIImageView, _ icon: UIImage?, _ controller: UIViewController) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:150:29: warning: main actor-isolated property 'subviews' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
self.toastContainer.subviews.forEach({ $0.removeFromSuperview() })
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:222:64: note: property declared here
@property(nonatomic,readonly,copy) NSArray<__kindof UIView *> *subviews;
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:141:10: note: add '@MainActor' to make instance method 'setupConstraints' part of global actor 'MainActor'
func setupConstraints(_ headerTextView: UITextView, _ header: String?, _ messageTextView: UITextView, _ message: String?, _ iconImageView: UIImageView, _ icon: UIImage?, _ controller: UIViewController) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:150:51: warning: call to main actor-isolated instance method 'removeFromSuperview()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
self.toastContainer.subviews.forEach({ $0.removeFromSuperview() })
^
UIKit.UIView.removeFromSuperview:2:22: note: calls to instance method 'removeFromSuperview()' from outside of its actor context are implicitly asynchronous
@MainActor open func removeFromSuperview()}
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:151:31: warning: main actor-isolated property 'arrangedSubviews' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
self.contentStackView.arrangedSubviews.forEach({ $0.removeFromSuperview() })
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStackView.h:139:64: note: property declared here
@property(nonatomic,readonly,copy) NSArray<__kindof UIView *> *arrangedSubviews;
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:141:10: note: add '@MainActor' to make instance method 'setupConstraints' part of global actor 'MainActor'
func setupConstraints(_ headerTextView: UITextView, _ header: String?, _ messageTextView: UITextView, _ message: String?, _ iconImageView: UIImageView, _ icon: UIImage?, _ controller: UIViewController) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:151:61: warning: call to main actor-isolated instance method 'removeFromSuperview()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
self.contentStackView.arrangedSubviews.forEach({ $0.removeFromSuperview() })
^
UIKit.UIView.removeFromSuperview:2:22: note: calls to instance method 'removeFromSuperview()' from outside of its actor context are implicitly asynchronous
@MainActor open func removeFromSuperview()}
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:152:28: warning: main actor-isolated property 'arrangedSubviews' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
self.textStackView.arrangedSubviews.forEach({ $0.removeFromSuperview() })
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStackView.h:139:64: note: property declared here
@property(nonatomic,readonly,copy) NSArray<__kindof UIView *> *arrangedSubviews;
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:141:10: note: add '@MainActor' to make instance method 'setupConstraints' part of global actor 'MainActor'
func setupConstraints(_ headerTextView: UITextView, _ header: String?, _ messageTextView: UITextView, _ message: String?, _ iconImageView: UIImageView, _ icon: UIImage?, _ controller: UIViewController) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:152:58: warning: call to main actor-isolated instance method 'removeFromSuperview()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
self.textStackView.arrangedSubviews.forEach({ $0.removeFromSuperview() })
^
UIKit.UIView.removeFromSuperview:2:22: note: calls to instance method 'removeFromSuperview()' from outside of its actor context are implicitly asynchronous
@MainActor open func removeFromSuperview()}
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:154:28: warning: call to main actor-isolated instance method 'addArrangedSubview' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
self.textStackView.addArrangedSubview(headerTextView)
^
UIKit.UIStackView.addArrangedSubview:2:22: note: calls to instance method 'addArrangedSubview' from outside of its actor context are implicitly asynchronous
@MainActor open func addArrangedSubview(_ view: UIView)}
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:141:10: note: add '@MainActor' to make instance method 'setupConstraints' part of global actor 'MainActor'
func setupConstraints(_ headerTextView: UITextView, _ header: String?, _ messageTextView: UITextView, _ message: String?, _ iconImageView: UIImageView, _ icon: UIImage?, _ controller: UIViewController) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:155:24: warning: main actor-isolated property 'isHidden' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
headerTextView.isHidden = header == nil
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:307:56: note: mutation of this property is only permitted within the actor
@property(nonatomic,getter=isHidden) BOOL hidden; // default is NO. doesn't check superviews
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:141:10: note: add '@MainActor' to make instance method 'setupConstraints' part of global actor 'MainActor'
func setupConstraints(_ headerTextView: UITextView, _ header: String?, _ messageTextView: UITextView, _ message: String?, _ iconImageView: UIImageView, _ icon: UIImage?, _ controller: UIViewController) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:157:28: warning: call to main actor-isolated instance method 'addArrangedSubview' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
self.textStackView.addArrangedSubview(messageTextView)
^
UIKit.UIStackView.addArrangedSubview:2:22: note: calls to instance method 'addArrangedSubview' from outside of its actor context are implicitly asynchronous
@MainActor open func addArrangedSubview(_ view: UIView)}
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:141:10: note: add '@MainActor' to make instance method 'setupConstraints' part of global actor 'MainActor'
func setupConstraints(_ headerTextView: UITextView, _ header: String?, _ messageTextView: UITextView, _ message: String?, _ iconImageView: UIImageView, _ icon: UIImage?, _ controller: UIViewController) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:158:25: warning: main actor-isolated property 'isHidden' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
messageTextView.isHidden = message == nil
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:307:56: note: mutation of this property is only permitted within the actor
@property(nonatomic,getter=isHidden) BOOL hidden; // default is NO. doesn't check superviews
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:141:10: note: add '@MainActor' to make instance method 'setupConstraints' part of global actor 'MainActor'
func setupConstraints(_ headerTextView: UITextView, _ header: String?, _ messageTextView: UITextView, _ message: String?, _ iconImageView: UIImageView, _ icon: UIImage?, _ controller: UIViewController) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:159:23: warning: main actor-isolated property 'isHidden' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
iconImageView.isHidden = icon == nil
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:307:56: note: mutation of this property is only permitted within the actor
@property(nonatomic,getter=isHidden) BOOL hidden; // default is NO. doesn't check superviews
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:141:10: note: add '@MainActor' to make instance method 'setupConstraints' part of global actor 'MainActor'
func setupConstraints(_ headerTextView: UITextView, _ header: String?, _ messageTextView: UITextView, _ message: String?, _ iconImageView: UIImageView, _ icon: UIImage?, _ controller: UIViewController) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:161:26: warning: main actor-isolated property 'alignment' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
contentStackView.alignment = config.layout == .vertical ? .leading : .center
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStackView.h:176:43: note: mutation of this property is only permitted within the actor
@property(nonatomic) UIStackViewAlignment alignment;
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:141:10: note: add '@MainActor' to make instance method 'setupConstraints' part of global actor 'MainActor'
func setupConstraints(_ headerTextView: UITextView, _ header: String?, _ messageTextView: UITextView, _ message: String?, _ iconImageView: UIImageView, _ icon: UIImage?, _ controller: UIViewController) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:163:31: warning: call to main actor-isolated instance method 'addArrangedSubview' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
self.contentStackView.addArrangedSubview(self.textStackView)
^
UIKit.UIStackView.addArrangedSubview:2:22: note: calls to instance method 'addArrangedSubview' from outside of its actor context are implicitly asynchronous
@MainActor open func addArrangedSubview(_ view: UIView)}
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:141:10: note: add '@MainActor' to make instance method 'setupConstraints' part of global actor 'MainActor'
func setupConstraints(_ headerTextView: UITextView, _ header: String?, _ messageTextView: UITextView, _ message: String?, _ iconImageView: UIImageView, _ icon: UIImage?, _ controller: UIViewController) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:164:31: warning: call to main actor-isolated instance method 'addArrangedSubview' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
self.contentStackView.addArrangedSubview(actionButton)
^
UIKit.UIStackView.addArrangedSubview:2:22: note: calls to instance method 'addArrangedSubview' from outside of its actor context are implicitly asynchronous
@MainActor open func addArrangedSubview(_ view: UIView)}
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:141:10: note: add '@MainActor' to make instance method 'setupConstraints' part of global actor 'MainActor'
func setupConstraints(_ headerTextView: UITextView, _ header: String?, _ messageTextView: UITextView, _ message: String?, _ iconImageView: UIImageView, _ icon: UIImage?, _ controller: UIViewController) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:166:24: warning: call to main actor-isolated instance method 'addSubview' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
toastContainer.addSubview(iconImageView)
^
UIKit.UIView.addSubview:2:22: note: calls to instance method 'addSubview' from outside of its actor context are implicitly asynchronous
@MainActor open func addSubview(_ view: UIView)}
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:141:10: note: add '@MainActor' to make instance method 'setupConstraints' part of global actor 'MainActor'
func setupConstraints(_ headerTextView: UITextView, _ header: String?, _ messageTextView: UITextView, _ message: String?, _ iconImageView: UIImageView, _ icon: UIImage?, _ controller: UIViewController) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:167:24: warning: call to main actor-isolated instance method 'addSubview' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
toastContainer.addSubview(self.contentStackView)
^
UIKit.UIView.addSubview:2:22: note: calls to instance method 'addSubview' from outside of its actor context are implicitly asynchronous
@MainActor open func addSubview(_ view: UIView)}
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:141:10: note: add '@MainActor' to make instance method 'setupConstraints' part of global actor 'MainActor'
func setupConstraints(_ headerTextView: UITextView, _ header: String?, _ messageTextView: UITextView, _ message: String?, _ iconImageView: UIImageView, _ icon: UIImage?, _ controller: UIViewController) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:168:25: warning: call to main actor-isolated instance method 'addSubview' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
controller.view.addSubview(toastContainer)
^
UIKit.UIView.addSubview:2:22: note: calls to instance method 'addSubview' from outside of its actor context are implicitly asynchronous
@MainActor open func addSubview(_ view: UIView)}
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:141:10: note: add '@MainActor' to make instance method 'setupConstraints' part of global actor 'MainActor'
func setupConstraints(_ headerTextView: UITextView, _ header: String?, _ messageTextView: UITextView, _ message: String?, _ iconImageView: UIImageView, _ icon: UIImage?, _ controller: UIViewController) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:168:20: warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
controller.view.addSubview(toastContainer)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:116:54: note: property declared here
@property(null_resettable, nonatomic,strong) UIView *view; // The getter first invokes [self loadView] if the view hasn't been set yet. Subclasses must call super if they override the setter or getter.
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:141:10: note: add '@MainActor' to make instance method 'setupConstraints' part of global actor 'MainActor'
func setupConstraints(_ headerTextView: UITextView, _ header: String?, _ messageTextView: UITextView, _ message: String?, _ iconImageView: UIImageView, _ icon: UIImage?, _ controller: UIViewController) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:170:24: warning: main actor-isolated property 'translatesAutoresizingMaskIntoConstraints' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
toastContainer.translatesAutoresizingMaskIntoConstraints = false
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:464:27: note: mutation of this property is only permitted within the actor
@property(nonatomic) BOOL translatesAutoresizingMaskIntoConstraints API_AVAILABLE(ios(6.0)); // Default YES
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:141:10: note: add '@MainActor' to make instance method 'setupConstraints' part of global actor 'MainActor'
func setupConstraints(_ headerTextView: UITextView, _ header: String?, _ messageTextView: UITextView, _ message: String?, _ iconImageView: UIImageView, _ icon: UIImage?, _ controller: UIViewController) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:171:23: warning: main actor-isolated property 'translatesAutoresizingMaskIntoConstraints' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
iconImageView.translatesAutoresizingMaskIntoConstraints = false
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:464:27: note: mutation of this property is only permitted within the actor
@property(nonatomic) BOOL translatesAutoresizingMaskIntoConstraints API_AVAILABLE(ios(6.0)); // Default YES
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:141:10: note: add '@MainActor' to make instance method 'setupConstraints' part of global actor 'MainActor'
func setupConstraints(_ headerTextView: UITextView, _ header: String?, _ messageTextView: UITextView, _ message: String?, _ iconImageView: UIImageView, _ icon: UIImage?, _ controller: UIViewController) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:172:31: warning: main actor-isolated property 'translatesAutoresizingMaskIntoConstraints' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
self.contentStackView.translatesAutoresizingMaskIntoConstraints = false
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:464:27: note: mutation of this property is only permitted within the actor
@property(nonatomic) BOOL translatesAutoresizingMaskIntoConstraints API_AVAILABLE(ios(6.0)); // Default YES
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:141:10: note: add '@MainActor' to make instance method 'setupConstraints' part of global actor 'MainActor'
func setupConstraints(_ headerTextView: UITextView, _ header: String?, _ messageTextView: UITextView, _ message: String?, _ iconImageView: UIImageView, _ icon: UIImage?, _ controller: UIViewController) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:190:28: warning: call to main actor-isolated class method 'activate' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
NSLayoutConstraint.activate([
^
UIKit.NSLayoutConstraint.activate:3:30: note: calls to class method 'activate' from outside of its actor context are implicitly asynchronous
@MainActor open class func activate(_ constraints: [NSLayoutConstraint])}
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:141:10: note: add '@MainActor' to make instance method 'setupConstraints' part of global actor 'MainActor'
func setupConstraints(_ headerTextView: UITextView, _ header: String?, _ messageTextView: UITextView, _ message: String?, _ iconImageView: UIImageView, _ icon: UIImage?, _ controller: UIViewController) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:191:42: warning: call to main actor-isolated instance method 'constraint(equalTo:constant:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
toastContainer.leadingAnchor.constraint(equalTo: controller.view.safeAreaLayoutGuide.leadingAnchor, constant: self.config.containerConfig.insets.left),
^
UIKit.NSLayoutAnchor.constraint:2:22: note: calls to instance method 'constraint(equalTo:constant:)' from outside of its actor context are implicitly asynchronous
@MainActor open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>, constant c: CGFloat) -> NSLayoutConstraint}
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:141:10: note: add '@MainActor' to make instance method 'setupConstraints' part of global actor 'MainActor'
func setupConstraints(_ headerTextView: UITextView, _ header: String?, _ messageTextView: UITextView, _ message: String?, _ iconImageView: UIImageView, _ icon: UIImage?, _ controller: UIViewController) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:191:28: warning: main actor-isolated property 'leadingAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
toastContainer.leadingAnchor.constraint(equalTo: controller.view.safeAreaLayoutGuide.leadingAnchor, constant: self.config.containerConfig.insets.left),
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:572:59: note: property declared here
@property(nonatomic,readonly,strong) NSLayoutXAxisAnchor *leadingAnchor API_AVAILABLE(ios(9.0));
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:141:10: note: add '@MainActor' to make instance method 'setupConstraints' part of global actor 'MainActor'
func setupConstraints(_ headerTextView: UITextView, _ header: String?, _ messageTextView: UITextView, _ message: String?, _ iconImageView: UIImageView, _ icon: UIImage?, _ controller: UIViewController) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:191:98: warning: main actor-isolated property 'leadingAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
toastContainer.leadingAnchor.constraint(equalTo: controller.view.safeAreaLayoutGuide.leadingAnchor, constant: self.config.containerConfig.insets.left),
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILayoutGuide.h:46:59: note: property declared here
@property(nonatomic,readonly,strong) NSLayoutXAxisAnchor *leadingAnchor;
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:141:10: note: add '@MainActor' to make instance method 'setupConstraints' part of global actor 'MainActor'
func setupConstraints(_ headerTextView: UITextView, _ header: String?, _ messageTextView: UITextView, _ message: String?, _ iconImageView: UIImageView, _ icon: UIImage?, _ controller: UIViewController) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:191:78: warning: main actor-isolated property 'safeAreaLayoutGuide' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
toastContainer.leadingAnchor.constraint(equalTo: controller.view.safeAreaLayoutGuide.leadingAnchor, constant: self.config.containerConfig.insets.left),
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:288:53: note: property declared here
@property(nonatomic,readonly,strong) UILayoutGuide *safeAreaLayoutGuide API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:141:10: note: add '@MainActor' to make instance method 'setupConstraints' part of global actor 'MainActor'
func setupConstraints(_ headerTextView: UITextView, _ header: String?, _ messageTextView: UITextView, _ message: String?, _ iconImageView: UIImageView, _ icon: UIImage?, _ controller: UIViewController) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:191:73: warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
toastContainer.leadingAnchor.constraint(equalTo: controller.view.safeAreaLayoutGuide.leadingAnchor, constant: self.config.containerConfig.insets.left),
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:116:54: note: property declared here
@property(null_resettable, nonatomic,strong) UIView *view; // The getter first invokes [self loadView] if the view hasn't been set yet. Subclasses must call super if they override the setter or getter.
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:141:10: note: add '@MainActor' to make instance method 'setupConstraints' part of global actor 'MainActor'
func setupConstraints(_ headerTextView: UITextView, _ header: String?, _ messageTextView: UITextView, _ message: String?, _ iconImageView: UIImageView, _ icon: UIImage?, _ controller: UIViewController) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:192:43: warning: call to main actor-isolated instance method 'constraint(equalTo:constant:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
toastContainer.trailingAnchor.constraint(equalTo: controller.view.safeAreaLayoutGuide.trailingAnchor, constant: self.config.containerConfig.insets.right),
^
UIKit.NSLayoutAnchor.constraint:2:22: note: calls to instance method 'constraint(equalTo:constant:)' from outside of its actor context are implicitly asynchronous
@MainActor open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>, constant c: CGFloat) -> NSLayoutConstraint}
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:141:10: note: add '@MainActor' to make instance method 'setupConstraints' part of global actor 'MainActor'
func setupConstraints(_ headerTextView: UITextView, _ header: String?, _ messageTextView: UITextView, _ message: String?, _ iconImageView: UIImageView, _ icon: UIImage?, _ controller: UIViewController) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:192:28: warning: main actor-isolated property 'trailingAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
toastContainer.trailingAnchor.constraint(equalTo: controller.view.safeAreaLayoutGuide.trailingAnchor, constant: self.config.containerConfig.insets.right),
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:573:59: note: property declared here
@property(nonatomic,readonly,strong) NSLayoutXAxisAnchor *trailingAnchor API_AVAILABLE(ios(9.0));
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:141:10: note: add '@MainActor' to make instance method 'setupConstraints' part of global actor 'MainActor'
func setupConstraints(_ headerTextView: UITextView, _ header: String?, _ messageTextView: UITextView, _ message: String?, _ iconImageView: UIImageView, _ icon: UIImage?, _ controller: UIViewController) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:192:99: warning: main actor-isolated property 'trailingAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
toastContainer.trailingAnchor.constraint(equalTo: controller.view.safeAreaLayoutGuide.trailingAnchor, constant: self.config.containerConfig.insets.right),
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILayoutGuide.h:47:59: note: property declared here
@property(nonatomic,readonly,strong) NSLayoutXAxisAnchor *trailingAnchor;
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:141:10: note: add '@MainActor' to make instance method 'setupConstraints' part of global actor 'MainActor'
func setupConstraints(_ headerTextView: UITextView, _ header: String?, _ messageTextView: UITextView, _ message: String?, _ iconImageView: UIImageView, _ icon: UIImage?, _ controller: UIViewController) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:192:79: warning: main actor-isolated property 'safeAreaLayoutGuide' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
toastContainer.trailingAnchor.constraint(equalTo: controller.view.safeAreaLayoutGuide.trailingAnchor, constant: self.config.containerConfig.insets.right),
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:288:53: note: property declared here
@property(nonatomic,readonly,strong) UILayoutGuide *safeAreaLayoutGuide API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:141:10: note: add '@MainActor' to make instance method 'setupConstraints' part of global actor 'MainActor'
func setupConstraints(_ headerTextView: UITextView, _ header: String?, _ messageTextView: UITextView, _ message: String?, _ iconImageView: UIImageView, _ icon: UIImage?, _ controller: UIViewController) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:192:74: warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
toastContainer.trailingAnchor.constraint(equalTo: controller.view.safeAreaLayoutGuide.trailingAnchor, constant: self.config.containerConfig.insets.right),
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:116:54: note: property declared here
@property(null_resettable, nonatomic,strong) UIView *view; // The getter first invokes [self loadView] if the view hasn't been set yet. Subclasses must call super if they override the setter or getter.
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:141:10: note: add '@MainActor' to make instance method 'setupConstraints' part of global actor 'MainActor'
func setupConstraints(_ headerTextView: UITextView, _ header: String?, _ messageTextView: UITextView, _ message: String?, _ iconImageView: UIImageView, _ icon: UIImage?, _ controller: UIViewController) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:195:41: warning: call to main actor-isolated instance method 'constraint(equalTo:constant:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
iconImageView.leadingAnchor.constraint(equalTo: toastContainer.leadingAnchor, constant: 16),
^
UIKit.NSLayoutAnchor.constraint:2:22: note: calls to instance method 'constraint(equalTo:constant:)' from outside of its actor context are implicitly asynchronous
@MainActor open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>, constant c: CGFloat) -> NSLayoutConstraint}
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:141:10: note: add '@MainActor' to make instance method 'setupConstraints' part of global actor 'MainActor'
func setupConstraints(_ headerTextView: UITextView, _ header: String?, _ messageTextView: UITextView, _ message: String?, _ iconImageView: UIImageView, _ icon: UIImage?, _ controller: UIViewController) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:195:27: warning: main actor-isolated property 'leadingAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
iconImageView.leadingAnchor.constraint(equalTo: toastContainer.leadingAnchor, constant: 16),
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:572:59: note: property declared here
@property(nonatomic,readonly,strong) NSLayoutXAxisAnchor *leadingAnchor API_AVAILABLE(ios(9.0));
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:141:10: note: add '@MainActor' to make instance method 'setupConstraints' part of global actor 'MainActor'
func setupConstraints(_ headerTextView: UITextView, _ header: String?, _ messageTextView: UITextView, _ message: String?, _ iconImageView: UIImageView, _ icon: UIImage?, _ controller: UIViewController) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:195:76: warning: main actor-isolated property 'leadingAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
iconImageView.leadingAnchor.constraint(equalTo: toastContainer.leadingAnchor, constant: 16),
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:572:59: note: property declared here
@property(nonatomic,readonly,strong) NSLayoutXAxisAnchor *leadingAnchor API_AVAILABLE(ios(9.0));
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:141:10: note: add '@MainActor' to make instance method 'setupConstraints' part of global actor 'MainActor'
func setupConstraints(_ headerTextView: UITextView, _ header: String?, _ messageTextView: UITextView, _ message: String?, _ iconImageView: UIImageView, _ icon: UIImage?, _ controller: UIViewController) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:196:41: warning: call to main actor-isolated instance method 'constraint(equalTo:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
iconImageView.centerYAnchor.constraint(equalTo: toastContainer.centerYAnchor),
^
UIKit.NSLayoutAnchor.constraint:2:22: note: calls to instance method 'constraint(equalTo:)' from outside of its actor context are implicitly asynchronous
@MainActor open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint}
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:141:10: note: add '@MainActor' to make instance method 'setupConstraints' part of global actor 'MainActor'
func setupConstraints(_ headerTextView: UITextView, _ header: String?, _ messageTextView: UITextView, _ message: String?, _ iconImageView: UIImageView, _ icon: UIImage?, _ controller: UIViewController) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:196:27: warning: main actor-isolated property 'centerYAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
iconImageView.centerYAnchor.constraint(equalTo: toastContainer.centerYAnchor),
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:581:59: note: property declared here
@property(nonatomic,readonly,strong) NSLayoutYAxisAnchor *centerYAnchor API_AVAILABLE(ios(9.0));
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:141:10: note: add '@MainActor' to make instance method 'setupConstraints' part of global actor 'MainActor'
func setupConstraints(_ headerTextView: UITextView, _ header: String?, _ messageTextView: UITextView, _ message: String?, _ iconImageView: UIImageView, _ icon: UIImage?, _ controller: UIViewController) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:196:76: warning: main actor-isolated property 'centerYAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
iconImageView.centerYAnchor.constraint(equalTo: toastContainer.centerYAnchor),
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:581:59: note: property declared here
@property(nonatomic,readonly,strong) NSLayoutYAxisAnchor *centerYAnchor API_AVAILABLE(ios(9.0));
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:141:10: note: add '@MainActor' to make instance method 'setupConstraints' part of global actor 'MainActor'
func setupConstraints(_ headerTextView: UITextView, _ header: String?, _ messageTextView: UITextView, _ message: String?, _ iconImageView: UIImageView, _ icon: UIImage?, _ controller: UIViewController) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:197:39: warning: call to main actor-isolated instance method 'constraint(equalToConstant:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
iconImageView.widthAnchor.constraint(equalToConstant: icon != nil ? config.iconConfig.size.width : 0),
^
UIKit.NSLayoutDimension.constraint:2:22: note: calls to instance method 'constraint(equalToConstant:)' from outside of its actor context are implicitly asynchronous
@MainActor open func constraint(equalToConstant c: CGFloat) -> NSLayoutConstraint}
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:141:10: note: add '@MainActor' to make instance method 'setupConstraints' part of global actor 'MainActor'
func setupConstraints(_ headerTextView: UITextView, _ header: String?, _ messageTextView: UITextView, _ message: String?, _ iconImageView: UIImageView, _ icon: UIImage?, _ controller: UIViewController) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:197:27: warning: main actor-isolated property 'widthAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
iconImageView.widthAnchor.constraint(equalToConstant: icon != nil ? config.iconConfig.size.width : 0),
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:578:57: note: property declared here
@property(nonatomic,readonly,strong) NSLayoutDimension *widthAnchor API_AVAILABLE(ios(9.0));
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:141:10: note: add '@MainActor' to make instance method 'setupConstraints' part of global actor 'MainActor'
func setupConstraints(_ headerTextView: UITextView, _ header: String?, _ messageTextView: UITextView, _ message: String?, _ iconImageView: UIImageView, _ icon: UIImage?, _ controller: UIViewController) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:198:40: warning: call to main actor-isolated instance method 'constraint(equalToConstant:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
iconImageView.heightAnchor.constraint(equalToConstant: icon != nil ? config.iconConfig.size.height : 0),
^
UIKit.NSLayoutDimension.constraint:2:22: note: calls to instance method 'constraint(equalToConstant:)' from outside of its actor context are implicitly asynchronous
@MainActor open func constraint(equalToConstant c: CGFloat) -> NSLayoutConstraint}
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:141:10: note: add '@MainActor' to make instance method 'setupConstraints' part of global actor 'MainActor'
func setupConstraints(_ headerTextView: UITextView, _ header: String?, _ messageTextView: UITextView, _ message: String?, _ iconImageView: UIImageView, _ icon: UIImage?, _ controller: UIViewController) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:198:27: warning: main actor-isolated property 'heightAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
iconImageView.heightAnchor.constraint(equalToConstant: icon != nil ? config.iconConfig.size.height : 0),
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:579:57: note: property declared here
@property(nonatomic,readonly,strong) NSLayoutDimension *heightAnchor API_AVAILABLE(ios(9.0));
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:141:10: note: add '@MainActor' to make instance method 'setupConstraints' part of global actor 'MainActor'
func setupConstraints(_ headerTextView: UITextView, _ header: String?, _ messageTextView: UITextView, _ message: String?, _ iconImageView: UIImageView, _ icon: UIImage?, _ controller: UIViewController) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:200:45: warning: call to main actor-isolated instance method 'constraint(greaterThanOrEqualTo:constant:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
self.contentStackView.topAnchor.constraint(greaterThanOrEqualTo: toastContainer.topAnchor, constant: 9),
^
UIKit.NSLayoutAnchor.constraint:2:22: note: calls to instance method 'constraint(greaterThanOrEqualTo:constant:)' from outside of its actor context are implicitly asynchronous
@MainActor open func constraint(greaterThanOrEqualTo anchor: NSLayoutAnchor<AnchorType>, constant c: CGFloat) -> NSLayoutConstraint}
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:141:10: note: add '@MainActor' to make instance method 'setupConstraints' part of global actor 'MainActor'
func setupConstraints(_ headerTextView: UITextView, _ header: String?, _ messageTextView: UITextView, _ message: String?, _ iconImageView: UIImageView, _ icon: UIImage?, _ controller: UIViewController) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:200:35: warning: main actor-isolated property 'topAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
self.contentStackView.topAnchor.constraint(greaterThanOrEqualTo: toastContainer.topAnchor, constant: 9),
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:576:59: note: property declared here
@property(nonatomic,readonly,strong) NSLayoutYAxisAnchor *topAnchor API_AVAILABLE(ios(9.0));
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:141:10: note: add '@MainActor' to make instance method 'setupConstraints' part of global actor 'MainActor'
func setupConstraints(_ headerTextView: UITextView, _ header: String?, _ messageTextView: UITextView, _ message: String?, _ iconImageView: UIImageView, _ icon: UIImage?, _ controller: UIViewController) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:200:93: warning: main actor-isolated property 'topAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
self.contentStackView.topAnchor.constraint(greaterThanOrEqualTo: toastContainer.topAnchor, constant: 9),
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:576:59: note: property declared here
@property(nonatomic,readonly,strong) NSLayoutYAxisAnchor *topAnchor API_AVAILABLE(ios(9.0));
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:141:10: note: add '@MainActor' to make instance method 'setupConstraints' part of global actor 'MainActor'
func setupConstraints(_ headerTextView: UITextView, _ header: String?, _ messageTextView: UITextView, _ message: String?, _ iconImageView: UIImageView, _ icon: UIImage?, _ controller: UIViewController) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:201:48: warning: call to main actor-isolated instance method 'constraint(greaterThanOrEqualTo:constant:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
self.contentStackView.bottomAnchor.constraint(greaterThanOrEqualTo: toastContainer.bottomAnchor, constant: -9),
^
UIKit.NSLayoutAnchor.constraint:2:22: note: calls to instance method 'constraint(greaterThanOrEqualTo:constant:)' from outside of its actor context are implicitly asynchronous
@MainActor open func constraint(greaterThanOrEqualTo anchor: NSLayoutAnchor<AnchorType>, constant c: CGFloat) -> NSLayoutConstraint}
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:141:10: note: add '@MainActor' to make instance method 'setupConstraints' part of global actor 'MainActor'
func setupConstraints(_ headerTextView: UITextView, _ header: String?, _ messageTextView: UITextView, _ message: String?, _ iconImageView: UIImageView, _ icon: UIImage?, _ controller: UIViewController) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:201:35: warning: main actor-isolated property 'bottomAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
self.contentStackView.bottomAnchor.constraint(greaterThanOrEqualTo: toastContainer.bottomAnchor, constant: -9),
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:577:59: note: property declared here
@property(nonatomic,readonly,strong) NSLayoutYAxisAnchor *bottomAnchor API_AVAILABLE(ios(9.0));
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:141:10: note: add '@MainActor' to make instance method 'setupConstraints' part of global actor 'MainActor'
func setupConstraints(_ headerTextView: UITextView, _ header: String?, _ messageTextView: UITextView, _ message: String?, _ iconImageView: UIImageView, _ icon: UIImage?, _ controller: UIViewController) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:201:96: warning: main actor-isolated property 'bottomAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
self.contentStackView.bottomAnchor.constraint(greaterThanOrEqualTo: toastContainer.bottomAnchor, constant: -9),
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:577:59: note: property declared here
@property(nonatomic,readonly,strong) NSLayoutYAxisAnchor *bottomAnchor API_AVAILABLE(ios(9.0));
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:141:10: note: add '@MainActor' to make instance method 'setupConstraints' part of global actor 'MainActor'
func setupConstraints(_ headerTextView: UITextView, _ header: String?, _ messageTextView: UITextView, _ message: String?, _ iconImageView: UIImageView, _ icon: UIImage?, _ controller: UIViewController) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:202:49: warning: call to main actor-isolated instance method 'constraint(equalTo:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
self.contentStackView.centerYAnchor.constraint(equalTo: toastContainer.centerYAnchor),
^
UIKit.NSLayoutAnchor.constraint:2:22: note: calls to instance method 'constraint(equalTo:)' from outside of its actor context are implicitly asynchronous
@MainActor open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint}
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:141:10: note: add '@MainActor' to make instance method 'setupConstraints' part of global actor 'MainActor'
func setupConstraints(_ headerTextView: UITextView, _ header: String?, _ messageTextView: UITextView, _ message: String?, _ iconImageView: UIImageView, _ icon: UIImage?, _ controller: UIViewController) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:202:35: warning: main actor-isolated property 'centerYAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
self.contentStackView.centerYAnchor.constraint(equalTo: toastContainer.centerYAnchor),
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:581:59: note: property declared here
@property(nonatomic,readonly,strong) NSLayoutYAxisAnchor *centerYAnchor API_AVAILABLE(ios(9.0));
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:141:10: note: add '@MainActor' to make instance method 'setupConstraints' part of global actor 'MainActor'
func setupConstraints(_ headerTextView: UITextView, _ header: String?, _ messageTextView: UITextView, _ message: String?, _ iconImageView: UIImageView, _ icon: UIImage?, _ controller: UIViewController) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:202:84: warning: main actor-isolated property 'centerYAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
self.contentStackView.centerYAnchor.constraint(equalTo: toastContainer.centerYAnchor),
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:581:59: note: property declared here
@property(nonatomic,readonly,strong) NSLayoutYAxisAnchor *centerYAnchor API_AVAILABLE(ios(9.0));
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:141:10: note: add '@MainActor' to make instance method 'setupConstraints' part of global actor 'MainActor'
func setupConstraints(_ headerTextView: UITextView, _ header: String?, _ messageTextView: UITextView, _ message: String?, _ iconImageView: UIImageView, _ icon: UIImage?, _ controller: UIViewController) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:203:50: warning: call to main actor-isolated instance method 'constraint(equalTo:constant:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
self.contentStackView.trailingAnchor.constraint(equalTo: toastContainer.trailingAnchor, constant: -16),
^
UIKit.NSLayoutAnchor.constraint:2:22: note: calls to instance method 'constraint(equalTo:constant:)' from outside of its actor context are implicitly asynchronous
@MainActor open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>, constant c: CGFloat) -> NSLayoutConstraint}
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:141:10: note: add '@MainActor' to make instance method 'setupConstraints' part of global actor 'MainActor'
func setupConstraints(_ headerTextView: UITextView, _ header: String?, _ messageTextView: UITextView, _ message: String?, _ iconImageView: UIImageView, _ icon: UIImage?, _ controller: UIViewController) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:203:35: warning: main actor-isolated property 'trailingAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
self.contentStackView.trailingAnchor.constraint(equalTo: toastContainer.trailingAnchor, constant: -16),
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:573:59: note: property declared here
@property(nonatomic,readonly,strong) NSLayoutXAxisAnchor *trailingAnchor API_AVAILABLE(ios(9.0));
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:141:10: note: add '@MainActor' to make instance method 'setupConstraints' part of global actor 'MainActor'
func setupConstraints(_ headerTextView: UITextView, _ header: String?, _ messageTextView: UITextView, _ message: String?, _ iconImageView: UIImageView, _ icon: UIImage?, _ controller: UIViewController) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:203:85: warning: main actor-isolated property 'trailingAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
self.contentStackView.trailingAnchor.constraint(equalTo: toastContainer.trailingAnchor, constant: -16),
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:573:59: note: property declared here
@property(nonatomic,readonly,strong) NSLayoutXAxisAnchor *trailingAnchor API_AVAILABLE(ios(9.0));
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:141:10: note: add '@MainActor' to make instance method 'setupConstraints' part of global actor 'MainActor'
func setupConstraints(_ headerTextView: UITextView, _ header: String?, _ messageTextView: UITextView, _ message: String?, _ iconImageView: UIImageView, _ icon: UIImage?, _ controller: UIViewController) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:212:26: warning: call to main actor-isolated initializer 'init(style:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let blurEffect = UIBlurEffect(style: self.config.containerConfig.blurStyle ?? .dark)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBlurEffect.h:63:1: note: calls to initializer 'init(style:)' from outside of its actor context are implicitly asynchronous
+ (UIBlurEffect *)effectWithStyle:(UIBlurEffectStyle)style;
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:208:10: note: add '@MainActor' to make instance method 'setupBlurIfNeeded()' part of global actor 'MainActor'
func setupBlurIfNeeded() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:213:24: warning: call to main actor-isolated initializer 'init(effect:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let blurView = UIVisualEffectView(effect: blurEffect)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVisualEffectView.h:34:1: note: calls to initializer 'init(effect:)' from outside of its actor context are implicitly asynchronous
- (instancetype)initWithEffect:(nullable UIVisualEffect *)effect NS_DESIGNATED_INITIALIZER;
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:208:10: note: add '@MainActor' to make instance method 'setupBlurIfNeeded()' part of global actor 'MainActor'
func setupBlurIfNeeded() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:214:18: warning: main actor-isolated property 'frame' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
blurView.frame = self.toastContainer.bounds
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:185:40: note: mutation of this property is only permitted within the actor
@property(nonatomic) CGRect frame;
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:208:10: note: add '@MainActor' to make instance method 'setupBlurIfNeeded()' part of global actor 'MainActor'
func setupBlurIfNeeded() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:214:46: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
blurView.frame = self.toastContainer.bounds
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:188:40: note: property declared here
@property(nonatomic) CGRect bounds; // default bounds is zero origin, frame size. animatable
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:208:10: note: add '@MainActor' to make instance method 'setupBlurIfNeeded()' part of global actor 'MainActor'
func setupBlurIfNeeded() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:215:18: warning: main actor-isolated property 'autoresizingMask' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
blurView.autoresizingMask = [.flexibleWidth, .flexibleHeight]
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:212:41: note: mutation of this property is only permitted within the actor
@property(nonatomic) UIViewAutoresizing autoresizingMask; // simple resize. default is UIViewAutoresizingNone
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:208:10: note: add '@MainActor' to make instance method 'setupBlurIfNeeded()' part of global actor 'MainActor'
func setupBlurIfNeeded() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:216:18: warning: main actor-isolated property 'layer' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
blurView.layer.opacity = 0.75
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:154:64: note: mutation of this property is only permitted within the actor
@property(nonatomic,readonly,strong) CALayer *layer; // returns view's layer. Will always return a non-nil value. view is layer's delegate
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:208:10: note: add '@MainActor' to make instance method 'setupBlurIfNeeded()' part of global actor 'MainActor'
func setupBlurIfNeeded() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:217:29: warning: call to main actor-isolated instance method 'addSubview' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
self.toastContainer.addSubview(blurView)
^
UIKit.UIView.addSubview:2:22: note: calls to instance method 'addSubview' from outside of its actor context are implicitly asynchronous
@MainActor open func addSubview(_ view: UIView)}
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:208:10: note: add '@MainActor' to make instance method 'setupBlurIfNeeded()' part of global actor 'MainActor'
func setupBlurIfNeeded() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:127:30: warning: sending value of non-Sendable type 'ToastView' risks causing data races; this is an error in the Swift 6 language mode
let dismissGesture = UISwipeGestureRecognizer(target: self, action: #selector(dismissView(gesture:)))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift:127:30: note: sending task-isolated value of non-Sendable type 'ToastView' to main actor-isolated initializer 'init(target:action:)' risks causing races in between task-isolated and main actor-isolated uses
let dismissGesture = UISwipeGestureRecognizer(target: self, action: #selector(dismissView(gesture:)))
^
SwiftCompile normal arm64 Compiling\ ToastElementsBuilder.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift (in target 'ToastMaster' from project 'ToastMaster')
Failed frontend command:
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Data/Config/ContainerConfig.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Data/Config/DisplayConfig.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Data/Config/IconConfig.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Data/Config/TextConfig/TextContentStyleConfig.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Data/Config/TextConfig/TextElementConfig.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Data/Config/TextConfig/TextStyleConfig.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Data/Config/ToastConfig.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Data/Config/ToastLayout.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Data/Config/ToastPosition.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Extension/String+Ext.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastPresentationService.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastMaster.build/Debug-appletvos/ToastMaster.build/Objects-normal/arm64/ToastElementsBuilder.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastMaster.build/Debug-appletvos/ToastMaster.build/Objects-normal/arm64/ToastElementsBuilder.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastMaster.build/Debug-appletvos/ToastMaster.build/Objects-normal/arm64/ToastElementsBuilder.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastMaster.build/Debug-appletvos/ToastMaster.build/Objects-normal/arm64/ToastElementsBuilder.dia -target arm64-apple-tvos12.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -profile-generate -profile-coverage-mapping -swift-version 5 -enforce-exclusivity\=checked -stats-output-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastMaster.build/Debug-appletvos/ToastMaster.build/Objects-normal/arm64/ToastMaster_const_extract_protocols.json -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -enable-experimental-feature DebugDescriptionMacro -strict-concurrency\=complete -empty-abi-descriptor -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -resource-dir /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos18.4-22L251-271d326055c85f9856fa135c41255102.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastMaster.build/Debug-appletvos/ToastMaster.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastMaster.build/Debug-appletvos/ToastMaster.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastMaster.build/Debug-appletvos/ToastMaster.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastMaster.build/Debug-appletvos/ToastMaster.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name ToastMaster -frontend-parseable-output -disable-clang-spi -target-sdk-version 18.4 -target-sdk-name appletvos18.4 -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server -in-process-plugin-server-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastMaster.build/Debug-appletvos/ToastMaster.build/Objects-normal/arm64/ToastElementsBuilder.o -index-unit-output-path /ToastMaster.build/Debug-appletvos/ToastMaster.build/Objects-normal/arm64/ToastElementsBuilder.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift (in target 'ToastMaster' from project 'ToastMaster')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift:26:20: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let view = UIImageView()
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/usr/include/objc/NSObject.h:66:1: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
- (instancetype)init
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift:25:17: note: add '@MainActor' to make instance method 'createIconImageView(icon:)' part of global actor 'MainActor'
public func createIconImageView(icon: UIImage?) -> UIImageView {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift:27:14: warning: main actor-isolated property 'tintColor' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
view.tintColor = config.iconConfig.tintColor
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:43:57: note: mutation of this property is only permitted within the actor
@property (null_resettable, nonatomic, strong) UIColor *tintColor API_AVAILABLE(ios(7.0));
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift:25:17: note: add '@MainActor' to make instance method 'createIconImageView(icon:)' part of global actor 'MainActor'
public func createIconImageView(icon: UIImage?) -> UIImageView {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift:28:14: warning: main actor-isolated property 'image' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
view.image = icon?.withRenderingMode(config.iconConfig.renderingMode)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:26:50: note: mutation of this property is only permitted within the actor
@property (nullable, nonatomic, strong) UIImage *image; // default is nil
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift:25:17: note: add '@MainActor' to make instance method 'createIconImageView(icon:)' part of global actor 'MainActor'
public func createIconImageView(icon: UIImage?) -> UIImageView {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift:29:14: warning: main actor-isolated property 'isHidden' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
view.isHidden = icon == nil
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:307:56: note: mutation of this property is only permitted within the actor
@property(nonatomic,getter=isHidden) BOOL hidden; // default is NO. doesn't check superviews
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift:25:17: note: add '@MainActor' to make instance method 'createIconImageView(icon:)' part of global actor 'MainActor'
public func createIconImageView(icon: UIImage?) -> UIImageView {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift:49:18: error: 'isEditable' is unavailable in tvOS
textView.isEditable = false
^~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:202:45: note: 'isEditable' has been explicitly marked unavailable here
@property(nonatomic,getter=isEditable) BOOL editable API_UNAVAILABLE(tvos);
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift:52:18: error: 'dataDetectorTypes' is unavailable in tvOS
textView.dataDetectorTypes = .link
^~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:206:42: note: 'dataDetectorTypes' has been explicitly marked unavailable here
@property(nonatomic) UIDataDetectorTypes dataDetectorTypes API_AVAILABLE(ios(3.0)) API_UNAVAILABLE(tvos);
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift:35:24: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let textView = UITextView()
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/usr/include/objc/NSObject.h:66:1: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
- (instancetype)init
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift:34:17: note: add '@MainActor' to make instance method 'createHeaderTextView(header:delegate:)' part of global actor 'MainActor'
public func createHeaderTextView(header: String?, delegate: UITextViewDelegate) -> UITextView {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift:36:18: warning: main actor-isolated property 'attributedText' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
textView.attributedText = header?.htmlConvertToAttributedString
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:209:53: note: mutation of this property is only permitted within the actor
@property(null_resettable,copy) NSAttributedString *attributedText API_AVAILABLE(ios(6.0));
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift:34:17: note: add '@MainActor' to make instance method 'createHeaderTextView(header:delegate:)' part of global actor 'MainActor'
public func createHeaderTextView(header: String?, delegate: UITextViewDelegate) -> UITextView {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift:37:18: warning: main actor-isolated property 'font' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
textView.font = config.textConfig.header.regularText.font
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:198:46: note: mutation of this property is only permitted within the actor
@property(nullable,nonatomic,strong) UIFont *font;
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift:34:17: note: add '@MainActor' to make instance method 'createHeaderTextView(header:delegate:)' part of global actor 'MainActor'
public func createHeaderTextView(header: String?, delegate: UITextViewDelegate) -> UITextView {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift:38:18: warning: main actor-isolated property 'textColor' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
textView.textColor = config.textConfig.header.regularText.color
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:199:47: note: mutation of this property is only permitted within the actor
@property(nullable,nonatomic,strong) UIColor *textColor;
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift:34:17: note: add '@MainActor' to make instance method 'createHeaderTextView(header:delegate:)' part of global actor 'MainActor'
public func createHeaderTextView(header: String?, delegate: UITextViewDelegate) -> UITextView {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift:39:18: warning: main actor-isolated property 'backgroundColor' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
textView.backgroundColor = .clear
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:303:66: note: mutation of this property is only permitted within the actor
@property(nullable, nonatomic,copy) UIColor *backgroundColor UI_APPEARANCE_SELECTOR; // default is nil. Can be useful with the appearance proxy on custom UIView subclasses.
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift:34:17: note: add '@MainActor' to make instance method 'createHeaderTextView(header:delegate:)' part of global actor 'MainActor'
public func createHeaderTextView(header: String?, delegate: UITextViewDelegate) -> UITextView {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift:40:18: warning: main actor-isolated property 'textAlignment' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
textView.textAlignment = .left
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:200:38: note: mutation of this property is only permitted within the actor
@property(nonatomic) NSTextAlignment textAlignment; // default is NSLeftTextAlignment
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift:34:17: note: add '@MainActor' to make instance method 'createHeaderTextView(header:delegate:)' part of global actor 'MainActor'
public func createHeaderTextView(header: String?, delegate: UITextViewDelegate) -> UITextView {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift:41:18: warning: main actor-isolated property 'textContainer' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
textView.textContainer.lineFragmentPadding = 0
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:234:49: note: mutation of this property is only permitted within the actor
@property(nonatomic, readonly) NSTextContainer *textContainer API_AVAILABLE(ios(7.0));
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift:34:17: note: add '@MainActor' to make instance method 'createHeaderTextView(header:delegate:)' part of global actor 'MainActor'
public func createHeaderTextView(header: String?, delegate: UITextViewDelegate) -> UITextView {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift:42:18: warning: main actor-isolated property 'textContainerInset' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
textView.textContainerInset = .zero
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:236:43: note: mutation of this property is only permitted within the actor
@property(nonatomic, assign) UIEdgeInsets textContainerInset API_AVAILABLE(ios(7.0));
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift:34:17: note: add '@MainActor' to make instance method 'createHeaderTextView(header:delegate:)' part of global actor 'MainActor'
public func createHeaderTextView(header: String?, delegate: UITextViewDelegate) -> UITextView {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift:44:18: warning: main actor-isolated property 'linkTextAttributes' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
textView.linkTextAttributes = [
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:248:85: note: mutation of this property is only permitted within the actor
@property(null_resettable, nonatomic, copy) NSDictionary<NSAttributedStringKey,id> *linkTextAttributes API_AVAILABLE(ios(7.0));
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift:34:17: note: add '@MainActor' to make instance method 'createHeaderTextView(header:delegate:)' part of global actor 'MainActor'
public func createHeaderTextView(header: String?, delegate: UITextViewDelegate) -> UITextView {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift:49:18: warning: main actor-isolated property 'isEditable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
textView.isEditable = false
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:202:45: note: mutation of this property is only permitted within the actor
@property(nonatomic,getter=isEditable) BOOL editable API_UNAVAILABLE(tvos);
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift:34:17: note: add '@MainActor' to make instance method 'createHeaderTextView(header:delegate:)' part of global actor 'MainActor'
public func createHeaderTextView(header: String?, delegate: UITextViewDelegate) -> UITextView {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift:50:18: warning: main actor-isolated property 'isScrollEnabled' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
textView.isScrollEnabled = false
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:115:59: note: mutation of this property is only permitted within the actor
@property(nonatomic,getter=isScrollEnabled) BOOL scrollEnabled; // default YES. turn off any dragging temporarily
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift:34:17: note: add '@MainActor' to make instance method 'createHeaderTextView(header:delegate:)' part of global actor 'MainActor'
public func createHeaderTextView(header: String?, delegate: UITextViewDelegate) -> UITextView {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift:51:18: warning: main actor-isolated property 'isUserInteractionEnabled' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
textView.isUserInteractionEnabled = true
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:59: note: mutation of this property is only permitted within the actor
@property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift:34:17: note: add '@MainActor' to make instance method 'createHeaderTextView(header:delegate:)' part of global actor 'MainActor'
public func createHeaderTextView(header: String?, delegate: UITextViewDelegate) -> UITextView {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift:52:18: warning: main actor-isolated property 'dataDetectorTypes' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
textView.dataDetectorTypes = .link
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:206:42: note: mutation of this property is only permitted within the actor
@property(nonatomic) UIDataDetectorTypes dataDetectorTypes API_AVAILABLE(ios(3.0)) API_UNAVAILABLE(tvos);
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift:34:17: note: add '@MainActor' to make instance method 'createHeaderTextView(header:delegate:)' part of global actor 'MainActor'
public func createHeaderTextView(header: String?, delegate: UITextViewDelegate) -> UITextView {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift:53:18: warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
textView.delegate = delegate
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:195:59: note: mutation of this property is only permitted within the actor
@property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift:34:17: note: add '@MainActor' to make instance method 'createHeaderTextView(header:delegate:)' part of global actor 'MainActor'
public func createHeaderTextView(header: String?, delegate: UITextViewDelegate) -> UITextView {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift:73:18: error: 'isEditable' is unavailable in tvOS
textView.isEditable = false
^~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:202:45: note: 'isEditable' has been explicitly marked unavailable here
@property(nonatomic,getter=isEditable) BOOL editable API_UNAVAILABLE(tvos);
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift:76:18: error: 'dataDetectorTypes' is unavailable in tvOS
textView.dataDetectorTypes = .link
^~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:206:42: note: 'dataDetectorTypes' has been explicitly marked unavailable here
@property(nonatomic) UIDataDetectorTypes dataDetectorTypes API_AVAILABLE(ios(3.0)) API_UNAVAILABLE(tvos);
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift:59:24: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let textView = UITextView()
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/usr/include/objc/NSObject.h:66:1: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
- (instancetype)init
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift:58:17: note: add '@MainActor' to make instance method 'createMessageTextView(message:delegate:)' part of global actor 'MainActor'
public func createMessageTextView(message: String?, delegate: UITextViewDelegate) -> UITextView {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift:60:18: warning: main actor-isolated property 'attributedText' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
textView.attributedText = message?.htmlConvertToAttributedString
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:209:53: note: mutation of this property is only permitted within the actor
@property(null_resettable,copy) NSAttributedString *attributedText API_AVAILABLE(ios(6.0));
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift:58:17: note: add '@MainActor' to make instance method 'createMessageTextView(message:delegate:)' part of global actor 'MainActor'
public func createMessageTextView(message: String?, delegate: UITextViewDelegate) -> UITextView {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift:61:18: warning: main actor-isolated property 'font' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
textView.font = config.textConfig.message.regularText.font
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:198:46: note: mutation of this property is only permitted within the actor
@property(nullable,nonatomic,strong) UIFont *font;
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift:58:17: note: add '@MainActor' to make instance method 'createMessageTextView(message:delegate:)' part of global actor 'MainActor'
public func createMessageTextView(message: String?, delegate: UITextViewDelegate) -> UITextView {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift:62:18: warning: main actor-isolated property 'textColor' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
textView.textColor = config.textConfig.message.regularText.color
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:199:47: note: mutation of this property is only permitted within the actor
@property(nullable,nonatomic,strong) UIColor *textColor;
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift:58:17: note: add '@MainActor' to make instance method 'createMessageTextView(message:delegate:)' part of global actor 'MainActor'
public func createMessageTextView(message: String?, delegate: UITextViewDelegate) -> UITextView {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift:63:18: warning: main actor-isolated property 'backgroundColor' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
textView.backgroundColor = .clear
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:303:66: note: mutation of this property is only permitted within the actor
@property(nullable, nonatomic,copy) UIColor *backgroundColor UI_APPEARANCE_SELECTOR; // default is nil. Can be useful with the appearance proxy on custom UIView subclasses.
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift:58:17: note: add '@MainActor' to make instance method 'createMessageTextView(message:delegate:)' part of global actor 'MainActor'
public func createMessageTextView(message: String?, delegate: UITextViewDelegate) -> UITextView {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift:64:18: warning: main actor-isolated property 'textAlignment' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
textView.textAlignment = .left
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:200:38: note: mutation of this property is only permitted within the actor
@property(nonatomic) NSTextAlignment textAlignment; // default is NSLeftTextAlignment
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift:58:17: note: add '@MainActor' to make instance method 'createMessageTextView(message:delegate:)' part of global actor 'MainActor'
public func createMessageTextView(message: String?, delegate: UITextViewDelegate) -> UITextView {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift:65:18: warning: main actor-isolated property 'textContainer' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
textView.textContainer.lineFragmentPadding = 0
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:234:49: note: mutation of this property is only permitted within the actor
@property(nonatomic, readonly) NSTextContainer *textContainer API_AVAILABLE(ios(7.0));
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift:58:17: note: add '@MainActor' to make instance method 'createMessageTextView(message:delegate:)' part of global actor 'MainActor'
public func createMessageTextView(message: String?, delegate: UITextViewDelegate) -> UITextView {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift:66:18: warning: main actor-isolated property 'textContainerInset' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
textView.textContainerInset = .zero
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:236:43: note: mutation of this property is only permitted within the actor
@property(nonatomic, assign) UIEdgeInsets textContainerInset API_AVAILABLE(ios(7.0));
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift:58:17: note: add '@MainActor' to make instance method 'createMessageTextView(message:delegate:)' part of global actor 'MainActor'
public func createMessageTextView(message: String?, delegate: UITextViewDelegate) -> UITextView {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift:68:18: warning: main actor-isolated property 'linkTextAttributes' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
textView.linkTextAttributes = [
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:248:85: note: mutation of this property is only permitted within the actor
@property(null_resettable, nonatomic, copy) NSDictionary<NSAttributedStringKey,id> *linkTextAttributes API_AVAILABLE(ios(7.0));
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift:58:17: note: add '@MainActor' to make instance method 'createMessageTextView(message:delegate:)' part of global actor 'MainActor'
public func createMessageTextView(message: String?, delegate: UITextViewDelegate) -> UITextView {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift:73:18: warning: main actor-isolated property 'isEditable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
textView.isEditable = false
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:202:45: note: mutation of this property is only permitted within the actor
@property(nonatomic,getter=isEditable) BOOL editable API_UNAVAILABLE(tvos);
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift:58:17: note: add '@MainActor' to make instance method 'createMessageTextView(message:delegate:)' part of global actor 'MainActor'
public func createMessageTextView(message: String?, delegate: UITextViewDelegate) -> UITextView {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift:74:18: warning: main actor-isolated property 'isScrollEnabled' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
textView.isScrollEnabled = false
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:115:59: note: mutation of this property is only permitted within the actor
@property(nonatomic,getter=isScrollEnabled) BOOL scrollEnabled; // default YES. turn off any dragging temporarily
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift:58:17: note: add '@MainActor' to make instance method 'createMessageTextView(message:delegate:)' part of global actor 'MainActor'
public func createMessageTextView(message: String?, delegate: UITextViewDelegate) -> UITextView {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift:75:18: warning: main actor-isolated property 'isUserInteractionEnabled' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
textView.isUserInteractionEnabled = true
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:59: note: mutation of this property is only permitted within the actor
@property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift:58:17: note: add '@MainActor' to make instance method 'createMessageTextView(message:delegate:)' part of global actor 'MainActor'
public func createMessageTextView(message: String?, delegate: UITextViewDelegate) -> UITextView {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift:76:18: warning: main actor-isolated property 'dataDetectorTypes' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
textView.dataDetectorTypes = .link
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:206:42: note: mutation of this property is only permitted within the actor
@property(nonatomic) UIDataDetectorTypes dataDetectorTypes API_AVAILABLE(ios(3.0)) API_UNAVAILABLE(tvos);
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift:58:17: note: add '@MainActor' to make instance method 'createMessageTextView(message:delegate:)' part of global actor 'MainActor'
public func createMessageTextView(message: String?, delegate: UITextViewDelegate) -> UITextView {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift:77:18: warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
textView.delegate = delegate
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:195:59: note: mutation of this property is only permitted within the actor
@property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift:58:17: note: add '@MainActor' to make instance method 'createMessageTextView(message:delegate:)' part of global actor 'MainActor'
public func createMessageTextView(message: String?, delegate: UITextViewDelegate) -> UITextView {
^
@MainActor
SwiftCompile normal arm64 Compiling\ ToastPosition.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Data/Config/ToastPosition.swift (in target 'ToastMaster' from project 'ToastMaster')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Data/Config/ToastPosition.swift (in target 'ToastMaster' from project 'ToastMaster')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ ToastConfig.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Data/Config/ToastConfig.swift (in target 'ToastMaster' from project 'ToastMaster')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Data/Config/ToastConfig.swift (in target 'ToastMaster' from project 'ToastMaster')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ String+Ext.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Extension/String+Ext.swift (in target 'ToastMaster' from project 'ToastMaster')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Extension/String+Ext.swift (in target 'ToastMaster' from project 'ToastMaster')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ ToastLayout.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Data/Config/ToastLayout.swift (in target 'ToastMaster' from project 'ToastMaster')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Data/Config/ToastLayout.swift (in target 'ToastMaster' from project 'ToastMaster')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ ToastPresentationService.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastPresentationService.swift (in target 'ToastMaster' from project 'ToastMaster')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastPresentationService.swift (in target 'ToastMaster' from project 'ToastMaster')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastPresentationService.swift:31:29: warning: call to main actor-isolated instance method 'layoutIfNeeded()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
self.toastContainer.layoutIfNeeded()
^
UIKit.UIView.layoutIfNeeded:2:22: note: calls to instance method 'layoutIfNeeded()' from outside of its actor context are implicitly asynchronous
@MainActor open func layoutIfNeeded()}
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastPresentationService.swift:30:17: note: add '@MainActor' to make instance method 'present()' part of global actor 'MainActor'
public func present() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastPresentationService.swift:33:29: warning: main actor-isolated property 'frame' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
self.toastContainer.frame = self.initialFrame
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:185:40: note: mutation of this property is only permitted within the actor
@property(nonatomic) CGRect frame;
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastPresentationService.swift:30:17: note: add '@MainActor' to make instance method 'present()' part of global actor 'MainActor'
public func present() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastPresentationService.swift:34:29: warning: main actor-isolated property 'alpha' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
self.toastContainer.alpha = 0.0
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:304:56: note: mutation of this property is only permitted within the actor
@property(nonatomic) CGFloat alpha; // animatable. default is 1.0
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastPresentationService.swift:30:17: note: add '@MainActor' to make instance method 'present()' part of global actor 'MainActor'
public func present() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastPresentationService.swift:36:16: warning: call to main actor-isolated class method 'animate(withDuration:delay:options:animations:completion:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
UIView.animate(
^
UIKit.UIView.animate:3:30: note: calls to class method 'animate(withDuration:delay:options:animations:completion:)' from outside of its actor context are implicitly asynchronous
@MainActor open class func animate(withDuration duration: TimeInterval, delay: TimeInterval, options: UIView.AnimationOptions = [], animations: @escaping () -> Void, completion: ((Bool) -> Void)? = nil)}
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastPresentationService.swift:30:17: note: add '@MainActor' to make instance method 'present()' part of global actor 'MainActor'
public func present() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastPresentationService.swift:41:37: warning: main actor-isolated property 'frame' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
self.toastContainer.frame = self.finalFrame
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:185:40: note: mutation of this property is only permitted within the actor
@property(nonatomic) CGRect frame;
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastPresentationService.swift:42:37: warning: main actor-isolated property 'alpha' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
self.toastContainer.alpha = 1.0
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:304:56: note: mutation of this property is only permitted within the actor
@property(nonatomic) CGFloat alpha; // animatable. default is 1.0
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastPresentationService.swift:52:20: warning: call to main actor-isolated class method 'animate(withDuration:delay:options:animations:completion:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
UIView.animate(
^
UIKit.UIView.animate:3:30: note: calls to class method 'animate(withDuration:delay:options:animations:completion:)' from outside of its actor context are implicitly asynchronous
@MainActor open class func animate(withDuration duration: TimeInterval, delay: TimeInterval, options: UIView.AnimationOptions = [], animations: @escaping () -> Void, completion: ((Bool) -> Void)? = nil)}
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastPresentationService.swift:50:17: note: add '@MainActor' to make instance method 'dissmiss(withAnimation:)' part of global actor 'MainActor'
public func dissmiss(withAnimation: Bool) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastPresentationService.swift:59:45: warning: main actor-isolated property 'frame' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
self.toastContainer.frame.origin.y = 0.0
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:185:40: note: mutation of this property is only permitted within the actor
@property(nonatomic) CGRect frame;
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastPresentationService.swift:61:45: warning: main actor-isolated property 'frame' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
self.toastContainer.frame.origin.y += self.toastContainer.frame.height
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:185:40: note: mutation of this property is only permitted within the actor
@property(nonatomic) CGRect frame;
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastPresentationService.swift:61:83: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
self.toastContainer.frame.origin.y += self.toastContainer.frame.height
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:185:40: note: property declared here
@property(nonatomic) CGRect frame;
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastPresentationService.swift:63:41: warning: main actor-isolated property 'alpha' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
self.toastContainer.alpha = 0.0
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:304:56: note: mutation of this property is only permitted within the actor
@property(nonatomic) CGFloat alpha; // animatable. default is 1.0
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastPresentationService.swift:66:41: warning: call to main actor-isolated instance method 'removeFromSuperview()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
self.toastContainer.removeFromSuperview()
^
UIKit.UIView.removeFromSuperview:2:22: note: calls to instance method 'removeFromSuperview()' from outside of its actor context are implicitly asynchronous
@MainActor open func removeFromSuperview()}
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastPresentationService.swift:70:33: warning: call to main actor-isolated instance method 'removeFromSuperview()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
self.toastContainer.removeFromSuperview()
^
UIKit.UIView.removeFromSuperview:2:22: note: calls to instance method 'removeFromSuperview()' from outside of its actor context are implicitly asynchronous
@MainActor open func removeFromSuperview()}
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastPresentationService.swift:50:17: note: add '@MainActor' to make instance method 'dissmiss(withAnimation:)' part of global actor 'MainActor'
public func dissmiss(withAnimation: Bool) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastPresentationService.swift:84:42: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
y: -self.toastContainer.frame.height,
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:185:40: note: property declared here
@property(nonatomic) CGRect frame;
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastPresentationService.swift:85:38: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
width: UIScreen.main.bounds.width,
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:59:39: note: property declared here
@property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastPresentationService.swift:85:33: warning: main actor-isolated class property 'main' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
width: UIScreen.main.bounds.width,
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: class property declared here
@property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead: i.e, view.window.windowScene.screen", ios(2.0, API_TO_BE_DEPRECATED), visionos(1.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(watchos); // the device's internal screen
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastPresentationService.swift:86:45: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
height: self.toastContainer.frame.height
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:185:40: note: property declared here
@property(nonatomic) CGRect frame;
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastPresentationService.swift:91:34: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
y: UIScreen.main.bounds.height,
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:59:39: note: property declared here
@property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastPresentationService.swift:91:29: warning: main actor-isolated class property 'main' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
y: UIScreen.main.bounds.height,
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: class property declared here
@property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead: i.e, view.window.windowScene.screen", ios(2.0, API_TO_BE_DEPRECATED), visionos(1.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(watchos); // the device's internal screen
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastPresentationService.swift:92:38: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
width: UIScreen.main.bounds.width,
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:59:39: note: property declared here
@property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastPresentationService.swift:92:33: warning: main actor-isolated class property 'main' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
width: UIScreen.main.bounds.width,
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: class property declared here
@property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead: i.e, view.window.windowScene.screen", ios(2.0, API_TO_BE_DEPRECATED), visionos(1.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(watchos); // the device's internal screen
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastPresentationService.swift:93:45: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
height: self.toastContainer.frame.height
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:185:40: note: property declared here
@property(nonatomic) CGRect frame;
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastPresentationService.swift:105:38: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
width: UIScreen.main.bounds.width,
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:59:39: note: property declared here
@property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastPresentationService.swift:105:33: warning: main actor-isolated class property 'main' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
width: UIScreen.main.bounds.width,
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: class property declared here
@property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead: i.e, view.window.windowScene.screen", ios(2.0, API_TO_BE_DEPRECATED), visionos(1.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(watchos); // the device's internal screen
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastPresentationService.swift:106:45: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
height: self.toastContainer.frame.height
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:185:40: note: property declared here
@property(nonatomic) CGRect frame;
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastPresentationService.swift:111:34: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
y: UIScreen.main.bounds.height - self.toastContainer.frame.height,
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:59:39: note: property declared here
@property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastPresentationService.swift:111:29: warning: main actor-isolated class property 'main' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
y: UIScreen.main.bounds.height - self.toastContainer.frame.height,
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: class property declared here
@property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead: i.e, view.window.windowScene.screen", ios(2.0, API_TO_BE_DEPRECATED), visionos(1.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(watchos); // the device's internal screen
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastPresentationService.swift:111:70: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
y: UIScreen.main.bounds.height - self.toastContainer.frame.height,
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:185:40: note: property declared here
@property(nonatomic) CGRect frame;
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastPresentationService.swift:112:38: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
width: UIScreen.main.bounds.width,
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:59:39: note: property declared here
@property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastPresentationService.swift:112:33: warning: main actor-isolated class property 'main' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
width: UIScreen.main.bounds.width,
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: class property declared here
@property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead: i.e, view.window.windowScene.screen", ios(2.0, API_TO_BE_DEPRECATED), visionos(1.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(watchos); // the device's internal screen
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastPresentationService.swift:113:45: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
height: self.toastContainer.frame.height
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:185:40: note: property declared here
@property(nonatomic) CGRect frame;
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastPresentationService.swift:36:16: warning: sending value of non-Sendable type '() -> Void' risks causing data races; this is an error in the Swift 6 language mode
UIView.animate(
~~~~~~~^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastPresentationService.swift:36:16: note: sending task-isolated value of non-Sendable type '() -> Void' to main actor-isolated class method 'animate(withDuration:delay:options:animations:completion:)' risks causing races in between task-isolated and main actor-isolated uses
UIView.animate(
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastPresentationService.swift:36:16: warning: sending value of non-Sendable type '(Bool) -> Void' risks causing data races; this is an error in the Swift 6 language mode
UIView.animate(
~~~~~~~^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastPresentationService.swift:36:16: note: sending task-isolated value of non-Sendable type '(Bool) -> Void' to main actor-isolated class method 'animate(withDuration:delay:options:animations:completion:)' risks causing races in between task-isolated and main actor-isolated uses
UIView.animate(
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastPresentationService.swift:52:20: warning: sending value of non-Sendable type '() -> Void' risks causing data races; this is an error in the Swift 6 language mode
UIView.animate(
~~~~~~~^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastPresentationService.swift:52:20: note: sending task-isolated value of non-Sendable type '() -> Void' to main actor-isolated class method 'animate(withDuration:delay:options:animations:completion:)' risks causing races in between task-isolated and main actor-isolated uses
UIView.animate(
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastPresentationService.swift:52:20: warning: sending value of non-Sendable type '(Bool) -> Void' risks causing data races; this is an error in the Swift 6 language mode
UIView.animate(
~~~~~~~^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastPresentationService.swift:52:20: note: sending task-isolated value of non-Sendable type '(Bool) -> Void' to main actor-isolated class method 'animate(withDuration:delay:options:animations:completion:)' risks causing races in between task-isolated and main actor-isolated uses
UIView.animate(
^
SwiftDriverJobDiscovery normal arm64 Emitting module for ToastMaster (in target 'ToastMaster' from project 'ToastMaster')
SwiftDriver\ Compilation\ Requirements ToastMaster normal arm64 com.apple.xcode.tools.swift.compiler (in target 'ToastMaster' from project 'ToastMaster')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-Swift-Compilation-Requirements -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name ToastMaster -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastMaster.build/Debug-appletvos/ToastMaster.build/Objects-normal/arm64/ToastMaster.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -stats-output-dir .stats -strict-concurrency\=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk -target arm64-apple-tvos12.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos18.4-22L251-271d326055c85f9856fa135c41255102.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastMaster.build/Debug-appletvos/ToastMaster.build/Objects-normal/arm64/ToastMaster-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastMaster.build/Debug-appletvos/ToastMaster.build/Objects-normal/arm64/ToastMaster.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastMaster.build/Debug-appletvos/ToastMaster.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastMaster.build/Debug-appletvos/ToastMaster.build/Objects-normal/arm64/ToastMaster_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastMaster.build/Debug-appletvos/ToastMaster.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastMaster.build/Debug-appletvos/ToastMaster.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastMaster.build/Debug-appletvos/ToastMaster.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastMaster.build/Debug-appletvos/ToastMaster.build/Objects-normal/arm64/ToastMaster-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriverJobDiscovery normal arm64 Compiling ToastPosition.swift (in target 'ToastMaster' from project 'ToastMaster')
SwiftDriverJobDiscovery normal arm64 Compiling ToastLayout.swift (in target 'ToastMaster' from project 'ToastMaster')
SwiftMergeGeneratedHeaders /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos/ToastMaster-Swift.h /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastMaster.build/Debug-appletvos/ToastMaster.build/Objects-normal/arm64/ToastMaster-Swift.h (in target 'ToastMaster' from project 'ToastMaster')
cd /Users/admin/builder/spi-builder-workspace
builtin-swiftHeaderTool -arch arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastMaster.build/Debug-appletvos/ToastMaster.build/Objects-normal/arm64/ToastMaster-Swift.h -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos/ToastMaster-Swift.h
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/ToastMaster.swiftmodule/arm64-apple-tvos.swiftmodule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastMaster.build/Debug-appletvos/ToastMaster.build/Objects-normal/arm64/ToastMaster.swiftmodule (in target 'ToastMaster' from project 'ToastMaster')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastMaster.build/Debug-appletvos/ToastMaster.build/Objects-normal/arm64/ToastMaster.swiftmodule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/ToastMaster.swiftmodule/arm64-apple-tvos.swiftmodule
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/ToastMaster.swiftmodule/arm64-apple-tvos.swiftdoc /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastMaster.build/Debug-appletvos/ToastMaster.build/Objects-normal/arm64/ToastMaster.swiftdoc (in target 'ToastMaster' from project 'ToastMaster')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastMaster.build/Debug-appletvos/ToastMaster.build/Objects-normal/arm64/ToastMaster.swiftdoc /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/ToastMaster.swiftmodule/arm64-apple-tvos.swiftdoc
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/ToastMaster.swiftmodule/arm64-apple-tvos.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastMaster.build/Debug-appletvos/ToastMaster.build/Objects-normal/arm64/ToastMaster.abi.json (in target 'ToastMaster' from project 'ToastMaster')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastMaster.build/Debug-appletvos/ToastMaster.build/Objects-normal/arm64/ToastMaster.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/ToastMaster.swiftmodule/arm64-apple-tvos.abi.json
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/ToastMaster.swiftmodule/Project/arm64-apple-tvos.swiftsourceinfo /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastMaster.build/Debug-appletvos/ToastMaster.build/Objects-normal/arm64/ToastMaster.swiftsourceinfo (in target 'ToastMaster' from project 'ToastMaster')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastMaster.build/Debug-appletvos/ToastMaster.build/Objects-normal/arm64/ToastMaster.swiftsourceinfo /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/ToastMaster.swiftmodule/Project/arm64-apple-tvos.swiftsourceinfo
SwiftDriverJobDiscovery normal arm64 Compiling ContainerConfig.swift, DisplayConfig.swift (in target 'ToastMaster' from project 'ToastMaster')
SwiftDriverJobDiscovery normal arm64 Compiling ToastPresentationService.swift (in target 'ToastMaster' from project 'ToastMaster')
SwiftDriverJobDiscovery normal arm64 Compiling ToastConfig.swift (in target 'ToastMaster' from project 'ToastMaster')
SwiftDriverJobDiscovery normal arm64 Compiling String+Ext.swift (in target 'ToastMaster' from project 'ToastMaster')
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 Compiling\ ToastElementsBuilder.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift (in target 'ToastMaster' from project 'ToastMaster')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift (in target 'ToastMaster' from project 'ToastMaster')
Building workspace spi-builder-workspace with scheme ToastMaster
(3 failures)
Command line invocation:
/Applications/Xcode-16.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
ToastMaster: /Users/admin/builder/spi-builder-workspace
resolved source packages: ToastMaster
{
"dependencies" : [
],
"manifest_display_name" : "ToastMaster",
"name" : "ToastMaster",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "12.0"
}
],
"products" : [
{
"name" : "ToastMaster",
"targets" : [
"ToastMaster"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ToastMasterTests",
"module_type" : "SwiftTarget",
"name" : "ToastMasterTests",
"path" : "Tests/ToastMasterTests",
"sources" : [
"ToastMasterTests.swift"
],
"target_dependencies" : [
"ToastMaster"
],
"type" : "test"
},
{
"c99name" : "ToastMaster",
"module_type" : "SwiftTarget",
"name" : "ToastMaster",
"path" : "Sources/ToastMaster",
"product_memberships" : [
"ToastMaster"
],
"sources" : [
"Data/Config/ContainerConfig.swift",
"Data/Config/DisplayConfig.swift",
"Data/Config/IconConfig.swift",
"Data/Config/TextConfig/TextContentStyleConfig.swift",
"Data/Config/TextConfig/TextElementConfig.swift",
"Data/Config/TextConfig/TextStyleConfig.swift",
"Data/Config/ToastConfig.swift",
"Data/Config/ToastLayout.swift",
"Data/Config/ToastPosition.swift",
"Extension/String+Ext.swift",
"Services/ToastElementsBuilder.swift",
"Services/ToastPresentationService.swift",
"Views/ToastView.swift"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
{
"workspace" : {
"name" : "spi-builder-workspace",
"schemes" : [
"ToastMaster"
]
}
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme ToastMaster -destination generic/platform=tvOS
Command line invocation:
/Applications/Xcode-16.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme ToastMaster -destination generic/platform=tvOS
Resolve Package Graph
Resolved source packages:
ToastMaster: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
Target 'ToastMaster' in project 'ToastMaster'
➜ Explicit dependency on target 'ToastMaster' in project 'ToastMaster'
Target 'ToastMaster' in project 'ToastMaster' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: eb62fec72826d4f5789dffb7c7121eeb
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/eb62fec72826d4f5789dffb7c7121eeb.xcbuilddata
ClangStatCache /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos18.4-22L251-271d326055c85f9856fa135c41255102.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos18.4-22L251-271d326055c85f9856fa135c41255102.sdkstatcache
SwiftDriver ToastMaster normal arm64 com.apple.xcode.tools.swift.compiler (in target 'ToastMaster' from project 'ToastMaster')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name ToastMaster -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastMaster.build/Debug-appletvos/ToastMaster.build/Objects-normal/arm64/ToastMaster.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DXcode -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk -target arm64-apple-tvos12.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos18.4-22L251-271d326055c85f9856fa135c41255102.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastMaster.build/Debug-appletvos/ToastMaster.build/Objects-normal/arm64/ToastMaster-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastMaster.build/Debug-appletvos/ToastMaster.build/Objects-normal/arm64/ToastMaster.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastMaster.build/Debug-appletvos/ToastMaster.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastMaster.build/Debug-appletvos/ToastMaster.build/Objects-normal/arm64/ToastMaster_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastMaster.build/Debug-appletvos/ToastMaster.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastMaster.build/Debug-appletvos/ToastMaster.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastMaster.build/Debug-appletvos/ToastMaster.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastMaster.build/Debug-appletvos/ToastMaster.build/Objects-normal/arm64/ToastMaster-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftCompile normal arm64 Compiling\ TextElementConfig.swift,\ TextStyleConfig.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Data/Config/TextConfig/TextElementConfig.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Data/Config/TextConfig/TextStyleConfig.swift (in target 'ToastMaster' from project 'ToastMaster')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Data/Config/TextConfig/TextElementConfig.swift (in target 'ToastMaster' from project 'ToastMaster')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Data/Config/TextConfig/TextStyleConfig.swift (in target 'ToastMaster' from project 'ToastMaster')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ ToastConfig.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Data/Config/ToastConfig.swift (in target 'ToastMaster' from project 'ToastMaster')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Data/Config/ToastConfig.swift (in target 'ToastMaster' from project 'ToastMaster')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ ToastElementsBuilder.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift (in target 'ToastMaster' from project 'ToastMaster')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift (in target 'ToastMaster' from project 'ToastMaster')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift:49:18: error: 'isEditable' is unavailable in tvOS
textView.isEditable = false
^~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:202:45: note: 'isEditable' has been explicitly marked unavailable here
@property(nonatomic,getter=isEditable) BOOL editable API_UNAVAILABLE(tvos);
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift:52:18: error: 'dataDetectorTypes' is unavailable in tvOS
textView.dataDetectorTypes = .link
^~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:206:42: note: 'dataDetectorTypes' has been explicitly marked unavailable here
@property(nonatomic) UIDataDetectorTypes dataDetectorTypes API_AVAILABLE(ios(3.0)) API_UNAVAILABLE(tvos);
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift:73:18: error: 'isEditable' is unavailable in tvOS
textView.isEditable = false
^~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:202:45: note: 'isEditable' has been explicitly marked unavailable here
@property(nonatomic,getter=isEditable) BOOL editable API_UNAVAILABLE(tvos);
^
/Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift:76:18: error: 'dataDetectorTypes' is unavailable in tvOS
textView.dataDetectorTypes = .link
^~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:206:42: note: 'dataDetectorTypes' has been explicitly marked unavailable here
@property(nonatomic) UIDataDetectorTypes dataDetectorTypes API_AVAILABLE(ios(3.0)) API_UNAVAILABLE(tvos);
^
Failed frontend command:
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Data/Config/ContainerConfig.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Data/Config/DisplayConfig.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Data/Config/IconConfig.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Data/Config/TextConfig/TextContentStyleConfig.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Data/Config/TextConfig/TextElementConfig.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Data/Config/TextConfig/TextStyleConfig.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Data/Config/ToastConfig.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Data/Config/ToastLayout.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Data/Config/ToastPosition.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Extension/String+Ext.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastPresentationService.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastMaster.build/Debug-appletvos/ToastMaster.build/Objects-normal/arm64/ToastElementsBuilder.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastMaster.build/Debug-appletvos/ToastMaster.build/Objects-normal/arm64/ToastElementsBuilder.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastMaster.build/Debug-appletvos/ToastMaster.build/Objects-normal/arm64/ToastElementsBuilder.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastMaster.build/Debug-appletvos/ToastMaster.build/Objects-normal/arm64/ToastElementsBuilder.dia -target arm64-apple-tvos12.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -profile-generate -profile-coverage-mapping -swift-version 5 -enforce-exclusivity\=checked -Onone -D SWIFT_PACKAGE -D DEBUG -D Xcode -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastMaster.build/Debug-appletvos/ToastMaster.build/Objects-normal/arm64/ToastMaster_const_extract_protocols.json -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -resource-dir /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos18.4-22L251-271d326055c85f9856fa135c41255102.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastMaster.build/Debug-appletvos/ToastMaster.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastMaster.build/Debug-appletvos/ToastMaster.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastMaster.build/Debug-appletvos/ToastMaster.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastMaster.build/Debug-appletvos/ToastMaster.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name ToastMaster -frontend-parseable-output -disable-clang-spi -target-sdk-version 18.4 -target-sdk-name appletvos18.4 -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server -in-process-plugin-server-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastMaster.build/Debug-appletvos/ToastMaster.build/Objects-normal/arm64/ToastElementsBuilder.o -index-unit-output-path /ToastMaster.build/Debug-appletvos/ToastMaster.build/Objects-normal/arm64/ToastElementsBuilder.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
SwiftCompile normal arm64 Compiling\ ToastLayout.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Data/Config/ToastLayout.swift (in target 'ToastMaster' from project 'ToastMaster')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Data/Config/ToastLayout.swift (in target 'ToastMaster' from project 'ToastMaster')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftEmitModule normal arm64 Emitting\ module\ for\ ToastMaster (in target 'ToastMaster' from project 'ToastMaster')
EmitSwiftModule normal arm64 (in target 'ToastMaster' from project 'ToastMaster')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ ContainerConfig.swift,\ DisplayConfig.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Data/Config/ContainerConfig.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Data/Config/DisplayConfig.swift (in target 'ToastMaster' from project 'ToastMaster')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Data/Config/ContainerConfig.swift (in target 'ToastMaster' from project 'ToastMaster')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Data/Config/DisplayConfig.swift (in target 'ToastMaster' from project 'ToastMaster')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ String+Ext.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Extension/String+Ext.swift (in target 'ToastMaster' from project 'ToastMaster')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Extension/String+Ext.swift (in target 'ToastMaster' from project 'ToastMaster')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ ToastPresentationService.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastPresentationService.swift (in target 'ToastMaster' from project 'ToastMaster')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastPresentationService.swift (in target 'ToastMaster' from project 'ToastMaster')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ IconConfig.swift,\ TextContentStyleConfig.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Data/Config/IconConfig.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Data/Config/TextConfig/TextContentStyleConfig.swift (in target 'ToastMaster' from project 'ToastMaster')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Data/Config/IconConfig.swift (in target 'ToastMaster' from project 'ToastMaster')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Data/Config/TextConfig/TextContentStyleConfig.swift (in target 'ToastMaster' from project 'ToastMaster')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ ToastPosition.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Data/Config/ToastPosition.swift (in target 'ToastMaster' from project 'ToastMaster')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Data/Config/ToastPosition.swift (in target 'ToastMaster' from project 'ToastMaster')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ ToastView.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Views/ToastView.swift (in target 'ToastMaster' from project 'ToastMaster')
SwiftDriverJobDiscovery normal arm64 Compiling ToastConfig.swift (in target 'ToastMaster' from project 'ToastMaster')
SwiftDriverJobDiscovery normal arm64 Compiling TextElementConfig.swift, TextStyleConfig.swift (in target 'ToastMaster' from project 'ToastMaster')
SwiftDriverJobDiscovery normal arm64 Compiling ToastLayout.swift (in target 'ToastMaster' from project 'ToastMaster')
SwiftDriverJobDiscovery normal arm64 Compiling ToastPresentationService.swift (in target 'ToastMaster' from project 'ToastMaster')
SwiftDriverJobDiscovery normal arm64 Compiling IconConfig.swift, TextContentStyleConfig.swift (in target 'ToastMaster' from project 'ToastMaster')
SwiftDriverJobDiscovery normal arm64 Compiling ToastPosition.swift (in target 'ToastMaster' from project 'ToastMaster')
SwiftDriverJobDiscovery normal arm64 Compiling ContainerConfig.swift, DisplayConfig.swift (in target 'ToastMaster' from project 'ToastMaster')
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift (in target 'ToastMaster' from project 'ToastMaster')
SwiftCompile normal arm64 Compiling\ ToastElementsBuilder.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastMaster/Services/ToastElementsBuilder.swift (in target 'ToastMaster' from project 'ToastMaster')
Building workspace spi-builder-workspace with scheme ToastMaster
(3 failures)
BUILD FAILURE 6.1 tvOS