The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-midi-core, reference main (1aac7a), with Swift 6.1 for Android on 4 Oct 2026 01:20:23 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/orchetect/swift-midi-core.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-core
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 1aac7aa Updated package manifest with GitHub Actions env var applied to all targets
Cloned https://github.com/orchetect/swift-midi-core.git
Revision (git rev-parse @):
1aac7aa31f4b15897ff156511af62ca1b1118edc
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/orchetect/swift-midi-core.git at main
========================================
Build
========================================
Selected platform:         android
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-54344844-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:a7f4f752e160f6cbd9e0c26490aa43ccd5312d524c4c6d77f8b144559b526afa
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
Fetching https://github.com/orchetect/swift-testing-extensions
[1/1172] Fetching swift-testing-extensions
Fetched https://github.com/orchetect/swift-testing-extensions from cache (0.42s)
Computing version for https://github.com/orchetect/swift-testing-extensions
Computed https://github.com/orchetect/swift-testing-extensions at 0.3.1 (0.73s)
Fetching https://github.com/tsolomko/SWCompression
Fetching https://github.com/swiftlang/swift-syntax.git
[1/18078] Fetching swcompression
[18079/98389] Fetching swcompression, swift-syntax
Fetched https://github.com/tsolomko/SWCompression from cache (5.79s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (5.82s)
Computing version for https://github.com/tsolomko/SWCompression
Computed https://github.com/tsolomko/SWCompression at 4.9.1 (6.29s)
Fetching https://github.com/tsolomko/BitByteData
[33/3281] Fetching bitbytedata
Fetched https://github.com/tsolomko/BitByteData from cache (0.59s)
Computing version for https://github.com/tsolomko/BitByteData
Computed https://github.com/tsolomko/BitByteData at 2.1.0 (1.00s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 604.0.0 (1.84s)
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 604.0.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/orchetect/swift-testing-extensions
Working copy of https://github.com/orchetect/swift-testing-extensions resolved at 0.3.1
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] 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 |
[5/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
[6/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
[7/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
[8/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
[9/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
[10/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
[11/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
[12/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
[13/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
[14/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
[15/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
[16/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
[17/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
[18/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
[19/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
[20/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
[21/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
[22/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 |
[23/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 |
[24/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 |
[25/27] 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
[26/27] 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
[27/27] 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
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:a7f4f752e160f6cbd9e0c26490aa43ccd5312d524c4c6d77f8b144559b526afa
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/23] Compiling SwiftMIDIInternals Number Formatting.swift
[3/23] Compiling SwiftMIDIInternals ASCII.swift
[4/23] Compiling SwiftMIDIInternals Collections.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/25] 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 |
[6/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 |
[7/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 |
[8/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 |
[9/25] Compiling SwiftMIDIInternals Integers.swift
[10/25] Compiling SwiftMIDIInternals Ranges.swift
[11/25] Compiling SwiftMIDIInternals String.swift
[12/25] Compiling SwiftMIDIInternals SwiftMIDIInternals.swift
[13/25] Compiling SwiftMIDIInternals Exception.swift
[14/25] Compiling SwiftMIDIInternals Hex and Binary String.swift
[15/25] Compiling SwiftMIDIInternals ThreadSynchronized.swift
[16/25] Compiling SwiftMIDIInternals ThreadSynchronizedPThreadMutex.swift
[17/25] Compiling SwiftMIDIInternals ThreadSynchronizedPThreadMutexValue.swift
[18/25] Compiling SwiftMIDIInternals ThreadSynchronizedValue.swift
[19/25] Compiling SwiftMIDIInternals Utilities.swift
[20/25] Compiling SwiftMIDIInternals Timespec.swift
[21/25] Compiling SwiftMIDIInternals RandomAccessCollection.swift
[22/25] Compiling SwiftMIDIInternals SafeDispatchTimer.swift
[23/25] Compiling SwiftMIDIInternals MainThreadSynchronizedPThreadMutexValue.swift
[24/25] Compiling SwiftMIDIInternals PThreadMutex.swift
[25/25] Compiling SwiftMIDIInternals PThreadMutexValue.swift
BUILD FAILURE 6.1 android