The Swift Package Index logo.Swift Package Index

Build Information

Successful build of swift-spleeter, reference 0.2.0 (bb1016), with Swift 6.1 for macOS (SPM) on 29 Jul 2025 23:46:17 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jiyimeta/swift-spleeter.git
Reference: 0.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jiyimeta/swift-spleeter
 * tag               0.2.0      -> FETCH_HEAD
HEAD is now at bb10165 Update spleeter
Submodule path 'Tools/spleeter-pytorch': checked out 'bb40395d320e773f6cda607971dea7d5f8bcd7d7'
Submodule 'Tools/spleeter-pytorch' (https://github.com/jiyimeta/spleeter-pytorch.git) registered for path 'Tools/spleeter-pytorch'
Cloning into '/Users/admin/builder/spi-builder-workspace/Tools/spleeter-pytorch'...
Cloned https://github.com/jiyimeta/swift-spleeter.git
Revision (git rev-parse @):
bb101655260b2262fe84d3f6b9478a9812884faa
SUCCESS checkout https://github.com/jiyimeta/swift-spleeter.git at 0.2.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "swift-spleeter",
      "name": "swift-spleeter",
      "url": "https://github.com/jiyimeta/swift-spleeter.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-spleeter",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/jiyimeta/swift-spleeter.git
[1/173] Fetching swift-spleeter
Fetched https://github.com/jiyimeta/swift-spleeter.git from cache (1.80s)
Creating working copy for https://github.com/jiyimeta/swift-spleeter.git
Working copy of https://github.com/jiyimeta/swift-spleeter.git resolved at 0.2.0 (bb10165)
warning: '.resolve-product-dependencies': dependency 'swift-spleeter' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/jiyimeta/swift-spleeter.git
https://github.com/jiyimeta/swift-spleeter.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swift-spleeter",
  "name" : "swift-spleeter",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "Spleeter",
      "targets" : [
        "Spleeter"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SpleeterTests",
      "module_type" : "SwiftTarget",
      "name" : "SpleeterTests",
      "path" : "Tests/SpleeterTests",
      "sources" : [
        "STFTTests.swift"
      ],
      "target_dependencies" : [
        "Spleeter"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Spleeter",
      "module_type" : "SwiftTarget",
      "name" : "Spleeter",
      "path" : "Sources",
      "product_memberships" : [
        "Spleeter"
      ],
      "sources" : [
        "AudioFile/AudioFile.swift",
        "AudioFile/AudioFileStreamWriter.swift",
        "AudioFile/StereoValues.swift",
        "AudioSeparator/AudioSeparator2/AudioSeparator2.swift",
        "AudioSeparator/AudioSeparator2/Spleeter2Model.swift",
        "AudioSeparator/AudioSeparator2/Stems2.swift",
        "AudioSeparator/AudioSeparator4/AudioSeparator4.swift",
        "AudioSeparator/AudioSeparator4/Spleeter4Model.swift",
        "AudioSeparator/AudioSeparator4/Stems4.swift",
        "AudioSeparator/AudioSeparator5/AudioSeparator5.swift",
        "AudioSeparator/AudioSeparator5/Spleeter5Model.swift",
        "AudioSeparator/AudioSeparator5/Stems5.swift",
        "AudioSeparator/AudioSeparatorProtocol.swift",
        "AudioSeparator/InternalAudioSeparatorProtocol.swift",
        "AudioSeparator/SpleeterModelProtocol.swift",
        "AudioSeparator/StemsProtocol.swift",
        "STFT/STFT.swift",
        "STFT/Spectrogram.swift",
        "STFT/SpectrogramTensor.swift",
        "Utility/Array+Extensions.swift",
        "Utility/MLTensor+Extensions.swift",
        "Utility/Sequence+Extensions.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/23] Emitting module Spleeter
[4/25] Compiling Spleeter MLTensor+Extensions.swift
[5/25] Compiling Spleeter Sequence+Extensions.swift
[6/25] Compiling Spleeter SpleeterModelProtocol.swift
[7/25] Compiling Spleeter StemsProtocol.swift
[8/25] Compiling Spleeter Spleeter5Model.swift
[9/25] Compiling Spleeter Stems5.swift
[10/25] Compiling Spleeter STFT.swift
[11/25] Compiling Spleeter Spectrogram.swift
[12/25] Compiling Spleeter Stems4.swift
[13/25] Compiling Spleeter AudioSeparator5.swift
[14/25] Compiling Spleeter AudioSeparator4.swift
[15/25] Compiling Spleeter Spleeter4Model.swift
[16/25] Compiling Spleeter SpectrogramTensor.swift
[17/25] Compiling Spleeter Array+Extensions.swift
[18/25] Compiling Spleeter AudioFile.swift
[19/25] Compiling Spleeter AudioFileStreamWriter.swift
[20/25] Compiling Spleeter StereoValues.swift
[21/25] Compiling Spleeter AudioSeparatorProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/AudioSeparator/InternalAudioSeparatorProtocol.swift:66:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 64 |     ) -> AsyncThrowingStream<Progress, any Error> {
 65 |         AsyncThrowingStream { continuation in
 66 |             Task {
    |                  `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 67 |                 do {
 68 |                     let audioFile = try AudioFile(forReading: inputURL)
    :
 70 |                     let sampleRate = audioFile.sampleRate
 71 |
 72 |                     let fileWriters = try mapStems(outputURLs) {
    |                                           |        `- note: closure captures non-Sendable 'outputURLs'
    |                                           `- note: closure captures non-Sendable 'self'
 73 |                         try AudioFileStreamWriter(
 74 |                             to: $0,
/Users/admin/builder/spi-builder-workspace/Sources/AudioSeparator/InternalAudioSeparatorProtocol.swift:112:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
110 |     ) -> AsyncThrowingStream<(FloatArrayStems?, Progress), any Error> {
111 |         AsyncThrowingStream { continuation in
112 |             Task {
    |                  `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
113 |                 do {
114 |                     let length = max(waveform.left.count, waveform.right.count)
    |                                      `- note: closure captures non-Sendable 'waveform'
115 |                     let stride = stride(from: 0, to: length, by: clampingLength)
    |                                                                  `- note: closure captures non-Sendable 'self'
116 |
117 |                     continuation.yield((
/Users/admin/builder/spi-builder-workspace/Sources/AudioSeparator/InternalAudioSeparatorProtocol.swift:129:38: warning: sending value of non-Sendable type '(Self.FloatArrayStems?, Progress)' risks causing data races; this is an error in the Swift 6 language mode
127 |                         let output = try await separate(chunk: chunk)
128 |
129 |                         continuation.yield((
    |                                      |- warning: sending value of non-Sendable type '(Self.FloatArrayStems?, Progress)' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: Passing task-isolated value of non-Sendable type '(Self.FloatArrayStems?, Progress)' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
130 |                             output,
131 |                             Progress(total: stride.underestimatedCount, current: index + 1)
[22/25] Compiling Spleeter InternalAudioSeparatorProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/AudioSeparator/InternalAudioSeparatorProtocol.swift:66:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 64 |     ) -> AsyncThrowingStream<Progress, any Error> {
 65 |         AsyncThrowingStream { continuation in
 66 |             Task {
    |                  `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 67 |                 do {
 68 |                     let audioFile = try AudioFile(forReading: inputURL)
    :
 70 |                     let sampleRate = audioFile.sampleRate
 71 |
 72 |                     let fileWriters = try mapStems(outputURLs) {
    |                                           |        `- note: closure captures non-Sendable 'outputURLs'
    |                                           `- note: closure captures non-Sendable 'self'
 73 |                         try AudioFileStreamWriter(
 74 |                             to: $0,
/Users/admin/builder/spi-builder-workspace/Sources/AudioSeparator/InternalAudioSeparatorProtocol.swift:112:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
110 |     ) -> AsyncThrowingStream<(FloatArrayStems?, Progress), any Error> {
111 |         AsyncThrowingStream { continuation in
112 |             Task {
    |                  `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
113 |                 do {
114 |                     let length = max(waveform.left.count, waveform.right.count)
    |                                      `- note: closure captures non-Sendable 'waveform'
115 |                     let stride = stride(from: 0, to: length, by: clampingLength)
    |                                                                  `- note: closure captures non-Sendable 'self'
116 |
117 |                     continuation.yield((
/Users/admin/builder/spi-builder-workspace/Sources/AudioSeparator/InternalAudioSeparatorProtocol.swift:129:38: warning: sending value of non-Sendable type '(Self.FloatArrayStems?, Progress)' risks causing data races; this is an error in the Swift 6 language mode
127 |                         let output = try await separate(chunk: chunk)
128 |
129 |                         continuation.yield((
    |                                      |- warning: sending value of non-Sendable type '(Self.FloatArrayStems?, Progress)' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: Passing task-isolated value of non-Sendable type '(Self.FloatArrayStems?, Progress)' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
130 |                             output,
131 |                             Progress(total: stride.underestimatedCount, current: index + 1)
[23/25] Compiling Spleeter AudioSeparator2.swift
[24/25] Compiling Spleeter Spleeter2Model.swift
[25/25] Compiling Spleeter Stems2.swift
Build complete! (8.64s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swift-spleeter",
  "name" : "swift-spleeter",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "Spleeter",
      "targets" : [
        "Spleeter"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SpleeterTests",
      "module_type" : "SwiftTarget",
      "name" : "SpleeterTests",
      "path" : "Tests/SpleeterTests",
      "sources" : [
        "STFTTests.swift"
      ],
      "target_dependencies" : [
        "Spleeter"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Spleeter",
      "module_type" : "SwiftTarget",
      "name" : "Spleeter",
      "path" : "Sources",
      "product_memberships" : [
        "Spleeter"
      ],
      "sources" : [
        "AudioFile/AudioFile.swift",
        "AudioFile/AudioFileStreamWriter.swift",
        "AudioFile/StereoValues.swift",
        "AudioSeparator/AudioSeparator2/AudioSeparator2.swift",
        "AudioSeparator/AudioSeparator2/Spleeter2Model.swift",
        "AudioSeparator/AudioSeparator2/Stems2.swift",
        "AudioSeparator/AudioSeparator4/AudioSeparator4.swift",
        "AudioSeparator/AudioSeparator4/Spleeter4Model.swift",
        "AudioSeparator/AudioSeparator4/Stems4.swift",
        "AudioSeparator/AudioSeparator5/AudioSeparator5.swift",
        "AudioSeparator/AudioSeparator5/Spleeter5Model.swift",
        "AudioSeparator/AudioSeparator5/Stems5.swift",
        "AudioSeparator/AudioSeparatorProtocol.swift",
        "AudioSeparator/InternalAudioSeparatorProtocol.swift",
        "AudioSeparator/SpleeterModelProtocol.swift",
        "AudioSeparator/StemsProtocol.swift",
        "STFT/STFT.swift",
        "STFT/Spectrogram.swift",
        "STFT/SpectrogramTensor.swift",
        "Utility/Array+Extensions.swift",
        "Utility/MLTensor+Extensions.swift",
        "Utility/Sequence+Extensions.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.