The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-midi-core, reference 1.0.0 (8ff095), with Swift 6.3 for Linux on 27 Apr 2026 07:25:23 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/orchetect/swift-midi-core.git
Reference: 1.0.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/orchetect/swift-midi-core
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at 8ff0951 Updated docs
Cloned https://github.com/orchetect/swift-midi-core.git
Revision (git rev-parse @):
8ff095125c2715093028923a7ff175666ead2484
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/orchetect/swift-midi-core.git at 1.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.3
Building package at path:  $PWD
https://github.com/orchetect/swift-midi-core.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Fetching https://github.com/orchetect/swift-testing-extensions
[1/1074] Fetching swift-testing-extensions
Fetched https://github.com/orchetect/swift-testing-extensions from cache (0.25s)
Computing version for https://github.com/orchetect/swift-testing-extensions
Computed https://github.com/orchetect/swift-testing-extensions at 0.3.0 (0.75s)
Fetching https://github.com/tsolomko/SWCompression
Fetching https://github.com/swiftlang/swift-syntax.git
[1/17717] Fetching swcompression
[9037/92756] Fetching swcompression, swift-syntax
Fetched https://github.com/tsolomko/SWCompression from cache (8.51s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (8.53s)
Computing version for https://github.com/tsolomko/SWCompression
Computed https://github.com/tsolomko/SWCompression at 4.8.6 (13.62s)
Fetching https://github.com/tsolomko/BitByteData
[1/3232] Fetching bitbytedata
Fetched https://github.com/tsolomko/BitByteData from cache (0.61s)
Computing version for https://github.com/tsolomko/BitByteData
Computed https://github.com/tsolomko/BitByteData at 2.0.4 (2.10s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.1 (1.46s)
Creating working copy for https://github.com/tsolomko/SWCompression
Working copy of https://github.com/tsolomko/SWCompression resolved at 4.8.6
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 603.0.1
Creating working copy for https://github.com/tsolomko/BitByteData
Working copy of https://github.com/tsolomko/BitByteData resolved at 2.0.4
Creating working copy for https://github.com/orchetect/swift-testing-extensions
Working copy of https://github.com/orchetect/swift-testing-extensions resolved at 0.3.0
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/603.0.1/swift-6.3-RELEASE-ubuntu_jammy_x86_64-MacroSupport.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/603.0.1/swift-6.3-RELEASE-ubuntu_jammy_x86_64-MacroSupport.tar.gz (0.54s)
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/24] Emitting module SwiftMIDIInternals
/host/spi-builder-workspace/Sources/SwiftMIDIInternals/Utilities/SafeDispatchTimer.swift:48:48: error: 'DispatchSourceHandler' is not a member type of class 'Dispatch.DispatchSource'
 46 |         leeway: DispatchTimeInterval = .nanoseconds(0),
 47 |         queue: DispatchQueue? = nil,
 48 |         eventHandler: @escaping DispatchSource.DispatchSourceHandler = { }
    |                                                `- error: 'DispatchSourceHandler' is not a member type of class 'Dispatch.DispatchSource'
 49 |     ) {
 50 |         self.rate = rate
Dispatch.DispatchSource:1:14: note: 'DispatchSource' declared here
1 | public class DispatchSource : DispatchObject, @unchecked Sendable, DispatchSourceProtocol, DispatchSourceRead, DispatchSourceSignal, DispatchSourceTimer, DispatchSourceUserDataAdd, DispatchSourceUserDataOr, DispatchSourceUserDataReplace, DispatchSourceWrite {
  |              `- note: 'DispatchSource' declared here
2 |     deinit
3 | }
/host/spi-builder-workspace/Sources/SwiftMIDIInternals/Utilities/SafeDispatchTimer.swift:48:23: error: '@escaping' only applies to function types
 46 |         leeway: DispatchTimeInterval = .nanoseconds(0),
 47 |         queue: DispatchQueue? = nil,
 48 |         eventHandler: @escaping DispatchSource.DispatchSourceHandler = { }
    |                       `- error: '@escaping' only applies to function types
 49 |     ) {
 50 |         self.rate = rate
/host/spi-builder-workspace/Sources/SwiftMIDIInternals/Utilities/SafeDispatchTimer.swift:123:67: error: 'DispatchSourceHandler' is not a member type of class 'Dispatch.DispatchSource'
121 |
122 |     /// Set the event handler closure that the timer executes
123 |     public func setEventHandler(handler: @escaping DispatchSource.DispatchSourceHandler) {
    |                                                                   `- error: 'DispatchSourceHandler' is not a member type of class 'Dispatch.DispatchSource'
124 |         timer.setEventHandler(handler: handler)
125 |     }
Dispatch.DispatchSource:1:14: note: 'DispatchSource' declared here
1 | public class DispatchSource : DispatchObject, @unchecked Sendable, DispatchSourceProtocol, DispatchSourceRead, DispatchSourceSignal, DispatchSourceTimer, DispatchSourceUserDataAdd, DispatchSourceUserDataOr, DispatchSourceUserDataReplace, DispatchSourceWrite {
  |              `- note: 'DispatchSource' declared here
2 |     deinit
3 | }
/host/spi-builder-workspace/Sources/SwiftMIDIInternals/Utilities/SafeDispatchTimer.swift:123:42: error: '@escaping' only applies to function types
121 |
122 |     /// Set the event handler closure that the timer executes
123 |     public func setEventHandler(handler: @escaping DispatchSource.DispatchSourceHandler) {
    |                                          `- error: '@escaping' only applies to function types
124 |         timer.setEventHandler(handler: handler)
125 |     }
[5/26] Compiling SwiftMIDIInternals Hex and Binary String.swift
/host/spi-builder-workspace/Sources/SwiftMIDIInternals/Utilities/Outsourced/ASCII.swift:30:27: error: cannot find 'applyingTransform' in scope
28 |     @available(OSX 10.11, iOS 9.0, *)
29 |     var asciiStringLossy: String {
30 |         let transformed = applyingTransform(
   |                           `- error: cannot find 'applyingTransform' in scope
31 |             StringTransform("Latin-ASCII"),
32 |             reverse: false
[6/26] Compiling SwiftMIDIInternals Number Formatting.swift
/host/spi-builder-workspace/Sources/SwiftMIDIInternals/Utilities/Outsourced/ASCII.swift:30:27: error: cannot find 'applyingTransform' in scope
28 |     @available(OSX 10.11, iOS 9.0, *)
29 |     var asciiStringLossy: String {
30 |         let transformed = applyingTransform(
   |                           `- error: cannot find 'applyingTransform' in scope
31 |             StringTransform("Latin-ASCII"),
32 |             reverse: false
[7/26] Compiling SwiftMIDIInternals ASCII.swift
/host/spi-builder-workspace/Sources/SwiftMIDIInternals/Utilities/Outsourced/ASCII.swift:30:27: error: cannot find 'applyingTransform' in scope
28 |     @available(OSX 10.11, iOS 9.0, *)
29 |     var asciiStringLossy: String {
30 |         let transformed = applyingTransform(
   |                           `- error: cannot find 'applyingTransform' in scope
31 |             StringTransform("Latin-ASCII"),
32 |             reverse: false
[8/26] Compiling SwiftMIDIInternals String.swift
/host/spi-builder-workspace/Sources/SwiftMIDIInternals/Utilities/Outsourced/Timespec.swift:141:18: error: extraneous argument label 'seconds:' in call
139 |     @_disfavoredOverload
140 |     public init(_ interval: TimeInterval) {
141 |         self.init(seconds: interval)
    |                  `- error: extraneous argument label 'seconds:' in call
142 |     }
143 | }
[9/26] Compiling SwiftMIDIInternals Timespec.swift
/host/spi-builder-workspace/Sources/SwiftMIDIInternals/Utilities/Outsourced/Timespec.swift:141:18: error: extraneous argument label 'seconds:' in call
139 |     @_disfavoredOverload
140 |     public init(_ interval: TimeInterval) {
141 |         self.init(seconds: interval)
    |                  `- error: extraneous argument label 'seconds:' in call
142 |     }
143 | }
[10/26] Compiling SwiftMIDIInternals RandomAccessCollection.swift
/host/spi-builder-workspace/Sources/SwiftMIDIInternals/Utilities/Outsourced/Timespec.swift:141:18: error: extraneous argument label 'seconds:' in call
139 |     @_disfavoredOverload
140 |     public init(_ interval: TimeInterval) {
141 |         self.init(seconds: interval)
    |                  `- error: extraneous argument label 'seconds:' in call
142 |     }
143 | }
[11/26] Compiling SwiftMIDIInternals SafeDispatchTimer.swift
/host/spi-builder-workspace/Sources/SwiftMIDIInternals/Utilities/SafeDispatchTimer.swift:48:48: error: 'DispatchSourceHandler' is not a member type of class 'Dispatch.DispatchSource'
 46 |         leeway: DispatchTimeInterval = .nanoseconds(0),
 47 |         queue: DispatchQueue? = nil,
 48 |         eventHandler: @escaping DispatchSource.DispatchSourceHandler = { }
    |                                                `- error: 'DispatchSourceHandler' is not a member type of class 'Dispatch.DispatchSource'
 49 |     ) {
 50 |         self.rate = rate
Dispatch.DispatchSource:1:14: note: 'DispatchSource' declared here
1 | public class DispatchSource : DispatchObject, @unchecked Sendable, DispatchSourceProtocol, DispatchSourceRead, DispatchSourceSignal, DispatchSourceTimer, DispatchSourceUserDataAdd, DispatchSourceUserDataOr, DispatchSourceUserDataReplace, DispatchSourceWrite {
  |              `- note: 'DispatchSource' declared here
2 |     deinit
3 | }
/host/spi-builder-workspace/Sources/SwiftMIDIInternals/Utilities/SafeDispatchTimer.swift:48:23: error: '@escaping' only applies to function types
 46 |         leeway: DispatchTimeInterval = .nanoseconds(0),
 47 |         queue: DispatchQueue? = nil,
 48 |         eventHandler: @escaping DispatchSource.DispatchSourceHandler = { }
    |                       `- error: '@escaping' only applies to function types
 49 |     ) {
 50 |         self.rate = rate
/host/spi-builder-workspace/Sources/SwiftMIDIInternals/Utilities/SafeDispatchTimer.swift:123:67: error: 'DispatchSourceHandler' is not a member type of class 'Dispatch.DispatchSource'
121 |
122 |     /// Set the event handler closure that the timer executes
123 |     public func setEventHandler(handler: @escaping DispatchSource.DispatchSourceHandler) {
    |                                                                   `- error: 'DispatchSourceHandler' is not a member type of class 'Dispatch.DispatchSource'
124 |         timer.setEventHandler(handler: handler)
125 |     }
Dispatch.DispatchSource:1:14: note: 'DispatchSource' declared here
1 | public class DispatchSource : DispatchObject, @unchecked Sendable, DispatchSourceProtocol, DispatchSourceRead, DispatchSourceSignal, DispatchSourceTimer, DispatchSourceUserDataAdd, DispatchSourceUserDataOr, DispatchSourceUserDataReplace, DispatchSourceWrite {
  |              `- note: 'DispatchSource' declared here
2 |     deinit
3 | }
/host/spi-builder-workspace/Sources/SwiftMIDIInternals/Utilities/SafeDispatchTimer.swift:123:42: error: '@escaping' only applies to function types
121 |
122 |     /// Set the event handler closure that the timer executes
123 |     public func setEventHandler(handler: @escaping DispatchSource.DispatchSourceHandler) {
    |                                          `- error: '@escaping' only applies to function types
124 |         timer.setEventHandler(handler: handler)
125 |     }
[12/26] Compiling SwiftMIDIInternals MainThreadSynchronizedPThreadMutex.swift
/host/spi-builder-workspace/Sources/SwiftMIDIInternals/Utilities/SafeDispatchTimer.swift:48:48: error: 'DispatchSourceHandler' is not a member type of class 'Dispatch.DispatchSource'
 46 |         leeway: DispatchTimeInterval = .nanoseconds(0),
 47 |         queue: DispatchQueue? = nil,
 48 |         eventHandler: @escaping DispatchSource.DispatchSourceHandler = { }
    |                                                `- error: 'DispatchSourceHandler' is not a member type of class 'Dispatch.DispatchSource'
 49 |     ) {
 50 |         self.rate = rate
Dispatch.DispatchSource:1:14: note: 'DispatchSource' declared here
1 | public class DispatchSource : DispatchObject, @unchecked Sendable, DispatchSourceProtocol, DispatchSourceRead, DispatchSourceSignal, DispatchSourceTimer, DispatchSourceUserDataAdd, DispatchSourceUserDataOr, DispatchSourceUserDataReplace, DispatchSourceWrite {
  |              `- note: 'DispatchSource' declared here
2 |     deinit
3 | }
/host/spi-builder-workspace/Sources/SwiftMIDIInternals/Utilities/SafeDispatchTimer.swift:48:23: error: '@escaping' only applies to function types
 46 |         leeway: DispatchTimeInterval = .nanoseconds(0),
 47 |         queue: DispatchQueue? = nil,
 48 |         eventHandler: @escaping DispatchSource.DispatchSourceHandler = { }
    |                       `- error: '@escaping' only applies to function types
 49 |     ) {
 50 |         self.rate = rate
/host/spi-builder-workspace/Sources/SwiftMIDIInternals/Utilities/SafeDispatchTimer.swift:123:67: error: 'DispatchSourceHandler' is not a member type of class 'Dispatch.DispatchSource'
121 |
122 |     /// Set the event handler closure that the timer executes
123 |     public func setEventHandler(handler: @escaping DispatchSource.DispatchSourceHandler) {
    |                                                                   `- error: 'DispatchSourceHandler' is not a member type of class 'Dispatch.DispatchSource'
124 |         timer.setEventHandler(handler: handler)
125 |     }
Dispatch.DispatchSource:1:14: note: 'DispatchSource' declared here
1 | public class DispatchSource : DispatchObject, @unchecked Sendable, DispatchSourceProtocol, DispatchSourceRead, DispatchSourceSignal, DispatchSourceTimer, DispatchSourceUserDataAdd, DispatchSourceUserDataOr, DispatchSourceUserDataReplace, DispatchSourceWrite {
  |              `- note: 'DispatchSource' declared here
2 |     deinit
3 | }
/host/spi-builder-workspace/Sources/SwiftMIDIInternals/Utilities/SafeDispatchTimer.swift:123:42: error: '@escaping' only applies to function types
121 |
122 |     /// Set the event handler closure that the timer executes
123 |     public func setEventHandler(handler: @escaping DispatchSource.DispatchSourceHandler) {
    |                                          `- error: '@escaping' only applies to function types
124 |         timer.setEventHandler(handler: handler)
125 |     }
[13/26] Compiling SwiftMIDIInternals MainThreadSynchronizedPThreadMutexValue.swift
/host/spi-builder-workspace/Sources/SwiftMIDIInternals/Utilities/SafeDispatchTimer.swift:48:48: error: 'DispatchSourceHandler' is not a member type of class 'Dispatch.DispatchSource'
 46 |         leeway: DispatchTimeInterval = .nanoseconds(0),
 47 |         queue: DispatchQueue? = nil,
 48 |         eventHandler: @escaping DispatchSource.DispatchSourceHandler = { }
    |                                                `- error: 'DispatchSourceHandler' is not a member type of class 'Dispatch.DispatchSource'
 49 |     ) {
 50 |         self.rate = rate
Dispatch.DispatchSource:1:14: note: 'DispatchSource' declared here
1 | public class DispatchSource : DispatchObject, @unchecked Sendable, DispatchSourceProtocol, DispatchSourceRead, DispatchSourceSignal, DispatchSourceTimer, DispatchSourceUserDataAdd, DispatchSourceUserDataOr, DispatchSourceUserDataReplace, DispatchSourceWrite {
  |              `- note: 'DispatchSource' declared here
2 |     deinit
3 | }
/host/spi-builder-workspace/Sources/SwiftMIDIInternals/Utilities/SafeDispatchTimer.swift:48:23: error: '@escaping' only applies to function types
 46 |         leeway: DispatchTimeInterval = .nanoseconds(0),
 47 |         queue: DispatchQueue? = nil,
 48 |         eventHandler: @escaping DispatchSource.DispatchSourceHandler = { }
    |                       `- error: '@escaping' only applies to function types
 49 |     ) {
 50 |         self.rate = rate
/host/spi-builder-workspace/Sources/SwiftMIDIInternals/Utilities/SafeDispatchTimer.swift:123:67: error: 'DispatchSourceHandler' is not a member type of class 'Dispatch.DispatchSource'
121 |
122 |     /// Set the event handler closure that the timer executes
123 |     public func setEventHandler(handler: @escaping DispatchSource.DispatchSourceHandler) {
    |                                                                   `- error: 'DispatchSourceHandler' is not a member type of class 'Dispatch.DispatchSource'
124 |         timer.setEventHandler(handler: handler)
125 |     }
Dispatch.DispatchSource:1:14: note: 'DispatchSource' declared here
1 | public class DispatchSource : DispatchObject, @unchecked Sendable, DispatchSourceProtocol, DispatchSourceRead, DispatchSourceSignal, DispatchSourceTimer, DispatchSourceUserDataAdd, DispatchSourceUserDataOr, DispatchSourceUserDataReplace, DispatchSourceWrite {
  |              `- note: 'DispatchSource' declared here
2 |     deinit
3 | }
/host/spi-builder-workspace/Sources/SwiftMIDIInternals/Utilities/SafeDispatchTimer.swift:123:42: error: '@escaping' only applies to function types
121 |
122 |     /// Set the event handler closure that the timer executes
123 |     public func setEventHandler(handler: @escaping DispatchSource.DispatchSourceHandler) {
    |                                          `- error: '@escaping' only applies to function types
124 |         timer.setEventHandler(handler: handler)
125 |     }
[14/26] Compiling SwiftMIDIInternals ThreadSynchronizedValue.swift
[15/26] Compiling SwiftMIDIInternals Utilities.swift
[16/26] Compiling SwiftMIDIInternals Collections.swift
[17/26] Compiling SwiftMIDIInternals Integers.swift
[18/26] Compiling SwiftMIDIInternals Ranges.swift
[19/26] Compiling SwiftMIDIInternals ThreadSynchronizedPThreadMutex.swift
[20/26] Compiling SwiftMIDIInternals ThreadSynchronizedPThreadMutexValue.swift
[21/26] Compiling SwiftMIDIInternals PThreadMutex.swift
[22/26] Compiling SwiftMIDIInternals PThreadMutexValue.swift
[23/26] Compiling SwiftMIDIInternals ThreadSynchronized.swift
[24/26] Compiling SwiftMIDIInternals SwiftMIDIInternals.swift
/host/spi-builder-workspace/Sources/SwiftMIDIInternals/Utilities/Exception.swift:37:25: error: cannot find 'NSException' in scope
35 |         reason: String? = nil
36 |     ) {
37 |         let exception = NSException(name: exceptionName, reason: reason, userInfo: nil)
   |                         `- error: cannot find 'NSException' in scope
38 |         exception.raise()
39 |     }
/host/spi-builder-workspace/Sources/SwiftMIDIInternals/Utilities/Exception.swift:37:84: error: 'nil' requires a contextual type
35 |         reason: String? = nil
36 |     ) {
37 |         let exception = NSException(name: exceptionName, reason: reason, userInfo: nil)
   |                                                                                    `- error: 'nil' requires a contextual type
38 |         exception.raise()
39 |     }
[25/26] Compiling SwiftMIDIInternals ASCII String and Data.swift
/host/spi-builder-workspace/Sources/SwiftMIDIInternals/Utilities/Exception.swift:37:25: error: cannot find 'NSException' in scope
35 |         reason: String? = nil
36 |     ) {
37 |         let exception = NSException(name: exceptionName, reason: reason, userInfo: nil)
   |                         `- error: cannot find 'NSException' in scope
38 |         exception.raise()
39 |     }
/host/spi-builder-workspace/Sources/SwiftMIDIInternals/Utilities/Exception.swift:37:84: error: 'nil' requires a contextual type
35 |         reason: String? = nil
36 |     ) {
37 |         let exception = NSException(name: exceptionName, reason: reason, userInfo: nil)
   |                                                                                    `- error: 'nil' requires a contextual type
38 |         exception.raise()
39 |     }
[26/26] Compiling SwiftMIDIInternals Exception.swift
/host/spi-builder-workspace/Sources/SwiftMIDIInternals/Utilities/Exception.swift:37:25: error: cannot find 'NSException' in scope
35 |         reason: String? = nil
36 |     ) {
37 |         let exception = NSException(name: exceptionName, reason: reason, userInfo: nil)
   |                         `- error: cannot find 'NSException' in scope
38 |         exception.raise()
39 |     }
/host/spi-builder-workspace/Sources/SwiftMIDIInternals/Utilities/Exception.swift:37:84: error: 'nil' requires a contextual type
35 |         reason: String? = nil
36 |     ) {
37 |         let exception = NSException(name: exceptionName, reason: reason, userInfo: nil)
   |                                                                                    `- error: 'nil' requires a contextual type
38 |         exception.raise()
39 |     }
BUILD FAILURE 6.3 linux