Build Information
Failed to build MediaUtilities, reference 0.0.6 (94cd1b
), with Swift 5.10 for macOS (SPM) on 3 Jan 2025 15:16:38 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: 0.0.6
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/iankoex/media-utilities
* tag 0.0.6 -> FETCH_HEAD
HEAD is now at 94cd1b5 spellings
Cloned https://github.com/iankoex/media-utilities.git
Revision (git rev-parse @):
94cd1b51f5d03da70dfa478501a33edcd8c6269c
SUCCESS checkout https://github.com/iankoex/media-utilities.git at 0.0.6
========================================
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] Compiling MediaUtilities HorizontalRangeTrack.swift
[4/43] Compiling MediaUtilities RangeTrackConfiguration.swift
[5/43] Compiling MediaUtilities VideoDownloader.swift
[6/43] Compiling MediaUtilities VideoEditor.swift
[7/43] Emitting module MediaUtilities
[8/47] Compiling MediaUtilities AnyRangeSliderStyle.swift
[9/47] Compiling MediaUtilities EnvironmentValues+RangeSliderStyle.swift
[10/47] Compiling MediaUtilities RangeSliderStyle.swift
[11/47] Compiling MediaUtilities RangeSliderStyleConfiguration.swift
[12/47] Compiling MediaUtilities DefaultVerticalValueView.swift
[13/47] Compiling MediaUtilities LinearRangeMath.swift
[14/47] Compiling MediaUtilities LinearValueMath.swift
[15/47] Compiling MediaUtilities RangeSlider.swift
[16/47] Compiling MediaUtilities CropImageView.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/ImageEditor/CropImageView.swift:321:33: warning: no 'async' operations occur within 'await' expression
let image = try await MediaUtilities.cropImage(inputImage, to: rect, using: maskShape)
^
[17/47] Compiling MediaUtilities HoleShapeMask.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/ImageEditor/CropImageView.swift:321:33: warning: no 'async' operations occur within 'await' expression
let image = try await MediaUtilities.cropImage(inputImage, to: rect, using: maskShape)
^
[18/47] Compiling MediaUtilities ImageEditor.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/ImageEditor/CropImageView.swift:321:33: warning: no 'async' operations occur within 'await' expression
let image = try await MediaUtilities.cropImage(inputImage, to: rect, using: maskShape)
^
[19/47] Compiling MediaUtilities WhiteGridOverlay.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/ImageEditor/CropImageView.swift:321:33: warning: no 'async' operations occur within 'await' expression
let image = try await MediaUtilities.cropImage(inputImage, to: rect, using: maskShape)
^
[20/47] Compiling MediaUtilities MediaOptions.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/ImageEditor/CropImageView.swift:321:33: warning: no 'async' operations occur within 'await' expression
let image = try await MediaUtilities.cropImage(inputImage, to: rect, using: maskShape)
^
[21/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
~~~~ ^~~~~~~~~~~~~~~~
[22/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
~~~~ ^~~~~~~~~~~~~~~~
[23/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
~~~~ ^~~~~~~~~~~~~~~~
[24/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
~~~~ ^~~~~~~~~~~~~~~~
[25/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
~~~~ ^~~~~~~~~~~~~~~~
[26/47] Compiling MediaUtilities HorizontalRangeSliderStyle.swift
[27/47] Compiling MediaUtilities RangeSliderOptions.swift
[28/47] Compiling MediaUtilities EnvironmentValues+RangeTrackConfiguration.swift
[29/47] Compiling MediaUtilities EnvironmentValues+TrackRange.swift
[30/47] Compiling MediaUtilities SpinnerView.swift
[31/47] Compiling MediaUtilities UnifiedImage.swift
[32/47] Compiling MediaUtilities DefaultHorizontalValueView.swift
[33/47] Compiling MediaUtilities DefaultThumb.swift
[34/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))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[35/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))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[36/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))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[37/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))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[38/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))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[39/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):
~~~~^~~
_
[40/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):
~~~~^~~
_
[41/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):
~~~~^~~
_
[42/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):
~~~~^~~
_
[43/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):
~~~~^~~
_
[44/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 {
^
[45/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 {
^
[46/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 {
^
[47/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 {
^
error: fatalError
BUILD FAILURE 5.10 macosSpm