Build Information
Failed to build AgenticKit, reference 0.1.0 (0984e1), with Swift 6.2 for Android on 11 Aug 2026 13:11:05 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886770-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 729ceb5fcd9493dc13ee340bc4f0908bd201f85d
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/legoless/AgenticKit.git
Reference: 0.1.0
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
* tag 0.1.0 -> FETCH_HEAD
HEAD is now at 0984e10 Add Effort.none and OpenAIModelProvider.extraHeaders (0.1.0)
Cloned https://github.com/legoless/AgenticKit.git
Revision (git rev-parse @):
0984e101e7f1cd3ed5f6b5dcc8c41cdb2c2cd5f1
SUCCESS checkout https://github.com/legoless/AgenticKit.git at 0.1.0
========================================
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-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.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
[1/3] Copying PrivacyInfo.xcprivacy
[2/3] Write swift-version--11D90AFD9DD3AB2.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/59] 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 {
[5/66] Compiling AgenticKit SkillLoader.swift
[6/66] Compiling AgenticKit AgentDefinition.swift
[7/66] Compiling AgenticKit TaskTool.swift
[8/66] Compiling AgenticKit Tool.swift
[9/66] Compiling AgenticKit ToolRegistry.swift
[10/66] Compiling AgenticKit ToolSearchTool.swift
[11/66] Compiling AgenticKit resource_bundle_accessor.swift
[12/66] Compiling AgenticKit OpenAIWire.swift
[13/66] Compiling AgenticKit ProviderStreamSupport.swift
[14/66] Compiling AgenticKit SSE.swift
[15/66] Compiling AgenticKit WireEncoding.swift
[16/66] Compiling AgenticKit WireMessageCache.swift
[17/66] Compiling AgenticKit AgentEngine.swift
[18/66] Compiling AgenticKit AgentQueryBuilder.swift
[19/66] Compiling AgenticKit AgentSession.swift
[20/66] Compiling AgenticKit BashTools.swift
[21/66] Compiling AgenticKit BuiltinToolClassification.swift
[22/66] Compiling AgenticKit BuiltinToolLimits.swift
[23/66] Compiling AgenticKit BuiltinTools.swift
[24/66] Compiling AgenticKit FileSandbox.swift
[25/66] Compiling AgenticKit FileTools.swift
[26/66] Compiling AgenticKit InteractiveTools.swift
[27/66] Compiling AgenticKit RegexWatchdog.swift
[28/66] Compiling AgenticKit SearchTools.swift
[29/66] Compiling AgenticKit WebTools.swift
[30/66] Compiling AgenticKit AgentError.swift
[31/66] Compiling AgenticKit ContentBlock.swift
[32/66] Compiling AgenticKit JSONValue.swift
[33/66] Compiling AgenticKit Message.swift
[34/66] Compiling AgenticKit ModelTypes.swift
[35/66] Compiling AgenticKit NetworkBodyLimits.swift
[36/66] Compiling AgenticKit Conversation.swift
[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 CostEstimation.swift
[44/66] Compiling AgenticKit Permissions.swift
[45/66] Compiling AgenticKit AnthropicModelProvider.swift
[46/66] Compiling AgenticKit AnthropicWire.swift
[47/66] Compiling AgenticKit ChatCompletionsModelProvider.swift
[48/66] Compiling AgenticKit ChatCompletionsWire.swift
[49/66] Compiling AgenticKit ModelProvider.swift
[50/66] Compiling AgenticKit OpenAIModelProvider.swift
[51/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 {
[52/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 {
[53/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 {
[54/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 {
[55/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 {
[56/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 {
[57/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 {
[58/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 {
[59/66] Compiling AgenticKit MCPServer.swift
[60/66] Compiling AgenticKit MCPServerProtocol.swift
[61/66] Compiling AgenticKit MCPTransportSecurity.swift
[62/66] Compiling AgenticKit RemoteMCPConfigDecoder.swift
[63/66] Compiling AgenticKit RemoteMCPServer.swift
[64/66] Compiling AgenticKit RemoteMCPServerConfig.swift
[65/66] Compiling AgenticKit AgentOptions.swift
[66/66] Compiling AgenticKit Compaction.swift
BUILD FAILURE 6.2 android