The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-midi, reference 1.0.0 (e3114a), with Swift 6.1 for Linux on 27 Apr 2026 08:45:34 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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.1-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.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
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at e3114ae Set extension repo dependencies to 1.0.0
Cloned https://github.com/orchetect/swift-midi.git
Revision (git rev-parse @):
e3114ae1c4498dd2446c8d7bccc997e48eee2f44
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/orchetect/swift-midi.git at 1.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/orchetect/swift-midi.git
https://github.com/orchetect/swift-midi.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
basic-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:a7bfd71e9384436264431030299dc8a2d42d0664a168cfa1a5dd84c9bc592ccf
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest
Fetching https://github.com/orchetect/swift-midi-core
Fetching https://github.com/orchetect/swift-midi-file
Fetching https://github.com/orchetect/swift-midi-controlsurfaces
Fetching https://github.com/orchetect/swift-midi-sync
Fetching https://github.com/orchetect/swift-midi-io
Fetching https://github.com/orchetect/swift-midi-ui
[1/340] Fetching swift-midi-controlsurfaces
[331/493] Fetching swift-midi-controlsurfaces, swift-midi-ui
[494/723] Fetching swift-midi-controlsurfaces, swift-midi-ui, swift-midi-sync
[593/1371] Fetching swift-midi-controlsurfaces, swift-midi-ui, swift-midi-sync, swift-midi-file
[851/2009] Fetching swift-midi-controlsurfaces, swift-midi-ui, swift-midi-sync, swift-midi-file, swift-midi-io
[1558/3481] Fetching swift-midi-controlsurfaces, swift-midi-ui, swift-midi-sync, swift-midi-file, swift-midi-io, swift-midi-core
Fetched https://github.com/orchetect/swift-midi-controlsurfaces from cache (0.39s)
Fetched https://github.com/orchetect/swift-midi-ui from cache (0.39s)
Fetched https://github.com/orchetect/swift-midi-core from cache (0.39s)
Fetched https://github.com/orchetect/swift-midi-sync from cache (0.39s)
Fetched https://github.com/orchetect/swift-midi-io from cache (0.39s)
Fetched https://github.com/orchetect/swift-midi-file from cache (0.39s)
Computing version for https://github.com/orchetect/swift-midi-ui
Computed https://github.com/orchetect/swift-midi-ui at 1.0.0 (1.19s)
Computing version for https://github.com/orchetect/swift-midi-sync
Computed https://github.com/orchetect/swift-midi-sync at 1.0.0 (0.70s)
Fetching https://github.com/orchetect/swift-timecode
[1/26955] Fetching swift-timecode
Fetched https://github.com/orchetect/swift-timecode from cache (1.36s)
Computing version for https://github.com/orchetect/swift-midi-io
Computed https://github.com/orchetect/swift-midi-io at 1.0.0 (2.05s)
Computing version for https://github.com/orchetect/swift-midi-file
Computed https://github.com/orchetect/swift-midi-file at 1.0.0 (0.69s)
Fetching https://github.com/orchetect/swift-data-parsing
[1/806] Fetching swift-data-parsing
Fetched https://github.com/orchetect/swift-data-parsing from cache (0.52s)
Computing version for https://github.com/orchetect/swift-midi-core
Computed https://github.com/orchetect/swift-midi-core at 1.0.0 (1.21s)
Computing version for https://github.com/orchetect/swift-midi-controlsurfaces
Computed https://github.com/orchetect/swift-midi-controlsurfaces at 1.0.0 (0.95s)
Computing version for https://github.com/orchetect/swift-timecode
Computed https://github.com/orchetect/swift-timecode at 3.1.1 (2.82s)
Computing version for https://github.com/orchetect/swift-data-parsing
Computed https://github.com/orchetect/swift-data-parsing at 0.1.2 (0.68s)
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-sync
Working copy of https://github.com/orchetect/swift-midi-sync resolved at 1.0.0
Creating working copy for https://github.com/orchetect/swift-data-parsing
Working copy of https://github.com/orchetect/swift-data-parsing resolved at 0.1.2
Creating working copy for https://github.com/orchetect/swift-midi-controlsurfaces
Working copy of https://github.com/orchetect/swift-midi-controlsurfaces resolved at 1.0.0
Creating working copy for https://github.com/orchetect/swift-midi-file
Working copy of https://github.com/orchetect/swift-midi-file 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
Creating working copy for https://github.com/orchetect/swift-timecode
Working copy of https://github.com/orchetect/swift-timecode resolved at 3.1.1
Creating working copy for https://github.com/orchetect/swift-midi-ui
Working copy of https://github.com/orchetect/swift-midi-ui resolved at 1.0.0
Building for debugging...
[0/14] Write sources
[10/14] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/132] Emitting module SwiftMIDIInternals
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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 attribute only applies to function types
 46 |         leeway: DispatchTimeInterval = .nanoseconds(0),
 47 |         queue: DispatchQueue? = nil,
 48 |         eventHandler: @escaping DispatchSource.DispatchSourceHandler = { }
    |                       `- error: @escaping attribute 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 attribute 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 attribute only applies to function types
124 |         timer.setEventHandler(handler: handler)
125 |     }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/134] Emitting module SwiftMIDIIO
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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 |
[14/134] Compiling SwiftMIDIIO SwiftMIDIIO.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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 |
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[15/134] Emitting module SwiftTimecodeCore
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:a7bfd71e9384436264431030299dc8a2d42d0664a168cfa1a5dd84c9bc592ccf
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/4] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/122] 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 |
[3/122] 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 |
BUILD FAILURE 6.1 linux