Build Information
Failed to build swift-midi-ui, reference main (1ef6ac), with Swift 6.3 for Linux on 1 May 2026 11:20:54 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/orchetect/swift-midi-ui.git
Reference: main
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-ui
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 1ef6ac4 Added GitHub CI for example projects
Cloned https://github.com/orchetect/swift-midi-ui.git
Revision (git rev-parse @):
1ef6ac427e3154b0d2701bb1d2addbc316bcf496
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/orchetect/swift-midi-ui.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.3
Building package at path: $PWD
https://github.com/orchetect/swift-midi-ui.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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-midi-core
Fetching https://github.com/orchetect/swift-midi-io
[1/1042] Fetching swift-midi-io
[1043/2544] Fetching swift-midi-io, swift-midi-core
Fetched https://github.com/orchetect/swift-midi-io from cache (0.25s)
[1487/1502] Fetching swift-midi-core
Fetched https://github.com/orchetect/swift-midi-core from cache (0.30s)
Computing version for https://github.com/orchetect/swift-midi-io
Computed https://github.com/orchetect/swift-midi-io at 1.0.0 (1.49s)
Computing version for https://github.com/orchetect/swift-midi-core
Computed https://github.com/orchetect/swift-midi-core at 1.0.0 (1.35s)
Creating working copy for https://github.com/orchetect/swift-midi-core
Working copy of https://github.com/orchetect/swift-midi-core resolved at 1.0.0
Creating working copy for https://github.com/orchetect/swift-midi-io
Working copy of https://github.com/orchetect/swift-midi-io resolved at 1.0.0
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/8] Emitting module SwiftMIDIIO
/host/spi-builder-workspace/.build/checkouts/swift-midi-io/Sources/Unsupported/SwiftMIDIIO.swift:10:8: error: no such module 'CoreMIDI'
8 |
9 | // artificially cause the build to fail by attempting to import an Apple-only framework
10 | import CoreMIDI
| `- error: no such module 'CoreMIDI'
11 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/28] Emitting module SwiftMIDIInternals
/host/spi-builder-workspace/.build/checkouts/swift-midi-core/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/.build/checkouts/swift-midi-core/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/.build/checkouts/swift-midi-core/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/.build/checkouts/swift-midi-core/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 | }
[8/30] Compiling SwiftMIDIIO SwiftMIDIIO.swift
/host/spi-builder-workspace/.build/checkouts/swift-midi-io/Sources/Unsupported/SwiftMIDIIO.swift:10:8: error: no such module 'CoreMIDI'
8 |
9 | // artificially cause the build to fail by attempting to import an Apple-only framework
10 | import CoreMIDI
| `- error: no such module 'CoreMIDI'
11 |
/host/spi-builder-workspace/.build/checkouts/swift-midi-core/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 | }
BUILD FAILURE 6.3 linux