Build Information
Failed to build swift-midi-sync, reference main (0ae879), with Swift 6.1 for Linux on 1 May 2026 11:07:38 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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.1-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-sync.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-sync
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 0ae8799 Added GitHub CI for example project
Cloned https://github.com/orchetect/swift-midi-sync.git
Revision (git rev-parse @):
0ae8799ded2af0daf83e2043d003555bfa029bbb
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/orchetect/swift-midi-sync.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/orchetect/swift-midi-sync.git
https://github.com/orchetect/swift-midi-sync.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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.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-timecode
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.28s)
[1/1502] Fetching swift-midi-core
Fetched https://github.com/orchetect/swift-midi-core from cache (0.45s)
[1/26966] Fetching swift-timecode
Fetched https://github.com/orchetect/swift-timecode from cache (2.35s)
Computing version for https://github.com/orchetect/swift-testing-extensions
Computed https://github.com/orchetect/swift-testing-extensions at 0.3.0 (3.21s)
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/tsolomko/SWCompression
[1/17717] Fetching swcompression
[8328/92755] Fetching swcompression, swift-syntax
Fetched https://github.com/tsolomko/SWCompression from cache (3.08s)
[49526/75038] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (11.03s)
Computing version for https://github.com/orchetect/swift-timecode
Computed https://github.com/orchetect/swift-timecode at 3.1.1 (15.71s)
Computing version for https://github.com/orchetect/swift-midi-core
Computed https://github.com/orchetect/swift-midi-core at 1.0.0 (1.35s)
Computing version for https://github.com/tsolomko/SWCompression
Computed https://github.com/tsolomko/SWCompression at 4.8.6 (1.17s)
Fetching https://github.com/tsolomko/BitByteData
[1/3232] Fetching bitbytedata
Fetched https://github.com/tsolomko/BitByteData from cache (0.57s)
Computing version for https://github.com/tsolomko/BitByteData
Computed https://github.com/tsolomko/BitByteData at 2.0.4 (1.78s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.1 (1.50s)
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-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
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/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 603.0.1
Building for debugging...
[0/8] Write sources
[4/8] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/100] 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 | }
[7/102] Emitting module SwiftTimecodeCore
[8/112] Compiling SwiftTimecodeCore Component.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-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 | }
[9/112] Compiling SwiftTimecodeCore ComponentRanges.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-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 | }
[10/112] Compiling SwiftTimecodeCore Components.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-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 | }
[11/112] Compiling SwiftTimecodeCore Timecode Rounding.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
[12/112] Compiling SwiftTimecodeCore Codable.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
[13/112] Compiling SwiftTimecodeCore Comparable.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
[14/112] Compiling SwiftTimecodeCore Integers.swift
[15/112] Compiling SwiftTimecodeCore NSAttributedString.swift
[16/112] Compiling SwiftTimecodeCore Ranges.swift
[17/112] Compiling SwiftTimecodeCore String and NSRegularExpression.swift
[18/112] Compiling SwiftTimecodeCore RangeAttribute.swift
[19/112] Compiling SwiftTimecodeCore URL.swift
[20/112] Compiling SwiftTimecodeCore VideoFrameRate Conversions.swift
[21/112] Compiling SwiftTimecodeCore VideoFrameRate Properties.swift
[22/112] Compiling SwiftTimecodeCore VideoFrameRate String Extensions.swift
[23/112] Compiling SwiftTimecodeCore VideoFrameRate.swift
[24/112] Compiling SwiftTimecodeCore Errors.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
[25/112] Compiling SwiftTimecodeCore FrameCount Value.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
[26/112] Compiling SwiftTimecodeCore FrameCount.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
[27/112] Compiling SwiftTimecodeCore CustomStringConvertible.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-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 | }
[28/112] Compiling SwiftTimecodeCore Hashable.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-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 | }
[29/112] Compiling SwiftTimecodeCore Identifiable.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-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 | }
[30/112] Compiling SwiftTimecodeCore Timecode Math Internal.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-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
[31/112] Compiling SwiftTimecodeCore Timecode Math Public.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-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
[32/112] Compiling SwiftTimecodeCore Timecode Operators.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-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
[33/112] Compiling SwiftTimecodeCore NSItemProvider.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-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 | }
[34/112] Compiling SwiftTimecodeCore Transferable.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-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 | }
[35/112] Compiling SwiftTimecodeCore UTType.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-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 | }
[36/112] Compiling SwiftTimecodeCore Sendable.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
[37/112] Compiling SwiftTimecodeCore Strideable.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
[38/112] Compiling SwiftTimecodeCore TimecodeInterval Real Time.swift
[39/112] Compiling SwiftTimecodeCore TimecodeInterval Unary Operators.swift
[40/112] Compiling SwiftTimecodeCore TimecodeInterval.swift
[41/112] Compiling SwiftTimecodeCore TimecodeTransformer.swift
[42/112] Compiling SwiftTimecodeCore CharacterSet.swift
[43/112] Compiling SwiftTimecodeCore Decimal.swift
[44/112] Compiling SwiftTimecodeCore FloatingPoint and Darwin.swift
[45/112] Compiling SwiftTimecodeCore FloatingPoint and Foundation.swift
[46/112] Compiling SwiftTimecodeCore FloatingPoint.swift
[47/112] Compiling SwiftTimecodeCore FloatingPointPowerComputable.swift
[48/112] Compiling SwiftMIDIInternals ThreadSynchronizedValue.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
[49/112] Compiling SwiftMIDIInternals Utilities.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
[50/112] Compiling SwiftTimecodeCore Timecode set.swift
[51/112] Compiling SwiftTimecodeCore Timecode.swift
[52/112] Compiling SwiftTimecodeCore UpperLimit.swift
[53/112] Compiling SwiftTimecodeCore TimecodeFrameRate CompatibleGroup.swift
[54/112] Compiling SwiftTimecodeCore TimecodeFrameRate Conversions.swift
[55/112] Compiling SwiftTimecodeCore TimecodeFrameRate Formats.swift
[56/112] Compiling SwiftTimecodeCore TimecodeFrameRate Properties.swift
[57/112] Compiling SwiftTimecodeCore TimecodeFrameRate.swift
[58/112] Compiling SwiftTimecodeCore TimecodeInterval Rational CMTime.swift
[59/112] Compiling SwiftTimecodeCore TimecodeInterval Rational.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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.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
[2/96] Compiling SwiftTimecodeCore CMTimeRange Extensions.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 | }
[3/96] Compiling SwiftTimecodeCore FeetAndFrames.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 | }
[4/96] Compiling SwiftTimecodeCore Fraction CMTime.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 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/98] 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 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 | }
[6/98] Compiling SwiftTimecodeCore Fraction.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 | }
[7/98] Compiling SwiftTimecodeCore FrameRateProtocol Properties.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 | }
[8/98] Compiling SwiftTimecodeCore FrameRateProtocol.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 | }
[9/98] Compiling SwiftTimecodeCore SwiftTimecodeCore-API-2.3.0.swift
/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
[10/98] Compiling SwiftTimecodeCore SwiftTimecodeCore-API-2.3.1.swift
/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
[11/98] Compiling SwiftTimecodeCore SwiftTimecodeCore-API-2.3.2.swift
/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
[12/98] Compiling SwiftTimecodeCore CustomStringConvertible.swift
[13/98] Compiling SwiftTimecodeCore Hashable.swift
[14/98] Compiling SwiftTimecodeCore SwiftTimecodeCore.swift
[15/98] Compiling SwiftTimecodeCore Timecode Math Public.swift
[16/98] Compiling SwiftTimecodeCore Timecode Operators.swift
[17/98] Compiling SwiftTimecodeCore Identifiable.swift
[18/98] Compiling SwiftTimecodeCore Sendable.swift
[19/98] Compiling SwiftTimecodeCore Strideable.swift
[20/98] Compiling SwiftTimecodeCore Timecode Rounding.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 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 | }
[21/98] Compiling SwiftTimecodeCore Codable.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 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 | }
[22/98] Compiling SwiftTimecodeCore Comparable.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 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 | }
[23/98] Compiling SwiftMIDIInternals ThreadSynchronizedValue.swift
[24/98] Compiling SwiftMIDIInternals Utilities.swift
BUILD FAILURE 6.1 linux