The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of MediaUtilities, reference 0.0.6 (94cd1b), with Swift 6.2 (beta) for macOS (SPM) on 22 Jun 2025 19:50:39 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.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:             6.2
Building package at path:  $PWD
https://github.com/iankoex/media-utilities.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/43] Emitting module MediaUtilities
[4/47] Compiling MediaUtilities HorizontalRangeTrack.swift
[5/47] Compiling MediaUtilities RangeTrackConfiguration.swift
[6/47] Compiling MediaUtilities VideoDownloader.swift
[7/47] Compiling MediaUtilities VideoEditor.swift
[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 OnTapModifier.swift
[13/47] Compiling MediaUtilities Shake Modifier.swift
[14/47] Compiling MediaUtilities SwiftUI+Extentions.swift
[15/47] Compiling MediaUtilities EditorControlButton.swift
[16/47] Compiling MediaUtilities MediaUtilitiesError.swift
[17/47] Compiling MediaUtilities SpinnerView.swift
[18/47] Compiling MediaUtilities UnifiedImage.swift
[19/47] Compiling MediaUtilities DefaultHorizontalValueView.swift
[20/47] Compiling MediaUtilities DefaultThumb.swift
[21/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 [#no-usage]
 66 |
 67 |         let rotationTransform = CGAffineTransform(rotationAngle: CGFloat(rotationInRadians))
 68 |         rotationTransform.concatenating(CGAffineTransform(translationX: translateX, y: translateY))
    |                           `- warning: result of call to 'concatenating' is unused [#no-usage]
 69 |
 70 |         let transformedImage = ciImage.transformed(by: rotationTransform)
[22/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 [#no-usage]
 66 |
 67 |         let rotationTransform = CGAffineTransform(rotationAngle: CGFloat(rotationInRadians))
 68 |         rotationTransform.concatenating(CGAffineTransform(translationX: translateX, y: translateY))
    |                           `- warning: result of call to 'concatenating' is unused [#no-usage]
 69 |
 70 |         let transformedImage = ciImage.transformed(by: rotationTransform)
[23/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 [#no-usage]
 66 |
 67 |         let rotationTransform = CGAffineTransform(rotationAngle: CGFloat(rotationInRadians))
 68 |         rotationTransform.concatenating(CGAffineTransform(translationX: translateX, y: translateY))
    |                           `- warning: result of call to 'concatenating' is unused [#no-usage]
 69 |
 70 |         let transformedImage = ciImage.transformed(by: rotationTransform)
[24/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 [#no-usage]
 66 |
 67 |         let rotationTransform = CGAffineTransform(rotationAngle: CGFloat(rotationInRadians))
 68 |         rotationTransform.concatenating(CGAffineTransform(translationX: translateX, y: translateY))
    |                           `- warning: result of call to 'concatenating' is unused [#no-usage]
 69 |
 70 |         let transformedImage = ciImage.transformed(by: rotationTransform)
[25/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 [#no-usage]
 66 |
 67 |         let rotationTransform = CGAffineTransform(rotationAngle: CGFloat(rotationInRadians))
 68 |         rotationTransform.concatenating(CGAffineTransform(translationX: translateX, y: translateY))
    |                           `- warning: result of call to 'concatenating' is unused [#no-usage]
 69 |
 70 |         let transformedImage = ciImage.transformed(by: rotationTransform)
[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 CropImageView.swift
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/ImageEditor/CropImageView.swift:321:33: warning: no 'async' operations occur within 'await' expression
319 |         Task {
320 |             do {
321 |                 let image = try await MediaUtilities.cropImage(inputImage, to: rect, using: maskShape)
    |                                 `- warning: no 'async' operations occur within 'await' expression
322 |                 onCompletion(.success(image))
323 |             } catch {
[31/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
319 |         Task {
320 |             do {
321 |                 let image = try await MediaUtilities.cropImage(inputImage, to: rect, using: maskShape)
    |                                 `- warning: no 'async' operations occur within 'await' expression
322 |                 onCompletion(.success(image))
323 |             } catch {
[32/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
319 |         Task {
320 |             do {
321 |                 let image = try await MediaUtilities.cropImage(inputImage, to: rect, using: maskShape)
    |                                 `- warning: no 'async' operations occur within 'await' expression
322 |                 onCompletion(.success(image))
323 |             } catch {
[33/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
319 |         Task {
320 |             do {
321 |                 let image = try await MediaUtilities.cropImage(inputImage, to: rect, using: maskShape)
    |                                 `- warning: no 'async' operations occur within 'await' expression
322 |                 onCompletion(.success(image))
323 |             } catch {
[34/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
319 |         Task {
320 |             do {
321 |                 let image = try await MediaUtilities.cropImage(inputImage, to: rect, using: maskShape)
    |                                 `- warning: no 'async' operations occur within 'await' expression
322 |                 onCompletion(.success(image))
323 |             } catch {
[35/47] Compiling MediaUtilities DefaultVerticalValueView.swift
[36/47] Compiling MediaUtilities LinearRangeMath.swift
[37/47] Compiling MediaUtilities LinearValueMath.swift
[38/47] Compiling MediaUtilities RangeSlider.swift
[39/47] 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
[40/47] 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
[41/47] 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
[42/47] 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
[43/47] 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
[44/47] 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>
[45/47] 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>
[46/47] 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>
[47/47] 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! (10.06s)
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" : [
        "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/Shake Modifier.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.5"
}
Done.