The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-acp, reference main (e1f7e0), with Swift 6.1 for Android on 1 Jul 2026 02:05:19 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886768-0":/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: 0e64495ecc1688c3b3e031a5ef1348b5c05091ae
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/TeamSloppy/swift-acp.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/TeamSloppy/swift-acp
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e1f7e08 update interface for xcode 26.6
Submodule path 'reference/agent-client-protocol': checked out '709a3cfe366fb7063aea284ef4f3b25dad1ac6ec'
Submodule path 'reference/kotlin-sdk': checked out 'eb2f16207e41febfa901d0bf0070f0213ae7df8d'
Submodule path 'reference/python-sdk': checked out '69c184c86a1ec7e77a718fcbbfdc7db7eb5351e6'
Submodule path 'reference/registry': checked out '2924f20806c51e1281e3f829ed8b59d1e4699ef6'
Submodule path 'reference/rust-sdk': checked out 'a0917aafe98c95d8e3654d5c441e0cd347df654f'
Submodule path 'reference/typescript-sdk': checked out '9609d922dc855dc4446dfaef082416d34e0f123a'
Submodule 'reference/agent-client-protocol' (https://github.com/agentclientprotocol/agent-client-protocol.git) registered for path 'reference/agent-client-protocol'
Submodule 'reference/kotlin-sdk' (https://github.com/agentclientprotocol/kotlin-sdk.git) registered for path 'reference/kotlin-sdk'
Submodule 'reference/python-sdk' (https://github.com/agentclientprotocol/python-sdk.git) registered for path 'reference/python-sdk'
Submodule 'reference/registry' (https://github.com/agentclientprotocol/registry.git) registered for path 'reference/registry'
Submodule 'reference/rust-sdk' (https://github.com/agentclientprotocol/rust-sdk.git) registered for path 'reference/rust-sdk'
Submodule 'reference/typescript-sdk' (https://github.com/agentclientprotocol/typescript-sdk.git) registered for path 'reference/typescript-sdk'
Cloning into '/host/spi-builder-workspace/reference/agent-client-protocol'...
Cloning into '/host/spi-builder-workspace/reference/kotlin-sdk'...
Cloning into '/host/spi-builder-workspace/reference/python-sdk'...
Cloning into '/host/spi-builder-workspace/reference/registry'...
Cloning into '/host/spi-builder-workspace/reference/rust-sdk'...
Cloning into '/host/spi-builder-workspace/reference/typescript-sdk'...
Cloned https://github.com/TeamSloppy/swift-acp.git
Revision (git rev-parse @):
e1f7e084fe9a2014ed8aee97ad24b788281bf703
SUCCESS checkout https://github.com/TeamSloppy/swift-acp.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/TeamSloppy/swift-acp.git
https://github.com/TeamSloppy/swift-acp.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-0":/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:365d9b14669f92fea0572234887def10439445c91d7e524c78a6579ad7294f11
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
Fetching https://github.com/apple/swift-log.git
[1/7604] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.43s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.14.0 (0.67s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.14.0
Building for debugging...
[0/6] Write sources
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/34] Compiling Logging Logger+Attributes.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/35] Compiling ACPModel Permission.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/35] Compiling ACPModel Requests.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/35] Compiling Logging LoggingSystem.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/35] Compiling Logging Logger.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/35] Compiling Logging Logger+With.swift
unable to find node: pound
unable to find node: pound
<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/35] Compiling ACPModel Config.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/35] Compiling ACPModel Content.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/35] Emitting module Logging
unable to find node: pound
unable to find node: pound
<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/35] Compiling ACPModel ACPModel.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/35] Compiling ACPModel Capabilities.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/35] Compiling Logging MetadataProvider.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/37] Compiling ACPModel Terminal.swift
[23/37] Compiling ACPModel Tool.swift
[26/37] Emitting module ACPModel
[27/37] Emitting module ACPRegistry
[28/37] Compiling ACPRegistry RegistryTypes.swift
[29/37] Compiling ACPRegistry RegistryClient.swift
[30/37] Compiling ACPRegistry AgentInstaller.swift
[32/38] Compiling ACPModel Errors.swift
[33/38] Compiling ACPModel Message.swift
[34/38] Compiling ACPModel Responses.swift
[35/38] Compiling ACPModel Session.swift
[38/38] Compiling ACPModel Updates.swift
[40/62] Compiling ACP Permission.swift
[41/62] Compiling ACP Requests.swift
[42/62] Compiling ACP Responses.swift
[43/65] Compiling ACP ClientDelegate.swift
[44/65] Compiling ACP Config.swift
[45/65] Compiling ACP Content.swift
[46/65] Compiling ACP ProcessRegistry.swift
/host/spi-builder-workspace/Sources/ACP/Internal/ProcessRegistry.swift:206:20: error: cannot find 'errno' in scope
204 |         if let pgid = entry.pgid {
205 |             if killpg(pgid, 0) == 0 { return true }
206 |             return errno == EPERM
    |                    `- error: cannot find 'errno' in scope
207 |         }
208 |         if kill(entry.pid, 0) == 0 { return true }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/ACP/Internal/ProcessRegistry.swift:209:16: error: cannot find 'errno' in scope
207 |         }
208 |         if kill(entry.pid, 0) == 0 { return true }
209 |         return errno == EPERM
    |                `- error: cannot find 'errno' in scope
210 |     }
211 | }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
[47/65] Compiling ACP RequestRouter.swift
/host/spi-builder-workspace/Sources/ACP/Internal/ProcessRegistry.swift:206:20: error: cannot find 'errno' in scope
204 |         if let pgid = entry.pgid {
205 |             if killpg(pgid, 0) == 0 { return true }
206 |             return errno == EPERM
    |                    `- error: cannot find 'errno' in scope
207 |         }
208 |         if kill(entry.pid, 0) == 0 { return true }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/ACP/Internal/ProcessRegistry.swift:209:16: error: cannot find 'errno' in scope
207 |         }
208 |         if kill(entry.pid, 0) == 0 { return true }
209 |         return errno == EPERM
    |                `- error: cannot find 'errno' in scope
210 |     }
211 | }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
[48/65] Compiling ACP Message.swift
/host/spi-builder-workspace/Sources/ACP/Internal/ProcessRegistry.swift:206:20: error: cannot find 'errno' in scope
204 |         if let pgid = entry.pgid {
205 |             if killpg(pgid, 0) == 0 { return true }
206 |             return errno == EPERM
    |                    `- error: cannot find 'errno' in scope
207 |         }
208 |         if kill(entry.pid, 0) == 0 { return true }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/ACP/Internal/ProcessRegistry.swift:209:16: error: cannot find 'errno' in scope
207 |         }
208 |         if kill(entry.pid, 0) == 0 { return true }
209 |         return errno == EPERM
    |                `- error: cannot find 'errno' in scope
210 |     }
211 | }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
[49/65] Compiling ACP Errors.swift
/host/spi-builder-workspace/Sources/ACP/Internal/ProcessManager.swift:148:16: error: cannot find 'setpgid' in scope
146 |         if proc.processIdentifier > 0 {
147 |             let pid = proc.processIdentifier
148 |             if setpgid(pid, pid) == 0 {
    |                `- error: cannot find 'setpgid' in scope
149 |                 processGroupId = pid
150 |             } else {
/host/spi-builder-workspace/Sources/ACP/Internal/ProcessManager.swift:151:104: error: cannot find 'errno' in scope
149 |                 processGroupId = pid
150 |             } else {
151 |                 logger.warning("Failed to set process group for pid=\(pid): \(String(cString: strerror(errno)))")
    |                                                                                                        `- error: cannot find 'errno' in scope
152 |             }
153 |         }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
[50/65] Compiling ACP FileSystemDelegate.swift
/host/spi-builder-workspace/Sources/ACP/Internal/ProcessManager.swift:148:16: error: cannot find 'setpgid' in scope
146 |         if proc.processIdentifier > 0 {
147 |             let pid = proc.processIdentifier
148 |             if setpgid(pid, pid) == 0 {
    |                `- error: cannot find 'setpgid' in scope
149 |                 processGroupId = pid
150 |             } else {
/host/spi-builder-workspace/Sources/ACP/Internal/ProcessManager.swift:151:104: error: cannot find 'errno' in scope
149 |                 processGroupId = pid
150 |             } else {
151 |                 logger.warning("Failed to set process group for pid=\(pid): \(String(cString: strerror(errno)))")
    |                                                                                                        `- error: cannot find 'errno' in scope
152 |             }
153 |         }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
[51/65] Compiling ACP ProcessManager.swift
/host/spi-builder-workspace/Sources/ACP/Internal/ProcessManager.swift:148:16: error: cannot find 'setpgid' in scope
146 |         if proc.processIdentifier > 0 {
147 |             let pid = proc.processIdentifier
148 |             if setpgid(pid, pid) == 0 {
    |                `- error: cannot find 'setpgid' in scope
149 |                 processGroupId = pid
150 |             } else {
/host/spi-builder-workspace/Sources/ACP/Internal/ProcessManager.swift:151:104: error: cannot find 'errno' in scope
149 |                 processGroupId = pid
150 |             } else {
151 |                 logger.warning("Failed to set process group for pid=\(pid): \(String(cString: strerror(errno)))")
    |                                                                                                        `- error: cannot find 'errno' in scope
152 |             }
153 |         }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
[52/65] Compiling ACP Updates.swift
/host/spi-builder-workspace/Sources/ACP/Utilities/Logger.swift:51:24: warning: static property 'acpSubsystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 | extension Logger {
50 |     /// Default subsystem for ACP logging
51 |     private static var acpSubsystem = "com.acp"
   |                        |- warning: static property 'acpSubsystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'acpSubsystem' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property 'acpSubsystem' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 |     /// Configure the logging subsystem (call once at initialization)
/host/spi-builder-workspace/Sources/ACP/Utilities/ShellEnvironment.swift:13:24: warning: static property 'cachedEnvironment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 11 |     private static let cacheLock = NSLock()
 12 |     private static let cacheCondition = NSCondition()
 13 |     private static var cachedEnvironment: [String: String]?
    |                        |- warning: static property 'cachedEnvironment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'cachedEnvironment' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'cachedEnvironment' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 14 |     private static var isLoading = false
 15 |
/host/spi-builder-workspace/Sources/ACP/Utilities/ShellEnvironment.swift:14:24: warning: static property 'isLoading' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 12 |     private static let cacheCondition = NSCondition()
 13 |     private static var cachedEnvironment: [String: String]?
 14 |     private static var isLoading = false
    |                        |- warning: static property 'isLoading' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'isLoading' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'isLoading' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 15 |
 16 |     /// Get user's shell environment (cached after first load)
[53/65] Compiling ACP Logger.swift
/host/spi-builder-workspace/Sources/ACP/Utilities/Logger.swift:51:24: warning: static property 'acpSubsystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 | extension Logger {
50 |     /// Default subsystem for ACP logging
51 |     private static var acpSubsystem = "com.acp"
   |                        |- warning: static property 'acpSubsystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'acpSubsystem' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property 'acpSubsystem' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 |     /// Configure the logging subsystem (call once at initialization)
/host/spi-builder-workspace/Sources/ACP/Utilities/ShellEnvironment.swift:13:24: warning: static property 'cachedEnvironment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 11 |     private static let cacheLock = NSLock()
 12 |     private static let cacheCondition = NSCondition()
 13 |     private static var cachedEnvironment: [String: String]?
    |                        |- warning: static property 'cachedEnvironment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'cachedEnvironment' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'cachedEnvironment' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 14 |     private static var isLoading = false
 15 |
/host/spi-builder-workspace/Sources/ACP/Utilities/ShellEnvironment.swift:14:24: warning: static property 'isLoading' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 12 |     private static let cacheCondition = NSCondition()
 13 |     private static var cachedEnvironment: [String: String]?
 14 |     private static var isLoading = false
    |                        |- warning: static property 'isLoading' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'isLoading' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'isLoading' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 15 |
 16 |     /// Get user's shell environment (cached after first load)
[54/65] Compiling ACP ShellEnvironment.swift
/host/spi-builder-workspace/Sources/ACP/Utilities/Logger.swift:51:24: warning: static property 'acpSubsystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 | extension Logger {
50 |     /// Default subsystem for ACP logging
51 |     private static var acpSubsystem = "com.acp"
   |                        |- warning: static property 'acpSubsystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'acpSubsystem' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property 'acpSubsystem' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 |     /// Configure the logging subsystem (call once at initialization)
/host/spi-builder-workspace/Sources/ACP/Utilities/ShellEnvironment.swift:13:24: warning: static property 'cachedEnvironment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 11 |     private static let cacheLock = NSLock()
 12 |     private static let cacheCondition = NSCondition()
 13 |     private static var cachedEnvironment: [String: String]?
    |                        |- warning: static property 'cachedEnvironment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'cachedEnvironment' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'cachedEnvironment' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 14 |     private static var isLoading = false
 15 |
/host/spi-builder-workspace/Sources/ACP/Utilities/ShellEnvironment.swift:14:24: warning: static property 'isLoading' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 12 |     private static let cacheCondition = NSCondition()
 13 |     private static var cachedEnvironment: [String: String]?
 14 |     private static var isLoading = false
    |                        |- warning: static property 'isLoading' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'isLoading' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'isLoading' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 15 |
 16 |     /// Get user's shell environment (cached after first load)
[55/65] Compiling ACP Tool.swift
[56/65] Compiling ACP StdioTransport.swift
[57/65] Compiling ACP Transport.swift
[58/65] Compiling ACP Session.swift
[59/65] Compiling ACP Terminal.swift
[60/65] Compiling ACP TerminalDelegate.swift
[61/65] Emitting module ACP
/host/spi-builder-workspace/Sources/ACP/Utilities/Logger.swift:51:24: warning: static property 'acpSubsystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 | extension Logger {
50 |     /// Default subsystem for ACP logging
51 |     private static var acpSubsystem = "com.acp"
   |                        |- warning: static property 'acpSubsystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'acpSubsystem' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property 'acpSubsystem' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 |     /// Configure the logging subsystem (call once at initialization)
/host/spi-builder-workspace/Sources/ACP/Utilities/ShellEnvironment.swift:13:24: warning: static property 'cachedEnvironment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 11 |     private static let cacheLock = NSLock()
 12 |     private static let cacheCondition = NSCondition()
 13 |     private static var cachedEnvironment: [String: String]?
    |                        |- warning: static property 'cachedEnvironment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'cachedEnvironment' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'cachedEnvironment' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 14 |     private static var isLoading = false
 15 |
/host/spi-builder-workspace/Sources/ACP/Utilities/ShellEnvironment.swift:14:24: warning: static property 'isLoading' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 12 |     private static let cacheCondition = NSCondition()
 13 |     private static var cachedEnvironment: [String: String]?
 14 |     private static var isLoading = false
    |                        |- warning: static property 'isLoading' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'isLoading' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'isLoading' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 15 |
 16 |     /// Get user's shell environment (cached after first load)
[62/65] Compiling ACP Agent.swift
/host/spi-builder-workspace/Sources/ACP/Client.swift:497:30: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
485 |     }
486 |
487 |     private func withRequestTimeout<T>(
    |                                     `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
488 |         seconds: TimeInterval?,
489 |         requestId: RequestId,
    :
495 |
496 |         do {
497 |             return try await withThrowingTaskGroup(of: T.self) { group in
    |                              `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
498 |                 group.addTask {
499 |                     try await operation()
/host/spi-builder-workspace/Sources/ACP/Client.swift:498:23: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
485 |     }
486 |
487 |     private func withRequestTimeout<T>(
    |                                     `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
488 |         seconds: TimeInterval?,
489 |         requestId: RequestId,
    :
496 |         do {
497 |             return try await withThrowingTaskGroup(of: T.self) { group in
498 |                 group.addTask {
    |                       `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
499 |                     try await operation()
500 |                 }
/host/spi-builder-workspace/Sources/ACP/Client.swift:501:23: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
485 |     }
486 |
487 |     private func withRequestTimeout<T>(
    |                                     `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
488 |         seconds: TimeInterval?,
489 |         requestId: RequestId,
    :
499 |                     try await operation()
500 |                 }
501 |                 group.addTask {
    |                       `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
502 |                     try await Task.sleep(nanoseconds: UInt64(seconds * 1_000_000_000))
503 |                     throw TimeoutError.requestTimedOut
/host/spi-builder-workspace/Sources/ACP/Client.swift:506:52: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
485 |     }
486 |
487 |     private func withRequestTimeout<T>(
    |                                     `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
488 |         seconds: TimeInterval?,
489 |         requestId: RequestId,
    :
504 |                 }
505 |
506 |                 guard let result = try await group.next() else {
    |                                                    `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
507 |                     throw TimeoutError.requestTimedOut
508 |                 }
/host/spi-builder-workspace/Sources/ACP/Client.swift:509:23: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
485 |     }
486 |
487 |     private func withRequestTimeout<T>(
    |                                     `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
488 |         seconds: TimeInterval?,
489 |         requestId: RequestId,
    :
507 |                     throw TimeoutError.requestTimedOut
508 |                 }
509 |                 group.cancelAll()
    |                       `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
510 |                 return result
511 |             }
/host/spi-builder-workspace/Sources/ACP/Client.swift:493:30: warning: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'operation'; this is an error in the Swift 6 language mode
485 |     }
486 |
487 |     private func withRequestTimeout<T>(
    |                                     `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
488 |         seconds: TimeInterval?,
489 |         requestId: RequestId,
    :
491 |     ) async throws -> T {
492 |         guard let seconds = seconds else {
493 |             return try await operation()
    |                              `- warning: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'operation'; this is an error in the Swift 6 language mode
494 |         }
495 |
/host/spi-builder-workspace/Sources/ACP/Client.swift:681:34: warning: sending 'message' risks causing data races; this is an error in the Swift 6 language mode
679 |             }
680 |         }
681 |         try await processManager.writeMessage(message)
    |                                  |- warning: sending 'message' risks causing data races; this is an error in the Swift 6 language mode
    |                                  `- note: sending 'self'-isolated 'message' to actor-isolated instance method 'writeMessage' risks causing data races between actor-isolated and 'self'-isolated uses
682 |     }
683 | }
/host/spi-builder-workspace/Sources/ACP/Client.swift:498:31: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
496 |         do {
497 |             return try await withThrowingTaskGroup(of: T.self) { group in
498 |                 group.addTask {
    |                               `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
499 |                     try await operation()
    |                               `- note: closure captures 'operation' which is accessible to code in the current task
500 |                 }
501 |                 group.addTask {
[63/65] Compiling ACP StdinTransport.swift
/host/spi-builder-workspace/Sources/ACP/Client.swift:497:30: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
485 |     }
486 |
487 |     private func withRequestTimeout<T>(
    |                                     `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
488 |         seconds: TimeInterval?,
489 |         requestId: RequestId,
    :
495 |
496 |         do {
497 |             return try await withThrowingTaskGroup(of: T.self) { group in
    |                              `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
498 |                 group.addTask {
499 |                     try await operation()
/host/spi-builder-workspace/Sources/ACP/Client.swift:498:23: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
485 |     }
486 |
487 |     private func withRequestTimeout<T>(
    |                                     `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
488 |         seconds: TimeInterval?,
489 |         requestId: RequestId,
    :
496 |         do {
497 |             return try await withThrowingTaskGroup(of: T.self) { group in
498 |                 group.addTask {
    |                       `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
499 |                     try await operation()
500 |                 }
/host/spi-builder-workspace/Sources/ACP/Client.swift:501:23: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
485 |     }
486 |
487 |     private func withRequestTimeout<T>(
    |                                     `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
488 |         seconds: TimeInterval?,
489 |         requestId: RequestId,
    :
499 |                     try await operation()
500 |                 }
501 |                 group.addTask {
    |                       `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
502 |                     try await Task.sleep(nanoseconds: UInt64(seconds * 1_000_000_000))
503 |                     throw TimeoutError.requestTimedOut
/host/spi-builder-workspace/Sources/ACP/Client.swift:506:52: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
485 |     }
486 |
487 |     private func withRequestTimeout<T>(
    |                                     `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
488 |         seconds: TimeInterval?,
489 |         requestId: RequestId,
    :
504 |                 }
505 |
506 |                 guard let result = try await group.next() else {
    |                                                    `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
507 |                     throw TimeoutError.requestTimedOut
508 |                 }
/host/spi-builder-workspace/Sources/ACP/Client.swift:509:23: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
485 |     }
486 |
487 |     private func withRequestTimeout<T>(
    |                                     `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
488 |         seconds: TimeInterval?,
489 |         requestId: RequestId,
    :
507 |                     throw TimeoutError.requestTimedOut
508 |                 }
509 |                 group.cancelAll()
    |                       `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
510 |                 return result
511 |             }
/host/spi-builder-workspace/Sources/ACP/Client.swift:493:30: warning: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'operation'; this is an error in the Swift 6 language mode
485 |     }
486 |
487 |     private func withRequestTimeout<T>(
    |                                     `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
488 |         seconds: TimeInterval?,
489 |         requestId: RequestId,
    :
491 |     ) async throws -> T {
492 |         guard let seconds = seconds else {
493 |             return try await operation()
    |                              `- warning: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'operation'; this is an error in the Swift 6 language mode
494 |         }
495 |
/host/spi-builder-workspace/Sources/ACP/Client.swift:681:34: warning: sending 'message' risks causing data races; this is an error in the Swift 6 language mode
679 |             }
680 |         }
681 |         try await processManager.writeMessage(message)
    |                                  |- warning: sending 'message' risks causing data races; this is an error in the Swift 6 language mode
    |                                  `- note: sending 'self'-isolated 'message' to actor-isolated instance method 'writeMessage' risks causing data races between actor-isolated and 'self'-isolated uses
682 |     }
683 | }
/host/spi-builder-workspace/Sources/ACP/Client.swift:498:31: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
496 |         do {
497 |             return try await withThrowingTaskGroup(of: T.self) { group in
498 |                 group.addTask {
    |                               `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
499 |                     try await operation()
    |                               `- note: closure captures 'operation' which is accessible to code in the current task
500 |                 }
501 |                 group.addTask {
[64/65] Compiling ACP Capabilities.swift
/host/spi-builder-workspace/Sources/ACP/Client.swift:497:30: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
485 |     }
486 |
487 |     private func withRequestTimeout<T>(
    |                                     `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
488 |         seconds: TimeInterval?,
489 |         requestId: RequestId,
    :
495 |
496 |         do {
497 |             return try await withThrowingTaskGroup(of: T.self) { group in
    |                              `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
498 |                 group.addTask {
499 |                     try await operation()
/host/spi-builder-workspace/Sources/ACP/Client.swift:498:23: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
485 |     }
486 |
487 |     private func withRequestTimeout<T>(
    |                                     `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
488 |         seconds: TimeInterval?,
489 |         requestId: RequestId,
    :
496 |         do {
497 |             return try await withThrowingTaskGroup(of: T.self) { group in
498 |                 group.addTask {
    |                       `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
499 |                     try await operation()
500 |                 }
/host/spi-builder-workspace/Sources/ACP/Client.swift:501:23: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
485 |     }
486 |
487 |     private func withRequestTimeout<T>(
    |                                     `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
488 |         seconds: TimeInterval?,
489 |         requestId: RequestId,
    :
499 |                     try await operation()
500 |                 }
501 |                 group.addTask {
    |                       `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
502 |                     try await Task.sleep(nanoseconds: UInt64(seconds * 1_000_000_000))
503 |                     throw TimeoutError.requestTimedOut
/host/spi-builder-workspace/Sources/ACP/Client.swift:506:52: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
485 |     }
486 |
487 |     private func withRequestTimeout<T>(
    |                                     `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
488 |         seconds: TimeInterval?,
489 |         requestId: RequestId,
    :
504 |                 }
505 |
506 |                 guard let result = try await group.next() else {
    |                                                    `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
507 |                     throw TimeoutError.requestTimedOut
508 |                 }
/host/spi-builder-workspace/Sources/ACP/Client.swift:509:23: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
485 |     }
486 |
487 |     private func withRequestTimeout<T>(
    |                                     `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
488 |         seconds: TimeInterval?,
489 |         requestId: RequestId,
    :
507 |                     throw TimeoutError.requestTimedOut
508 |                 }
509 |                 group.cancelAll()
    |                       `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
510 |                 return result
511 |             }
/host/spi-builder-workspace/Sources/ACP/Client.swift:493:30: warning: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'operation'; this is an error in the Swift 6 language mode
485 |     }
486 |
487 |     private func withRequestTimeout<T>(
    |                                     `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
488 |         seconds: TimeInterval?,
489 |         requestId: RequestId,
    :
491 |     ) async throws -> T {
492 |         guard let seconds = seconds else {
493 |             return try await operation()
    |                              `- warning: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'operation'; this is an error in the Swift 6 language mode
494 |         }
495 |
/host/spi-builder-workspace/Sources/ACP/Client.swift:681:34: warning: sending 'message' risks causing data races; this is an error in the Swift 6 language mode
679 |             }
680 |         }
681 |         try await processManager.writeMessage(message)
    |                                  |- warning: sending 'message' risks causing data races; this is an error in the Swift 6 language mode
    |                                  `- note: sending 'self'-isolated 'message' to actor-isolated instance method 'writeMessage' risks causing data races between actor-isolated and 'self'-isolated uses
682 |     }
683 | }
/host/spi-builder-workspace/Sources/ACP/Client.swift:498:31: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
496 |         do {
497 |             return try await withThrowingTaskGroup(of: T.self) { group in
498 |                 group.addTask {
    |                               `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
499 |                     try await operation()
    |                               `- note: closure captures 'operation' which is accessible to code in the current task
500 |                 }
501 |                 group.addTask {
[65/65] Compiling ACP Client.swift
/host/spi-builder-workspace/Sources/ACP/Client.swift:497:30: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
485 |     }
486 |
487 |     private func withRequestTimeout<T>(
    |                                     `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
488 |         seconds: TimeInterval?,
489 |         requestId: RequestId,
    :
495 |
496 |         do {
497 |             return try await withThrowingTaskGroup(of: T.self) { group in
    |                              `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
498 |                 group.addTask {
499 |                     try await operation()
/host/spi-builder-workspace/Sources/ACP/Client.swift:498:23: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
485 |     }
486 |
487 |     private func withRequestTimeout<T>(
    |                                     `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
488 |         seconds: TimeInterval?,
489 |         requestId: RequestId,
    :
496 |         do {
497 |             return try await withThrowingTaskGroup(of: T.self) { group in
498 |                 group.addTask {
    |                       `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
499 |                     try await operation()
500 |                 }
/host/spi-builder-workspace/Sources/ACP/Client.swift:501:23: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
485 |     }
486 |
487 |     private func withRequestTimeout<T>(
    |                                     `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
488 |         seconds: TimeInterval?,
489 |         requestId: RequestId,
    :
499 |                     try await operation()
500 |                 }
501 |                 group.addTask {
    |                       `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
502 |                     try await Task.sleep(nanoseconds: UInt64(seconds * 1_000_000_000))
503 |                     throw TimeoutError.requestTimedOut
/host/spi-builder-workspace/Sources/ACP/Client.swift:506:52: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
485 |     }
486 |
487 |     private func withRequestTimeout<T>(
    |                                     `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
488 |         seconds: TimeInterval?,
489 |         requestId: RequestId,
    :
504 |                 }
505 |
506 |                 guard let result = try await group.next() else {
    |                                                    `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
507 |                     throw TimeoutError.requestTimedOut
508 |                 }
/host/spi-builder-workspace/Sources/ACP/Client.swift:509:23: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
485 |     }
486 |
487 |     private func withRequestTimeout<T>(
    |                                     `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
488 |         seconds: TimeInterval?,
489 |         requestId: RequestId,
    :
507 |                     throw TimeoutError.requestTimedOut
508 |                 }
509 |                 group.cancelAll()
    |                       `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
510 |                 return result
511 |             }
/host/spi-builder-workspace/Sources/ACP/Client.swift:493:30: warning: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'operation'; this is an error in the Swift 6 language mode
485 |     }
486 |
487 |     private func withRequestTimeout<T>(
    |                                     `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
488 |         seconds: TimeInterval?,
489 |         requestId: RequestId,
    :
491 |     ) async throws -> T {
492 |         guard let seconds = seconds else {
493 |             return try await operation()
    |                              `- warning: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'operation'; this is an error in the Swift 6 language mode
494 |         }
495 |
/host/spi-builder-workspace/Sources/ACP/Client.swift:681:34: warning: sending 'message' risks causing data races; this is an error in the Swift 6 language mode
679 |             }
680 |         }
681 |         try await processManager.writeMessage(message)
    |                                  |- warning: sending 'message' risks causing data races; this is an error in the Swift 6 language mode
    |                                  `- note: sending 'self'-isolated 'message' to actor-isolated instance method 'writeMessage' risks causing data races between actor-isolated and 'self'-isolated uses
682 |     }
683 | }
/host/spi-builder-workspace/Sources/ACP/Client.swift:498:31: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
496 |         do {
497 |             return try await withThrowingTaskGroup(of: T.self) { group in
498 |                 group.addTask {
    |                               `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
499 |                     try await operation()
    |                               `- note: closure captures 'operation' which is accessible to code in the current task
500 |                 }
501 |                 group.addTask {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-0":/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:365d9b14669f92fea0572234887def10439445c91d7e524c78a6579ad7294f11
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/29] Compiling Logging LoggingSystem.swift
[3/30] Compiling ACPModel Config.swift
[4/30] Compiling ACPModel Content.swift
[5/30] Emitting module Logging
unable to find node: pound
unable to find node: pound
[6/30] Compiling ACPModel ACPModel.swift
[7/30] Compiling ACPModel Capabilities.swift
[8/30] Compiling Logging Logger+With.swift
unable to find node: pound
unable to find node: pound
[9/30] Compiling Logging Logger.swift
[10/30] Compiling Logging MetadataProvider.swift
[11/30] Compiling Logging Logger+Attributes.swift
[12/30] Compiling ACPModel Errors.swift
[13/30] Compiling ACPModel Message.swift
[17/32] Compiling ACPRegistry RegistryClient.swift
[18/32] Compiling ACPRegistry AgentInstaller.swift
[19/32] Compiling ACPRegistry RegistryTypes.swift
[20/32] Emitting module ACPRegistry
[21/33] Compiling ACPModel Tool.swift
[23/33] Compiling ACPModel Terminal.swift
[24/33] Emitting module ACPModel
[25/33] Compiling ACPModel Updates.swift
[30/33] Compiling ACPModel Permission.swift
[31/33] Compiling ACPModel Requests.swift
[32/33] Compiling ACPModel Responses.swift
[33/33] Compiling ACPModel Session.swift
[35/57] Compiling ACP Errors.swift
/host/spi-builder-workspace/Sources/ACP/Internal/ProcessManager.swift:148:16: error: cannot find 'setpgid' in scope
146 |         if proc.processIdentifier > 0 {
147 |             let pid = proc.processIdentifier
148 |             if setpgid(pid, pid) == 0 {
    |                `- error: cannot find 'setpgid' in scope
149 |                 processGroupId = pid
150 |             } else {
/host/spi-builder-workspace/Sources/ACP/Internal/ProcessManager.swift:151:104: error: cannot find 'errno' in scope
149 |                 processGroupId = pid
150 |             } else {
151 |                 logger.warning("Failed to set process group for pid=\(pid): \(String(cString: strerror(errno)))")
    |                                                                                                        `- error: cannot find 'errno' in scope
152 |             }
153 |         }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
[36/57] Compiling ACP FileSystemDelegate.swift
/host/spi-builder-workspace/Sources/ACP/Internal/ProcessManager.swift:148:16: error: cannot find 'setpgid' in scope
146 |         if proc.processIdentifier > 0 {
147 |             let pid = proc.processIdentifier
148 |             if setpgid(pid, pid) == 0 {
    |                `- error: cannot find 'setpgid' in scope
149 |                 processGroupId = pid
150 |             } else {
/host/spi-builder-workspace/Sources/ACP/Internal/ProcessManager.swift:151:104: error: cannot find 'errno' in scope
149 |                 processGroupId = pid
150 |             } else {
151 |                 logger.warning("Failed to set process group for pid=\(pid): \(String(cString: strerror(errno)))")
    |                                                                                                        `- error: cannot find 'errno' in scope
152 |             }
153 |         }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
[37/57] Compiling ACP ProcessManager.swift
/host/spi-builder-workspace/Sources/ACP/Internal/ProcessManager.swift:148:16: error: cannot find 'setpgid' in scope
146 |         if proc.processIdentifier > 0 {
147 |             let pid = proc.processIdentifier
148 |             if setpgid(pid, pid) == 0 {
    |                `- error: cannot find 'setpgid' in scope
149 |                 processGroupId = pid
150 |             } else {
/host/spi-builder-workspace/Sources/ACP/Internal/ProcessManager.swift:151:104: error: cannot find 'errno' in scope
149 |                 processGroupId = pid
150 |             } else {
151 |                 logger.warning("Failed to set process group for pid=\(pid): \(String(cString: strerror(errno)))")
    |                                                                                                        `- error: cannot find 'errno' in scope
152 |             }
153 |         }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
[38/60] Compiling ACP Permission.swift
[39/60] Compiling ACP Requests.swift
[40/60] Compiling ACP Responses.swift
[41/60] Compiling ACP ClientDelegate.swift
[42/60] Compiling ACP Config.swift
[43/60] Compiling ACP Content.swift
[44/60] Compiling ACP ProcessRegistry.swift
/host/spi-builder-workspace/Sources/ACP/Internal/ProcessRegistry.swift:206:20: error: cannot find 'errno' in scope
204 |         if let pgid = entry.pgid {
205 |             if killpg(pgid, 0) == 0 { return true }
206 |             return errno == EPERM
    |                    `- error: cannot find 'errno' in scope
207 |         }
208 |         if kill(entry.pid, 0) == 0 { return true }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/ACP/Internal/ProcessRegistry.swift:209:16: error: cannot find 'errno' in scope
207 |         }
208 |         if kill(entry.pid, 0) == 0 { return true }
209 |         return errno == EPERM
    |                `- error: cannot find 'errno' in scope
210 |     }
211 | }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
[45/60] Compiling ACP RequestRouter.swift
/host/spi-builder-workspace/Sources/ACP/Internal/ProcessRegistry.swift:206:20: error: cannot find 'errno' in scope
204 |         if let pgid = entry.pgid {
205 |             if killpg(pgid, 0) == 0 { return true }
206 |             return errno == EPERM
    |                    `- error: cannot find 'errno' in scope
207 |         }
208 |         if kill(entry.pid, 0) == 0 { return true }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/ACP/Internal/ProcessRegistry.swift:209:16: error: cannot find 'errno' in scope
207 |         }
208 |         if kill(entry.pid, 0) == 0 { return true }
209 |         return errno == EPERM
    |                `- error: cannot find 'errno' in scope
210 |     }
211 | }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
[46/60] Compiling ACP Message.swift
/host/spi-builder-workspace/Sources/ACP/Internal/ProcessRegistry.swift:206:20: error: cannot find 'errno' in scope
204 |         if let pgid = entry.pgid {
205 |             if killpg(pgid, 0) == 0 { return true }
206 |             return errno == EPERM
    |                    `- error: cannot find 'errno' in scope
207 |         }
208 |         if kill(entry.pid, 0) == 0 { return true }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/ACP/Internal/ProcessRegistry.swift:209:16: error: cannot find 'errno' in scope
207 |         }
208 |         if kill(entry.pid, 0) == 0 { return true }
209 |         return errno == EPERM
    |                `- error: cannot find 'errno' in scope
210 |     }
211 | }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
[47/60] Emitting module ACP
[48/60] Compiling ACP Tool.swift
[49/60] Compiling ACP StdioTransport.swift
[50/60] Compiling ACP Transport.swift
[51/60] Compiling ACP Session.swift
[52/60] Compiling ACP Terminal.swift
[53/60] Compiling ACP TerminalDelegate.swift
[54/60] Compiling ACP Updates.swift
[55/60] Compiling ACP Logger.swift
[56/60] Compiling ACP ShellEnvironment.swift
[57/60] Compiling ACP Agent.swift
[58/60] Compiling ACP StdinTransport.swift
[59/60] Compiling ACP Capabilities.swift
[60/60] Compiling ACP Client.swift
BUILD FAILURE 6.1 android