Build Information
Failed to build swift-tailscale-client, reference main (6602dd), with Swift 6.1 for Wasm on 28 Sep 2026 08:43:21 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344845-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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:90:23: error: cannot find 'socket' in scope
88 | sendFD = fd
89 | } else {
90 | let created = socket(candidate.ipv6 ? AF_INET6 : AF_INET, datagramSocketType, 0)
| `- error: cannot find 'socket' in scope
91 | guard created >= 0 else { continue }
92 | if candidate.ipv6 { socketV6 = created } else { socketV4 = created }
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:100:11: error: cannot find 'sendto' in scope
98 | let sent = request.withUnsafeBytes { payload in
99 | address.withUnsafeBytes { raw in
100 | sendto(
| `- error: cannot find 'sendto' in scope
101 | sendFD, payload.baseAddress, payload.count, 0,
102 | raw.baseAddress!.assumingMemoryBound(to: sockaddr.self),
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:175:17: error: cannot find 'addrinfo' in scope
173 |
174 | private static func resolveHostname(_ host: String, port: Int, ipv6: Bool) -> [UInt8]? {
175 | var hints = addrinfo()
| `- error: cannot find 'addrinfo' in scope
176 | hints.ai_family = ipv6 ? AF_INET6 : AF_INET
177 | hints.ai_socktype = datagramSocketType
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:178:36: error: cannot find type 'addrinfo' in scope
176 | hints.ai_family = ipv6 ? AF_INET6 : AF_INET
177 | hints.ai_socktype = datagramSocketType
178 | var list: UnsafeMutablePointer<addrinfo>?
| `- error: cannot find type 'addrinfo' in scope
179 | guard getaddrinfo(host, String(port), &hints, &list) == 0, let first = list else { return nil }
180 | defer { freeaddrinfo(list) }
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:179:11: error: cannot find 'getaddrinfo' in scope
177 | hints.ai_socktype = datagramSocketType
178 | var list: UnsafeMutablePointer<addrinfo>?
179 | guard getaddrinfo(host, String(port), &hints, &list) == 0, let first = list else { return nil }
| `- error: cannot find 'getaddrinfo' in scope
180 | defer { freeaddrinfo(list) }
181 |
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:180:13: error: cannot find 'freeaddrinfo' in scope
178 | var list: UnsafeMutablePointer<addrinfo>?
179 | guard getaddrinfo(host, String(port), &hints, &list) == 0, let first = list else { return nil }
180 | defer { freeaddrinfo(list) }
| `- error: cannot find 'freeaddrinfo' in scope
181 |
182 | var current: UnsafeMutablePointer<addrinfo>? = first
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:182:39: error: cannot find type 'addrinfo' in scope
180 | defer { freeaddrinfo(list) }
181 |
182 | var current: UnsafeMutablePointer<addrinfo>? = first
| `- error: cannot find type 'addrinfo' in scope
183 | while let node = current {
184 | if node.pointee.ai_family == hints.ai_family, let addr = node.pointee.ai_addr {
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:196:14: error: cannot find 'SOCK_DGRAM' in scope
194 | return Int32(SOCK_DGRAM.rawValue)
195 | #else
196 | return SOCK_DGRAM
| `- error: cannot find 'SOCK_DGRAM' in scope
197 | #endif
198 | }
[25/119] Compiling ArgumentParser CommandConfiguration.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:90:23: error: cannot find 'socket' in scope
88 | sendFD = fd
89 | } else {
90 | let created = socket(candidate.ipv6 ? AF_INET6 : AF_INET, datagramSocketType, 0)
| `- error: cannot find 'socket' in scope
91 | guard created >= 0 else { continue }
92 | if candidate.ipv6 { socketV6 = created } else { socketV4 = created }
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:100:11: error: cannot find 'sendto' in scope
98 | let sent = request.withUnsafeBytes { payload in
99 | address.withUnsafeBytes { raw in
100 | sendto(
| `- error: cannot find 'sendto' in scope
101 | sendFD, payload.baseAddress, payload.count, 0,
102 | raw.baseAddress!.assumingMemoryBound(to: sockaddr.self),
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:175:17: error: cannot find 'addrinfo' in scope
173 |
174 | private static func resolveHostname(_ host: String, port: Int, ipv6: Bool) -> [UInt8]? {
175 | var hints = addrinfo()
| `- error: cannot find 'addrinfo' in scope
176 | hints.ai_family = ipv6 ? AF_INET6 : AF_INET
177 | hints.ai_socktype = datagramSocketType
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:178:36: error: cannot find type 'addrinfo' in scope
176 | hints.ai_family = ipv6 ? AF_INET6 : AF_INET
177 | hints.ai_socktype = datagramSocketType
178 | var list: UnsafeMutablePointer<addrinfo>?
| `- error: cannot find type 'addrinfo' in scope
179 | guard getaddrinfo(host, String(port), &hints, &list) == 0, let first = list else { return nil }
180 | defer { freeaddrinfo(list) }
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:179:11: error: cannot find 'getaddrinfo' in scope
177 | hints.ai_socktype = datagramSocketType
178 | var list: UnsafeMutablePointer<addrinfo>?
179 | guard getaddrinfo(host, String(port), &hints, &list) == 0, let first = list else { return nil }
| `- error: cannot find 'getaddrinfo' in scope
180 | defer { freeaddrinfo(list) }
181 |
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:180:13: error: cannot find 'freeaddrinfo' in scope
178 | var list: UnsafeMutablePointer<addrinfo>?
179 | guard getaddrinfo(host, String(port), &hints, &list) == 0, let first = list else { return nil }
180 | defer { freeaddrinfo(list) }
| `- error: cannot find 'freeaddrinfo' in scope
181 |
182 | var current: UnsafeMutablePointer<addrinfo>? = first
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:182:39: error: cannot find type 'addrinfo' in scope
180 | defer { freeaddrinfo(list) }
181 |
182 | var current: UnsafeMutablePointer<addrinfo>? = first
| `- error: cannot find type 'addrinfo' in scope
183 | while let node = current {
184 | if node.pointee.ai_family == hints.ai_family, let addr = node.pointee.ai_addr {
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:196:14: error: cannot find 'SOCK_DGRAM' in scope
194 | return Int32(SOCK_DGRAM.rawValue)
195 | #else
196 | return SOCK_DGRAM
| `- error: cannot find 'SOCK_DGRAM' in scope
197 | #endif
198 | }
[26/119] Compiling ArgumentParser CommandGroup.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:90:23: error: cannot find 'socket' in scope
88 | sendFD = fd
89 | } else {
90 | let created = socket(candidate.ipv6 ? AF_INET6 : AF_INET, datagramSocketType, 0)
| `- error: cannot find 'socket' in scope
91 | guard created >= 0 else { continue }
92 | if candidate.ipv6 { socketV6 = created } else { socketV4 = created }
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:100:11: error: cannot find 'sendto' in scope
98 | let sent = request.withUnsafeBytes { payload in
99 | address.withUnsafeBytes { raw in
100 | sendto(
| `- error: cannot find 'sendto' in scope
101 | sendFD, payload.baseAddress, payload.count, 0,
102 | raw.baseAddress!.assumingMemoryBound(to: sockaddr.self),
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:175:17: error: cannot find 'addrinfo' in scope
173 |
174 | private static func resolveHostname(_ host: String, port: Int, ipv6: Bool) -> [UInt8]? {
175 | var hints = addrinfo()
| `- error: cannot find 'addrinfo' in scope
176 | hints.ai_family = ipv6 ? AF_INET6 : AF_INET
177 | hints.ai_socktype = datagramSocketType
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:178:36: error: cannot find type 'addrinfo' in scope
176 | hints.ai_family = ipv6 ? AF_INET6 : AF_INET
177 | hints.ai_socktype = datagramSocketType
178 | var list: UnsafeMutablePointer<addrinfo>?
| `- error: cannot find type 'addrinfo' in scope
179 | guard getaddrinfo(host, String(port), &hints, &list) == 0, let first = list else { return nil }
180 | defer { freeaddrinfo(list) }
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:179:11: error: cannot find 'getaddrinfo' in scope
177 | hints.ai_socktype = datagramSocketType
178 | var list: UnsafeMutablePointer<addrinfo>?
179 | guard getaddrinfo(host, String(port), &hints, &list) == 0, let first = list else { return nil }
| `- error: cannot find 'getaddrinfo' in scope
180 | defer { freeaddrinfo(list) }
181 |
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:180:13: error: cannot find 'freeaddrinfo' in scope
178 | var list: UnsafeMutablePointer<addrinfo>?
179 | guard getaddrinfo(host, String(port), &hints, &list) == 0, let first = list else { return nil }
180 | defer { freeaddrinfo(list) }
| `- error: cannot find 'freeaddrinfo' in scope
181 |
182 | var current: UnsafeMutablePointer<addrinfo>? = first
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:182:39: error: cannot find type 'addrinfo' in scope
180 | defer { freeaddrinfo(list) }
181 |
182 | var current: UnsafeMutablePointer<addrinfo>? = first
| `- error: cannot find type 'addrinfo' in scope
183 | while let node = current {
184 | if node.pointee.ai_family == hints.ai_family, let addr = node.pointee.ai_addr {
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:196:14: error: cannot find 'SOCK_DGRAM' in scope
194 | return Int32(SOCK_DGRAM.rawValue)
195 | #else
196 | return SOCK_DGRAM
| `- error: cannot find 'SOCK_DGRAM' in scope
197 | #endif
198 | }
[27/119] Compiling ArgumentParser EnumerableFlag.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:90:23: error: cannot find 'socket' in scope
88 | sendFD = fd
89 | } else {
90 | let created = socket(candidate.ipv6 ? AF_INET6 : AF_INET, datagramSocketType, 0)
| `- error: cannot find 'socket' in scope
91 | guard created >= 0 else { continue }
92 | if candidate.ipv6 { socketV6 = created } else { socketV4 = created }
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:100:11: error: cannot find 'sendto' in scope
98 | let sent = request.withUnsafeBytes { payload in
99 | address.withUnsafeBytes { raw in
100 | sendto(
| `- error: cannot find 'sendto' in scope
101 | sendFD, payload.baseAddress, payload.count, 0,
102 | raw.baseAddress!.assumingMemoryBound(to: sockaddr.self),
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:175:17: error: cannot find 'addrinfo' in scope
173 |
174 | private static func resolveHostname(_ host: String, port: Int, ipv6: Bool) -> [UInt8]? {
175 | var hints = addrinfo()
| `- error: cannot find 'addrinfo' in scope
176 | hints.ai_family = ipv6 ? AF_INET6 : AF_INET
177 | hints.ai_socktype = datagramSocketType
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:178:36: error: cannot find type 'addrinfo' in scope
176 | hints.ai_family = ipv6 ? AF_INET6 : AF_INET
177 | hints.ai_socktype = datagramSocketType
178 | var list: UnsafeMutablePointer<addrinfo>?
| `- error: cannot find type 'addrinfo' in scope
179 | guard getaddrinfo(host, String(port), &hints, &list) == 0, let first = list else { return nil }
180 | defer { freeaddrinfo(list) }
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:179:11: error: cannot find 'getaddrinfo' in scope
177 | hints.ai_socktype = datagramSocketType
178 | var list: UnsafeMutablePointer<addrinfo>?
179 | guard getaddrinfo(host, String(port), &hints, &list) == 0, let first = list else { return nil }
| `- error: cannot find 'getaddrinfo' in scope
180 | defer { freeaddrinfo(list) }
181 |
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:180:13: error: cannot find 'freeaddrinfo' in scope
178 | var list: UnsafeMutablePointer<addrinfo>?
179 | guard getaddrinfo(host, String(port), &hints, &list) == 0, let first = list else { return nil }
180 | defer { freeaddrinfo(list) }
| `- error: cannot find 'freeaddrinfo' in scope
181 |
182 | var current: UnsafeMutablePointer<addrinfo>? = first
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:182:39: error: cannot find type 'addrinfo' in scope
180 | defer { freeaddrinfo(list) }
181 |
182 | var current: UnsafeMutablePointer<addrinfo>? = first
| `- error: cannot find type 'addrinfo' in scope
183 | while let node = current {
184 | if node.pointee.ai_family == hints.ai_family, let addr = node.pointee.ai_addr {
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:196:14: error: cannot find 'SOCK_DGRAM' in scope
194 | return Int32(SOCK_DGRAM.rawValue)
195 | #else
196 | return SOCK_DGRAM
| `- error: cannot find 'SOCK_DGRAM' in scope
197 | #endif
198 | }
[28/119] Compiling ArgumentParser CollectionExtensions.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
[29/119] Compiling ArgumentParser Foundation.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
[30/119] Compiling ArgumentParser ParsableCommand.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
[31/119] Compiling ArgumentParser ArgumentDecoder.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
[32/119] Compiling ArgumentParser ArgumentDefinition.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
[33/119] Compiling ArgumentParser ArgumentSet.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
[34/119] Compiling ArgumentParser CommandParser.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
[35/119] Compiling ArgumentParser InputKey.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
[36/119] Compiling ArgumentParser InputOrigin.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
[37/119] Compiling ArgumentParser Name.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
[38/119] Compiling ArgumentParser Parsed.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
[39/119] Compiling ArgumentParser ParsedValues.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
[40/119] Compiling ArgumentParser ParserError.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/TailscaleClient/Models/ServeConfig.swift:78:10: warning: 'etag' is deprecated: Use ServeConfigSnapshot.etag instead
76 | self.allowFunnel = allowFunnel
77 | self.foreground = foreground
78 | self.etag = etag
| `- warning: 'etag' is deprecated: Use ServeConfigSnapshot.etag instead
79 | self._unmodeledFields = unmodeledFields
80 | }
/host/spi-builder-workspace/Sources/TailscaleClient/Models/ServeConfig.swift:116:5: warning: 'etag' is deprecated: Use ServeConfigSnapshot.etag instead
114 | foreground =
115 | try container.decodeIfPresent([String: ServeConfig].self, forKey: .foreground) ?? [:]
116 | etag = nil
| `- warning: 'etag' is deprecated: Use ServeConfigSnapshot.etag instead
117 |
118 | let dynamicContainer = try decoder.container(keyedBy: AnyCodingKey.self)
[41/119] Compiling ArgumentParser SplitArguments.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/TailscaleClient/Models/ServeConfig.swift:78:10: warning: 'etag' is deprecated: Use ServeConfigSnapshot.etag instead
76 | self.allowFunnel = allowFunnel
77 | self.foreground = foreground
78 | self.etag = etag
| `- warning: 'etag' is deprecated: Use ServeConfigSnapshot.etag instead
79 | self._unmodeledFields = unmodeledFields
80 | }
/host/spi-builder-workspace/Sources/TailscaleClient/Models/ServeConfig.swift:116:5: warning: 'etag' is deprecated: Use ServeConfigSnapshot.etag instead
114 | foreground =
115 | try container.decodeIfPresent([String: ServeConfig].self, forKey: .foreground) ?? [:]
116 | etag = nil
| `- warning: 'etag' is deprecated: Use ServeConfigSnapshot.etag instead
117 |
118 | let dynamicContainer = try decoder.container(keyedBy: AnyCodingKey.self)
[42/119] Compiling ArgumentParser DumpHelpGenerator.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/TailscaleClient/Models/ServeConfig.swift:78:10: warning: 'etag' is deprecated: Use ServeConfigSnapshot.etag instead
76 | self.allowFunnel = allowFunnel
77 | self.foreground = foreground
78 | self.etag = etag
| `- warning: 'etag' is deprecated: Use ServeConfigSnapshot.etag instead
79 | self._unmodeledFields = unmodeledFields
80 | }
/host/spi-builder-workspace/Sources/TailscaleClient/Models/ServeConfig.swift:116:5: warning: 'etag' is deprecated: Use ServeConfigSnapshot.etag instead
114 | foreground =
115 | try container.decodeIfPresent([String: ServeConfig].self, forKey: .foreground) ?? [:]
116 | etag = nil
| `- warning: 'etag' is deprecated: Use ServeConfigSnapshot.etag instead
117 |
118 | let dynamicContainer = try decoder.container(keyedBy: AnyCodingKey.self)
[43/119] Compiling ArgumentParser ArgumentVisibility.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/TailscaleClient/Models/ServeConfig.swift:78:10: warning: 'etag' is deprecated: Use ServeConfigSnapshot.etag instead
76 | self.allowFunnel = allowFunnel
77 | self.foreground = foreground
78 | self.etag = etag
| `- warning: 'etag' is deprecated: Use ServeConfigSnapshot.etag instead
79 | self._unmodeledFields = unmodeledFields
80 | }
/host/spi-builder-workspace/Sources/TailscaleClient/Models/ServeConfig.swift:116:5: warning: 'etag' is deprecated: Use ServeConfigSnapshot.etag instead
114 | foreground =
115 | try container.decodeIfPresent([String: ServeConfig].self, forKey: .foreground) ?? [:]
116 | etag = nil
| `- warning: 'etag' is deprecated: Use ServeConfigSnapshot.etag instead
117 |
118 | let dynamicContainer = try decoder.container(keyedBy: AnyCodingKey.self)
[44/119] Compiling ArgumentParser CompletionKind.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/TailscaleClient/Models/ServeConfig.swift:78:10: warning: 'etag' is deprecated: Use ServeConfigSnapshot.etag instead
76 | self.allowFunnel = allowFunnel
77 | self.foreground = foreground
78 | self.etag = etag
| `- warning: 'etag' is deprecated: Use ServeConfigSnapshot.etag instead
79 | self._unmodeledFields = unmodeledFields
80 | }
/host/spi-builder-workspace/Sources/TailscaleClient/Models/ServeConfig.swift:116:5: warning: 'etag' is deprecated: Use ServeConfigSnapshot.etag instead
114 | foreground =
115 | try container.decodeIfPresent([String: ServeConfig].self, forKey: .foreground) ?? [:]
116 | etag = nil
| `- warning: 'etag' is deprecated: Use ServeConfigSnapshot.etag instead
117 |
118 | let dynamicContainer = try decoder.container(keyedBy: AnyCodingKey.self)
[45/119] Compiling ArgumentParser Errors.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/TailscaleClient/Models/ServeConfig.swift:78:10: warning: 'etag' is deprecated: Use ServeConfigSnapshot.etag instead
76 | self.allowFunnel = allowFunnel
77 | self.foreground = foreground
78 | self.etag = etag
| `- warning: 'etag' is deprecated: Use ServeConfigSnapshot.etag instead
79 | self._unmodeledFields = unmodeledFields
80 | }
/host/spi-builder-workspace/Sources/TailscaleClient/Models/ServeConfig.swift:116:5: warning: 'etag' is deprecated: Use ServeConfigSnapshot.etag instead
114 | foreground =
115 | try container.decodeIfPresent([String: ServeConfig].self, forKey: .foreground) ?? [:]
116 | etag = nil
| `- warning: 'etag' is deprecated: Use ServeConfigSnapshot.etag instead
117 |
118 | let dynamicContainer = try decoder.container(keyedBy: AnyCodingKey.self)
[46/119] Compiling ArgumentParser Flag.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:222:38: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
220 | ///
221 | /// - Parameter session: The URLSession to use for HTTP requests (defaults to `.shared`).
222 | public init(session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
223 | self.session = session
224 | }
/host/spi-builder-workspace/Sources/TailscaleClient/TailscaleClient.swift:1464:37: error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
1462 | case 502: return "Bad Gateway"
1463 | case 503: return "Service Unavailable"
1464 | default: return HTTPURLResponse.localizedString(forStatusCode: code)
| `- error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
1465 | }
1466 | }
[47/119] Compiling ArgumentParser NameSpecification.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:222:38: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
220 | ///
221 | /// - Parameter session: The URLSession to use for HTTP requests (defaults to `.shared`).
222 | public init(session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
223 | self.session = session
224 | }
/host/spi-builder-workspace/Sources/TailscaleClient/TailscaleClient.swift:1464:37: error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
1462 | case 502: return "Bad Gateway"
1463 | case 503: return "Service Unavailable"
1464 | default: return HTTPURLResponse.localizedString(forStatusCode: code)
| `- error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
1465 | }
1466 | }
[48/119] Compiling ArgumentParser Option.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:222:38: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
220 | ///
221 | /// - Parameter session: The URLSession to use for HTTP requests (defaults to `.shared`).
222 | public init(session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
223 | self.session = session
224 | }
/host/spi-builder-workspace/Sources/TailscaleClient/TailscaleClient.swift:1464:37: error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
1462 | case 502: return "Bad Gateway"
1463 | case 503: return "Service Unavailable"
1464 | default: return HTTPURLResponse.localizedString(forStatusCode: code)
| `- error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
1465 | }
1466 | }
[49/119] Compiling ArgumentParser OptionGroup.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:222:38: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
220 | ///
221 | /// - Parameter session: The URLSession to use for HTTP requests (defaults to `.shared`).
222 | public init(session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
223 | self.session = session
224 | }
/host/spi-builder-workspace/Sources/TailscaleClient/TailscaleClient.swift:1464:37: error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
1462 | case 502: return "Bad Gateway"
1463 | case 503: return "Service Unavailable"
1464 | default: return HTTPURLResponse.localizedString(forStatusCode: code)
| `- error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
1465 | }
1466 | }
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:222:38: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
220 | ///
221 | /// - Parameter session: The URLSession to use for HTTP requests (defaults to `.shared`).
222 | public init(session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
223 | self.session = session
224 | }
/host/spi-builder-workspace/Sources/TailscaleClient/TailscaleClient.swift:1464:37: error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
1462 | case 502: return "Bad Gateway"
1463 | case 503: return "Service Unavailable"
1464 | default: return HTTPURLResponse.localizedString(forStatusCode: code)
| `- error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
1465 | }
1466 | }
[51/119] Compiling ArgumentParser ExpressibleByArgument.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:222:38: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
220 | ///
221 | /// - Parameter session: The URLSession to use for HTTP requests (defaults to `.shared`).
222 | public init(session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
223 | self.session = session
224 | }
[52/119] Compiling ArgumentParser ParsableArguments.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:222:38: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
220 | ///
221 | /// - Parameter session: The URLSession to use for HTTP requests (defaults to `.shared`).
222 | public init(session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
223 | self.session = session
224 | }
[53/119] Compiling ArgumentParser HelpCommand.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:222:38: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
220 | ///
221 | /// - Parameter session: The URLSession to use for HTTP requests (defaults to `.shared`).
222 | public init(session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
223 | self.session = session
224 | }
[54/119] Compiling ArgumentParser HelpGenerator.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:222:38: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
220 | ///
221 | /// - Parameter session: The URLSession to use for HTTP requests (defaults to `.shared`).
222 | public init(session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
223 | self.session = session
224 | }
[55/119] Compiling ArgumentParser MessageInfo.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:222:38: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
220 | ///
221 | /// - Parameter session: The URLSession to use for HTTP requests (defaults to `.shared`).
222 | public init(session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
223 | self.session = session
224 | }
[56/119] Compiling ArgumentParser UsageGenerator.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:222:38: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
220 | ///
221 | /// - Parameter session: The URLSession to use for HTTP requests (defaults to `.shared`).
222 | public init(session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
223 | self.session = session
224 | }
[57/119] Compiling ArgumentParser BashCompletionsGenerator.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
[58/119] Compiling ArgumentParser CompletionsGenerator.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
[59/119] Compiling ArgumentParser FishCompletionsGenerator.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
[60/119] Compiling ArgumentParser ZshCompletionsGenerator.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
[61/119] Compiling ArgumentParser Argument.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
[62/119] Compiling ArgumentParser ArgumentDiscussion.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
<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
<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
<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
<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
<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
<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
<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
<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
<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
<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
<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
<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
<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
[76/119] Emitting module ArgumentParser
<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
[77/119] Compiling ArgumentParser AsyncCompletionsValidator.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
[78/119] Compiling ArgumentParser CodingKeyValidator.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
[79/119] Compiling ArgumentParser NonsenseFlagsValidator.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
[80/119] Compiling ArgumentParser ParsableArgumentsValidation.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
[81/119] Compiling ArgumentParser PositionalArgumentsValidator.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
[82/119] Compiling ArgumentParser UniqueNamesValidator.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
<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
<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
<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
<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
<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
<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
<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
<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
<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
<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
<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
<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
<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
<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
<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
<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
<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
<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
<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
<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
<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
<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
<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
<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
<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
<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
<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
[110/120] Wrapping AST for ArgumentParser for debugging
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:217:24: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
215 | /// The transport automatically injects required headers including `Tailscale-Cap` and optional authentication.
216 | public struct URLSessionTailscaleTransport: TailscaleTransport {
217 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
218 |
219 | /// Creates a new transport with the specified URLSession.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:222:24: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
220 | ///
221 | /// - Parameter session: The URLSession to use for HTTP requests (defaults to `.shared`).
222 | public init(session: URLSession = .shared) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
223 | self.session = session
224 | }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:222:38: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
220 | ///
221 | /// - Parameter session: The URLSession to use for HTTP requests (defaults to `.shared`).
222 | public init(session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
223 | self.session = session
224 | }
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:338:15: error: cannot find type 'URLRequest' in scope
336 | private func buildURLRequest(
337 | for request: TailscaleRequest, configuration: TailscaleClientConfiguration
338 | ) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
339 | let url: URL
340 | switch configuration.endpoint {
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:217:15: error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionTailscaleTransport' has non-sendable type 'URLSession' (aka 'AnyObject')
215 | /// The transport automatically injects required headers including `Tailscale-Cap` and optional authentication.
216 | public struct URLSessionTailscaleTransport: TailscaleTransport {
217 | private let session: URLSession
| `- error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionTailscaleTransport' has non-sendable type 'URLSession' (aka 'AnyObject')
218 |
219 | /// Creates a new transport with the specified URLSession.
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:269:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
267 | for: enrich(request: request, configuration: configuration), configuration: configuration)
268 |
269 | let (bytes, response) = try await session.bytes(for: urlRequest)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
270 | guard let http = response as? HTTPURLResponse else {
271 | throw TailscaleTransportError.networkFailure(underlying: URLError(.badServerResponse))
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:320:48: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
318 | for: enrich(request: request, configuration: configuration), configuration: configuration)
319 | do {
320 | let (data, response) = try await session.data(for: urlRequest)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
321 | guard let http = response as? HTTPURLResponse else {
322 | throw TailscaleTransportError.networkFailure(underlying: URLError(.badServerResponse))
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:364:22: error: cannot find 'URLRequest' in scope
362 | }
363 |
364 | var urlRequest = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
365 | urlRequest.httpMethod = request.method
366 | urlRequest.httpBody = request.body
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:44:13: error: cannot find 'Darwin' in scope
42 | _ = Glibc.close(fdToClose)
43 | #else
44 | _ = Darwin.close(fdToClose)
| `- error: cannot find 'Darwin' in scope
45 | #endif
46 | }
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:274:17: error: cannot find 'socket' in scope
272 | try Task.checkCancellation()
273 |
274 | let rawFD = socket(AF_UNIX, socketStreamType, 0)
| `- error: cannot find 'socket' in scope
275 | guard rawFD >= 0 else {
276 | throw POSIXError(.init(rawValue: errno) ?? .EIO)
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:288:53: error: cannot find 'O_NONBLOCK' in scope
286 | // Configure non-blocking and close-on-exec flags.
287 | let flags = fcntl(rawFD, F_GETFL, 0)
288 | guard flags >= 0, fcntl(rawFD, F_SETFL, flags | O_NONBLOCK) >= 0 else {
| `- error: cannot find 'O_NONBLOCK' in scope
289 | managed.close()
290 | throw POSIXError(.init(rawValue: errno) ?? .EIO)
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:299:57: error: value of type 'sockaddr_un' has no member 'sun_path'
297 | var addr = sockaddr_un()
298 | addr.sun_family = sa_family_t(AF_UNIX)
299 | let maxPathLength = MemoryLayout.size(ofValue: addr.sun_path) / MemoryLayout<CChar>.stride
| `- error: value of type 'sockaddr_un' has no member 'sun_path'
300 | guard path.utf8.count < maxPathLength else {
301 | managed.close()
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:304:38: error: value of type 'sockaddr_un' has no member 'sun_path'
302 | throw POSIXError(.ENAMETOOLONG)
303 | }
304 | withUnsafeMutableBytes(of: &addr.sun_path) { buffer in
| `- error: value of type 'sockaddr_un' has no member 'sun_path'
305 | let base = buffer.baseAddress!.assumingMemoryBound(to: CChar.self)
306 | _ = strncpy(base, path, maxPathLength - 1)
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:309:74: error: value of type 'sockaddr_un' has no member 'sun_path'
307 | }
308 | let addrSize = socklen_t(
309 | MemoryLayout.size(ofValue: addr) - MemoryLayout.size(ofValue: addr.sun_path)
| `- error: value of type 'sockaddr_un' has no member 'sun_path'
310 | + path.utf8.count + 1)
311 |
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:314:9: error: cannot find 'connect' in scope
312 | let connectResult = withUnsafePointer(to: &addr) {
313 | $0.withMemoryRebound(to: sockaddr.self, capacity: 1) { ptr in
314 | connect(rawFD, ptr, addrSize)
| `- error: cannot find 'connect' in scope
315 | }
316 | }
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:359:50: error: cannot find 'SO_ERROR' in scope
357 | var errorValue: Int32 = 0
358 | var errorLength = socklen_t(MemoryLayout<Int32>.size)
359 | let status = getsockopt(rawFD, SOL_SOCKET, SO_ERROR, &errorValue, &errorLength)
| `- error: cannot find 'SO_ERROR' in scope
360 | guard status == 0 else {
361 | managed.close()
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:385:14: error: cannot find 'SOCK_STREAM' in scope
383 | return Int32(SOCK_STREAM.rawValue)
384 | #else
385 | return SOCK_STREAM
| `- error: cannot find 'SOCK_STREAM' in scope
386 | #endif
387 | }
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:407:25: error: cannot find 'Darwin' in scope
405 | let written = Glibc.send(rawFD, currentPointer, bytesRemaining, Int32(MSG_NOSIGNAL))
406 | #else
407 | let written = Darwin.write(rawFD, currentPointer, bytesRemaining)
| `- error: cannot find 'Darwin' in scope
408 | #endif
409 |
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:217:24: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
215 | /// The transport automatically injects required headers including `Tailscale-Cap` and optional authentication.
216 | public struct URLSessionTailscaleTransport: TailscaleTransport {
217 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
218 |
219 | /// Creates a new transport with the specified URLSession.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:222:24: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
220 | ///
221 | /// - Parameter session: The URLSession to use for HTTP requests (defaults to `.shared`).
222 | public init(session: URLSession = .shared) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
223 | self.session = session
224 | }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:222:38: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
220 | ///
221 | /// - Parameter session: The URLSession to use for HTTP requests (defaults to `.shared`).
222 | public init(session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
223 | self.session = session
224 | }
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:338:15: error: cannot find type 'URLRequest' in scope
336 | private func buildURLRequest(
337 | for request: TailscaleRequest, configuration: TailscaleClientConfiguration
338 | ) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
339 | let url: URL
340 | switch configuration.endpoint {
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:217:15: error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionTailscaleTransport' has non-sendable type 'URLSession' (aka 'AnyObject')
215 | /// The transport automatically injects required headers including `Tailscale-Cap` and optional authentication.
216 | public struct URLSessionTailscaleTransport: TailscaleTransport {
217 | private let session: URLSession
| `- error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionTailscaleTransport' has non-sendable type 'URLSession' (aka 'AnyObject')
218 |
219 | /// Creates a new transport with the specified URLSession.
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:269:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
267 | for: enrich(request: request, configuration: configuration), configuration: configuration)
268 |
269 | let (bytes, response) = try await session.bytes(for: urlRequest)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
270 | guard let http = response as? HTTPURLResponse else {
271 | throw TailscaleTransportError.networkFailure(underlying: URLError(.badServerResponse))
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:320:48: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
318 | for: enrich(request: request, configuration: configuration), configuration: configuration)
319 | do {
320 | let (data, response) = try await session.data(for: urlRequest)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
321 | guard let http = response as? HTTPURLResponse else {
322 | throw TailscaleTransportError.networkFailure(underlying: URLError(.badServerResponse))
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:364:22: error: cannot find 'URLRequest' in scope
362 | }
363 |
364 | var urlRequest = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
365 | urlRequest.httpMethod = request.method
366 | urlRequest.httpBody = request.body
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:44:13: error: cannot find 'Darwin' in scope
42 | _ = Glibc.close(fdToClose)
43 | #else
44 | _ = Darwin.close(fdToClose)
| `- error: cannot find 'Darwin' in scope
45 | #endif
46 | }
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:274:17: error: cannot find 'socket' in scope
272 | try Task.checkCancellation()
273 |
274 | let rawFD = socket(AF_UNIX, socketStreamType, 0)
| `- error: cannot find 'socket' in scope
275 | guard rawFD >= 0 else {
276 | throw POSIXError(.init(rawValue: errno) ?? .EIO)
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:288:53: error: cannot find 'O_NONBLOCK' in scope
286 | // Configure non-blocking and close-on-exec flags.
287 | let flags = fcntl(rawFD, F_GETFL, 0)
288 | guard flags >= 0, fcntl(rawFD, F_SETFL, flags | O_NONBLOCK) >= 0 else {
| `- error: cannot find 'O_NONBLOCK' in scope
289 | managed.close()
290 | throw POSIXError(.init(rawValue: errno) ?? .EIO)
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:299:57: error: value of type 'sockaddr_un' has no member 'sun_path'
297 | var addr = sockaddr_un()
298 | addr.sun_family = sa_family_t(AF_UNIX)
299 | let maxPathLength = MemoryLayout.size(ofValue: addr.sun_path) / MemoryLayout<CChar>.stride
| `- error: value of type 'sockaddr_un' has no member 'sun_path'
300 | guard path.utf8.count < maxPathLength else {
301 | managed.close()
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:304:38: error: value of type 'sockaddr_un' has no member 'sun_path'
302 | throw POSIXError(.ENAMETOOLONG)
303 | }
304 | withUnsafeMutableBytes(of: &addr.sun_path) { buffer in
| `- error: value of type 'sockaddr_un' has no member 'sun_path'
305 | let base = buffer.baseAddress!.assumingMemoryBound(to: CChar.self)
306 | _ = strncpy(base, path, maxPathLength - 1)
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:309:74: error: value of type 'sockaddr_un' has no member 'sun_path'
307 | }
308 | let addrSize = socklen_t(
309 | MemoryLayout.size(ofValue: addr) - MemoryLayout.size(ofValue: addr.sun_path)
| `- error: value of type 'sockaddr_un' has no member 'sun_path'
310 | + path.utf8.count + 1)
311 |
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:314:9: error: cannot find 'connect' in scope
312 | let connectResult = withUnsafePointer(to: &addr) {
313 | $0.withMemoryRebound(to: sockaddr.self, capacity: 1) { ptr in
314 | connect(rawFD, ptr, addrSize)
| `- error: cannot find 'connect' in scope
315 | }
316 | }
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:359:50: error: cannot find 'SO_ERROR' in scope
357 | var errorValue: Int32 = 0
358 | var errorLength = socklen_t(MemoryLayout<Int32>.size)
359 | let status = getsockopt(rawFD, SOL_SOCKET, SO_ERROR, &errorValue, &errorLength)
| `- error: cannot find 'SO_ERROR' in scope
360 | guard status == 0 else {
361 | managed.close()
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:385:14: error: cannot find 'SOCK_STREAM' in scope
383 | return Int32(SOCK_STREAM.rawValue)
384 | #else
385 | return SOCK_STREAM
| `- error: cannot find 'SOCK_STREAM' in scope
386 | #endif
387 | }
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:407:25: error: cannot find 'Darwin' in scope
405 | let written = Glibc.send(rawFD, currentPointer, bytesRemaining, Int32(MSG_NOSIGNAL))
406 | #else
407 | let written = Darwin.write(rawFD, currentPointer, bytesRemaining)
| `- error: cannot find 'Darwin' in scope
408 | #endif
409 |
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:217:24: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
215 | /// The transport automatically injects required headers including `Tailscale-Cap` and optional authentication.
216 | public struct URLSessionTailscaleTransport: TailscaleTransport {
217 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
218 |
219 | /// Creates a new transport with the specified URLSession.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:222:24: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
220 | ///
221 | /// - Parameter session: The URLSession to use for HTTP requests (defaults to `.shared`).
222 | public init(session: URLSession = .shared) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
223 | self.session = session
224 | }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:222:38: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
220 | ///
221 | /// - Parameter session: The URLSession to use for HTTP requests (defaults to `.shared`).
222 | public init(session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
223 | self.session = session
224 | }
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:338:15: error: cannot find type 'URLRequest' in scope
336 | private func buildURLRequest(
337 | for request: TailscaleRequest, configuration: TailscaleClientConfiguration
338 | ) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
339 | let url: URL
340 | switch configuration.endpoint {
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:217:15: error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionTailscaleTransport' has non-sendable type 'URLSession' (aka 'AnyObject')
215 | /// The transport automatically injects required headers including `Tailscale-Cap` and optional authentication.
216 | public struct URLSessionTailscaleTransport: TailscaleTransport {
217 | private let session: URLSession
| `- error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionTailscaleTransport' has non-sendable type 'URLSession' (aka 'AnyObject')
218 |
219 | /// Creates a new transport with the specified URLSession.
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:269:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
267 | for: enrich(request: request, configuration: configuration), configuration: configuration)
268 |
269 | let (bytes, response) = try await session.bytes(for: urlRequest)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
270 | guard let http = response as? HTTPURLResponse else {
271 | throw TailscaleTransportError.networkFailure(underlying: URLError(.badServerResponse))
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:320:48: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
318 | for: enrich(request: request, configuration: configuration), configuration: configuration)
319 | do {
320 | let (data, response) = try await session.data(for: urlRequest)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
321 | guard let http = response as? HTTPURLResponse else {
322 | throw TailscaleTransportError.networkFailure(underlying: URLError(.badServerResponse))
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:364:22: error: cannot find 'URLRequest' in scope
362 | }
363 |
364 | var urlRequest = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
365 | urlRequest.httpMethod = request.method
366 | urlRequest.httpBody = request.body
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:44:13: error: cannot find 'Darwin' in scope
42 | _ = Glibc.close(fdToClose)
43 | #else
44 | _ = Darwin.close(fdToClose)
| `- error: cannot find 'Darwin' in scope
45 | #endif
46 | }
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:274:17: error: cannot find 'socket' in scope
272 | try Task.checkCancellation()
273 |
274 | let rawFD = socket(AF_UNIX, socketStreamType, 0)
| `- error: cannot find 'socket' in scope
275 | guard rawFD >= 0 else {
276 | throw POSIXError(.init(rawValue: errno) ?? .EIO)
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:288:53: error: cannot find 'O_NONBLOCK' in scope
286 | // Configure non-blocking and close-on-exec flags.
287 | let flags = fcntl(rawFD, F_GETFL, 0)
288 | guard flags >= 0, fcntl(rawFD, F_SETFL, flags | O_NONBLOCK) >= 0 else {
| `- error: cannot find 'O_NONBLOCK' in scope
289 | managed.close()
290 | throw POSIXError(.init(rawValue: errno) ?? .EIO)
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:299:57: error: value of type 'sockaddr_un' has no member 'sun_path'
297 | var addr = sockaddr_un()
298 | addr.sun_family = sa_family_t(AF_UNIX)
299 | let maxPathLength = MemoryLayout.size(ofValue: addr.sun_path) / MemoryLayout<CChar>.stride
| `- error: value of type 'sockaddr_un' has no member 'sun_path'
300 | guard path.utf8.count < maxPathLength else {
301 | managed.close()
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:304:38: error: value of type 'sockaddr_un' has no member 'sun_path'
302 | throw POSIXError(.ENAMETOOLONG)
303 | }
304 | withUnsafeMutableBytes(of: &addr.sun_path) { buffer in
| `- error: value of type 'sockaddr_un' has no member 'sun_path'
305 | let base = buffer.baseAddress!.assumingMemoryBound(to: CChar.self)
306 | _ = strncpy(base, path, maxPathLength - 1)
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:309:74: error: value of type 'sockaddr_un' has no member 'sun_path'
307 | }
308 | let addrSize = socklen_t(
309 | MemoryLayout.size(ofValue: addr) - MemoryLayout.size(ofValue: addr.sun_path)
| `- error: value of type 'sockaddr_un' has no member 'sun_path'
310 | + path.utf8.count + 1)
311 |
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:314:9: error: cannot find 'connect' in scope
312 | let connectResult = withUnsafePointer(to: &addr) {
313 | $0.withMemoryRebound(to: sockaddr.self, capacity: 1) { ptr in
314 | connect(rawFD, ptr, addrSize)
| `- error: cannot find 'connect' in scope
315 | }
316 | }
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:359:50: error: cannot find 'SO_ERROR' in scope
357 | var errorValue: Int32 = 0
358 | var errorLength = socklen_t(MemoryLayout<Int32>.size)
359 | let status = getsockopt(rawFD, SOL_SOCKET, SO_ERROR, &errorValue, &errorLength)
| `- error: cannot find 'SO_ERROR' in scope
360 | guard status == 0 else {
361 | managed.close()
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:385:14: error: cannot find 'SOCK_STREAM' in scope
383 | return Int32(SOCK_STREAM.rawValue)
384 | #else
385 | return SOCK_STREAM
| `- error: cannot find 'SOCK_STREAM' in scope
386 | #endif
387 | }
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:407:25: error: cannot find 'Darwin' in scope
405 | let written = Glibc.send(rawFD, currentPointer, bytesRemaining, Int32(MSG_NOSIGNAL))
406 | #else
407 | let written = Darwin.write(rawFD, currentPointer, bytesRemaining)
| `- error: cannot find 'Darwin' in scope
408 | #endif
409 |
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:217:24: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
215 | /// The transport automatically injects required headers including `Tailscale-Cap` and optional authentication.
216 | public struct URLSessionTailscaleTransport: TailscaleTransport {
217 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
218 |
219 | /// Creates a new transport with the specified URLSession.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:222:24: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
220 | ///
221 | /// - Parameter session: The URLSession to use for HTTP requests (defaults to `.shared`).
222 | public init(session: URLSession = .shared) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
223 | self.session = session
224 | }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:222:38: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
220 | ///
221 | /// - Parameter session: The URLSession to use for HTTP requests (defaults to `.shared`).
222 | public init(session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
223 | self.session = session
224 | }
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:338:15: error: cannot find type 'URLRequest' in scope
336 | private func buildURLRequest(
337 | for request: TailscaleRequest, configuration: TailscaleClientConfiguration
338 | ) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
339 | let url: URL
340 | switch configuration.endpoint {
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:217:15: error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionTailscaleTransport' has non-sendable type 'URLSession' (aka 'AnyObject')
215 | /// The transport automatically injects required headers including `Tailscale-Cap` and optional authentication.
216 | public struct URLSessionTailscaleTransport: TailscaleTransport {
217 | private let session: URLSession
| `- error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionTailscaleTransport' has non-sendable type 'URLSession' (aka 'AnyObject')
218 |
219 | /// Creates a new transport with the specified URLSession.
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:269:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
267 | for: enrich(request: request, configuration: configuration), configuration: configuration)
268 |
269 | let (bytes, response) = try await session.bytes(for: urlRequest)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
270 | guard let http = response as? HTTPURLResponse else {
271 | throw TailscaleTransportError.networkFailure(underlying: URLError(.badServerResponse))
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:320:48: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
318 | for: enrich(request: request, configuration: configuration), configuration: configuration)
319 | do {
320 | let (data, response) = try await session.data(for: urlRequest)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
321 | guard let http = response as? HTTPURLResponse else {
322 | throw TailscaleTransportError.networkFailure(underlying: URLError(.badServerResponse))
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:364:22: error: cannot find 'URLRequest' in scope
362 | }
363 |
364 | var urlRequest = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
365 | urlRequest.httpMethod = request.method
366 | urlRequest.httpBody = request.body
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:44:13: error: cannot find 'Darwin' in scope
42 | _ = Glibc.close(fdToClose)
43 | #else
44 | _ = Darwin.close(fdToClose)
| `- error: cannot find 'Darwin' in scope
45 | #endif
46 | }
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:274:17: error: cannot find 'socket' in scope
272 | try Task.checkCancellation()
273 |
274 | let rawFD = socket(AF_UNIX, socketStreamType, 0)
| `- error: cannot find 'socket' in scope
275 | guard rawFD >= 0 else {
276 | throw POSIXError(.init(rawValue: errno) ?? .EIO)
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:288:53: error: cannot find 'O_NONBLOCK' in scope
286 | // Configure non-blocking and close-on-exec flags.
287 | let flags = fcntl(rawFD, F_GETFL, 0)
288 | guard flags >= 0, fcntl(rawFD, F_SETFL, flags | O_NONBLOCK) >= 0 else {
| `- error: cannot find 'O_NONBLOCK' in scope
289 | managed.close()
290 | throw POSIXError(.init(rawValue: errno) ?? .EIO)
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:299:57: error: value of type 'sockaddr_un' has no member 'sun_path'
297 | var addr = sockaddr_un()
298 | addr.sun_family = sa_family_t(AF_UNIX)
299 | let maxPathLength = MemoryLayout.size(ofValue: addr.sun_path) / MemoryLayout<CChar>.stride
| `- error: value of type 'sockaddr_un' has no member 'sun_path'
300 | guard path.utf8.count < maxPathLength else {
301 | managed.close()
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:304:38: error: value of type 'sockaddr_un' has no member 'sun_path'
302 | throw POSIXError(.ENAMETOOLONG)
303 | }
304 | withUnsafeMutableBytes(of: &addr.sun_path) { buffer in
| `- error: value of type 'sockaddr_un' has no member 'sun_path'
305 | let base = buffer.baseAddress!.assumingMemoryBound(to: CChar.self)
306 | _ = strncpy(base, path, maxPathLength - 1)
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:309:74: error: value of type 'sockaddr_un' has no member 'sun_path'
307 | }
308 | let addrSize = socklen_t(
309 | MemoryLayout.size(ofValue: addr) - MemoryLayout.size(ofValue: addr.sun_path)
| `- error: value of type 'sockaddr_un' has no member 'sun_path'
310 | + path.utf8.count + 1)
311 |
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:314:9: error: cannot find 'connect' in scope
312 | let connectResult = withUnsafePointer(to: &addr) {
313 | $0.withMemoryRebound(to: sockaddr.self, capacity: 1) { ptr in
314 | connect(rawFD, ptr, addrSize)
| `- error: cannot find 'connect' in scope
315 | }
316 | }
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:359:50: error: cannot find 'SO_ERROR' in scope
357 | var errorValue: Int32 = 0
358 | var errorLength = socklen_t(MemoryLayout<Int32>.size)
359 | let status = getsockopt(rawFD, SOL_SOCKET, SO_ERROR, &errorValue, &errorLength)
| `- error: cannot find 'SO_ERROR' in scope
360 | guard status == 0 else {
361 | managed.close()
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:385:14: error: cannot find 'SOCK_STREAM' in scope
383 | return Int32(SOCK_STREAM.rawValue)
384 | #else
385 | return SOCK_STREAM
| `- error: cannot find 'SOCK_STREAM' in scope
386 | #endif
387 | }
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:407:25: error: cannot find 'Darwin' in scope
405 | let written = Glibc.send(rawFD, currentPointer, bytesRemaining, Int32(MSG_NOSIGNAL))
406 | #else
407 | let written = Darwin.write(rawFD, currentPointer, bytesRemaining)
| `- error: cannot find 'Darwin' in scope
408 | #endif
409 |
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:217:24: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
215 | /// The transport automatically injects required headers including `Tailscale-Cap` and optional authentication.
216 | public struct URLSessionTailscaleTransport: TailscaleTransport {
217 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
218 |
219 | /// Creates a new transport with the specified URLSession.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:222:24: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
220 | ///
221 | /// - Parameter session: The URLSession to use for HTTP requests (defaults to `.shared`).
222 | public init(session: URLSession = .shared) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
223 | self.session = session
224 | }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:222:38: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
220 | ///
221 | /// - Parameter session: The URLSession to use for HTTP requests (defaults to `.shared`).
222 | public init(session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
223 | self.session = session
224 | }
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:338:15: error: cannot find type 'URLRequest' in scope
336 | private func buildURLRequest(
337 | for request: TailscaleRequest, configuration: TailscaleClientConfiguration
338 | ) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
339 | let url: URL
340 | switch configuration.endpoint {
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:217:15: error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionTailscaleTransport' has non-sendable type 'URLSession' (aka 'AnyObject')
215 | /// The transport automatically injects required headers including `Tailscale-Cap` and optional authentication.
216 | public struct URLSessionTailscaleTransport: TailscaleTransport {
217 | private let session: URLSession
| `- error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionTailscaleTransport' has non-sendable type 'URLSession' (aka 'AnyObject')
218 |
219 | /// Creates a new transport with the specified URLSession.
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:269:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
267 | for: enrich(request: request, configuration: configuration), configuration: configuration)
268 |
269 | let (bytes, response) = try await session.bytes(for: urlRequest)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
270 | guard let http = response as? HTTPURLResponse else {
271 | throw TailscaleTransportError.networkFailure(underlying: URLError(.badServerResponse))
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:320:48: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
318 | for: enrich(request: request, configuration: configuration), configuration: configuration)
319 | do {
320 | let (data, response) = try await session.data(for: urlRequest)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
321 | guard let http = response as? HTTPURLResponse else {
322 | throw TailscaleTransportError.networkFailure(underlying: URLError(.badServerResponse))
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:364:22: error: cannot find 'URLRequest' in scope
362 | }
363 |
364 | var urlRequest = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
365 | urlRequest.httpMethod = request.method
366 | urlRequest.httpBody = request.body
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:44:13: error: cannot find 'Darwin' in scope
42 | _ = Glibc.close(fdToClose)
43 | #else
44 | _ = Darwin.close(fdToClose)
| `- error: cannot find 'Darwin' in scope
45 | #endif
46 | }
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:274:17: error: cannot find 'socket' in scope
272 | try Task.checkCancellation()
273 |
274 | let rawFD = socket(AF_UNIX, socketStreamType, 0)
| `- error: cannot find 'socket' in scope
275 | guard rawFD >= 0 else {
276 | throw POSIXError(.init(rawValue: errno) ?? .EIO)
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:288:53: error: cannot find 'O_NONBLOCK' in scope
286 | // Configure non-blocking and close-on-exec flags.
287 | let flags = fcntl(rawFD, F_GETFL, 0)
288 | guard flags >= 0, fcntl(rawFD, F_SETFL, flags | O_NONBLOCK) >= 0 else {
| `- error: cannot find 'O_NONBLOCK' in scope
289 | managed.close()
290 | throw POSIXError(.init(rawValue: errno) ?? .EIO)
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:299:57: error: value of type 'sockaddr_un' has no member 'sun_path'
297 | var addr = sockaddr_un()
298 | addr.sun_family = sa_family_t(AF_UNIX)
299 | let maxPathLength = MemoryLayout.size(ofValue: addr.sun_path) / MemoryLayout<CChar>.stride
| `- error: value of type 'sockaddr_un' has no member 'sun_path'
300 | guard path.utf8.count < maxPathLength else {
301 | managed.close()
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:304:38: error: value of type 'sockaddr_un' has no member 'sun_path'
302 | throw POSIXError(.ENAMETOOLONG)
303 | }
304 | withUnsafeMutableBytes(of: &addr.sun_path) { buffer in
| `- error: value of type 'sockaddr_un' has no member 'sun_path'
305 | let base = buffer.baseAddress!.assumingMemoryBound(to: CChar.self)
306 | _ = strncpy(base, path, maxPathLength - 1)
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:309:74: error: value of type 'sockaddr_un' has no member 'sun_path'
307 | }
308 | let addrSize = socklen_t(
309 | MemoryLayout.size(ofValue: addr) - MemoryLayout.size(ofValue: addr.sun_path)
| `- error: value of type 'sockaddr_un' has no member 'sun_path'
310 | + path.utf8.count + 1)
311 |
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:314:9: error: cannot find 'connect' in scope
312 | let connectResult = withUnsafePointer(to: &addr) {
313 | $0.withMemoryRebound(to: sockaddr.self, capacity: 1) { ptr in
314 | connect(rawFD, ptr, addrSize)
| `- error: cannot find 'connect' in scope
315 | }
316 | }
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:359:50: error: cannot find 'SO_ERROR' in scope
357 | var errorValue: Int32 = 0
358 | var errorLength = socklen_t(MemoryLayout<Int32>.size)
359 | let status = getsockopt(rawFD, SOL_SOCKET, SO_ERROR, &errorValue, &errorLength)
| `- error: cannot find 'SO_ERROR' in scope
360 | guard status == 0 else {
361 | managed.close()
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:385:14: error: cannot find 'SOCK_STREAM' in scope
383 | return Int32(SOCK_STREAM.rawValue)
384 | #else
385 | return SOCK_STREAM
| `- error: cannot find 'SOCK_STREAM' in scope
386 | #endif
387 | }
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:407:25: error: cannot find 'Darwin' in scope
405 | let written = Glibc.send(rawFD, currentPointer, bytesRemaining, Int32(MSG_NOSIGNAL))
406 | #else
407 | let written = Darwin.write(rawFD, currentPointer, bytesRemaining)
| `- error: cannot find 'Darwin' in scope
408 | #endif
409 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:beceeede496da67681f4fa220a6b97cc098a0178841a413735f598dc6bbaf4c8
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
[3/3] Compiling plugin Swift-DocC Preview
[4/4] Compiling plugin Swift-DocC
Building for debugging...
[4/11] Write swift-version-24593BA9C3E375BF.txt
[6/55] Compiling TailscaleClient EndpointSource.swift
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:222:38: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
220 | ///
221 | /// - Parameter session: The URLSession to use for HTTP requests (defaults to `.shared`).
222 | public init(session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
223 | self.session = session
224 | }
[7/55] Compiling TailscaleClient LocalAPIDiscovery.swift
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:222:38: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
220 | ///
221 | /// - Parameter session: The URLSession to use for HTTP requests (defaults to `.shared`).
222 | public init(session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
223 | self.session = session
224 | }
[8/55] Compiling TailscaleClient LocalAPIDiscoveryError.swift
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:222:38: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
220 | ///
221 | /// - Parameter session: The URLSession to use for HTTP requests (defaults to `.shared`).
222 | public init(session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
223 | self.session = session
224 | }
[9/55] Compiling TailscaleClient TailscaleClientConfiguration.swift
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:222:38: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
220 | ///
221 | /// - Parameter session: The URLSession to use for HTTP requests (defaults to `.shared`).
222 | public init(session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
223 | self.session = session
224 | }
[10/55] Compiling TailscaleClient DaemonControlAPI.swift
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:222:38: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
220 | ///
221 | /// - Parameter session: The URLSession to use for HTTP requests (defaults to `.shared`).
222 | public init(session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
223 | self.session = session
224 | }
[11/55] Compiling TailscaleClient Experimental.swift
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:222:38: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
220 | ///
221 | /// - Parameter session: The URLSession to use for HTTP requests (defaults to `.shared`).
222 | public init(session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
223 | self.session = session
224 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/60] Emitting module TailscaleClient
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:222:38: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
220 | ///
221 | /// - Parameter session: The URLSession to use for HTTP requests (defaults to `.shared`).
222 | public init(session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
223 | self.session = session
224 | }
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:217:24: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
215 | /// The transport automatically injects required headers including `Tailscale-Cap` and optional authentication.
216 | public struct URLSessionTailscaleTransport: TailscaleTransport {
217 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
218 |
219 | /// Creates a new transport with the specified URLSession.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:222:24: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
220 | ///
221 | /// - Parameter session: The URLSession to use for HTTP requests (defaults to `.shared`).
222 | public init(session: URLSession = .shared) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
223 | self.session = session
224 | }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:338:15: error: cannot find type 'URLRequest' in scope
336 | private func buildURLRequest(
337 | for request: TailscaleRequest, configuration: TailscaleClientConfiguration
338 | ) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
339 | let url: URL
340 | switch configuration.endpoint {
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:217:15: error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionTailscaleTransport' has non-sendable type 'URLSession' (aka 'AnyObject')
215 | /// The transport automatically injects required headers including `Tailscale-Cap` and optional authentication.
216 | public struct URLSessionTailscaleTransport: TailscaleTransport {
217 | private let session: URLSession
| `- error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionTailscaleTransport' has non-sendable type 'URLSession' (aka 'AnyObject')
218 |
219 | /// Creates a new transport with the specified URLSession.
[13/60] Compiling TailscaleClient DiscoveryLog.swift
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:222:38: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
220 | ///
221 | /// - Parameter session: The URLSession to use for HTTP requests (defaults to `.shared`).
222 | public init(session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
223 | self.session = session
224 | }
/host/spi-builder-workspace/Sources/TailscaleClient/TailscaleClient.swift:1464:37: error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
1462 | case 502: return "Bad Gateway"
1463 | case 503: return "Service Unavailable"
1464 | default: return HTTPURLResponse.localizedString(forStatusCode: code)
| `- error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
1465 | }
1466 | }
[14/60] Compiling TailscaleClient IPNBusBoundedQueue.swift
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:222:38: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
220 | ///
221 | /// - Parameter session: The URLSession to use for HTTP requests (defaults to `.shared`).
222 | public init(session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
223 | self.session = session
224 | }
/host/spi-builder-workspace/Sources/TailscaleClient/TailscaleClient.swift:1464:37: error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
1462 | case 502: return "Bad Gateway"
1463 | case 503: return "Service Unavailable"
1464 | default: return HTTPURLResponse.localizedString(forStatusCode: code)
| `- error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
1465 | }
1466 | }
[15/60] Compiling TailscaleClient IPNBusStreamContext.swift
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:222:38: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
220 | ///
221 | /// - Parameter session: The URLSession to use for HTTP requests (defaults to `.shared`).
222 | public init(session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
223 | self.session = session
224 | }
/host/spi-builder-workspace/Sources/TailscaleClient/TailscaleClient.swift:1464:37: error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
1462 | case 502: return "Bad Gateway"
1463 | case 503: return "Service Unavailable"
1464 | default: return HTTPURLResponse.localizedString(forStatusCode: code)
| `- error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
1465 | }
1466 | }
[16/60] Compiling TailscaleClient TailscaleClient.swift
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:222:38: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
220 | ///
221 | /// - Parameter session: The URLSession to use for HTTP requests (defaults to `.shared`).
222 | public init(session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
223 | self.session = session
224 | }
/host/spi-builder-workspace/Sources/TailscaleClient/TailscaleClient.swift:1464:37: error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
1462 | case 502: return "Bad Gateway"
1463 | case 503: return "Service Unavailable"
1464 | default: return HTTPURLResponse.localizedString(forStatusCode: code)
| `- error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
1465 | }
1466 | }
[17/60] Compiling TailscaleClient ChunkedTransferDecoder.swift
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:222:38: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
220 | ///
221 | /// - Parameter session: The URLSession to use for HTTP requests (defaults to `.shared`).
222 | public init(session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
223 | self.session = session
224 | }
/host/spi-builder-workspace/Sources/TailscaleClient/TailscaleClient.swift:1464:37: error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
1462 | case 502: return "Bad Gateway"
1463 | case 503: return "Service Unavailable"
1464 | default: return HTTPURLResponse.localizedString(forStatusCode: code)
| `- error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
1465 | }
1466 | }
[18/60] Compiling TailscaleClient StreamBufferBounds.swift
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:90:23: error: cannot find 'socket' in scope
88 | sendFD = fd
89 | } else {
90 | let created = socket(candidate.ipv6 ? AF_INET6 : AF_INET, datagramSocketType, 0)
| `- error: cannot find 'socket' in scope
91 | guard created >= 0 else { continue }
92 | if candidate.ipv6 { socketV6 = created } else { socketV4 = created }
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:100:11: error: cannot find 'sendto' in scope
98 | let sent = request.withUnsafeBytes { payload in
99 | address.withUnsafeBytes { raw in
100 | sendto(
| `- error: cannot find 'sendto' in scope
101 | sendFD, payload.baseAddress, payload.count, 0,
102 | raw.baseAddress!.assumingMemoryBound(to: sockaddr.self),
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:175:17: error: cannot find 'addrinfo' in scope
173 |
174 | private static func resolveHostname(_ host: String, port: Int, ipv6: Bool) -> [UInt8]? {
175 | var hints = addrinfo()
| `- error: cannot find 'addrinfo' in scope
176 | hints.ai_family = ipv6 ? AF_INET6 : AF_INET
177 | hints.ai_socktype = datagramSocketType
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:178:36: error: cannot find type 'addrinfo' in scope
176 | hints.ai_family = ipv6 ? AF_INET6 : AF_INET
177 | hints.ai_socktype = datagramSocketType
178 | var list: UnsafeMutablePointer<addrinfo>?
| `- error: cannot find type 'addrinfo' in scope
179 | guard getaddrinfo(host, String(port), &hints, &list) == 0, let first = list else { return nil }
180 | defer { freeaddrinfo(list) }
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:179:11: error: cannot find 'getaddrinfo' in scope
177 | hints.ai_socktype = datagramSocketType
178 | var list: UnsafeMutablePointer<addrinfo>?
179 | guard getaddrinfo(host, String(port), &hints, &list) == 0, let first = list else { return nil }
| `- error: cannot find 'getaddrinfo' in scope
180 | defer { freeaddrinfo(list) }
181 |
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:180:13: error: cannot find 'freeaddrinfo' in scope
178 | var list: UnsafeMutablePointer<addrinfo>?
179 | guard getaddrinfo(host, String(port), &hints, &list) == 0, let first = list else { return nil }
180 | defer { freeaddrinfo(list) }
| `- error: cannot find 'freeaddrinfo' in scope
181 |
182 | var current: UnsafeMutablePointer<addrinfo>? = first
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:182:39: error: cannot find type 'addrinfo' in scope
180 | defer { freeaddrinfo(list) }
181 |
182 | var current: UnsafeMutablePointer<addrinfo>? = first
| `- error: cannot find type 'addrinfo' in scope
183 | while let node = current {
184 | if node.pointee.ai_family == hints.ai_family, let addr = node.pointee.ai_addr {
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:196:14: error: cannot find 'SOCK_DGRAM' in scope
194 | return Int32(SOCK_DGRAM.rawValue)
195 | #else
196 | return SOCK_DGRAM
| `- error: cannot find 'SOCK_DGRAM' in scope
197 | #endif
198 | }
[19/60] Compiling TailscaleClient StreamRetryPolicy.swift
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:90:23: error: cannot find 'socket' in scope
88 | sendFD = fd
89 | } else {
90 | let created = socket(candidate.ipv6 ? AF_INET6 : AF_INET, datagramSocketType, 0)
| `- error: cannot find 'socket' in scope
91 | guard created >= 0 else { continue }
92 | if candidate.ipv6 { socketV6 = created } else { socketV4 = created }
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:100:11: error: cannot find 'sendto' in scope
98 | let sent = request.withUnsafeBytes { payload in
99 | address.withUnsafeBytes { raw in
100 | sendto(
| `- error: cannot find 'sendto' in scope
101 | sendFD, payload.baseAddress, payload.count, 0,
102 | raw.baseAddress!.assumingMemoryBound(to: sockaddr.self),
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:175:17: error: cannot find 'addrinfo' in scope
173 |
174 | private static func resolveHostname(_ host: String, port: Int, ipv6: Bool) -> [UInt8]? {
175 | var hints = addrinfo()
| `- error: cannot find 'addrinfo' in scope
176 | hints.ai_family = ipv6 ? AF_INET6 : AF_INET
177 | hints.ai_socktype = datagramSocketType
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:178:36: error: cannot find type 'addrinfo' in scope
176 | hints.ai_family = ipv6 ? AF_INET6 : AF_INET
177 | hints.ai_socktype = datagramSocketType
178 | var list: UnsafeMutablePointer<addrinfo>?
| `- error: cannot find type 'addrinfo' in scope
179 | guard getaddrinfo(host, String(port), &hints, &list) == 0, let first = list else { return nil }
180 | defer { freeaddrinfo(list) }
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:179:11: error: cannot find 'getaddrinfo' in scope
177 | hints.ai_socktype = datagramSocketType
178 | var list: UnsafeMutablePointer<addrinfo>?
179 | guard getaddrinfo(host, String(port), &hints, &list) == 0, let first = list else { return nil }
| `- error: cannot find 'getaddrinfo' in scope
180 | defer { freeaddrinfo(list) }
181 |
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:180:13: error: cannot find 'freeaddrinfo' in scope
178 | var list: UnsafeMutablePointer<addrinfo>?
179 | guard getaddrinfo(host, String(port), &hints, &list) == 0, let first = list else { return nil }
180 | defer { freeaddrinfo(list) }
| `- error: cannot find 'freeaddrinfo' in scope
181 |
182 | var current: UnsafeMutablePointer<addrinfo>? = first
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:182:39: error: cannot find type 'addrinfo' in scope
180 | defer { freeaddrinfo(list) }
181 |
182 | var current: UnsafeMutablePointer<addrinfo>? = first
| `- error: cannot find type 'addrinfo' in scope
183 | while let node = current {
184 | if node.pointee.ai_family == hints.ai_family, let addr = node.pointee.ai_addr {
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:196:14: error: cannot find 'SOCK_DGRAM' in scope
194 | return Int32(SOCK_DGRAM.rawValue)
195 | #else
196 | return SOCK_DGRAM
| `- error: cannot find 'SOCK_DGRAM' in scope
197 | #endif
198 | }
[20/60] Compiling TailscaleClient WhoIsResponse.swift
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:90:23: error: cannot find 'socket' in scope
88 | sendFD = fd
89 | } else {
90 | let created = socket(candidate.ipv6 ? AF_INET6 : AF_INET, datagramSocketType, 0)
| `- error: cannot find 'socket' in scope
91 | guard created >= 0 else { continue }
92 | if candidate.ipv6 { socketV6 = created } else { socketV4 = created }
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:100:11: error: cannot find 'sendto' in scope
98 | let sent = request.withUnsafeBytes { payload in
99 | address.withUnsafeBytes { raw in
100 | sendto(
| `- error: cannot find 'sendto' in scope
101 | sendFD, payload.baseAddress, payload.count, 0,
102 | raw.baseAddress!.assumingMemoryBound(to: sockaddr.self),
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:175:17: error: cannot find 'addrinfo' in scope
173 |
174 | private static func resolveHostname(_ host: String, port: Int, ipv6: Bool) -> [UInt8]? {
175 | var hints = addrinfo()
| `- error: cannot find 'addrinfo' in scope
176 | hints.ai_family = ipv6 ? AF_INET6 : AF_INET
177 | hints.ai_socktype = datagramSocketType
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:178:36: error: cannot find type 'addrinfo' in scope
176 | hints.ai_family = ipv6 ? AF_INET6 : AF_INET
177 | hints.ai_socktype = datagramSocketType
178 | var list: UnsafeMutablePointer<addrinfo>?
| `- error: cannot find type 'addrinfo' in scope
179 | guard getaddrinfo(host, String(port), &hints, &list) == 0, let first = list else { return nil }
180 | defer { freeaddrinfo(list) }
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:179:11: error: cannot find 'getaddrinfo' in scope
177 | hints.ai_socktype = datagramSocketType
178 | var list: UnsafeMutablePointer<addrinfo>?
179 | guard getaddrinfo(host, String(port), &hints, &list) == 0, let first = list else { return nil }
| `- error: cannot find 'getaddrinfo' in scope
180 | defer { freeaddrinfo(list) }
181 |
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:180:13: error: cannot find 'freeaddrinfo' in scope
178 | var list: UnsafeMutablePointer<addrinfo>?
179 | guard getaddrinfo(host, String(port), &hints, &list) == 0, let first = list else { return nil }
180 | defer { freeaddrinfo(list) }
| `- error: cannot find 'freeaddrinfo' in scope
181 |
182 | var current: UnsafeMutablePointer<addrinfo>? = first
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:182:39: error: cannot find type 'addrinfo' in scope
180 | defer { freeaddrinfo(list) }
181 |
182 | var current: UnsafeMutablePointer<addrinfo>? = first
| `- error: cannot find type 'addrinfo' in scope
183 | while let node = current {
184 | if node.pointee.ai_family == hints.ai_family, let addr = node.pointee.ai_addr {
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:196:14: error: cannot find 'SOCK_DGRAM' in scope
194 | return Int32(SOCK_DGRAM.rawValue)
195 | #else
196 | return SOCK_DGRAM
| `- error: cannot find 'SOCK_DGRAM' in scope
197 | #endif
198 | }
[21/60] Compiling TailscaleClient Netcheck.swift
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:90:23: error: cannot find 'socket' in scope
88 | sendFD = fd
89 | } else {
90 | let created = socket(candidate.ipv6 ? AF_INET6 : AF_INET, datagramSocketType, 0)
| `- error: cannot find 'socket' in scope
91 | guard created >= 0 else { continue }
92 | if candidate.ipv6 { socketV6 = created } else { socketV4 = created }
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:100:11: error: cannot find 'sendto' in scope
98 | let sent = request.withUnsafeBytes { payload in
99 | address.withUnsafeBytes { raw in
100 | sendto(
| `- error: cannot find 'sendto' in scope
101 | sendFD, payload.baseAddress, payload.count, 0,
102 | raw.baseAddress!.assumingMemoryBound(to: sockaddr.self),
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:175:17: error: cannot find 'addrinfo' in scope
173 |
174 | private static func resolveHostname(_ host: String, port: Int, ipv6: Bool) -> [UInt8]? {
175 | var hints = addrinfo()
| `- error: cannot find 'addrinfo' in scope
176 | hints.ai_family = ipv6 ? AF_INET6 : AF_INET
177 | hints.ai_socktype = datagramSocketType
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:178:36: error: cannot find type 'addrinfo' in scope
176 | hints.ai_family = ipv6 ? AF_INET6 : AF_INET
177 | hints.ai_socktype = datagramSocketType
178 | var list: UnsafeMutablePointer<addrinfo>?
| `- error: cannot find type 'addrinfo' in scope
179 | guard getaddrinfo(host, String(port), &hints, &list) == 0, let first = list else { return nil }
180 | defer { freeaddrinfo(list) }
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:179:11: error: cannot find 'getaddrinfo' in scope
177 | hints.ai_socktype = datagramSocketType
178 | var list: UnsafeMutablePointer<addrinfo>?
179 | guard getaddrinfo(host, String(port), &hints, &list) == 0, let first = list else { return nil }
| `- error: cannot find 'getaddrinfo' in scope
180 | defer { freeaddrinfo(list) }
181 |
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:180:13: error: cannot find 'freeaddrinfo' in scope
178 | var list: UnsafeMutablePointer<addrinfo>?
179 | guard getaddrinfo(host, String(port), &hints, &list) == 0, let first = list else { return nil }
180 | defer { freeaddrinfo(list) }
| `- error: cannot find 'freeaddrinfo' in scope
181 |
182 | var current: UnsafeMutablePointer<addrinfo>? = first
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:182:39: error: cannot find type 'addrinfo' in scope
180 | defer { freeaddrinfo(list) }
181 |
182 | var current: UnsafeMutablePointer<addrinfo>? = first
| `- error: cannot find type 'addrinfo' in scope
183 | while let node = current {
184 | if node.pointee.ai_family == hints.ai_family, let addr = node.pointee.ai_addr {
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:196:14: error: cannot find 'SOCK_DGRAM' in scope
194 | return Int32(SOCK_DGRAM.rawValue)
195 | #else
196 | return SOCK_DGRAM
| `- error: cannot find 'SOCK_DGRAM' in scope
197 | #endif
198 | }
[22/60] Compiling TailscaleClient NetcheckProbe.swift
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:90:23: error: cannot find 'socket' in scope
88 | sendFD = fd
89 | } else {
90 | let created = socket(candidate.ipv6 ? AF_INET6 : AF_INET, datagramSocketType, 0)
| `- error: cannot find 'socket' in scope
91 | guard created >= 0 else { continue }
92 | if candidate.ipv6 { socketV6 = created } else { socketV4 = created }
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:100:11: error: cannot find 'sendto' in scope
98 | let sent = request.withUnsafeBytes { payload in
99 | address.withUnsafeBytes { raw in
100 | sendto(
| `- error: cannot find 'sendto' in scope
101 | sendFD, payload.baseAddress, payload.count, 0,
102 | raw.baseAddress!.assumingMemoryBound(to: sockaddr.self),
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:175:17: error: cannot find 'addrinfo' in scope
173 |
174 | private static func resolveHostname(_ host: String, port: Int, ipv6: Bool) -> [UInt8]? {
175 | var hints = addrinfo()
| `- error: cannot find 'addrinfo' in scope
176 | hints.ai_family = ipv6 ? AF_INET6 : AF_INET
177 | hints.ai_socktype = datagramSocketType
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:178:36: error: cannot find type 'addrinfo' in scope
176 | hints.ai_family = ipv6 ? AF_INET6 : AF_INET
177 | hints.ai_socktype = datagramSocketType
178 | var list: UnsafeMutablePointer<addrinfo>?
| `- error: cannot find type 'addrinfo' in scope
179 | guard getaddrinfo(host, String(port), &hints, &list) == 0, let first = list else { return nil }
180 | defer { freeaddrinfo(list) }
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:179:11: error: cannot find 'getaddrinfo' in scope
177 | hints.ai_socktype = datagramSocketType
178 | var list: UnsafeMutablePointer<addrinfo>?
179 | guard getaddrinfo(host, String(port), &hints, &list) == 0, let first = list else { return nil }
| `- error: cannot find 'getaddrinfo' in scope
180 | defer { freeaddrinfo(list) }
181 |
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:180:13: error: cannot find 'freeaddrinfo' in scope
178 | var list: UnsafeMutablePointer<addrinfo>?
179 | guard getaddrinfo(host, String(port), &hints, &list) == 0, let first = list else { return nil }
180 | defer { freeaddrinfo(list) }
| `- error: cannot find 'freeaddrinfo' in scope
181 |
182 | var current: UnsafeMutablePointer<addrinfo>? = first
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:182:39: error: cannot find type 'addrinfo' in scope
180 | defer { freeaddrinfo(list) }
181 |
182 | var current: UnsafeMutablePointer<addrinfo>? = first
| `- error: cannot find type 'addrinfo' in scope
183 | while let node = current {
184 | if node.pointee.ai_family == hints.ai_family, let addr = node.pointee.ai_addr {
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:196:14: error: cannot find 'SOCK_DGRAM' in scope
194 | return Int32(SOCK_DGRAM.rawValue)
195 | #else
196 | return SOCK_DGRAM
| `- error: cannot find 'SOCK_DGRAM' in scope
197 | #endif
198 | }
[23/60] Compiling TailscaleClient STUN.swift
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:90:23: error: cannot find 'socket' in scope
88 | sendFD = fd
89 | } else {
90 | let created = socket(candidate.ipv6 ? AF_INET6 : AF_INET, datagramSocketType, 0)
| `- error: cannot find 'socket' in scope
91 | guard created >= 0 else { continue }
92 | if candidate.ipv6 { socketV6 = created } else { socketV4 = created }
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:100:11: error: cannot find 'sendto' in scope
98 | let sent = request.withUnsafeBytes { payload in
99 | address.withUnsafeBytes { raw in
100 | sendto(
| `- error: cannot find 'sendto' in scope
101 | sendFD, payload.baseAddress, payload.count, 0,
102 | raw.baseAddress!.assumingMemoryBound(to: sockaddr.self),
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:175:17: error: cannot find 'addrinfo' in scope
173 |
174 | private static func resolveHostname(_ host: String, port: Int, ipv6: Bool) -> [UInt8]? {
175 | var hints = addrinfo()
| `- error: cannot find 'addrinfo' in scope
176 | hints.ai_family = ipv6 ? AF_INET6 : AF_INET
177 | hints.ai_socktype = datagramSocketType
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:178:36: error: cannot find type 'addrinfo' in scope
176 | hints.ai_family = ipv6 ? AF_INET6 : AF_INET
177 | hints.ai_socktype = datagramSocketType
178 | var list: UnsafeMutablePointer<addrinfo>?
| `- error: cannot find type 'addrinfo' in scope
179 | guard getaddrinfo(host, String(port), &hints, &list) == 0, let first = list else { return nil }
180 | defer { freeaddrinfo(list) }
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:179:11: error: cannot find 'getaddrinfo' in scope
177 | hints.ai_socktype = datagramSocketType
178 | var list: UnsafeMutablePointer<addrinfo>?
179 | guard getaddrinfo(host, String(port), &hints, &list) == 0, let first = list else { return nil }
| `- error: cannot find 'getaddrinfo' in scope
180 | defer { freeaddrinfo(list) }
181 |
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:180:13: error: cannot find 'freeaddrinfo' in scope
178 | var list: UnsafeMutablePointer<addrinfo>?
179 | guard getaddrinfo(host, String(port), &hints, &list) == 0, let first = list else { return nil }
180 | defer { freeaddrinfo(list) }
| `- error: cannot find 'freeaddrinfo' in scope
181 |
182 | var current: UnsafeMutablePointer<addrinfo>? = first
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:182:39: error: cannot find type 'addrinfo' in scope
180 | defer { freeaddrinfo(list) }
181 |
182 | var current: UnsafeMutablePointer<addrinfo>? = first
| `- error: cannot find type 'addrinfo' in scope
183 | while let node = current {
184 | if node.pointee.ai_family == hints.ai_family, let addr = node.pointee.ai_addr {
/host/spi-builder-workspace/Sources/TailscaleClient/Netcheck/NetcheckProbe.swift:196:14: error: cannot find 'SOCK_DGRAM' in scope
194 | return Int32(SOCK_DGRAM.rawValue)
195 | #else
196 | return SOCK_DGRAM
| `- error: cannot find 'SOCK_DGRAM' in scope
197 | #endif
198 | }
[24/60] Compiling TailscaleClient MacClientInfo.swift
[25/60] Compiling TailscaleClient NetworkInterfaceDiscovery.swift
[26/60] Compiling TailscaleClient ProfilesAPI.swift
[27/60] Compiling TailscaleClient ServeAPI.swift
[28/60] Compiling TailscaleClient StableParityAPI.swift
[29/60] Compiling TailscaleClient DecodingSupport.swift
[30/60] Emitting module ArgumentParserToolInfo
[31/60] Compiling ArgumentParserToolInfo ToolInfo.swift
[33/107] Emitting module ArgumentParser
[34/113] Compiling ArgumentParser ParentCommand.swift
[35/113] Compiling ArgumentParser AsyncParsableCommand.swift
[36/113] Compiling ArgumentParser CommandConfiguration.swift
[37/113] Compiling ArgumentParser CommandGroup.swift
[38/113] Compiling ArgumentParser EnumerableFlag.swift
[39/113] Compiling ArgumentParser ExpressibleByArgument.swift
[40/113] Compiling ArgumentParser ParsableArguments.swift
[41/113] Compiling ArgumentParser ArgumentSet.swift
/host/spi-builder-workspace/Sources/TailscaleClient/Models/ServeConfig.swift:78:10: warning: 'etag' is deprecated: Use ServeConfigSnapshot.etag instead
76 | self.allowFunnel = allowFunnel
77 | self.foreground = foreground
78 | self.etag = etag
| `- warning: 'etag' is deprecated: Use ServeConfigSnapshot.etag instead
79 | self._unmodeledFields = unmodeledFields
80 | }
/host/spi-builder-workspace/Sources/TailscaleClient/Models/ServeConfig.swift:116:5: warning: 'etag' is deprecated: Use ServeConfigSnapshot.etag instead
114 | foreground =
115 | try container.decodeIfPresent([String: ServeConfig].self, forKey: .foreground) ?? [:]
116 | etag = nil
| `- warning: 'etag' is deprecated: Use ServeConfigSnapshot.etag instead
117 |
118 | let dynamicContainer = try decoder.container(keyedBy: AnyCodingKey.self)
[42/113] Compiling ArgumentParser CommandParser.swift
/host/spi-builder-workspace/Sources/TailscaleClient/Models/ServeConfig.swift:78:10: warning: 'etag' is deprecated: Use ServeConfigSnapshot.etag instead
76 | self.allowFunnel = allowFunnel
77 | self.foreground = foreground
78 | self.etag = etag
| `- warning: 'etag' is deprecated: Use ServeConfigSnapshot.etag instead
79 | self._unmodeledFields = unmodeledFields
80 | }
/host/spi-builder-workspace/Sources/TailscaleClient/Models/ServeConfig.swift:116:5: warning: 'etag' is deprecated: Use ServeConfigSnapshot.etag instead
114 | foreground =
115 | try container.decodeIfPresent([String: ServeConfig].self, forKey: .foreground) ?? [:]
116 | etag = nil
| `- warning: 'etag' is deprecated: Use ServeConfigSnapshot.etag instead
117 |
118 | let dynamicContainer = try decoder.container(keyedBy: AnyCodingKey.self)
[43/113] Compiling ArgumentParser InputKey.swift
/host/spi-builder-workspace/Sources/TailscaleClient/Models/ServeConfig.swift:78:10: warning: 'etag' is deprecated: Use ServeConfigSnapshot.etag instead
76 | self.allowFunnel = allowFunnel
77 | self.foreground = foreground
78 | self.etag = etag
| `- warning: 'etag' is deprecated: Use ServeConfigSnapshot.etag instead
79 | self._unmodeledFields = unmodeledFields
80 | }
/host/spi-builder-workspace/Sources/TailscaleClient/Models/ServeConfig.swift:116:5: warning: 'etag' is deprecated: Use ServeConfigSnapshot.etag instead
114 | foreground =
115 | try container.decodeIfPresent([String: ServeConfig].self, forKey: .foreground) ?? [:]
116 | etag = nil
| `- warning: 'etag' is deprecated: Use ServeConfigSnapshot.etag instead
117 |
118 | let dynamicContainer = try decoder.container(keyedBy: AnyCodingKey.self)
[44/113] Compiling ArgumentParser InputOrigin.swift
/host/spi-builder-workspace/Sources/TailscaleClient/Models/ServeConfig.swift:78:10: warning: 'etag' is deprecated: Use ServeConfigSnapshot.etag instead
76 | self.allowFunnel = allowFunnel
77 | self.foreground = foreground
78 | self.etag = etag
| `- warning: 'etag' is deprecated: Use ServeConfigSnapshot.etag instead
79 | self._unmodeledFields = unmodeledFields
80 | }
/host/spi-builder-workspace/Sources/TailscaleClient/Models/ServeConfig.swift:116:5: warning: 'etag' is deprecated: Use ServeConfigSnapshot.etag instead
114 | foreground =
115 | try container.decodeIfPresent([String: ServeConfig].self, forKey: .foreground) ?? [:]
116 | etag = nil
| `- warning: 'etag' is deprecated: Use ServeConfigSnapshot.etag instead
117 |
118 | let dynamicContainer = try decoder.container(keyedBy: AnyCodingKey.self)
[45/113] Compiling ArgumentParser HelpCommand.swift
/host/spi-builder-workspace/Sources/TailscaleClient/Models/ServeConfig.swift:78:10: warning: 'etag' is deprecated: Use ServeConfigSnapshot.etag instead
76 | self.allowFunnel = allowFunnel
77 | self.foreground = foreground
78 | self.etag = etag
| `- warning: 'etag' is deprecated: Use ServeConfigSnapshot.etag instead
79 | self._unmodeledFields = unmodeledFields
80 | }
/host/spi-builder-workspace/Sources/TailscaleClient/Models/ServeConfig.swift:116:5: warning: 'etag' is deprecated: Use ServeConfigSnapshot.etag instead
114 | foreground =
115 | try container.decodeIfPresent([String: ServeConfig].self, forKey: .foreground) ?? [:]
116 | etag = nil
| `- warning: 'etag' is deprecated: Use ServeConfigSnapshot.etag instead
117 |
118 | let dynamicContainer = try decoder.container(keyedBy: AnyCodingKey.self)
[46/113] Compiling ArgumentParser HelpGenerator.swift
/host/spi-builder-workspace/Sources/TailscaleClient/Models/ServeConfig.swift:78:10: warning: 'etag' is deprecated: Use ServeConfigSnapshot.etag instead
76 | self.allowFunnel = allowFunnel
77 | self.foreground = foreground
78 | self.etag = etag
| `- warning: 'etag' is deprecated: Use ServeConfigSnapshot.etag instead
79 | self._unmodeledFields = unmodeledFields
80 | }
/host/spi-builder-workspace/Sources/TailscaleClient/Models/ServeConfig.swift:116:5: warning: 'etag' is deprecated: Use ServeConfigSnapshot.etag instead
114 | foreground =
115 | try container.decodeIfPresent([String: ServeConfig].self, forKey: .foreground) ?? [:]
116 | etag = nil
| `- warning: 'etag' is deprecated: Use ServeConfigSnapshot.etag instead
117 |
118 | let dynamicContainer = try decoder.container(keyedBy: AnyCodingKey.self)
[47/113] Compiling ArgumentParser MessageInfo.swift
[48/113] Compiling ArgumentParser UsageGenerator.swift
[49/113] Compiling ArgumentParser CollectionExtensions.swift
[50/113] Compiling ArgumentParser Foundation.swift
[53/113] Compiling ArgumentParser OptionGroup.swift
[54/113] Compiling ArgumentParser Name.swift
[55/113] Compiling ArgumentParser Parsed.swift
[56/113] Compiling ArgumentParser ParsedValues.swift
[57/113] Compiling ArgumentParser ParserError.swift
[58/113] Compiling ArgumentParser SplitArguments.swift
[64/113] Compiling ArgumentParser DumpHelpGenerator.swift
[65/113] Compiling ArgumentParser AsyncCompletionsValidator.swift
[66/113] Compiling ArgumentParser CodingKeyValidator.swift
[67/113] Compiling ArgumentParser NonsenseFlagsValidator.swift
[68/113] Compiling ArgumentParser ParsableArgumentsValidation.swift
[69/113] Compiling ArgumentParser PositionalArgumentsValidator.swift
[70/113] Compiling ArgumentParser UniqueNamesValidator.swift
[77/113] Compiling ArgumentParser ArgumentVisibility.swift
[78/113] Compiling ArgumentParser CompletionKind.swift
[79/113] Compiling ArgumentParser Errors.swift
[80/113] Compiling ArgumentParser Flag.swift
[81/113] Compiling ArgumentParser NameSpecification.swift
[82/113] Compiling ArgumentParser Option.swift
[84/113] Compiling ArgumentParser BashCompletionsGenerator.swift
[85/113] Compiling ArgumentParser CompletionsGenerator.swift
[86/113] Compiling ArgumentParser FishCompletionsGenerator.swift
[87/113] Compiling ArgumentParser ZshCompletionsGenerator.swift
[88/113] Compiling ArgumentParser Argument.swift
[89/113] Compiling ArgumentParser ArgumentDiscussion.swift
[90/113] Compiling ArgumentParser ArgumentHelp.swift
[91/113] Compiling ArgumentParser ParsableCommand.swift
[92/113] Compiling ArgumentParser ArgumentDecoder.swift
[93/113] Compiling ArgumentParser ArgumentDefinition.swift
[98/113] Compiling ArgumentParser Mutex.swift
[99/113] Compiling ArgumentParser Platform.swift
[100/113] Compiling ArgumentParser SequenceExtensions.swift
[101/113] Compiling ArgumentParser StringExtensions.swift
[102/113] Compiling ArgumentParser SwiftExtensions.swift
[103/113] Compiling ArgumentParser Tree.swift
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:217:24: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
215 | /// The transport automatically injects required headers including `Tailscale-Cap` and optional authentication.
216 | public struct URLSessionTailscaleTransport: TailscaleTransport {
217 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
218 |
219 | /// Creates a new transport with the specified URLSession.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:222:24: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
220 | ///
221 | /// - Parameter session: The URLSession to use for HTTP requests (defaults to `.shared`).
222 | public init(session: URLSession = .shared) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
223 | self.session = session
224 | }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:222:38: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
220 | ///
221 | /// - Parameter session: The URLSession to use for HTTP requests (defaults to `.shared`).
222 | public init(session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
223 | self.session = session
224 | }
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:338:15: error: cannot find type 'URLRequest' in scope
336 | private func buildURLRequest(
337 | for request: TailscaleRequest, configuration: TailscaleClientConfiguration
338 | ) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
339 | let url: URL
340 | switch configuration.endpoint {
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:217:15: error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionTailscaleTransport' has non-sendable type 'URLSession' (aka 'AnyObject')
215 | /// The transport automatically injects required headers including `Tailscale-Cap` and optional authentication.
216 | public struct URLSessionTailscaleTransport: TailscaleTransport {
217 | private let session: URLSession
| `- error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionTailscaleTransport' has non-sendable type 'URLSession' (aka 'AnyObject')
218 |
219 | /// Creates a new transport with the specified URLSession.
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:269:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
267 | for: enrich(request: request, configuration: configuration), configuration: configuration)
268 |
269 | let (bytes, response) = try await session.bytes(for: urlRequest)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
270 | guard let http = response as? HTTPURLResponse else {
271 | throw TailscaleTransportError.networkFailure(underlying: URLError(.badServerResponse))
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:320:48: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
318 | for: enrich(request: request, configuration: configuration), configuration: configuration)
319 | do {
320 | let (data, response) = try await session.data(for: urlRequest)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
321 | guard let http = response as? HTTPURLResponse else {
322 | throw TailscaleTransportError.networkFailure(underlying: URLError(.badServerResponse))
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:364:22: error: cannot find 'URLRequest' in scope
362 | }
363 |
364 | var urlRequest = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
365 | urlRequest.httpMethod = request.method
366 | urlRequest.httpBody = request.body
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:44:13: error: cannot find 'Darwin' in scope
42 | _ = Glibc.close(fdToClose)
43 | #else
44 | _ = Darwin.close(fdToClose)
| `- error: cannot find 'Darwin' in scope
45 | #endif
46 | }
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:274:17: error: cannot find 'socket' in scope
272 | try Task.checkCancellation()
273 |
274 | let rawFD = socket(AF_UNIX, socketStreamType, 0)
| `- error: cannot find 'socket' in scope
275 | guard rawFD >= 0 else {
276 | throw POSIXError(.init(rawValue: errno) ?? .EIO)
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:288:53: error: cannot find 'O_NONBLOCK' in scope
286 | // Configure non-blocking and close-on-exec flags.
287 | let flags = fcntl(rawFD, F_GETFL, 0)
288 | guard flags >= 0, fcntl(rawFD, F_SETFL, flags | O_NONBLOCK) >= 0 else {
| `- error: cannot find 'O_NONBLOCK' in scope
289 | managed.close()
290 | throw POSIXError(.init(rawValue: errno) ?? .EIO)
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:299:57: error: value of type 'sockaddr_un' has no member 'sun_path'
297 | var addr = sockaddr_un()
298 | addr.sun_family = sa_family_t(AF_UNIX)
299 | let maxPathLength = MemoryLayout.size(ofValue: addr.sun_path) / MemoryLayout<CChar>.stride
| `- error: value of type 'sockaddr_un' has no member 'sun_path'
300 | guard path.utf8.count < maxPathLength else {
301 | managed.close()
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:304:38: error: value of type 'sockaddr_un' has no member 'sun_path'
302 | throw POSIXError(.ENAMETOOLONG)
303 | }
304 | withUnsafeMutableBytes(of: &addr.sun_path) { buffer in
| `- error: value of type 'sockaddr_un' has no member 'sun_path'
305 | let base = buffer.baseAddress!.assumingMemoryBound(to: CChar.self)
306 | _ = strncpy(base, path, maxPathLength - 1)
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:309:74: error: value of type 'sockaddr_un' has no member 'sun_path'
307 | }
308 | let addrSize = socklen_t(
309 | MemoryLayout.size(ofValue: addr) - MemoryLayout.size(ofValue: addr.sun_path)
| `- error: value of type 'sockaddr_un' has no member 'sun_path'
310 | + path.utf8.count + 1)
311 |
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:314:9: error: cannot find 'connect' in scope
312 | let connectResult = withUnsafePointer(to: &addr) {
313 | $0.withMemoryRebound(to: sockaddr.self, capacity: 1) { ptr in
314 | connect(rawFD, ptr, addrSize)
| `- error: cannot find 'connect' in scope
315 | }
316 | }
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:359:50: error: cannot find 'SO_ERROR' in scope
357 | var errorValue: Int32 = 0
358 | var errorLength = socklen_t(MemoryLayout<Int32>.size)
359 | let status = getsockopt(rawFD, SOL_SOCKET, SO_ERROR, &errorValue, &errorLength)
| `- error: cannot find 'SO_ERROR' in scope
360 | guard status == 0 else {
361 | managed.close()
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:385:14: error: cannot find 'SOCK_STREAM' in scope
383 | return Int32(SOCK_STREAM.rawValue)
384 | #else
385 | return SOCK_STREAM
| `- error: cannot find 'SOCK_STREAM' in scope
386 | #endif
387 | }
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:407:25: error: cannot find 'Darwin' in scope
405 | let written = Glibc.send(rawFD, currentPointer, bytesRemaining, Int32(MSG_NOSIGNAL))
406 | #else
407 | let written = Darwin.write(rawFD, currentPointer, bytesRemaining)
| `- error: cannot find 'Darwin' in scope
408 | #endif
409 |
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:217:24: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
215 | /// The transport automatically injects required headers including `Tailscale-Cap` and optional authentication.
216 | public struct URLSessionTailscaleTransport: TailscaleTransport {
217 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
218 |
219 | /// Creates a new transport with the specified URLSession.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:222:24: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
220 | ///
221 | /// - Parameter session: The URLSession to use for HTTP requests (defaults to `.shared`).
222 | public init(session: URLSession = .shared) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
223 | self.session = session
224 | }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:222:38: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
220 | ///
221 | /// - Parameter session: The URLSession to use for HTTP requests (defaults to `.shared`).
222 | public init(session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
223 | self.session = session
224 | }
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:338:15: error: cannot find type 'URLRequest' in scope
336 | private func buildURLRequest(
337 | for request: TailscaleRequest, configuration: TailscaleClientConfiguration
338 | ) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
339 | let url: URL
340 | switch configuration.endpoint {
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:217:15: error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionTailscaleTransport' has non-sendable type 'URLSession' (aka 'AnyObject')
215 | /// The transport automatically injects required headers including `Tailscale-Cap` and optional authentication.
216 | public struct URLSessionTailscaleTransport: TailscaleTransport {
217 | private let session: URLSession
| `- error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionTailscaleTransport' has non-sendable type 'URLSession' (aka 'AnyObject')
218 |
219 | /// Creates a new transport with the specified URLSession.
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:269:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
267 | for: enrich(request: request, configuration: configuration), configuration: configuration)
268 |
269 | let (bytes, response) = try await session.bytes(for: urlRequest)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
270 | guard let http = response as? HTTPURLResponse else {
271 | throw TailscaleTransportError.networkFailure(underlying: URLError(.badServerResponse))
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:320:48: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
318 | for: enrich(request: request, configuration: configuration), configuration: configuration)
319 | do {
320 | let (data, response) = try await session.data(for: urlRequest)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
321 | guard let http = response as? HTTPURLResponse else {
322 | throw TailscaleTransportError.networkFailure(underlying: URLError(.badServerResponse))
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:364:22: error: cannot find 'URLRequest' in scope
362 | }
363 |
364 | var urlRequest = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
365 | urlRequest.httpMethod = request.method
366 | urlRequest.httpBody = request.body
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:44:13: error: cannot find 'Darwin' in scope
42 | _ = Glibc.close(fdToClose)
43 | #else
44 | _ = Darwin.close(fdToClose)
| `- error: cannot find 'Darwin' in scope
45 | #endif
46 | }
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:274:17: error: cannot find 'socket' in scope
272 | try Task.checkCancellation()
273 |
274 | let rawFD = socket(AF_UNIX, socketStreamType, 0)
| `- error: cannot find 'socket' in scope
275 | guard rawFD >= 0 else {
276 | throw POSIXError(.init(rawValue: errno) ?? .EIO)
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:288:53: error: cannot find 'O_NONBLOCK' in scope
286 | // Configure non-blocking and close-on-exec flags.
287 | let flags = fcntl(rawFD, F_GETFL, 0)
288 | guard flags >= 0, fcntl(rawFD, F_SETFL, flags | O_NONBLOCK) >= 0 else {
| `- error: cannot find 'O_NONBLOCK' in scope
289 | managed.close()
290 | throw POSIXError(.init(rawValue: errno) ?? .EIO)
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:299:57: error: value of type 'sockaddr_un' has no member 'sun_path'
297 | var addr = sockaddr_un()
298 | addr.sun_family = sa_family_t(AF_UNIX)
299 | let maxPathLength = MemoryLayout.size(ofValue: addr.sun_path) / MemoryLayout<CChar>.stride
| `- error: value of type 'sockaddr_un' has no member 'sun_path'
300 | guard path.utf8.count < maxPathLength else {
301 | managed.close()
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:304:38: error: value of type 'sockaddr_un' has no member 'sun_path'
302 | throw POSIXError(.ENAMETOOLONG)
303 | }
304 | withUnsafeMutableBytes(of: &addr.sun_path) { buffer in
| `- error: value of type 'sockaddr_un' has no member 'sun_path'
305 | let base = buffer.baseAddress!.assumingMemoryBound(to: CChar.self)
306 | _ = strncpy(base, path, maxPathLength - 1)
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:309:74: error: value of type 'sockaddr_un' has no member 'sun_path'
307 | }
308 | let addrSize = socklen_t(
309 | MemoryLayout.size(ofValue: addr) - MemoryLayout.size(ofValue: addr.sun_path)
| `- error: value of type 'sockaddr_un' has no member 'sun_path'
310 | + path.utf8.count + 1)
311 |
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:314:9: error: cannot find 'connect' in scope
312 | let connectResult = withUnsafePointer(to: &addr) {
313 | $0.withMemoryRebound(to: sockaddr.self, capacity: 1) { ptr in
314 | connect(rawFD, ptr, addrSize)
| `- error: cannot find 'connect' in scope
315 | }
316 | }
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:359:50: error: cannot find 'SO_ERROR' in scope
357 | var errorValue: Int32 = 0
358 | var errorLength = socklen_t(MemoryLayout<Int32>.size)
359 | let status = getsockopt(rawFD, SOL_SOCKET, SO_ERROR, &errorValue, &errorLength)
| `- error: cannot find 'SO_ERROR' in scope
360 | guard status == 0 else {
361 | managed.close()
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:385:14: error: cannot find 'SOCK_STREAM' in scope
383 | return Int32(SOCK_STREAM.rawValue)
384 | #else
385 | return SOCK_STREAM
| `- error: cannot find 'SOCK_STREAM' in scope
386 | #endif
387 | }
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:407:25: error: cannot find 'Darwin' in scope
405 | let written = Glibc.send(rawFD, currentPointer, bytesRemaining, Int32(MSG_NOSIGNAL))
406 | #else
407 | let written = Darwin.write(rawFD, currentPointer, bytesRemaining)
| `- error: cannot find 'Darwin' in scope
408 | #endif
409 |
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:217:24: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
215 | /// The transport automatically injects required headers including `Tailscale-Cap` and optional authentication.
216 | public struct URLSessionTailscaleTransport: TailscaleTransport {
217 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
218 |
219 | /// Creates a new transport with the specified URLSession.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:222:24: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
220 | ///
221 | /// - Parameter session: The URLSession to use for HTTP requests (defaults to `.shared`).
222 | public init(session: URLSession = .shared) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
223 | self.session = session
224 | }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:222:38: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
220 | ///
221 | /// - Parameter session: The URLSession to use for HTTP requests (defaults to `.shared`).
222 | public init(session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
223 | self.session = session
224 | }
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:338:15: error: cannot find type 'URLRequest' in scope
336 | private func buildURLRequest(
337 | for request: TailscaleRequest, configuration: TailscaleClientConfiguration
338 | ) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
339 | let url: URL
340 | switch configuration.endpoint {
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:217:15: error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionTailscaleTransport' has non-sendable type 'URLSession' (aka 'AnyObject')
215 | /// The transport automatically injects required headers including `Tailscale-Cap` and optional authentication.
216 | public struct URLSessionTailscaleTransport: TailscaleTransport {
217 | private let session: URLSession
| `- error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionTailscaleTransport' has non-sendable type 'URLSession' (aka 'AnyObject')
218 |
219 | /// Creates a new transport with the specified URLSession.
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:269:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
267 | for: enrich(request: request, configuration: configuration), configuration: configuration)
268 |
269 | let (bytes, response) = try await session.bytes(for: urlRequest)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
270 | guard let http = response as? HTTPURLResponse else {
271 | throw TailscaleTransportError.networkFailure(underlying: URLError(.badServerResponse))
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:320:48: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
318 | for: enrich(request: request, configuration: configuration), configuration: configuration)
319 | do {
320 | let (data, response) = try await session.data(for: urlRequest)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
321 | guard let http = response as? HTTPURLResponse else {
322 | throw TailscaleTransportError.networkFailure(underlying: URLError(.badServerResponse))
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:364:22: error: cannot find 'URLRequest' in scope
362 | }
363 |
364 | var urlRequest = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
365 | urlRequest.httpMethod = request.method
366 | urlRequest.httpBody = request.body
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:44:13: error: cannot find 'Darwin' in scope
42 | _ = Glibc.close(fdToClose)
43 | #else
44 | _ = Darwin.close(fdToClose)
| `- error: cannot find 'Darwin' in scope
45 | #endif
46 | }
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:274:17: error: cannot find 'socket' in scope
272 | try Task.checkCancellation()
273 |
274 | let rawFD = socket(AF_UNIX, socketStreamType, 0)
| `- error: cannot find 'socket' in scope
275 | guard rawFD >= 0 else {
276 | throw POSIXError(.init(rawValue: errno) ?? .EIO)
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:288:53: error: cannot find 'O_NONBLOCK' in scope
286 | // Configure non-blocking and close-on-exec flags.
287 | let flags = fcntl(rawFD, F_GETFL, 0)
288 | guard flags >= 0, fcntl(rawFD, F_SETFL, flags | O_NONBLOCK) >= 0 else {
| `- error: cannot find 'O_NONBLOCK' in scope
289 | managed.close()
290 | throw POSIXError(.init(rawValue: errno) ?? .EIO)
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:299:57: error: value of type 'sockaddr_un' has no member 'sun_path'
297 | var addr = sockaddr_un()
298 | addr.sun_family = sa_family_t(AF_UNIX)
299 | let maxPathLength = MemoryLayout.size(ofValue: addr.sun_path) / MemoryLayout<CChar>.stride
| `- error: value of type 'sockaddr_un' has no member 'sun_path'
300 | guard path.utf8.count < maxPathLength else {
301 | managed.close()
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:304:38: error: value of type 'sockaddr_un' has no member 'sun_path'
302 | throw POSIXError(.ENAMETOOLONG)
303 | }
304 | withUnsafeMutableBytes(of: &addr.sun_path) { buffer in
| `- error: value of type 'sockaddr_un' has no member 'sun_path'
305 | let base = buffer.baseAddress!.assumingMemoryBound(to: CChar.self)
306 | _ = strncpy(base, path, maxPathLength - 1)
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:309:74: error: value of type 'sockaddr_un' has no member 'sun_path'
307 | }
308 | let addrSize = socklen_t(
309 | MemoryLayout.size(ofValue: addr) - MemoryLayout.size(ofValue: addr.sun_path)
| `- error: value of type 'sockaddr_un' has no member 'sun_path'
310 | + path.utf8.count + 1)
311 |
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:314:9: error: cannot find 'connect' in scope
312 | let connectResult = withUnsafePointer(to: &addr) {
313 | $0.withMemoryRebound(to: sockaddr.self, capacity: 1) { ptr in
314 | connect(rawFD, ptr, addrSize)
| `- error: cannot find 'connect' in scope
315 | }
316 | }
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:359:50: error: cannot find 'SO_ERROR' in scope
357 | var errorValue: Int32 = 0
358 | var errorLength = socklen_t(MemoryLayout<Int32>.size)
359 | let status = getsockopt(rawFD, SOL_SOCKET, SO_ERROR, &errorValue, &errorLength)
| `- error: cannot find 'SO_ERROR' in scope
360 | guard status == 0 else {
361 | managed.close()
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:385:14: error: cannot find 'SOCK_STREAM' in scope
383 | return Int32(SOCK_STREAM.rawValue)
384 | #else
385 | return SOCK_STREAM
| `- error: cannot find 'SOCK_STREAM' in scope
386 | #endif
387 | }
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:407:25: error: cannot find 'Darwin' in scope
405 | let written = Glibc.send(rawFD, currentPointer, bytesRemaining, Int32(MSG_NOSIGNAL))
406 | #else
407 | let written = Darwin.write(rawFD, currentPointer, bytesRemaining)
| `- error: cannot find 'Darwin' in scope
408 | #endif
409 |
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:217:24: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
215 | /// The transport automatically injects required headers including `Tailscale-Cap` and optional authentication.
216 | public struct URLSessionTailscaleTransport: TailscaleTransport {
217 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
218 |
219 | /// Creates a new transport with the specified URLSession.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:222:24: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
220 | ///
221 | /// - Parameter session: The URLSession to use for HTTP requests (defaults to `.shared`).
222 | public init(session: URLSession = .shared) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
223 | self.session = session
224 | }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:222:38: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
220 | ///
221 | /// - Parameter session: The URLSession to use for HTTP requests (defaults to `.shared`).
222 | public init(session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
223 | self.session = session
224 | }
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:338:15: error: cannot find type 'URLRequest' in scope
336 | private func buildURLRequest(
337 | for request: TailscaleRequest, configuration: TailscaleClientConfiguration
338 | ) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
339 | let url: URL
340 | switch configuration.endpoint {
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:217:15: error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionTailscaleTransport' has non-sendable type 'URLSession' (aka 'AnyObject')
215 | /// The transport automatically injects required headers including `Tailscale-Cap` and optional authentication.
216 | public struct URLSessionTailscaleTransport: TailscaleTransport {
217 | private let session: URLSession
| `- error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionTailscaleTransport' has non-sendable type 'URLSession' (aka 'AnyObject')
218 |
219 | /// Creates a new transport with the specified URLSession.
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:269:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
267 | for: enrich(request: request, configuration: configuration), configuration: configuration)
268 |
269 | let (bytes, response) = try await session.bytes(for: urlRequest)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
270 | guard let http = response as? HTTPURLResponse else {
271 | throw TailscaleTransportError.networkFailure(underlying: URLError(.badServerResponse))
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:320:48: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
318 | for: enrich(request: request, configuration: configuration), configuration: configuration)
319 | do {
320 | let (data, response) = try await session.data(for: urlRequest)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
321 | guard let http = response as? HTTPURLResponse else {
322 | throw TailscaleTransportError.networkFailure(underlying: URLError(.badServerResponse))
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:364:22: error: cannot find 'URLRequest' in scope
362 | }
363 |
364 | var urlRequest = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
365 | urlRequest.httpMethod = request.method
366 | urlRequest.httpBody = request.body
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:44:13: error: cannot find 'Darwin' in scope
42 | _ = Glibc.close(fdToClose)
43 | #else
44 | _ = Darwin.close(fdToClose)
| `- error: cannot find 'Darwin' in scope
45 | #endif
46 | }
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:274:17: error: cannot find 'socket' in scope
272 | try Task.checkCancellation()
273 |
274 | let rawFD = socket(AF_UNIX, socketStreamType, 0)
| `- error: cannot find 'socket' in scope
275 | guard rawFD >= 0 else {
276 | throw POSIXError(.init(rawValue: errno) ?? .EIO)
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:288:53: error: cannot find 'O_NONBLOCK' in scope
286 | // Configure non-blocking and close-on-exec flags.
287 | let flags = fcntl(rawFD, F_GETFL, 0)
288 | guard flags >= 0, fcntl(rawFD, F_SETFL, flags | O_NONBLOCK) >= 0 else {
| `- error: cannot find 'O_NONBLOCK' in scope
289 | managed.close()
290 | throw POSIXError(.init(rawValue: errno) ?? .EIO)
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:299:57: error: value of type 'sockaddr_un' has no member 'sun_path'
297 | var addr = sockaddr_un()
298 | addr.sun_family = sa_family_t(AF_UNIX)
299 | let maxPathLength = MemoryLayout.size(ofValue: addr.sun_path) / MemoryLayout<CChar>.stride
| `- error: value of type 'sockaddr_un' has no member 'sun_path'
300 | guard path.utf8.count < maxPathLength else {
301 | managed.close()
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:304:38: error: value of type 'sockaddr_un' has no member 'sun_path'
302 | throw POSIXError(.ENAMETOOLONG)
303 | }
304 | withUnsafeMutableBytes(of: &addr.sun_path) { buffer in
| `- error: value of type 'sockaddr_un' has no member 'sun_path'
305 | let base = buffer.baseAddress!.assumingMemoryBound(to: CChar.self)
306 | _ = strncpy(base, path, maxPathLength - 1)
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:309:74: error: value of type 'sockaddr_un' has no member 'sun_path'
307 | }
308 | let addrSize = socklen_t(
309 | MemoryLayout.size(ofValue: addr) - MemoryLayout.size(ofValue: addr.sun_path)
| `- error: value of type 'sockaddr_un' has no member 'sun_path'
310 | + path.utf8.count + 1)
311 |
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:314:9: error: cannot find 'connect' in scope
312 | let connectResult = withUnsafePointer(to: &addr) {
313 | $0.withMemoryRebound(to: sockaddr.self, capacity: 1) { ptr in
314 | connect(rawFD, ptr, addrSize)
| `- error: cannot find 'connect' in scope
315 | }
316 | }
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:359:50: error: cannot find 'SO_ERROR' in scope
357 | var errorValue: Int32 = 0
358 | var errorLength = socklen_t(MemoryLayout<Int32>.size)
359 | let status = getsockopt(rawFD, SOL_SOCKET, SO_ERROR, &errorValue, &errorLength)
| `- error: cannot find 'SO_ERROR' in scope
360 | guard status == 0 else {
361 | managed.close()
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:385:14: error: cannot find 'SOCK_STREAM' in scope
383 | return Int32(SOCK_STREAM.rawValue)
384 | #else
385 | return SOCK_STREAM
| `- error: cannot find 'SOCK_STREAM' in scope
386 | #endif
387 | }
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:407:25: error: cannot find 'Darwin' in scope
405 | let written = Glibc.send(rawFD, currentPointer, bytesRemaining, Int32(MSG_NOSIGNAL))
406 | #else
407 | let written = Darwin.write(rawFD, currentPointer, bytesRemaining)
| `- error: cannot find 'Darwin' in scope
408 | #endif
409 |
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:217:24: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
215 | /// The transport automatically injects required headers including `Tailscale-Cap` and optional authentication.
216 | public struct URLSessionTailscaleTransport: TailscaleTransport {
217 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
218 |
219 | /// Creates a new transport with the specified URLSession.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:222:24: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
220 | ///
221 | /// - Parameter session: The URLSession to use for HTTP requests (defaults to `.shared`).
222 | public init(session: URLSession = .shared) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
223 | self.session = session
224 | }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:222:38: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
220 | ///
221 | /// - Parameter session: The URLSession to use for HTTP requests (defaults to `.shared`).
222 | public init(session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
223 | self.session = session
224 | }
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:338:15: error: cannot find type 'URLRequest' in scope
336 | private func buildURLRequest(
337 | for request: TailscaleRequest, configuration: TailscaleClientConfiguration
338 | ) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
339 | let url: URL
340 | switch configuration.endpoint {
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:217:15: error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionTailscaleTransport' has non-sendable type 'URLSession' (aka 'AnyObject')
215 | /// The transport automatically injects required headers including `Tailscale-Cap` and optional authentication.
216 | public struct URLSessionTailscaleTransport: TailscaleTransport {
217 | private let session: URLSession
| `- error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionTailscaleTransport' has non-sendable type 'URLSession' (aka 'AnyObject')
218 |
219 | /// Creates a new transport with the specified URLSession.
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:269:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
267 | for: enrich(request: request, configuration: configuration), configuration: configuration)
268 |
269 | let (bytes, response) = try await session.bytes(for: urlRequest)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
270 | guard let http = response as? HTTPURLResponse else {
271 | throw TailscaleTransportError.networkFailure(underlying: URLError(.badServerResponse))
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:320:48: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
318 | for: enrich(request: request, configuration: configuration), configuration: configuration)
319 | do {
320 | let (data, response) = try await session.data(for: urlRequest)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
321 | guard let http = response as? HTTPURLResponse else {
322 | throw TailscaleTransportError.networkFailure(underlying: URLError(.badServerResponse))
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/TailscaleTransport.swift:364:22: error: cannot find 'URLRequest' in scope
362 | }
363 |
364 | var urlRequest = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
365 | urlRequest.httpMethod = request.method
366 | urlRequest.httpBody = request.body
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:44:13: error: cannot find 'Darwin' in scope
42 | _ = Glibc.close(fdToClose)
43 | #else
44 | _ = Darwin.close(fdToClose)
| `- error: cannot find 'Darwin' in scope
45 | #endif
46 | }
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:274:17: error: cannot find 'socket' in scope
272 | try Task.checkCancellation()
273 |
274 | let rawFD = socket(AF_UNIX, socketStreamType, 0)
| `- error: cannot find 'socket' in scope
275 | guard rawFD >= 0 else {
276 | throw POSIXError(.init(rawValue: errno) ?? .EIO)
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:288:53: error: cannot find 'O_NONBLOCK' in scope
286 | // Configure non-blocking and close-on-exec flags.
287 | let flags = fcntl(rawFD, F_GETFL, 0)
288 | guard flags >= 0, fcntl(rawFD, F_SETFL, flags | O_NONBLOCK) >= 0 else {
| `- error: cannot find 'O_NONBLOCK' in scope
289 | managed.close()
290 | throw POSIXError(.init(rawValue: errno) ?? .EIO)
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:299:57: error: value of type 'sockaddr_un' has no member 'sun_path'
297 | var addr = sockaddr_un()
298 | addr.sun_family = sa_family_t(AF_UNIX)
299 | let maxPathLength = MemoryLayout.size(ofValue: addr.sun_path) / MemoryLayout<CChar>.stride
| `- error: value of type 'sockaddr_un' has no member 'sun_path'
300 | guard path.utf8.count < maxPathLength else {
301 | managed.close()
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:304:38: error: value of type 'sockaddr_un' has no member 'sun_path'
302 | throw POSIXError(.ENAMETOOLONG)
303 | }
304 | withUnsafeMutableBytes(of: &addr.sun_path) { buffer in
| `- error: value of type 'sockaddr_un' has no member 'sun_path'
305 | let base = buffer.baseAddress!.assumingMemoryBound(to: CChar.self)
306 | _ = strncpy(base, path, maxPathLength - 1)
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:309:74: error: value of type 'sockaddr_un' has no member 'sun_path'
307 | }
308 | let addrSize = socklen_t(
309 | MemoryLayout.size(ofValue: addr) - MemoryLayout.size(ofValue: addr.sun_path)
| `- error: value of type 'sockaddr_un' has no member 'sun_path'
310 | + path.utf8.count + 1)
311 |
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:314:9: error: cannot find 'connect' in scope
312 | let connectResult = withUnsafePointer(to: &addr) {
313 | $0.withMemoryRebound(to: sockaddr.self, capacity: 1) { ptr in
314 | connect(rawFD, ptr, addrSize)
| `- error: cannot find 'connect' in scope
315 | }
316 | }
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:359:50: error: cannot find 'SO_ERROR' in scope
357 | var errorValue: Int32 = 0
358 | var errorLength = socklen_t(MemoryLayout<Int32>.size)
359 | let status = getsockopt(rawFD, SOL_SOCKET, SO_ERROR, &errorValue, &errorLength)
| `- error: cannot find 'SO_ERROR' in scope
360 | guard status == 0 else {
361 | managed.close()
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:385:14: error: cannot find 'SOCK_STREAM' in scope
383 | return Int32(SOCK_STREAM.rawValue)
384 | #else
385 | return SOCK_STREAM
| `- error: cannot find 'SOCK_STREAM' in scope
386 | #endif
387 | }
/host/spi-builder-workspace/Sources/TailscaleClient/Transport/UnixSocketTransport.swift:407:25: error: cannot find 'Darwin' in scope
405 | let written = Glibc.send(rawFD, currentPointer, bytesRemaining, Int32(MSG_NOSIGNAL))
406 | #else
407 | let written = Darwin.write(rawFD, currentPointer, bytesRemaining)
| `- error: cannot find 'Darwin' in scope
408 | #endif
409 |
BUILD FAILURE 6.1 wasm