Build Information
Failed to build swift-midi-core, reference 1.0.2 (8ca67a), with Swift 6.1 for Linux on 25 Jun 2026 04:56:22 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886769-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>&1Build Log
========================================
RunAll
========================================
Builder version: 4071e0796c748d991a0123890d2f0ecadc8fcc8c
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/orchetect/swift-midi-core.git
Reference: 1.0.2
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/orchetect/swift-midi-core
* tag 1.0.2 -> FETCH_HEAD
HEAD is now at 8ca67a4 Internals: Fixed temporary regression in lossy ASCII string conversion utility
Cloned https://github.com/orchetect/swift-midi-core.git
Revision (git rev-parse @):
8ca67a4aa5dc59169b4f0abb654d4ac8340a94bf
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/orchetect/swift-midi-core.git at 1.0.2
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/orchetect/swift-midi-core.git
https://github.com/orchetect/swift-midi-core.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-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:b221546719ba75fe8e862124132e6883296e82ad26a97f1bc5a8cdba87d84eb9
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest
Fetching https://github.com/orchetect/swift-testing-extensions
[1/1144] Fetching swift-testing-extensions
Fetched https://github.com/orchetect/swift-testing-extensions from cache (0.37s)
Computing version for https://github.com/orchetect/swift-testing-extensions
Computed https://github.com/orchetect/swift-testing-extensions at 0.3.0 (0.61s)
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/tsolomko/SWCompression
[1/17957] Fetching swcompression
[17958/93700] Fetching swcompression, swift-syntax
Fetched https://github.com/tsolomko/SWCompression from cache (2.53s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (2.54s)
Computing version for https://github.com/tsolomko/SWCompression
Computed https://github.com/tsolomko/SWCompression at 4.9.1 (2.77s)
Fetching https://github.com/tsolomko/BitByteData
[1/3278] Fetching bitbytedata
Fetched https://github.com/tsolomko/BitByteData from cache (0.45s)
Computing version for https://github.com/tsolomko/BitByteData
Computed https://github.com/tsolomko/BitByteData at 2.1.0 (0.67s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (0.99s)
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.9.1
Creating working copy for https://github.com/tsolomko/BitByteData
Working copy of https://github.com/tsolomko/BitByteData resolved at 2.1.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.2
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/25] Compiling SwiftMIDIInternals SwiftMIDIInternals.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
[5/25] Compiling SwiftMIDIInternals Exception.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
[6/25] Compiling SwiftMIDIInternals Hex and Binary String.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
[7/25] 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/Sources/SwiftMIDIInternals/Utilities/Threading and Synchronization/Main Queue Utilities.swift:13:13: error: let 'mainQueueKey' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<UInt8>' may have shared mutable state
11 |
12 | // We store the dispatch key and value globally so they aren't bound to the generic type
13 | private let mainQueueKey = DispatchSpecificKey<UInt8>()
| `- error: let 'mainQueueKey' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<UInt8>' may have shared mutable state
14 | private let mainQueueValue: UInt8 = 1
15 |
Dispatch.DispatchSpecificKey:1:20: note: generic class 'DispatchSpecificKey' does not conform to the 'Sendable' protocol
1 | final public class DispatchSpecificKey<T> {
| `- note: generic class 'DispatchSpecificKey' does not conform to the 'Sendable' protocol
2 | public init()
3 | deinit
/host/spi-builder-workspace/Sources/SwiftMIDIInternals/Utilities/Threading and Synchronization/Main Queue Utilities.swift:7:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Dispatch' as warnings
5 | //
6 |
7 | import class Foundation.DispatchQueue
| `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Dispatch' as warnings
8 | import class Foundation.DispatchSpecificKey
9 |
:
11 |
12 | // We store the dispatch key and value globally so they aren't bound to the generic type
13 | private let mainQueueKey = DispatchSpecificKey<UInt8>()
| |- note: add '@MainActor' to make let 'mainQueueKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | private let mainQueueValue: UInt8 = 1
15 |
[8/27] Compiling SwiftMIDIInternals Timespec.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
[9/27] Compiling SwiftMIDIInternals RandomAccessCollection.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
[10/27] Compiling SwiftMIDIInternals SafeDispatchTimer.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
[11/27] Compiling SwiftMIDIInternals MainThreadSynchronizedPThreadMutexValue.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/27] Compiling SwiftMIDIInternals PThreadMutex.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/27] Compiling SwiftMIDIInternals PThreadMutexValue.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/27] Compiling SwiftMIDIInternals ThreadSynchronized.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
[15/27] Compiling SwiftMIDIInternals ThreadSynchronizedPThreadMutex.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
[16/27] Compiling SwiftMIDIInternals ThreadSynchronizedPThreadMutexValue.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
[17/27] Compiling SwiftMIDIInternals Integers.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
[18/27] Compiling SwiftMIDIInternals Ranges.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
[19/27] Compiling SwiftMIDIInternals String.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
[20/27] Compiling SwiftMIDIInternals ASCII String and Data.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/Sources/SwiftMIDIInternals/Utilities/Threading and Synchronization/Main Queue Utilities.swift:13:13: error: let 'mainQueueKey' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<UInt8>' may have shared mutable state
11 |
12 | // We store the dispatch key and value globally so they aren't bound to the generic type
13 | private let mainQueueKey = DispatchSpecificKey<UInt8>()
| `- error: let 'mainQueueKey' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<UInt8>' may have shared mutable state
14 | private let mainQueueValue: UInt8 = 1
15 |
Dispatch.DispatchSpecificKey:1:20: note: generic class 'DispatchSpecificKey' does not conform to the 'Sendable' protocol
1 | final public class DispatchSpecificKey<T> {
| `- note: generic class 'DispatchSpecificKey' does not conform to the 'Sendable' protocol
2 | public init()
3 | deinit
/host/spi-builder-workspace/Sources/SwiftMIDIInternals/Utilities/Threading and Synchronization/Main Queue Utilities.swift:7:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Dispatch' as warnings
5 | //
6 |
7 | import class Foundation.DispatchQueue
| `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Dispatch' as warnings
8 | import class Foundation.DispatchSpecificKey
9 |
:
11 |
12 | // We store the dispatch key and value globally so they aren't bound to the generic type
13 | private let mainQueueKey = DispatchSpecificKey<UInt8>()
| |- note: add '@MainActor' to make let 'mainQueueKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | private let mainQueueValue: UInt8 = 1
15 |
[21/27] Compiling SwiftMIDIInternals Main Queue 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
/host/spi-builder-workspace/Sources/SwiftMIDIInternals/Utilities/Threading and Synchronization/Main Queue Utilities.swift:13:13: error: let 'mainQueueKey' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<UInt8>' may have shared mutable state
11 |
12 | // We store the dispatch key and value globally so they aren't bound to the generic type
13 | private let mainQueueKey = DispatchSpecificKey<UInt8>()
| `- error: let 'mainQueueKey' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<UInt8>' may have shared mutable state
14 | private let mainQueueValue: UInt8 = 1
15 |
Dispatch.DispatchSpecificKey:1:20: note: generic class 'DispatchSpecificKey' does not conform to the 'Sendable' protocol
1 | final public class DispatchSpecificKey<T> {
| `- note: generic class 'DispatchSpecificKey' does not conform to the 'Sendable' protocol
2 | public init()
3 | deinit
/host/spi-builder-workspace/Sources/SwiftMIDIInternals/Utilities/Threading and Synchronization/Main Queue Utilities.swift:7:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Dispatch' as warnings
5 | //
6 |
7 | import class Foundation.DispatchQueue
| `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Dispatch' as warnings
8 | import class Foundation.DispatchSpecificKey
9 |
:
11 |
12 | // We store the dispatch key and value globally so they aren't bound to the generic type
13 | private let mainQueueKey = DispatchSpecificKey<UInt8>()
| |- note: add '@MainActor' to make let 'mainQueueKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | private let mainQueueValue: UInt8 = 1
15 |
[22/27] Compiling SwiftMIDIInternals MainThreadSynchronizedPThreadMutex.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/Sources/SwiftMIDIInternals/Utilities/Threading and Synchronization/Main Queue Utilities.swift:13:13: error: let 'mainQueueKey' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<UInt8>' may have shared mutable state
11 |
12 | // We store the dispatch key and value globally so they aren't bound to the generic type
13 | private let mainQueueKey = DispatchSpecificKey<UInt8>()
| `- error: let 'mainQueueKey' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<UInt8>' may have shared mutable state
14 | private let mainQueueValue: UInt8 = 1
15 |
Dispatch.DispatchSpecificKey:1:20: note: generic class 'DispatchSpecificKey' does not conform to the 'Sendable' protocol
1 | final public class DispatchSpecificKey<T> {
| `- note: generic class 'DispatchSpecificKey' does not conform to the 'Sendable' protocol
2 | public init()
3 | deinit
/host/spi-builder-workspace/Sources/SwiftMIDIInternals/Utilities/Threading and Synchronization/Main Queue Utilities.swift:7:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Dispatch' as warnings
5 | //
6 |
7 | import class Foundation.DispatchQueue
| `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Dispatch' as warnings
8 | import class Foundation.DispatchSpecificKey
9 |
:
11 |
12 | // We store the dispatch key and value globally so they aren't bound to the generic type
13 | private let mainQueueKey = DispatchSpecificKey<UInt8>()
| |- note: add '@MainActor' to make let 'mainQueueKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | private let mainQueueValue: UInt8 = 1
15 |
[23/27] 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
[24/27] 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
[25/27] Compiling SwiftMIDIInternals Number Formatting.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/27] Compiling SwiftMIDIInternals ASCII.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/27] Compiling SwiftMIDIInternals Collections.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
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-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:b221546719ba75fe8e862124132e6883296e82ad26a97f1bc5a8cdba87d84eb9
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/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/23] Emitting module SwiftMIDIInternals
/host/spi-builder-workspace/Sources/SwiftMIDIInternals/Utilities/Threading and Synchronization/Main Queue Utilities.swift:13:13: error: let 'mainQueueKey' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<UInt8>' may have shared mutable state
11 |
12 | // We store the dispatch key and value globally so they aren't bound to the generic type
13 | private let mainQueueKey = DispatchSpecificKey<UInt8>()
| `- error: let 'mainQueueKey' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<UInt8>' may have shared mutable state
14 | private let mainQueueValue: UInt8 = 1
15 |
Dispatch.DispatchSpecificKey:1:20: note: generic class 'DispatchSpecificKey' does not conform to the 'Sendable' protocol
1 | final public class DispatchSpecificKey<T> {
| `- note: generic class 'DispatchSpecificKey' does not conform to the 'Sendable' protocol
2 | public init()
3 | deinit
/host/spi-builder-workspace/Sources/SwiftMIDIInternals/Utilities/Threading and Synchronization/Main Queue Utilities.swift:7:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Dispatch' as warnings
5 | //
6 |
7 | import class Foundation.DispatchQueue
| `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Dispatch' as warnings
8 | import class Foundation.DispatchSpecificKey
9 |
:
11 |
12 | // We store the dispatch key and value globally so they aren't bound to the generic type
13 | private let mainQueueKey = DispatchSpecificKey<UInt8>()
| |- note: add '@MainActor' to make let 'mainQueueKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | private let mainQueueValue: UInt8 = 1
15 |
[3/25] Compiling SwiftMIDIInternals ASCII String and Data.swift
/host/spi-builder-workspace/Sources/SwiftMIDIInternals/Utilities/Threading and Synchronization/Main Queue Utilities.swift:13:13: error: let 'mainQueueKey' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<UInt8>' may have shared mutable state
11 |
12 | // We store the dispatch key and value globally so they aren't bound to the generic type
13 | private let mainQueueKey = DispatchSpecificKey<UInt8>()
| `- error: let 'mainQueueKey' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<UInt8>' may have shared mutable state
14 | private let mainQueueValue: UInt8 = 1
15 |
Dispatch.DispatchSpecificKey:1:20: note: generic class 'DispatchSpecificKey' does not conform to the 'Sendable' protocol
1 | final public class DispatchSpecificKey<T> {
| `- note: generic class 'DispatchSpecificKey' does not conform to the 'Sendable' protocol
2 | public init()
3 | deinit
/host/spi-builder-workspace/Sources/SwiftMIDIInternals/Utilities/Threading and Synchronization/Main Queue Utilities.swift:7:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Dispatch' as warnings
5 | //
6 |
7 | import class Foundation.DispatchQueue
| `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Dispatch' as warnings
8 | import class Foundation.DispatchSpecificKey
9 |
:
11 |
12 | // We store the dispatch key and value globally so they aren't bound to the generic type
13 | private let mainQueueKey = DispatchSpecificKey<UInt8>()
| |- note: add '@MainActor' to make let 'mainQueueKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | private let mainQueueValue: UInt8 = 1
15 |
[4/25] Compiling SwiftMIDIInternals Main Queue Utilities.swift
/host/spi-builder-workspace/Sources/SwiftMIDIInternals/Utilities/Threading and Synchronization/Main Queue Utilities.swift:13:13: error: let 'mainQueueKey' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<UInt8>' may have shared mutable state
11 |
12 | // We store the dispatch key and value globally so they aren't bound to the generic type
13 | private let mainQueueKey = DispatchSpecificKey<UInt8>()
| `- error: let 'mainQueueKey' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<UInt8>' may have shared mutable state
14 | private let mainQueueValue: UInt8 = 1
15 |
Dispatch.DispatchSpecificKey:1:20: note: generic class 'DispatchSpecificKey' does not conform to the 'Sendable' protocol
1 | final public class DispatchSpecificKey<T> {
| `- note: generic class 'DispatchSpecificKey' does not conform to the 'Sendable' protocol
2 | public init()
3 | deinit
/host/spi-builder-workspace/Sources/SwiftMIDIInternals/Utilities/Threading and Synchronization/Main Queue Utilities.swift:7:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Dispatch' as warnings
5 | //
6 |
7 | import class Foundation.DispatchQueue
| `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Dispatch' as warnings
8 | import class Foundation.DispatchSpecificKey
9 |
:
11 |
12 | // We store the dispatch key and value globally so they aren't bound to the generic type
13 | private let mainQueueKey = DispatchSpecificKey<UInt8>()
| |- note: add '@MainActor' to make let 'mainQueueKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | private let mainQueueValue: UInt8 = 1
15 |
[5/25] Compiling SwiftMIDIInternals MainThreadSynchronizedPThreadMutex.swift
/host/spi-builder-workspace/Sources/SwiftMIDIInternals/Utilities/Threading and Synchronization/Main Queue Utilities.swift:13:13: error: let 'mainQueueKey' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<UInt8>' may have shared mutable state
11 |
12 | // We store the dispatch key and value globally so they aren't bound to the generic type
13 | private let mainQueueKey = DispatchSpecificKey<UInt8>()
| `- error: let 'mainQueueKey' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<UInt8>' may have shared mutable state
14 | private let mainQueueValue: UInt8 = 1
15 |
Dispatch.DispatchSpecificKey:1:20: note: generic class 'DispatchSpecificKey' does not conform to the 'Sendable' protocol
1 | final public class DispatchSpecificKey<T> {
| `- note: generic class 'DispatchSpecificKey' does not conform to the 'Sendable' protocol
2 | public init()
3 | deinit
/host/spi-builder-workspace/Sources/SwiftMIDIInternals/Utilities/Threading and Synchronization/Main Queue Utilities.swift:7:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Dispatch' as warnings
5 | //
6 |
7 | import class Foundation.DispatchQueue
| `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Dispatch' as warnings
8 | import class Foundation.DispatchSpecificKey
9 |
:
11 |
12 | // We store the dispatch key and value globally so they aren't bound to the generic type
13 | private let mainQueueKey = DispatchSpecificKey<UInt8>()
| |- note: add '@MainActor' to make let 'mainQueueKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | private let mainQueueValue: UInt8 = 1
15 |
[6/25] Compiling SwiftMIDIInternals SwiftMIDIInternals.swift
[7/25] Compiling SwiftMIDIInternals Exception.swift
[8/25] Compiling SwiftMIDIInternals Hex and Binary String.swift
[9/25] Compiling SwiftMIDIInternals Number Formatting.swift
[10/25] Compiling SwiftMIDIInternals ASCII.swift
[11/25] Compiling SwiftMIDIInternals Collections.swift
[12/25] Compiling SwiftMIDIInternals MainThreadSynchronizedPThreadMutexValue.swift
[13/25] Compiling SwiftMIDIInternals PThreadMutex.swift
[14/25] Compiling SwiftMIDIInternals PThreadMutexValue.swift
[15/25] Compiling SwiftMIDIInternals ThreadSynchronized.swift
[16/25] Compiling SwiftMIDIInternals ThreadSynchronizedPThreadMutex.swift
[17/25] Compiling SwiftMIDIInternals ThreadSynchronizedPThreadMutexValue.swift
[18/25] Compiling SwiftMIDIInternals Integers.swift
[19/25] Compiling SwiftMIDIInternals Ranges.swift
[20/25] Compiling SwiftMIDIInternals String.swift
[21/25] Compiling SwiftMIDIInternals Timespec.swift
[22/25] Compiling SwiftMIDIInternals RandomAccessCollection.swift
[23/25] Compiling SwiftMIDIInternals SafeDispatchTimer.swift
[24/25] Compiling SwiftMIDIInternals ThreadSynchronizedValue.swift
[25/25] Compiling SwiftMIDIInternals Utilities.swift
BUILD FAILURE 6.1 linux