The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AgenticKit, reference main (630e15), with Swift 6.2 for Android on 11 Aug 2026 13:07:58 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886770-1":/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.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 729ceb5fcd9493dc13ee340bc4f0908bd201f85d
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/legoless/AgenticKit.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/legoless/AgenticKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 630e155 Point install docs at 0.1.0 and run CI on push/PR
Cloned https://github.com/legoless/AgenticKit.git
Revision (git rev-parse @):
630e155f0c3095d88edb1c22fbac16818a394834
SUCCESS checkout https://github.com/legoless/AgenticKit.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/legoless/AgenticKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-1":/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.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:573917aa137cc6f081a4f3d2a0330bac24553e9cd713cd758adf65046f5c6b90
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.2-latest
Building for debugging...
[0/3] Write sources
[0/3] Copying PrivacyInfo.xcprivacy
[2/3] Write swift-version--11D90AFD9DD3AB2.txt
[4/59] Compiling AgenticKit BashTools.swift
[5/59] Compiling AgenticKit BuiltinToolClassification.swift
[6/59] Compiling AgenticKit BuiltinToolLimits.swift
[7/59] Compiling AgenticKit BuiltinTools.swift
[8/59] Compiling AgenticKit FileSandbox.swift
[9/59] Compiling AgenticKit FileTools.swift
[10/59] Compiling AgenticKit InteractiveTools.swift
[11/59] Compiling AgenticKit RegexWatchdog.swift
[12/66] Compiling AgenticKit CostEstimation.swift
[13/66] Compiling AgenticKit Permissions.swift
[14/66] Compiling AgenticKit AnthropicModelProvider.swift
[15/66] Compiling AgenticKit AnthropicWire.swift
[16/66] Compiling AgenticKit ChatCompletionsModelProvider.swift
[17/66] Compiling AgenticKit ChatCompletionsWire.swift
[18/66] Compiling AgenticKit ModelProvider.swift
[19/66] Compiling AgenticKit OpenAIModelProvider.swift
[20/66] Compiling AgenticKit OpenAIWire.swift
[21/66] Compiling AgenticKit ProviderStreamSupport.swift
[22/66] Compiling AgenticKit SSE.swift
[23/66] Compiling AgenticKit WireEncoding.swift
[24/66] Compiling AgenticKit WireMessageCache.swift
[25/66] Compiling AgenticKit AgentEngine.swift
[26/66] Compiling AgenticKit AgentQueryBuilder.swift
[27/66] Compiling AgenticKit AgentSession.swift
[28/66] Compiling AgenticKit NetworkHostPolicy.swift
/host/spi-builder-workspace/Sources/AgenticKit/Core/NetworkHostPolicy.swift:92:21: error: cannot find 'addrinfo' in scope
 90 |     /// address through us). This is a brief blocking system call.
 91 |     static let systemResolver: HostResolver = { host in
 92 |         var hints = addrinfo()
    |                     `- error: cannot find 'addrinfo' in scope
 93 |         hints.ai_family = AF_UNSPEC
 94 |         #if canImport(Glibc) || canImport(Musl)
/host/spi-builder-workspace/Sources/AgenticKit/Core/NetworkHostPolicy.swift:93:27: error: cannot find 'AF_UNSPEC' in scope
 91 |     static let systemResolver: HostResolver = { host in
 92 |         var hints = addrinfo()
 93 |         hints.ai_family = AF_UNSPEC
    |                           `- error: cannot find 'AF_UNSPEC' in scope
 94 |         #if canImport(Glibc) || canImport(Musl)
 95 |         hints.ai_socktype = Int32(SOCK_STREAM.rawValue)
/host/spi-builder-workspace/Sources/AgenticKit/Core/NetworkHostPolicy.swift:97:29: error: cannot find 'SOCK_STREAM' in scope
 95 |         hints.ai_socktype = Int32(SOCK_STREAM.rawValue)
 96 |         #else
 97 |         hints.ai_socktype = SOCK_STREAM
    |                             `- error: cannot find 'SOCK_STREAM' in scope
 98 |         #endif
 99 |         var info: UnsafeMutablePointer<addrinfo>?
/host/spi-builder-workspace/Sources/AgenticKit/Core/NetworkHostPolicy.swift:100:15: error: cannot find 'getaddrinfo' in scope
 98 |         #endif
 99 |         var info: UnsafeMutablePointer<addrinfo>?
100 |         guard getaddrinfo(host, nil, &hints, &info) == 0 else { return [] }
    |               `- error: cannot find 'getaddrinfo' in scope
101 |         defer { freeaddrinfo(info) }
102 |
/host/spi-builder-workspace/Sources/AgenticKit/Core/NetworkHostPolicy.swift:108:59: error: cannot find 'NI_MAXHOST' in scope
106 |             defer { cursor = current.pointee.ai_next }
107 |             guard let sockaddr = current.pointee.ai_addr else { continue }
108 |             var buffer = [CChar](repeating: 0, count: Int(NI_MAXHOST))
    |                                                           `- error: cannot find 'NI_MAXHOST' in scope
109 |             let status = getnameinfo(
110 |                 sockaddr, current.pointee.ai_addrlen,
/host/spi-builder-workspace/Sources/AgenticKit/Core/NetworkHostPolicy.swift:109:26: error: cannot find 'getnameinfo' in scope
107 |             guard let sockaddr = current.pointee.ai_addr else { continue }
108 |             var buffer = [CChar](repeating: 0, count: Int(NI_MAXHOST))
109 |             let status = getnameinfo(
    |                          `- error: cannot find 'getnameinfo' in scope
110 |                 sockaddr, current.pointee.ai_addrlen,
111 |                 &buffer, socklen_t(buffer.count),
/host/spi-builder-workspace/Sources/AgenticKit/Core/NetworkHostPolicy.swift:112:25: error: cannot find 'NI_NUMERICHOST' in scope
110 |                 sockaddr, current.pointee.ai_addrlen,
111 |                 &buffer, socklen_t(buffer.count),
112 |                 nil, 0, NI_NUMERICHOST
    |                         `- error: cannot find 'NI_NUMERICHOST' in scope
113 |             )
114 |             if status == 0 {
[29/66] Compiling AgenticKit OutboundHTTPHeaders.swift
/host/spi-builder-workspace/Sources/AgenticKit/Core/NetworkHostPolicy.swift:92:21: error: cannot find 'addrinfo' in scope
 90 |     /// address through us). This is a brief blocking system call.
 91 |     static let systemResolver: HostResolver = { host in
 92 |         var hints = addrinfo()
    |                     `- error: cannot find 'addrinfo' in scope
 93 |         hints.ai_family = AF_UNSPEC
 94 |         #if canImport(Glibc) || canImport(Musl)
/host/spi-builder-workspace/Sources/AgenticKit/Core/NetworkHostPolicy.swift:93:27: error: cannot find 'AF_UNSPEC' in scope
 91 |     static let systemResolver: HostResolver = { host in
 92 |         var hints = addrinfo()
 93 |         hints.ai_family = AF_UNSPEC
    |                           `- error: cannot find 'AF_UNSPEC' in scope
 94 |         #if canImport(Glibc) || canImport(Musl)
 95 |         hints.ai_socktype = Int32(SOCK_STREAM.rawValue)
/host/spi-builder-workspace/Sources/AgenticKit/Core/NetworkHostPolicy.swift:97:29: error: cannot find 'SOCK_STREAM' in scope
 95 |         hints.ai_socktype = Int32(SOCK_STREAM.rawValue)
 96 |         #else
 97 |         hints.ai_socktype = SOCK_STREAM
    |                             `- error: cannot find 'SOCK_STREAM' in scope
 98 |         #endif
 99 |         var info: UnsafeMutablePointer<addrinfo>?
/host/spi-builder-workspace/Sources/AgenticKit/Core/NetworkHostPolicy.swift:100:15: error: cannot find 'getaddrinfo' in scope
 98 |         #endif
 99 |         var info: UnsafeMutablePointer<addrinfo>?
100 |         guard getaddrinfo(host, nil, &hints, &info) == 0 else { return [] }
    |               `- error: cannot find 'getaddrinfo' in scope
101 |         defer { freeaddrinfo(info) }
102 |
/host/spi-builder-workspace/Sources/AgenticKit/Core/NetworkHostPolicy.swift:108:59: error: cannot find 'NI_MAXHOST' in scope
106 |             defer { cursor = current.pointee.ai_next }
107 |             guard let sockaddr = current.pointee.ai_addr else { continue }
108 |             var buffer = [CChar](repeating: 0, count: Int(NI_MAXHOST))
    |                                                           `- error: cannot find 'NI_MAXHOST' in scope
109 |             let status = getnameinfo(
110 |                 sockaddr, current.pointee.ai_addrlen,
/host/spi-builder-workspace/Sources/AgenticKit/Core/NetworkHostPolicy.swift:109:26: error: cannot find 'getnameinfo' in scope
107 |             guard let sockaddr = current.pointee.ai_addr else { continue }
108 |             var buffer = [CChar](repeating: 0, count: Int(NI_MAXHOST))
109 |             let status = getnameinfo(
    |                          `- error: cannot find 'getnameinfo' in scope
110 |                 sockaddr, current.pointee.ai_addrlen,
111 |                 &buffer, socklen_t(buffer.count),
/host/spi-builder-workspace/Sources/AgenticKit/Core/NetworkHostPolicy.swift:112:25: error: cannot find 'NI_NUMERICHOST' in scope
110 |                 sockaddr, current.pointee.ai_addrlen,
111 |                 &buffer, socklen_t(buffer.count),
112 |                 nil, 0, NI_NUMERICHOST
    |                         `- error: cannot find 'NI_NUMERICHOST' in scope
113 |             )
114 |             if status == 0 {
[30/66] Compiling AgenticKit Hooks.swift
/host/spi-builder-workspace/Sources/AgenticKit/Core/NetworkHostPolicy.swift:92:21: error: cannot find 'addrinfo' in scope
 90 |     /// address through us). This is a brief blocking system call.
 91 |     static let systemResolver: HostResolver = { host in
 92 |         var hints = addrinfo()
    |                     `- error: cannot find 'addrinfo' in scope
 93 |         hints.ai_family = AF_UNSPEC
 94 |         #if canImport(Glibc) || canImport(Musl)
/host/spi-builder-workspace/Sources/AgenticKit/Core/NetworkHostPolicy.swift:93:27: error: cannot find 'AF_UNSPEC' in scope
 91 |     static let systemResolver: HostResolver = { host in
 92 |         var hints = addrinfo()
 93 |         hints.ai_family = AF_UNSPEC
    |                           `- error: cannot find 'AF_UNSPEC' in scope
 94 |         #if canImport(Glibc) || canImport(Musl)
 95 |         hints.ai_socktype = Int32(SOCK_STREAM.rawValue)
/host/spi-builder-workspace/Sources/AgenticKit/Core/NetworkHostPolicy.swift:97:29: error: cannot find 'SOCK_STREAM' in scope
 95 |         hints.ai_socktype = Int32(SOCK_STREAM.rawValue)
 96 |         #else
 97 |         hints.ai_socktype = SOCK_STREAM
    |                             `- error: cannot find 'SOCK_STREAM' in scope
 98 |         #endif
 99 |         var info: UnsafeMutablePointer<addrinfo>?
/host/spi-builder-workspace/Sources/AgenticKit/Core/NetworkHostPolicy.swift:100:15: error: cannot find 'getaddrinfo' in scope
 98 |         #endif
 99 |         var info: UnsafeMutablePointer<addrinfo>?
100 |         guard getaddrinfo(host, nil, &hints, &info) == 0 else { return [] }
    |               `- error: cannot find 'getaddrinfo' in scope
101 |         defer { freeaddrinfo(info) }
102 |
/host/spi-builder-workspace/Sources/AgenticKit/Core/NetworkHostPolicy.swift:108:59: error: cannot find 'NI_MAXHOST' in scope
106 |             defer { cursor = current.pointee.ai_next }
107 |             guard let sockaddr = current.pointee.ai_addr else { continue }
108 |             var buffer = [CChar](repeating: 0, count: Int(NI_MAXHOST))
    |                                                           `- error: cannot find 'NI_MAXHOST' in scope
109 |             let status = getnameinfo(
110 |                 sockaddr, current.pointee.ai_addrlen,
/host/spi-builder-workspace/Sources/AgenticKit/Core/NetworkHostPolicy.swift:109:26: error: cannot find 'getnameinfo' in scope
107 |             guard let sockaddr = current.pointee.ai_addr else { continue }
108 |             var buffer = [CChar](repeating: 0, count: Int(NI_MAXHOST))
109 |             let status = getnameinfo(
    |                          `- error: cannot find 'getnameinfo' in scope
110 |                 sockaddr, current.pointee.ai_addrlen,
111 |                 &buffer, socklen_t(buffer.count),
/host/spi-builder-workspace/Sources/AgenticKit/Core/NetworkHostPolicy.swift:112:25: error: cannot find 'NI_NUMERICHOST' in scope
110 |                 sockaddr, current.pointee.ai_addrlen,
111 |                 &buffer, socklen_t(buffer.count),
112 |                 nil, 0, NI_NUMERICHOST
    |                         `- error: cannot find 'NI_NUMERICHOST' in scope
113 |             )
114 |             if status == 0 {
[31/66] Compiling AgenticKit HTTPMCPServer.swift
/host/spi-builder-workspace/Sources/AgenticKit/Core/NetworkHostPolicy.swift:92:21: error: cannot find 'addrinfo' in scope
 90 |     /// address through us). This is a brief blocking system call.
 91 |     static let systemResolver: HostResolver = { host in
 92 |         var hints = addrinfo()
    |                     `- error: cannot find 'addrinfo' in scope
 93 |         hints.ai_family = AF_UNSPEC
 94 |         #if canImport(Glibc) || canImport(Musl)
/host/spi-builder-workspace/Sources/AgenticKit/Core/NetworkHostPolicy.swift:93:27: error: cannot find 'AF_UNSPEC' in scope
 91 |     static let systemResolver: HostResolver = { host in
 92 |         var hints = addrinfo()
 93 |         hints.ai_family = AF_UNSPEC
    |                           `- error: cannot find 'AF_UNSPEC' in scope
 94 |         #if canImport(Glibc) || canImport(Musl)
 95 |         hints.ai_socktype = Int32(SOCK_STREAM.rawValue)
/host/spi-builder-workspace/Sources/AgenticKit/Core/NetworkHostPolicy.swift:97:29: error: cannot find 'SOCK_STREAM' in scope
 95 |         hints.ai_socktype = Int32(SOCK_STREAM.rawValue)
 96 |         #else
 97 |         hints.ai_socktype = SOCK_STREAM
    |                             `- error: cannot find 'SOCK_STREAM' in scope
 98 |         #endif
 99 |         var info: UnsafeMutablePointer<addrinfo>?
/host/spi-builder-workspace/Sources/AgenticKit/Core/NetworkHostPolicy.swift:100:15: error: cannot find 'getaddrinfo' in scope
 98 |         #endif
 99 |         var info: UnsafeMutablePointer<addrinfo>?
100 |         guard getaddrinfo(host, nil, &hints, &info) == 0 else { return [] }
    |               `- error: cannot find 'getaddrinfo' in scope
101 |         defer { freeaddrinfo(info) }
102 |
/host/spi-builder-workspace/Sources/AgenticKit/Core/NetworkHostPolicy.swift:108:59: error: cannot find 'NI_MAXHOST' in scope
106 |             defer { cursor = current.pointee.ai_next }
107 |             guard let sockaddr = current.pointee.ai_addr else { continue }
108 |             var buffer = [CChar](repeating: 0, count: Int(NI_MAXHOST))
    |                                                           `- error: cannot find 'NI_MAXHOST' in scope
109 |             let status = getnameinfo(
110 |                 sockaddr, current.pointee.ai_addrlen,
/host/spi-builder-workspace/Sources/AgenticKit/Core/NetworkHostPolicy.swift:109:26: error: cannot find 'getnameinfo' in scope
107 |             guard let sockaddr = current.pointee.ai_addr else { continue }
108 |             var buffer = [CChar](repeating: 0, count: Int(NI_MAXHOST))
109 |             let status = getnameinfo(
    |                          `- error: cannot find 'getnameinfo' in scope
110 |                 sockaddr, current.pointee.ai_addrlen,
111 |                 &buffer, socklen_t(buffer.count),
/host/spi-builder-workspace/Sources/AgenticKit/Core/NetworkHostPolicy.swift:112:25: error: cannot find 'NI_NUMERICHOST' in scope
110 |                 sockaddr, current.pointee.ai_addrlen,
111 |                 &buffer, socklen_t(buffer.count),
112 |                 nil, 0, NI_NUMERICHOST
    |                         `- error: cannot find 'NI_NUMERICHOST' in scope
113 |             )
114 |             if status == 0 {
[32/66] Compiling AgenticKit MCPClientFeatures.swift
/host/spi-builder-workspace/Sources/AgenticKit/Core/NetworkHostPolicy.swift:92:21: error: cannot find 'addrinfo' in scope
 90 |     /// address through us). This is a brief blocking system call.
 91 |     static let systemResolver: HostResolver = { host in
 92 |         var hints = addrinfo()
    |                     `- error: cannot find 'addrinfo' in scope
 93 |         hints.ai_family = AF_UNSPEC
 94 |         #if canImport(Glibc) || canImport(Musl)
/host/spi-builder-workspace/Sources/AgenticKit/Core/NetworkHostPolicy.swift:93:27: error: cannot find 'AF_UNSPEC' in scope
 91 |     static let systemResolver: HostResolver = { host in
 92 |         var hints = addrinfo()
 93 |         hints.ai_family = AF_UNSPEC
    |                           `- error: cannot find 'AF_UNSPEC' in scope
 94 |         #if canImport(Glibc) || canImport(Musl)
 95 |         hints.ai_socktype = Int32(SOCK_STREAM.rawValue)
/host/spi-builder-workspace/Sources/AgenticKit/Core/NetworkHostPolicy.swift:97:29: error: cannot find 'SOCK_STREAM' in scope
 95 |         hints.ai_socktype = Int32(SOCK_STREAM.rawValue)
 96 |         #else
 97 |         hints.ai_socktype = SOCK_STREAM
    |                             `- error: cannot find 'SOCK_STREAM' in scope
 98 |         #endif
 99 |         var info: UnsafeMutablePointer<addrinfo>?
/host/spi-builder-workspace/Sources/AgenticKit/Core/NetworkHostPolicy.swift:100:15: error: cannot find 'getaddrinfo' in scope
 98 |         #endif
 99 |         var info: UnsafeMutablePointer<addrinfo>?
100 |         guard getaddrinfo(host, nil, &hints, &info) == 0 else { return [] }
    |               `- error: cannot find 'getaddrinfo' in scope
101 |         defer { freeaddrinfo(info) }
102 |
/host/spi-builder-workspace/Sources/AgenticKit/Core/NetworkHostPolicy.swift:108:59: error: cannot find 'NI_MAXHOST' in scope
106 |             defer { cursor = current.pointee.ai_next }
107 |             guard let sockaddr = current.pointee.ai_addr else { continue }
108 |             var buffer = [CChar](repeating: 0, count: Int(NI_MAXHOST))
    |                                                           `- error: cannot find 'NI_MAXHOST' in scope
109 |             let status = getnameinfo(
110 |                 sockaddr, current.pointee.ai_addrlen,
/host/spi-builder-workspace/Sources/AgenticKit/Core/NetworkHostPolicy.swift:109:26: error: cannot find 'getnameinfo' in scope
107 |             guard let sockaddr = current.pointee.ai_addr else { continue }
108 |             var buffer = [CChar](repeating: 0, count: Int(NI_MAXHOST))
109 |             let status = getnameinfo(
    |                          `- error: cannot find 'getnameinfo' in scope
110 |                 sockaddr, current.pointee.ai_addrlen,
111 |                 &buffer, socklen_t(buffer.count),
/host/spi-builder-workspace/Sources/AgenticKit/Core/NetworkHostPolicy.swift:112:25: error: cannot find 'NI_NUMERICHOST' in scope
110 |                 sockaddr, current.pointee.ai_addrlen,
111 |                 &buffer, socklen_t(buffer.count),
112 |                 nil, 0, NI_NUMERICHOST
    |                         `- error: cannot find 'NI_NUMERICHOST' in scope
113 |             )
114 |             if status == 0 {
[33/66] Compiling AgenticKit MCPDiscoveryTools.swift
/host/spi-builder-workspace/Sources/AgenticKit/Core/NetworkHostPolicy.swift:92:21: error: cannot find 'addrinfo' in scope
 90 |     /// address through us). This is a brief blocking system call.
 91 |     static let systemResolver: HostResolver = { host in
 92 |         var hints = addrinfo()
    |                     `- error: cannot find 'addrinfo' in scope
 93 |         hints.ai_family = AF_UNSPEC
 94 |         #if canImport(Glibc) || canImport(Musl)
/host/spi-builder-workspace/Sources/AgenticKit/Core/NetworkHostPolicy.swift:93:27: error: cannot find 'AF_UNSPEC' in scope
 91 |     static let systemResolver: HostResolver = { host in
 92 |         var hints = addrinfo()
 93 |         hints.ai_family = AF_UNSPEC
    |                           `- error: cannot find 'AF_UNSPEC' in scope
 94 |         #if canImport(Glibc) || canImport(Musl)
 95 |         hints.ai_socktype = Int32(SOCK_STREAM.rawValue)
/host/spi-builder-workspace/Sources/AgenticKit/Core/NetworkHostPolicy.swift:97:29: error: cannot find 'SOCK_STREAM' in scope
 95 |         hints.ai_socktype = Int32(SOCK_STREAM.rawValue)
 96 |         #else
 97 |         hints.ai_socktype = SOCK_STREAM
    |                             `- error: cannot find 'SOCK_STREAM' in scope
 98 |         #endif
 99 |         var info: UnsafeMutablePointer<addrinfo>?
/host/spi-builder-workspace/Sources/AgenticKit/Core/NetworkHostPolicy.swift:100:15: error: cannot find 'getaddrinfo' in scope
 98 |         #endif
 99 |         var info: UnsafeMutablePointer<addrinfo>?
100 |         guard getaddrinfo(host, nil, &hints, &info) == 0 else { return [] }
    |               `- error: cannot find 'getaddrinfo' in scope
101 |         defer { freeaddrinfo(info) }
102 |
/host/spi-builder-workspace/Sources/AgenticKit/Core/NetworkHostPolicy.swift:108:59: error: cannot find 'NI_MAXHOST' in scope
106 |             defer { cursor = current.pointee.ai_next }
107 |             guard let sockaddr = current.pointee.ai_addr else { continue }
108 |             var buffer = [CChar](repeating: 0, count: Int(NI_MAXHOST))
    |                                                           `- error: cannot find 'NI_MAXHOST' in scope
109 |             let status = getnameinfo(
110 |                 sockaddr, current.pointee.ai_addrlen,
/host/spi-builder-workspace/Sources/AgenticKit/Core/NetworkHostPolicy.swift:109:26: error: cannot find 'getnameinfo' in scope
107 |             guard let sockaddr = current.pointee.ai_addr else { continue }
108 |             var buffer = [CChar](repeating: 0, count: Int(NI_MAXHOST))
109 |             let status = getnameinfo(
    |                          `- error: cannot find 'getnameinfo' in scope
110 |                 sockaddr, current.pointee.ai_addrlen,
111 |                 &buffer, socklen_t(buffer.count),
/host/spi-builder-workspace/Sources/AgenticKit/Core/NetworkHostPolicy.swift:112:25: error: cannot find 'NI_NUMERICHOST' in scope
110 |                 sockaddr, current.pointee.ai_addrlen,
111 |                 &buffer, socklen_t(buffer.count),
112 |                 nil, 0, NI_NUMERICHOST
    |                         `- error: cannot find 'NI_NUMERICHOST' in scope
113 |             )
114 |             if status == 0 {
[34/66] Compiling AgenticKit MCPOAuth.swift
/host/spi-builder-workspace/Sources/AgenticKit/Core/NetworkHostPolicy.swift:92:21: error: cannot find 'addrinfo' in scope
 90 |     /// address through us). This is a brief blocking system call.
 91 |     static let systemResolver: HostResolver = { host in
 92 |         var hints = addrinfo()
    |                     `- error: cannot find 'addrinfo' in scope
 93 |         hints.ai_family = AF_UNSPEC
 94 |         #if canImport(Glibc) || canImport(Musl)
/host/spi-builder-workspace/Sources/AgenticKit/Core/NetworkHostPolicy.swift:93:27: error: cannot find 'AF_UNSPEC' in scope
 91 |     static let systemResolver: HostResolver = { host in
 92 |         var hints = addrinfo()
 93 |         hints.ai_family = AF_UNSPEC
    |                           `- error: cannot find 'AF_UNSPEC' in scope
 94 |         #if canImport(Glibc) || canImport(Musl)
 95 |         hints.ai_socktype = Int32(SOCK_STREAM.rawValue)
/host/spi-builder-workspace/Sources/AgenticKit/Core/NetworkHostPolicy.swift:97:29: error: cannot find 'SOCK_STREAM' in scope
 95 |         hints.ai_socktype = Int32(SOCK_STREAM.rawValue)
 96 |         #else
 97 |         hints.ai_socktype = SOCK_STREAM
    |                             `- error: cannot find 'SOCK_STREAM' in scope
 98 |         #endif
 99 |         var info: UnsafeMutablePointer<addrinfo>?
/host/spi-builder-workspace/Sources/AgenticKit/Core/NetworkHostPolicy.swift:100:15: error: cannot find 'getaddrinfo' in scope
 98 |         #endif
 99 |         var info: UnsafeMutablePointer<addrinfo>?
100 |         guard getaddrinfo(host, nil, &hints, &info) == 0 else { return [] }
    |               `- error: cannot find 'getaddrinfo' in scope
101 |         defer { freeaddrinfo(info) }
102 |
/host/spi-builder-workspace/Sources/AgenticKit/Core/NetworkHostPolicy.swift:108:59: error: cannot find 'NI_MAXHOST' in scope
106 |             defer { cursor = current.pointee.ai_next }
107 |             guard let sockaddr = current.pointee.ai_addr else { continue }
108 |             var buffer = [CChar](repeating: 0, count: Int(NI_MAXHOST))
    |                                                           `- error: cannot find 'NI_MAXHOST' in scope
109 |             let status = getnameinfo(
110 |                 sockaddr, current.pointee.ai_addrlen,
/host/spi-builder-workspace/Sources/AgenticKit/Core/NetworkHostPolicy.swift:109:26: error: cannot find 'getnameinfo' in scope
107 |             guard let sockaddr = current.pointee.ai_addr else { continue }
108 |             var buffer = [CChar](repeating: 0, count: Int(NI_MAXHOST))
109 |             let status = getnameinfo(
    |                          `- error: cannot find 'getnameinfo' in scope
110 |                 sockaddr, current.pointee.ai_addrlen,
111 |                 &buffer, socklen_t(buffer.count),
/host/spi-builder-workspace/Sources/AgenticKit/Core/NetworkHostPolicy.swift:112:25: error: cannot find 'NI_NUMERICHOST' in scope
110 |                 sockaddr, current.pointee.ai_addrlen,
111 |                 &buffer, socklen_t(buffer.count),
112 |                 nil, 0, NI_NUMERICHOST
    |                         `- error: cannot find 'NI_NUMERICHOST' in scope
113 |             )
114 |             if status == 0 {
[35/66] Compiling AgenticKit MCPOAuthClient.swift
/host/spi-builder-workspace/Sources/AgenticKit/Core/NetworkHostPolicy.swift:92:21: error: cannot find 'addrinfo' in scope
 90 |     /// address through us). This is a brief blocking system call.
 91 |     static let systemResolver: HostResolver = { host in
 92 |         var hints = addrinfo()
    |                     `- error: cannot find 'addrinfo' in scope
 93 |         hints.ai_family = AF_UNSPEC
 94 |         #if canImport(Glibc) || canImport(Musl)
/host/spi-builder-workspace/Sources/AgenticKit/Core/NetworkHostPolicy.swift:93:27: error: cannot find 'AF_UNSPEC' in scope
 91 |     static let systemResolver: HostResolver = { host in
 92 |         var hints = addrinfo()
 93 |         hints.ai_family = AF_UNSPEC
    |                           `- error: cannot find 'AF_UNSPEC' in scope
 94 |         #if canImport(Glibc) || canImport(Musl)
 95 |         hints.ai_socktype = Int32(SOCK_STREAM.rawValue)
/host/spi-builder-workspace/Sources/AgenticKit/Core/NetworkHostPolicy.swift:97:29: error: cannot find 'SOCK_STREAM' in scope
 95 |         hints.ai_socktype = Int32(SOCK_STREAM.rawValue)
 96 |         #else
 97 |         hints.ai_socktype = SOCK_STREAM
    |                             `- error: cannot find 'SOCK_STREAM' in scope
 98 |         #endif
 99 |         var info: UnsafeMutablePointer<addrinfo>?
/host/spi-builder-workspace/Sources/AgenticKit/Core/NetworkHostPolicy.swift:100:15: error: cannot find 'getaddrinfo' in scope
 98 |         #endif
 99 |         var info: UnsafeMutablePointer<addrinfo>?
100 |         guard getaddrinfo(host, nil, &hints, &info) == 0 else { return [] }
    |               `- error: cannot find 'getaddrinfo' in scope
101 |         defer { freeaddrinfo(info) }
102 |
/host/spi-builder-workspace/Sources/AgenticKit/Core/NetworkHostPolicy.swift:108:59: error: cannot find 'NI_MAXHOST' in scope
106 |             defer { cursor = current.pointee.ai_next }
107 |             guard let sockaddr = current.pointee.ai_addr else { continue }
108 |             var buffer = [CChar](repeating: 0, count: Int(NI_MAXHOST))
    |                                                           `- error: cannot find 'NI_MAXHOST' in scope
109 |             let status = getnameinfo(
110 |                 sockaddr, current.pointee.ai_addrlen,
/host/spi-builder-workspace/Sources/AgenticKit/Core/NetworkHostPolicy.swift:109:26: error: cannot find 'getnameinfo' in scope
107 |             guard let sockaddr = current.pointee.ai_addr else { continue }
108 |             var buffer = [CChar](repeating: 0, count: Int(NI_MAXHOST))
109 |             let status = getnameinfo(
    |                          `- error: cannot find 'getnameinfo' in scope
110 |                 sockaddr, current.pointee.ai_addrlen,
111 |                 &buffer, socklen_t(buffer.count),
/host/spi-builder-workspace/Sources/AgenticKit/Core/NetworkHostPolicy.swift:112:25: error: cannot find 'NI_NUMERICHOST' in scope
110 |                 sockaddr, current.pointee.ai_addrlen,
111 |                 &buffer, socklen_t(buffer.count),
112 |                 nil, 0, NI_NUMERICHOST
    |                         `- error: cannot find 'NI_NUMERICHOST' in scope
113 |             )
114 |             if status == 0 {
[36/66] Compiling AgenticKit Conversation.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[37/66] Compiling AgenticKit Query.swift
[38/66] Compiling AgenticKit ContextUsage.swift
[39/66] Compiling AgenticKit Session.swift
[40/66] Compiling AgenticKit SessionStore.swift
[41/66] Compiling AgenticKit Plugin.swift
[42/66] Compiling AgenticKit Skill.swift
[43/66] Compiling AgenticKit MCPServer.swift
[44/66] Compiling AgenticKit MCPServerProtocol.swift
[45/66] Compiling AgenticKit MCPTransportSecurity.swift
[46/66] Compiling AgenticKit RemoteMCPConfigDecoder.swift
[47/66] Compiling AgenticKit RemoteMCPServer.swift
[48/66] Compiling AgenticKit RemoteMCPServerConfig.swift
[49/66] Compiling AgenticKit AgentOptions.swift
[50/66] Compiling AgenticKit Compaction.swift
[51/66] Compiling AgenticKit SearchTools.swift
[52/66] Compiling AgenticKit WebTools.swift
[53/66] Compiling AgenticKit AgentError.swift
[54/66] Compiling AgenticKit ContentBlock.swift
[55/66] Compiling AgenticKit JSONValue.swift
[56/66] Compiling AgenticKit Message.swift
[57/66] Compiling AgenticKit ModelTypes.swift
[58/66] Compiling AgenticKit NetworkBodyLimits.swift
[59/66] Emitting module AgenticKit
/host/spi-builder-workspace/Sources/AgenticKit/Core/NetworkHostPolicy.swift:92:21: error: cannot find 'addrinfo' in scope
 90 |     /// address through us). This is a brief blocking system call.
 91 |     static let systemResolver: HostResolver = { host in
 92 |         var hints = addrinfo()
    |                     `- error: cannot find 'addrinfo' in scope
 93 |         hints.ai_family = AF_UNSPEC
 94 |         #if canImport(Glibc) || canImport(Musl)
/host/spi-builder-workspace/Sources/AgenticKit/Core/NetworkHostPolicy.swift:93:27: error: cannot find 'AF_UNSPEC' in scope
 91 |     static let systemResolver: HostResolver = { host in
 92 |         var hints = addrinfo()
 93 |         hints.ai_family = AF_UNSPEC
    |                           `- error: cannot find 'AF_UNSPEC' in scope
 94 |         #if canImport(Glibc) || canImport(Musl)
 95 |         hints.ai_socktype = Int32(SOCK_STREAM.rawValue)
/host/spi-builder-workspace/Sources/AgenticKit/Core/NetworkHostPolicy.swift:97:29: error: cannot find 'SOCK_STREAM' in scope
 95 |         hints.ai_socktype = Int32(SOCK_STREAM.rawValue)
 96 |         #else
 97 |         hints.ai_socktype = SOCK_STREAM
    |                             `- error: cannot find 'SOCK_STREAM' in scope
 98 |         #endif
 99 |         var info: UnsafeMutablePointer<addrinfo>?
/host/spi-builder-workspace/Sources/AgenticKit/Core/NetworkHostPolicy.swift:100:15: error: cannot find 'getaddrinfo' in scope
 98 |         #endif
 99 |         var info: UnsafeMutablePointer<addrinfo>?
100 |         guard getaddrinfo(host, nil, &hints, &info) == 0 else { return [] }
    |               `- error: cannot find 'getaddrinfo' in scope
101 |         defer { freeaddrinfo(info) }
102 |
/host/spi-builder-workspace/Sources/AgenticKit/Core/NetworkHostPolicy.swift:108:59: error: cannot find 'NI_MAXHOST' in scope
106 |             defer { cursor = current.pointee.ai_next }
107 |             guard let sockaddr = current.pointee.ai_addr else { continue }
108 |             var buffer = [CChar](repeating: 0, count: Int(NI_MAXHOST))
    |                                                           `- error: cannot find 'NI_MAXHOST' in scope
109 |             let status = getnameinfo(
110 |                 sockaddr, current.pointee.ai_addrlen,
/host/spi-builder-workspace/Sources/AgenticKit/Core/NetworkHostPolicy.swift:109:26: error: cannot find 'getnameinfo' in scope
107 |             guard let sockaddr = current.pointee.ai_addr else { continue }
108 |             var buffer = [CChar](repeating: 0, count: Int(NI_MAXHOST))
109 |             let status = getnameinfo(
    |                          `- error: cannot find 'getnameinfo' in scope
110 |                 sockaddr, current.pointee.ai_addrlen,
111 |                 &buffer, socklen_t(buffer.count),
/host/spi-builder-workspace/Sources/AgenticKit/Core/NetworkHostPolicy.swift:112:25: error: cannot find 'NI_NUMERICHOST' in scope
110 |                 sockaddr, current.pointee.ai_addrlen,
111 |                 &buffer, socklen_t(buffer.count),
112 |                 nil, 0, NI_NUMERICHOST
    |                         `- error: cannot find 'NI_NUMERICHOST' in scope
113 |             )
114 |             if status == 0 {
[60/66] Compiling AgenticKit SkillLoader.swift
[61/66] Compiling AgenticKit AgentDefinition.swift
[62/66] Compiling AgenticKit TaskTool.swift
[63/66] Compiling AgenticKit Tool.swift
[64/66] Compiling AgenticKit ToolRegistry.swift
[65/66] Compiling AgenticKit ToolSearchTool.swift
[66/66] Compiling AgenticKit resource_bundle_accessor.swift
BUILD FAILURE 6.2 android