Build Information
Failed to build MediaUtilities, reference main (ddc6b6
), with Swift 5.10 for macOS (SPM) on 7 Jan 2025 23:44:30 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.60.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 ddc6b6d remove unnecessary prints
Cloned https://github.com/iankoex/media-utilities.git
Revision (git rev-parse @):
ddc6b6dd7dc6cd86e140e6f8cd8dce5344101015
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/43] Emitting module MediaUtilities
[4/47] 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
~~~~ ^~~~~~~~~~~~~~~~
[5/47] 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
~~~~ ^~~~~~~~~~~~~~~~
[6/47] 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
~~~~ ^~~~~~~~~~~~~~~~
[7/47] 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
~~~~ ^~~~~~~~~~~~~~~~
[8/47] Compiling MediaUtilities MediaUtilitiesError.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
~~~~ ^~~~~~~~~~~~~~~~
[9/47] Compiling MediaUtilities HorizontalRangeTrack.swift
[10/47] Compiling MediaUtilities RangeTrackConfiguration.swift
[11/47] Compiling MediaUtilities VideoDownloader.swift
[12/47] Compiling MediaUtilities VideoEditor.swift
[13/47] Compiling MediaUtilities CropImageView.swift
[14/47] Compiling MediaUtilities HoleShapeMask.swift
[15/47] Compiling MediaUtilities ImageEditor.swift
[16/47] Compiling MediaUtilities WhiteGridOverlay.swift
[17/47] Compiling MediaUtilities MediaOptions.swift
[18/47] Compiling MediaUtilities MediaPicker-iOS.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/MediaUtilities.swift:68:27: warning: result of call to 'concatenating' is unused
rotationTransform.concatenating(CGAffineTransform(translationX: translateX, y: translateY))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[19/47] Compiling MediaUtilities MediaPicker-macOS.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/MediaUtilities.swift:68:27: warning: result of call to 'concatenating' is unused
rotationTransform.concatenating(CGAffineTransform(translationX: translateX, y: translateY))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[20/47] Compiling MediaUtilities MediaPicker.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/MediaUtilities.swift:68:27: warning: result of call to 'concatenating' is unused
rotationTransform.concatenating(CGAffineTransform(translationX: translateX, y: translateY))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[21/47] Compiling MediaUtilities MediaUtilities.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/MediaUtilities.swift:68:27: warning: result of call to 'concatenating' is unused
rotationTransform.concatenating(CGAffineTransform(translationX: translateX, y: translateY))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[22/47] Compiling MediaUtilities GrayBackgroundRound.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/MediaUtilities.swift:68:27: warning: result of call to 'concatenating' is unused
rotationTransform.concatenating(CGAffineTransform(translationX: translateX, y: translateY))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[23/47] Compiling MediaUtilities DefaultVerticalValueView.swift
[24/47] Compiling MediaUtilities LinearRangeMath.swift
[25/47] Compiling MediaUtilities LinearValueMath.swift
[26/47] Compiling MediaUtilities RangeSlider.swift
[27/47] Compiling MediaUtilities AnyRangeSliderStyle.swift
[28/47] Compiling MediaUtilities EnvironmentValues+RangeSliderStyle.swift
[29/47] Compiling MediaUtilities RangeSliderStyle.swift
[30/47] Compiling MediaUtilities RangeSliderStyleConfiguration.swift
[31/47] Compiling MediaUtilities HorizontalRangeSliderStyle.swift
[32/47] Compiling MediaUtilities RangeSliderOptions.swift
[33/47] Compiling MediaUtilities EnvironmentValues+RangeTrackConfiguration.swift
[34/47] Compiling MediaUtilities EnvironmentValues+TrackRange.swift
[35/47] Compiling MediaUtilities SpinnerView.swift
[36/47] Compiling MediaUtilities UnifiedImage.swift
[37/47] Compiling MediaUtilities DefaultHorizontalValueView.swift
[38/47] Compiling MediaUtilities DefaultThumb.swift
[39/47] 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 {
^
[40/47] 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 {
^
[41/47] 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 {
^
[42/47] 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 {
^
[43/47] Compiling MediaUtilities DropDelegateService.swift
/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 {
^
/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):
~~~~^~~
_
[44/47] Compiling MediaUtilities ImageDropDelegate.swift
/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 {
^
/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):
~~~~^~~
_
[45/47] Compiling MediaUtilities VideoDropDelegate.swift
/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 {
^
/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):
~~~~^~~
_
[46/47] Compiling MediaUtilities ImagePicker.swift
/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 {
^
/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):
~~~~^~~
_
[47/47] Compiling MediaUtilities VideoPicker.swift
/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 {
^
/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