Build Information
Successful build of MediaUtilities, reference main (4a3f5d), with Swift 6.2 for macOS (SPM) on 4 Sep 2026 07:51:57 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.0.2
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 4a3f5de fixes for macOS (Native, Catalyst & designed for iPad)
Cloned https://github.com/iankoex/media-utilities.git
Revision (git rev-parse @):
4a3f5de247e4e0bc46a4d507717539b7136441b0
SUCCESS checkout https://github.com/iankoex/media-utilities.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/iankoex/media-utilities.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--3CB7CFEC50E0D141.txt
[3/55] Compiling MediaUtilities EnvironmentValues+RangeTrackConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/VideoEditor/Sliders/RangeTrack/EnvironmentValues+RangeTrackConfiguration.swift:18:36: warning: conformance of 'RangeTrackConfigurationKey' to protocol 'EnvironmentKey' crosses into main actor-isolated code and can cause data races; this is an error in the Swift 6 language mode [#ConformanceIsolation]
16 | @available(iOS 13.0, macOS 10.15, *)
17 | @MainActor
18 | struct RangeTrackConfigurationKey: EnvironmentKey {
| |- warning: conformance of 'RangeTrackConfigurationKey' to protocol 'EnvironmentKey' crosses into main actor-isolated code and can cause data races; this is an error in the Swift 6 language mode [#ConformanceIsolation]
| |- note: isolate this conformance to the main actor with '@MainActor'
| `- note: turn data races into runtime errors with '@preconcurrency'
19 | static let defaultValue: RangeTrackConfiguration = .defaultConfiguration
| `- note: main actor-isolated static property 'defaultValue' cannot satisfy nonisolated requirement
20 | }
21 |
[#ConformanceIsolation]: <https://docs.swift.org/compiler/documentation/diagnostics/conformance-isolation>
[4/55] Compiling MediaUtilities EnvironmentValues+TrackRange.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/VideoEditor/Sliders/RangeTrack/EnvironmentValues+RangeTrackConfiguration.swift:18:36: warning: conformance of 'RangeTrackConfigurationKey' to protocol 'EnvironmentKey' crosses into main actor-isolated code and can cause data races; this is an error in the Swift 6 language mode [#ConformanceIsolation]
16 | @available(iOS 13.0, macOS 10.15, *)
17 | @MainActor
18 | struct RangeTrackConfigurationKey: EnvironmentKey {
| |- warning: conformance of 'RangeTrackConfigurationKey' to protocol 'EnvironmentKey' crosses into main actor-isolated code and can cause data races; this is an error in the Swift 6 language mode [#ConformanceIsolation]
| |- note: isolate this conformance to the main actor with '@MainActor'
| `- note: turn data races into runtime errors with '@preconcurrency'
19 | static let defaultValue: RangeTrackConfiguration = .defaultConfiguration
| `- note: main actor-isolated static property 'defaultValue' cannot satisfy nonisolated requirement
20 | }
21 |
[#ConformanceIsolation]: <https://docs.swift.org/compiler/documentation/diagnostics/conformance-isolation>
[5/55] Compiling MediaUtilities HorizontalRangeTrack.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/VideoEditor/Sliders/RangeTrack/EnvironmentValues+RangeTrackConfiguration.swift:18:36: warning: conformance of 'RangeTrackConfigurationKey' to protocol 'EnvironmentKey' crosses into main actor-isolated code and can cause data races; this is an error in the Swift 6 language mode [#ConformanceIsolation]
16 | @available(iOS 13.0, macOS 10.15, *)
17 | @MainActor
18 | struct RangeTrackConfigurationKey: EnvironmentKey {
| |- warning: conformance of 'RangeTrackConfigurationKey' to protocol 'EnvironmentKey' crosses into main actor-isolated code and can cause data races; this is an error in the Swift 6 language mode [#ConformanceIsolation]
| |- note: isolate this conformance to the main actor with '@MainActor'
| `- note: turn data races into runtime errors with '@preconcurrency'
19 | static let defaultValue: RangeTrackConfiguration = .defaultConfiguration
| `- note: main actor-isolated static property 'defaultValue' cannot satisfy nonisolated requirement
20 | }
21 |
[#ConformanceIsolation]: <https://docs.swift.org/compiler/documentation/diagnostics/conformance-isolation>
[6/55] Compiling MediaUtilities RangeTrackConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/VideoEditor/Sliders/RangeTrack/EnvironmentValues+RangeTrackConfiguration.swift:18:36: warning: conformance of 'RangeTrackConfigurationKey' to protocol 'EnvironmentKey' crosses into main actor-isolated code and can cause data races; this is an error in the Swift 6 language mode [#ConformanceIsolation]
16 | @available(iOS 13.0, macOS 10.15, *)
17 | @MainActor
18 | struct RangeTrackConfigurationKey: EnvironmentKey {
| |- warning: conformance of 'RangeTrackConfigurationKey' to protocol 'EnvironmentKey' crosses into main actor-isolated code and can cause data races; this is an error in the Swift 6 language mode [#ConformanceIsolation]
| |- note: isolate this conformance to the main actor with '@MainActor'
| `- note: turn data races into runtime errors with '@preconcurrency'
19 | static let defaultValue: RangeTrackConfiguration = .defaultConfiguration
| `- note: main actor-isolated static property 'defaultValue' cannot satisfy nonisolated requirement
20 | }
21 |
[#ConformanceIsolation]: <https://docs.swift.org/compiler/documentation/diagnostics/conformance-isolation>
[7/55] Compiling MediaUtilities VideoDownloader.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/VideoEditor/Sliders/RangeTrack/EnvironmentValues+RangeTrackConfiguration.swift:18:36: warning: conformance of 'RangeTrackConfigurationKey' to protocol 'EnvironmentKey' crosses into main actor-isolated code and can cause data races; this is an error in the Swift 6 language mode [#ConformanceIsolation]
16 | @available(iOS 13.0, macOS 10.15, *)
17 | @MainActor
18 | struct RangeTrackConfigurationKey: EnvironmentKey {
| |- warning: conformance of 'RangeTrackConfigurationKey' to protocol 'EnvironmentKey' crosses into main actor-isolated code and can cause data races; this is an error in the Swift 6 language mode [#ConformanceIsolation]
| |- note: isolate this conformance to the main actor with '@MainActor'
| `- note: turn data races into runtime errors with '@preconcurrency'
19 | static let defaultValue: RangeTrackConfiguration = .defaultConfiguration
| `- note: main actor-isolated static property 'defaultValue' cannot satisfy nonisolated requirement
20 | }
21 |
[#ConformanceIsolation]: <https://docs.swift.org/compiler/documentation/diagnostics/conformance-isolation>
[8/55] Compiling MediaUtilities DefaultThumb.swift
[9/55] Compiling MediaUtilities DefaultVerticalValueView.swift
[10/55] Compiling MediaUtilities LinearRangeMath.swift
[11/55] Compiling MediaUtilities LinearValueMath.swift
[12/55] Compiling MediaUtilities RangeSlider.swift
[13/55] Compiling MediaUtilities AnyRangeSliderStyle.swift
[14/55] Compiling MediaUtilities EnvironmentValues+RangeSliderStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/VideoEditor/Sliders/RangeSlider/Styles/HorizontalRangeSliderStyle.swift:26:36: warning: cannot form key path to main actor-isolated property 'rangeTrackConfiguration'; this is an error in the Swift 6 language mode
24 | self.track
25 | .environment(\.trackRange, configuration.range.wrappedValue)
26 | .environment(\.rangeTrackConfiguration, RangeTrackConfiguration(
| `- warning: cannot form key path to main actor-isolated property 'rangeTrackConfiguration'; this is an error in the Swift 6 language mode
27 | bounds: configuration.bounds,
28 | lowerLeadingOffset: self.lowerThumbSize.width / 2,
[15/55] Compiling MediaUtilities RangeSliderStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/VideoEditor/Sliders/RangeSlider/Styles/HorizontalRangeSliderStyle.swift:26:36: warning: cannot form key path to main actor-isolated property 'rangeTrackConfiguration'; this is an error in the Swift 6 language mode
24 | self.track
25 | .environment(\.trackRange, configuration.range.wrappedValue)
26 | .environment(\.rangeTrackConfiguration, RangeTrackConfiguration(
| `- warning: cannot form key path to main actor-isolated property 'rangeTrackConfiguration'; this is an error in the Swift 6 language mode
27 | bounds: configuration.bounds,
28 | lowerLeadingOffset: self.lowerThumbSize.width / 2,
[16/55] Compiling MediaUtilities RangeSliderStyleConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/VideoEditor/Sliders/RangeSlider/Styles/HorizontalRangeSliderStyle.swift:26:36: warning: cannot form key path to main actor-isolated property 'rangeTrackConfiguration'; this is an error in the Swift 6 language mode
24 | self.track
25 | .environment(\.trackRange, configuration.range.wrappedValue)
26 | .environment(\.rangeTrackConfiguration, RangeTrackConfiguration(
| `- warning: cannot form key path to main actor-isolated property 'rangeTrackConfiguration'; this is an error in the Swift 6 language mode
27 | bounds: configuration.bounds,
28 | lowerLeadingOffset: self.lowerThumbSize.width / 2,
[17/55] Compiling MediaUtilities HorizontalRangeSliderStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/VideoEditor/Sliders/RangeSlider/Styles/HorizontalRangeSliderStyle.swift:26:36: warning: cannot form key path to main actor-isolated property 'rangeTrackConfiguration'; this is an error in the Swift 6 language mode
24 | self.track
25 | .environment(\.trackRange, configuration.range.wrappedValue)
26 | .environment(\.rangeTrackConfiguration, RangeTrackConfiguration(
| `- warning: cannot form key path to main actor-isolated property 'rangeTrackConfiguration'; this is an error in the Swift 6 language mode
27 | bounds: configuration.bounds,
28 | lowerLeadingOffset: self.lowerThumbSize.width / 2,
[18/55] Compiling MediaUtilities RangeSliderOptions.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/VideoEditor/Sliders/RangeSlider/Styles/HorizontalRangeSliderStyle.swift:26:36: warning: cannot form key path to main actor-isolated property 'rangeTrackConfiguration'; this is an error in the Swift 6 language mode
24 | self.track
25 | .environment(\.trackRange, configuration.range.wrappedValue)
26 | .environment(\.rangeTrackConfiguration, RangeTrackConfiguration(
| `- warning: cannot form key path to main actor-isolated property 'rangeTrackConfiguration'; this is an error in the Swift 6 language mode
27 | bounds: configuration.bounds,
28 | lowerLeadingOffset: self.lowerThumbSize.width / 2,
[19/60] Compiling MediaUtilities MediaPicker-macOS.swift
[20/60] Compiling MediaUtilities MediaPicker.swift
[21/60] Compiling MediaUtilities MediaUtilities.swift
[22/60] Compiling MediaUtilities GrayBackgroundRound.swift
[23/60] Compiling MediaUtilities OnTapModifier.swift
[24/60] Compiling MediaUtilities ShakeModifier.swift
[25/60] Compiling MediaUtilities CropImageView.swift
[26/60] Compiling MediaUtilities HoleShapeMask.swift
[27/60] Compiling MediaUtilities ImageEditor.swift
[28/60] Compiling MediaUtilities WhiteGridOverlay.swift
[29/60] Compiling MediaUtilities MediaOptions.swift
[30/60] Compiling MediaUtilities MediaPicker-iOS.swift
[31/60] Compiling MediaUtilities SwiftUI+Extentions.swift
[32/60] Compiling MediaUtilities EditorControlButton.swift
[33/60] Compiling MediaUtilities MediaUtilitiesError.swift
[34/60] Compiling MediaUtilities SpinnerView.swift
[35/60] Compiling MediaUtilities UnifiedImage.swift
[36/60] Compiling MediaUtilities DefaultHorizontalValueView.swift
[37/60] Emitting module MediaUtilities
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/VideoEditor/Sliders/RangeTrack/EnvironmentValues+RangeTrackConfiguration.swift:18:36: warning: conformance of 'RangeTrackConfigurationKey' to protocol 'EnvironmentKey' crosses into main actor-isolated code and can cause data races; this is an error in the Swift 6 language mode [#ConformanceIsolation]
16 | @available(iOS 13.0, macOS 10.15, *)
17 | @MainActor
18 | struct RangeTrackConfigurationKey: EnvironmentKey {
| |- warning: conformance of 'RangeTrackConfigurationKey' to protocol 'EnvironmentKey' crosses into main actor-isolated code and can cause data races; this is an error in the Swift 6 language mode [#ConformanceIsolation]
| |- note: isolate this conformance to the main actor with '@MainActor'
| `- note: turn data races into runtime errors with '@preconcurrency'
19 | static let defaultValue: RangeTrackConfiguration = .defaultConfiguration
| `- note: main actor-isolated static property 'defaultValue' cannot satisfy nonisolated requirement
20 | }
21 |
[#ConformanceIsolation]: <https://docs.swift.org/compiler/documentation/diagnostics/conformance-isolation>
[38/60] Compiling MediaUtilities CameraCaptureView.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraEngine.swift:1606:9: warning: actor-isolated property 'captureSession' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
27 | // MARK: - Owned AVFoundation State
28 |
29 | let captureSession = AVCaptureSession()
| `- note: property declared here
30 | var photoOutput: AVCapturePhotoOutput?
31 | var videoOutput: AVCaptureVideoDataOutput?
:
1604 |
1605 | nonisolated func isRunningSnapshot() -> Bool {
1606 | captureSession.isRunning
| `- warning: actor-isolated property 'captureSession' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
1607 | }
1608 |
[39/60] Compiling MediaUtilities CameraCaptureViewModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraEngine.swift:1606:9: warning: actor-isolated property 'captureSession' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
27 | // MARK: - Owned AVFoundation State
28 |
29 | let captureSession = AVCaptureSession()
| `- note: property declared here
30 | var photoOutput: AVCapturePhotoOutput?
31 | var videoOutput: AVCaptureVideoDataOutput?
:
1604 |
1605 | nonisolated func isRunningSnapshot() -> Bool {
1606 | captureSession.isRunning
| `- warning: actor-isolated property 'captureSession' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
1607 | }
1608 |
[40/60] Compiling MediaUtilities CameraEngine.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraEngine.swift:1606:9: warning: actor-isolated property 'captureSession' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
27 | // MARK: - Owned AVFoundation State
28 |
29 | let captureSession = AVCaptureSession()
| `- note: property declared here
30 | var photoOutput: AVCapturePhotoOutput?
31 | var videoOutput: AVCaptureVideoDataOutput?
:
1604 |
1605 | nonisolated func isRunningSnapshot() -> Bool {
1606 | captureSession.isRunning
| `- warning: actor-isolated property 'captureSession' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
1607 | }
1608 |
[41/60] Compiling MediaUtilities CameraService+Capture.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraEngine.swift:1606:9: warning: actor-isolated property 'captureSession' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
27 | // MARK: - Owned AVFoundation State
28 |
29 | let captureSession = AVCaptureSession()
| `- note: property declared here
30 | var photoOutput: AVCapturePhotoOutput?
31 | var videoOutput: AVCaptureVideoDataOutput?
:
1604 |
1605 | nonisolated func isRunningSnapshot() -> Bool {
1606 | captureSession.isRunning
| `- warning: actor-isolated property 'captureSession' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
1607 | }
1608 |
[42/60] Compiling MediaUtilities CameraService+Intents.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraEngine.swift:1606:9: warning: actor-isolated property 'captureSession' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
27 | // MARK: - Owned AVFoundation State
28 |
29 | let captureSession = AVCaptureSession()
| `- note: property declared here
30 | var photoOutput: AVCapturePhotoOutput?
31 | var videoOutput: AVCaptureVideoDataOutput?
:
1604 |
1605 | nonisolated func isRunningSnapshot() -> Bool {
1606 | captureSession.isRunning
| `- warning: actor-isolated property 'captureSession' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
1607 | }
1608 |
[43/60] Compiling MediaUtilities CameraService+Permissions.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/Camera/CameraEngine.swift:1606:9: warning: actor-isolated property 'captureSession' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
27 | // MARK: - Owned AVFoundation State
28 |
29 | let captureSession = AVCaptureSession()
| `- note: property declared here
30 | var photoOutput: AVCapturePhotoOutput?
31 | var videoOutput: AVCaptureVideoDataOutput?
:
1604 |
1605 | nonisolated func isRunningSnapshot() -> Bool {
1606 | captureSession.isRunning
| `- warning: actor-isolated property 'captureSession' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
1607 | }
1608 |
[44/60] Compiling MediaUtilities VideoDataOutputDelegate.swift
/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 [#no-usage]
204 | }
205 | }
206 | case .failure(let err):
| `- warning: immutable value 'err' was never used; consider replacing with '_' or removing it [#no-usage]
207 | withAnimation {
208 | isShowingVideoEditor = false
[45/60] Compiling MediaUtilities DropDelegateService.swift
/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 [#no-usage]
204 | }
205 | }
206 | case .failure(let err):
| `- warning: immutable value 'err' was never used; consider replacing with '_' or removing it [#no-usage]
207 | withAnimation {
208 | isShowingVideoEditor = false
[46/60] Compiling MediaUtilities ImageDropDelegate.swift
/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 [#no-usage]
204 | }
205 | }
206 | case .failure(let err):
| `- warning: immutable value 'err' was never used; consider replacing with '_' or removing it [#no-usage]
207 | withAnimation {
208 | isShowingVideoEditor = false
[47/60] Compiling MediaUtilities VideoDropDelegate.swift
/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 [#no-usage]
204 | }
205 | }
206 | case .failure(let err):
| `- warning: immutable value 'err' was never used; consider replacing with '_' or removing it [#no-usage]
207 | withAnimation {
208 | isShowingVideoEditor = false
[48/60] Compiling MediaUtilities ImagePicker.swift
/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 [#no-usage]
204 | }
205 | }
206 | case .failure(let err):
| `- warning: immutable value 'err' was never used; consider replacing with '_' or removing it [#no-usage]
207 | withAnimation {
208 | isShowingVideoEditor = false
[49/60] Compiling MediaUtilities VideoPicker.swift
/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 [#no-usage]
204 | }
205 | }
206 | case .failure(let err):
| `- warning: immutable value 'err' was never used; consider replacing with '_' or removing it [#no-usage]
207 | withAnimation {
208 | isShowingVideoEditor = false
[50/60] Compiling MediaUtilities CameraService.swift
[51/60] Compiling MediaUtilities CaptureConfiguration.swift
[52/60] Compiling MediaUtilities CaptureMode.swift
[53/60] Compiling MediaUtilities MovieRecordingDelegate.swift
[54/60] Compiling MediaUtilities PhotoCaptureDelegate.swift
[55/60] Compiling MediaUtilities RecordingTimeView.swift
[56/60] Compiling MediaUtilities VideoEditor.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/VideoEditor/VideoUtil.swift:150:25: warning: capture of 'self' with non-Sendable type 'VideoUtil' in a '@Sendable' closure [#SendableClosureCaptures]
11 |
12 | @available(iOS 13.0, macOS 10.15, *)
13 | public final class VideoUtil: ObservableObject {
| `- note: class 'VideoUtil' does not conform to the 'Sendable' protocol
14 | @Published var progress: Double = .zero
15 | @Published var videoImageFrames: [UnifiedImage] = []
:
148 | let image = UnifiedImage(cgImage: img)
149 | DispatchQueue.main.async {
150 | self.videoImageFrames.append(image)
| `- warning: capture of 'self' with non-Sendable type 'VideoUtil' in a '@Sendable' closure [#SendableClosureCaptures]
151 | }
152 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[57/60] Compiling MediaUtilities VideoSliderView.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/VideoEditor/VideoUtil.swift:150:25: warning: capture of 'self' with non-Sendable type 'VideoUtil' in a '@Sendable' closure [#SendableClosureCaptures]
11 |
12 | @available(iOS 13.0, macOS 10.15, *)
13 | public final class VideoUtil: ObservableObject {
| `- note: class 'VideoUtil' does not conform to the 'Sendable' protocol
14 | @Published var progress: Double = .zero
15 | @Published var videoImageFrames: [UnifiedImage] = []
:
148 | let image = UnifiedImage(cgImage: img)
149 | DispatchQueue.main.async {
150 | self.videoImageFrames.append(image)
| `- warning: capture of 'self' with non-Sendable type 'VideoUtil' in a '@Sendable' closure [#SendableClosureCaptures]
151 | }
152 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[58/60] Compiling MediaUtilities VideoUtil.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/VideoEditor/VideoUtil.swift:150:25: warning: capture of 'self' with non-Sendable type 'VideoUtil' in a '@Sendable' closure [#SendableClosureCaptures]
11 |
12 | @available(iOS 13.0, macOS 10.15, *)
13 | public final class VideoUtil: ObservableObject {
| `- note: class 'VideoUtil' does not conform to the 'Sendable' protocol
14 | @Published var progress: Double = .zero
15 | @Published var videoImageFrames: [UnifiedImage] = []
:
148 | let image = UnifiedImage(cgImage: img)
149 | DispatchQueue.main.async {
150 | self.videoImageFrames.append(image)
| `- warning: capture of 'self' with non-Sendable type 'VideoUtil' in a '@Sendable' closure [#SendableClosureCaptures]
151 | }
152 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[59/60] Compiling MediaUtilities CustomVideoPlayer.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/VideoEditor/VideoUtil.swift:150:25: warning: capture of 'self' with non-Sendable type 'VideoUtil' in a '@Sendable' closure [#SendableClosureCaptures]
11 |
12 | @available(iOS 13.0, macOS 10.15, *)
13 | public final class VideoUtil: ObservableObject {
| `- note: class 'VideoUtil' does not conform to the 'Sendable' protocol
14 | @Published var progress: Double = .zero
15 | @Published var videoImageFrames: [UnifiedImage] = []
:
148 | let image = UnifiedImage(cgImage: img)
149 | DispatchQueue.main.async {
150 | self.videoImageFrames.append(image)
| `- warning: capture of 'self' with non-Sendable type 'VideoUtil' in a '@Sendable' closure [#SendableClosureCaptures]
151 | }
152 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[60/60] Compiling MediaUtilities PlayerViewModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/VideoEditor/VideoUtil.swift:150:25: warning: capture of 'self' with non-Sendable type 'VideoUtil' in a '@Sendable' closure [#SendableClosureCaptures]
11 |
12 | @available(iOS 13.0, macOS 10.15, *)
13 | public final class VideoUtil: ObservableObject {
| `- note: class 'VideoUtil' does not conform to the 'Sendable' protocol
14 | @Published var progress: Double = .zero
15 | @Published var videoImageFrames: [UnifiedImage] = []
:
148 | let image = UnifiedImage(cgImage: img)
149 | DispatchQueue.main.async {
150 | self.videoImageFrames.append(image)
| `- warning: capture of 'self' with non-Sendable type 'VideoUtil' in a '@Sendable' closure [#SendableClosureCaptures]
151 | }
152 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
Build complete! (11.81s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "MediaUtilities",
"name" : "MediaUtilities",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "MediaUtilities",
"targets" : [
"MediaUtilities"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "MediaUtilitiesTests",
"module_type" : "SwiftTarget",
"name" : "MediaUtilitiesTests",
"path" : "Tests/MediaUtilitiesTests",
"sources" : [
"MediaUtilitiesTests.swift"
],
"target_dependencies" : [
"MediaUtilities"
],
"type" : "test"
},
{
"c99name" : "MediaUtilities",
"module_type" : "SwiftTarget",
"name" : "MediaUtilities",
"path" : "Sources/MediaUtilities",
"product_memberships" : [
"MediaUtilities"
],
"sources" : [
"Camera/CameraCaptureView.swift",
"Camera/CameraCaptureViewModifier.swift",
"Camera/CameraEngine.swift",
"Camera/CameraService+Capture.swift",
"Camera/CameraService+Intents.swift",
"Camera/CameraService+Permissions.swift",
"Camera/CameraService.swift",
"Camera/CaptureConfiguration.swift",
"Camera/CaptureMode.swift",
"Camera/MovieRecordingDelegate.swift",
"Camera/PhotoCaptureDelegate.swift",
"Camera/RecordingTimeView.swift",
"Camera/VideoDataOutputDelegate.swift",
"DropDelegate/DropDelegateService.swift",
"DropDelegate/ImageDropDelegate.swift",
"DropDelegate/VideoDropDelegate.swift",
"Holistic/ImagePicker.swift",
"Holistic/VideoPicker.swift",
"ImageEditor/CropImageView.swift",
"ImageEditor/HoleShapeMask.swift",
"ImageEditor/ImageEditor.swift",
"ImageEditor/WhiteGridOverlay.swift",
"MediaPicker/MediaOptions.swift",
"MediaPicker/MediaPicker-iOS.swift",
"MediaPicker/MediaPicker-macOS.swift",
"MediaPicker/MediaPicker.swift",
"MediaUtilities.swift",
"Modifiers/GrayBackgroundRound.swift",
"Modifiers/OnTapModifier.swift",
"Modifiers/ShakeModifier.swift",
"Modifiers/SwiftUI+Extentions.swift",
"Shared/EditorControlButton.swift",
"Shared/MediaUtilitiesError.swift",
"Shared/SpinnerView.swift",
"Shared/UnifiedImage.swift",
"VideoEditor/Sliders/Base/DefaultHorizontalValueView.swift",
"VideoEditor/Sliders/Base/DefaultThumb.swift",
"VideoEditor/Sliders/Base/DefaultVerticalValueView.swift",
"VideoEditor/Sliders/Base/LinearRangeMath.swift",
"VideoEditor/Sliders/Base/LinearValueMath.swift",
"VideoEditor/Sliders/RangeSlider/RangeSlider.swift",
"VideoEditor/Sliders/RangeSlider/Style/AnyRangeSliderStyle.swift",
"VideoEditor/Sliders/RangeSlider/Style/EnvironmentValues+RangeSliderStyle.swift",
"VideoEditor/Sliders/RangeSlider/Style/RangeSliderStyle.swift",
"VideoEditor/Sliders/RangeSlider/Style/RangeSliderStyleConfiguration.swift",
"VideoEditor/Sliders/RangeSlider/Styles/HorizontalRangeSliderStyle.swift",
"VideoEditor/Sliders/RangeSlider/Styles/RangeSliderOptions.swift",
"VideoEditor/Sliders/RangeTrack/EnvironmentValues+RangeTrackConfiguration.swift",
"VideoEditor/Sliders/RangeTrack/EnvironmentValues+TrackRange.swift",
"VideoEditor/Sliders/RangeTrack/Horizontal/HorizontalRangeTrack.swift",
"VideoEditor/Sliders/RangeTrack/RangeTrackConfiguration.swift",
"VideoEditor/VideoDownloader.swift",
"VideoEditor/VideoEditor.swift",
"VideoEditor/VideoSliderView.swift",
"VideoEditor/VideoUtil.swift",
"VideoPlayer/CustomVideoPlayer.swift",
"VideoPlayer/PlayerViewModel.swift"
],
"type" : "library"
}
],
"tools_version" : "5.10"
}
Done.