The Swift Package Index logo.Swift Package Index

Build Information

Successful build of MediaUtilities, reference main (4a3f5d), with Swift 6.4 for macOS (SPM) on 27 Sep 2026 19:16:47 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.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 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.4
Building package at path:  $PWD
https://github.com/iankoex/media-utilities.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Planning deferred tasks]
[19 / 28]
[20 / 29] MediaUtilities
[30 / 115]
[33 / 115]
[41 / 115]
[43 / 115]
[44 / 115]
[49 / 115]
[51 / 115]
[53 / 115]
[56 / 115]
[61 / 115]
[63 / 115]
[66 / 115]
[67 / 115]
[78 / 115]
[80 / 115]
[82 / 115]
[86 / 115]
[91 / 115]
[92 / 115]
[95 / 115]
[106 / 115] MediaUtilities
[107 / 115] MediaUtilities
[113 / 115] MediaUtilities
Build complete! (12.27 sec)
/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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/conformance-isolation\ConformanceIsolation]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/conformance-isolation\ConformanceIsolation]8;;\]
   |                                    |- 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>
/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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/conformance-isolation\ConformanceIsolation]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/conformance-isolation\ConformanceIsolation]8;;\]
   |                                    |- 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>
/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,
/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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
151 |                     }
152 |                 }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/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 |
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/DropDelegate/ImageDropDelegate.swift:97:13: warning: unstructured throwing task created by 'init(name:priority:operation:)' is not used, which may accidentally ignore errors thrown inside the task [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-use-throwing-unstructured-task\NoUseUnstructuredThrowingTask]8;;\]
 95 |
 96 |         if itemProvider.hasItemConformingToTypeIdentifier(UTType.url.identifier) {
 97 |             Task {
    |             |- warning: unstructured throwing task created by 'init(name:priority:operation:)' is not used, which may accidentally ignore errors thrown inside the task [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-use-throwing-unstructured-task\NoUseUnstructuredThrowingTask]8;;\]
    |             `- note: to silence this warning, handle the error inside the task, or store/discard the task value explicitly
 98 | #if os(iOS)
 99 |                 let nsSecureCoding = try await itemProvider.loadItem(forTypeIdentifier: UTType.image.identifier, options: nil)
/Users/admin/builder/spi-builder-workspace/Sources/MediaUtilities/DropDelegate/VideoDropDelegate.swift:78:13: warning: unstructured throwing task created by 'init(name:priority:operation:)' is not used, which may accidentally ignore errors thrown inside the task [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-use-throwing-unstructured-task\NoUseUnstructuredThrowingTask]8;;\]
 76 |         }
 77 |         if itemProvider.hasItemConformingToTypeIdentifier(DropDelegateService.urlIndentifier) {
 78 |             Task {
    |             |- warning: unstructured throwing task created by 'init(name:priority:operation:)' is not used, which may accidentally ignore errors thrown inside the task [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-use-throwing-unstructured-task\NoUseUnstructuredThrowingTask]8;;\]
    |             `- note: to silence this warning, handle the error inside the task, or store/discard the task value explicitly
 79 |                 let nsSecureCoding = try await itemProvider.loadItem(forTypeIdentifier: DropDelegateService.urlIndentifier, options: nil)
 80 |                 guard let urlData = nsSecureCoding as? Data else {
/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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
204 |                 }
205 |             }
206 |         case .failure(let err):
    |                           `- warning: immutable value 'err' was never used; consider replacing with '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
207 |             withAnimation {
208 |                 isShowingVideoEditor = false
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
[#NoUseUnstructuredThrowingTask]: <https://docs.swift.org/compiler/documentation/diagnostics/no-use-throwing-unstructured-task>
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.