The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-midi-file, reference main (a26a96), with Swift 6.3 for Linux on 1 May 2026 11:20:23 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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-file.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-file
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at a26a96d Updated GitHub CI
Cloned https://github.com/orchetect/swift-midi-file.git
Revision (git rev-parse @):
a26a96d1e3fde40759e50df735ae7544919d10d2
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/orchetect/swift-midi-file.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.3
Building package at path:  $PWD
https://github.com/orchetect/swift-midi-file.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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-timecode
Fetching https://github.com/orchetect/swift-testing-extensions
Fetching https://github.com/orchetect/swift-midi-core
Fetching https://github.com/orchetect/swift-data-parsing
[1/1074] Fetching swift-testing-extensions
[2/1880] Fetching swift-testing-extensions, swift-data-parsing
[1881/3382] Fetching swift-testing-extensions, swift-data-parsing, swift-midi-core
[3383/30348] Fetching swift-testing-extensions, swift-data-parsing, swift-midi-core, swift-timecode
Fetched https://github.com/orchetect/swift-data-parsing from cache (0.96s)
Fetched https://github.com/orchetect/swift-testing-extensions from cache (0.96s)
[1772/28468] Fetching swift-midi-core, swift-timecode
Fetched https://github.com/orchetect/swift-midi-core from cache (1.07s)
[1079/26966] Fetching swift-timecode
Fetched https://github.com/orchetect/swift-timecode from cache (2.89s)
Computing version for https://github.com/orchetect/swift-testing-extensions
Computed https://github.com/orchetect/swift-testing-extensions at 0.3.0 (3.50s)
Fetching https://github.com/tsolomko/SWCompression
Fetching https://github.com/swiftlang/swift-syntax.git
[1/17717] Fetching swcompression
[9214/92755] Fetching swcompression, swift-syntax
Fetched https://github.com/tsolomko/SWCompression from cache (8.12s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (8.14s)
Computing version for https://github.com/orchetect/swift-timecode
Computed https://github.com/orchetect/swift-timecode at 3.1.1 (29.22s)
Computing version for https://github.com/orchetect/swift-data-parsing
Computed https://github.com/orchetect/swift-data-parsing at 0.1.2 (0.75s)
Computing version for https://github.com/orchetect/swift-midi-core
Computed https://github.com/orchetect/swift-midi-core at 1.0.0 (1.04s)
Computing version for https://github.com/tsolomko/SWCompression
Computed https://github.com/tsolomko/SWCompression at 4.8.6 (0.90s)
Fetching https://github.com/tsolomko/BitByteData
[1/3232] Fetching bitbytedata
Fetched https://github.com/tsolomko/BitByteData from cache (0.56s)
Computing version for https://github.com/tsolomko/BitByteData
Computed https://github.com/tsolomko/BitByteData at 2.0.4 (1.32s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.1 (1.21s)
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-timecode
Working copy of https://github.com/orchetect/swift-timecode resolved at 3.1.1
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/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/orchetect/swift-testing-extensions
Working copy of https://github.com/orchetect/swift-testing-extensions resolved at 0.3.0
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/tsolomko/BitByteData
Working copy of https://github.com/tsolomko/BitByteData resolved at 2.0.4
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.61s)
Building for debugging...
[0/9] Write sources
[5/9] Write swift-version-24593BA9C3E375BF.txt
[7/125] Emitting module SwiftDataParsing
[8/128] Compiling SwiftDataParsing ByteOrder+Static.swift
[9/128] Compiling SwiftDataParsing ByteOrder.swift
[10/128] Compiling SwiftDataParsing SignedIntegerEncoding.swift
[11/128] Compiling SwiftTimecodeCore Transferable.swift
[12/128] Compiling SwiftTimecodeCore UTType.swift
[13/128] Compiling SwiftTimecodeCore Errors.swift
[14/128] Compiling SwiftTimecodeCore Component.swift
/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 |     }
/host/spi-builder-workspace/.build/checkouts/swift-midi-core/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 |     }
[15/128] Compiling SwiftTimecodeCore ComponentRanges.swift
/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 |     }
/host/spi-builder-workspace/.build/checkouts/swift-midi-core/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 |     }
[16/128] Compiling SwiftTimecodeCore Components.swift
/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 |     }
/host/spi-builder-workspace/.build/checkouts/swift-midi-core/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 |     }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/130] 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 |     }
[21/130] Compiling SwiftTimecodeCore NSItemProvider.swift
[22/130] Emitting module SwiftTimecodeCore
[30/130] Compiling SwiftTimecodeCore FrameCount Value.swift
[31/130] Compiling SwiftTimecodeCore FrameCount.swift
[32/130] Compiling SwiftTimecodeCore Timecode Math Internal.swift
[33/130] Compiling SwiftTimecodeCore SwiftTimecodeCore-API-2.3.0.swift
[34/130] Compiling SwiftTimecodeCore SwiftTimecodeCore-API-2.3.1.swift
[35/130] Compiling SwiftTimecodeCore SwiftTimecodeCore-API-2.3.2.swift
[36/130] Compiling SwiftTimecodeCore CMTimeRange Extensions.swift
[37/130] Compiling SwiftTimecodeCore FeetAndFrames.swift
[38/130] Compiling SwiftTimecodeCore Fraction CMTime.swift
[39/130] Compiling SwiftTimecodeCore Fraction.swift
[40/130] Compiling SwiftTimecodeCore FrameRateProtocol Properties.swift
[41/130] Compiling SwiftTimecodeCore FrameRateProtocol.swift
[42/130] Compiling SwiftTimecodeCore SwiftTimecodeCore.swift
[43/130] Compiling SwiftTimecodeCore TimecodeInterval Real Time.swift
[44/130] Compiling SwiftTimecodeCore TimecodeInterval Unary Operators.swift
[45/130] Compiling SwiftTimecodeCore TimecodeInterval.swift
[46/130] Compiling SwiftTimecodeCore TimecodeTransformer.swift
[47/130] Compiling SwiftTimecodeCore CharacterSet.swift
[48/130] Compiling SwiftTimecodeCore Decimal.swift
[49/130] Compiling SwiftTimecodeCore FloatingPoint and Darwin.swift
[50/130] Compiling SwiftTimecodeCore FloatingPoint and Foundation.swift
[51/130] Compiling SwiftTimecodeCore FloatingPoint.swift
[52/130] Compiling SwiftTimecodeCore FloatingPointPowerComputable.swift
[53/130] Compiling SwiftTimecodeCore Timecode Math Public.swift
[54/130] Compiling SwiftTimecodeCore Timecode Operators.swift
[55/130] Compiling SwiftTimecodeCore Timecode Rounding.swift
[56/130] Compiling SwiftTimecodeCore Codable.swift
[57/130] Compiling SwiftTimecodeCore Comparable.swift
[58/130] Compiling SwiftTimecodeCore CustomStringConvertible.swift
[59/130] Compiling SwiftTimecodeCore Hashable.swift
[60/130] Compiling SwiftTimecodeCore Identifiable.swift
[61/130] Compiling SwiftTimecodeCore Sendable.swift
[62/130] Compiling SwiftTimecodeCore Strideable.swift
/host/spi-builder-workspace/.build/checkouts/swift-midi-core/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 | }
/host/spi-builder-workspace/.build/checkouts/swift-midi-core/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 | }
/host/spi-builder-workspace/.build/checkouts/swift-midi-core/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 | }
/host/spi-builder-workspace/.build/checkouts/swift-midi-core/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
/host/spi-builder-workspace/.build/checkouts/swift-midi-core/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
/host/spi-builder-workspace/.build/checkouts/swift-midi-core/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
[85/140] Compiling SwiftMIDIInternals ThreadSynchronizedValue.swift
[86/140] Compiling SwiftMIDIInternals Utilities.swift
[87/140] Compiling SwiftTimecodeCore Timecode FeetAndFrames.swift
/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 |     }
/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 |     }
/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 |     }
[102/141] Compiling SwiftTimecodeCore Timecode Rational CMTime.swift
[103/141] Compiling SwiftTimecodeCore Timecode Rational.swift
[104/141] Compiling SwiftTimecodeCore Timecode Real Time.swift
[105/141] Compiling SwiftTimecodeCore Timecode Samples.swift
[106/141] Compiling SwiftTimecodeCore Timecode set.swift
[107/141] Compiling SwiftTimecodeCore Timecode.swift
[108/141] Compiling SwiftTimecodeCore UpperLimit.swift
[109/141] Compiling SwiftTimecodeCore TimecodeFrameRate CompatibleGroup.swift
[110/141] Compiling SwiftTimecodeCore TimecodeFrameRate Conversions.swift
[111/141] Compiling SwiftTimecodeCore TimecodeFrameRate Formats.swift
[112/141] Compiling SwiftTimecodeCore TimecodeFrameRate Properties.swift
[113/141] Compiling SwiftTimecodeCore TimecodeFrameRate.swift
[114/141] Compiling SwiftTimecodeCore TimecodeInterval Rational CMTime.swift
[115/141] Compiling SwiftTimecodeCore TimecodeInterval Rational.swift
[116/141] Compiling SwiftTimecodeCore Timecode String.swift
[117/141] Compiling SwiftTimecodeCore Timecode TimecodeInterval.swift
[118/141] Compiling SwiftTimecodeCore Timecode Zero.swift
[119/141] Compiling SwiftTimecodeCore StringFormat.swift
[120/141] Compiling SwiftTimecodeCore StringFormatOption.swift
[121/141] Compiling SwiftTimecodeCore SubFramesBase.swift
[122/141] Compiling SwiftTimecodeCore Timecode Conversion.swift
[123/141] Compiling SwiftTimecodeCore Timecode Properties.swift
[124/141] Compiling SwiftTimecodeCore Timecode Validation.swift
[125/141] Compiling SwiftTimecodeCore Timecode init.swift
BUILD FAILURE 6.3 linux