Build Information
Failed to build MediaUtilities, reference main (8712c5), with Swift 5.10 for macOS (SPM) on 10 Dec 2025 16:15:16 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/iankoex/media-utilities.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/iankoex/media-utilities
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 8712c59 add allowedCaptureModes
Cloned https://github.com/iankoex/media-utilities.git
Revision (git rev-parse @):
8712c59292b5bd7c2ba6169afa0983189f631168
SUCCESS checkout https://github.com/iankoex/media-utilities.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $PWD
https://github.com/iankoex/media-utilities.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-33747A42983211AE.txt
[3/52] Emitting module MediaUtilities
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService+Capture.swift:123:6: warning: '@concurrent' has been renamed to '@Sendable'
@concurrent
^~~~~~~~~~
Sendable
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService+Helpers.swift:16:6: warning: '@concurrent' has been renamed to '@Sendable'
@concurrent
^~~~~~~~~~
Sendable
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService+Intents.swift:90:6: warning: '@concurrent' has been renamed to '@Sendable'
@concurrent
^~~~~~~~~~
Sendable
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService+Intents.swift:187:6: warning: '@concurrent' has been renamed to '@Sendable'
@concurrent
^~~~~~~~~~
Sendable
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService+Permissions.swift:35:6: warning: '@concurrent' has been renamed to '@Sendable'
@concurrent
^~~~~~~~~~
Sendable
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraCaptureView.swift:61:16: warning: stored property 'onCapture' within struct cannot have a global actor; this is an error in Swift 6
public let onCapture: (Result<URL, CameraError>) -> Void
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService.swift:67:20: warning: stored property '_previewImage' of 'Sendable'-conforming class 'CameraService' is mutable
@Published var previewImage: Image?
^
[4/57] Compiling MediaUtilities EnvironmentValues+RangeSliderStyle.swift
[5/57] Compiling MediaUtilities RangeSliderStyle.swift
[6/57] Compiling MediaUtilities RangeSliderStyleConfiguration.swift
[7/57] Compiling MediaUtilities HorizontalRangeSliderStyle.swift
[8/57] Compiling MediaUtilities RangeSliderOptions.swift
[9/57] Compiling MediaUtilities GrayBackgroundRound.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Modifiers/SwiftUI+Extentions.swift:23:22: error: value of type 'Self' has no member 'onGeometryChange'
self.onGeometryChange(for: CGSize.self) { proxy in
~~~~ ^~~~~~~~~~~~~~~~
[10/57] Compiling MediaUtilities OnTapModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Modifiers/SwiftUI+Extentions.swift:23:22: error: value of type 'Self' has no member 'onGeometryChange'
self.onGeometryChange(for: CGSize.self) { proxy in
~~~~ ^~~~~~~~~~~~~~~~
[11/57] Compiling MediaUtilities Shake Modifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Modifiers/SwiftUI+Extentions.swift:23:22: error: value of type 'Self' has no member 'onGeometryChange'
self.onGeometryChange(for: CGSize.self) { proxy in
~~~~ ^~~~~~~~~~~~~~~~
[12/57] Compiling MediaUtilities SwiftUI+Extentions.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Modifiers/SwiftUI+Extentions.swift:23:22: error: value of type 'Self' has no member 'onGeometryChange'
self.onGeometryChange(for: CGSize.self) { proxy in
~~~~ ^~~~~~~~~~~~~~~~
[13/57] Compiling MediaUtilities EditorControlButton.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Modifiers/SwiftUI+Extentions.swift:23:22: error: value of type 'Self' has no member 'onGeometryChange'
self.onGeometryChange(for: CGSize.self) { proxy in
~~~~ ^~~~~~~~~~~~~~~~
[14/57] Compiling MediaUtilities WhiteGridOverlay.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/MediaUtilities.swift:142:27: warning: result of call to 'concatenating' is unused
rotationTransform.concatenating(CGAffineTransform(translationX: translateX, y: translateY))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[15/57] Compiling MediaUtilities MediaOptions.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/MediaUtilities.swift:142:27: warning: result of call to 'concatenating' is unused
rotationTransform.concatenating(CGAffineTransform(translationX: translateX, y: translateY))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[16/57] Compiling MediaUtilities MediaPicker-iOS.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/MediaUtilities.swift:142:27: warning: result of call to 'concatenating' is unused
rotationTransform.concatenating(CGAffineTransform(translationX: translateX, y: translateY))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[17/57] Compiling MediaUtilities MediaPicker-macOS.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/MediaUtilities.swift:142:27: warning: result of call to 'concatenating' is unused
rotationTransform.concatenating(CGAffineTransform(translationX: translateX, y: translateY))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[18/57] Compiling MediaUtilities MediaPicker.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/MediaUtilities.swift:142:27: warning: result of call to 'concatenating' is unused
rotationTransform.concatenating(CGAffineTransform(translationX: translateX, y: translateY))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[19/57] Compiling MediaUtilities MediaUtilities.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/MediaUtilities.swift:142:27: warning: result of call to 'concatenating' is unused
rotationTransform.concatenating(CGAffineTransform(translationX: translateX, y: translateY))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[20/57] Compiling MediaUtilities DefaultVerticalValueView.swift
[21/57] Compiling MediaUtilities LinearRangeMath.swift
[22/57] Compiling MediaUtilities LinearValueMath.swift
[23/57] Compiling MediaUtilities RangeSlider.swift
[24/57] Compiling MediaUtilities AnyRangeSliderStyle.swift
[25/57] Compiling MediaUtilities CameraService+Permissions.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService+Permissions.swift:35:6: warning: '@concurrent' has been renamed to '@Sendable'
@concurrent
^~~~~~~~~~
Sendable
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService+Intents.swift:90:6: warning: '@concurrent' has been renamed to '@Sendable'
@concurrent
^~~~~~~~~~
Sendable
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService+Intents.swift:187:6: warning: '@concurrent' has been renamed to '@Sendable'
@concurrent
^~~~~~~~~~
Sendable
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService.swift:67:20: warning: stored property '_previewImage' of 'Sendable'-conforming class 'CameraService' is mutable
@Published var previewImage: Image?
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/DropDelegate/ImageDropDelegate.swift:109:48: warning: passing argument of non-sendable type 'NSItemProvider' outside of main actor-isolated context may introduce data races
let nsSecureCoding = try await itemProvider.loadItem(forTypeIdentifier: UTType.url.identifier, options: nil)
^
Foundation.NSItemProvider:2:12: note: class 'NSItemProvider' does not conform to the 'Sendable' protocol
open class NSItemProvider : NSObject, NSCopying {
^
[26/57] Compiling MediaUtilities CameraService.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService+Permissions.swift:35:6: warning: '@concurrent' has been renamed to '@Sendable'
@concurrent
^~~~~~~~~~
Sendable
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService+Intents.swift:90:6: warning: '@concurrent' has been renamed to '@Sendable'
@concurrent
^~~~~~~~~~
Sendable
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService+Intents.swift:187:6: warning: '@concurrent' has been renamed to '@Sendable'
@concurrent
^~~~~~~~~~
Sendable
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService.swift:67:20: warning: stored property '_previewImage' of 'Sendable'-conforming class 'CameraService' is mutable
@Published var previewImage: Image?
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/DropDelegate/ImageDropDelegate.swift:109:48: warning: passing argument of non-sendable type 'NSItemProvider' outside of main actor-isolated context may introduce data races
let nsSecureCoding = try await itemProvider.loadItem(forTypeIdentifier: UTType.url.identifier, options: nil)
^
Foundation.NSItemProvider:2:12: note: class 'NSItemProvider' does not conform to the 'Sendable' protocol
open class NSItemProvider : NSObject, NSCopying {
^
[27/57] Compiling MediaUtilities CaptureMode.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService+Permissions.swift:35:6: warning: '@concurrent' has been renamed to '@Sendable'
@concurrent
^~~~~~~~~~
Sendable
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService+Intents.swift:90:6: warning: '@concurrent' has been renamed to '@Sendable'
@concurrent
^~~~~~~~~~
Sendable
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService+Intents.swift:187:6: warning: '@concurrent' has been renamed to '@Sendable'
@concurrent
^~~~~~~~~~
Sendable
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService.swift:67:20: warning: stored property '_previewImage' of 'Sendable'-conforming class 'CameraService' is mutable
@Published var previewImage: Image?
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/DropDelegate/ImageDropDelegate.swift:109:48: warning: passing argument of non-sendable type 'NSItemProvider' outside of main actor-isolated context may introduce data races
let nsSecureCoding = try await itemProvider.loadItem(forTypeIdentifier: UTType.url.identifier, options: nil)
^
Foundation.NSItemProvider:2:12: note: class 'NSItemProvider' does not conform to the 'Sendable' protocol
open class NSItemProvider : NSObject, NSCopying {
^
[28/57] Compiling MediaUtilities RecordingTimeView.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService+Permissions.swift:35:6: warning: '@concurrent' has been renamed to '@Sendable'
@concurrent
^~~~~~~~~~
Sendable
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService+Intents.swift:90:6: warning: '@concurrent' has been renamed to '@Sendable'
@concurrent
^~~~~~~~~~
Sendable
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService+Intents.swift:187:6: warning: '@concurrent' has been renamed to '@Sendable'
@concurrent
^~~~~~~~~~
Sendable
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService.swift:67:20: warning: stored property '_previewImage' of 'Sendable'-conforming class 'CameraService' is mutable
@Published var previewImage: Image?
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/DropDelegate/ImageDropDelegate.swift:109:48: warning: passing argument of non-sendable type 'NSItemProvider' outside of main actor-isolated context may introduce data races
let nsSecureCoding = try await itemProvider.loadItem(forTypeIdentifier: UTType.url.identifier, options: nil)
^
Foundation.NSItemProvider:2:12: note: class 'NSItemProvider' does not conform to the 'Sendable' protocol
open class NSItemProvider : NSObject, NSCopying {
^
[29/57] Compiling MediaUtilities DropDelegateService.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService+Permissions.swift:35:6: warning: '@concurrent' has been renamed to '@Sendable'
@concurrent
^~~~~~~~~~
Sendable
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService+Intents.swift:90:6: warning: '@concurrent' has been renamed to '@Sendable'
@concurrent
^~~~~~~~~~
Sendable
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService+Intents.swift:187:6: warning: '@concurrent' has been renamed to '@Sendable'
@concurrent
^~~~~~~~~~
Sendable
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService.swift:67:20: warning: stored property '_previewImage' of 'Sendable'-conforming class 'CameraService' is mutable
@Published var previewImage: Image?
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/DropDelegate/ImageDropDelegate.swift:109:48: warning: passing argument of non-sendable type 'NSItemProvider' outside of main actor-isolated context may introduce data races
let nsSecureCoding = try await itemProvider.loadItem(forTypeIdentifier: UTType.url.identifier, options: nil)
^
Foundation.NSItemProvider:2:12: note: class 'NSItemProvider' does not conform to the 'Sendable' protocol
open class NSItemProvider : NSObject, NSCopying {
^
[30/57] Compiling MediaUtilities ImageDropDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService+Permissions.swift:35:6: warning: '@concurrent' has been renamed to '@Sendable'
@concurrent
^~~~~~~~~~
Sendable
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService+Intents.swift:90:6: warning: '@concurrent' has been renamed to '@Sendable'
@concurrent
^~~~~~~~~~
Sendable
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService+Intents.swift:187:6: warning: '@concurrent' has been renamed to '@Sendable'
@concurrent
^~~~~~~~~~
Sendable
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService.swift:67:20: warning: stored property '_previewImage' of 'Sendable'-conforming class 'CameraService' is mutable
@Published var previewImage: Image?
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/DropDelegate/ImageDropDelegate.swift:109:48: warning: passing argument of non-sendable type 'NSItemProvider' outside of main actor-isolated context may introduce data races
let nsSecureCoding = try await itemProvider.loadItem(forTypeIdentifier: UTType.url.identifier, options: nil)
^
Foundation.NSItemProvider:2:12: note: class 'NSItemProvider' does not conform to the 'Sendable' protocol
open class NSItemProvider : NSObject, NSCopying {
^
[31/57] Compiling MediaUtilities EnvironmentValues+RangeTrackConfiguration.swift
[32/57] Compiling MediaUtilities EnvironmentValues+TrackRange.swift
[33/57] Compiling MediaUtilities HorizontalRangeTrack.swift
[34/57] Compiling MediaUtilities RangeTrackConfiguration.swift
[35/57] Compiling MediaUtilities VideoDownloader.swift
[36/57] Compiling MediaUtilities VideoEditor.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/VideoEditor/VideoUtil.swift:150:54: warning: capture of 'image' with non-sendable type 'UnifiedImage' (aka 'NSImage') in a `@Sendable` closure
self.videoImageFrames.append(image)
^
AppKit.NSImage:1:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
open class NSImage : NSObject {
^
[37/57] Compiling MediaUtilities VideoSliderView.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/VideoEditor/VideoUtil.swift:150:54: warning: capture of 'image' with non-sendable type 'UnifiedImage' (aka 'NSImage') in a `@Sendable` closure
self.videoImageFrames.append(image)
^
AppKit.NSImage:1:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
open class NSImage : NSObject {
^
[38/57] Compiling MediaUtilities VideoUtil.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/VideoEditor/VideoUtil.swift:150:54: warning: capture of 'image' with non-sendable type 'UnifiedImage' (aka 'NSImage') in a `@Sendable` closure
self.videoImageFrames.append(image)
^
AppKit.NSImage:1:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
open class NSImage : NSObject {
^
[39/57] Compiling MediaUtilities CustomVideoPlayer.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/VideoEditor/VideoUtil.swift:150:54: warning: capture of 'image' with non-sendable type 'UnifiedImage' (aka 'NSImage') in a `@Sendable` closure
self.videoImageFrames.append(image)
^
AppKit.NSImage:1:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
open class NSImage : NSObject {
^
[40/57] Compiling MediaUtilities PlayerViewModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/VideoEditor/VideoUtil.swift:150:54: warning: capture of 'image' with non-sendable type 'UnifiedImage' (aka 'NSImage') in a `@Sendable` closure
self.videoImageFrames.append(image)
^
AppKit.NSImage:1:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
open class NSImage : NSObject {
^
[41/57] Compiling MediaUtilities CameraCaptureView.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService+Capture.swift:123:6: warning: '@concurrent' has been renamed to '@Sendable'
@concurrent
^~~~~~~~~~
Sendable
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService+Helpers.swift:16:6: warning: '@concurrent' has been renamed to '@Sendable'
@concurrent
^~~~~~~~~~
Sendable
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService+Intents.swift:90:6: warning: '@concurrent' has been renamed to '@Sendable'
@concurrent
^~~~~~~~~~
Sendable
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService+Intents.swift:187:6: warning: '@concurrent' has been renamed to '@Sendable'
@concurrent
^~~~~~~~~~
Sendable
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService+Permissions.swift:35:6: warning: '@concurrent' has been renamed to '@Sendable'
@concurrent
^~~~~~~~~~
Sendable
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraCaptureView.swift:61:16: warning: stored property 'onCapture' within struct cannot have a global actor; this is an error in Swift 6
public let onCapture: (Result<URL, CameraError>) -> Void
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService+Delegate.swift:135:36: error: type 'AVCaptureSession' has no member 'runtimeErrorNotification'
name: AVCaptureSession.runtimeErrorNotification,
~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService+Delegate.swift:142:36: error: type 'AVCaptureSession' has no member 'wasInterruptedNotification'
name: AVCaptureSession.wasInterruptedNotification,
~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService+Delegate.swift:149:36: error: type 'AVCaptureSession' has no member 'interruptionEndedNotification'
name: AVCaptureSession.interruptionEndedNotification,
~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[42/57] Compiling MediaUtilities CameraCaptureViewModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService+Capture.swift:123:6: warning: '@concurrent' has been renamed to '@Sendable'
@concurrent
^~~~~~~~~~
Sendable
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService+Helpers.swift:16:6: warning: '@concurrent' has been renamed to '@Sendable'
@concurrent
^~~~~~~~~~
Sendable
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService+Intents.swift:90:6: warning: '@concurrent' has been renamed to '@Sendable'
@concurrent
^~~~~~~~~~
Sendable
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService+Intents.swift:187:6: warning: '@concurrent' has been renamed to '@Sendable'
@concurrent
^~~~~~~~~~
Sendable
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService+Permissions.swift:35:6: warning: '@concurrent' has been renamed to '@Sendable'
@concurrent
^~~~~~~~~~
Sendable
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraCaptureView.swift:61:16: warning: stored property 'onCapture' within struct cannot have a global actor; this is an error in Swift 6
public let onCapture: (Result<URL, CameraError>) -> Void
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService+Delegate.swift:135:36: error: type 'AVCaptureSession' has no member 'runtimeErrorNotification'
name: AVCaptureSession.runtimeErrorNotification,
~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService+Delegate.swift:142:36: error: type 'AVCaptureSession' has no member 'wasInterruptedNotification'
name: AVCaptureSession.wasInterruptedNotification,
~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService+Delegate.swift:149:36: error: type 'AVCaptureSession' has no member 'interruptionEndedNotification'
name: AVCaptureSession.interruptionEndedNotification,
~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[43/57] Compiling MediaUtilities CameraService+Capture.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService+Capture.swift:123:6: warning: '@concurrent' has been renamed to '@Sendable'
@concurrent
^~~~~~~~~~
Sendable
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService+Helpers.swift:16:6: warning: '@concurrent' has been renamed to '@Sendable'
@concurrent
^~~~~~~~~~
Sendable
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService+Intents.swift:90:6: warning: '@concurrent' has been renamed to '@Sendable'
@concurrent
^~~~~~~~~~
Sendable
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService+Intents.swift:187:6: warning: '@concurrent' has been renamed to '@Sendable'
@concurrent
^~~~~~~~~~
Sendable
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService+Permissions.swift:35:6: warning: '@concurrent' has been renamed to '@Sendable'
@concurrent
^~~~~~~~~~
Sendable
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraCaptureView.swift:61:16: warning: stored property 'onCapture' within struct cannot have a global actor; this is an error in Swift 6
public let onCapture: (Result<URL, CameraError>) -> Void
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService+Delegate.swift:135:36: error: type 'AVCaptureSession' has no member 'runtimeErrorNotification'
name: AVCaptureSession.runtimeErrorNotification,
~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService+Delegate.swift:142:36: error: type 'AVCaptureSession' has no member 'wasInterruptedNotification'
name: AVCaptureSession.wasInterruptedNotification,
~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService+Delegate.swift:149:36: error: type 'AVCaptureSession' has no member 'interruptionEndedNotification'
name: AVCaptureSession.interruptionEndedNotification,
~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[44/57] Compiling MediaUtilities CameraService+Delegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService+Capture.swift:123:6: warning: '@concurrent' has been renamed to '@Sendable'
@concurrent
^~~~~~~~~~
Sendable
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService+Helpers.swift:16:6: warning: '@concurrent' has been renamed to '@Sendable'
@concurrent
^~~~~~~~~~
Sendable
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService+Intents.swift:90:6: warning: '@concurrent' has been renamed to '@Sendable'
@concurrent
^~~~~~~~~~
Sendable
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService+Intents.swift:187:6: warning: '@concurrent' has been renamed to '@Sendable'
@concurrent
^~~~~~~~~~
Sendable
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService+Permissions.swift:35:6: warning: '@concurrent' has been renamed to '@Sendable'
@concurrent
^~~~~~~~~~
Sendable
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraCaptureView.swift:61:16: warning: stored property 'onCapture' within struct cannot have a global actor; this is an error in Swift 6
public let onCapture: (Result<URL, CameraError>) -> Void
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService+Delegate.swift:135:36: error: type 'AVCaptureSession' has no member 'runtimeErrorNotification'
name: AVCaptureSession.runtimeErrorNotification,
~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService+Delegate.swift:142:36: error: type 'AVCaptureSession' has no member 'wasInterruptedNotification'
name: AVCaptureSession.wasInterruptedNotification,
~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService+Delegate.swift:149:36: error: type 'AVCaptureSession' has no member 'interruptionEndedNotification'
name: AVCaptureSession.interruptionEndedNotification,
~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[45/57] Compiling MediaUtilities CameraService+Helpers.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService+Capture.swift:123:6: warning: '@concurrent' has been renamed to '@Sendable'
@concurrent
^~~~~~~~~~
Sendable
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService+Helpers.swift:16:6: warning: '@concurrent' has been renamed to '@Sendable'
@concurrent
^~~~~~~~~~
Sendable
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService+Intents.swift:90:6: warning: '@concurrent' has been renamed to '@Sendable'
@concurrent
^~~~~~~~~~
Sendable
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService+Intents.swift:187:6: warning: '@concurrent' has been renamed to '@Sendable'
@concurrent
^~~~~~~~~~
Sendable
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService+Permissions.swift:35:6: warning: '@concurrent' has been renamed to '@Sendable'
@concurrent
^~~~~~~~~~
Sendable
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraCaptureView.swift:61:16: warning: stored property 'onCapture' within struct cannot have a global actor; this is an error in Swift 6
public let onCapture: (Result<URL, CameraError>) -> Void
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService+Delegate.swift:135:36: error: type 'AVCaptureSession' has no member 'runtimeErrorNotification'
name: AVCaptureSession.runtimeErrorNotification,
~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService+Delegate.swift:142:36: error: type 'AVCaptureSession' has no member 'wasInterruptedNotification'
name: AVCaptureSession.wasInterruptedNotification,
~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService+Delegate.swift:149:36: error: type 'AVCaptureSession' has no member 'interruptionEndedNotification'
name: AVCaptureSession.interruptionEndedNotification,
~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[46/57] Compiling MediaUtilities CameraService+Intents.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService+Capture.swift:123:6: warning: '@concurrent' has been renamed to '@Sendable'
@concurrent
^~~~~~~~~~
Sendable
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService+Helpers.swift:16:6: warning: '@concurrent' has been renamed to '@Sendable'
@concurrent
^~~~~~~~~~
Sendable
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService+Intents.swift:90:6: warning: '@concurrent' has been renamed to '@Sendable'
@concurrent
^~~~~~~~~~
Sendable
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService+Intents.swift:187:6: warning: '@concurrent' has been renamed to '@Sendable'
@concurrent
^~~~~~~~~~
Sendable
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService+Permissions.swift:35:6: warning: '@concurrent' has been renamed to '@Sendable'
@concurrent
^~~~~~~~~~
Sendable
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraCaptureView.swift:61:16: warning: stored property 'onCapture' within struct cannot have a global actor; this is an error in Swift 6
public let onCapture: (Result<URL, CameraError>) -> Void
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService+Delegate.swift:135:36: error: type 'AVCaptureSession' has no member 'runtimeErrorNotification'
name: AVCaptureSession.runtimeErrorNotification,
~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService+Delegate.swift:142:36: error: type 'AVCaptureSession' has no member 'wasInterruptedNotification'
name: AVCaptureSession.wasInterruptedNotification,
~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraService+Delegate.swift:149:36: error: type 'AVCaptureSession' has no member 'interruptionEndedNotification'
name: AVCaptureSession.interruptionEndedNotification,
~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[47/57] Compiling MediaUtilities MediaUtilitiesError.swift
[48/57] Compiling MediaUtilities SpinnerView.swift
[49/57] Compiling MediaUtilities UnifiedImage.swift
[50/57] Compiling MediaUtilities DefaultHorizontalValueView.swift
[51/57] Compiling MediaUtilities DefaultThumb.swift
[52/57] Compiling MediaUtilities VideoDropDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/DropDelegate/VideoDropDelegate.swift:79:48: warning: passing argument of non-sendable type 'NSItemProvider' outside of main actor-isolated context may introduce data races
let nsSecureCoding = try await itemProvider.loadItem(forTypeIdentifier: DropDelegateService.urlIndentifier, options: nil)
^
Foundation.NSItemProvider:2:12: note: class 'NSItemProvider' does not conform to the 'Sendable' protocol
open class NSItemProvider : NSObject, NSCopying {
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Holistic/VideoPicker.swift:206:27: warning: immutable value 'err' was never used; consider replacing with '_' or removing it
case .failure(let err):
~~~~^~~
_
[53/57] Compiling MediaUtilities ImagePicker.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/DropDelegate/VideoDropDelegate.swift:79:48: warning: passing argument of non-sendable type 'NSItemProvider' outside of main actor-isolated context may introduce data races
let nsSecureCoding = try await itemProvider.loadItem(forTypeIdentifier: DropDelegateService.urlIndentifier, options: nil)
^
Foundation.NSItemProvider:2:12: note: class 'NSItemProvider' does not conform to the 'Sendable' protocol
open class NSItemProvider : NSObject, NSCopying {
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Holistic/VideoPicker.swift:206:27: warning: immutable value 'err' was never used; consider replacing with '_' or removing it
case .failure(let err):
~~~~^~~
_
[54/57] Compiling MediaUtilities VideoPicker.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/DropDelegate/VideoDropDelegate.swift:79:48: warning: passing argument of non-sendable type 'NSItemProvider' outside of main actor-isolated context may introduce data races
let nsSecureCoding = try await itemProvider.loadItem(forTypeIdentifier: DropDelegateService.urlIndentifier, options: nil)
^
Foundation.NSItemProvider:2:12: note: class 'NSItemProvider' does not conform to the 'Sendable' protocol
open class NSItemProvider : NSObject, NSCopying {
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Holistic/VideoPicker.swift:206:27: warning: immutable value 'err' was never used; consider replacing with '_' or removing it
case .failure(let err):
~~~~^~~
_
[55/57] Compiling MediaUtilities CropImageView.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/DropDelegate/VideoDropDelegate.swift:79:48: warning: passing argument of non-sendable type 'NSItemProvider' outside of main actor-isolated context may introduce data races
let nsSecureCoding = try await itemProvider.loadItem(forTypeIdentifier: DropDelegateService.urlIndentifier, options: nil)
^
Foundation.NSItemProvider:2:12: note: class 'NSItemProvider' does not conform to the 'Sendable' protocol
open class NSItemProvider : NSObject, NSCopying {
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Holistic/VideoPicker.swift:206:27: warning: immutable value 'err' was never used; consider replacing with '_' or removing it
case .failure(let err):
~~~~^~~
_
[56/57] Compiling MediaUtilities HoleShapeMask.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/DropDelegate/VideoDropDelegate.swift:79:48: warning: passing argument of non-sendable type 'NSItemProvider' outside of main actor-isolated context may introduce data races
let nsSecureCoding = try await itemProvider.loadItem(forTypeIdentifier: DropDelegateService.urlIndentifier, options: nil)
^
Foundation.NSItemProvider:2:12: note: class 'NSItemProvider' does not conform to the 'Sendable' protocol
open class NSItemProvider : NSObject, NSCopying {
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Holistic/VideoPicker.swift:206:27: warning: immutable value 'err' was never used; consider replacing with '_' or removing it
case .failure(let err):
~~~~^~~
_
[57/57] Compiling MediaUtilities ImageEditor.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/DropDelegate/VideoDropDelegate.swift:79:48: warning: passing argument of non-sendable type 'NSItemProvider' outside of main actor-isolated context may introduce data races
let nsSecureCoding = try await itemProvider.loadItem(forTypeIdentifier: DropDelegateService.urlIndentifier, options: nil)
^
Foundation.NSItemProvider:2:12: note: class 'NSItemProvider' does not conform to the 'Sendable' protocol
open class NSItemProvider : NSObject, NSCopying {
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Holistic/VideoPicker.swift:206:27: warning: immutable value 'err' was never used; consider replacing with '_' or removing it
case .failure(let err):
~~~~^~~
_
error: fatalError
BUILD FAILURE 5.10 macosSpm