The Swift Package Index logo.Swift Package Index

Build Information

Successful build of PovioKit, reference 6.2.0 (4b2277), with Swift 6.1 for macOS (SPM) on 18 Apr 2026 01:28:28 UTC.

Swift 6 data race errors: 6

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/povio/PovioKit.git
Reference: 6.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/povio/PovioKit
 * tag               6.2.0      -> FETCH_HEAD
HEAD is now at 4b2277e Release/6.2.0 (#367)
Cloned https://github.com/povio/PovioKit.git
Revision (git rev-parse @):
4b2277e183193feac8a9b696a853cc4f8fc42e0d
SUCCESS checkout https://github.com/povio/PovioKit.git at 6.2.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/povio/PovioKit.git
https://github.com/povio/PovioKit.git
{
  "dependencies" : [
    {
      "identity" : "kingfisher",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "8.0.0",
            "upper_bound" : "9.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/onevcat/Kingfisher"
    }
  ],
  "manifest_display_name" : "PovioKit",
  "name" : "PovioKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "PovioKitCore",
      "targets" : [
        "PovioKitCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "PovioKitUtilities",
      "targets" : [
        "PovioKitUtilities"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "PovioKitUIKit",
      "targets" : [
        "PovioKitUIKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "PovioKitSwiftUI",
      "targets" : [
        "PovioKitSwiftUI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "PovioKitAppKit",
      "targets" : [
        "PovioKitAppKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "PovioKitAsync",
      "targets" : [
        "PovioKitAsync"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "Tests",
      "module_type" : "SwiftTarget",
      "name" : "Tests",
      "path" : "Tests/Tests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/Tests/Resources/PovioKit.png",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Core/AppInfoTests.swift",
        "Core/Extensions/Foundation/CollectionGroupedTests.swift",
        "Core/Extensions/Foundation/CollectionTests.swift",
        "Core/Extensions/Foundation/DataTests.swift",
        "Core/Extensions/Foundation/DateFormatterTests.swift",
        "Core/Extensions/Foundation/DateTests.swift",
        "Core/Extensions/Foundation/DecodableDictionaryTests.swift",
        "Core/Extensions/Foundation/DispatchTimeIntervalTests.swift",
        "Core/Extensions/Foundation/DoubleConversionTests.swift",
        "Core/Extensions/Foundation/DoubleTests.swift",
        "Core/Extensions/Foundation/EncodableTests.swift",
        "Core/Extensions/Foundation/OptionalTests.swift",
        "Core/Extensions/Foundation/ResultTests.swift",
        "Core/Extensions/Foundation/StringTests.swift",
        "Core/Extensions/Foundation/URLTests.swift",
        "Core/Extensions/MapKit/MKAnnotationViewTests.swift",
        "Core/Extensions/MapKit/MKGeometryExtensionsTests.swift",
        "Core/Extensions/UIKit/CGSizeTests.swift",
        "Core/Extensions/UIKit/UIColorTests.swift",
        "Core/Extensions/UIKit/UIDeviceTests.swift",
        "Core/Extensions/UIKit/UIEdgeInsetsTests.swift",
        "Core/Extensions/UIKit/UIImageTests.swift",
        "Core/Extensions/UIKit/UIResponderTests.swift",
        "Core/Extensions/UIKit/UIWindowTests.swift",
        "Core/Logger/LoggerTests.swift",
        "Core/Utilities/App Version Validator/AppVersionValidatorTests.swift",
        "Core/Utilities/AsyncThrottleSequence/AsyncThrottleSequenceTests.swift",
        "Core/Utilities/AttributedStringBuilder/AttributedStringBuilderTests.swift",
        "Core/Utilities/Broadcast/BroadcastTests.swift",
        "Core/Utilities/BundleReader/BundleReaderTests.swift",
        "Core/Utilities/Camera/CameraModelsTests.swift",
        "Core/Utilities/ColorInterpolator/ColorInterpolatorTests.swift",
        "Core/Utilities/Currency/CurrencyTests.swift",
        "Core/Utilities/Delegated/DelegatedTests.swift",
        "Core/Utilities/DispatchTimer/DispatchTimerTests.swift",
        "Core/Utilities/Exif/ExifErrorTests.swift",
        "Core/Utilities/Exif/ExifImageSourceTests.swift",
        "Core/Utilities/Exif/ExifMacOSTests.swift",
        "Core/Utilities/Exif/ExifTests.swift",
        "Core/Utilities/InAppPurchase/InAppPurchaseErrorTests.swift",
        "Core/Utilities/MediaPlayer/AudioPlayerTests.swift",
        "Core/Utilities/MediaPlayer/MediaPlayerBehaviorTests.swift",
        "Core/Utilities/MediaPlayer/MediaPlayerModelsTests.swift",
        "Core/Utilities/MediaPlayer/MediaStreamTests.swift",
        "Core/Utilities/Money/MoneyExtensionsTests.swift",
        "Core/Utilities/Money/MoneyTests.swift",
        "Core/Utilities/MoneyDefaults/MoneyDefaultsTests.swift",
        "Core/Utilities/StartupService/StartupProcessServiceTests.swift",
        "Core/Utilities/Throttler/ThrottlerTests.swift",
        "Core/Utilities/UserDefaults/UserDefaultTests.swift",
        "UI/SwiftUI/ColorExtensionTests.swift",
        "UI/SwiftUI/ViewAndModifierExtensionsTests.swift",
        "UI/UIKit/Extensions/UICollectionReusableViewTests.swift",
        "UI/UIKit/Extensions/UITableViewCellTests.swift",
        "UI/UIKit/Extensions/UITableViewHeaderFooterViewTests.swift",
        "UI/UIKit/Extensions/UIViewControllerTests.swift",
        "UI/UIKit/Extensions/UIViewTests.swift",
        "Utilities/XCConfigValue/MockBundleReader.swift",
        "Utilities/XCConfigValue/XCConfigValueTests.swift"
      ],
      "target_dependencies" : [
        "PovioKitCore",
        "PovioKitUIKit",
        "PovioKitSwiftUI",
        "PovioKitUtilities",
        "PovioKitAsync"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PovioKitUtilities",
      "module_type" : "SwiftTarget",
      "name" : "PovioKitUtilities",
      "path" : "Sources/Utilities",
      "product_memberships" : [
        "PovioKitUtilities",
        "PovioKitUIKit"
      ],
      "sources" : [
        "AppVersionValidator/AppVersionValidator.swift",
        "AttributedStringBuilder/AttributedStringBuilder.swift",
        "AttributedStringBuilder/UILabel+BuilderCompatible.swift",
        "AttributedStringBuilder/UITextField+BuilderCompatible.swift",
        "Broadcast/Broadcast.swift",
        "BundleReader/BundleReader.swift",
        "Camera/Camera+PovioKit.swift",
        "Camera/Camera.swift",
        "Camera/CameraService.swift",
        "Camera/PhotoCamera.swift",
        "Camera/QRCodeScanner.swift",
        "ColorInterpolator/ColorInterpolator.swift",
        "Delegated/Delegated.swift",
        "DispatchTimer/DispatchTimer.swift",
        "Exif/Exif.swift",
        "Exif/ExifError.swift",
        "Exif/ExifImageSource.swift",
        "InAppPurchase/InAppPurchaseError.swift",
        "InAppPurchase/InAppPurchaseService.swift",
        "MediaPlayer/AudioPlayer.swift",
        "MediaPlayer/MediaPlayer+Models.swift",
        "MediaPlayer/MediaPlayer.swift",
        "MediaPlayer/MediaStream.swift",
        "Money/Money+Currency.swift",
        "Money/Money+Defaults.swift",
        "Money/Money+Extensions.swift",
        "Money/Money.swift",
        "PropertyWrapper/UserDefault.swift",
        "PropertyWrapper/XCConfigValue.swift",
        "StartupService/StartupProcess.swift",
        "StartupService/StartupProcessService.swift",
        "Throttler/Throttler.swift"
      ],
      "target_dependencies" : [
        "PovioKitCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PovioKitUIKit",
      "module_type" : "SwiftTarget",
      "name" : "PovioKitUIKit",
      "path" : "Sources/UI/UIKit",
      "product_dependencies" : [
        "Kingfisher"
      ],
      "product_memberships" : [
        "PovioKitUIKit"
      ],
      "sources" : [
        "Extensions/CGSize+PovioKit.swift",
        "Extensions/UICollectionReusableView+PovioKit.swift",
        "Extensions/UICollectionView+PovioKit.swift",
        "Extensions/UIColor+PovioKit.swift",
        "Extensions/UIDevice+PovioKit.swift",
        "Extensions/UIEdgeInsets+PovioKit.swift",
        "Extensions/UIImage+Kingfisher.swift",
        "Extensions/UIImage+PovioKit.swift",
        "Extensions/UIProgressView+PovioKit.swift",
        "Extensions/UIResponder+PovioKit.swift",
        "Extensions/UITableView+PovioKit.swift",
        "Extensions/UITableViewCell+PovioKit.swift",
        "Extensions/UITableViewHeaderFooterView+PovioKit.swift",
        "Extensions/UIView+PovioKit.swift",
        "Extensions/UIViewController+PovioKit.swift",
        "Extensions/UIWindow+PovioKit.swift",
        "Views/DynamicCollectionCell/DynamicCollectionCell.swift",
        "Views/GradientView/GradientView.swift",
        "Views/PaddingLabel/PaddingLabel.swift",
        "Views/TextField/TextField.swift"
      ],
      "target_dependencies" : [
        "PovioKitCore",
        "PovioKitUtilities"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PovioKitSwiftUI",
      "module_type" : "SwiftTarget",
      "name" : "PovioKitSwiftUI",
      "path" : "Sources/UI/SwiftUI",
      "product_dependencies" : [
        "Kingfisher"
      ],
      "product_memberships" : [
        "PovioKitSwiftUI"
      ],
      "sources" : [
        "Extensions/AnyTransition+PovioKit.swift",
        "Extensions/Color+PovioKit.swift",
        "Extensions/Text+PovioKit.swift",
        "Extensions/View+PovioKit.swift",
        "View Modifiers/MaterialBlurBackgroundModifier.swift",
        "View Modifiers/MeasureSizeModifier.swift",
        "View Modifiers/OnFirstAppearModifier.swift",
        "View Modifiers/PhotoPickerModifier.swift",
        "View Modifiers/PinchToZoomModifier.swift",
        "View Modifiers/SquaredModifier.swift",
        "View Modifiers/TextFieldLimitModifer.swift",
        "Views/AnimatedImage/AnimatedImage.swift",
        "Views/LinearProgressStyle/LinearProgressStyle.swift",
        "Views/MaterialBlurView/MaterialBlurView.swift",
        "Views/PhotoPickerView/PhotoPickerView.swift",
        "Views/RemoteImage/HEICImageProcessor.swift",
        "Views/RemoteImage/JPEGImageProcessor.swift",
        "Views/RemoteImage/RemoteImage.swift",
        "Views/ScrollViewWithOffset/ScrollViewWithOffset.swift",
        "Views/SimpleColorPicker/SimpleColorPicker.swift"
      ],
      "target_dependencies" : [
        "PovioKitCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PovioKitCore",
      "module_type" : "SwiftTarget",
      "name" : "PovioKitCore",
      "path" : "Sources/Core",
      "product_memberships" : [
        "PovioKitCore",
        "PovioKitUtilities",
        "PovioKitUIKit",
        "PovioKitSwiftUI",
        "PovioKitAppKit"
      ],
      "sources" : [
        "AppInfo.swift",
        "Extensions/Foundation/Collection+PovioKit.swift",
        "Extensions/Foundation/Data+PovioKit.swift",
        "Extensions/Foundation/Date+PovioKit.swift",
        "Extensions/Foundation/DateFormatter+PovioKit.swift",
        "Extensions/Foundation/DecodableDictionary+PovioKit.swift",
        "Extensions/Foundation/DispatchTimeInterval+PovioKit.swift",
        "Extensions/Foundation/Double+PovioKit.swift",
        "Extensions/Foundation/Encodable+PovioKit.swift",
        "Extensions/Foundation/Optional+PovioKit.swift",
        "Extensions/Foundation/Result+PovioKit.swift",
        "Extensions/Foundation/String+PovioKit.swift",
        "Extensions/Foundation/URL+PovioKit.swift",
        "Extensions/MapKit/MKAnnotationView+PovioKit.swift",
        "Extensions/MapKit/MKCircle+PovioKit.swift",
        "Extensions/MapKit/MKMapView+PovioKit.swift",
        "Extensions/MapKit/MKPolygon+PovioKit.swift",
        "Extensions/Other/SKStoreReviewController+PovioKit.swift",
        "Logger/Logger.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PovioKitAsync",
      "module_type" : "SwiftTarget",
      "name" : "PovioKitAsync",
      "path" : "Sources/Async",
      "product_memberships" : [
        "PovioKitAsync"
      ],
      "sources" : [
        "AsyncThrottleSequence.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PovioKitAppKit",
      "module_type" : "SwiftTarget",
      "name" : "PovioKitAppKit",
      "path" : "Sources/UI/AppKit",
      "product_memberships" : [
        "PovioKitAppKit"
      ],
      "sources" : [
        "NSView+PovioKit.swift",
        "NSWindow+PovioKit.swift"
      ],
      "target_dependencies" : [
        "PovioKitCore"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/9] Write sources
[3/9] Copying PrivacyInfo.xcprivacy
[4/9] Write sources
[8/9] Write swift-version-2F0A5646E1D333AE.txt
[10/95] Emitting module PovioKitAsync
/Users/admin/builder/spi-builder-workspace/Sources/Async/AsyncThrottleSequence.swift:91:9: warning: type 'AsyncThrottleSequence<BaseSequence, C>.Element' (aka 'BaseSequence.Element') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 89 |   public class Iterator: AsyncIteratorProtocol {
 90 |     var baseIterator: BaseSequence.AsyncIterator
 91 |     var taskInExecution: Task<Element?, Error>?
    |         `- warning: type 'AsyncThrottleSequence<BaseSequence, C>.Element' (aka 'BaseSequence.Element') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 92 |     let clock: C
 93 |     let delayBetweenTasks: C.Duration
[11/95] Compiling PovioKitAsync AsyncThrottleSequence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Async/AsyncThrottleSequence.swift:91:9: warning: type 'AsyncThrottleSequence<BaseSequence, C>.Element' (aka 'BaseSequence.Element') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 89 |   public class Iterator: AsyncIteratorProtocol {
 90 |     var baseIterator: BaseSequence.AsyncIterator
 91 |     var taskInExecution: Task<Element?, Error>?
    |         `- warning: type 'AsyncThrottleSequence<BaseSequence, C>.Element' (aka 'BaseSequence.Element') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 92 |     let clock: C
 93 |     let delayBetweenTasks: C.Duration
/Users/admin/builder/spi-builder-workspace/Sources/Async/AsyncThrottleSequence.swift:117:32: warning: type 'BaseSequence.Element' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
115 |     /// - Returns: The next element in the sequence, or `nil` if there are no more elements.
116 |     public func next() async throws -> Element? {
117 |       let task = lock.withLock {
    |                                `- warning: type 'BaseSequence.Element' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
118 |         taskInExecution?.cancel()
119 |         taskInExecution = nil
/Users/admin/builder/spi-builder-workspace/Sources/Async/AsyncThrottleSequence.swift:118:26: warning: type 'BaseSequence.Element' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
116 |     public func next() async throws -> Element? {
117 |       let task = lock.withLock {
118 |         taskInExecution?.cancel()
    |                          `- warning: type 'BaseSequence.Element' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
119 |         taskInExecution = nil
120 |         let task = Task {
/Users/admin/builder/spi-builder-workspace/Sources/Async/AsyncThrottleSequence.swift:120:20: warning: type 'BaseSequence.Element' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
118 |         taskInExecution?.cancel()
119 |         taskInExecution = nil
120 |         let task = Task {
    |                    `- warning: type 'BaseSequence.Element' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
121 |           try await Task.sleep(
122 |             until: clock.now.advanced(by: delayBetweenTasks),
/Users/admin/builder/spi-builder-workspace/Sources/Async/AsyncThrottleSequence.swift:120:20: warning: type 'BaseSequence.Element' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
118 |         taskInExecution?.cancel()
119 |         taskInExecution = nil
120 |         let task = Task {
    |                    `- warning: type 'BaseSequence.Element' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
121 |           try await Task.sleep(
122 |             until: clock.now.advanced(by: delayBetweenTasks),
/Users/admin/builder/spi-builder-workspace/Sources/Async/AsyncThrottleSequence.swift:133:31: warning: type 'BaseSequence.Element' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
131 |       }
132 |       do {
133 |         return try await task.value
    |                               `- warning: type 'BaseSequence.Element' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
134 |       } catch {
135 |         if error is CancellationError {
/Users/admin/builder/spi-builder-workspace/Sources/Async/AsyncThrottleSequence.swift:120:25: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
118 |         taskInExecution?.cancel()
119 |         taskInExecution = nil
120 |         let task = Task {
    |                         `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
121 |           try await Task.sleep(
122 |             until: clock.now.advanced(by: delayBetweenTasks),
    |                    `- note: closure captures 'self' which is accessible to code in the current task
123 |             clock: clock
124 |           )
[12/95] Compiling Kingfisher CPListItem+Kingfisher.swift
[13/95] Compiling Kingfisher HasImageComponent+Kingfisher.swift
[14/96] Compiling PovioKitCore Logger.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Logger/Logger.swift:13:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
  9 | import OSLog
 10 |
 11 | public final class Logger {
    |                    `- note: class 'Logger' does not conform to the 'Sendable' protocol
 12 |   public typealias Parameters = [String: Any]
 13 |   public static let shared = Logger()
    |                     |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 14 |   public var logLevel: LogLevel = .none
 15 |
[15/96] Compiling Kingfisher KingfisherError.swift
[16/96] Compiling Kingfisher KingfisherManager+LivePhoto.swift
[17/96] Compiling Kingfisher PhotosPickerItemImageDataProvider.swift
[18/96] Compiling Kingfisher Resource.swift
[19/96] Compiling Kingfisher Source.swift
[20/96] Compiling Kingfisher KF.swift
[21/96] Compiling Kingfisher KFOptionsSetter.swift
[22/96] Compiling Kingfisher Kingfisher.swift
[23/96] Compiling Kingfisher LivePhotoSource.swift
[24/96] Compiling Kingfisher PHPickerResultImageDataProvider.swift
[25/96] Compiling Kingfisher FormatIndicatedCacheSerializer.swift
[26/96] Compiling Kingfisher ImageCache.swift
[27/96] Compiling Kingfisher CacheSerializer.swift
[28/96] Compiling Kingfisher DiskStorage.swift
[29/96] Emitting module PovioKitCore
/Users/admin/builder/spi-builder-workspace/Sources/Core/AppInfo.swift:97:14: warning: static property 'canOpenUrlHandlerForTesting' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 95 | /// Phone app, or browser) while still verifying URL-building behavior.
 96 | enum AppInfoURLHandlerStore {
 97 |   static var canOpenUrlHandlerForTesting: ((URL) -> Bool)?
    |              |- warning: static property 'canOpenUrlHandlerForTesting' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: convert 'canOpenUrlHandlerForTesting' to a 'let' constant to make 'Sendable' shared state immutable
    |              |- note: add '@MainActor' to make static property 'canOpenUrlHandlerForTesting' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 98 |   static var openUrlHandlerForTesting: ((URL) -> Void)?
 99 | }
/Users/admin/builder/spi-builder-workspace/Sources/Core/AppInfo.swift:98:14: warning: static property 'openUrlHandlerForTesting' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 96 | enum AppInfoURLHandlerStore {
 97 |   static var canOpenUrlHandlerForTesting: ((URL) -> Bool)?
 98 |   static var openUrlHandlerForTesting: ((URL) -> Void)?
    |              |- warning: static property 'openUrlHandlerForTesting' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: convert 'openUrlHandlerForTesting' to a 'let' constant to make 'Sendable' shared state immutable
    |              |- note: add '@MainActor' to make static property 'openUrlHandlerForTesting' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 99 | }
100 |
/Users/admin/builder/spi-builder-workspace/Sources/Core/Logger/Logger.swift:13:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
  9 | import OSLog
 10 |
 11 | public final class Logger {
    |                    `- note: class 'Logger' does not conform to the 'Sendable' protocol
 12 |   public typealias Parameters = [String: Any]
 13 |   public static let shared = Logger()
    |                     |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 14 |   public var logLevel: LogLevel = .none
 15 |
[30/96] Compiling Kingfisher MemoryStorage.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/AppInfo.swift:97:14: warning: static property 'canOpenUrlHandlerForTesting' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 95 | /// Phone app, or browser) while still verifying URL-building behavior.
 96 | enum AppInfoURLHandlerStore {
 97 |   static var canOpenUrlHandlerForTesting: ((URL) -> Bool)?
    |              |- warning: static property 'canOpenUrlHandlerForTesting' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: convert 'canOpenUrlHandlerForTesting' to a 'let' constant to make 'Sendable' shared state immutable
    |              |- note: add '@MainActor' to make static property 'canOpenUrlHandlerForTesting' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 98 |   static var openUrlHandlerForTesting: ((URL) -> Void)?
 99 | }
/Users/admin/builder/spi-builder-workspace/Sources/Core/AppInfo.swift:98:14: warning: static property 'openUrlHandlerForTesting' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 96 | enum AppInfoURLHandlerStore {
 97 |   static var canOpenUrlHandlerForTesting: ((URL) -> Bool)?
 98 |   static var openUrlHandlerForTesting: ((URL) -> Void)?
    |              |- warning: static property 'openUrlHandlerForTesting' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: convert 'openUrlHandlerForTesting' to a 'let' constant to make 'Sendable' shared state immutable
    |              |- note: add '@MainActor' to make static property 'openUrlHandlerForTesting' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 99 | }
100 |
[31/96] Compiling Kingfisher Storage.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/AppInfo.swift:97:14: warning: static property 'canOpenUrlHandlerForTesting' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 95 | /// Phone app, or browser) while still verifying URL-building behavior.
 96 | enum AppInfoURLHandlerStore {
 97 |   static var canOpenUrlHandlerForTesting: ((URL) -> Bool)?
    |              |- warning: static property 'canOpenUrlHandlerForTesting' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: convert 'canOpenUrlHandlerForTesting' to a 'let' constant to make 'Sendable' shared state immutable
    |              |- note: add '@MainActor' to make static property 'canOpenUrlHandlerForTesting' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 98 |   static var openUrlHandlerForTesting: ((URL) -> Void)?
 99 | }
/Users/admin/builder/spi-builder-workspace/Sources/Core/AppInfo.swift:98:14: warning: static property 'openUrlHandlerForTesting' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 96 | enum AppInfoURLHandlerStore {
 97 |   static var canOpenUrlHandlerForTesting: ((URL) -> Bool)?
 98 |   static var openUrlHandlerForTesting: ((URL) -> Void)?
    |              |- warning: static property 'openUrlHandlerForTesting' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: convert 'openUrlHandlerForTesting' to a 'let' constant to make 'Sendable' shared state immutable
    |              |- note: add '@MainActor' to make static property 'openUrlHandlerForTesting' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 99 | }
100 |
[32/129] Emitting module PovioKitAppKit
[33/129] Compiling PovioKitAppKit NSWindow+PovioKit.swift
[34/129] Compiling PovioKitAppKit NSView+PovioKit.swift
[35/129] Emitting module PovioKitUtilities
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/Money/Money+Defaults.swift:22:12: warning: var 'defaults' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | // NOTE: - Not thread safe! Previous instances won't be affected.
22 | public var defaults = Money.Defaults()
   |            |- warning: var 'defaults' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: convert 'defaults' to a 'let' constant to make 'Sendable' shared state immutable
   |            |- note: add '@MainActor' to make var 'defaults' part of global actor 'MainActor'
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
[36/132] Compiling PovioKitUtilities Money+Currency.swift
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/Money/Money+Defaults.swift:22:12: warning: var 'defaults' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | // NOTE: - Not thread safe! Previous instances won't be affected.
22 | public var defaults = Money.Defaults()
   |            |- warning: var 'defaults' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: convert 'defaults' to a 'let' constant to make 'Sendable' shared state immutable
   |            |- note: add '@MainActor' to make var 'defaults' part of global actor 'MainActor'
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
[37/132] Compiling PovioKitUtilities Money+Defaults.swift
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/Money/Money+Defaults.swift:22:12: warning: var 'defaults' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | // NOTE: - Not thread safe! Previous instances won't be affected.
22 | public var defaults = Money.Defaults()
   |            |- warning: var 'defaults' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: convert 'defaults' to a 'let' constant to make 'Sendable' shared state immutable
   |            |- note: add '@MainActor' to make var 'defaults' part of global actor 'MainActor'
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
[38/132] Compiling PovioKitUtilities Money+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/Money/Money+Defaults.swift:22:12: warning: var 'defaults' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | // NOTE: - Not thread safe! Previous instances won't be affected.
22 | public var defaults = Money.Defaults()
   |            |- warning: var 'defaults' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: convert 'defaults' to a 'let' constant to make 'Sendable' shared state immutable
   |            |- note: add '@MainActor' to make var 'defaults' part of global actor 'MainActor'
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
[39/132] Emitting module Kingfisher
[40/139] Compiling PovioKitUtilities StartupProcess.swift
[41/139] Compiling PovioKitUtilities StartupProcessService.swift
[42/139] Compiling PovioKitUtilities Throttler.swift
[43/139] Compiling PovioKitUtilities InAppPurchaseError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/InAppPurchase/InAppPurchaseService.swift:148:26: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
146 | private extension InAppPurchaseService {
147 |   func listenForTransactions() -> Task<Void, Error> {
148 |     return Task.detached {
    |                          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
149 |       for await result in Transaction.updates {
150 |         do {
151 |           let transaction = try self.checkVerified(result)
    |                                 `- note: closure captures 'self' which is accessible to code in the current task
152 |           await self.updatePurchasedProducts()
153 |           await transaction.finish()
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/InAppPurchase/InAppPurchaseService.swift:29:10: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 27 |     updateListenerTask = listenForTransactions()
 28 |
 29 |     Task {
    |          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 30 |       await requestProducts()
    |             `- note: closure captures 'self' which is accessible to code in the current task
 31 |       await updatePurchasedProducts()
 32 |     }
[44/139] Compiling PovioKitUtilities InAppPurchaseService.swift
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/InAppPurchase/InAppPurchaseService.swift:148:26: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
146 | private extension InAppPurchaseService {
147 |   func listenForTransactions() -> Task<Void, Error> {
148 |     return Task.detached {
    |                          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
149 |       for await result in Transaction.updates {
150 |         do {
151 |           let transaction = try self.checkVerified(result)
    |                                 `- note: closure captures 'self' which is accessible to code in the current task
152 |           await self.updatePurchasedProducts()
153 |           await transaction.finish()
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/InAppPurchase/InAppPurchaseService.swift:29:10: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 27 |     updateListenerTask = listenForTransactions()
 28 |
 29 |     Task {
    |          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 30 |       await requestProducts()
    |             `- note: closure captures 'self' which is accessible to code in the current task
 31 |       await updatePurchasedProducts()
 32 |     }
[45/139] Compiling PovioKitUtilities AudioPlayer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/InAppPurchase/InAppPurchaseService.swift:148:26: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
146 | private extension InAppPurchaseService {
147 |   func listenForTransactions() -> Task<Void, Error> {
148 |     return Task.detached {
    |                          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
149 |       for await result in Transaction.updates {
150 |         do {
151 |           let transaction = try self.checkVerified(result)
    |                                 `- note: closure captures 'self' which is accessible to code in the current task
152 |           await self.updatePurchasedProducts()
153 |           await transaction.finish()
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/InAppPurchase/InAppPurchaseService.swift:29:10: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 27 |     updateListenerTask = listenForTransactions()
 28 |
 29 |     Task {
    |          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 30 |       await requestProducts()
    |             `- note: closure captures 'self' which is accessible to code in the current task
 31 |       await updatePurchasedProducts()
 32 |     }
[46/139] Compiling PovioKitUtilities Broadcast.swift
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/Broadcast/Broadcast.swift:47:7: warning: capture of 'self' with non-sendable type 'Broadcast<T>' in a '@Sendable' closure
 9 | import Foundation
10 |
11 | public final class Broadcast<T> {
   |                    `- note: generic class 'Broadcast' does not conform to the 'Sendable' protocol
12 |   private(set) var observers = [Weak]()
13 |
   :
45 |   ) {
46 |     queue.async {
47 |       self.invoke(invocation: invocation)
   |       `- warning: capture of 'self' with non-sendable type 'Broadcast<T>' in a '@Sendable' closure
48 |     }
49 |   }
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/Broadcast/Broadcast.swift:47:31: warning: capture of 'invocation' with non-sendable type '(T) -> Void' in a '@Sendable' closure
45 |   ) {
46 |     queue.async {
47 |       self.invoke(invocation: invocation)
   |                               |- warning: capture of 'invocation' with non-sendable type '(T) -> Void' in a '@Sendable' closure
   |                               `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
48 |     }
49 |   }
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/Camera/Camera.swift:67:14: warning: capture of 'self' with non-sendable type 'Camera' in a '@Sendable' closure
  9 | import AVFoundation
 10 |
 11 | public class Camera: NSObject {
    |              `- note: class 'Camera' does not conform to the 'Sendable' protocol
 12 |   var device: AVCaptureDevice? {
 13 |     switch cameraPosition {
    :
 65 |   func startSession() {
 66 |     sessionQueue.async {
 67 |       guard !self.session.isRunning else { return }
    |              `- warning: capture of 'self' with non-sendable type 'Camera' in a '@Sendable' closure
 68 |       self.session.startRunning()
 69 |     }
[47/139] Compiling PovioKitUtilities BundleReader.swift
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/Broadcast/Broadcast.swift:47:7: warning: capture of 'self' with non-sendable type 'Broadcast<T>' in a '@Sendable' closure
 9 | import Foundation
10 |
11 | public final class Broadcast<T> {
   |                    `- note: generic class 'Broadcast' does not conform to the 'Sendable' protocol
12 |   private(set) var observers = [Weak]()
13 |
   :
45 |   ) {
46 |     queue.async {
47 |       self.invoke(invocation: invocation)
   |       `- warning: capture of 'self' with non-sendable type 'Broadcast<T>' in a '@Sendable' closure
48 |     }
49 |   }
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/Broadcast/Broadcast.swift:47:31: warning: capture of 'invocation' with non-sendable type '(T) -> Void' in a '@Sendable' closure
45 |   ) {
46 |     queue.async {
47 |       self.invoke(invocation: invocation)
   |                               |- warning: capture of 'invocation' with non-sendable type '(T) -> Void' in a '@Sendable' closure
   |                               `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
48 |     }
49 |   }
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/Camera/Camera.swift:67:14: warning: capture of 'self' with non-sendable type 'Camera' in a '@Sendable' closure
  9 | import AVFoundation
 10 |
 11 | public class Camera: NSObject {
    |              `- note: class 'Camera' does not conform to the 'Sendable' protocol
 12 |   var device: AVCaptureDevice? {
 13 |     switch cameraPosition {
    :
 65 |   func startSession() {
 66 |     sessionQueue.async {
 67 |       guard !self.session.isRunning else { return }
    |              `- warning: capture of 'self' with non-sendable type 'Camera' in a '@Sendable' closure
 68 |       self.session.startRunning()
 69 |     }
[48/139] Compiling PovioKitUtilities Camera+PovioKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/Broadcast/Broadcast.swift:47:7: warning: capture of 'self' with non-sendable type 'Broadcast<T>' in a '@Sendable' closure
 9 | import Foundation
10 |
11 | public final class Broadcast<T> {
   |                    `- note: generic class 'Broadcast' does not conform to the 'Sendable' protocol
12 |   private(set) var observers = [Weak]()
13 |
   :
45 |   ) {
46 |     queue.async {
47 |       self.invoke(invocation: invocation)
   |       `- warning: capture of 'self' with non-sendable type 'Broadcast<T>' in a '@Sendable' closure
48 |     }
49 |   }
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/Broadcast/Broadcast.swift:47:31: warning: capture of 'invocation' with non-sendable type '(T) -> Void' in a '@Sendable' closure
45 |   ) {
46 |     queue.async {
47 |       self.invoke(invocation: invocation)
   |                               |- warning: capture of 'invocation' with non-sendable type '(T) -> Void' in a '@Sendable' closure
   |                               `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
48 |     }
49 |   }
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/Camera/Camera.swift:67:14: warning: capture of 'self' with non-sendable type 'Camera' in a '@Sendable' closure
  9 | import AVFoundation
 10 |
 11 | public class Camera: NSObject {
    |              `- note: class 'Camera' does not conform to the 'Sendable' protocol
 12 |   var device: AVCaptureDevice? {
 13 |     switch cameraPosition {
    :
 65 |   func startSession() {
 66 |     sessionQueue.async {
 67 |       guard !self.session.isRunning else { return }
    |              `- warning: capture of 'self' with non-sendable type 'Camera' in a '@Sendable' closure
 68 |       self.session.startRunning()
 69 |     }
[49/139] Compiling PovioKitUtilities Camera.swift
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/Broadcast/Broadcast.swift:47:7: warning: capture of 'self' with non-sendable type 'Broadcast<T>' in a '@Sendable' closure
 9 | import Foundation
10 |
11 | public final class Broadcast<T> {
   |                    `- note: generic class 'Broadcast' does not conform to the 'Sendable' protocol
12 |   private(set) var observers = [Weak]()
13 |
   :
45 |   ) {
46 |     queue.async {
47 |       self.invoke(invocation: invocation)
   |       `- warning: capture of 'self' with non-sendable type 'Broadcast<T>' in a '@Sendable' closure
48 |     }
49 |   }
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/Broadcast/Broadcast.swift:47:31: warning: capture of 'invocation' with non-sendable type '(T) -> Void' in a '@Sendable' closure
45 |   ) {
46 |     queue.async {
47 |       self.invoke(invocation: invocation)
   |                               |- warning: capture of 'invocation' with non-sendable type '(T) -> Void' in a '@Sendable' closure
   |                               `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
48 |     }
49 |   }
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/Camera/Camera.swift:67:14: warning: capture of 'self' with non-sendable type 'Camera' in a '@Sendable' closure
  9 | import AVFoundation
 10 |
 11 | public class Camera: NSObject {
    |              `- note: class 'Camera' does not conform to the 'Sendable' protocol
 12 |   var device: AVCaptureDevice? {
 13 |     switch cameraPosition {
    :
 65 |   func startSession() {
 66 |     sessionQueue.async {
 67 |       guard !self.session.isRunning else { return }
    |              `- warning: capture of 'self' with non-sendable type 'Camera' in a '@Sendable' closure
 68 |       self.session.startRunning()
 69 |     }
[50/139] Compiling PovioKitUtilities MediaPlayer+Models.swift
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:97:5: warning: call to main actor-isolated instance method 'setupPlayerItemObserver()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 95 |   override public init() {
 96 |     super.init()
 97 |     setupPlayerItemObserver()
    |     `- warning: call to main actor-isolated instance method 'setupPlayerItemObserver()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 98 |   }
 99 |
    :
243 | // MARK: - Private Methods
244 | private extension MediaPlayer {
245 |   func setupPlayerItemObserver() {
    |        |- note: calls to instance method 'setupPlayerItemObserver()' from outside of its actor context are implicitly asynchronous
    |        `- note: main actor isolation inferred from inheritance from class 'AVPlayer'
246 |     // notification when playback ends
247 |     NotificationCenter.default.addObserver(
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:102:5: warning: call to main actor-isolated instance method 'setupPlayerItemObserver()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
100 |   public override init(url: URL) {
101 |     super.init(playerItem: AVPlayerItem(url: url))
102 |     setupPlayerItemObserver()
    |     `- warning: call to main actor-isolated instance method 'setupPlayerItemObserver()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
103 |   }
104 |
    :
243 | // MARK: - Private Methods
244 | private extension MediaPlayer {
245 |   func setupPlayerItemObserver() {
    |        |- note: calls to instance method 'setupPlayerItemObserver()' from outside of its actor context are implicitly asynchronous
    |        `- note: main actor isolation inferred from inheritance from class 'AVPlayer'
246 |     // notification when playback ends
247 |     NotificationCenter.default.addObserver(
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:107:5: warning: call to main actor-isolated instance method 'setupPlayerItemObserver()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
105 |   public override init(playerItem item: AVPlayerItem?) {
106 |     super.init(playerItem: item)
107 |     setupPlayerItemObserver()
    |     `- warning: call to main actor-isolated instance method 'setupPlayerItemObserver()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
108 |   }
109 |
    :
243 | // MARK: - Private Methods
244 | private extension MediaPlayer {
245 |   func setupPlayerItemObserver() {
    |        |- note: calls to instance method 'setupPlayerItemObserver()' from outside of its actor context are implicitly asynchronous
    |        `- note: main actor isolation inferred from inheritance from class 'AVPlayer'
246 |     // notification when playback ends
247 |     NotificationCenter.default.addObserver(
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:120:11: warning: main actor-isolated property 'canPlayVideo' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 87 |
 88 |   /// Boolean flag `true` when item is prepared and can be played
 89 |   private var canPlayVideo: Bool = false
    |               `- note: property declared here
 90 |   /// Flipped to `true` when trying to start playing but `canPlayVideo` is false
 91 |   private var playWhenReady: Bool = false
    :
118 |   /// This function also updates the state of the media player to `.playing` and informs the delegate that the playback has started.
119 |   public override func play() {
120 |     guard canPlayVideo else {
    |           `- warning: main actor-isolated property 'canPlayVideo' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
121 |       setupPlayerItemObserver()
122 |       playWhenReady = true
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:121:7: warning: call to main actor-isolated instance method 'setupPlayerItemObserver()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
119 |   public override func play() {
120 |     guard canPlayVideo else {
121 |       setupPlayerItemObserver()
    |       `- warning: call to main actor-isolated instance method 'setupPlayerItemObserver()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
122 |       playWhenReady = true
123 |       return
    :
243 | // MARK: - Private Methods
244 | private extension MediaPlayer {
245 |   func setupPlayerItemObserver() {
    |        |- note: calls to instance method 'setupPlayerItemObserver()' from outside of its actor context are implicitly asynchronous
    |        `- note: main actor isolation inferred from inheritance from class 'AVPlayer'
246 |     // notification when playback ends
247 |     NotificationCenter.default.addObserver(
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:122:7: warning: main actor-isolated property 'playWhenReady' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 89 |   private var canPlayVideo: Bool = false
 90 |   /// Flipped to `true` when trying to start playing but `canPlayVideo` is false
 91 |   private var playWhenReady: Bool = false
    |               `- note: mutation of this property is only permitted within the actor
 92 |   private var playerItemObserver: NSKeyValueObservation?
 93 |   private var periodicTimeObserver: Any?
    :
120 |     guard canPlayVideo else {
121 |       setupPlayerItemObserver()
122 |       playWhenReady = true
    |       `- warning: main actor-isolated property 'playWhenReady' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
123 |       return
124 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:126:5: warning: main actor-isolated property 'playWhenReady' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 89 |   private var canPlayVideo: Bool = false
 90 |   /// Flipped to `true` when trying to start playing but `canPlayVideo` is false
 91 |   private var playWhenReady: Bool = false
    |               `- note: mutation of this property is only permitted within the actor
 92 |   private var playerItemObserver: NSKeyValueObservation?
 93 |   private var periodicTimeObserver: Any?
    :
124 |     }
125 |
126 |     playWhenReady = false
    |     `- warning: main actor-isolated property 'playWhenReady' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
127 |     setupPlayerItemObserver()
128 |     super.play()
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:127:5: warning: call to main actor-isolated instance method 'setupPlayerItemObserver()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
125 |
126 |     playWhenReady = false
127 |     setupPlayerItemObserver()
    |     `- warning: call to main actor-isolated instance method 'setupPlayerItemObserver()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
128 |     super.play()
129 |     state = .playing
    :
243 | // MARK: - Private Methods
244 | private extension MediaPlayer {
245 |   func setupPlayerItemObserver() {
    |        |- note: calls to instance method 'setupPlayerItemObserver()' from outside of its actor context are implicitly asynchronous
    |        `- note: main actor isolation inferred from inheritance from class 'AVPlayer'
246 |     // notification when playback ends
247 |     NotificationCenter.default.addObserver(
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:129:5: warning: main actor-isolated property 'state' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 80 |   /// This property is of type `MediaPlayerPlaybackState` and its default value is `.undefined`.
 81 |   /// When the state changes, the media player informs its delegate by calling the `mediaPlayer(_:didUpdatePlaybackState:)` method.
 82 |   public var state: PlaybackState = .preparing {
    |              `- note: mutation of this property is only permitted within the actor
 83 |     didSet { onStateUpdate() }
 84 |   }
    :
127 |     setupPlayerItemObserver()
128 |     super.play()
129 |     state = .playing
    |     `- warning: main actor-isolated property 'state' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
130 |   }
131 |
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:207:5: warning: main actor-isolated property 'state' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 80 |   /// This property is of type `MediaPlayerPlaybackState` and its default value is `.undefined`.
 81 |   /// When the state changes, the media player informs its delegate by calling the `mediaPlayer(_:didUpdatePlaybackState:)` method.
 82 |   public var state: PlaybackState = .preparing {
    |              `- note: mutation of this property is only permitted within the actor
 83 |     didSet { onStateUpdate() }
 84 |   }
    :
205 |   public override func pause() {
206 |     super.pause()
207 |     state = .paused
    |     `- warning: main actor-isolated property 'state' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
208 |   }
209 |
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:218:5: warning: main actor-isolated property 'playbackInterval' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 38 |
 39 | public class MediaPlayer: AVPlayer {
 40 |   public private(set) lazy var playbackInterval: (startAt: Double, endAt: Double) = (0, duration)
    |                                `- note: mutation of this property is only permitted within the actor
 41 |
 42 |   /// A Boolean value that determines whether the media player should loop playback when it reaches the end of the media.
    :
216 |   public override func replaceCurrentItem(with item: AVPlayerItem?) {
217 |     super.replaceCurrentItem(with: item)
218 |     playbackInterval = (0, duration)
    |     `- warning: main actor-isolated property 'playbackInterval' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
219 |     setupPlayerItemObserver()
220 |   }
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:218:28: warning: main actor-isolated property 'duration' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 61 |
 62 |   /// The total duration of the current media item in seconds. This duration does not take into account any custom playback interval set.
 63 |   public var duration: Double {
    |              `- note: property declared here
 64 |     guard let duration = currentItem?.duration, duration.isValid, !duration.seconds.isNaN else { return 0 }
 65 |     return duration.seconds
    :
216 |   public override func replaceCurrentItem(with item: AVPlayerItem?) {
217 |     super.replaceCurrentItem(with: item)
218 |     playbackInterval = (0, duration)
    |                            `- warning: main actor-isolated property 'duration' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
219 |     setupPlayerItemObserver()
220 |   }
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:219:5: warning: call to main actor-isolated instance method 'setupPlayerItemObserver()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
217 |     super.replaceCurrentItem(with: item)
218 |     playbackInterval = (0, duration)
219 |     setupPlayerItemObserver()
    |     `- warning: call to main actor-isolated instance method 'setupPlayerItemObserver()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
220 |   }
221 |
    :
243 | // MARK: - Private Methods
244 | private extension MediaPlayer {
245 |   func setupPlayerItemObserver() {
    |        |- note: calls to instance method 'setupPlayerItemObserver()' from outside of its actor context are implicitly asynchronous
    |        `- note: main actor isolation inferred from inheritance from class 'AVPlayer'
246 |     // notification when playback ends
247 |     NotificationCenter.default.addObserver(
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:263:9: warning: main actor-isolated property 'canPlayVideo' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
 87 |
 88 |   /// Boolean flag `true` when item is prepared and can be played
 89 |   private var canPlayVideo: Bool = false
    |               `- note: mutation of this property is only permitted within the actor
 90 |   /// Flipped to `true` when trying to start playing but `canPlayVideo` is false
 91 |   private var playWhenReady: Bool = false
    :
261 |       switch playerItem.status {
262 |       case .readyToPlay:
263 |         canPlayVideo = true
    |         `- warning: main actor-isolated property 'canPlayVideo' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
264 |         state = .readyToPlay
265 |         setupPeriodicTimeObserver()
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:264:9: warning: main actor-isolated property 'state' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
 80 |   /// This property is of type `MediaPlayerPlaybackState` and its default value is `.undefined`.
 81 |   /// When the state changes, the media player informs its delegate by calling the `mediaPlayer(_:didUpdatePlaybackState:)` method.
 82 |   public var state: PlaybackState = .preparing {
    |              `- note: mutation of this property is only permitted within the actor
 83 |     didSet { onStateUpdate() }
 84 |   }
    :
262 |       case .readyToPlay:
263 |         canPlayVideo = true
264 |         state = .readyToPlay
    |         `- warning: main actor-isolated property 'state' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
265 |         setupPeriodicTimeObserver()
266 |         if playWhenReady {
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:265:9: warning: call to main actor-isolated instance method 'setupPeriodicTimeObserver()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
263 |         canPlayVideo = true
264 |         state = .readyToPlay
265 |         setupPeriodicTimeObserver()
    |         `- warning: call to main actor-isolated instance method 'setupPeriodicTimeObserver()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
266 |         if playWhenReady {
267 |           play()
    :
280 |   }
281 |
282 |   func setupPeriodicTimeObserver() {
    |        |- note: calls to instance method 'setupPeriodicTimeObserver()' from outside of its actor context are implicitly asynchronous
    |        `- note: main actor isolation inferred from inheritance from class 'AVPlayer'
283 |     guard periodicTimeObserver == nil else { return }
284 |     periodicTimeObserver = addPeriodicTimeObserver(
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:266:12: warning: main actor-isolated property 'playWhenReady' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
 89 |   private var canPlayVideo: Bool = false
 90 |   /// Flipped to `true` when trying to start playing but `canPlayVideo` is false
 91 |   private var playWhenReady: Bool = false
    |               `- note: property declared here
 92 |   private var playerItemObserver: NSKeyValueObservation?
 93 |   private var periodicTimeObserver: Any?
    :
264 |         state = .readyToPlay
265 |         setupPeriodicTimeObserver()
266 |         if playWhenReady {
    |            `- warning: main actor-isolated property 'playWhenReady' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
267 |           play()
268 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:270:9: warning: main actor-isolated property 'canPlayVideo' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
 87 |
 88 |   /// Boolean flag `true` when item is prepared and can be played
 89 |   private var canPlayVideo: Bool = false
    |               `- note: mutation of this property is only permitted within the actor
 90 |   /// Flipped to `true` when trying to start playing but `canPlayVideo` is false
 91 |   private var playWhenReady: Bool = false
    :
268 |         }
269 |       case .unknown:
270 |         canPlayVideo = false
    |         `- warning: main actor-isolated property 'canPlayVideo' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
271 |         state = .failed(error: Error.undefinedState)
272 |       case .failed:
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:271:9: warning: main actor-isolated property 'state' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
 80 |   /// This property is of type `MediaPlayerPlaybackState` and its default value is `.undefined`.
 81 |   /// When the state changes, the media player informs its delegate by calling the `mediaPlayer(_:didUpdatePlaybackState:)` method.
 82 |   public var state: PlaybackState = .preparing {
    |              `- note: mutation of this property is only permitted within the actor
 83 |     didSet { onStateUpdate() }
 84 |   }
    :
269 |       case .unknown:
270 |         canPlayVideo = false
271 |         state = .failed(error: Error.undefinedState)
    |         `- warning: main actor-isolated property 'state' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
272 |       case .failed:
273 |         canPlayVideo = false
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:273:9: warning: main actor-isolated property 'canPlayVideo' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
 87 |
 88 |   /// Boolean flag `true` when item is prepared and can be played
 89 |   private var canPlayVideo: Bool = false
    |               `- note: mutation of this property is only permitted within the actor
 90 |   /// Flipped to `true` when trying to start playing but `canPlayVideo` is false
 91 |   private var playWhenReady: Bool = false
    :
271 |         state = .failed(error: Error.undefinedState)
272 |       case .failed:
273 |         canPlayVideo = false
    |         `- warning: main actor-isolated property 'canPlayVideo' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
274 |         state = .failed(error: playerItem.error ?? Error.undefinedError)
275 |       @unknown default:
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:274:9: warning: main actor-isolated property 'state' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
 80 |   /// This property is of type `MediaPlayerPlaybackState` and its default value is `.undefined`.
 81 |   /// When the state changes, the media player informs its delegate by calling the `mediaPlayer(_:didUpdatePlaybackState:)` method.
 82 |   public var state: PlaybackState = .preparing {
    |              `- note: mutation of this property is only permitted within the actor
 83 |     didSet { onStateUpdate() }
 84 |   }
    :
272 |       case .failed:
273 |         canPlayVideo = false
274 |         state = .failed(error: playerItem.error ?? Error.undefinedError)
    |         `- warning: main actor-isolated property 'state' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
275 |       @unknown default:
276 |         canPlayVideo = false
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:276:9: warning: main actor-isolated property 'canPlayVideo' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
 87 |
 88 |   /// Boolean flag `true` when item is prepared and can be played
 89 |   private var canPlayVideo: Bool = false
    |               `- note: mutation of this property is only permitted within the actor
 90 |   /// Flipped to `true` when trying to start playing but `canPlayVideo` is false
 91 |   private var playWhenReady: Bool = false
    :
274 |         state = .failed(error: playerItem.error ?? Error.undefinedError)
275 |       @unknown default:
276 |         canPlayVideo = false
    |         `- warning: main actor-isolated property 'canPlayVideo' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
277 |         state = .failed(error: Error.undefinedState)
278 |       }
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:277:9: warning: main actor-isolated property 'state' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
 80 |   /// This property is of type `MediaPlayerPlaybackState` and its default value is `.undefined`.
 81 |   /// When the state changes, the media player informs its delegate by calling the `mediaPlayer(_:didUpdatePlaybackState:)` method.
 82 |   public var state: PlaybackState = .preparing {
    |              `- note: mutation of this property is only permitted within the actor
 83 |     didSet { onStateUpdate() }
 84 |   }
    :
275 |       @unknown default:
276 |         canPlayVideo = false
277 |         state = .failed(error: Error.undefinedState)
    |         `- warning: main actor-isolated property 'state' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
278 |       }
279 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:291:9: warning: main actor-isolated property 'state' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
 80 |   /// This property is of type `MediaPlayerPlaybackState` and its default value is `.undefined`.
 81 |   /// When the state changes, the media player informs its delegate by calling the `mediaPlayer(_:didUpdatePlaybackState:)` method.
 82 |   public var state: PlaybackState = .preparing {
    |              `- note: mutation of this property is only permitted within the actor
 83 |     didSet { onStateUpdate() }
 84 |   }
    :
289 |
290 |       if currentItem?.status == .failed, let error = currentItem?.error {
291 |         state = .failed(error: error)
    |         `- warning: main actor-isolated property 'state' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
292 |         removePeriodicTimeObserver()
293 |         return
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:292:9: warning: call to main actor-isolated instance method 'removePeriodicTimeObserver()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
290 |       if currentItem?.status == .failed, let error = currentItem?.error {
291 |         state = .failed(error: error)
292 |         removePeriodicTimeObserver()
    |         `- warning: call to main actor-isolated instance method 'removePeriodicTimeObserver()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
293 |         return
294 |       }
    :
321 |   }
322 |
323 |   func removePeriodicTimeObserver() {
    |        |- note: calls to instance method 'removePeriodicTimeObserver()' from outside of its actor context are implicitly asynchronous
    |        `- note: main actor isolation inferred from inheritance from class 'AVPlayer'
324 |     periodicTimeObserver.map(removeTimeObserver)
325 |     periodicTimeObserver = nil
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:296:7: warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
 84 |   }
 85 |
 86 |   public weak var delegate: MediaPlayerDelegate?
    |                   `- note: property declared here
 87 |
 88 |   /// Boolean flag `true` when item is prepared and can be played
    :
294 |       }
295 |
296 |       delegate?.mediaPlayer(self, didProgressToTime: time.seconds)
    |       `- warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
297 |       delegate?.mediaPlayer(self, onProgressUpdate: Float(time.seconds / duration))
298 |       timeObserverCallback(time: time)
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:297:7: warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
 84 |   }
 85 |
 86 |   public weak var delegate: MediaPlayerDelegate?
    |                   `- note: property declared here
 87 |
 88 |   /// Boolean flag `true` when item is prepared and can be played
    :
295 |
296 |       delegate?.mediaPlayer(self, didProgressToTime: time.seconds)
297 |       delegate?.mediaPlayer(self, onProgressUpdate: Float(time.seconds / duration))
    |       `- warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
298 |       timeObserverCallback(time: time)
299 |
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:297:74: warning: main actor-isolated property 'duration' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
 61 |
 62 |   /// The total duration of the current media item in seconds. This duration does not take into account any custom playback interval set.
 63 |   public var duration: Double {
    |              `- note: property declared here
 64 |     guard let duration = currentItem?.duration, duration.isValid, !duration.seconds.isNaN else { return 0 }
 65 |     return duration.seconds
    :
295 |
296 |       delegate?.mediaPlayer(self, didProgressToTime: time.seconds)
297 |       delegate?.mediaPlayer(self, onProgressUpdate: Float(time.seconds / duration))
    |                                                                          `- warning: main actor-isolated property 'duration' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
298 |       timeObserverCallback(time: time)
299 |
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:298:7: warning: call to main actor-isolated instance method 'timeObserverCallback(time:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
296 |       delegate?.mediaPlayer(self, didProgressToTime: time.seconds)
297 |       delegate?.mediaPlayer(self, onProgressUpdate: Float(time.seconds / duration))
298 |       timeObserverCallback(time: time)
    |       `- warning: call to main actor-isolated instance method 'timeObserverCallback(time:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
299 |
300 |       guard let currentItem = self.currentItem, currentItem.status == .readyToPlay else { return }
    :
305 |   }
306 |
307 |   func timeObserverCallback(time: CMTime) {
    |        |- note: calls to instance method 'timeObserverCallback(time:)' from outside of its actor context are implicitly asynchronous
    |        `- note: main actor isolation inferred from inheritance from class 'AVPlayer'
308 |     guard (time.seconds + Double(timeObservingMiliseconds) / 1_000) >= playbackInterval.endAt else { return }
309 |
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:302:9: warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
 84 |   }
 85 |
 86 |   public weak var delegate: MediaPlayerDelegate?
    |                   `- note: property declared here
 87 |
 88 |   /// Boolean flag `true` when item is prepared and can be played
    :
300 |       guard let currentItem = self.currentItem, currentItem.status == .readyToPlay else { return }
301 |       currentItem.isPlaybackLikelyToKeepUp
302 |       ? delegate?.mediaPlayer(didEndBuffering: self)
    |         `- warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
303 |       : delegate?.mediaPlayer(didBeginBuffering: self)
304 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:303:9: warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
 84 |   }
 85 |
 86 |   public weak var delegate: MediaPlayerDelegate?
    |                   `- note: property declared here
 87 |
 88 |   /// Boolean flag `true` when item is prepared and can be played
    :
301 |       currentItem.isPlaybackLikelyToKeepUp
302 |       ? delegate?.mediaPlayer(didEndBuffering: self)
303 |       : delegate?.mediaPlayer(didBeginBuffering: self)
    |         `- warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
304 |     }
305 |   }
[51/139] Compiling PovioKitUtilities MediaPlayer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:97:5: warning: call to main actor-isolated instance method 'setupPlayerItemObserver()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 95 |   override public init() {
 96 |     super.init()
 97 |     setupPlayerItemObserver()
    |     `- warning: call to main actor-isolated instance method 'setupPlayerItemObserver()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 98 |   }
 99 |
    :
243 | // MARK: - Private Methods
244 | private extension MediaPlayer {
245 |   func setupPlayerItemObserver() {
    |        |- note: calls to instance method 'setupPlayerItemObserver()' from outside of its actor context are implicitly asynchronous
    |        `- note: main actor isolation inferred from inheritance from class 'AVPlayer'
246 |     // notification when playback ends
247 |     NotificationCenter.default.addObserver(
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:102:5: warning: call to main actor-isolated instance method 'setupPlayerItemObserver()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
100 |   public override init(url: URL) {
101 |     super.init(playerItem: AVPlayerItem(url: url))
102 |     setupPlayerItemObserver()
    |     `- warning: call to main actor-isolated instance method 'setupPlayerItemObserver()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
103 |   }
104 |
    :
243 | // MARK: - Private Methods
244 | private extension MediaPlayer {
245 |   func setupPlayerItemObserver() {
    |        |- note: calls to instance method 'setupPlayerItemObserver()' from outside of its actor context are implicitly asynchronous
    |        `- note: main actor isolation inferred from inheritance from class 'AVPlayer'
246 |     // notification when playback ends
247 |     NotificationCenter.default.addObserver(
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:107:5: warning: call to main actor-isolated instance method 'setupPlayerItemObserver()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
105 |   public override init(playerItem item: AVPlayerItem?) {
106 |     super.init(playerItem: item)
107 |     setupPlayerItemObserver()
    |     `- warning: call to main actor-isolated instance method 'setupPlayerItemObserver()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
108 |   }
109 |
    :
243 | // MARK: - Private Methods
244 | private extension MediaPlayer {
245 |   func setupPlayerItemObserver() {
    |        |- note: calls to instance method 'setupPlayerItemObserver()' from outside of its actor context are implicitly asynchronous
    |        `- note: main actor isolation inferred from inheritance from class 'AVPlayer'
246 |     // notification when playback ends
247 |     NotificationCenter.default.addObserver(
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:120:11: warning: main actor-isolated property 'canPlayVideo' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 87 |
 88 |   /// Boolean flag `true` when item is prepared and can be played
 89 |   private var canPlayVideo: Bool = false
    |               `- note: property declared here
 90 |   /// Flipped to `true` when trying to start playing but `canPlayVideo` is false
 91 |   private var playWhenReady: Bool = false
    :
118 |   /// This function also updates the state of the media player to `.playing` and informs the delegate that the playback has started.
119 |   public override func play() {
120 |     guard canPlayVideo else {
    |           `- warning: main actor-isolated property 'canPlayVideo' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
121 |       setupPlayerItemObserver()
122 |       playWhenReady = true
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:121:7: warning: call to main actor-isolated instance method 'setupPlayerItemObserver()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
119 |   public override func play() {
120 |     guard canPlayVideo else {
121 |       setupPlayerItemObserver()
    |       `- warning: call to main actor-isolated instance method 'setupPlayerItemObserver()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
122 |       playWhenReady = true
123 |       return
    :
243 | // MARK: - Private Methods
244 | private extension MediaPlayer {
245 |   func setupPlayerItemObserver() {
    |        |- note: calls to instance method 'setupPlayerItemObserver()' from outside of its actor context are implicitly asynchronous
    |        `- note: main actor isolation inferred from inheritance from class 'AVPlayer'
246 |     // notification when playback ends
247 |     NotificationCenter.default.addObserver(
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:122:7: warning: main actor-isolated property 'playWhenReady' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 89 |   private var canPlayVideo: Bool = false
 90 |   /// Flipped to `true` when trying to start playing but `canPlayVideo` is false
 91 |   private var playWhenReady: Bool = false
    |               `- note: mutation of this property is only permitted within the actor
 92 |   private var playerItemObserver: NSKeyValueObservation?
 93 |   private var periodicTimeObserver: Any?
    :
120 |     guard canPlayVideo else {
121 |       setupPlayerItemObserver()
122 |       playWhenReady = true
    |       `- warning: main actor-isolated property 'playWhenReady' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
123 |       return
124 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:126:5: warning: main actor-isolated property 'playWhenReady' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 89 |   private var canPlayVideo: Bool = false
 90 |   /// Flipped to `true` when trying to start playing but `canPlayVideo` is false
 91 |   private var playWhenReady: Bool = false
    |               `- note: mutation of this property is only permitted within the actor
 92 |   private var playerItemObserver: NSKeyValueObservation?
 93 |   private var periodicTimeObserver: Any?
    :
124 |     }
125 |
126 |     playWhenReady = false
    |     `- warning: main actor-isolated property 'playWhenReady' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
127 |     setupPlayerItemObserver()
128 |     super.play()
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:127:5: warning: call to main actor-isolated instance method 'setupPlayerItemObserver()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
125 |
126 |     playWhenReady = false
127 |     setupPlayerItemObserver()
    |     `- warning: call to main actor-isolated instance method 'setupPlayerItemObserver()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
128 |     super.play()
129 |     state = .playing
    :
243 | // MARK: - Private Methods
244 | private extension MediaPlayer {
245 |   func setupPlayerItemObserver() {
    |        |- note: calls to instance method 'setupPlayerItemObserver()' from outside of its actor context are implicitly asynchronous
    |        `- note: main actor isolation inferred from inheritance from class 'AVPlayer'
246 |     // notification when playback ends
247 |     NotificationCenter.default.addObserver(
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:129:5: warning: main actor-isolated property 'state' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 80 |   /// This property is of type `MediaPlayerPlaybackState` and its default value is `.undefined`.
 81 |   /// When the state changes, the media player informs its delegate by calling the `mediaPlayer(_:didUpdatePlaybackState:)` method.
 82 |   public var state: PlaybackState = .preparing {
    |              `- note: mutation of this property is only permitted within the actor
 83 |     didSet { onStateUpdate() }
 84 |   }
    :
127 |     setupPlayerItemObserver()
128 |     super.play()
129 |     state = .playing
    |     `- warning: main actor-isolated property 'state' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
130 |   }
131 |
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:207:5: warning: main actor-isolated property 'state' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 80 |   /// This property is of type `MediaPlayerPlaybackState` and its default value is `.undefined`.
 81 |   /// When the state changes, the media player informs its delegate by calling the `mediaPlayer(_:didUpdatePlaybackState:)` method.
 82 |   public var state: PlaybackState = .preparing {
    |              `- note: mutation of this property is only permitted within the actor
 83 |     didSet { onStateUpdate() }
 84 |   }
    :
205 |   public override func pause() {
206 |     super.pause()
207 |     state = .paused
    |     `- warning: main actor-isolated property 'state' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
208 |   }
209 |
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:218:5: warning: main actor-isolated property 'playbackInterval' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 38 |
 39 | public class MediaPlayer: AVPlayer {
 40 |   public private(set) lazy var playbackInterval: (startAt: Double, endAt: Double) = (0, duration)
    |                                `- note: mutation of this property is only permitted within the actor
 41 |
 42 |   /// A Boolean value that determines whether the media player should loop playback when it reaches the end of the media.
    :
216 |   public override func replaceCurrentItem(with item: AVPlayerItem?) {
217 |     super.replaceCurrentItem(with: item)
218 |     playbackInterval = (0, duration)
    |     `- warning: main actor-isolated property 'playbackInterval' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
219 |     setupPlayerItemObserver()
220 |   }
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:218:28: warning: main actor-isolated property 'duration' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 61 |
 62 |   /// The total duration of the current media item in seconds. This duration does not take into account any custom playback interval set.
 63 |   public var duration: Double {
    |              `- note: property declared here
 64 |     guard let duration = currentItem?.duration, duration.isValid, !duration.seconds.isNaN else { return 0 }
 65 |     return duration.seconds
    :
216 |   public override func replaceCurrentItem(with item: AVPlayerItem?) {
217 |     super.replaceCurrentItem(with: item)
218 |     playbackInterval = (0, duration)
    |                            `- warning: main actor-isolated property 'duration' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
219 |     setupPlayerItemObserver()
220 |   }
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:219:5: warning: call to main actor-isolated instance method 'setupPlayerItemObserver()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
217 |     super.replaceCurrentItem(with: item)
218 |     playbackInterval = (0, duration)
219 |     setupPlayerItemObserver()
    |     `- warning: call to main actor-isolated instance method 'setupPlayerItemObserver()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
220 |   }
221 |
    :
243 | // MARK: - Private Methods
244 | private extension MediaPlayer {
245 |   func setupPlayerItemObserver() {
    |        |- note: calls to instance method 'setupPlayerItemObserver()' from outside of its actor context are implicitly asynchronous
    |        `- note: main actor isolation inferred from inheritance from class 'AVPlayer'
246 |     // notification when playback ends
247 |     NotificationCenter.default.addObserver(
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:263:9: warning: main actor-isolated property 'canPlayVideo' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
 87 |
 88 |   /// Boolean flag `true` when item is prepared and can be played
 89 |   private var canPlayVideo: Bool = false
    |               `- note: mutation of this property is only permitted within the actor
 90 |   /// Flipped to `true` when trying to start playing but `canPlayVideo` is false
 91 |   private var playWhenReady: Bool = false
    :
261 |       switch playerItem.status {
262 |       case .readyToPlay:
263 |         canPlayVideo = true
    |         `- warning: main actor-isolated property 'canPlayVideo' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
264 |         state = .readyToPlay
265 |         setupPeriodicTimeObserver()
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:264:9: warning: main actor-isolated property 'state' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
 80 |   /// This property is of type `MediaPlayerPlaybackState` and its default value is `.undefined`.
 81 |   /// When the state changes, the media player informs its delegate by calling the `mediaPlayer(_:didUpdatePlaybackState:)` method.
 82 |   public var state: PlaybackState = .preparing {
    |              `- note: mutation of this property is only permitted within the actor
 83 |     didSet { onStateUpdate() }
 84 |   }
    :
262 |       case .readyToPlay:
263 |         canPlayVideo = true
264 |         state = .readyToPlay
    |         `- warning: main actor-isolated property 'state' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
265 |         setupPeriodicTimeObserver()
266 |         if playWhenReady {
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:265:9: warning: call to main actor-isolated instance method 'setupPeriodicTimeObserver()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
263 |         canPlayVideo = true
264 |         state = .readyToPlay
265 |         setupPeriodicTimeObserver()
    |         `- warning: call to main actor-isolated instance method 'setupPeriodicTimeObserver()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
266 |         if playWhenReady {
267 |           play()
    :
280 |   }
281 |
282 |   func setupPeriodicTimeObserver() {
    |        |- note: calls to instance method 'setupPeriodicTimeObserver()' from outside of its actor context are implicitly asynchronous
    |        `- note: main actor isolation inferred from inheritance from class 'AVPlayer'
283 |     guard periodicTimeObserver == nil else { return }
284 |     periodicTimeObserver = addPeriodicTimeObserver(
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:266:12: warning: main actor-isolated property 'playWhenReady' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
 89 |   private var canPlayVideo: Bool = false
 90 |   /// Flipped to `true` when trying to start playing but `canPlayVideo` is false
 91 |   private var playWhenReady: Bool = false
    |               `- note: property declared here
 92 |   private var playerItemObserver: NSKeyValueObservation?
 93 |   private var periodicTimeObserver: Any?
    :
264 |         state = .readyToPlay
265 |         setupPeriodicTimeObserver()
266 |         if playWhenReady {
    |            `- warning: main actor-isolated property 'playWhenReady' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
267 |           play()
268 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:270:9: warning: main actor-isolated property 'canPlayVideo' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
 87 |
 88 |   /// Boolean flag `true` when item is prepared and can be played
 89 |   private var canPlayVideo: Bool = false
    |               `- note: mutation of this property is only permitted within the actor
 90 |   /// Flipped to `true` when trying to start playing but `canPlayVideo` is false
 91 |   private var playWhenReady: Bool = false
    :
268 |         }
269 |       case .unknown:
270 |         canPlayVideo = false
    |         `- warning: main actor-isolated property 'canPlayVideo' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
271 |         state = .failed(error: Error.undefinedState)
272 |       case .failed:
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:271:9: warning: main actor-isolated property 'state' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
 80 |   /// This property is of type `MediaPlayerPlaybackState` and its default value is `.undefined`.
 81 |   /// When the state changes, the media player informs its delegate by calling the `mediaPlayer(_:didUpdatePlaybackState:)` method.
 82 |   public var state: PlaybackState = .preparing {
    |              `- note: mutation of this property is only permitted within the actor
 83 |     didSet { onStateUpdate() }
 84 |   }
    :
269 |       case .unknown:
270 |         canPlayVideo = false
271 |         state = .failed(error: Error.undefinedState)
    |         `- warning: main actor-isolated property 'state' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
272 |       case .failed:
273 |         canPlayVideo = false
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:273:9: warning: main actor-isolated property 'canPlayVideo' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
 87 |
 88 |   /// Boolean flag `true` when item is prepared and can be played
 89 |   private var canPlayVideo: Bool = false
    |               `- note: mutation of this property is only permitted within the actor
 90 |   /// Flipped to `true` when trying to start playing but `canPlayVideo` is false
 91 |   private var playWhenReady: Bool = false
    :
271 |         state = .failed(error: Error.undefinedState)
272 |       case .failed:
273 |         canPlayVideo = false
    |         `- warning: main actor-isolated property 'canPlayVideo' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
274 |         state = .failed(error: playerItem.error ?? Error.undefinedError)
275 |       @unknown default:
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:274:9: warning: main actor-isolated property 'state' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
 80 |   /// This property is of type `MediaPlayerPlaybackState` and its default value is `.undefined`.
 81 |   /// When the state changes, the media player informs its delegate by calling the `mediaPlayer(_:didUpdatePlaybackState:)` method.
 82 |   public var state: PlaybackState = .preparing {
    |              `- note: mutation of this property is only permitted within the actor
 83 |     didSet { onStateUpdate() }
 84 |   }
    :
272 |       case .failed:
273 |         canPlayVideo = false
274 |         state = .failed(error: playerItem.error ?? Error.undefinedError)
    |         `- warning: main actor-isolated property 'state' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
275 |       @unknown default:
276 |         canPlayVideo = false
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:276:9: warning: main actor-isolated property 'canPlayVideo' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
 87 |
 88 |   /// Boolean flag `true` when item is prepared and can be played
 89 |   private var canPlayVideo: Bool = false
    |               `- note: mutation of this property is only permitted within the actor
 90 |   /// Flipped to `true` when trying to start playing but `canPlayVideo` is false
 91 |   private var playWhenReady: Bool = false
    :
274 |         state = .failed(error: playerItem.error ?? Error.undefinedError)
275 |       @unknown default:
276 |         canPlayVideo = false
    |         `- warning: main actor-isolated property 'canPlayVideo' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
277 |         state = .failed(error: Error.undefinedState)
278 |       }
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:277:9: warning: main actor-isolated property 'state' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
 80 |   /// This property is of type `MediaPlayerPlaybackState` and its default value is `.undefined`.
 81 |   /// When the state changes, the media player informs its delegate by calling the `mediaPlayer(_:didUpdatePlaybackState:)` method.
 82 |   public var state: PlaybackState = .preparing {
    |              `- note: mutation of this property is only permitted within the actor
 83 |     didSet { onStateUpdate() }
 84 |   }
    :
275 |       @unknown default:
276 |         canPlayVideo = false
277 |         state = .failed(error: Error.undefinedState)
    |         `- warning: main actor-isolated property 'state' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
278 |       }
279 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:291:9: warning: main actor-isolated property 'state' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
 80 |   /// This property is of type `MediaPlayerPlaybackState` and its default value is `.undefined`.
 81 |   /// When the state changes, the media player informs its delegate by calling the `mediaPlayer(_:didUpdatePlaybackState:)` method.
 82 |   public var state: PlaybackState = .preparing {
    |              `- note: mutation of this property is only permitted within the actor
 83 |     didSet { onStateUpdate() }
 84 |   }
    :
289 |
290 |       if currentItem?.status == .failed, let error = currentItem?.error {
291 |         state = .failed(error: error)
    |         `- warning: main actor-isolated property 'state' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
292 |         removePeriodicTimeObserver()
293 |         return
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:292:9: warning: call to main actor-isolated instance method 'removePeriodicTimeObserver()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
290 |       if currentItem?.status == .failed, let error = currentItem?.error {
291 |         state = .failed(error: error)
292 |         removePeriodicTimeObserver()
    |         `- warning: call to main actor-isolated instance method 'removePeriodicTimeObserver()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
293 |         return
294 |       }
    :
321 |   }
322 |
323 |   func removePeriodicTimeObserver() {
    |        |- note: calls to instance method 'removePeriodicTimeObserver()' from outside of its actor context are implicitly asynchronous
    |        `- note: main actor isolation inferred from inheritance from class 'AVPlayer'
324 |     periodicTimeObserver.map(removeTimeObserver)
325 |     periodicTimeObserver = nil
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:296:7: warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
 84 |   }
 85 |
 86 |   public weak var delegate: MediaPlayerDelegate?
    |                   `- note: property declared here
 87 |
 88 |   /// Boolean flag `true` when item is prepared and can be played
    :
294 |       }
295 |
296 |       delegate?.mediaPlayer(self, didProgressToTime: time.seconds)
    |       `- warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
297 |       delegate?.mediaPlayer(self, onProgressUpdate: Float(time.seconds / duration))
298 |       timeObserverCallback(time: time)
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:297:7: warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
 84 |   }
 85 |
 86 |   public weak var delegate: MediaPlayerDelegate?
    |                   `- note: property declared here
 87 |
 88 |   /// Boolean flag `true` when item is prepared and can be played
    :
295 |
296 |       delegate?.mediaPlayer(self, didProgressToTime: time.seconds)
297 |       delegate?.mediaPlayer(self, onProgressUpdate: Float(time.seconds / duration))
    |       `- warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
298 |       timeObserverCallback(time: time)
299 |
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:297:74: warning: main actor-isolated property 'duration' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
 61 |
 62 |   /// The total duration of the current media item in seconds. This duration does not take into account any custom playback interval set.
 63 |   public var duration: Double {
    |              `- note: property declared here
 64 |     guard let duration = currentItem?.duration, duration.isValid, !duration.seconds.isNaN else { return 0 }
 65 |     return duration.seconds
    :
295 |
296 |       delegate?.mediaPlayer(self, didProgressToTime: time.seconds)
297 |       delegate?.mediaPlayer(self, onProgressUpdate: Float(time.seconds / duration))
    |                                                                          `- warning: main actor-isolated property 'duration' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
298 |       timeObserverCallback(time: time)
299 |
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:298:7: warning: call to main actor-isolated instance method 'timeObserverCallback(time:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
296 |       delegate?.mediaPlayer(self, didProgressToTime: time.seconds)
297 |       delegate?.mediaPlayer(self, onProgressUpdate: Float(time.seconds / duration))
298 |       timeObserverCallback(time: time)
    |       `- warning: call to main actor-isolated instance method 'timeObserverCallback(time:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
299 |
300 |       guard let currentItem = self.currentItem, currentItem.status == .readyToPlay else { return }
    :
305 |   }
306 |
307 |   func timeObserverCallback(time: CMTime) {
    |        |- note: calls to instance method 'timeObserverCallback(time:)' from outside of its actor context are implicitly asynchronous
    |        `- note: main actor isolation inferred from inheritance from class 'AVPlayer'
308 |     guard (time.seconds + Double(timeObservingMiliseconds) / 1_000) >= playbackInterval.endAt else { return }
309 |
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:302:9: warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
 84 |   }
 85 |
 86 |   public weak var delegate: MediaPlayerDelegate?
    |                   `- note: property declared here
 87 |
 88 |   /// Boolean flag `true` when item is prepared and can be played
    :
300 |       guard let currentItem = self.currentItem, currentItem.status == .readyToPlay else { return }
301 |       currentItem.isPlaybackLikelyToKeepUp
302 |       ? delegate?.mediaPlayer(didEndBuffering: self)
    |         `- warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
303 |       : delegate?.mediaPlayer(didBeginBuffering: self)
304 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:303:9: warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
 84 |   }
 85 |
 86 |   public weak var delegate: MediaPlayerDelegate?
    |                   `- note: property declared here
 87 |
 88 |   /// Boolean flag `true` when item is prepared and can be played
    :
301 |       currentItem.isPlaybackLikelyToKeepUp
302 |       ? delegate?.mediaPlayer(didEndBuffering: self)
303 |       : delegate?.mediaPlayer(didBeginBuffering: self)
    |         `- warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
304 |     }
305 |   }
[52/139] Compiling PovioKitUtilities MediaStream.swift
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:97:5: warning: call to main actor-isolated instance method 'setupPlayerItemObserver()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 95 |   override public init() {
 96 |     super.init()
 97 |     setupPlayerItemObserver()
    |     `- warning: call to main actor-isolated instance method 'setupPlayerItemObserver()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 98 |   }
 99 |
    :
243 | // MARK: - Private Methods
244 | private extension MediaPlayer {
245 |   func setupPlayerItemObserver() {
    |        |- note: calls to instance method 'setupPlayerItemObserver()' from outside of its actor context are implicitly asynchronous
    |        `- note: main actor isolation inferred from inheritance from class 'AVPlayer'
246 |     // notification when playback ends
247 |     NotificationCenter.default.addObserver(
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:102:5: warning: call to main actor-isolated instance method 'setupPlayerItemObserver()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
100 |   public override init(url: URL) {
101 |     super.init(playerItem: AVPlayerItem(url: url))
102 |     setupPlayerItemObserver()
    |     `- warning: call to main actor-isolated instance method 'setupPlayerItemObserver()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
103 |   }
104 |
    :
243 | // MARK: - Private Methods
244 | private extension MediaPlayer {
245 |   func setupPlayerItemObserver() {
    |        |- note: calls to instance method 'setupPlayerItemObserver()' from outside of its actor context are implicitly asynchronous
    |        `- note: main actor isolation inferred from inheritance from class 'AVPlayer'
246 |     // notification when playback ends
247 |     NotificationCenter.default.addObserver(
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:107:5: warning: call to main actor-isolated instance method 'setupPlayerItemObserver()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
105 |   public override init(playerItem item: AVPlayerItem?) {
106 |     super.init(playerItem: item)
107 |     setupPlayerItemObserver()
    |     `- warning: call to main actor-isolated instance method 'setupPlayerItemObserver()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
108 |   }
109 |
    :
243 | // MARK: - Private Methods
244 | private extension MediaPlayer {
245 |   func setupPlayerItemObserver() {
    |        |- note: calls to instance method 'setupPlayerItemObserver()' from outside of its actor context are implicitly asynchronous
    |        `- note: main actor isolation inferred from inheritance from class 'AVPlayer'
246 |     // notification when playback ends
247 |     NotificationCenter.default.addObserver(
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:120:11: warning: main actor-isolated property 'canPlayVideo' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 87 |
 88 |   /// Boolean flag `true` when item is prepared and can be played
 89 |   private var canPlayVideo: Bool = false
    |               `- note: property declared here
 90 |   /// Flipped to `true` when trying to start playing but `canPlayVideo` is false
 91 |   private var playWhenReady: Bool = false
    :
118 |   /// This function also updates the state of the media player to `.playing` and informs the delegate that the playback has started.
119 |   public override func play() {
120 |     guard canPlayVideo else {
    |           `- warning: main actor-isolated property 'canPlayVideo' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
121 |       setupPlayerItemObserver()
122 |       playWhenReady = true
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:121:7: warning: call to main actor-isolated instance method 'setupPlayerItemObserver()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
119 |   public override func play() {
120 |     guard canPlayVideo else {
121 |       setupPlayerItemObserver()
    |       `- warning: call to main actor-isolated instance method 'setupPlayerItemObserver()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
122 |       playWhenReady = true
123 |       return
    :
243 | // MARK: - Private Methods
244 | private extension MediaPlayer {
245 |   func setupPlayerItemObserver() {
    |        |- note: calls to instance method 'setupPlayerItemObserver()' from outside of its actor context are implicitly asynchronous
    |        `- note: main actor isolation inferred from inheritance from class 'AVPlayer'
246 |     // notification when playback ends
247 |     NotificationCenter.default.addObserver(
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:122:7: warning: main actor-isolated property 'playWhenReady' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 89 |   private var canPlayVideo: Bool = false
 90 |   /// Flipped to `true` when trying to start playing but `canPlayVideo` is false
 91 |   private var playWhenReady: Bool = false
    |               `- note: mutation of this property is only permitted within the actor
 92 |   private var playerItemObserver: NSKeyValueObservation?
 93 |   private var periodicTimeObserver: Any?
    :
120 |     guard canPlayVideo else {
121 |       setupPlayerItemObserver()
122 |       playWhenReady = true
    |       `- warning: main actor-isolated property 'playWhenReady' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
123 |       return
124 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:126:5: warning: main actor-isolated property 'playWhenReady' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 89 |   private var canPlayVideo: Bool = false
 90 |   /// Flipped to `true` when trying to start playing but `canPlayVideo` is false
 91 |   private var playWhenReady: Bool = false
    |               `- note: mutation of this property is only permitted within the actor
 92 |   private var playerItemObserver: NSKeyValueObservation?
 93 |   private var periodicTimeObserver: Any?
    :
124 |     }
125 |
126 |     playWhenReady = false
    |     `- warning: main actor-isolated property 'playWhenReady' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
127 |     setupPlayerItemObserver()
128 |     super.play()
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:127:5: warning: call to main actor-isolated instance method 'setupPlayerItemObserver()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
125 |
126 |     playWhenReady = false
127 |     setupPlayerItemObserver()
    |     `- warning: call to main actor-isolated instance method 'setupPlayerItemObserver()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
128 |     super.play()
129 |     state = .playing
    :
243 | // MARK: - Private Methods
244 | private extension MediaPlayer {
245 |   func setupPlayerItemObserver() {
    |        |- note: calls to instance method 'setupPlayerItemObserver()' from outside of its actor context are implicitly asynchronous
    |        `- note: main actor isolation inferred from inheritance from class 'AVPlayer'
246 |     // notification when playback ends
247 |     NotificationCenter.default.addObserver(
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:129:5: warning: main actor-isolated property 'state' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 80 |   /// This property is of type `MediaPlayerPlaybackState` and its default value is `.undefined`.
 81 |   /// When the state changes, the media player informs its delegate by calling the `mediaPlayer(_:didUpdatePlaybackState:)` method.
 82 |   public var state: PlaybackState = .preparing {
    |              `- note: mutation of this property is only permitted within the actor
 83 |     didSet { onStateUpdate() }
 84 |   }
    :
127 |     setupPlayerItemObserver()
128 |     super.play()
129 |     state = .playing
    |     `- warning: main actor-isolated property 'state' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
130 |   }
131 |
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:207:5: warning: main actor-isolated property 'state' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 80 |   /// This property is of type `MediaPlayerPlaybackState` and its default value is `.undefined`.
 81 |   /// When the state changes, the media player informs its delegate by calling the `mediaPlayer(_:didUpdatePlaybackState:)` method.
 82 |   public var state: PlaybackState = .preparing {
    |              `- note: mutation of this property is only permitted within the actor
 83 |     didSet { onStateUpdate() }
 84 |   }
    :
205 |   public override func pause() {
206 |     super.pause()
207 |     state = .paused
    |     `- warning: main actor-isolated property 'state' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
208 |   }
209 |
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:218:5: warning: main actor-isolated property 'playbackInterval' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 38 |
 39 | public class MediaPlayer: AVPlayer {
 40 |   public private(set) lazy var playbackInterval: (startAt: Double, endAt: Double) = (0, duration)
    |                                `- note: mutation of this property is only permitted within the actor
 41 |
 42 |   /// A Boolean value that determines whether the media player should loop playback when it reaches the end of the media.
    :
216 |   public override func replaceCurrentItem(with item: AVPlayerItem?) {
217 |     super.replaceCurrentItem(with: item)
218 |     playbackInterval = (0, duration)
    |     `- warning: main actor-isolated property 'playbackInterval' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
219 |     setupPlayerItemObserver()
220 |   }
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:218:28: warning: main actor-isolated property 'duration' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 61 |
 62 |   /// The total duration of the current media item in seconds. This duration does not take into account any custom playback interval set.
 63 |   public var duration: Double {
    |              `- note: property declared here
 64 |     guard let duration = currentItem?.duration, duration.isValid, !duration.seconds.isNaN else { return 0 }
 65 |     return duration.seconds
    :
216 |   public override func replaceCurrentItem(with item: AVPlayerItem?) {
217 |     super.replaceCurrentItem(with: item)
218 |     playbackInterval = (0, duration)
    |                            `- warning: main actor-isolated property 'duration' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
219 |     setupPlayerItemObserver()
220 |   }
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:219:5: warning: call to main actor-isolated instance method 'setupPlayerItemObserver()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
217 |     super.replaceCurrentItem(with: item)
218 |     playbackInterval = (0, duration)
219 |     setupPlayerItemObserver()
    |     `- warning: call to main actor-isolated instance method 'setupPlayerItemObserver()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
220 |   }
221 |
    :
243 | // MARK: - Private Methods
244 | private extension MediaPlayer {
245 |   func setupPlayerItemObserver() {
    |        |- note: calls to instance method 'setupPlayerItemObserver()' from outside of its actor context are implicitly asynchronous
    |        `- note: main actor isolation inferred from inheritance from class 'AVPlayer'
246 |     // notification when playback ends
247 |     NotificationCenter.default.addObserver(
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:263:9: warning: main actor-isolated property 'canPlayVideo' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
 87 |
 88 |   /// Boolean flag `true` when item is prepared and can be played
 89 |   private var canPlayVideo: Bool = false
    |               `- note: mutation of this property is only permitted within the actor
 90 |   /// Flipped to `true` when trying to start playing but `canPlayVideo` is false
 91 |   private var playWhenReady: Bool = false
    :
261 |       switch playerItem.status {
262 |       case .readyToPlay:
263 |         canPlayVideo = true
    |         `- warning: main actor-isolated property 'canPlayVideo' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
264 |         state = .readyToPlay
265 |         setupPeriodicTimeObserver()
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:264:9: warning: main actor-isolated property 'state' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
 80 |   /// This property is of type `MediaPlayerPlaybackState` and its default value is `.undefined`.
 81 |   /// When the state changes, the media player informs its delegate by calling the `mediaPlayer(_:didUpdatePlaybackState:)` method.
 82 |   public var state: PlaybackState = .preparing {
    |              `- note: mutation of this property is only permitted within the actor
 83 |     didSet { onStateUpdate() }
 84 |   }
    :
262 |       case .readyToPlay:
263 |         canPlayVideo = true
264 |         state = .readyToPlay
    |         `- warning: main actor-isolated property 'state' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
265 |         setupPeriodicTimeObserver()
266 |         if playWhenReady {
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:265:9: warning: call to main actor-isolated instance method 'setupPeriodicTimeObserver()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
263 |         canPlayVideo = true
264 |         state = .readyToPlay
265 |         setupPeriodicTimeObserver()
    |         `- warning: call to main actor-isolated instance method 'setupPeriodicTimeObserver()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
266 |         if playWhenReady {
267 |           play()
    :
280 |   }
281 |
282 |   func setupPeriodicTimeObserver() {
    |        |- note: calls to instance method 'setupPeriodicTimeObserver()' from outside of its actor context are implicitly asynchronous
    |        `- note: main actor isolation inferred from inheritance from class 'AVPlayer'
283 |     guard periodicTimeObserver == nil else { return }
284 |     periodicTimeObserver = addPeriodicTimeObserver(
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:266:12: warning: main actor-isolated property 'playWhenReady' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
 89 |   private var canPlayVideo: Bool = false
 90 |   /// Flipped to `true` when trying to start playing but `canPlayVideo` is false
 91 |   private var playWhenReady: Bool = false
    |               `- note: property declared here
 92 |   private var playerItemObserver: NSKeyValueObservation?
 93 |   private var periodicTimeObserver: Any?
    :
264 |         state = .readyToPlay
265 |         setupPeriodicTimeObserver()
266 |         if playWhenReady {
    |            `- warning: main actor-isolated property 'playWhenReady' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
267 |           play()
268 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:270:9: warning: main actor-isolated property 'canPlayVideo' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
 87 |
 88 |   /// Boolean flag `true` when item is prepared and can be played
 89 |   private var canPlayVideo: Bool = false
    |               `- note: mutation of this property is only permitted within the actor
 90 |   /// Flipped to `true` when trying to start playing but `canPlayVideo` is false
 91 |   private var playWhenReady: Bool = false
    :
268 |         }
269 |       case .unknown:
270 |         canPlayVideo = false
    |         `- warning: main actor-isolated property 'canPlayVideo' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
271 |         state = .failed(error: Error.undefinedState)
272 |       case .failed:
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:271:9: warning: main actor-isolated property 'state' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
 80 |   /// This property is of type `MediaPlayerPlaybackState` and its default value is `.undefined`.
 81 |   /// When the state changes, the media player informs its delegate by calling the `mediaPlayer(_:didUpdatePlaybackState:)` method.
 82 |   public var state: PlaybackState = .preparing {
    |              `- note: mutation of this property is only permitted within the actor
 83 |     didSet { onStateUpdate() }
 84 |   }
    :
269 |       case .unknown:
270 |         canPlayVideo = false
271 |         state = .failed(error: Error.undefinedState)
    |         `- warning: main actor-isolated property 'state' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
272 |       case .failed:
273 |         canPlayVideo = false
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:273:9: warning: main actor-isolated property 'canPlayVideo' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
 87 |
 88 |   /// Boolean flag `true` when item is prepared and can be played
 89 |   private var canPlayVideo: Bool = false
    |               `- note: mutation of this property is only permitted within the actor
 90 |   /// Flipped to `true` when trying to start playing but `canPlayVideo` is false
 91 |   private var playWhenReady: Bool = false
    :
271 |         state = .failed(error: Error.undefinedState)
272 |       case .failed:
273 |         canPlayVideo = false
    |         `- warning: main actor-isolated property 'canPlayVideo' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
274 |         state = .failed(error: playerItem.error ?? Error.undefinedError)
275 |       @unknown default:
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:274:9: warning: main actor-isolated property 'state' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
 80 |   /// This property is of type `MediaPlayerPlaybackState` and its default value is `.undefined`.
 81 |   /// When the state changes, the media player informs its delegate by calling the `mediaPlayer(_:didUpdatePlaybackState:)` method.
 82 |   public var state: PlaybackState = .preparing {
    |              `- note: mutation of this property is only permitted within the actor
 83 |     didSet { onStateUpdate() }
 84 |   }
    :
272 |       case .failed:
273 |         canPlayVideo = false
274 |         state = .failed(error: playerItem.error ?? Error.undefinedError)
    |         `- warning: main actor-isolated property 'state' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
275 |       @unknown default:
276 |         canPlayVideo = false
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:276:9: warning: main actor-isolated property 'canPlayVideo' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
 87 |
 88 |   /// Boolean flag `true` when item is prepared and can be played
 89 |   private var canPlayVideo: Bool = false
    |               `- note: mutation of this property is only permitted within the actor
 90 |   /// Flipped to `true` when trying to start playing but `canPlayVideo` is false
 91 |   private var playWhenReady: Bool = false
    :
274 |         state = .failed(error: playerItem.error ?? Error.undefinedError)
275 |       @unknown default:
276 |         canPlayVideo = false
    |         `- warning: main actor-isolated property 'canPlayVideo' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
277 |         state = .failed(error: Error.undefinedState)
278 |       }
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:277:9: warning: main actor-isolated property 'state' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
 80 |   /// This property is of type `MediaPlayerPlaybackState` and its default value is `.undefined`.
 81 |   /// When the state changes, the media player informs its delegate by calling the `mediaPlayer(_:didUpdatePlaybackState:)` method.
 82 |   public var state: PlaybackState = .preparing {
    |              `- note: mutation of this property is only permitted within the actor
 83 |     didSet { onStateUpdate() }
 84 |   }
    :
275 |       @unknown default:
276 |         canPlayVideo = false
277 |         state = .failed(error: Error.undefinedState)
    |         `- warning: main actor-isolated property 'state' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
278 |       }
279 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:291:9: warning: main actor-isolated property 'state' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
 80 |   /// This property is of type `MediaPlayerPlaybackState` and its default value is `.undefined`.
 81 |   /// When the state changes, the media player informs its delegate by calling the `mediaPlayer(_:didUpdatePlaybackState:)` method.
 82 |   public var state: PlaybackState = .preparing {
    |              `- note: mutation of this property is only permitted within the actor
 83 |     didSet { onStateUpdate() }
 84 |   }
    :
289 |
290 |       if currentItem?.status == .failed, let error = currentItem?.error {
291 |         state = .failed(error: error)
    |         `- warning: main actor-isolated property 'state' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
292 |         removePeriodicTimeObserver()
293 |         return
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:292:9: warning: call to main actor-isolated instance method 'removePeriodicTimeObserver()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
290 |       if currentItem?.status == .failed, let error = currentItem?.error {
291 |         state = .failed(error: error)
292 |         removePeriodicTimeObserver()
    |         `- warning: call to main actor-isolated instance method 'removePeriodicTimeObserver()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
293 |         return
294 |       }
    :
321 |   }
322 |
323 |   func removePeriodicTimeObserver() {
    |        |- note: calls to instance method 'removePeriodicTimeObserver()' from outside of its actor context are implicitly asynchronous
    |        `- note: main actor isolation inferred from inheritance from class 'AVPlayer'
324 |     periodicTimeObserver.map(removeTimeObserver)
325 |     periodicTimeObserver = nil
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:296:7: warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
 84 |   }
 85 |
 86 |   public weak var delegate: MediaPlayerDelegate?
    |                   `- note: property declared here
 87 |
 88 |   /// Boolean flag `true` when item is prepared and can be played
    :
294 |       }
295 |
296 |       delegate?.mediaPlayer(self, didProgressToTime: time.seconds)
    |       `- warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
297 |       delegate?.mediaPlayer(self, onProgressUpdate: Float(time.seconds / duration))
298 |       timeObserverCallback(time: time)
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:297:7: warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
 84 |   }
 85 |
 86 |   public weak var delegate: MediaPlayerDelegate?
    |                   `- note: property declared here
 87 |
 88 |   /// Boolean flag `true` when item is prepared and can be played
    :
295 |
296 |       delegate?.mediaPlayer(self, didProgressToTime: time.seconds)
297 |       delegate?.mediaPlayer(self, onProgressUpdate: Float(time.seconds / duration))
    |       `- warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
298 |       timeObserverCallback(time: time)
299 |
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:297:74: warning: main actor-isolated property 'duration' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
 61 |
 62 |   /// The total duration of the current media item in seconds. This duration does not take into account any custom playback interval set.
 63 |   public var duration: Double {
    |              `- note: property declared here
 64 |     guard let duration = currentItem?.duration, duration.isValid, !duration.seconds.isNaN else { return 0 }
 65 |     return duration.seconds
    :
295 |
296 |       delegate?.mediaPlayer(self, didProgressToTime: time.seconds)
297 |       delegate?.mediaPlayer(self, onProgressUpdate: Float(time.seconds / duration))
    |                                                                          `- warning: main actor-isolated property 'duration' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
298 |       timeObserverCallback(time: time)
299 |
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:298:7: warning: call to main actor-isolated instance method 'timeObserverCallback(time:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
296 |       delegate?.mediaPlayer(self, didProgressToTime: time.seconds)
297 |       delegate?.mediaPlayer(self, onProgressUpdate: Float(time.seconds / duration))
298 |       timeObserverCallback(time: time)
    |       `- warning: call to main actor-isolated instance method 'timeObserverCallback(time:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
299 |
300 |       guard let currentItem = self.currentItem, currentItem.status == .readyToPlay else { return }
    :
305 |   }
306 |
307 |   func timeObserverCallback(time: CMTime) {
    |        |- note: calls to instance method 'timeObserverCallback(time:)' from outside of its actor context are implicitly asynchronous
    |        `- note: main actor isolation inferred from inheritance from class 'AVPlayer'
308 |     guard (time.seconds + Double(timeObservingMiliseconds) / 1_000) >= playbackInterval.endAt else { return }
309 |
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:302:9: warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
 84 |   }
 85 |
 86 |   public weak var delegate: MediaPlayerDelegate?
    |                   `- note: property declared here
 87 |
 88 |   /// Boolean flag `true` when item is prepared and can be played
    :
300 |       guard let currentItem = self.currentItem, currentItem.status == .readyToPlay else { return }
301 |       currentItem.isPlaybackLikelyToKeepUp
302 |       ? delegate?.mediaPlayer(didEndBuffering: self)
    |         `- warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
303 |       : delegate?.mediaPlayer(didBeginBuffering: self)
304 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/MediaPlayer/MediaPlayer.swift:303:9: warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
 84 |   }
 85 |
 86 |   public weak var delegate: MediaPlayerDelegate?
    |                   `- note: property declared here
 87 |
 88 |   /// Boolean flag `true` when item is prepared and can be played
    :
301 |       currentItem.isPlaybackLikelyToKeepUp
302 |       ? delegate?.mediaPlayer(didEndBuffering: self)
303 |       : delegate?.mediaPlayer(didBeginBuffering: self)
    |         `- warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
304 |     }
305 |   }
[53/139] Compiling PovioKitUtilities Money.swift
[54/139] Compiling PovioKitUtilities UserDefault.swift
[55/139] Compiling PovioKitUtilities XCConfigValue.swift
[56/139] Compiling PovioKitUtilities AppVersionValidator.swift
[57/139] Compiling PovioKitUtilities AttributedStringBuilder.swift
[58/139] Compiling PovioKitUtilities UILabel+BuilderCompatible.swift
[59/139] Compiling PovioKitUtilities UITextField+BuilderCompatible.swift
[60/139] Compiling PovioKitUtilities CameraService.swift
[61/139] Compiling PovioKitUtilities PhotoCamera.swift
[62/139] Compiling PovioKitUtilities QRCodeScanner.swift
[63/139] Compiling PovioKitUtilities Exif.swift
[64/139] Compiling PovioKitUtilities ExifError.swift
[65/139] Compiling PovioKitUtilities ExifImageSource.swift
[66/139] Compiling PovioKitUtilities ColorInterpolator.swift
[67/139] Compiling PovioKitUtilities Delegated.swift
[68/139] Compiling PovioKitUtilities DispatchTimer.swift
[69/139] Compiling Kingfisher Placeholder.swift
[70/139] Compiling Kingfisher AuthenticationChallengeResponsable.swift
[71/139] Compiling Kingfisher ImageDataProcessor.swift
[72/139] Compiling Kingfisher ImageDownloader+LivePhoto.swift
[73/139] Compiling Kingfisher ImageDownloader.swift
[74/139] Compiling Kingfisher ImageDownloaderDelegate.swift
[75/139] Compiling Kingfisher ImageModifier.swift
[76/139] Compiling Kingfisher Result.swift
[77/139] Compiling Kingfisher Runtime.swift
[78/139] Compiling Kingfisher SizeExtensions.swift
[79/139] Compiling Kingfisher String+SHA256.swift
[80/139] Compiling Kingfisher AnimatedImageView.swift
[81/139] Compiling Kingfisher Indicator.swift
[82/139] Compiling Kingfisher resource_bundle_accessor.swift
[97/139] Compiling Kingfisher KFImageRenderer.swift
[98/139] Compiling Kingfisher Box.swift
[99/139] Compiling Kingfisher CallbackQueue.swift
[100/139] Compiling Kingfisher CancellationToken.swift
[101/139] Compiling Kingfisher Delegate.swift
[102/139] Compiling Kingfisher DisplayLink.swift
[103/139] Compiling Kingfisher ExtensionHelpers.swift
[104/139] Compiling Kingfisher ImagePrefetcher.swift
[105/139] Compiling Kingfisher NetworkMetrics.swift
[106/139] Compiling Kingfisher NetworkMonitor.swift
[107/139] Compiling Kingfisher RedirectHandler.swift
[108/139] Compiling Kingfisher RequestModifier.swift
[109/139] Compiling Kingfisher RetryStrategy.swift
[110/139] Compiling Kingfisher SessionDataTask.swift
[111/139] Compiling Kingfisher SessionDelegate.swift
[112/139] Compiling Kingfisher ImageBinder.swift
[113/139] Compiling Kingfisher ImageContext.swift
[114/139] Compiling Kingfisher KFAnimatedImage.swift
[115/139] Compiling Kingfisher KFImage.swift
[116/139] Compiling Kingfisher KFImageOptions.swift
[117/139] Compiling Kingfisher KFImageProtocol.swift
[136/139] Compiling Kingfisher PHLivePhotoView+Kingfisher.swift
[137/139] Compiling Kingfisher UIButton+Kingfisher.swift
[138/139] Compiling Kingfisher AVAssetImageDataProvider.swift
[139/139] Compiling Kingfisher ImageDataProvider.swift
[140/177] Compiling PovioKitUIKit UICollectionView+PovioKit.swift
[141/177] Compiling PovioKitUIKit UIColor+PovioKit.swift
[142/177] Compiling PovioKitUIKit CGSize+PovioKit.swift
[143/177] Compiling PovioKitUIKit UICollectionReusableView+PovioKit.swift
[144/177] Emitting module PovioKitUIKit
[145/177] Compiling PovioKitUIKit UIDevice+PovioKit.swift
[146/177] Compiling PovioKitUIKit UIEdgeInsets+PovioKit.swift
[147/179] Compiling PovioKitUIKit DynamicCollectionCell.swift
[148/179] Compiling PovioKitUIKit GradientView.swift
[149/179] Compiling PovioKitUIKit UIImage+Kingfisher.swift
[150/179] Compiling PovioKitUIKit UIImage+PovioKit.swift
[151/179] Compiling PovioKitUIKit UIViewController+PovioKit.swift
[152/179] Compiling PovioKitUIKit UIWindow+PovioKit.swift
[153/179] Compiling PovioKitUIKit UIProgressView+PovioKit.swift
[154/179] Compiling PovioKitUIKit UIResponder+PovioKit.swift
[155/179] Compiling PovioKitUIKit UITableView+PovioKit.swift
[156/179] Compiling PovioKitUIKit UITableViewCell+PovioKit.swift
[157/179] Compiling PovioKitUIKit UITableViewHeaderFooterView+PovioKit.swift
[158/179] Compiling PovioKitUIKit UIView+PovioKit.swift
[159/179] Compiling PovioKitUIKit PaddingLabel.swift
[160/179] Compiling PovioKitUIKit TextField.swift
[177/181] Emitting module PovioKitSwiftUI
/Users/admin/builder/spi-builder-workspace/Sources/UI/SwiftUI/Views/ScrollViewWithOffset/ScrollViewWithOffset.swift:84:14: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
82 |
83 | private struct ScrollOffsetPreferenceKey: PreferenceKey {
84 |   static var defaultValue: CGPoint = .zero
   |              |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |              |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 |   static func reduce(value: inout CGPoint, nextValue: () -> CGPoint) { /* no impl */ }
86 | }
[180/181] Compiling PovioKitSwiftUI ScrollViewWithOffset.swift
/Users/admin/builder/spi-builder-workspace/Sources/UI/SwiftUI/Views/ScrollViewWithOffset/ScrollViewWithOffset.swift:84:14: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
82 |
83 | private struct ScrollOffsetPreferenceKey: PreferenceKey {
84 |   static var defaultValue: CGPoint = .zero
   |              |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |              |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 |   static func reduce(value: inout CGPoint, nextValue: () -> CGPoint) { /* no impl */ }
86 | }
[181/181] Compiling PovioKitSwiftUI SimpleColorPicker.swift
/Users/admin/builder/spi-builder-workspace/Sources/UI/SwiftUI/Views/ScrollViewWithOffset/ScrollViewWithOffset.swift:84:14: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
82 |
83 | private struct ScrollOffsetPreferenceKey: PreferenceKey {
84 |   static var defaultValue: CGPoint = .zero
   |              |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |              |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 |   static func reduce(value: inout CGPoint, nextValue: () -> CGPoint) { /* no impl */ }
86 | }
Build complete! (26.54s)
Fetching https://github.com/onevcat/Kingfisher
[1/32598] Fetching kingfisher
Fetched https://github.com/onevcat/Kingfisher from cache (8.27s)
Computing version for https://github.com/onevcat/Kingfisher
Computed https://github.com/onevcat/Kingfisher at 8.8.1 (8.80s)
Creating working copy for https://github.com/onevcat/Kingfisher
Working copy of https://github.com/onevcat/Kingfisher resolved at 8.8.1
warning: 'kingfisher': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/.build/checkouts/Kingfisher/Sources/Info.plist
Build complete.
{
  "dependencies" : [
    {
      "identity" : "kingfisher",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "8.0.0",
            "upper_bound" : "9.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/onevcat/Kingfisher"
    }
  ],
  "manifest_display_name" : "PovioKit",
  "name" : "PovioKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "PovioKitCore",
      "targets" : [
        "PovioKitCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "PovioKitUtilities",
      "targets" : [
        "PovioKitUtilities"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "PovioKitUIKit",
      "targets" : [
        "PovioKitUIKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "PovioKitSwiftUI",
      "targets" : [
        "PovioKitSwiftUI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "PovioKitAppKit",
      "targets" : [
        "PovioKitAppKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "PovioKitAsync",
      "targets" : [
        "PovioKitAsync"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "Tests",
      "module_type" : "SwiftTarget",
      "name" : "Tests",
      "path" : "Tests/Tests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/Tests/Resources/PovioKit.png",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Core/AppInfoTests.swift",
        "Core/Extensions/Foundation/CollectionGroupedTests.swift",
        "Core/Extensions/Foundation/CollectionTests.swift",
        "Core/Extensions/Foundation/DataTests.swift",
        "Core/Extensions/Foundation/DateFormatterTests.swift",
        "Core/Extensions/Foundation/DateTests.swift",
        "Core/Extensions/Foundation/DecodableDictionaryTests.swift",
        "Core/Extensions/Foundation/DispatchTimeIntervalTests.swift",
        "Core/Extensions/Foundation/DoubleConversionTests.swift",
        "Core/Extensions/Foundation/DoubleTests.swift",
        "Core/Extensions/Foundation/EncodableTests.swift",
        "Core/Extensions/Foundation/OptionalTests.swift",
        "Core/Extensions/Foundation/ResultTests.swift",
        "Core/Extensions/Foundation/StringTests.swift",
        "Core/Extensions/Foundation/URLTests.swift",
        "Core/Extensions/MapKit/MKAnnotationViewTests.swift",
        "Core/Extensions/MapKit/MKGeometryExtensionsTests.swift",
        "Core/Extensions/UIKit/CGSizeTests.swift",
        "Core/Extensions/UIKit/UIColorTests.swift",
        "Core/Extensions/UIKit/UIDeviceTests.swift",
        "Core/Extensions/UIKit/UIEdgeInsetsTests.swift",
        "Core/Extensions/UIKit/UIImageTests.swift",
        "Core/Extensions/UIKit/UIResponderTests.swift",
        "Core/Extensions/UIKit/UIWindowTests.swift",
        "Core/Logger/LoggerTests.swift",
        "Core/Utilities/App Version Validator/AppVersionValidatorTests.swift",
        "Core/Utilities/AsyncThrottleSequence/AsyncThrottleSequenceTests.swift",
        "Core/Utilities/AttributedStringBuilder/AttributedStringBuilderTests.swift",
        "Core/Utilities/Broadcast/BroadcastTests.swift",
        "Core/Utilities/BundleReader/BundleReaderTests.swift",
        "Core/Utilities/Camera/CameraModelsTests.swift",
        "Core/Utilities/ColorInterpolator/ColorInterpolatorTests.swift",
        "Core/Utilities/Currency/CurrencyTests.swift",
        "Core/Utilities/Delegated/DelegatedTests.swift",
        "Core/Utilities/DispatchTimer/DispatchTimerTests.swift",
        "Core/Utilities/Exif/ExifErrorTests.swift",
        "Core/Utilities/Exif/ExifImageSourceTests.swift",
        "Core/Utilities/Exif/ExifMacOSTests.swift",
        "Core/Utilities/Exif/ExifTests.swift",
        "Core/Utilities/InAppPurchase/InAppPurchaseErrorTests.swift",
        "Core/Utilities/MediaPlayer/AudioPlayerTests.swift",
        "Core/Utilities/MediaPlayer/MediaPlayerBehaviorTests.swift",
        "Core/Utilities/MediaPlayer/MediaPlayerModelsTests.swift",
        "Core/Utilities/MediaPlayer/MediaStreamTests.swift",
        "Core/Utilities/Money/MoneyExtensionsTests.swift",
        "Core/Utilities/Money/MoneyTests.swift",
        "Core/Utilities/MoneyDefaults/MoneyDefaultsTests.swift",
        "Core/Utilities/StartupService/StartupProcessServiceTests.swift",
        "Core/Utilities/Throttler/ThrottlerTests.swift",
        "Core/Utilities/UserDefaults/UserDefaultTests.swift",
        "UI/SwiftUI/ColorExtensionTests.swift",
        "UI/SwiftUI/ViewAndModifierExtensionsTests.swift",
        "UI/UIKit/Extensions/UICollectionReusableViewTests.swift",
        "UI/UIKit/Extensions/UITableViewCellTests.swift",
        "UI/UIKit/Extensions/UITableViewHeaderFooterViewTests.swift",
        "UI/UIKit/Extensions/UIViewControllerTests.swift",
        "UI/UIKit/Extensions/UIViewTests.swift",
        "Utilities/XCConfigValue/MockBundleReader.swift",
        "Utilities/XCConfigValue/XCConfigValueTests.swift"
      ],
      "target_dependencies" : [
        "PovioKitCore",
        "PovioKitUIKit",
        "PovioKitSwiftUI",
        "PovioKitUtilities",
        "PovioKitAsync"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PovioKitUtilities",
      "module_type" : "SwiftTarget",
      "name" : "PovioKitUtilities",
      "path" : "Sources/Utilities",
      "product_memberships" : [
        "PovioKitUtilities",
        "PovioKitUIKit"
      ],
      "sources" : [
        "AppVersionValidator/AppVersionValidator.swift",
        "AttributedStringBuilder/AttributedStringBuilder.swift",
        "AttributedStringBuilder/UILabel+BuilderCompatible.swift",
        "AttributedStringBuilder/UITextField+BuilderCompatible.swift",
        "Broadcast/Broadcast.swift",
        "BundleReader/BundleReader.swift",
        "Camera/Camera+PovioKit.swift",
        "Camera/Camera.swift",
        "Camera/CameraService.swift",
        "Camera/PhotoCamera.swift",
        "Camera/QRCodeScanner.swift",
        "ColorInterpolator/ColorInterpolator.swift",
        "Delegated/Delegated.swift",
        "DispatchTimer/DispatchTimer.swift",
        "Exif/Exif.swift",
        "Exif/ExifError.swift",
        "Exif/ExifImageSource.swift",
        "InAppPurchase/InAppPurchaseError.swift",
        "InAppPurchase/InAppPurchaseService.swift",
        "MediaPlayer/AudioPlayer.swift",
        "MediaPlayer/MediaPlayer+Models.swift",
        "MediaPlayer/MediaPlayer.swift",
        "MediaPlayer/MediaStream.swift",
        "Money/Money+Currency.swift",
        "Money/Money+Defaults.swift",
        "Money/Money+Extensions.swift",
        "Money/Money.swift",
        "PropertyWrapper/UserDefault.swift",
        "PropertyWrapper/XCConfigValue.swift",
        "StartupService/StartupProcess.swift",
        "StartupService/StartupProcessService.swift",
        "Throttler/Throttler.swift"
      ],
      "target_dependencies" : [
        "PovioKitCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PovioKitUIKit",
      "module_type" : "SwiftTarget",
      "name" : "PovioKitUIKit",
      "path" : "Sources/UI/UIKit",
      "product_dependencies" : [
        "Kingfisher"
      ],
      "product_memberships" : [
        "PovioKitUIKit"
      ],
      "sources" : [
        "Extensions/CGSize+PovioKit.swift",
        "Extensions/UICollectionReusableView+PovioKit.swift",
        "Extensions/UICollectionView+PovioKit.swift",
        "Extensions/UIColor+PovioKit.swift",
        "Extensions/UIDevice+PovioKit.swift",
        "Extensions/UIEdgeInsets+PovioKit.swift",
        "Extensions/UIImage+Kingfisher.swift",
        "Extensions/UIImage+PovioKit.swift",
        "Extensions/UIProgressView+PovioKit.swift",
        "Extensions/UIResponder+PovioKit.swift",
        "Extensions/UITableView+PovioKit.swift",
        "Extensions/UITableViewCell+PovioKit.swift",
        "Extensions/UITableViewHeaderFooterView+PovioKit.swift",
        "Extensions/UIView+PovioKit.swift",
        "Extensions/UIViewController+PovioKit.swift",
        "Extensions/UIWindow+PovioKit.swift",
        "Views/DynamicCollectionCell/DynamicCollectionCell.swift",
        "Views/GradientView/GradientView.swift",
        "Views/PaddingLabel/PaddingLabel.swift",
        "Views/TextField/TextField.swift"
      ],
      "target_dependencies" : [
        "PovioKitCore",
        "PovioKitUtilities"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PovioKitSwiftUI",
      "module_type" : "SwiftTarget",
      "name" : "PovioKitSwiftUI",
      "path" : "Sources/UI/SwiftUI",
      "product_dependencies" : [
        "Kingfisher"
      ],
      "product_memberships" : [
        "PovioKitSwiftUI"
      ],
      "sources" : [
        "Extensions/AnyTransition+PovioKit.swift",
        "Extensions/Color+PovioKit.swift",
        "Extensions/Text+PovioKit.swift",
        "Extensions/View+PovioKit.swift",
        "View Modifiers/MaterialBlurBackgroundModifier.swift",
        "View Modifiers/MeasureSizeModifier.swift",
        "View Modifiers/OnFirstAppearModifier.swift",
        "View Modifiers/PhotoPickerModifier.swift",
        "View Modifiers/PinchToZoomModifier.swift",
        "View Modifiers/SquaredModifier.swift",
        "View Modifiers/TextFieldLimitModifer.swift",
        "Views/AnimatedImage/AnimatedImage.swift",
        "Views/LinearProgressStyle/LinearProgressStyle.swift",
        "Views/MaterialBlurView/MaterialBlurView.swift",
        "Views/PhotoPickerView/PhotoPickerView.swift",
        "Views/RemoteImage/HEICImageProcessor.swift",
        "Views/RemoteImage/JPEGImageProcessor.swift",
        "Views/RemoteImage/RemoteImage.swift",
        "Views/ScrollViewWithOffset/ScrollViewWithOffset.swift",
        "Views/SimpleColorPicker/SimpleColorPicker.swift"
      ],
      "target_dependencies" : [
        "PovioKitCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PovioKitCore",
      "module_type" : "SwiftTarget",
      "name" : "PovioKitCore",
      "path" : "Sources/Core",
      "product_memberships" : [
        "PovioKitCore",
        "PovioKitUtilities",
        "PovioKitUIKit",
        "PovioKitSwiftUI",
        "PovioKitAppKit"
      ],
      "sources" : [
        "AppInfo.swift",
        "Extensions/Foundation/Collection+PovioKit.swift",
        "Extensions/Foundation/Data+PovioKit.swift",
        "Extensions/Foundation/Date+PovioKit.swift",
        "Extensions/Foundation/DateFormatter+PovioKit.swift",
        "Extensions/Foundation/DecodableDictionary+PovioKit.swift",
        "Extensions/Foundation/DispatchTimeInterval+PovioKit.swift",
        "Extensions/Foundation/Double+PovioKit.swift",
        "Extensions/Foundation/Encodable+PovioKit.swift",
        "Extensions/Foundation/Optional+PovioKit.swift",
        "Extensions/Foundation/Result+PovioKit.swift",
        "Extensions/Foundation/String+PovioKit.swift",
        "Extensions/Foundation/URL+PovioKit.swift",
        "Extensions/MapKit/MKAnnotationView+PovioKit.swift",
        "Extensions/MapKit/MKCircle+PovioKit.swift",
        "Extensions/MapKit/MKMapView+PovioKit.swift",
        "Extensions/MapKit/MKPolygon+PovioKit.swift",
        "Extensions/Other/SKStoreReviewController+PovioKit.swift",
        "Logger/Logger.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PovioKitAsync",
      "module_type" : "SwiftTarget",
      "name" : "PovioKitAsync",
      "path" : "Sources/Async",
      "product_memberships" : [
        "PovioKitAsync"
      ],
      "sources" : [
        "AsyncThrottleSequence.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PovioKitAppKit",
      "module_type" : "SwiftTarget",
      "name" : "PovioKitAppKit",
      "path" : "Sources/UI/AppKit",
      "product_memberships" : [
        "PovioKitAppKit"
      ],
      "sources" : [
        "NSView+PovioKit.swift",
        "NSWindow+PovioKit.swift"
      ],
      "target_dependencies" : [
        "PovioKitCore"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.