Build Information
Failed to build swift-openapi-urlsession, reference 1.2.0 (279aa6), with Swift 6.2 for Wasm on 30 Sep 2025 19:49:02 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/swift-openapi-urlsession.git
Reference: 1.2.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/apple/swift-openapi-urlsession
* tag 1.2.0 -> FETCH_HEAD
HEAD is now at 279aa6b Android support (#70)
Cloned https://github.com/apple/swift-openapi-urlsession.git
Revision (git rev-parse @):
279aa6b77be6aa842a4bf3c45fa79fa15edf3e07
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/swift-openapi-urlsession.git at 1.2.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/apple/swift-openapi-urlsession.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f6b6b9bdb5d5605d727da337418fc455cd8a0394d3a815b70631008c48829755
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/embedded-swift-sdk.json
Fetching https://github.com/apple/swift-openapi-runtime
Fetching https://github.com/apple/swift-http-types
Fetching https://github.com/apple/swift-nio
Fetching https://github.com/apple/swift-collections
[1/936] Fetching swift-http-types
[937/6681] Fetching swift-http-types, swift-openapi-runtime
[6682/24657] Fetching swift-http-types, swift-openapi-runtime, swift-collections
[10817/103271] Fetching swift-http-types, swift-openapi-runtime, swift-collections, swift-nio
Fetched https://github.com/apple/swift-collections from cache (1.64s)
[56208/85295] Fetching swift-http-types, swift-openapi-runtime, swift-nio
Fetched https://github.com/apple/swift-http-types from cache (6.49s)
Fetched https://github.com/apple/swift-openapi-runtime from cache (6.49s)
Fetched https://github.com/apple/swift-nio from cache (6.62s)
Computing version for https://github.com/apple/swift-openapi-runtime
Computed https://github.com/apple/swift-openapi-runtime at 1.8.3 (7.07s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.4.0 (0.43s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.3.0 (0.77s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.86.2 (0.96s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
[1/1814] Fetching swift-atomics
[1126/6836] Fetching swift-atomics, swift-system
Fetched https://github.com/apple/swift-atomics.git from cache (0.77s)
Fetched https://github.com/apple/swift-system.git from cache (0.77s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.23s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.3 (0.80s)
Creating working copy for https://github.com/apple/swift-nio
Working copy of https://github.com/apple/swift-nio resolved at 2.86.2
Creating working copy for https://github.com/apple/swift-openapi-runtime
Working copy of https://github.com/apple/swift-openapi-runtime resolved at 1.8.3
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-http-types
Working copy of https://github.com/apple/swift-http-types resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.3
Building for debugging...
[0/6] Write sources
[5/6] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/10] Emitting module HTTPTypes
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/NIOLock.swift:45:8: error: The concurrency NIOLock module was unable to identify your C library.
43 | #endif
44 | #else
45 | #error("The concurrency NIOLock module was unable to identify your C library.")
| `- error: The concurrency NIOLock module was unable to identify your C library.
46 | #endif
47 |
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPField.swift:222:22: error: cannot find type 'CustomPlaygroundDisplayConvertible' in scope
220 | }
221 |
222 | extension HTTPField: CustomPlaygroundDisplayConvertible {
| `- error: cannot find type 'CustomPlaygroundDisplayConvertible' in scope
223 | public var playgroundDescription: Any {
224 | self.description
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPField.swift:229:30: error: 'CodingKey' is unavailable: unavailable in embedded Swift
227 |
228 | extension HTTPField: Codable {
229 | enum CodingKeys: String, CodingKey {
| `- error: 'CodingKey' is unavailable: unavailable in embedded Swift
230 | case name
231 | case value
Swift.CodingKey:2:17: note: 'CodingKey' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol CodingKey {
| `- note: 'CodingKey' has been explicitly marked unavailable here
3 | }
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPField.swift:235:36: error: 'Encoder' is unavailable: unavailable in embedded Swift
233 | }
234 |
235 | public func encode(to encoder: Encoder) throws {
| `- error: 'Encoder' is unavailable: unavailable in embedded Swift
236 | var container = encoder.container(keyedBy: CodingKeys.self)
237 | try container.encode(self.name, forKey: .name)
Swift.Encoder:2:17: note: 'Encoder' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Encoder {
| `- note: 'Encoder' has been explicitly marked unavailable here
3 | var codingPath: [any CodingKey] { get }
4 | func container<Key>(keyedBy type: Key.Type) -> KeyedEncodingContainer<Key> where Key : CodingKey
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPField.swift:244:31: error: 'Decoder' is unavailable: unavailable in embedded Swift
242 | }
243 |
244 | public init(from decoder: Decoder) throws {
| `- error: 'Decoder' is unavailable: unavailable in embedded Swift
245 | let container = try decoder.container(keyedBy: CodingKeys.self)
246 | let name = try container.decode(Name.self, forKey: .name)
Swift.Decoder:2:17: note: 'Decoder' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Decoder {
| `- note: 'Decoder' has been explicitly marked unavailable here
3 | var codingPath: [any CodingKey] { get }
4 | func container<Key>(keyedBy type: Key.Type) throws -> KeyedDecodingContainer<Key> where Key : CodingKey
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPField.swift:228:22: error: 'Codable' is unavailable: unavailable in embedded Swift
226 | }
227 |
228 | extension HTTPField: Codable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
229 | enum CodingKeys: String, CodingKey {
230 | case name
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
| `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPField.swift:237:23: error: value of type 'KeyedEncodingContainer<HTTPField.CodingKeys>' has no member 'encode'
235 | public func encode(to encoder: Encoder) throws {
236 | var container = encoder.container(keyedBy: CodingKeys.self)
237 | try container.encode(self.name, forKey: .name)
| `- error: value of type 'KeyedEncodingContainer<HTTPField.CodingKeys>' has no member 'encode'
238 | try container.encode(self.rawValue._storage, forKey: .value)
239 | if self.indexingStrategy != .automatic {
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPField.swift:237:50: error: cannot infer contextual base in reference to member 'name'
235 | public func encode(to encoder: Encoder) throws {
236 | var container = encoder.container(keyedBy: CodingKeys.self)
237 | try container.encode(self.name, forKey: .name)
| `- error: cannot infer contextual base in reference to member 'name'
238 | try container.encode(self.rawValue._storage, forKey: .value)
239 | if self.indexingStrategy != .automatic {
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPField.swift:238:23: error: value of type 'KeyedEncodingContainer<HTTPField.CodingKeys>' has no member 'encode'
236 | var container = encoder.container(keyedBy: CodingKeys.self)
237 | try container.encode(self.name, forKey: .name)
238 | try container.encode(self.rawValue._storage, forKey: .value)
| `- error: value of type 'KeyedEncodingContainer<HTTPField.CodingKeys>' has no member 'encode'
239 | if self.indexingStrategy != .automatic {
240 | try container.encode(self.indexingStrategy.rawValue, forKey: .indexingStrategy)
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPField.swift:238:63: error: cannot infer contextual base in reference to member 'value'
236 | var container = encoder.container(keyedBy: CodingKeys.self)
237 | try container.encode(self.name, forKey: .name)
238 | try container.encode(self.rawValue._storage, forKey: .value)
| `- error: cannot infer contextual base in reference to member 'value'
239 | if self.indexingStrategy != .automatic {
240 | try container.encode(self.indexingStrategy.rawValue, forKey: .indexingStrategy)
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPField.swift:240:27: error: value of type 'KeyedEncodingContainer<HTTPField.CodingKeys>' has no member 'encode'
238 | try container.encode(self.rawValue._storage, forKey: .value)
239 | if self.indexingStrategy != .automatic {
240 | try container.encode(self.indexingStrategy.rawValue, forKey: .indexingStrategy)
| `- error: value of type 'KeyedEncodingContainer<HTTPField.CodingKeys>' has no member 'encode'
241 | }
242 | }
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPField.swift:240:75: error: cannot infer contextual base in reference to member 'indexingStrategy'
238 | try container.encode(self.rawValue._storage, forKey: .value)
239 | if self.indexingStrategy != .automatic {
240 | try container.encode(self.indexingStrategy.rawValue, forKey: .indexingStrategy)
| `- error: cannot infer contextual base in reference to member 'indexingStrategy'
241 | }
242 | }
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPField.swift:246:34: error: value of type 'KeyedDecodingContainer<HTTPField.CodingKeys>' has no member 'decode'
244 | public init(from decoder: Decoder) throws {
245 | let container = try decoder.container(keyedBy: CodingKeys.self)
246 | let name = try container.decode(Name.self, forKey: .name)
| `- error: value of type 'KeyedDecodingContainer<HTTPField.CodingKeys>' has no member 'decode'
247 | let value = try container.decode(String.self, forKey: .value)
248 | guard Self.isValidValue(value) else {
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPField.swift:246:61: error: cannot infer contextual base in reference to member 'name'
244 | public init(from decoder: Decoder) throws {
245 | let container = try decoder.container(keyedBy: CodingKeys.self)
246 | let name = try container.decode(Name.self, forKey: .name)
| `- error: cannot infer contextual base in reference to member 'name'
247 | let value = try container.decode(String.self, forKey: .value)
248 | guard Self.isValidValue(value) else {
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPField.swift:247:35: error: value of type 'KeyedDecodingContainer<HTTPField.CodingKeys>' has no member 'decode'
245 | let container = try decoder.container(keyedBy: CodingKeys.self)
246 | let name = try container.decode(Name.self, forKey: .name)
247 | let value = try container.decode(String.self, forKey: .value)
| `- error: value of type 'KeyedDecodingContainer<HTTPField.CodingKeys>' has no member 'decode'
248 | guard Self.isValidValue(value) else {
249 | throw DecodingError.dataCorruptedError(
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPField.swift:247:64: error: cannot infer contextual base in reference to member 'value'
245 | let container = try decoder.container(keyedBy: CodingKeys.self)
246 | let name = try container.decode(Name.self, forKey: .name)
247 | let value = try container.decode(String.self, forKey: .value)
| `- error: cannot infer contextual base in reference to member 'value'
248 | guard Self.isValidValue(value) else {
249 | throw DecodingError.dataCorruptedError(
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPField.swift:249:33: error: type 'DecodingError' has no member 'dataCorruptedError'
247 | let value = try container.decode(String.self, forKey: .value)
248 | guard Self.isValidValue(value) else {
249 | throw DecodingError.dataCorruptedError(
| `- error: type 'DecodingError' has no member 'dataCorruptedError'
250 | forKey: .value,
251 | in: container,
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPField.swift:250:26: error: cannot infer contextual base in reference to member 'value'
248 | guard Self.isValidValue(value) else {
249 | throw DecodingError.dataCorruptedError(
250 | forKey: .value,
| `- error: cannot infer contextual base in reference to member 'value'
251 | in: container,
252 | debugDescription: "HTTP field value \"\(value)\" contains invalid characters"
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPField.swift:256:54: error: value of type 'KeyedDecodingContainer<HTTPField.CodingKeys>' has no member 'decodeIfPresent'
254 | }
255 | self.init(name: name, uncheckedValue: ISOLatin1String(unchecked: value))
256 | if let indexingStrategyValue = try container.decodeIfPresent(UInt8.self, forKey: .indexingStrategy),
| `- error: value of type 'KeyedDecodingContainer<HTTPField.CodingKeys>' has no member 'decodeIfPresent'
257 | let indexingStrategy = DynamicTableIndexingStrategy(rawValue: indexingStrategyValue)
258 | {
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPField.swift:256:91: error: cannot infer contextual base in reference to member 'indexingStrategy'
254 | }
255 | self.init(name: name, uncheckedValue: ISOLatin1String(unchecked: value))
256 | if let indexingStrategyValue = try container.decodeIfPresent(UInt8.self, forKey: .indexingStrategy),
| `- error: cannot infer contextual base in reference to member 'indexingStrategy'
257 | let indexingStrategy = DynamicTableIndexingStrategy(rawValue: indexingStrategyValue)
258 | {
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPFieldName.swift:114:27: error: cannot find type 'CustomPlaygroundDisplayConvertible' in scope
112 | }
113 |
114 | extension HTTPField.Name: CustomPlaygroundDisplayConvertible {
| `- error: cannot find type 'CustomPlaygroundDisplayConvertible' in scope
115 | public var playgroundDescription: Any {
116 | self.description
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPFieldName.swift:121:36: error: 'Encoder' is unavailable: unavailable in embedded Swift
119 |
120 | extension HTTPField.Name: Codable {
121 | public func encode(to encoder: Encoder) throws {
| `- error: 'Encoder' is unavailable: unavailable in embedded Swift
122 | var container = encoder.singleValueContainer()
123 | try container.encode(self.rawName)
Swift.Encoder:2:17: note: 'Encoder' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Encoder {
| `- note: 'Encoder' has been explicitly marked unavailable here
3 | var codingPath: [any CodingKey] { get }
4 | func container<Key>(keyedBy type: Key.Type) -> KeyedEncodingContainer<Key> where Key : CodingKey
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPFieldName.swift:126:31: error: 'Decoder' is unavailable: unavailable in embedded Swift
124 | }
125 |
126 | public init(from decoder: Decoder) throws {
| `- error: 'Decoder' is unavailable: unavailable in embedded Swift
127 | let container = try decoder.singleValueContainer()
128 | let nameString = try container.decode(String.self)
Swift.Decoder:2:17: note: 'Decoder' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Decoder {
| `- note: 'Decoder' has been explicitly marked unavailable here
3 | var codingPath: [any CodingKey] { get }
4 | func container<Key>(keyedBy type: Key.Type) throws -> KeyedDecodingContainer<Key> where Key : CodingKey
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPFieldName.swift:120:27: error: 'Codable' is unavailable: unavailable in embedded Swift
118 | }
119 |
120 | extension HTTPField.Name: Codable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
121 | public func encode(to encoder: Encoder) throws {
122 | var container = encoder.singleValueContainer()
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
| `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPFieldName.swift:123:23: error: value of type 'any SingleValueEncodingContainer' has no member 'encode'
121 | public func encode(to encoder: Encoder) throws {
122 | var container = encoder.singleValueContainer()
123 | try container.encode(self.rawName)
| `- error: value of type 'any SingleValueEncodingContainer' has no member 'encode'
124 | }
125 |
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPFieldName.swift:128:40: error: value of type 'any SingleValueDecodingContainer' has no member 'decode'
126 | public init(from decoder: Decoder) throws {
127 | let container = try decoder.singleValueContainer()
128 | let nameString = try container.decode(String.self)
| `- error: value of type 'any SingleValueDecodingContainer' has no member 'decode'
129 | if nameString.utf8.first == UInt8(ascii: ":") {
130 | guard nameString.lowercased() == nameString,
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPFieldName.swift:133:37: error: type 'DecodingError' has no member 'dataCorruptedError'
131 | HTTPField.isValidToken(nameString.dropFirst())
132 | else {
133 | throw DecodingError.dataCorruptedError(
| `- error: type 'DecodingError' has no member 'dataCorruptedError'
134 | in: container,
135 | debugDescription: "HTTP pseudo field name \"\(nameString)\" contains invalid characters"
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPFieldName.swift:141:37: error: type 'DecodingError' has no member 'dataCorruptedError'
139 | } else {
140 | guard let name = Self(nameString) else {
141 | throw DecodingError.dataCorruptedError(
| `- error: type 'DecodingError' has no member 'dataCorruptedError'
142 | in: container,
143 | debugDescription: "HTTP field name \"\(nameString)\" contains invalid characters"
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPFields.swift:115:21: error: cannot find 'Mutex' in scope
113 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
114 | private final class _StorageWithMutex: _Storage, @unchecked Sendable {
115 | let mutex = Mutex<Void>(())
| `- error: cannot find 'Mutex' in scope
116 |
117 | override func withLock<Result>(_ body: () throws -> Result) rethrows -> Result {
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/NIOLock.swift:53:27: error: cannot find type 'pthread_mutex_t' in scope
51 | typealias LockPrimitive = os_unfair_lock
52 | #else
53 | typealias LockPrimitive = pthread_mutex_t
| `- error: cannot find type 'pthread_mutex_t' in scope
54 | #endif
55 |
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPFields.swift:367:36: error: 'Encoder' is unavailable: unavailable in embedded Swift
365 |
366 | extension HTTPFields: Codable {
367 | public func encode(to encoder: Encoder) throws {
| `- error: 'Encoder' is unavailable: unavailable in embedded Swift
368 | var container = encoder.unkeyedContainer()
369 | try container.encode(contentsOf: self)
Swift.Encoder:2:17: note: 'Encoder' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Encoder {
| `- note: 'Encoder' has been explicitly marked unavailable here
3 | var codingPath: [any CodingKey] { get }
4 | func container<Key>(keyedBy type: Key.Type) -> KeyedEncodingContainer<Key> where Key : CodingKey
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPFields.swift:372:31: error: 'Decoder' is unavailable: unavailable in embedded Swift
370 | }
371 |
372 | public init(from decoder: Decoder) throws {
| `- error: 'Decoder' is unavailable: unavailable in embedded Swift
373 | var container = try decoder.unkeyedContainer()
374 | if let count = container.count {
Swift.Decoder:2:17: note: 'Decoder' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Decoder {
| `- note: 'Decoder' has been explicitly marked unavailable here
3 | var codingPath: [any CodingKey] { get }
4 | func container<Key>(keyedBy type: Key.Type) throws -> KeyedDecodingContainer<Key> where Key : CodingKey
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPFields.swift:366:23: error: 'Codable' is unavailable: unavailable in embedded Swift
364 | }
365 |
366 | extension HTTPFields: Codable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
367 | public func encode(to encoder: Encoder) throws {
368 | var container = encoder.unkeyedContainer()
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
| `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPFields.swift:182:51: error: cannot convert value of type 'String' to expected argument type 'String.Element' (aka 'Character')
180 | {
181 | self.setFields(
182 | newValue.split(separator: "; ", omittingEmptySubsequences: false).lazy.map {
| `- error: cannot convert value of type 'String' to expected argument type 'String.Element' (aka 'Character')
183 | HTTPField(name: name, value: String($0))
184 | },
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPFields.swift:362:30: error: 'description' is unavailable: unavailable in embedded Swift
360 | extension HTTPFields: CustomDebugStringConvertible {
361 | public var debugDescription: String {
362 | self._storage.fields.description
| `- error: 'description' is unavailable: unavailable in embedded Swift
363 | }
364 | }
Swift.Array.description:2:12: note: 'description' has been explicitly marked unavailable here
1 | generic struct Array {
2 | public var description: String { get }}
| `- note: 'description' has been explicitly marked unavailable here
3 |
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPFields.swift:369:29: error: extraneous argument label 'contentsOf:' in call
367 | public func encode(to encoder: Encoder) throws {
368 | var container = encoder.unkeyedContainer()
369 | try container.encode(contentsOf: self)
| `- error: extraneous argument label 'contentsOf:' in call
370 | }
371 |
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPFields.swift:374:34: error: value of type 'any UnkeyedDecodingContainer' has no member 'count'
372 | public init(from decoder: Decoder) throws {
373 | var container = try decoder.unkeyedContainer()
374 | if let count = container.count {
| `- error: value of type 'any UnkeyedDecodingContainer' has no member 'count'
375 | self.reserveCapacity(count)
376 | }
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPFields.swift:377:26: error: value of type 'any UnkeyedDecodingContainer' has no member 'isAtEnd'
375 | self.reserveCapacity(count)
376 | }
377 | while !container.isAtEnd {
| `- error: value of type 'any UnkeyedDecodingContainer' has no member 'isAtEnd'
378 | let field = try container.decode(HTTPField.self)
379 | guard !field.name.isPseudo else {
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPFields.swift:380:37: error: type 'DecodingError' has no member 'dataCorruptedError'
378 | let field = try container.decode(HTTPField.self)
379 | guard !field.name.isPseudo else {
380 | throw DecodingError.dataCorruptedError(
| `- error: type 'DecodingError' has no member 'dataCorruptedError'
381 | in: container,
382 | debugDescription: "Pseudo header field \"\(field)\" disallowed"
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPRequest.swift:336:36: error: 'Encoder' is unavailable: unavailable in embedded Swift
334 |
335 | extension HTTPRequest.PseudoHeaderFields: Codable {
336 | public func encode(to encoder: Encoder) throws {
| `- error: 'Encoder' is unavailable: unavailable in embedded Swift
337 | var container = encoder.unkeyedContainer()
338 | try container.encode(self.method)
Swift.Encoder:2:17: note: 'Encoder' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Encoder {
| `- note: 'Encoder' has been explicitly marked unavailable here
3 | var codingPath: [any CodingKey] { get }
4 | func container<Key>(keyedBy type: Key.Type) -> KeyedEncodingContainer<Key> where Key : CodingKey
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPRequest.swift:353:31: error: 'Decoder' is unavailable: unavailable in embedded Swift
351 | }
352 |
353 | public init(from decoder: Decoder) throws {
| `- error: 'Decoder' is unavailable: unavailable in embedded Swift
354 | var container = try decoder.unkeyedContainer()
355 | var method: HTTPField?
Swift.Decoder:2:17: note: 'Decoder' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Decoder {
| `- note: 'Decoder' has been explicitly marked unavailable here
3 | var codingPath: [any CodingKey] { get }
4 | func container<Key>(keyedBy type: Key.Type) throws -> KeyedDecodingContainer<Key> where Key : CodingKey
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPRequest.swift:335:43: error: 'Codable' is unavailable: unavailable in embedded Swift
333 | }
334 |
335 | extension HTTPRequest.PseudoHeaderFields: Codable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
336 | public func encode(to encoder: Encoder) throws {
337 | var container = encoder.unkeyedContainer()
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
| `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPRequest.swift:435:30: error: 'CodingKey' is unavailable: unavailable in embedded Swift
433 |
434 | extension HTTPRequest: Codable {
435 | enum CodingKeys: String, CodingKey {
| `- error: 'CodingKey' is unavailable: unavailable in embedded Swift
436 | case pseudoHeaderFields
437 | case headerFields
Swift.CodingKey:2:17: note: 'CodingKey' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol CodingKey {
| `- note: 'CodingKey' has been explicitly marked unavailable here
3 | }
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPRequest.swift:440:36: error: 'Encoder' is unavailable: unavailable in embedded Swift
438 | }
439 |
440 | public func encode(to encoder: Encoder) throws {
| `- error: 'Encoder' is unavailable: unavailable in embedded Swift
441 | var container = encoder.container(keyedBy: CodingKeys.self)
442 | try container.encode(self.pseudoHeaderFields, forKey: .pseudoHeaderFields)
Swift.Encoder:2:17: note: 'Encoder' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Encoder {
| `- note: 'Encoder' has been explicitly marked unavailable here
3 | var codingPath: [any CodingKey] { get }
4 | func container<Key>(keyedBy type: Key.Type) -> KeyedEncodingContainer<Key> where Key : CodingKey
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPRequest.swift:446:31: error: 'Decoder' is unavailable: unavailable in embedded Swift
444 | }
445 |
446 | public init(from decoder: Decoder) throws {
| `- error: 'Decoder' is unavailable: unavailable in embedded Swift
447 | let container = try decoder.container(keyedBy: CodingKeys.self)
448 | self.pseudoHeaderFields = try container.decode(PseudoHeaderFields.self, forKey: .pseudoHeaderFields)
Swift.Decoder:2:17: note: 'Decoder' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Decoder {
| `- note: 'Decoder' has been explicitly marked unavailable here
3 | var codingPath: [any CodingKey] { get }
4 | func container<Key>(keyedBy type: Key.Type) throws -> KeyedDecodingContainer<Key> where Key : CodingKey
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPRequest.swift:434:24: error: 'Codable' is unavailable: unavailable in embedded Swift
432 | }
433 |
434 | extension HTTPRequest: Codable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
435 | enum CodingKeys: String, CodingKey {
436 | case pseudoHeaderFields
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
| `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPRequest.swift:360:26: error: value of type 'any UnkeyedDecodingContainer' has no member 'isAtEnd'
358 | var path: HTTPField?
359 | var extendedConnectProtocol: HTTPField?
360 | while !container.isAtEnd {
| `- error: value of type 'any UnkeyedDecodingContainer' has no member 'isAtEnd'
361 | let field = try container.decode(HTTPField.self)
362 | switch field.name {
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPRequest.swift:365:41: error: type 'DecodingError' has no member 'dataCorruptedError'
363 | case .method:
364 | guard method == nil else {
365 | throw DecodingError.dataCorruptedError(
| `- error: type 'DecodingError' has no member 'dataCorruptedError'
366 | in: container,
367 | debugDescription: "Multiple \":method\" pseudo header fields"
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPRequest.swift:373:41: error: type 'DecodingError' has no member 'dataCorruptedError'
371 | case .scheme:
372 | guard scheme == nil else {
373 | throw DecodingError.dataCorruptedError(
| `- error: type 'DecodingError' has no member 'dataCorruptedError'
374 | in: container,
375 | debugDescription: "Multiple \":scheme\" pseudo header fields"
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPRequest.swift:381:41: error: type 'DecodingError' has no member 'dataCorruptedError'
379 | case .authority:
380 | guard authority == nil else {
381 | throw DecodingError.dataCorruptedError(
| `- error: type 'DecodingError' has no member 'dataCorruptedError'
382 | in: container,
383 | debugDescription: "Multiple \":authority\" pseudo header fields"
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPRequest.swift:389:41: error: type 'DecodingError' has no member 'dataCorruptedError'
387 | case .path:
388 | guard path == nil else {
389 | throw DecodingError.dataCorruptedError(
| `- error: type 'DecodingError' has no member 'dataCorruptedError'
390 | in: container,
391 | debugDescription: "Multiple \":path\" pseudo header fields"
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPRequest.swift:397:41: error: type 'DecodingError' has no member 'dataCorruptedError'
395 | case .protocol:
396 | guard extendedConnectProtocol == nil else {
397 | throw DecodingError.dataCorruptedError(
| `- error: type 'DecodingError' has no member 'dataCorruptedError'
398 | in: container,
399 | debugDescription: "Multiple \":protocol\" pseudo header fields"
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPRequest.swift:405:41: error: type 'DecodingError' has no member 'dataCorruptedError'
403 | default:
404 | guard field.name.rawName.utf8.first == UInt8(ascii: ":") else {
405 | throw DecodingError.dataCorruptedError(
| `- error: type 'DecodingError' has no member 'dataCorruptedError'
406 | in: container,
407 | debugDescription: "\"\(field)\" is not a pseudo header field"
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPRequest.swift:413:33: error: type 'DecodingError' has no member 'dataCorruptedError'
411 | }
412 | guard let method else {
413 | throw DecodingError.dataCorruptedError(
| `- error: type 'DecodingError' has no member 'dataCorruptedError'
414 | in: container,
415 | debugDescription: "\":method\" pseudo header field is missing"
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPRequest.swift:419:33: error: type 'DecodingError' has no member 'dataCorruptedError'
417 | }
418 | guard HTTPField.isValidToken(method.rawValue._storage) else {
419 | throw DecodingError.dataCorruptedError(
| `- error: type 'DecodingError' has no member 'dataCorruptedError'
420 | in: container,
421 | debugDescription: "\"\(method.rawValue._storage)\" is not a valid method"
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPRequest.swift:442:23: error: value of type 'KeyedEncodingContainer<HTTPRequest.CodingKeys>' has no member 'encode'
440 | public func encode(to encoder: Encoder) throws {
441 | var container = encoder.container(keyedBy: CodingKeys.self)
442 | try container.encode(self.pseudoHeaderFields, forKey: .pseudoHeaderFields)
| `- error: value of type 'KeyedEncodingContainer<HTTPRequest.CodingKeys>' has no member 'encode'
443 | try container.encode(self.headerFields, forKey: .headerFields)
444 | }
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPRequest.swift:442:64: error: cannot infer contextual base in reference to member 'pseudoHeaderFields'
440 | public func encode(to encoder: Encoder) throws {
441 | var container = encoder.container(keyedBy: CodingKeys.self)
442 | try container.encode(self.pseudoHeaderFields, forKey: .pseudoHeaderFields)
| `- error: cannot infer contextual base in reference to member 'pseudoHeaderFields'
443 | try container.encode(self.headerFields, forKey: .headerFields)
444 | }
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPRequest.swift:443:23: error: value of type 'KeyedEncodingContainer<HTTPRequest.CodingKeys>' has no member 'encode'
441 | var container = encoder.container(keyedBy: CodingKeys.self)
442 | try container.encode(self.pseudoHeaderFields, forKey: .pseudoHeaderFields)
443 | try container.encode(self.headerFields, forKey: .headerFields)
| `- error: value of type 'KeyedEncodingContainer<HTTPRequest.CodingKeys>' has no member 'encode'
444 | }
445 |
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPRequest.swift:443:58: error: cannot infer contextual base in reference to member 'headerFields'
441 | var container = encoder.container(keyedBy: CodingKeys.self)
442 | try container.encode(self.pseudoHeaderFields, forKey: .pseudoHeaderFields)
443 | try container.encode(self.headerFields, forKey: .headerFields)
| `- error: cannot infer contextual base in reference to member 'headerFields'
444 | }
445 |
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPRequest.swift:448:49: error: value of type 'KeyedDecodingContainer<HTTPRequest.CodingKeys>' has no member 'decode'
446 | public init(from decoder: Decoder) throws {
447 | let container = try decoder.container(keyedBy: CodingKeys.self)
448 | self.pseudoHeaderFields = try container.decode(PseudoHeaderFields.self, forKey: .pseudoHeaderFields)
| `- error: value of type 'KeyedDecodingContainer<HTTPRequest.CodingKeys>' has no member 'decode'
449 | self.headerFields = try container.decode(HTTPFields.self, forKey: .headerFields)
450 | }
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPRequest.swift:448:90: error: cannot infer contextual base in reference to member 'pseudoHeaderFields'
446 | public init(from decoder: Decoder) throws {
447 | let container = try decoder.container(keyedBy: CodingKeys.self)
448 | self.pseudoHeaderFields = try container.decode(PseudoHeaderFields.self, forKey: .pseudoHeaderFields)
| `- error: cannot infer contextual base in reference to member 'pseudoHeaderFields'
449 | self.headerFields = try container.decode(HTTPFields.self, forKey: .headerFields)
450 | }
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPRequest.swift:449:43: error: value of type 'KeyedDecodingContainer<HTTPRequest.CodingKeys>' has no member 'decode'
447 | let container = try decoder.container(keyedBy: CodingKeys.self)
448 | self.pseudoHeaderFields = try container.decode(PseudoHeaderFields.self, forKey: .pseudoHeaderFields)
449 | self.headerFields = try container.decode(HTTPFields.self, forKey: .headerFields)
| `- error: value of type 'KeyedDecodingContainer<HTTPRequest.CodingKeys>' has no member 'decode'
450 | }
451 | }
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPRequest.swift:449:76: error: cannot infer contextual base in reference to member 'headerFields'
447 | let container = try decoder.container(keyedBy: CodingKeys.self)
448 | self.pseudoHeaderFields = try container.decode(PseudoHeaderFields.self, forKey: .pseudoHeaderFields)
449 | self.headerFields = try container.decode(HTTPFields.self, forKey: .headerFields)
| `- error: cannot infer contextual base in reference to member 'headerFields'
450 | }
451 | }
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPResponse.swift:267:36: error: 'Encoder' is unavailable: unavailable in embedded Swift
265 |
266 | extension HTTPResponse.PseudoHeaderFields: Codable {
267 | public func encode(to encoder: Encoder) throws {
| `- error: 'Encoder' is unavailable: unavailable in embedded Swift
268 | var container = encoder.unkeyedContainer()
269 | try container.encode(self.status)
Swift.Encoder:2:17: note: 'Encoder' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Encoder {
| `- note: 'Encoder' has been explicitly marked unavailable here
3 | var codingPath: [any CodingKey] { get }
4 | func container<Key>(keyedBy type: Key.Type) -> KeyedEncodingContainer<Key> where Key : CodingKey
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPResponse.swift:272:31: error: 'Decoder' is unavailable: unavailable in embedded Swift
270 | }
271 |
272 | public init(from decoder: Decoder) throws {
| `- error: 'Decoder' is unavailable: unavailable in embedded Swift
273 | var container = try decoder.unkeyedContainer()
274 | var status: HTTPField?
Swift.Decoder:2:17: note: 'Decoder' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Decoder {
| `- note: 'Decoder' has been explicitly marked unavailable here
3 | var codingPath: [any CodingKey] { get }
4 | func container<Key>(keyedBy type: Key.Type) throws -> KeyedDecodingContainer<Key> where Key : CodingKey
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPResponse.swift:266:44: error: 'Codable' is unavailable: unavailable in embedded Swift
264 | }
265 |
266 | extension HTTPResponse.PseudoHeaderFields: Codable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
267 | public func encode(to encoder: Encoder) throws {
268 | var container = encoder.unkeyedContainer()
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
| `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPResponse.swift:312:30: error: 'CodingKey' is unavailable: unavailable in embedded Swift
310 |
311 | extension HTTPResponse: Codable {
312 | enum CodingKeys: String, CodingKey {
| `- error: 'CodingKey' is unavailable: unavailable in embedded Swift
313 | case pseudoHeaderFields
314 | case headerFields
Swift.CodingKey:2:17: note: 'CodingKey' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol CodingKey {
| `- note: 'CodingKey' has been explicitly marked unavailable here
3 | }
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPResponse.swift:318:36: error: 'Encoder' is unavailable: unavailable in embedded Swift
316 | }
317 |
318 | public func encode(to encoder: Encoder) throws {
| `- error: 'Encoder' is unavailable: unavailable in embedded Swift
319 | var container = encoder.container(keyedBy: CodingKeys.self)
320 | try container.encode(self.pseudoHeaderFields, forKey: .pseudoHeaderFields)
Swift.Encoder:2:17: note: 'Encoder' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Encoder {
| `- note: 'Encoder' has been explicitly marked unavailable here
3 | var codingPath: [any CodingKey] { get }
4 | func container<Key>(keyedBy type: Key.Type) -> KeyedEncodingContainer<Key> where Key : CodingKey
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPResponse.swift:329:31: error: 'Decoder' is unavailable: unavailable in embedded Swift
327 | }
328 |
329 | public init(from decoder: Decoder) throws {
| `- error: 'Decoder' is unavailable: unavailable in embedded Swift
330 | let container = try decoder.container(keyedBy: CodingKeys.self)
331 | self.pseudoHeaderFields = try container.decode(PseudoHeaderFields.self, forKey: .pseudoHeaderFields)
Swift.Decoder:2:17: note: 'Decoder' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Decoder {
| `- note: 'Decoder' has been explicitly marked unavailable here
3 | var codingPath: [any CodingKey] { get }
4 | func container<Key>(keyedBy type: Key.Type) throws -> KeyedDecodingContainer<Key> where Key : CodingKey
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPResponse.swift:311:25: error: 'Codable' is unavailable: unavailable in embedded Swift
309 | }
310 |
311 | extension HTTPResponse: Codable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
312 | enum CodingKeys: String, CodingKey {
313 | case pseudoHeaderFields
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
| `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPResponse.swift:275:26: error: value of type 'any UnkeyedDecodingContainer' has no member 'isAtEnd'
273 | var container = try decoder.unkeyedContainer()
274 | var status: HTTPField?
275 | while !container.isAtEnd {
| `- error: value of type 'any UnkeyedDecodingContainer' has no member 'isAtEnd'
276 | let field = try container.decode(HTTPField.self)
277 | switch field.name {
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPResponse.swift:280:41: error: type 'DecodingError' has no member 'dataCorruptedError'
278 | case .status:
279 | guard status == nil else {
280 | throw DecodingError.dataCorruptedError(
| `- error: type 'DecodingError' has no member 'dataCorruptedError'
281 | in: container,
282 | debugDescription: "Multiple \":status\" pseudo header fields"
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPResponse.swift:288:41: error: type 'DecodingError' has no member 'dataCorruptedError'
286 | default:
287 | guard field.name.rawName.utf8.first == UInt8(ascii: ":") else {
288 | throw DecodingError.dataCorruptedError(
| `- error: type 'DecodingError' has no member 'dataCorruptedError'
289 | in: container,
290 | debugDescription: "\"\(field)\" is not a pseudo header field"
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPResponse.swift:296:33: error: type 'DecodingError' has no member 'dataCorruptedError'
294 | }
295 | guard let status else {
296 | throw DecodingError.dataCorruptedError(
| `- error: type 'DecodingError' has no member 'dataCorruptedError'
297 | in: container,
298 | debugDescription: "\":status\" pseudo header field is missing"
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPResponse.swift:302:33: error: type 'DecodingError' has no member 'dataCorruptedError'
300 | }
301 | guard HTTPResponse.Status.isValidStatus(status.rawValue._storage) else {
302 | throw DecodingError.dataCorruptedError(
| `- error: type 'DecodingError' has no member 'dataCorruptedError'
303 | in: container,
304 | debugDescription: "\"\(status.rawValue._storage)\" is not a valid status code"
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPResponse.swift:320:23: error: value of type 'KeyedEncodingContainer<HTTPResponse.CodingKeys>' has no member 'encode'
318 | public func encode(to encoder: Encoder) throws {
319 | var container = encoder.container(keyedBy: CodingKeys.self)
320 | try container.encode(self.pseudoHeaderFields, forKey: .pseudoHeaderFields)
| `- error: value of type 'KeyedEncodingContainer<HTTPResponse.CodingKeys>' has no member 'encode'
321 | try container.encode(self.pseudoHeaderFields.reasonPhrase, forKey: .reasonPhrase)
322 | try container.encode(self.headerFields, forKey: .headerFields)
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPResponse.swift:320:64: error: cannot infer contextual base in reference to member 'pseudoHeaderFields'
318 | public func encode(to encoder: Encoder) throws {
319 | var container = encoder.container(keyedBy: CodingKeys.self)
320 | try container.encode(self.pseudoHeaderFields, forKey: .pseudoHeaderFields)
| `- error: cannot infer contextual base in reference to member 'pseudoHeaderFields'
321 | try container.encode(self.pseudoHeaderFields.reasonPhrase, forKey: .reasonPhrase)
322 | try container.encode(self.headerFields, forKey: .headerFields)
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPResponse.swift:321:23: error: value of type 'KeyedEncodingContainer<HTTPResponse.CodingKeys>' has no member 'encode'
319 | var container = encoder.container(keyedBy: CodingKeys.self)
320 | try container.encode(self.pseudoHeaderFields, forKey: .pseudoHeaderFields)
321 | try container.encode(self.pseudoHeaderFields.reasonPhrase, forKey: .reasonPhrase)
| `- error: value of type 'KeyedEncodingContainer<HTTPResponse.CodingKeys>' has no member 'encode'
322 | try container.encode(self.headerFields, forKey: .headerFields)
323 | }
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPResponse.swift:321:77: error: cannot infer contextual base in reference to member 'reasonPhrase'
319 | var container = encoder.container(keyedBy: CodingKeys.self)
320 | try container.encode(self.pseudoHeaderFields, forKey: .pseudoHeaderFields)
321 | try container.encode(self.pseudoHeaderFields.reasonPhrase, forKey: .reasonPhrase)
| `- error: cannot infer contextual base in reference to member 'reasonPhrase'
322 | try container.encode(self.headerFields, forKey: .headerFields)
323 | }
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPResponse.swift:322:23: error: value of type 'KeyedEncodingContainer<HTTPResponse.CodingKeys>' has no member 'encode'
320 | try container.encode(self.pseudoHeaderFields, forKey: .pseudoHeaderFields)
321 | try container.encode(self.pseudoHeaderFields.reasonPhrase, forKey: .reasonPhrase)
322 | try container.encode(self.headerFields, forKey: .headerFields)
| `- error: value of type 'KeyedEncodingContainer<HTTPResponse.CodingKeys>' has no member 'encode'
323 | }
324 |
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPResponse.swift:322:58: error: cannot infer contextual base in reference to member 'headerFields'
320 | try container.encode(self.pseudoHeaderFields, forKey: .pseudoHeaderFields)
321 | try container.encode(self.pseudoHeaderFields.reasonPhrase, forKey: .reasonPhrase)
322 | try container.encode(self.headerFields, forKey: .headerFields)
| `- error: cannot infer contextual base in reference to member 'headerFields'
323 | }
324 |
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPResponse.swift:331:49: error: value of type 'KeyedDecodingContainer<HTTPResponse.CodingKeys>' has no member 'decode'
329 | public init(from decoder: Decoder) throws {
330 | let container = try decoder.container(keyedBy: CodingKeys.self)
331 | self.pseudoHeaderFields = try container.decode(PseudoHeaderFields.self, forKey: .pseudoHeaderFields)
| `- error: value of type 'KeyedDecodingContainer<HTTPResponse.CodingKeys>' has no member 'decode'
332 | let reasonPhrase = try container.decode(String.self, forKey: .reasonPhrase)
333 | guard Status.isValidReasonPhrase(reasonPhrase) else {
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPResponse.swift:331:90: error: cannot infer contextual base in reference to member 'pseudoHeaderFields'
329 | public init(from decoder: Decoder) throws {
330 | let container = try decoder.container(keyedBy: CodingKeys.self)
331 | self.pseudoHeaderFields = try container.decode(PseudoHeaderFields.self, forKey: .pseudoHeaderFields)
| `- error: cannot infer contextual base in reference to member 'pseudoHeaderFields'
332 | let reasonPhrase = try container.decode(String.self, forKey: .reasonPhrase)
333 | guard Status.isValidReasonPhrase(reasonPhrase) else {
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPResponse.swift:332:42: error: value of type 'KeyedDecodingContainer<HTTPResponse.CodingKeys>' has no member 'decode'
330 | let container = try decoder.container(keyedBy: CodingKeys.self)
331 | self.pseudoHeaderFields = try container.decode(PseudoHeaderFields.self, forKey: .pseudoHeaderFields)
332 | let reasonPhrase = try container.decode(String.self, forKey: .reasonPhrase)
| `- error: value of type 'KeyedDecodingContainer<HTTPResponse.CodingKeys>' has no member 'decode'
333 | guard Status.isValidReasonPhrase(reasonPhrase) else {
334 | throw DecodingError.invalidReasonPhrase(reasonPhrase)
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPResponse.swift:332:71: error: cannot infer contextual base in reference to member 'reasonPhrase'
330 | let container = try decoder.container(keyedBy: CodingKeys.self)
331 | self.pseudoHeaderFields = try container.decode(PseudoHeaderFields.self, forKey: .pseudoHeaderFields)
332 | let reasonPhrase = try container.decode(String.self, forKey: .reasonPhrase)
| `- error: cannot infer contextual base in reference to member 'reasonPhrase'
333 | guard Status.isValidReasonPhrase(reasonPhrase) else {
334 | throw DecodingError.invalidReasonPhrase(reasonPhrase)
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPResponse.swift:337:43: error: value of type 'KeyedDecodingContainer<HTTPResponse.CodingKeys>' has no member 'decode'
335 | }
336 | self.pseudoHeaderFields.reasonPhrase = reasonPhrase
337 | self.headerFields = try container.decode(HTTPFields.self, forKey: .headerFields)
| `- error: value of type 'KeyedDecodingContainer<HTTPResponse.CodingKeys>' has no member 'decode'
338 | }
339 | }
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPResponse.swift:337:76: error: cannot infer contextual base in reference to member 'headerFields'
335 | }
336 | self.pseudoHeaderFields.reasonPhrase = reasonPhrase
337 | self.headerFields = try container.decode(HTTPFields.self, forKey: .headerFields)
| `- error: cannot infer contextual base in reference to member 'headerFields'
338 | }
339 | }
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/NIOLock.swift:146:27: error: type of expression is ambiguous without a type annotation
144 |
145 | static func create(value: Value) -> Self {
146 | let buffer = Self.create(minimumCapacity: 1) { _ in
| `- error: type of expression is ambiguous without a type annotation
147 | value
148 | }
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/NIOLock.swift:162:14: error: type of expression is ambiguous without a type annotation
160 |
161 | func lock() {
162 | self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: type of expression is ambiguous without a type annotation
163 | LockOperations.lock(lockPtr)
164 | }
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/NIOLock.swift:168:14: error: type of expression is ambiguous without a type annotation
166 |
167 | func unlock() {
168 | self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: type of expression is ambiguous without a type annotation
169 | LockOperations.unlock(lockPtr)
170 | }
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/NIOLock.swift:174:14: error: type of expression is ambiguous without a type annotation
172 |
173 | deinit {
174 | self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: type of expression is ambiguous without a type annotation
175 | LockOperations.destroy(lockPtr)
176 | }
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/NIOLock.swift:180:18: error: type of expression is ambiguous without a type annotation
178 |
179 | func withLockPrimitive<T>(_ body: (UnsafeMutablePointer<LockPrimitive>) throws -> T) rethrows -> T {
180 | try self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: type of expression is ambiguous without a type annotation
181 | try body(lockPtr)
182 | }
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/NIOLock.swift:186:18: error: type of expression is ambiguous without a type annotation
184 |
185 | func withLockedValue<T>(_ mutate: (inout Value) throws -> T) rethrows -> T {
186 | try self.withUnsafeMutablePointers { valuePtr, lockPtr in
| `- error: type of expression is ambiguous without a type annotation
187 | LockOperations.lock(lockPtr)
188 | defer { LockOperations.unlock(lockPtr) }
[8/10] Compiling HTTPTypes HTTPField.swift
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/NIOLock.swift:45:8: error: The concurrency NIOLock module was unable to identify your C library.
43 | #endif
44 | #else
45 | #error("The concurrency NIOLock module was unable to identify your C library.")
| `- error: The concurrency NIOLock module was unable to identify your C library.
46 | #endif
47 |
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPField.swift:222:22: error: cannot find type 'CustomPlaygroundDisplayConvertible' in scope
220 | }
221 |
222 | extension HTTPField: CustomPlaygroundDisplayConvertible {
| `- error: cannot find type 'CustomPlaygroundDisplayConvertible' in scope
223 | public var playgroundDescription: Any {
224 | self.description
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPField.swift:229:30: error: 'CodingKey' is unavailable: unavailable in embedded Swift
227 |
228 | extension HTTPField: Codable {
229 | enum CodingKeys: String, CodingKey {
| `- error: 'CodingKey' is unavailable: unavailable in embedded Swift
230 | case name
231 | case value
Swift.CodingKey:2:17: note: 'CodingKey' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol CodingKey {
| `- note: 'CodingKey' has been explicitly marked unavailable here
3 | }
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPField.swift:235:36: error: 'Encoder' is unavailable: unavailable in embedded Swift
233 | }
234 |
235 | public func encode(to encoder: Encoder) throws {
| `- error: 'Encoder' is unavailable: unavailable in embedded Swift
236 | var container = encoder.container(keyedBy: CodingKeys.self)
237 | try container.encode(self.name, forKey: .name)
Swift.Encoder:2:17: note: 'Encoder' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Encoder {
| `- note: 'Encoder' has been explicitly marked unavailable here
3 | var codingPath: [any CodingKey] { get }
4 | func container<Key>(keyedBy type: Key.Type) -> KeyedEncodingContainer<Key> where Key : CodingKey
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPField.swift:244:31: error: 'Decoder' is unavailable: unavailable in embedded Swift
242 | }
243 |
244 | public init(from decoder: Decoder) throws {
| `- error: 'Decoder' is unavailable: unavailable in embedded Swift
245 | let container = try decoder.container(keyedBy: CodingKeys.self)
246 | let name = try container.decode(Name.self, forKey: .name)
Swift.Decoder:2:17: note: 'Decoder' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Decoder {
| `- note: 'Decoder' has been explicitly marked unavailable here
3 | var codingPath: [any CodingKey] { get }
4 | func container<Key>(keyedBy type: Key.Type) throws -> KeyedDecodingContainer<Key> where Key : CodingKey
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPField.swift:228:22: error: 'Codable' is unavailable: unavailable in embedded Swift
226 | }
227 |
228 | extension HTTPField: Codable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
229 | enum CodingKeys: String, CodingKey {
230 | case name
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
| `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPField.swift:237:23: error: value of type 'KeyedEncodingContainer<HTTPField.CodingKeys>' has no member 'encode'
235 | public func encode(to encoder: Encoder) throws {
236 | var container = encoder.container(keyedBy: CodingKeys.self)
237 | try container.encode(self.name, forKey: .name)
| `- error: value of type 'KeyedEncodingContainer<HTTPField.CodingKeys>' has no member 'encode'
238 | try container.encode(self.rawValue._storage, forKey: .value)
239 | if self.indexingStrategy != .automatic {
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPField.swift:237:50: error: cannot infer contextual base in reference to member 'name'
235 | public func encode(to encoder: Encoder) throws {
236 | var container = encoder.container(keyedBy: CodingKeys.self)
237 | try container.encode(self.name, forKey: .name)
| `- error: cannot infer contextual base in reference to member 'name'
238 | try container.encode(self.rawValue._storage, forKey: .value)
239 | if self.indexingStrategy != .automatic {
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPField.swift:238:23: error: value of type 'KeyedEncodingContainer<HTTPField.CodingKeys>' has no member 'encode'
236 | var container = encoder.container(keyedBy: CodingKeys.self)
237 | try container.encode(self.name, forKey: .name)
238 | try container.encode(self.rawValue._storage, forKey: .value)
| `- error: value of type 'KeyedEncodingContainer<HTTPField.CodingKeys>' has no member 'encode'
239 | if self.indexingStrategy != .automatic {
240 | try container.encode(self.indexingStrategy.rawValue, forKey: .indexingStrategy)
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPField.swift:238:63: error: cannot infer contextual base in reference to member 'value'
236 | var container = encoder.container(keyedBy: CodingKeys.self)
237 | try container.encode(self.name, forKey: .name)
238 | try container.encode(self.rawValue._storage, forKey: .value)
| `- error: cannot infer contextual base in reference to member 'value'
239 | if self.indexingStrategy != .automatic {
240 | try container.encode(self.indexingStrategy.rawValue, forKey: .indexingStrategy)
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPField.swift:240:27: error: value of type 'KeyedEncodingContainer<HTTPField.CodingKeys>' has no member 'encode'
238 | try container.encode(self.rawValue._storage, forKey: .value)
239 | if self.indexingStrategy != .automatic {
240 | try container.encode(self.indexingStrategy.rawValue, forKey: .indexingStrategy)
| `- error: value of type 'KeyedEncodingContainer<HTTPField.CodingKeys>' has no member 'encode'
241 | }
242 | }
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPField.swift:240:75: error: cannot infer contextual base in reference to member 'indexingStrategy'
238 | try container.encode(self.rawValue._storage, forKey: .value)
239 | if self.indexingStrategy != .automatic {
240 | try container.encode(self.indexingStrategy.rawValue, forKey: .indexingStrategy)
| `- error: cannot infer contextual base in reference to member 'indexingStrategy'
241 | }
242 | }
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPField.swift:246:34: error: value of type 'KeyedDecodingContainer<HTTPField.CodingKeys>' has no member 'decode'
244 | public init(from decoder: Decoder) throws {
245 | let container = try decoder.container(keyedBy: CodingKeys.self)
246 | let name = try container.decode(Name.self, forKey: .name)
| `- error: value of type 'KeyedDecodingContainer<HTTPField.CodingKeys>' has no member 'decode'
247 | let value = try container.decode(String.self, forKey: .value)
248 | guard Self.isValidValue(value) else {
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPField.swift:246:61: error: cannot infer contextual base in reference to member 'name'
244 | public init(from decoder: Decoder) throws {
245 | let container = try decoder.container(keyedBy: CodingKeys.self)
246 | let name = try container.decode(Name.self, forKey: .name)
| `- error: cannot infer contextual base in reference to member 'name'
247 | let value = try container.decode(String.self, forKey: .value)
248 | guard Self.isValidValue(value) else {
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPField.swift:247:35: error: value of type 'KeyedDecodingContainer<HTTPField.CodingKeys>' has no member 'decode'
245 | let container = try decoder.container(keyedBy: CodingKeys.self)
246 | let name = try container.decode(Name.self, forKey: .name)
247 | let value = try container.decode(String.self, forKey: .value)
| `- error: value of type 'KeyedDecodingContainer<HTTPField.CodingKeys>' has no member 'decode'
248 | guard Self.isValidValue(value) else {
249 | throw DecodingError.dataCorruptedError(
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPField.swift:247:64: error: cannot infer contextual base in reference to member 'value'
245 | let container = try decoder.container(keyedBy: CodingKeys.self)
246 | let name = try container.decode(Name.self, forKey: .name)
247 | let value = try container.decode(String.self, forKey: .value)
| `- error: cannot infer contextual base in reference to member 'value'
248 | guard Self.isValidValue(value) else {
249 | throw DecodingError.dataCorruptedError(
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPField.swift:249:33: error: type 'DecodingError' has no member 'dataCorruptedError'
247 | let value = try container.decode(String.self, forKey: .value)
248 | guard Self.isValidValue(value) else {
249 | throw DecodingError.dataCorruptedError(
| `- error: type 'DecodingError' has no member 'dataCorruptedError'
250 | forKey: .value,
251 | in: container,
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPField.swift:250:26: error: cannot infer contextual base in reference to member 'value'
248 | guard Self.isValidValue(value) else {
249 | throw DecodingError.dataCorruptedError(
250 | forKey: .value,
| `- error: cannot infer contextual base in reference to member 'value'
251 | in: container,
252 | debugDescription: "HTTP field value \"\(value)\" contains invalid characters"
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPField.swift:256:54: error: value of type 'KeyedDecodingContainer<HTTPField.CodingKeys>' has no member 'decodeIfPresent'
254 | }
255 | self.init(name: name, uncheckedValue: ISOLatin1String(unchecked: value))
256 | if let indexingStrategyValue = try container.decodeIfPresent(UInt8.self, forKey: .indexingStrategy),
| `- error: value of type 'KeyedDecodingContainer<HTTPField.CodingKeys>' has no member 'decodeIfPresent'
257 | let indexingStrategy = DynamicTableIndexingStrategy(rawValue: indexingStrategyValue)
258 | {
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPField.swift:256:91: error: cannot infer contextual base in reference to member 'indexingStrategy'
254 | }
255 | self.init(name: name, uncheckedValue: ISOLatin1String(unchecked: value))
256 | if let indexingStrategyValue = try container.decodeIfPresent(UInt8.self, forKey: .indexingStrategy),
| `- error: cannot infer contextual base in reference to member 'indexingStrategy'
257 | let indexingStrategy = DynamicTableIndexingStrategy(rawValue: indexingStrategyValue)
258 | {
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPFieldName.swift:114:27: error: cannot find type 'CustomPlaygroundDisplayConvertible' in scope
112 | }
113 |
114 | extension HTTPField.Name: CustomPlaygroundDisplayConvertible {
| `- error: cannot find type 'CustomPlaygroundDisplayConvertible' in scope
115 | public var playgroundDescription: Any {
116 | self.description
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPFieldName.swift:121:36: error: 'Encoder' is unavailable: unavailable in embedded Swift
119 |
120 | extension HTTPField.Name: Codable {
121 | public func encode(to encoder: Encoder) throws {
| `- error: 'Encoder' is unavailable: unavailable in embedded Swift
122 | var container = encoder.singleValueContainer()
123 | try container.encode(self.rawName)
Swift.Encoder:2:17: note: 'Encoder' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Encoder {
| `- note: 'Encoder' has been explicitly marked unavailable here
3 | var codingPath: [any CodingKey] { get }
4 | func container<Key>(keyedBy type: Key.Type) -> KeyedEncodingContainer<Key> where Key : CodingKey
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPFieldName.swift:126:31: error: 'Decoder' is unavailable: unavailable in embedded Swift
124 | }
125 |
126 | public init(from decoder: Decoder) throws {
| `- error: 'Decoder' is unavailable: unavailable in embedded Swift
127 | let container = try decoder.singleValueContainer()
128 | let nameString = try container.decode(String.self)
Swift.Decoder:2:17: note: 'Decoder' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Decoder {
| `- note: 'Decoder' has been explicitly marked unavailable here
3 | var codingPath: [any CodingKey] { get }
4 | func container<Key>(keyedBy type: Key.Type) throws -> KeyedDecodingContainer<Key> where Key : CodingKey
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPFieldName.swift:120:27: error: 'Codable' is unavailable: unavailable in embedded Swift
118 | }
119 |
120 | extension HTTPField.Name: Codable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
121 | public func encode(to encoder: Encoder) throws {
122 | var container = encoder.singleValueContainer()
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
| `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPFieldName.swift:123:23: error: value of type 'any SingleValueEncodingContainer' has no member 'encode'
121 | public func encode(to encoder: Encoder) throws {
122 | var container = encoder.singleValueContainer()
123 | try container.encode(self.rawName)
| `- error: value of type 'any SingleValueEncodingContainer' has no member 'encode'
124 | }
125 |
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPFieldName.swift:128:40: error: value of type 'any SingleValueDecodingContainer' has no member 'decode'
126 | public init(from decoder: Decoder) throws {
127 | let container = try decoder.singleValueContainer()
128 | let nameString = try container.decode(String.self)
| `- error: value of type 'any SingleValueDecodingContainer' has no member 'decode'
129 | if nameString.utf8.first == UInt8(ascii: ":") {
130 | guard nameString.lowercased() == nameString,
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPFieldName.swift:133:37: error: type 'DecodingError' has no member 'dataCorruptedError'
131 | HTTPField.isValidToken(nameString.dropFirst())
132 | else {
133 | throw DecodingError.dataCorruptedError(
| `- error: type 'DecodingError' has no member 'dataCorruptedError'
134 | in: container,
135 | debugDescription: "HTTP pseudo field name \"\(nameString)\" contains invalid characters"
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPFieldName.swift:141:37: error: type 'DecodingError' has no member 'dataCorruptedError'
139 | } else {
140 | guard let name = Self(nameString) else {
141 | throw DecodingError.dataCorruptedError(
| `- error: type 'DecodingError' has no member 'dataCorruptedError'
142 | in: container,
143 | debugDescription: "HTTP field name \"\(nameString)\" contains invalid characters"
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPFields.swift:115:21: error: cannot find 'Mutex' in scope
113 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
114 | private final class _StorageWithMutex: _Storage, @unchecked Sendable {
115 | let mutex = Mutex<Void>(())
| `- error: cannot find 'Mutex' in scope
116 |
117 | override func withLock<Result>(_ body: () throws -> Result) rethrows -> Result {
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/NIOLock.swift:53:27: error: cannot find type 'pthread_mutex_t' in scope
51 | typealias LockPrimitive = os_unfair_lock
52 | #else
53 | typealias LockPrimitive = pthread_mutex_t
| `- error: cannot find type 'pthread_mutex_t' in scope
54 | #endif
55 |
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPFields.swift:367:36: error: 'Encoder' is unavailable: unavailable in embedded Swift
365 |
366 | extension HTTPFields: Codable {
367 | public func encode(to encoder: Encoder) throws {
| `- error: 'Encoder' is unavailable: unavailable in embedded Swift
368 | var container = encoder.unkeyedContainer()
369 | try container.encode(contentsOf: self)
Swift.Encoder:2:17: note: 'Encoder' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Encoder {
| `- note: 'Encoder' has been explicitly marked unavailable here
3 | var codingPath: [any CodingKey] { get }
4 | func container<Key>(keyedBy type: Key.Type) -> KeyedEncodingContainer<Key> where Key : CodingKey
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPFields.swift:372:31: error: 'Decoder' is unavailable: unavailable in embedded Swift
370 | }
371 |
372 | public init(from decoder: Decoder) throws {
| `- error: 'Decoder' is unavailable: unavailable in embedded Swift
373 | var container = try decoder.unkeyedContainer()
374 | if let count = container.count {
Swift.Decoder:2:17: note: 'Decoder' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Decoder {
| `- note: 'Decoder' has been explicitly marked unavailable here
3 | var codingPath: [any CodingKey] { get }
4 | func container<Key>(keyedBy type: Key.Type) throws -> KeyedDecodingContainer<Key> where Key : CodingKey
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPFields.swift:366:23: error: 'Codable' is unavailable: unavailable in embedded Swift
364 | }
365 |
366 | extension HTTPFields: Codable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
367 | public func encode(to encoder: Encoder) throws {
368 | var container = encoder.unkeyedContainer()
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
| `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPFields.swift:182:51: error: cannot convert value of type 'String' to expected argument type 'String.Element' (aka 'Character')
180 | {
181 | self.setFields(
182 | newValue.split(separator: "; ", omittingEmptySubsequences: false).lazy.map {
| `- error: cannot convert value of type 'String' to expected argument type 'String.Element' (aka 'Character')
183 | HTTPField(name: name, value: String($0))
184 | },
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPFields.swift:362:30: error: 'description' is unavailable: unavailable in embedded Swift
360 | extension HTTPFields: CustomDebugStringConvertible {
361 | public var debugDescription: String {
362 | self._storage.fields.description
| `- error: 'description' is unavailable: unavailable in embedded Swift
363 | }
364 | }
Swift.Array.description:2:12: note: 'description' has been explicitly marked unavailable here
1 | generic struct Array {
2 | public var description: String { get }}
| `- note: 'description' has been explicitly marked unavailable here
3 |
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPFields.swift:369:29: error: extraneous argument label 'contentsOf:' in call
367 | public func encode(to encoder: Encoder) throws {
368 | var container = encoder.unkeyedContainer()
369 | try container.encode(contentsOf: self)
| `- error: extraneous argument label 'contentsOf:' in call
370 | }
371 |
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPFields.swift:374:34: error: value of type 'any UnkeyedDecodingContainer' has no member 'count'
372 | public init(from decoder: Decoder) throws {
373 | var container = try decoder.unkeyedContainer()
374 | if let count = container.count {
| `- error: value of type 'any UnkeyedDecodingContainer' has no member 'count'
375 | self.reserveCapacity(count)
376 | }
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPFields.swift:377:26: error: value of type 'any UnkeyedDecodingContainer' has no member 'isAtEnd'
375 | self.reserveCapacity(count)
376 | }
377 | while !container.isAtEnd {
| `- error: value of type 'any UnkeyedDecodingContainer' has no member 'isAtEnd'
378 | let field = try container.decode(HTTPField.self)
379 | guard !field.name.isPseudo else {
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPFields.swift:380:37: error: type 'DecodingError' has no member 'dataCorruptedError'
378 | let field = try container.decode(HTTPField.self)
379 | guard !field.name.isPseudo else {
380 | throw DecodingError.dataCorruptedError(
| `- error: type 'DecodingError' has no member 'dataCorruptedError'
381 | in: container,
382 | debugDescription: "Pseudo header field \"\(field)\" disallowed"
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPRequest.swift:336:36: error: 'Encoder' is unavailable: unavailable in embedded Swift
334 |
335 | extension HTTPRequest.PseudoHeaderFields: Codable {
336 | public func encode(to encoder: Encoder) throws {
| `- error: 'Encoder' is unavailable: unavailable in embedded Swift
337 | var container = encoder.unkeyedContainer()
338 | try container.encode(self.method)
Swift.Encoder:2:17: note: 'Encoder' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Encoder {
| `- note: 'Encoder' has been explicitly marked unavailable here
3 | var codingPath: [any CodingKey] { get }
4 | func container<Key>(keyedBy type: Key.Type) -> KeyedEncodingContainer<Key> where Key : CodingKey
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPRequest.swift:353:31: error: 'Decoder' is unavailable: unavailable in embedded Swift
351 | }
352 |
353 | public init(from decoder: Decoder) throws {
| `- error: 'Decoder' is unavailable: unavailable in embedded Swift
354 | var container = try decoder.unkeyedContainer()
355 | var method: HTTPField?
Swift.Decoder:2:17: note: 'Decoder' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Decoder {
| `- note: 'Decoder' has been explicitly marked unavailable here
3 | var codingPath: [any CodingKey] { get }
4 | func container<Key>(keyedBy type: Key.Type) throws -> KeyedDecodingContainer<Key> where Key : CodingKey
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPRequest.swift:335:43: error: 'Codable' is unavailable: unavailable in embedded Swift
333 | }
334 |
335 | extension HTTPRequest.PseudoHeaderFields: Codable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
336 | public func encode(to encoder: Encoder) throws {
337 | var container = encoder.unkeyedContainer()
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
| `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPRequest.swift:435:30: error: 'CodingKey' is unavailable: unavailable in embedded Swift
433 |
434 | extension HTTPRequest: Codable {
435 | enum CodingKeys: String, CodingKey {
| `- error: 'CodingKey' is unavailable: unavailable in embedded Swift
436 | case pseudoHeaderFields
437 | case headerFields
Swift.CodingKey:2:17: note: 'CodingKey' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol CodingKey {
| `- note: 'CodingKey' has been explicitly marked unavailable here
3 | }
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPRequest.swift:440:36: error: 'Encoder' is unavailable: unavailable in embedded Swift
438 | }
439 |
440 | public func encode(to encoder: Encoder) throws {
| `- error: 'Encoder' is unavailable: unavailable in embedded Swift
441 | var container = encoder.container(keyedBy: CodingKeys.self)
442 | try container.encode(self.pseudoHeaderFields, forKey: .pseudoHeaderFields)
Swift.Encoder:2:17: note: 'Encoder' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Encoder {
| `- note: 'Encoder' has been explicitly marked unavailable here
3 | var codingPath: [any CodingKey] { get }
4 | func container<Key>(keyedBy type: Key.Type) -> KeyedEncodingContainer<Key> where Key : CodingKey
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPRequest.swift:446:31: error: 'Decoder' is unavailable: unavailable in embedded Swift
444 | }
445 |
446 | public init(from decoder: Decoder) throws {
| `- error: 'Decoder' is unavailable: unavailable in embedded Swift
447 | let container = try decoder.container(keyedBy: CodingKeys.self)
448 | self.pseudoHeaderFields = try container.decode(PseudoHeaderFields.self, forKey: .pseudoHeaderFields)
Swift.Decoder:2:17: note: 'Decoder' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Decoder {
| `- note: 'Decoder' has been explicitly marked unavailable here
3 | var codingPath: [any CodingKey] { get }
4 | func container<Key>(keyedBy type: Key.Type) throws -> KeyedDecodingContainer<Key> where Key : CodingKey
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPRequest.swift:434:24: error: 'Codable' is unavailable: unavailable in embedded Swift
432 | }
433 |
434 | extension HTTPRequest: Codable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
435 | enum CodingKeys: String, CodingKey {
436 | case pseudoHeaderFields
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
| `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPRequest.swift:360:26: error: value of type 'any UnkeyedDecodingContainer' has no member 'isAtEnd'
358 | var path: HTTPField?
359 | var extendedConnectProtocol: HTTPField?
360 | while !container.isAtEnd {
| `- error: value of type 'any UnkeyedDecodingContainer' has no member 'isAtEnd'
361 | let field = try container.decode(HTTPField.self)
362 | switch field.name {
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPRequest.swift:365:41: error: type 'DecodingError' has no member 'dataCorruptedError'
363 | case .method:
364 | guard method == nil else {
365 | throw DecodingError.dataCorruptedError(
| `- error: type 'DecodingError' has no member 'dataCorruptedError'
366 | in: container,
367 | debugDescription: "Multiple \":method\" pseudo header fields"
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPRequest.swift:373:41: error: type 'DecodingError' has no member 'dataCorruptedError'
371 | case .scheme:
372 | guard scheme == nil else {
373 | throw DecodingError.dataCorruptedError(
| `- error: type 'DecodingError' has no member 'dataCorruptedError'
374 | in: container,
375 | debugDescription: "Multiple \":scheme\" pseudo header fields"
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPRequest.swift:381:41: error: type 'DecodingError' has no member 'dataCorruptedError'
379 | case .authority:
380 | guard authority == nil else {
381 | throw DecodingError.dataCorruptedError(
| `- error: type 'DecodingError' has no member 'dataCorruptedError'
382 | in: container,
383 | debugDescription: "Multiple \":authority\" pseudo header fields"
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPRequest.swift:389:41: error: type 'DecodingError' has no member 'dataCorruptedError'
387 | case .path:
388 | guard path == nil else {
389 | throw DecodingError.dataCorruptedError(
| `- error: type 'DecodingError' has no member 'dataCorruptedError'
390 | in: container,
391 | debugDescription: "Multiple \":path\" pseudo header fields"
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPRequest.swift:397:41: error: type 'DecodingError' has no member 'dataCorruptedError'
395 | case .protocol:
396 | guard extendedConnectProtocol == nil else {
397 | throw DecodingError.dataCorruptedError(
| `- error: type 'DecodingError' has no member 'dataCorruptedError'
398 | in: container,
399 | debugDescription: "Multiple \":protocol\" pseudo header fields"
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPRequest.swift:405:41: error: type 'DecodingError' has no member 'dataCorruptedError'
403 | default:
404 | guard field.name.rawName.utf8.first == UInt8(ascii: ":") else {
405 | throw DecodingError.dataCorruptedError(
| `- error: type 'DecodingError' has no member 'dataCorruptedError'
406 | in: container,
407 | debugDescription: "\"\(field)\" is not a pseudo header field"
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPRequest.swift:413:33: error: type 'DecodingError' has no member 'dataCorruptedError'
411 | }
412 | guard let method else {
413 | throw DecodingError.dataCorruptedError(
| `- error: type 'DecodingError' has no member 'dataCorruptedError'
414 | in: container,
415 | debugDescription: "\":method\" pseudo header field is missing"
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPRequest.swift:419:33: error: type 'DecodingError' has no member 'dataCorruptedError'
417 | }
418 | guard HTTPField.isValidToken(method.rawValue._storage) else {
419 | throw DecodingError.dataCorruptedError(
| `- error: type 'DecodingError' has no member 'dataCorruptedError'
420 | in: container,
421 | debugDescription: "\"\(method.rawValue._storage)\" is not a valid method"
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPRequest.swift:442:23: error: value of type 'KeyedEncodingContainer<HTTPRequest.CodingKeys>' has no member 'encode'
440 | public func encode(to encoder: Encoder) throws {
441 | var container = encoder.container(keyedBy: CodingKeys.self)
442 | try container.encode(self.pseudoHeaderFields, forKey: .pseudoHeaderFields)
| `- error: value of type 'KeyedEncodingContainer<HTTPRequest.CodingKeys>' has no member 'encode'
443 | try container.encode(self.headerFields, forKey: .headerFields)
444 | }
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPRequest.swift:442:64: error: cannot infer contextual base in reference to member 'pseudoHeaderFields'
440 | public func encode(to encoder: Encoder) throws {
441 | var container = encoder.container(keyedBy: CodingKeys.self)
442 | try container.encode(self.pseudoHeaderFields, forKey: .pseudoHeaderFields)
| `- error: cannot infer contextual base in reference to member 'pseudoHeaderFields'
443 | try container.encode(self.headerFields, forKey: .headerFields)
444 | }
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPRequest.swift:443:23: error: value of type 'KeyedEncodingContainer<HTTPRequest.CodingKeys>' has no member 'encode'
441 | var container = encoder.container(keyedBy: CodingKeys.self)
442 | try container.encode(self.pseudoHeaderFields, forKey: .pseudoHeaderFields)
443 | try container.encode(self.headerFields, forKey: .headerFields)
| `- error: value of type 'KeyedEncodingContainer<HTTPRequest.CodingKeys>' has no member 'encode'
444 | }
445 |
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPRequest.swift:443:58: error: cannot infer contextual base in reference to member 'headerFields'
441 | var container = encoder.container(keyedBy: CodingKeys.self)
442 | try container.encode(self.pseudoHeaderFields, forKey: .pseudoHeaderFields)
443 | try container.encode(self.headerFields, forKey: .headerFields)
| `- error: cannot infer contextual base in reference to member 'headerFields'
444 | }
445 |
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPRequest.swift:448:49: error: value of type 'KeyedDecodingContainer<HTTPRequest.CodingKeys>' has no member 'decode'
446 | public init(from decoder: Decoder) throws {
447 | let container = try decoder.container(keyedBy: CodingKeys.self)
448 | self.pseudoHeaderFields = try container.decode(PseudoHeaderFields.self, forKey: .pseudoHeaderFields)
| `- error: value of type 'KeyedDecodingContainer<HTTPRequest.CodingKeys>' has no member 'decode'
449 | self.headerFields = try container.decode(HTTPFields.self, forKey: .headerFields)
450 | }
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPRequest.swift:448:90: error: cannot infer contextual base in reference to member 'pseudoHeaderFields'
446 | public init(from decoder: Decoder) throws {
447 | let container = try decoder.container(keyedBy: CodingKeys.self)
448 | self.pseudoHeaderFields = try container.decode(PseudoHeaderFields.self, forKey: .pseudoHeaderFields)
| `- error: cannot infer contextual base in reference to member 'pseudoHeaderFields'
449 | self.headerFields = try container.decode(HTTPFields.self, forKey: .headerFields)
450 | }
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPRequest.swift:449:43: error: value of type 'KeyedDecodingContainer<HTTPRequest.CodingKeys>' has no member 'decode'
447 | let container = try decoder.container(keyedBy: CodingKeys.self)
448 | self.pseudoHeaderFields = try container.decode(PseudoHeaderFields.self, forKey: .pseudoHeaderFields)
449 | self.headerFields = try container.decode(HTTPFields.self, forKey: .headerFields)
| `- error: value of type 'KeyedDecodingContainer<HTTPRequest.CodingKeys>' has no member 'decode'
450 | }
451 | }
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPRequest.swift:449:76: error: cannot infer contextual base in reference to member 'headerFields'
447 | let container = try decoder.container(keyedBy: CodingKeys.self)
448 | self.pseudoHeaderFields = try container.decode(PseudoHeaderFields.self, forKey: .pseudoHeaderFields)
449 | self.headerFields = try container.decode(HTTPFields.self, forKey: .headerFields)
| `- error: cannot infer contextual base in reference to member 'headerFields'
450 | }
451 | }
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPResponse.swift:267:36: error: 'Encoder' is unavailable: unavailable in embedded Swift
265 |
266 | extension HTTPResponse.PseudoHeaderFields: Codable {
267 | public func encode(to encoder: Encoder) throws {
| `- error: 'Encoder' is unavailable: unavailable in embedded Swift
268 | var container = encoder.unkeyedContainer()
269 | try container.encode(self.status)
Swift.Encoder:2:17: note: 'Encoder' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Encoder {
| `- note: 'Encoder' has been explicitly marked unavailable here
3 | var codingPath: [any CodingKey] { get }
4 | func container<Key>(keyedBy type: Key.Type) -> KeyedEncodingContainer<Key> where Key : CodingKey
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPResponse.swift:272:31: error: 'Decoder' is unavailable: unavailable in embedded Swift
270 | }
271 |
272 | public init(from decoder: Decoder) throws {
| `- error: 'Decoder' is unavailable: unavailable in embedded Swift
273 | var container = try decoder.unkeyedContainer()
274 | var status: HTTPField?
Swift.Decoder:2:17: note: 'Decoder' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Decoder {
| `- note: 'Decoder' has been explicitly marked unavailable here
3 | var codingPath: [any CodingKey] { get }
4 | func container<Key>(keyedBy type: Key.Type) throws -> KeyedDecodingContainer<Key> where Key : CodingKey
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPResponse.swift:266:44: error: 'Codable' is unavailable: unavailable in embedded Swift
264 | }
265 |
266 | extension HTTPResponse.PseudoHeaderFields: Codable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
267 | public func encode(to encoder: Encoder) throws {
268 | var container = encoder.unkeyedContainer()
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
| `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPResponse.swift:312:30: error: 'CodingKey' is unavailable: unavailable in embedded Swift
310 |
311 | extension HTTPResponse: Codable {
312 | enum CodingKeys: String, CodingKey {
| `- error: 'CodingKey' is unavailable: unavailable in embedded Swift
313 | case pseudoHeaderFields
314 | case headerFields
Swift.CodingKey:2:17: note: 'CodingKey' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol CodingKey {
| `- note: 'CodingKey' has been explicitly marked unavailable here
3 | }
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPResponse.swift:318:36: error: 'Encoder' is unavailable: unavailable in embedded Swift
316 | }
317 |
318 | public func encode(to encoder: Encoder) throws {
| `- error: 'Encoder' is unavailable: unavailable in embedded Swift
319 | var container = encoder.container(keyedBy: CodingKeys.self)
320 | try container.encode(self.pseudoHeaderFields, forKey: .pseudoHeaderFields)
Swift.Encoder:2:17: note: 'Encoder' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Encoder {
| `- note: 'Encoder' has been explicitly marked unavailable here
3 | var codingPath: [any CodingKey] { get }
4 | func container<Key>(keyedBy type: Key.Type) -> KeyedEncodingContainer<Key> where Key : CodingKey
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPResponse.swift:329:31: error: 'Decoder' is unavailable: unavailable in embedded Swift
327 | }
328 |
329 | public init(from decoder: Decoder) throws {
| `- error: 'Decoder' is unavailable: unavailable in embedded Swift
330 | let container = try decoder.container(keyedBy: CodingKeys.self)
331 | self.pseudoHeaderFields = try container.decode(PseudoHeaderFields.self, forKey: .pseudoHeaderFields)
Swift.Decoder:2:17: note: 'Decoder' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Decoder {
| `- note: 'Decoder' has been explicitly marked unavailable here
3 | var codingPath: [any CodingKey] { get }
4 | func container<Key>(keyedBy type: Key.Type) throws -> KeyedDecodingContainer<Key> where Key : CodingKey
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPResponse.swift:311:25: error: 'Codable' is unavailable: unavailable in embedded Swift
309 | }
310 |
311 | extension HTTPResponse: Codable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
312 | enum CodingKeys: String, CodingKey {
313 | case pseudoHeaderFields
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
| `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPResponse.swift:275:26: error: value of type 'any UnkeyedDecodingContainer' has no member 'isAtEnd'
273 | var container = try decoder.unkeyedContainer()
274 | var status: HTTPField?
275 | while !container.isAtEnd {
| `- error: value of type 'any UnkeyedDecodingContainer' has no member 'isAtEnd'
276 | let field = try container.decode(HTTPField.self)
277 | switch field.name {
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPResponse.swift:280:41: error: type 'DecodingError' has no member 'dataCorruptedError'
278 | case .status:
279 | guard status == nil else {
280 | throw DecodingError.dataCorruptedError(
| `- error: type 'DecodingError' has no member 'dataCorruptedError'
281 | in: container,
282 | debugDescription: "Multiple \":status\" pseudo header fields"
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPResponse.swift:288:41: error: type 'DecodingError' has no member 'dataCorruptedError'
286 | default:
287 | guard field.name.rawName.utf8.first == UInt8(ascii: ":") else {
288 | throw DecodingError.dataCorruptedError(
| `- error: type 'DecodingError' has no member 'dataCorruptedError'
289 | in: container,
290 | debugDescription: "\"\(field)\" is not a pseudo header field"
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPResponse.swift:296:33: error: type 'DecodingError' has no member 'dataCorruptedError'
294 | }
295 | guard let status else {
296 | throw DecodingError.dataCorruptedError(
| `- error: type 'DecodingError' has no member 'dataCorruptedError'
297 | in: container,
298 | debugDescription: "\":status\" pseudo header field is missing"
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPResponse.swift:302:33: error: type 'DecodingError' has no member 'dataCorruptedError'
300 | }
301 | guard HTTPResponse.Status.isValidStatus(status.rawValue._storage) else {
302 | throw DecodingError.dataCorruptedError(
| `- error: type 'DecodingError' has no member 'dataCorruptedError'
303 | in: container,
304 | debugDescription: "\"\(status.rawValue._storage)\" is not a valid status code"
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPResponse.swift:320:23: error: value of type 'KeyedEncodingContainer<HTTPResponse.CodingKeys>' has no member 'encode'
318 | public func encode(to encoder: Encoder) throws {
319 | var container = encoder.container(keyedBy: CodingKeys.self)
320 | try container.encode(self.pseudoHeaderFields, forKey: .pseudoHeaderFields)
| `- error: value of type 'KeyedEncodingContainer<HTTPResponse.CodingKeys>' has no member 'encode'
321 | try container.encode(self.pseudoHeaderFields.reasonPhrase, forKey: .reasonPhrase)
322 | try container.encode(self.headerFields, forKey: .headerFields)
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPResponse.swift:320:64: error: cannot infer contextual base in reference to member 'pseudoHeaderFields'
318 | public func encode(to encoder: Encoder) throws {
319 | var container = encoder.container(keyedBy: CodingKeys.self)
320 | try container.encode(self.pseudoHeaderFields, forKey: .pseudoHeaderFields)
| `- error: cannot infer contextual base in reference to member 'pseudoHeaderFields'
321 | try container.encode(self.pseudoHeaderFields.reasonPhrase, forKey: .reasonPhrase)
322 | try container.encode(self.headerFields, forKey: .headerFields)
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPResponse.swift:321:23: error: value of type 'KeyedEncodingContainer<HTTPResponse.CodingKeys>' has no member 'encode'
319 | var container = encoder.container(keyedBy: CodingKeys.self)
320 | try container.encode(self.pseudoHeaderFields, forKey: .pseudoHeaderFields)
321 | try container.encode(self.pseudoHeaderFields.reasonPhrase, forKey: .reasonPhrase)
| `- error: value of type 'KeyedEncodingContainer<HTTPResponse.CodingKeys>' has no member 'encode'
322 | try container.encode(self.headerFields, forKey: .headerFields)
323 | }
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPResponse.swift:321:77: error: cannot infer contextual base in reference to member 'reasonPhrase'
319 | var container = encoder.container(keyedBy: CodingKeys.self)
320 | try container.encode(self.pseudoHeaderFields, forKey: .pseudoHeaderFields)
321 | try container.encode(self.pseudoHeaderFields.reasonPhrase, forKey: .reasonPhrase)
| `- error: cannot infer contextual base in reference to member 'reasonPhrase'
322 | try container.encode(self.headerFields, forKey: .headerFields)
323 | }
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPResponse.swift:322:23: error: value of type 'KeyedEncodingContainer<HTTPResponse.CodingKeys>' has no member 'encode'
320 | try container.encode(self.pseudoHeaderFields, forKey: .pseudoHeaderFields)
321 | try container.encode(self.pseudoHeaderFields.reasonPhrase, forKey: .reasonPhrase)
322 | try container.encode(self.headerFields, forKey: .headerFields)
| `- error: value of type 'KeyedEncodingContainer<HTTPResponse.CodingKeys>' has no member 'encode'
323 | }
324 |
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPResponse.swift:322:58: error: cannot infer contextual base in reference to member 'headerFields'
320 | try container.encode(self.pseudoHeaderFields, forKey: .pseudoHeaderFields)
321 | try container.encode(self.pseudoHeaderFields.reasonPhrase, forKey: .reasonPhrase)
322 | try container.encode(self.headerFields, forKey: .headerFields)
| `- error: cannot infer contextual base in reference to member 'headerFields'
323 | }
324 |
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPResponse.swift:331:49: error: value of type 'KeyedDecodingContainer<HTTPResponse.CodingKeys>' has no member 'decode'
329 | public init(from decoder: Decoder) throws {
330 | let container = try decoder.container(keyedBy: CodingKeys.self)
331 | self.pseudoHeaderFields = try container.decode(PseudoHeaderFields.self, forKey: .pseudoHeaderFields)
| `- error: value of type 'KeyedDecodingContainer<HTTPResponse.CodingKeys>' has no member 'decode'
332 | let reasonPhrase = try container.decode(String.self, forKey: .reasonPhrase)
333 | guard Status.isValidReasonPhrase(reasonPhrase) else {
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPResponse.swift:331:90: error: cannot infer contextual base in reference to member 'pseudoHeaderFields'
329 | public init(from decoder: Decoder) throws {
330 | let container = try decoder.container(keyedBy: CodingKeys.self)
331 | self.pseudoHeaderFields = try container.decode(PseudoHeaderFields.self, forKey: .pseudoHeaderFields)
| `- error: cannot infer contextual base in reference to member 'pseudoHeaderFields'
332 | let reasonPhrase = try container.decode(String.self, forKey: .reasonPhrase)
333 | guard Status.isValidReasonPhrase(reasonPhrase) else {
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPResponse.swift:332:42: error: value of type 'KeyedDecodingContainer<HTTPResponse.CodingKeys>' has no member 'decode'
330 | let container = try decoder.container(keyedBy: CodingKeys.self)
331 | self.pseudoHeaderFields = try container.decode(PseudoHeaderFields.self, forKey: .pseudoHeaderFields)
332 | let reasonPhrase = try container.decode(String.self, forKey: .reasonPhrase)
| `- error: value of type 'KeyedDecodingContainer<HTTPResponse.CodingKeys>' has no member 'decode'
333 | guard Status.isValidReasonPhrase(reasonPhrase) else {
334 | throw DecodingError.invalidReasonPhrase(reasonPhrase)
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPResponse.swift:332:71: error: cannot infer contextual base in reference to member 'reasonPhrase'
330 | let container = try decoder.container(keyedBy: CodingKeys.self)
331 | self.pseudoHeaderFields = try container.decode(PseudoHeaderFields.self, forKey: .pseudoHeaderFields)
332 | let reasonPhrase = try container.decode(String.self, forKey: .reasonPhrase)
| `- error: cannot infer contextual base in reference to member 'reasonPhrase'
333 | guard Status.isValidReasonPhrase(reasonPhrase) else {
334 | throw DecodingError.invalidReasonPhrase(reasonPhrase)
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPResponse.swift:337:43: error: value of type 'KeyedDecodingContainer<HTTPResponse.CodingKeys>' has no member 'decode'
335 | }
336 | self.pseudoHeaderFields.reasonPhrase = reasonPhrase
337 | self.headerFields = try container.decode(HTTPFields.self, forKey: .headerFields)
| `- error: value of type 'KeyedDecodingContainer<HTTPResponse.CodingKeys>' has no member 'decode'
338 | }
339 | }
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPResponse.swift:337:76: error: cannot infer contextual base in reference to member 'headerFields'
335 | }
336 | self.pseudoHeaderFields.reasonPhrase = reasonPhrase
337 | self.headerFields = try container.decode(HTTPFields.self, forKey: .headerFields)
| `- error: cannot infer contextual base in reference to member 'headerFields'
338 | }
339 | }
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/NIOLock.swift:146:27: error: type of expression is ambiguous without a type annotation
144 |
145 | static func create(value: Value) -> Self {
146 | let buffer = Self.create(minimumCapacity: 1) { _ in
| `- error: type of expression is ambiguous without a type annotation
147 | value
148 | }
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/NIOLock.swift:162:14: error: type of expression is ambiguous without a type annotation
160 |
161 | func lock() {
162 | self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: type of expression is ambiguous without a type annotation
163 | LockOperations.lock(lockPtr)
164 | }
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/NIOLock.swift:168:14: error: type of expression is ambiguous without a type annotation
166 |
167 | func unlock() {
168 | self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: type of expression is ambiguous without a type annotation
169 | LockOperations.unlock(lockPtr)
170 | }
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/NIOLock.swift:174:14: error: type of expression is ambiguous without a type annotation
172 |
173 | deinit {
174 | self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: type of expression is ambiguous without a type annotation
175 | LockOperations.destroy(lockPtr)
176 | }
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/NIOLock.swift:180:18: error: type of expression is ambiguous without a type annotation
178 |
179 | func withLockPrimitive<T>(_ body: (UnsafeMutablePointer<LockPrimitive>) throws -> T) rethrows -> T {
180 | try self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: type of expression is ambiguous without a type annotation
181 | try body(lockPtr)
182 | }
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/NIOLock.swift:186:18: error: type of expression is ambiguous without a type annotation
184 |
185 | func withLockedValue<T>(_ mutate: (inout Value) throws -> T) rethrows -> T {
186 | try self.withUnsafeMutablePointers { valuePtr, lockPtr in
| `- error: type of expression is ambiguous without a type annotation
187 | LockOperations.lock(lockPtr)
188 | defer { LockOperations.unlock(lockPtr) }
[9/10] Emitting module InternalCollectionsUtilities
BUILD FAILURE 6.2 wasm