The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-acp, reference main (71cb78), with Swift 6.1 for Android on 9 Apr 2026 21:14:38 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.69.2
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 71cb789 Fix macos error
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 @):
71cb789b66355bbeb82b402a4b61b7cb1e584ad8
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
{
  "dependencies" : [
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.6.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    }
  ],
  "manifest_display_name" : "swift-acp",
  "name" : "swift-acp",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    }
  ],
  "products" : [
    {
      "name" : "ACPModel",
      "targets" : [
        "ACPModel"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ACP",
      "targets" : [
        "ACP"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ACPHTTP",
      "targets" : [
        "ACPHTTP"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ACPRegistry",
      "targets" : [
        "ACPRegistry"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ACPTests",
      "module_type" : "SwiftTarget",
      "name" : "ACPTests",
      "path" : "Tests/ACPTests",
      "sources" : [
        "ACPClientTests.swift",
        "ACPE2ETests.swift",
        "ACPPerformanceTests.swift"
      ],
      "target_dependencies" : [
        "ACP",
        "ACPModel"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ACPRegistryTests",
      "module_type" : "SwiftTarget",
      "name" : "ACPRegistryTests",
      "path" : "Tests/ACPRegistryTests",
      "sources" : [
        "RegistryTests.swift"
      ],
      "target_dependencies" : [
        "ACPRegistry"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ACPRegistry",
      "module_type" : "SwiftTarget",
      "name" : "ACPRegistry",
      "path" : "Sources/ACPRegistry",
      "product_memberships" : [
        "ACPRegistry"
      ],
      "sources" : [
        "AgentInstaller.swift",
        "RegistryClient.swift",
        "RegistryTypes.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ACPModelTests",
      "module_type" : "SwiftTarget",
      "name" : "ACPModelTests",
      "path" : "Tests/ACPModelTests",
      "sources" : [
        "ACPModelTests.swift"
      ],
      "target_dependencies" : [
        "ACPModel"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ACPModel",
      "module_type" : "SwiftTarget",
      "name" : "ACPModel",
      "path" : "Sources/ACPModel",
      "product_memberships" : [
        "ACPModel",
        "ACP",
        "ACPHTTP"
      ],
      "sources" : [
        "ACPModel.swift",
        "Capabilities.swift",
        "Config.swift",
        "Content.swift",
        "Errors.swift",
        "Message.swift",
        "Permission.swift",
        "Requests.swift",
        "Responses.swift",
        "Session.swift",
        "Terminal.swift",
        "Tool.swift",
        "Updates.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ACPHTTPTests",
      "module_type" : "SwiftTarget",
      "name" : "ACPHTTPTests",
      "path" : "Tests/ACPHTTPTests",
      "sources" : [
        "ACPHTTPTests.swift"
      ],
      "target_dependencies" : [
        "ACPHTTP",
        "ACP",
        "ACPModel"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ACPHTTP",
      "module_type" : "SwiftTarget",
      "name" : "ACPHTTP",
      "path" : "Sources/ACPHTTP",
      "product_memberships" : [
        "ACPHTTP"
      ],
      "sources" : [
        "ACPHTTP.swift",
        "WebSocketTransport.swift"
      ],
      "target_dependencies" : [
        "ACP",
        "ACPModel"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ACP",
      "module_type" : "SwiftTarget",
      "name" : "ACP",
      "path" : "Sources/ACP",
      "product_dependencies" : [
        "Logging"
      ],
      "product_memberships" : [
        "ACP",
        "ACPHTTP"
      ],
      "sources" : [
        "Agent/Agent.swift",
        "Agent/StdinTransport.swift",
        "Capabilities.swift",
        "Client.swift",
        "ClientDelegate.swift",
        "Config.swift",
        "Content.swift",
        "Errors.swift",
        "FileSystemDelegate.swift",
        "Internal/ProcessManager.swift",
        "Internal/ProcessRegistry.swift",
        "Internal/RequestRouter.swift",
        "Message.swift",
        "Permission.swift",
        "Requests.swift",
        "Responses.swift",
        "Session.swift",
        "Terminal.swift",
        "TerminalDelegate.swift",
        "Tool.swift",
        "Transport/StdioTransport.swift",
        "Transport/Transport.swift",
        "Updates.swift",
        "Utilities/Logger.swift",
        "Utilities/ShellEnvironment.swift"
      ],
      "target_dependencies" : [
        "ACPModel"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images: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 swiftpackageindex/spi-images
Digest: sha256:d37fe7b8fba27dae59fb1d9d7dfa86b38b41ffb3975924aad6f05cb4cc3de131
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-latest
Fetching https://github.com/apple/swift-log.git
[1/6463] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.52s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.11.0 (1.41s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.11.0
Building for debugging...
[0/6] Write sources
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/29] Emitting module ACPModel
[8/30] Emitting module Logging
<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/30] 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
[10/30] Compiling Logging LogHandler.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/30] Compiling Logging Locks.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/30] Compiling Logging LogEvent.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/30] Compiling Logging Logging.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/31] Compiling ACPModel ACPModel.swift
[16/31] Compiling ACPModel Capabilities.swift
[17/31] Compiling ACPModel Updates.swift
[18/31] Compiling ACPModel Permission.swift
[19/31] Compiling ACPModel Requests.swift
[20/31] Compiling ACPModel Errors.swift
[21/31] Compiling ACPModel Message.swift
[22/31] Compiling ACPModel Config.swift
[23/31] Compiling ACPModel Content.swift
[24/31] Compiling ACPModel Tool.swift
[25/31] Compiling ACPModel Terminal.swift
[26/31] Compiling ACPModel Responses.swift
[27/31] Compiling ACPModel Session.swift
[28/32] Compiling ACPRegistry RegistryClient.swift
[29/32] Emitting module ACPRegistry
[30/32] Compiling ACPRegistry AgentInstaller.swift
[31/32] Compiling ACPRegistry RegistryTypes.swift
[34/56] Emitting module ACP
/host/spi-builder-workspace/Sources/ACP/Utilities/Logger.swift:35: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
33 | extension Logger {
34 |     /// Default subsystem for ACP logging
35 |     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
36 |
37 |     /// 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)
[35/59] Compiling ACP ClientDelegate.swift
[36/59] Compiling ACP Config.swift
[37/59] Compiling ACP Content.swift
[38/59] Compiling ACP Tool.swift
[39/59] Compiling ACP StdioTransport.swift
[40/59] Compiling ACP Transport.swift
[41/59] Compiling ACP Updates.swift
/host/spi-builder-workspace/Sources/ACP/Utilities/Logger.swift:35: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
33 | extension Logger {
34 |     /// Default subsystem for ACP logging
35 |     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
36 |
37 |     /// Configure the logging subsystem (call once at initialization)
/host/spi-builder-workspace/Sources/ACP/Utilities/Logger.swift:29:17: warning: 'log(level:message:metadata:source:file:function:line:)' is deprecated: renamed to 'log(event:)'
27 |     private func log(level: Logging.Logger.Level, message: String) {
28 |         let handler = StreamLogHandler.standardError(label: label)
29 |         handler.log(level: level, message: .init(stringLiteral: message), metadata: nil, source: label, file: #fileID, function: #function, line: #line)
   |                 |- warning: 'log(level:message:metadata:source:file:function:line:)' is deprecated: renamed to 'log(event:)'
   |                 `- note: use 'log(event:)' instead
30 |     }
31 | }
/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)
[42/59] Compiling ACP Logger.swift
/host/spi-builder-workspace/Sources/ACP/Utilities/Logger.swift:35: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
33 | extension Logger {
34 |     /// Default subsystem for ACP logging
35 |     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
36 |
37 |     /// Configure the logging subsystem (call once at initialization)
/host/spi-builder-workspace/Sources/ACP/Utilities/Logger.swift:29:17: warning: 'log(level:message:metadata:source:file:function:line:)' is deprecated: renamed to 'log(event:)'
27 |     private func log(level: Logging.Logger.Level, message: String) {
28 |         let handler = StreamLogHandler.standardError(label: label)
29 |         handler.log(level: level, message: .init(stringLiteral: message), metadata: nil, source: label, file: #fileID, function: #function, line: #line)
   |                 |- warning: 'log(level:message:metadata:source:file:function:line:)' is deprecated: renamed to 'log(event:)'
   |                 `- note: use 'log(event:)' instead
30 |     }
31 | }
/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)
[43/59] Compiling ACP ShellEnvironment.swift
/host/spi-builder-workspace/Sources/ACP/Utilities/Logger.swift:35: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
33 | extension Logger {
34 |     /// Default subsystem for ACP logging
35 |     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
36 |
37 |     /// Configure the logging subsystem (call once at initialization)
/host/spi-builder-workspace/Sources/ACP/Utilities/Logger.swift:29:17: warning: 'log(level:message:metadata:source:file:function:line:)' is deprecated: renamed to 'log(event:)'
27 |     private func log(level: Logging.Logger.Level, message: String) {
28 |         let handler = StreamLogHandler.standardError(label: label)
29 |         handler.log(level: level, message: .init(stringLiteral: message), metadata: nil, source: label, file: #fileID, function: #function, line: #line)
   |                 |- warning: 'log(level:message:metadata:source:file:function:line:)' is deprecated: renamed to 'log(event:)'
   |                 `- note: use 'log(event:)' instead
30 |     }
31 | }
/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)
[44/59] Compiling ACP Permission.swift
[45/59] Compiling ACP Requests.swift
[46/59] Compiling ACP Responses.swift
[47/59] Compiling ACP Session.swift
[48/59] Compiling ACP Terminal.swift
[49/59] Compiling ACP TerminalDelegate.swift
[50/59] 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 {
[51/59] 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 {
[52/59] 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 {
[53/59] 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 {
[54/59] 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
[55/59] 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
[56/59] 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
[57/59] 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
[58/59] 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
[59/59] 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
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d37fe7b8fba27dae59fb1d9d7dfa86b38b41ffb3975924aad6f05cb4cc3de131
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/24] Compiling Logging MetadataProvider.swift
[3/24] Compiling Logging LogEvent.swift
[4/24] Emitting module Logging
[5/24] Compiling Logging Locks.swift
[6/24] Compiling ACPRegistry RegistryTypes.swift
[7/24] Compiling ACPRegistry AgentInstaller.swift
[8/24] Emitting module ACPRegistry
[9/24] Compiling ACPRegistry RegistryClient.swift
[11/25] Emitting module ACPModel
[12/26] Compiling Logging LogHandler.swift
[13/26] Compiling Logging Logging.swift
[15/27] Compiling ACPModel Permission.swift
[16/27] Compiling ACPModel Requests.swift
[17/27] Compiling ACPModel Tool.swift
[18/27] Compiling ACPModel Terminal.swift
[19/27] Compiling ACPModel Responses.swift
[20/27] Compiling ACPModel Session.swift
[21/27] Compiling ACPModel Errors.swift
[22/27] Compiling ACPModel Message.swift
[23/27] Compiling ACPModel Config.swift
[24/27] Compiling ACPModel Content.swift
[25/27] Compiling ACPModel ACPModel.swift
[26/27] Compiling ACPModel Capabilities.swift
[27/27] Compiling ACPModel Updates.swift
[29/51] Compiling ACP ClientDelegate.swift
[30/51] Compiling ACP Config.swift
[31/51] Compiling ACP Content.swift
[32/54] 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
[33/54] 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
[34/54] 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
[35/54] 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/54] 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/54] 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/54] Emitting module ACP
[39/54] Compiling ACP Tool.swift
[40/54] Compiling ACP StdioTransport.swift
[41/54] Compiling ACP Transport.swift
[42/54] Compiling ACP Permission.swift
[43/54] Compiling ACP Requests.swift
[44/54] Compiling ACP Responses.swift
[45/54] Compiling ACP Updates.swift
/host/spi-builder-workspace/Sources/ACP/Utilities/Logger.swift:29:17: warning: 'log(level:message:metadata:source:file:function:line:)' is deprecated: renamed to 'log(event:)'
27 |     private func log(level: Logging.Logger.Level, message: String) {
28 |         let handler = StreamLogHandler.standardError(label: label)
29 |         handler.log(level: level, message: .init(stringLiteral: message), metadata: nil, source: label, file: #fileID, function: #function, line: #line)
   |                 |- warning: 'log(level:message:metadata:source:file:function:line:)' is deprecated: renamed to 'log(event:)'
   |                 `- note: use 'log(event:)' instead
30 |     }
31 | }
[46/54] Compiling ACP Logger.swift
/host/spi-builder-workspace/Sources/ACP/Utilities/Logger.swift:29:17: warning: 'log(level:message:metadata:source:file:function:line:)' is deprecated: renamed to 'log(event:)'
27 |     private func log(level: Logging.Logger.Level, message: String) {
28 |         let handler = StreamLogHandler.standardError(label: label)
29 |         handler.log(level: level, message: .init(stringLiteral: message), metadata: nil, source: label, file: #fileID, function: #function, line: #line)
   |                 |- warning: 'log(level:message:metadata:source:file:function:line:)' is deprecated: renamed to 'log(event:)'
   |                 `- note: use 'log(event:)' instead
30 |     }
31 | }
[47/54] Compiling ACP ShellEnvironment.swift
/host/spi-builder-workspace/Sources/ACP/Utilities/Logger.swift:29:17: warning: 'log(level:message:metadata:source:file:function:line:)' is deprecated: renamed to 'log(event:)'
27 |     private func log(level: Logging.Logger.Level, message: String) {
28 |         let handler = StreamLogHandler.standardError(label: label)
29 |         handler.log(level: level, message: .init(stringLiteral: message), metadata: nil, source: label, file: #fileID, function: #function, line: #line)
   |                 |- warning: 'log(level:message:metadata:source:file:function:line:)' is deprecated: renamed to 'log(event:)'
   |                 `- note: use 'log(event:)' instead
30 |     }
31 | }
[48/54] Compiling ACP Session.swift
[49/54] Compiling ACP Terminal.swift
[50/54] Compiling ACP TerminalDelegate.swift
[51/54] Compiling ACP Agent.swift
[52/54] Compiling ACP StdinTransport.swift
[53/54] Compiling ACP Capabilities.swift
[54/54] Compiling ACP Client.swift
BUILD FAILURE 6.1 android