Build Information
Successful build of Compatibility, reference v1.12.0 (33d3df), with Swift 6.0 for Linux on 13 Oct 2025 21:24:08 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
189 | extension Version: @retroactive Equatable {}
190 | #endif
/host/spi-builder-workspace/Sources/Foundation/Version.swift:236:10: warning: unknown operating system for build configuration 'os'
234 |
235 | // TODO: Convert to Swift Testing
236 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
237 | @MainActor
238 | #endif
/host/spi-builder-workspace/Sources/Foundation/Version.swift:273:10: warning: unknown operating system for build configuration 'os'
271 | }
272 |
273 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
274 | @MainActor
275 | #endif
/host/spi-builder-workspace/Sources/Foundation/Version.swift:288:10: warning: unknown operating system for build configuration 'os'
286 | let c: Version = "3.0.1"
287 | let array = [one, two, three, a, b, c]
288 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
289 | let json = array.asJSON()
290 | let expected = """
/host/spi-builder-workspace/Sources/Foundation/Version.swift:305:10: warning: unknown operating system for build configuration 'os'
303 |
304 | #if compiler(>=5.9)
305 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
306 | @MainActor
307 | #endif
/host/spi-builder-workspace/Sources/Core/Test.swift:18:10: warning: unknown operating system for build configuration 'os'
16 | // set breakpoint on this line if we want to debug/inspect errors (note that this slows enough to mess with time stamp checks so disable once we know everything is working).
17 | if let debugString {
18 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
19 | throw CustomError(debugString)
20 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:25:35: warning: unknown operating system for build configuration 'os'
23 | #endif
24 | } else {
25 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
26 | let isMainThread = Thread.isMainThread
27 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:39:10: warning: unknown operating system for build configuration 'os'
37 | file, function, line, column)
38 |
39 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
40 | throw CustomError(context)
41 | #else
/host/spi-builder-workspace/Sources/Foundation/Version.swift:91:20: warning: conformance of 'OperatingSystemVersion' to protocol 'Decodable' was already stated in the type's module 'FoundationEssentials'
89 | }
90 | #else
91 | extension Version: Decodable {}
| `- warning: conformance of 'OperatingSystemVersion' to protocol 'Decodable' was already stated in the type's module 'FoundationEssentials'
92 | extension Version: Encodable {}
93 | #endif
FoundationEssentials.OperatingSystemVersion:1:15: note: 'OperatingSystemVersion' declares conformance to protocol 'Decodable' here
1 | public struct OperatingSystemVersion : Hashable, Codable, Sendable {
| `- note: 'OperatingSystemVersion' declares conformance to protocol 'Decodable' here
2 | public let majorVersion: Int
3 | public let minorVersion: Int
/host/spi-builder-workspace/Sources/Foundation/Version.swift:92:20: warning: conformance of 'OperatingSystemVersion' to protocol 'Encodable' was already stated in the type's module 'FoundationEssentials'
90 | #else
91 | extension Version: Decodable {}
92 | extension Version: Encodable {}
| `- warning: conformance of 'OperatingSystemVersion' to protocol 'Encodable' was already stated in the type's module 'FoundationEssentials'
93 | #endif
94 |
FoundationEssentials.OperatingSystemVersion:1:15: note: 'OperatingSystemVersion' declares conformance to protocol 'Encodable' here
1 | public struct OperatingSystemVersion : Hashable, Codable, Sendable {
| `- note: 'OperatingSystemVersion' declares conformance to protocol 'Encodable' here
2 | public let majorVersion: Int
3 | public let minorVersion: Int
/host/spi-builder-workspace/Sources/Foundation/Version.swift:189:33: warning: conformance of 'OperatingSystemVersion' to protocol 'Equatable' was already stated in the type's module 'FoundationEssentials'
187 | }
188 | #if canImport(Foundation) && compiler(>=6.0) && !canImport(Android) && !(os(WASM) || os(WASI))
189 | extension Version: @retroactive Equatable {}
| `- warning: conformance of 'OperatingSystemVersion' to protocol 'Equatable' was already stated in the type's module 'FoundationEssentials'
190 | #endif
191 | extension Version: Swift.Comparable { // @retroactive in Swift 6?
FoundationEssentials.OperatingSystemVersion:1:15: note: 'OperatingSystemVersion' declares conformance to protocol 'Equatable' here
1 | public struct OperatingSystemVersion : Hashable, Codable, Sendable {
| `- note: 'OperatingSystemVersion' declares conformance to protocol 'Equatable' here
2 | public let majorVersion: Int
3 | public let minorVersion: Int
[32/51] Compiling Compatibility Version.swift
/host/spi-builder-workspace/Sources/Foundation/OrderedSet.swift:335:10: warning: unknown operating system for build configuration 'os'
333 | }
334 |
335 | #if !(os(WASM) || os(WASI)) // WASM doesn't have access to Codable or Mirror.
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
336 | // MARK: - Codable
337 | extension OrderedSet: Encodable where Element: Encodable {
/host/spi-builder-workspace/Sources/Foundation/OrderedSet.swift:830:10: warning: unknown operating system for build configuration 'os'
828 | orderedSet.sort()
829 | try expect(orderedSet.isEqualSet(to: copiedSet))
830 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
831 | try expect(!orderedSet.debugDescription.isEmpty)
832 | try expect(!orderedSet.description.isEmpty)
/host/spi-builder-workspace/Sources/Foundation/String.swift:352:10: warning: unknown operating system for build configuration 'os'
350 | """
351 |
352 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
353 | @MainActor
354 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:397:10: warning: unknown operating system for build configuration 'os'
395 | static let INVALID_ENCODING = "INVALID_ENCODING"
396 |
397 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
398 | @MainActor
399 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:422:10: warning: unknown operating system for build configuration 'os'
420 | // test for optional numeric ?? with String
421 | let opDouble: Double? = 2.34
422 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
423 | try expect("\(opDouble ?? "nil")" == "2.34")
424 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:584:10: warning: unknown operating system for build configuration 'os'
582 | }
583 |
584 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
585 | @MainActor
586 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:596:35: warning: unknown operating system for build configuration 'os'
594 | var test = "the/quick/brown/fix.txt"
595 |
596 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
597 | try expect("\(Date.nowBackport.year)".isPostIndustrialYear)
598 |
/host/spi-builder-workspace/Sources/Foundation/String.swift:657:35: warning: unknown operating system for build configuration 'os'
655 |
656 | try expect("h\"\\ello".addSlashes() == "h\\\"\\\\ello")
657 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
658 | var json = ""
659 | debugSuppress {
/host/spi-builder-workspace/Sources/Foundation/String.swift:757:10: warning: unknown operating system for build configuration 'os'
755 | }
756 | public extension String {
757 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
758 | @MainActor
759 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:773:10: warning: unknown operating system for build configuration 'os'
771 | try expect(trim.trimmingCharacters(in: "dol") == "r")
772 | }
773 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
774 | @MainActor
775 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:982:10: warning: unknown operating system for build configuration 'os'
980 | return fixed.joined(separator: ".")
981 | }
982 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
983 | @MainActor
984 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:987:10: warning: unknown operating system for build configuration 'os'
985 | internal static let testSentenceCapitalized: TestClosure = {
986 | let capitalized = "hello world. goodbye world.".sentenceCapitalized
987 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
988 | try expect(capitalized == "Hello world. Goodbye world.", String(describing:capitalized))
989 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1110:10: warning: unknown operating system for build configuration 'os'
1108 | #endif
1109 |
1110 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1111 | @MainActor
1112 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1183:10: warning: unknown operating system for build configuration 'os'
1181 |
1182 | // MARK: - Parsing
1183 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1184 | @MainActor
1185 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1258:10: warning: unknown operating system for build configuration 'os'
1256 | }
1257 | internal static let TEST_STRING = "A long string with some <em>intérressant</em> properties!"
1258 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1259 | @MainActor
1260 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1263:10: warning: unknown operating system for build configuration 'os'
1261 | internal static let testExtractTags: TestClosure = {
1262 | let extraction = TEST_STRING.extract(from: "<em>", to: "</em>") // should never fail
1263 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1264 | try expect(extraction == "intérressant" , String(describing:extraction))
1265 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1267:10: warning: unknown operating system for build configuration 'os'
1265 | #endif
1266 | }
1267 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1268 | @MainActor
1269 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1272:10: warning: unknown operating system for build configuration 'os'
1270 | internal static let testExtractNilStart: TestClosure = {
1271 | let extraction = TEST_STRING.extract(from: nil, to: "string")
1272 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1273 | try expect(extraction == "A long " , String(describing:extraction))
1274 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1276:10: warning: unknown operating system for build configuration 'os'
1274 | #endif
1275 | }
1276 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1277 | @MainActor
1278 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1281:10: warning: unknown operating system for build configuration 'os'
1279 | internal static let testExtractNilEnd: TestClosure = {
1280 | let extraction = TEST_STRING.extract(from: "</em>", to: nil)
1281 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1282 | try expect(extraction == " properties!" , String(describing:extraction))
1283 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1285:10: warning: unknown operating system for build configuration 'os'
1283 | #endif
1284 | }
1285 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1286 | @MainActor
1287 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1290:10: warning: unknown operating system for build configuration 'os'
1288 | internal static let testExtractMissingStart: TestClosure = {
1289 | let extraction = TEST_STRING.extract(from: "<strong>", to: "</em>")
1290 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1291 | try expect(extraction == nil , String(describing:extraction))
1292 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1294:10: warning: unknown operating system for build configuration 'os'
1292 | #endif
1293 | }
1294 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1295 | @MainActor
1296 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1299:10: warning: unknown operating system for build configuration 'os'
1297 | internal static let testExtractMissingEnd: TestClosure = {
1298 | let extraction = TEST_STRING.extract(from: "<em>", to: "</strong>")
1299 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1300 | try expect(extraction == nil , String(describing:extraction))
1301 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1340:10: warning: unknown operating system for build configuration 'os'
1338 | /// Returns `self` as the `errorMessage` parameter of a JSON object with a `success` parameter equal to `false`. Pass a debug `level` to also print a debug statement as the provided `level`.
1339 | func asErrorJSON(level: DebugLevel = .NOTICE) -> String {
1340 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1341 | debug(self, level: level)
1342 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1368:10: warning: unknown operating system for build configuration 'os'
1366 | #if compiler(>=5.9)
1367 | @available(iOS 13, tvOS 13, watchOS 6, *)
1368 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1369 | @MainActor
1370 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1392:10: warning: unknown operating system for build configuration 'os'
1390 | // TODO: See where we can use @autoclosure in Kudit Frameworks to delay execution (particularly in test frameworks!)
1391 |
1392 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1393 | public protocol Defaultable {}
1394 | extension Bool: Defaultable {}
/host/spi-builder-workspace/Sources/Foundation/String.swift:1431:10: warning: unknown operating system for build configuration 'os'
1429 | #endif
1430 |
1431 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1432 | @MainActor
1433 | #endif
/host/spi-builder-workspace/Sources/Foundation/Threading.swift:9:9: warning: unknown operating system for build configuration 'os'
7 | //
8 |
9 | #if (os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
10 | /// Backport of main that does nothing since threads are not supported on WASM
11 | /// Run code on main thread - all code is executed on main thread already in embedded systems.
/host/spi-builder-workspace/Sources/Foundation/Threading.swift:19:14: warning: unknown operating system for build configuration 'os'
17 | #if (os(iOS) || os(macOS) || os(tvOS) || os(watchOS) || os(visionOS) || os(Linux)) && canImport(Foundation) // Don't run on WASM or Android
18 | // Use built-in Thread and Dispatch
19 | #elseif !(os(WASM) || os(WASI)) // not supported on WASM or Android
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
20 | // Backport Thread for code on WASM or Android
21 | // None of this is public since this is just for internal supports.
/host/spi-builder-workspace/Sources/Foundation/Threading.swift:75:10: warning: unknown operating system for build configuration 'os'
73 | }
74 |
75 | #if !(os(WASM) || os(WASI)) // unable to run this on WASM
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
76 | // Implemented as static funcs with global wrappers in case something like View creates similarly named functions like background and we need to reference this specific version.
77 |
/host/spi-builder-workspace/Sources/Foundation/Version.swift:8:35: warning: unknown operating system for build configuration 'os'
6 | //
7 |
8 | #if !canImport(Foundation) || (os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
9 | // Compatibility OperatingSystemVersion for Linux
10 | public struct OperatingSystemVersion : Sendable {
/host/spi-builder-workspace/Sources/Foundation/Version.swift:64:10: warning: unknown operating system for build configuration 'os'
62 |
63 | // MARK: - Codable conformance so stored as string rather than as a structure of values.
64 | #if !(os(WASM) || os(WASI) || os(Linux))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
65 | extension Version: Swift.Decodable {
66 | enum CodingKeys: String, CodingKey {
/host/spi-builder-workspace/Sources/Foundation/Version.swift:95:77: warning: unknown operating system for build configuration 'os'
93 | #endif
94 |
95 | #if canImport(Foundation) && compiler(>=6.0) && !canImport(Android) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
96 | extension OperatingSystemVersion: @retroactive ExpressibleByExtendedGraphemeClusterLiteral {}
97 | extension OperatingSystemVersion: @retroactive ExpressibleByUnicodeScalarLiteral {}
/host/spi-builder-workspace/Sources/Foundation/Version.swift:163:10: warning: unknown operating system for build configuration 'os'
161 | } else {
162 | // invalid character. Just ignore
163 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
164 | debug("Invalid character when parsing version: \(forcing) (\(character))", level: .SILENT)
165 | #else
/host/spi-builder-workspace/Sources/Foundation/Version.swift:188:77: warning: unknown operating system for build configuration 'os'
186 | }
187 | }
188 | #if canImport(Foundation) && compiler(>=6.0) && !canImport(Android) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
189 | extension Version: @retroactive Equatable {}
190 | #endif
/host/spi-builder-workspace/Sources/Foundation/Version.swift:236:10: warning: unknown operating system for build configuration 'os'
234 |
235 | // TODO: Convert to Swift Testing
236 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
237 | @MainActor
238 | #endif
/host/spi-builder-workspace/Sources/Foundation/Version.swift:273:10: warning: unknown operating system for build configuration 'os'
271 | }
272 |
273 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
274 | @MainActor
275 | #endif
/host/spi-builder-workspace/Sources/Foundation/Version.swift:288:10: warning: unknown operating system for build configuration 'os'
286 | let c: Version = "3.0.1"
287 | let array = [one, two, three, a, b, c]
288 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
289 | let json = array.asJSON()
290 | let expected = """
/host/spi-builder-workspace/Sources/Foundation/Version.swift:305:10: warning: unknown operating system for build configuration 'os'
303 |
304 | #if compiler(>=5.9)
305 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
306 | @MainActor
307 | #endif
/host/spi-builder-workspace/Sources/Core/Test.swift:18:10: warning: unknown operating system for build configuration 'os'
16 | // set breakpoint on this line if we want to debug/inspect errors (note that this slows enough to mess with time stamp checks so disable once we know everything is working).
17 | if let debugString {
18 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
19 | throw CustomError(debugString)
20 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:25:35: warning: unknown operating system for build configuration 'os'
23 | #endif
24 | } else {
25 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
26 | let isMainThread = Thread.isMainThread
27 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:39:10: warning: unknown operating system for build configuration 'os'
37 | file, function, line, column)
38 |
39 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
40 | throw CustomError(context)
41 | #else
/host/spi-builder-workspace/Sources/Foundation/Version.swift:91:20: warning: conformance of 'OperatingSystemVersion' to protocol 'Decodable' was already stated in the type's module 'FoundationEssentials'
89 | }
90 | #else
91 | extension Version: Decodable {}
| `- warning: conformance of 'OperatingSystemVersion' to protocol 'Decodable' was already stated in the type's module 'FoundationEssentials'
92 | extension Version: Encodable {}
93 | #endif
FoundationEssentials.OperatingSystemVersion:1:15: note: 'OperatingSystemVersion' declares conformance to protocol 'Decodable' here
1 | public struct OperatingSystemVersion : Hashable, Codable, Sendable {
| `- note: 'OperatingSystemVersion' declares conformance to protocol 'Decodable' here
2 | public let majorVersion: Int
3 | public let minorVersion: Int
/host/spi-builder-workspace/Sources/Foundation/Version.swift:92:20: warning: conformance of 'OperatingSystemVersion' to protocol 'Encodable' was already stated in the type's module 'FoundationEssentials'
90 | #else
91 | extension Version: Decodable {}
92 | extension Version: Encodable {}
| `- warning: conformance of 'OperatingSystemVersion' to protocol 'Encodable' was already stated in the type's module 'FoundationEssentials'
93 | #endif
94 |
FoundationEssentials.OperatingSystemVersion:1:15: note: 'OperatingSystemVersion' declares conformance to protocol 'Encodable' here
1 | public struct OperatingSystemVersion : Hashable, Codable, Sendable {
| `- note: 'OperatingSystemVersion' declares conformance to protocol 'Encodable' here
2 | public let majorVersion: Int
3 | public let minorVersion: Int
/host/spi-builder-workspace/Sources/Foundation/Version.swift:189:33: warning: conformance of 'OperatingSystemVersion' to protocol 'Equatable' was already stated in the type's module 'FoundationEssentials'
187 | }
188 | #if canImport(Foundation) && compiler(>=6.0) && !canImport(Android) && !(os(WASM) || os(WASI))
189 | extension Version: @retroactive Equatable {}
| `- warning: conformance of 'OperatingSystemVersion' to protocol 'Equatable' was already stated in the type's module 'FoundationEssentials'
190 | #endif
191 | extension Version: Swift.Comparable { // @retroactive in Swift 6?
FoundationEssentials.OperatingSystemVersion:1:15: note: 'OperatingSystemVersion' declares conformance to protocol 'Equatable' here
1 | public struct OperatingSystemVersion : Hashable, Codable, Sendable {
| `- note: 'OperatingSystemVersion' declares conformance to protocol 'Equatable' here
2 | public let majorVersion: Int
3 | public let minorVersion: Int
[33/51] Compiling Compatibility AdaptiveLayouts.swift
/host/spi-builder-workspace/Sources/Foundation/OrderedSet.swift:335:10: warning: unknown operating system for build configuration 'os'
333 | }
334 |
335 | #if !(os(WASM) || os(WASI)) // WASM doesn't have access to Codable or Mirror.
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
336 | // MARK: - Codable
337 | extension OrderedSet: Encodable where Element: Encodable {
/host/spi-builder-workspace/Sources/Foundation/OrderedSet.swift:830:10: warning: unknown operating system for build configuration 'os'
828 | orderedSet.sort()
829 | try expect(orderedSet.isEqualSet(to: copiedSet))
830 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
831 | try expect(!orderedSet.debugDescription.isEmpty)
832 | try expect(!orderedSet.description.isEmpty)
/host/spi-builder-workspace/Sources/Foundation/String.swift:352:10: warning: unknown operating system for build configuration 'os'
350 | """
351 |
352 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
353 | @MainActor
354 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:397:10: warning: unknown operating system for build configuration 'os'
395 | static let INVALID_ENCODING = "INVALID_ENCODING"
396 |
397 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
398 | @MainActor
399 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:422:10: warning: unknown operating system for build configuration 'os'
420 | // test for optional numeric ?? with String
421 | let opDouble: Double? = 2.34
422 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
423 | try expect("\(opDouble ?? "nil")" == "2.34")
424 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:584:10: warning: unknown operating system for build configuration 'os'
582 | }
583 |
584 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
585 | @MainActor
586 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:596:35: warning: unknown operating system for build configuration 'os'
594 | var test = "the/quick/brown/fix.txt"
595 |
596 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
597 | try expect("\(Date.nowBackport.year)".isPostIndustrialYear)
598 |
/host/spi-builder-workspace/Sources/Foundation/String.swift:657:35: warning: unknown operating system for build configuration 'os'
655 |
656 | try expect("h\"\\ello".addSlashes() == "h\\\"\\\\ello")
657 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
658 | var json = ""
659 | debugSuppress {
/host/spi-builder-workspace/Sources/Foundation/String.swift:757:10: warning: unknown operating system for build configuration 'os'
755 | }
756 | public extension String {
757 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
758 | @MainActor
759 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:773:10: warning: unknown operating system for build configuration 'os'
771 | try expect(trim.trimmingCharacters(in: "dol") == "r")
772 | }
773 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
774 | @MainActor
775 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:982:10: warning: unknown operating system for build configuration 'os'
980 | return fixed.joined(separator: ".")
981 | }
982 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
983 | @MainActor
984 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:987:10: warning: unknown operating system for build configuration 'os'
985 | internal static let testSentenceCapitalized: TestClosure = {
986 | let capitalized = "hello world. goodbye world.".sentenceCapitalized
987 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
988 | try expect(capitalized == "Hello world. Goodbye world.", String(describing:capitalized))
989 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1110:10: warning: unknown operating system for build configuration 'os'
1108 | #endif
1109 |
1110 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1111 | @MainActor
1112 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1183:10: warning: unknown operating system for build configuration 'os'
1181 |
1182 | // MARK: - Parsing
1183 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1184 | @MainActor
1185 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1258:10: warning: unknown operating system for build configuration 'os'
1256 | }
1257 | internal static let TEST_STRING = "A long string with some <em>intérressant</em> properties!"
1258 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1259 | @MainActor
1260 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1263:10: warning: unknown operating system for build configuration 'os'
1261 | internal static let testExtractTags: TestClosure = {
1262 | let extraction = TEST_STRING.extract(from: "<em>", to: "</em>") // should never fail
1263 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1264 | try expect(extraction == "intérressant" , String(describing:extraction))
1265 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1267:10: warning: unknown operating system for build configuration 'os'
1265 | #endif
1266 | }
1267 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1268 | @MainActor
1269 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1272:10: warning: unknown operating system for build configuration 'os'
1270 | internal static let testExtractNilStart: TestClosure = {
1271 | let extraction = TEST_STRING.extract(from: nil, to: "string")
1272 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1273 | try expect(extraction == "A long " , String(describing:extraction))
1274 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1276:10: warning: unknown operating system for build configuration 'os'
1274 | #endif
1275 | }
1276 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1277 | @MainActor
1278 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1281:10: warning: unknown operating system for build configuration 'os'
1279 | internal static let testExtractNilEnd: TestClosure = {
1280 | let extraction = TEST_STRING.extract(from: "</em>", to: nil)
1281 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1282 | try expect(extraction == " properties!" , String(describing:extraction))
1283 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1285:10: warning: unknown operating system for build configuration 'os'
1283 | #endif
1284 | }
1285 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1286 | @MainActor
1287 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1290:10: warning: unknown operating system for build configuration 'os'
1288 | internal static let testExtractMissingStart: TestClosure = {
1289 | let extraction = TEST_STRING.extract(from: "<strong>", to: "</em>")
1290 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1291 | try expect(extraction == nil , String(describing:extraction))
1292 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1294:10: warning: unknown operating system for build configuration 'os'
1292 | #endif
1293 | }
1294 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1295 | @MainActor
1296 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1299:10: warning: unknown operating system for build configuration 'os'
1297 | internal static let testExtractMissingEnd: TestClosure = {
1298 | let extraction = TEST_STRING.extract(from: "<em>", to: "</strong>")
1299 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1300 | try expect(extraction == nil , String(describing:extraction))
1301 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1340:10: warning: unknown operating system for build configuration 'os'
1338 | /// Returns `self` as the `errorMessage` parameter of a JSON object with a `success` parameter equal to `false`. Pass a debug `level` to also print a debug statement as the provided `level`.
1339 | func asErrorJSON(level: DebugLevel = .NOTICE) -> String {
1340 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1341 | debug(self, level: level)
1342 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1368:10: warning: unknown operating system for build configuration 'os'
1366 | #if compiler(>=5.9)
1367 | @available(iOS 13, tvOS 13, watchOS 6, *)
1368 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1369 | @MainActor
1370 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1392:10: warning: unknown operating system for build configuration 'os'
1390 | // TODO: See where we can use @autoclosure in Kudit Frameworks to delay execution (particularly in test frameworks!)
1391 |
1392 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1393 | public protocol Defaultable {}
1394 | extension Bool: Defaultable {}
/host/spi-builder-workspace/Sources/Foundation/String.swift:1431:10: warning: unknown operating system for build configuration 'os'
1429 | #endif
1430 |
1431 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1432 | @MainActor
1433 | #endif
/host/spi-builder-workspace/Sources/Foundation/Threading.swift:9:9: warning: unknown operating system for build configuration 'os'
7 | //
8 |
9 | #if (os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
10 | /// Backport of main that does nothing since threads are not supported on WASM
11 | /// Run code on main thread - all code is executed on main thread already in embedded systems.
/host/spi-builder-workspace/Sources/Foundation/Threading.swift:19:14: warning: unknown operating system for build configuration 'os'
17 | #if (os(iOS) || os(macOS) || os(tvOS) || os(watchOS) || os(visionOS) || os(Linux)) && canImport(Foundation) // Don't run on WASM or Android
18 | // Use built-in Thread and Dispatch
19 | #elseif !(os(WASM) || os(WASI)) // not supported on WASM or Android
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
20 | // Backport Thread for code on WASM or Android
21 | // None of this is public since this is just for internal supports.
/host/spi-builder-workspace/Sources/Foundation/Threading.swift:75:10: warning: unknown operating system for build configuration 'os'
73 | }
74 |
75 | #if !(os(WASM) || os(WASI)) // unable to run this on WASM
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
76 | // Implemented as static funcs with global wrappers in case something like View creates similarly named functions like background and we need to reference this specific version.
77 |
/host/spi-builder-workspace/Sources/Foundation/Version.swift:8:35: warning: unknown operating system for build configuration 'os'
6 | //
7 |
8 | #if !canImport(Foundation) || (os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
9 | // Compatibility OperatingSystemVersion for Linux
10 | public struct OperatingSystemVersion : Sendable {
/host/spi-builder-workspace/Sources/Foundation/Version.swift:64:10: warning: unknown operating system for build configuration 'os'
62 |
63 | // MARK: - Codable conformance so stored as string rather than as a structure of values.
64 | #if !(os(WASM) || os(WASI) || os(Linux))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
65 | extension Version: Swift.Decodable {
66 | enum CodingKeys: String, CodingKey {
/host/spi-builder-workspace/Sources/Foundation/Version.swift:95:77: warning: unknown operating system for build configuration 'os'
93 | #endif
94 |
95 | #if canImport(Foundation) && compiler(>=6.0) && !canImport(Android) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
96 | extension OperatingSystemVersion: @retroactive ExpressibleByExtendedGraphemeClusterLiteral {}
97 | extension OperatingSystemVersion: @retroactive ExpressibleByUnicodeScalarLiteral {}
/host/spi-builder-workspace/Sources/Foundation/Version.swift:163:10: warning: unknown operating system for build configuration 'os'
161 | } else {
162 | // invalid character. Just ignore
163 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
164 | debug("Invalid character when parsing version: \(forcing) (\(character))", level: .SILENT)
165 | #else
/host/spi-builder-workspace/Sources/Foundation/Version.swift:188:77: warning: unknown operating system for build configuration 'os'
186 | }
187 | }
188 | #if canImport(Foundation) && compiler(>=6.0) && !canImport(Android) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
189 | extension Version: @retroactive Equatable {}
190 | #endif
/host/spi-builder-workspace/Sources/Foundation/Version.swift:236:10: warning: unknown operating system for build configuration 'os'
234 |
235 | // TODO: Convert to Swift Testing
236 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
237 | @MainActor
238 | #endif
/host/spi-builder-workspace/Sources/Foundation/Version.swift:273:10: warning: unknown operating system for build configuration 'os'
271 | }
272 |
273 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
274 | @MainActor
275 | #endif
/host/spi-builder-workspace/Sources/Foundation/Version.swift:288:10: warning: unknown operating system for build configuration 'os'
286 | let c: Version = "3.0.1"
287 | let array = [one, two, three, a, b, c]
288 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
289 | let json = array.asJSON()
290 | let expected = """
/host/spi-builder-workspace/Sources/Foundation/Version.swift:305:10: warning: unknown operating system for build configuration 'os'
303 |
304 | #if compiler(>=5.9)
305 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
306 | @MainActor
307 | #endif
/host/spi-builder-workspace/Sources/Core/Test.swift:18:10: warning: unknown operating system for build configuration 'os'
16 | // set breakpoint on this line if we want to debug/inspect errors (note that this slows enough to mess with time stamp checks so disable once we know everything is working).
17 | if let debugString {
18 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
19 | throw CustomError(debugString)
20 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:25:35: warning: unknown operating system for build configuration 'os'
23 | #endif
24 | } else {
25 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
26 | let isMainThread = Thread.isMainThread
27 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:39:10: warning: unknown operating system for build configuration 'os'
37 | file, function, line, column)
38 |
39 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
40 | throw CustomError(context)
41 | #else
/host/spi-builder-workspace/Sources/Foundation/Version.swift:91:20: warning: conformance of 'OperatingSystemVersion' to protocol 'Decodable' was already stated in the type's module 'FoundationEssentials'
89 | }
90 | #else
91 | extension Version: Decodable {}
| `- warning: conformance of 'OperatingSystemVersion' to protocol 'Decodable' was already stated in the type's module 'FoundationEssentials'
92 | extension Version: Encodable {}
93 | #endif
FoundationEssentials.OperatingSystemVersion:1:15: note: 'OperatingSystemVersion' declares conformance to protocol 'Decodable' here
1 | public struct OperatingSystemVersion : Hashable, Codable, Sendable {
| `- note: 'OperatingSystemVersion' declares conformance to protocol 'Decodable' here
2 | public let majorVersion: Int
3 | public let minorVersion: Int
/host/spi-builder-workspace/Sources/Foundation/Version.swift:92:20: warning: conformance of 'OperatingSystemVersion' to protocol 'Encodable' was already stated in the type's module 'FoundationEssentials'
90 | #else
91 | extension Version: Decodable {}
92 | extension Version: Encodable {}
| `- warning: conformance of 'OperatingSystemVersion' to protocol 'Encodable' was already stated in the type's module 'FoundationEssentials'
93 | #endif
94 |
FoundationEssentials.OperatingSystemVersion:1:15: note: 'OperatingSystemVersion' declares conformance to protocol 'Encodable' here
1 | public struct OperatingSystemVersion : Hashable, Codable, Sendable {
| `- note: 'OperatingSystemVersion' declares conformance to protocol 'Encodable' here
2 | public let majorVersion: Int
3 | public let minorVersion: Int
/host/spi-builder-workspace/Sources/Foundation/Version.swift:189:33: warning: conformance of 'OperatingSystemVersion' to protocol 'Equatable' was already stated in the type's module 'FoundationEssentials'
187 | }
188 | #if canImport(Foundation) && compiler(>=6.0) && !canImport(Android) && !(os(WASM) || os(WASI))
189 | extension Version: @retroactive Equatable {}
| `- warning: conformance of 'OperatingSystemVersion' to protocol 'Equatable' was already stated in the type's module 'FoundationEssentials'
190 | #endif
191 | extension Version: Swift.Comparable { // @retroactive in Swift 6?
FoundationEssentials.OperatingSystemVersion:1:15: note: 'OperatingSystemVersion' declares conformance to protocol 'Equatable' here
1 | public struct OperatingSystemVersion : Hashable, Codable, Sendable {
| `- note: 'OperatingSystemVersion' declares conformance to protocol 'Equatable' here
2 | public let majorVersion: Int
3 | public let minorVersion: Int
[34/51] Compiling Compatibility CodingFoundation.swift
/host/spi-builder-workspace/Sources/Foundation/CodingJSON.swift:3:10: warning: unknown operating system for build configuration 'os'
1 | // MARK: - JSON management (simplified)
2 |
3 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
4 | #if canImport(Foundation)
5 | public extension Encodable {
/host/spi-builder-workspace/Sources/Foundation/CodingJSON.swift:261:22: warning: unknown operating system for build configuration 'os'
259 |
260 | if numberStr.contains(".") || numberStr.contains("e") || numberStr.contains("E") {
261 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
262 | if let d = Double(numberStr) {
263 | return .double(d)
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:13:10: warning: unknown operating system for build configuration 'os'
11 | public typealias MixedTypeDictionary = Dictionary<String,MixedTypeField?>
12 | public typealias MixedTypeArray = [MixedTypeField?]
13 | #if !(os(WASM) || os(WASI)) // not available in embedded Swift due to not being able to dynamically cast Any in encoding: function.
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
14 | public extension MixedTypeDictionary {
15 | /// Initializes with a Dictionary. Returns nil if Dictionary.Key is not LosslessStringConvertible.
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:27:10: warning: unknown operating system for build configuration 'os'
25 | }
26 | #endif
27 | #if !(os(WASM) || os(WASI)) && canImport(Foundation) // not available
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
28 | extension MixedTypeField: Codable {}
29 | #endif
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:39:10: warning: unknown operating system for build configuration 'os'
37 | case array([MixedTypeField?])
38 |
39 | #if !(os(WASM) || os(WASI)) && canImport(Foundation) // not available
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
40 | public init(from decoder: Decoder) throws {
41 | let container = try decoder.singleValueContainer()
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:63:10: warning: unknown operating system for build configuration 'os'
61 | #endif
62 |
63 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
64 | public init?(encoding value: Any?) { // dynamic typecasting isn't available in embedded Swift :(
65 | guard let value else {
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:94:10: warning: unknown operating system for build configuration 'os'
92 | #endif
93 |
94 | #if !(os(WASM) || os(WASI)) && canImport(Foundation) // not available
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
95 | public func encode(to encoder: Encoder) throws {
96 | var container = encoder.singleValueContainer()
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:165:10: warning: unknown operating system for build configuration 'os'
163 |
164 | // MARK: - Coding Support
165 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
166 | public extension Encodable {
167 | func asMixedTypeField() throws -> MixedTypeField {
/host/spi-builder-workspace/Sources/Foundation/Date.swift:177:18: warning: unknown operating system for build configuration 'os'
175 | internal static let testTimes: TestClosure = {
176 | let nowTest = nowBackport
177 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
178 | try expect(nowBackport.mysqlDateTime == nowTest.mysqlDateTime, "\(nowBackport) != \(nowTest)")
179 | // tests without expectations
/host/spi-builder-workspace/Sources/Foundation/Date.swift:211:54: warning: unknown operating system for build configuration 'os'
209 |
210 | // Testing is only supported with Swift 5.9+
211 | #if compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
212 | @available(iOS 13, macOS 12, tvOS 13, watchOS 6, *)
213 | public extension Date {
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:45:35: warning: unknown operating system for build configuration 'os'
43 | //a AM/PM for 12-hour format
44 |
45 | #if canImport(Foundation) && !(os(WASM) || os(WASI)) // not available in WASM?
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
46 | #if canImport(Combine) // not available in Linux
47 | @available(iOS 15, macOS 12, tvOS 15, watchOS 8, *)
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:157:10: warning: unknown operating system for build configuration 'os'
155 |
156 | // MARK: - Tests
157 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
158 | @MainActor
159 | #endif
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:167:10: warning: unknown operating system for build configuration 'os'
165 | }
166 | @available(macOS 12, *)
167 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
168 | @MainActor
169 | #endif
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:182:10: warning: unknown operating system for build configuration 'os'
180 | try expect(dateTimeString.mysqlDate == "2023-01-02", dateTimeString.mysqlDate)
181 | }
182 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
183 | @MainActor
184 | #endif
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:229:35: warning: unknown operating system for build configuration 'os'
227 | /// A string representation of a date time. When getting this as a date, it will attempt to parse various formats the string could be in to allow a variety of formats. You can add other formats here to expand the support. Add mappings in the date initializer if you need other formats supported.
228 | public protocol DateStringRepresentation: RawRepresentable, Sendable, Hashable, Codable, Comparable, DateRepresentable, ExpressibleByStringLiteral, ExpressibleByStringInterpolation, LosslessStringConvertible where RawValue == String {
229 | #if canImport(Foundation) && !(os(WASM) || os(WASI)) // not available in WASM?
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
230 | var date: Date? { get }
231 | #endif
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:251:35: warning: unknown operating system for build configuration 'os'
249 | }
250 |
251 | #if canImport(Foundation) && !(os(WASM) || os(WASI)) // not available in WASM?
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
252 | var date: Date? {
253 | return Date(parse: rawValue)
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:275:35: warning: unknown operating system for build configuration 'os'
273 | }
274 |
275 | #if canImport(Foundation) && !(os(WASM) || os(WASI)) // not available in WASM?
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
276 | // MARK: - Formatted output
277 | public extension DateRepresentable {
/host/spi-builder-workspace/Sources/Core/Test.swift:18:10: warning: unknown operating system for build configuration 'os'
16 | // set breakpoint on this line if we want to debug/inspect errors (note that this slows enough to mess with time stamp checks so disable once we know everything is working).
17 | if let debugString {
18 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
19 | throw CustomError(debugString)
20 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:25:35: warning: unknown operating system for build configuration 'os'
23 | #endif
24 | } else {
25 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
26 | let isMainThread = Thread.isMainThread
27 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:39:10: warning: unknown operating system for build configuration 'os'
37 | file, function, line, column)
38 |
39 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
40 | throw CustomError(context)
41 | #else
[35/51] Compiling Compatibility CodingJSON.swift
/host/spi-builder-workspace/Sources/Foundation/CodingJSON.swift:3:10: warning: unknown operating system for build configuration 'os'
1 | // MARK: - JSON management (simplified)
2 |
3 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
4 | #if canImport(Foundation)
5 | public extension Encodable {
/host/spi-builder-workspace/Sources/Foundation/CodingJSON.swift:261:22: warning: unknown operating system for build configuration 'os'
259 |
260 | if numberStr.contains(".") || numberStr.contains("e") || numberStr.contains("E") {
261 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
262 | if let d = Double(numberStr) {
263 | return .double(d)
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:13:10: warning: unknown operating system for build configuration 'os'
11 | public typealias MixedTypeDictionary = Dictionary<String,MixedTypeField?>
12 | public typealias MixedTypeArray = [MixedTypeField?]
13 | #if !(os(WASM) || os(WASI)) // not available in embedded Swift due to not being able to dynamically cast Any in encoding: function.
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
14 | public extension MixedTypeDictionary {
15 | /// Initializes with a Dictionary. Returns nil if Dictionary.Key is not LosslessStringConvertible.
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:27:10: warning: unknown operating system for build configuration 'os'
25 | }
26 | #endif
27 | #if !(os(WASM) || os(WASI)) && canImport(Foundation) // not available
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
28 | extension MixedTypeField: Codable {}
29 | #endif
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:39:10: warning: unknown operating system for build configuration 'os'
37 | case array([MixedTypeField?])
38 |
39 | #if !(os(WASM) || os(WASI)) && canImport(Foundation) // not available
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
40 | public init(from decoder: Decoder) throws {
41 | let container = try decoder.singleValueContainer()
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:63:10: warning: unknown operating system for build configuration 'os'
61 | #endif
62 |
63 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
64 | public init?(encoding value: Any?) { // dynamic typecasting isn't available in embedded Swift :(
65 | guard let value else {
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:94:10: warning: unknown operating system for build configuration 'os'
92 | #endif
93 |
94 | #if !(os(WASM) || os(WASI)) && canImport(Foundation) // not available
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
95 | public func encode(to encoder: Encoder) throws {
96 | var container = encoder.singleValueContainer()
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:165:10: warning: unknown operating system for build configuration 'os'
163 |
164 | // MARK: - Coding Support
165 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
166 | public extension Encodable {
167 | func asMixedTypeField() throws -> MixedTypeField {
/host/spi-builder-workspace/Sources/Foundation/Date.swift:177:18: warning: unknown operating system for build configuration 'os'
175 | internal static let testTimes: TestClosure = {
176 | let nowTest = nowBackport
177 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
178 | try expect(nowBackport.mysqlDateTime == nowTest.mysqlDateTime, "\(nowBackport) != \(nowTest)")
179 | // tests without expectations
/host/spi-builder-workspace/Sources/Foundation/Date.swift:211:54: warning: unknown operating system for build configuration 'os'
209 |
210 | // Testing is only supported with Swift 5.9+
211 | #if compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
212 | @available(iOS 13, macOS 12, tvOS 13, watchOS 6, *)
213 | public extension Date {
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:45:35: warning: unknown operating system for build configuration 'os'
43 | //a AM/PM for 12-hour format
44 |
45 | #if canImport(Foundation) && !(os(WASM) || os(WASI)) // not available in WASM?
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
46 | #if canImport(Combine) // not available in Linux
47 | @available(iOS 15, macOS 12, tvOS 15, watchOS 8, *)
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:157:10: warning: unknown operating system for build configuration 'os'
155 |
156 | // MARK: - Tests
157 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
158 | @MainActor
159 | #endif
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:167:10: warning: unknown operating system for build configuration 'os'
165 | }
166 | @available(macOS 12, *)
167 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
168 | @MainActor
169 | #endif
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:182:10: warning: unknown operating system for build configuration 'os'
180 | try expect(dateTimeString.mysqlDate == "2023-01-02", dateTimeString.mysqlDate)
181 | }
182 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
183 | @MainActor
184 | #endif
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:229:35: warning: unknown operating system for build configuration 'os'
227 | /// A string representation of a date time. When getting this as a date, it will attempt to parse various formats the string could be in to allow a variety of formats. You can add other formats here to expand the support. Add mappings in the date initializer if you need other formats supported.
228 | public protocol DateStringRepresentation: RawRepresentable, Sendable, Hashable, Codable, Comparable, DateRepresentable, ExpressibleByStringLiteral, ExpressibleByStringInterpolation, LosslessStringConvertible where RawValue == String {
229 | #if canImport(Foundation) && !(os(WASM) || os(WASI)) // not available in WASM?
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
230 | var date: Date? { get }
231 | #endif
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:251:35: warning: unknown operating system for build configuration 'os'
249 | }
250 |
251 | #if canImport(Foundation) && !(os(WASM) || os(WASI)) // not available in WASM?
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
252 | var date: Date? {
253 | return Date(parse: rawValue)
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:275:35: warning: unknown operating system for build configuration 'os'
273 | }
274 |
275 | #if canImport(Foundation) && !(os(WASM) || os(WASI)) // not available in WASM?
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
276 | // MARK: - Formatted output
277 | public extension DateRepresentable {
/host/spi-builder-workspace/Sources/Core/Test.swift:18:10: warning: unknown operating system for build configuration 'os'
16 | // set breakpoint on this line if we want to debug/inspect errors (note that this slows enough to mess with time stamp checks so disable once we know everything is working).
17 | if let debugString {
18 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
19 | throw CustomError(debugString)
20 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:25:35: warning: unknown operating system for build configuration 'os'
23 | #endif
24 | } else {
25 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
26 | let isMainThread = Thread.isMainThread
27 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:39:10: warning: unknown operating system for build configuration 'os'
37 | file, function, line, column)
38 |
39 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
40 | throw CustomError(context)
41 | #else
[36/51] Compiling Compatibility CodingMixedTypes.swift
/host/spi-builder-workspace/Sources/Foundation/CodingJSON.swift:3:10: warning: unknown operating system for build configuration 'os'
1 | // MARK: - JSON management (simplified)
2 |
3 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
4 | #if canImport(Foundation)
5 | public extension Encodable {
/host/spi-builder-workspace/Sources/Foundation/CodingJSON.swift:261:22: warning: unknown operating system for build configuration 'os'
259 |
260 | if numberStr.contains(".") || numberStr.contains("e") || numberStr.contains("E") {
261 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
262 | if let d = Double(numberStr) {
263 | return .double(d)
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:13:10: warning: unknown operating system for build configuration 'os'
11 | public typealias MixedTypeDictionary = Dictionary<String,MixedTypeField?>
12 | public typealias MixedTypeArray = [MixedTypeField?]
13 | #if !(os(WASM) || os(WASI)) // not available in embedded Swift due to not being able to dynamically cast Any in encoding: function.
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
14 | public extension MixedTypeDictionary {
15 | /// Initializes with a Dictionary. Returns nil if Dictionary.Key is not LosslessStringConvertible.
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:27:10: warning: unknown operating system for build configuration 'os'
25 | }
26 | #endif
27 | #if !(os(WASM) || os(WASI)) && canImport(Foundation) // not available
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
28 | extension MixedTypeField: Codable {}
29 | #endif
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:39:10: warning: unknown operating system for build configuration 'os'
37 | case array([MixedTypeField?])
38 |
39 | #if !(os(WASM) || os(WASI)) && canImport(Foundation) // not available
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
40 | public init(from decoder: Decoder) throws {
41 | let container = try decoder.singleValueContainer()
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:63:10: warning: unknown operating system for build configuration 'os'
61 | #endif
62 |
63 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
64 | public init?(encoding value: Any?) { // dynamic typecasting isn't available in embedded Swift :(
65 | guard let value else {
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:94:10: warning: unknown operating system for build configuration 'os'
92 | #endif
93 |
94 | #if !(os(WASM) || os(WASI)) && canImport(Foundation) // not available
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
95 | public func encode(to encoder: Encoder) throws {
96 | var container = encoder.singleValueContainer()
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:165:10: warning: unknown operating system for build configuration 'os'
163 |
164 | // MARK: - Coding Support
165 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
166 | public extension Encodable {
167 | func asMixedTypeField() throws -> MixedTypeField {
/host/spi-builder-workspace/Sources/Foundation/Date.swift:177:18: warning: unknown operating system for build configuration 'os'
175 | internal static let testTimes: TestClosure = {
176 | let nowTest = nowBackport
177 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
178 | try expect(nowBackport.mysqlDateTime == nowTest.mysqlDateTime, "\(nowBackport) != \(nowTest)")
179 | // tests without expectations
/host/spi-builder-workspace/Sources/Foundation/Date.swift:211:54: warning: unknown operating system for build configuration 'os'
209 |
210 | // Testing is only supported with Swift 5.9+
211 | #if compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
212 | @available(iOS 13, macOS 12, tvOS 13, watchOS 6, *)
213 | public extension Date {
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:45:35: warning: unknown operating system for build configuration 'os'
43 | //a AM/PM for 12-hour format
44 |
45 | #if canImport(Foundation) && !(os(WASM) || os(WASI)) // not available in WASM?
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
46 | #if canImport(Combine) // not available in Linux
47 | @available(iOS 15, macOS 12, tvOS 15, watchOS 8, *)
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:157:10: warning: unknown operating system for build configuration 'os'
155 |
156 | // MARK: - Tests
157 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
158 | @MainActor
159 | #endif
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:167:10: warning: unknown operating system for build configuration 'os'
165 | }
166 | @available(macOS 12, *)
167 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
168 | @MainActor
169 | #endif
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:182:10: warning: unknown operating system for build configuration 'os'
180 | try expect(dateTimeString.mysqlDate == "2023-01-02", dateTimeString.mysqlDate)
181 | }
182 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
183 | @MainActor
184 | #endif
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:229:35: warning: unknown operating system for build configuration 'os'
227 | /// A string representation of a date time. When getting this as a date, it will attempt to parse various formats the string could be in to allow a variety of formats. You can add other formats here to expand the support. Add mappings in the date initializer if you need other formats supported.
228 | public protocol DateStringRepresentation: RawRepresentable, Sendable, Hashable, Codable, Comparable, DateRepresentable, ExpressibleByStringLiteral, ExpressibleByStringInterpolation, LosslessStringConvertible where RawValue == String {
229 | #if canImport(Foundation) && !(os(WASM) || os(WASI)) // not available in WASM?
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
230 | var date: Date? { get }
231 | #endif
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:251:35: warning: unknown operating system for build configuration 'os'
249 | }
250 |
251 | #if canImport(Foundation) && !(os(WASM) || os(WASI)) // not available in WASM?
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
252 | var date: Date? {
253 | return Date(parse: rawValue)
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:275:35: warning: unknown operating system for build configuration 'os'
273 | }
274 |
275 | #if canImport(Foundation) && !(os(WASM) || os(WASI)) // not available in WASM?
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
276 | // MARK: - Formatted output
277 | public extension DateRepresentable {
/host/spi-builder-workspace/Sources/Core/Test.swift:18:10: warning: unknown operating system for build configuration 'os'
16 | // set breakpoint on this line if we want to debug/inspect errors (note that this slows enough to mess with time stamp checks so disable once we know everything is working).
17 | if let debugString {
18 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
19 | throw CustomError(debugString)
20 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:25:35: warning: unknown operating system for build configuration 'os'
23 | #endif
24 | } else {
25 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
26 | let isMainThread = Thread.isMainThread
27 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:39:10: warning: unknown operating system for build configuration 'os'
37 | file, function, line, column)
38 |
39 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
40 | throw CustomError(context)
41 | #else
[37/51] Compiling Compatibility CodingParameters.swift
/host/spi-builder-workspace/Sources/Foundation/CodingJSON.swift:3:10: warning: unknown operating system for build configuration 'os'
1 | // MARK: - JSON management (simplified)
2 |
3 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
4 | #if canImport(Foundation)
5 | public extension Encodable {
/host/spi-builder-workspace/Sources/Foundation/CodingJSON.swift:261:22: warning: unknown operating system for build configuration 'os'
259 |
260 | if numberStr.contains(".") || numberStr.contains("e") || numberStr.contains("E") {
261 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
262 | if let d = Double(numberStr) {
263 | return .double(d)
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:13:10: warning: unknown operating system for build configuration 'os'
11 | public typealias MixedTypeDictionary = Dictionary<String,MixedTypeField?>
12 | public typealias MixedTypeArray = [MixedTypeField?]
13 | #if !(os(WASM) || os(WASI)) // not available in embedded Swift due to not being able to dynamically cast Any in encoding: function.
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
14 | public extension MixedTypeDictionary {
15 | /// Initializes with a Dictionary. Returns nil if Dictionary.Key is not LosslessStringConvertible.
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:27:10: warning: unknown operating system for build configuration 'os'
25 | }
26 | #endif
27 | #if !(os(WASM) || os(WASI)) && canImport(Foundation) // not available
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
28 | extension MixedTypeField: Codable {}
29 | #endif
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:39:10: warning: unknown operating system for build configuration 'os'
37 | case array([MixedTypeField?])
38 |
39 | #if !(os(WASM) || os(WASI)) && canImport(Foundation) // not available
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
40 | public init(from decoder: Decoder) throws {
41 | let container = try decoder.singleValueContainer()
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:63:10: warning: unknown operating system for build configuration 'os'
61 | #endif
62 |
63 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
64 | public init?(encoding value: Any?) { // dynamic typecasting isn't available in embedded Swift :(
65 | guard let value else {
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:94:10: warning: unknown operating system for build configuration 'os'
92 | #endif
93 |
94 | #if !(os(WASM) || os(WASI)) && canImport(Foundation) // not available
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
95 | public func encode(to encoder: Encoder) throws {
96 | var container = encoder.singleValueContainer()
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:165:10: warning: unknown operating system for build configuration 'os'
163 |
164 | // MARK: - Coding Support
165 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
166 | public extension Encodable {
167 | func asMixedTypeField() throws -> MixedTypeField {
/host/spi-builder-workspace/Sources/Foundation/Date.swift:177:18: warning: unknown operating system for build configuration 'os'
175 | internal static let testTimes: TestClosure = {
176 | let nowTest = nowBackport
177 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
178 | try expect(nowBackport.mysqlDateTime == nowTest.mysqlDateTime, "\(nowBackport) != \(nowTest)")
179 | // tests without expectations
/host/spi-builder-workspace/Sources/Foundation/Date.swift:211:54: warning: unknown operating system for build configuration 'os'
209 |
210 | // Testing is only supported with Swift 5.9+
211 | #if compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
212 | @available(iOS 13, macOS 12, tvOS 13, watchOS 6, *)
213 | public extension Date {
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:45:35: warning: unknown operating system for build configuration 'os'
43 | //a AM/PM for 12-hour format
44 |
45 | #if canImport(Foundation) && !(os(WASM) || os(WASI)) // not available in WASM?
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
46 | #if canImport(Combine) // not available in Linux
47 | @available(iOS 15, macOS 12, tvOS 15, watchOS 8, *)
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:157:10: warning: unknown operating system for build configuration 'os'
155 |
156 | // MARK: - Tests
157 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
158 | @MainActor
159 | #endif
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:167:10: warning: unknown operating system for build configuration 'os'
165 | }
166 | @available(macOS 12, *)
167 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
168 | @MainActor
169 | #endif
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:182:10: warning: unknown operating system for build configuration 'os'
180 | try expect(dateTimeString.mysqlDate == "2023-01-02", dateTimeString.mysqlDate)
181 | }
182 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
183 | @MainActor
184 | #endif
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:229:35: warning: unknown operating system for build configuration 'os'
227 | /// A string representation of a date time. When getting this as a date, it will attempt to parse various formats the string could be in to allow a variety of formats. You can add other formats here to expand the support. Add mappings in the date initializer if you need other formats supported.
228 | public protocol DateStringRepresentation: RawRepresentable, Sendable, Hashable, Codable, Comparable, DateRepresentable, ExpressibleByStringLiteral, ExpressibleByStringInterpolation, LosslessStringConvertible where RawValue == String {
229 | #if canImport(Foundation) && !(os(WASM) || os(WASI)) // not available in WASM?
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
230 | var date: Date? { get }
231 | #endif
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:251:35: warning: unknown operating system for build configuration 'os'
249 | }
250 |
251 | #if canImport(Foundation) && !(os(WASM) || os(WASI)) // not available in WASM?
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
252 | var date: Date? {
253 | return Date(parse: rawValue)
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:275:35: warning: unknown operating system for build configuration 'os'
273 | }
274 |
275 | #if canImport(Foundation) && !(os(WASM) || os(WASI)) // not available in WASM?
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
276 | // MARK: - Formatted output
277 | public extension DateRepresentable {
/host/spi-builder-workspace/Sources/Core/Test.swift:18:10: warning: unknown operating system for build configuration 'os'
16 | // set breakpoint on this line if we want to debug/inspect errors (note that this slows enough to mess with time stamp checks so disable once we know everything is working).
17 | if let debugString {
18 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
19 | throw CustomError(debugString)
20 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:25:35: warning: unknown operating system for build configuration 'os'
23 | #endif
24 | } else {
25 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
26 | let isMainThread = Thread.isMainThread
27 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:39:10: warning: unknown operating system for build configuration 'os'
37 | file, function, line, column)
38 |
39 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
40 | throw CustomError(context)
41 | #else
[38/51] Compiling Compatibility Date.swift
/host/spi-builder-workspace/Sources/Foundation/CodingJSON.swift:3:10: warning: unknown operating system for build configuration 'os'
1 | // MARK: - JSON management (simplified)
2 |
3 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
4 | #if canImport(Foundation)
5 | public extension Encodable {
/host/spi-builder-workspace/Sources/Foundation/CodingJSON.swift:261:22: warning: unknown operating system for build configuration 'os'
259 |
260 | if numberStr.contains(".") || numberStr.contains("e") || numberStr.contains("E") {
261 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
262 | if let d = Double(numberStr) {
263 | return .double(d)
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:13:10: warning: unknown operating system for build configuration 'os'
11 | public typealias MixedTypeDictionary = Dictionary<String,MixedTypeField?>
12 | public typealias MixedTypeArray = [MixedTypeField?]
13 | #if !(os(WASM) || os(WASI)) // not available in embedded Swift due to not being able to dynamically cast Any in encoding: function.
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
14 | public extension MixedTypeDictionary {
15 | /// Initializes with a Dictionary. Returns nil if Dictionary.Key is not LosslessStringConvertible.
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:27:10: warning: unknown operating system for build configuration 'os'
25 | }
26 | #endif
27 | #if !(os(WASM) || os(WASI)) && canImport(Foundation) // not available
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
28 | extension MixedTypeField: Codable {}
29 | #endif
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:39:10: warning: unknown operating system for build configuration 'os'
37 | case array([MixedTypeField?])
38 |
39 | #if !(os(WASM) || os(WASI)) && canImport(Foundation) // not available
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
40 | public init(from decoder: Decoder) throws {
41 | let container = try decoder.singleValueContainer()
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:63:10: warning: unknown operating system for build configuration 'os'
61 | #endif
62 |
63 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
64 | public init?(encoding value: Any?) { // dynamic typecasting isn't available in embedded Swift :(
65 | guard let value else {
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:94:10: warning: unknown operating system for build configuration 'os'
92 | #endif
93 |
94 | #if !(os(WASM) || os(WASI)) && canImport(Foundation) // not available
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
95 | public func encode(to encoder: Encoder) throws {
96 | var container = encoder.singleValueContainer()
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:165:10: warning: unknown operating system for build configuration 'os'
163 |
164 | // MARK: - Coding Support
165 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
166 | public extension Encodable {
167 | func asMixedTypeField() throws -> MixedTypeField {
/host/spi-builder-workspace/Sources/Foundation/Date.swift:177:18: warning: unknown operating system for build configuration 'os'
175 | internal static let testTimes: TestClosure = {
176 | let nowTest = nowBackport
177 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
178 | try expect(nowBackport.mysqlDateTime == nowTest.mysqlDateTime, "\(nowBackport) != \(nowTest)")
179 | // tests without expectations
/host/spi-builder-workspace/Sources/Foundation/Date.swift:211:54: warning: unknown operating system for build configuration 'os'
209 |
210 | // Testing is only supported with Swift 5.9+
211 | #if compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
212 | @available(iOS 13, macOS 12, tvOS 13, watchOS 6, *)
213 | public extension Date {
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:45:35: warning: unknown operating system for build configuration 'os'
43 | //a AM/PM for 12-hour format
44 |
45 | #if canImport(Foundation) && !(os(WASM) || os(WASI)) // not available in WASM?
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
46 | #if canImport(Combine) // not available in Linux
47 | @available(iOS 15, macOS 12, tvOS 15, watchOS 8, *)
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:157:10: warning: unknown operating system for build configuration 'os'
155 |
156 | // MARK: - Tests
157 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
158 | @MainActor
159 | #endif
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:167:10: warning: unknown operating system for build configuration 'os'
165 | }
166 | @available(macOS 12, *)
167 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
168 | @MainActor
169 | #endif
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:182:10: warning: unknown operating system for build configuration 'os'
180 | try expect(dateTimeString.mysqlDate == "2023-01-02", dateTimeString.mysqlDate)
181 | }
182 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
183 | @MainActor
184 | #endif
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:229:35: warning: unknown operating system for build configuration 'os'
227 | /// A string representation of a date time. When getting this as a date, it will attempt to parse various formats the string could be in to allow a variety of formats. You can add other formats here to expand the support. Add mappings in the date initializer if you need other formats supported.
228 | public protocol DateStringRepresentation: RawRepresentable, Sendable, Hashable, Codable, Comparable, DateRepresentable, ExpressibleByStringLiteral, ExpressibleByStringInterpolation, LosslessStringConvertible where RawValue == String {
229 | #if canImport(Foundation) && !(os(WASM) || os(WASI)) // not available in WASM?
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
230 | var date: Date? { get }
231 | #endif
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:251:35: warning: unknown operating system for build configuration 'os'
249 | }
250 |
251 | #if canImport(Foundation) && !(os(WASM) || os(WASI)) // not available in WASM?
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
252 | var date: Date? {
253 | return Date(parse: rawValue)
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:275:35: warning: unknown operating system for build configuration 'os'
273 | }
274 |
275 | #if canImport(Foundation) && !(os(WASM) || os(WASI)) // not available in WASM?
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
276 | // MARK: - Formatted output
277 | public extension DateRepresentable {
/host/spi-builder-workspace/Sources/Core/Test.swift:18:10: warning: unknown operating system for build configuration 'os'
16 | // set breakpoint on this line if we want to debug/inspect errors (note that this slows enough to mess with time stamp checks so disable once we know everything is working).
17 | if let debugString {
18 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
19 | throw CustomError(debugString)
20 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:25:35: warning: unknown operating system for build configuration 'os'
23 | #endif
24 | } else {
25 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
26 | let isMainThread = Thread.isMainThread
27 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:39:10: warning: unknown operating system for build configuration 'os'
37 | file, function, line, column)
38 |
39 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
40 | throw CustomError(context)
41 | #else
[39/51] Compiling Compatibility DateString.swift
/host/spi-builder-workspace/Sources/Foundation/CodingJSON.swift:3:10: warning: unknown operating system for build configuration 'os'
1 | // MARK: - JSON management (simplified)
2 |
3 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
4 | #if canImport(Foundation)
5 | public extension Encodable {
/host/spi-builder-workspace/Sources/Foundation/CodingJSON.swift:261:22: warning: unknown operating system for build configuration 'os'
259 |
260 | if numberStr.contains(".") || numberStr.contains("e") || numberStr.contains("E") {
261 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
262 | if let d = Double(numberStr) {
263 | return .double(d)
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:13:10: warning: unknown operating system for build configuration 'os'
11 | public typealias MixedTypeDictionary = Dictionary<String,MixedTypeField?>
12 | public typealias MixedTypeArray = [MixedTypeField?]
13 | #if !(os(WASM) || os(WASI)) // not available in embedded Swift due to not being able to dynamically cast Any in encoding: function.
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
14 | public extension MixedTypeDictionary {
15 | /// Initializes with a Dictionary. Returns nil if Dictionary.Key is not LosslessStringConvertible.
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:27:10: warning: unknown operating system for build configuration 'os'
25 | }
26 | #endif
27 | #if !(os(WASM) || os(WASI)) && canImport(Foundation) // not available
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
28 | extension MixedTypeField: Codable {}
29 | #endif
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:39:10: warning: unknown operating system for build configuration 'os'
37 | case array([MixedTypeField?])
38 |
39 | #if !(os(WASM) || os(WASI)) && canImport(Foundation) // not available
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
40 | public init(from decoder: Decoder) throws {
41 | let container = try decoder.singleValueContainer()
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:63:10: warning: unknown operating system for build configuration 'os'
61 | #endif
62 |
63 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
64 | public init?(encoding value: Any?) { // dynamic typecasting isn't available in embedded Swift :(
65 | guard let value else {
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:94:10: warning: unknown operating system for build configuration 'os'
92 | #endif
93 |
94 | #if !(os(WASM) || os(WASI)) && canImport(Foundation) // not available
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
95 | public func encode(to encoder: Encoder) throws {
96 | var container = encoder.singleValueContainer()
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:165:10: warning: unknown operating system for build configuration 'os'
163 |
164 | // MARK: - Coding Support
165 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
166 | public extension Encodable {
167 | func asMixedTypeField() throws -> MixedTypeField {
/host/spi-builder-workspace/Sources/Foundation/Date.swift:177:18: warning: unknown operating system for build configuration 'os'
175 | internal static let testTimes: TestClosure = {
176 | let nowTest = nowBackport
177 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
178 | try expect(nowBackport.mysqlDateTime == nowTest.mysqlDateTime, "\(nowBackport) != \(nowTest)")
179 | // tests without expectations
/host/spi-builder-workspace/Sources/Foundation/Date.swift:211:54: warning: unknown operating system for build configuration 'os'
209 |
210 | // Testing is only supported with Swift 5.9+
211 | #if compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
212 | @available(iOS 13, macOS 12, tvOS 13, watchOS 6, *)
213 | public extension Date {
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:45:35: warning: unknown operating system for build configuration 'os'
43 | //a AM/PM for 12-hour format
44 |
45 | #if canImport(Foundation) && !(os(WASM) || os(WASI)) // not available in WASM?
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
46 | #if canImport(Combine) // not available in Linux
47 | @available(iOS 15, macOS 12, tvOS 15, watchOS 8, *)
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:157:10: warning: unknown operating system for build configuration 'os'
155 |
156 | // MARK: - Tests
157 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
158 | @MainActor
159 | #endif
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:167:10: warning: unknown operating system for build configuration 'os'
165 | }
166 | @available(macOS 12, *)
167 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
168 | @MainActor
169 | #endif
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:182:10: warning: unknown operating system for build configuration 'os'
180 | try expect(dateTimeString.mysqlDate == "2023-01-02", dateTimeString.mysqlDate)
181 | }
182 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
183 | @MainActor
184 | #endif
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:229:35: warning: unknown operating system for build configuration 'os'
227 | /// A string representation of a date time. When getting this as a date, it will attempt to parse various formats the string could be in to allow a variety of formats. You can add other formats here to expand the support. Add mappings in the date initializer if you need other formats supported.
228 | public protocol DateStringRepresentation: RawRepresentable, Sendable, Hashable, Codable, Comparable, DateRepresentable, ExpressibleByStringLiteral, ExpressibleByStringInterpolation, LosslessStringConvertible where RawValue == String {
229 | #if canImport(Foundation) && !(os(WASM) || os(WASI)) // not available in WASM?
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
230 | var date: Date? { get }
231 | #endif
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:251:35: warning: unknown operating system for build configuration 'os'
249 | }
250 |
251 | #if canImport(Foundation) && !(os(WASM) || os(WASI)) // not available in WASM?
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
252 | var date: Date? {
253 | return Date(parse: rawValue)
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:275:35: warning: unknown operating system for build configuration 'os'
273 | }
274 |
275 | #if canImport(Foundation) && !(os(WASM) || os(WASI)) // not available in WASM?
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
276 | // MARK: - Formatted output
277 | public extension DateRepresentable {
/host/spi-builder-workspace/Sources/Core/Test.swift:18:10: warning: unknown operating system for build configuration 'os'
16 | // set breakpoint on this line if we want to debug/inspect errors (note that this slows enough to mess with time stamp checks so disable once we know everything is working).
17 | if let debugString {
18 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
19 | throw CustomError(debugString)
20 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:25:35: warning: unknown operating system for build configuration 'os'
23 | #endif
24 | } else {
25 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
26 | let isMainThread = Thread.isMainThread
27 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:39:10: warning: unknown operating system for build configuration 'os'
37 | file, function, line, column)
38 |
39 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
40 | throw CustomError(context)
41 | #else
[40/51] Compiling Compatibility Shell.swift
/host/spi-builder-workspace/Sources/Core/Shell.swift:9:48: warning: unknown operating system for build configuration 'os'
7 |
8 |
9 | #if os(macOS) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
10 | public extension Compatibility {
11 | /// Executes a shell command and returns the result (or errors) as a String (if you just need to execute and don't need the result, that's okay).
/host/spi-builder-workspace/Sources/Core/Test.swift:18:10: warning: unknown operating system for build configuration 'os'
16 | // set breakpoint on this line if we want to debug/inspect errors (note that this slows enough to mess with time stamp checks so disable once we know everything is working).
17 | if let debugString {
18 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
19 | throw CustomError(debugString)
20 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:25:35: warning: unknown operating system for build configuration 'os'
23 | #endif
24 | } else {
25 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
26 | let isMainThread = Thread.isMainThread
27 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:39:10: warning: unknown operating system for build configuration 'os'
37 | file, function, line, column)
38 |
39 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
40 | throw CustomError(context)
41 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:54:39: warning: unknown operating system for build configuration 'os'
52 | public func debugSuppress(_ block: () throws -> Void) rethrows {
53 | let log = Compatibility.settings.debugLog
54 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
55 | let suppressThread = Thread.current // restrict the silencing to this thread/closure assuming no background tasks are doing printing
56 | #endif
/host/spi-builder-workspace/Sources/Core/Test.swift:58:43: warning: unknown operating system for build configuration 'os'
56 | #endif
57 | Compatibility.settings.debugLog = { message in
58 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
59 | if Thread.current != suppressThread {
60 | log(message) // do normal logging
/host/spi-builder-workspace/Sources/Core/Test.swift:87:10: warning: unknown operating system for build configuration 'os'
85 | #if compiler(>=5.9)
86 | // Test Handlers
87 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
88 | @MainActor
89 | #endif
/host/spi-builder-workspace/Sources/Core/Test.swift:128:10: warning: unknown operating system for build configuration 'os'
126 | public func run() {
127 | progress = .running
128 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
129 | // make sure to run the "work" in a separate thread since we don't want any of this running on the main thread and potentially bogging things down
130 | background {
/host/spi-builder-workspace/Sources/Core/Test.swift:185:10: warning: unknown operating system for build configuration 'os'
183 | }
184 |
185 | #if !(os(WASM) || os(WASI)) // testing not supported in WASM
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
186 | @available(iOS 13, macOS 12, tvOS 13, watchOS 6, *)
187 | public extension Test {
/host/spi-builder-workspace/Sources/Core/Test.swift:215:57: warning: unknown operating system for build configuration 'os'
213 | #endif
214 |
215 | #if canImport(SwiftUI) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
216 | import SwiftUI
217 | @available(iOS 13, tvOS 13, watchOS 6, *)
/host/spi-builder-workspace/Sources/Foundation/Array.swift:214:29: warning: unknown operating system for build configuration 'os'
212 | }
213 | // Testing is only supported with Swift 5.9+ & !WASM
214 | #if compiler(>=5.9) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
215 | @available(iOS 13, tvOS 13, watchOS 6, *)
216 | @MainActor
/host/spi-builder-workspace/Sources/Foundation/CharacterSet.swift:95:10: warning: unknown operating system for build configuration 'os'
93 | @available(iOS 13, tvOS 13, watchOS 6, *)
94 | extension CharacterSet {
95 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
96 | @MainActor
97 | #endif
/host/spi-builder-workspace/Sources/Foundation/CharacterSet.swift:115:10: warning: unknown operating system for build configuration 'os'
113 | return filtered.map { String($0) }
114 | }
115 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
116 | @MainActor
117 | #endif
/host/spi-builder-workspace/Sources/Foundation/CharacterSet.swift:120:10: warning: unknown operating system for build configuration 'os'
118 | internal static let testCharacterStrings: TestClosure = {
119 | let array = "hello".characterStrings
120 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
121 | try expect(array == ["h","e","l","l","o"], String(describing:array))
122 | #endif
/host/spi-builder-workspace/Sources/Foundation/Codable.swift:3:9: warning: unknown operating system for build configuration 'os'
1 | /// For flagging properties that should not be included in Codable conformance. Can provide a default value if the property is not an Optional
2 |
3 | #if (os(WASM) || os(WASI)) && !canImport(Foundation) && compiler(>=6.2)
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
4 | /// Backport stub for Foundation.Codable
5 | public typealias Codable = Decodable & Encodable
[41/51] Compiling Compatibility Test.swift
/host/spi-builder-workspace/Sources/Core/Shell.swift:9:48: warning: unknown operating system for build configuration 'os'
7 |
8 |
9 | #if os(macOS) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
10 | public extension Compatibility {
11 | /// Executes a shell command and returns the result (or errors) as a String (if you just need to execute and don't need the result, that's okay).
/host/spi-builder-workspace/Sources/Core/Test.swift:18:10: warning: unknown operating system for build configuration 'os'
16 | // set breakpoint on this line if we want to debug/inspect errors (note that this slows enough to mess with time stamp checks so disable once we know everything is working).
17 | if let debugString {
18 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
19 | throw CustomError(debugString)
20 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:25:35: warning: unknown operating system for build configuration 'os'
23 | #endif
24 | } else {
25 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
26 | let isMainThread = Thread.isMainThread
27 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:39:10: warning: unknown operating system for build configuration 'os'
37 | file, function, line, column)
38 |
39 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
40 | throw CustomError(context)
41 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:54:39: warning: unknown operating system for build configuration 'os'
52 | public func debugSuppress(_ block: () throws -> Void) rethrows {
53 | let log = Compatibility.settings.debugLog
54 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
55 | let suppressThread = Thread.current // restrict the silencing to this thread/closure assuming no background tasks are doing printing
56 | #endif
/host/spi-builder-workspace/Sources/Core/Test.swift:58:43: warning: unknown operating system for build configuration 'os'
56 | #endif
57 | Compatibility.settings.debugLog = { message in
58 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
59 | if Thread.current != suppressThread {
60 | log(message) // do normal logging
/host/spi-builder-workspace/Sources/Core/Test.swift:87:10: warning: unknown operating system for build configuration 'os'
85 | #if compiler(>=5.9)
86 | // Test Handlers
87 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
88 | @MainActor
89 | #endif
/host/spi-builder-workspace/Sources/Core/Test.swift:128:10: warning: unknown operating system for build configuration 'os'
126 | public func run() {
127 | progress = .running
128 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
129 | // make sure to run the "work" in a separate thread since we don't want any of this running on the main thread and potentially bogging things down
130 | background {
/host/spi-builder-workspace/Sources/Core/Test.swift:185:10: warning: unknown operating system for build configuration 'os'
183 | }
184 |
185 | #if !(os(WASM) || os(WASI)) // testing not supported in WASM
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
186 | @available(iOS 13, macOS 12, tvOS 13, watchOS 6, *)
187 | public extension Test {
/host/spi-builder-workspace/Sources/Core/Test.swift:215:57: warning: unknown operating system for build configuration 'os'
213 | #endif
214 |
215 | #if canImport(SwiftUI) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
216 | import SwiftUI
217 | @available(iOS 13, tvOS 13, watchOS 6, *)
/host/spi-builder-workspace/Sources/Foundation/Array.swift:214:29: warning: unknown operating system for build configuration 'os'
212 | }
213 | // Testing is only supported with Swift 5.9+ & !WASM
214 | #if compiler(>=5.9) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
215 | @available(iOS 13, tvOS 13, watchOS 6, *)
216 | @MainActor
/host/spi-builder-workspace/Sources/Foundation/CharacterSet.swift:95:10: warning: unknown operating system for build configuration 'os'
93 | @available(iOS 13, tvOS 13, watchOS 6, *)
94 | extension CharacterSet {
95 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
96 | @MainActor
97 | #endif
/host/spi-builder-workspace/Sources/Foundation/CharacterSet.swift:115:10: warning: unknown operating system for build configuration 'os'
113 | return filtered.map { String($0) }
114 | }
115 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
116 | @MainActor
117 | #endif
/host/spi-builder-workspace/Sources/Foundation/CharacterSet.swift:120:10: warning: unknown operating system for build configuration 'os'
118 | internal static let testCharacterStrings: TestClosure = {
119 | let array = "hello".characterStrings
120 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
121 | try expect(array == ["h","e","l","l","o"], String(describing:array))
122 | #endif
/host/spi-builder-workspace/Sources/Foundation/Codable.swift:3:9: warning: unknown operating system for build configuration 'os'
1 | /// For flagging properties that should not be included in Codable conformance. Can provide a default value if the property is not an Optional
2 |
3 | #if (os(WASM) || os(WASI)) && !canImport(Foundation) && compiler(>=6.2)
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
4 | /// Backport stub for Foundation.Codable
5 | public typealias Codable = Decodable & Encodable
[42/51] Compiling Compatibility UserDefaultsBacked.swift
/host/spi-builder-workspace/Sources/Core/Shell.swift:9:48: warning: unknown operating system for build configuration 'os'
7 |
8 |
9 | #if os(macOS) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
10 | public extension Compatibility {
11 | /// Executes a shell command and returns the result (or errors) as a String (if you just need to execute and don't need the result, that's okay).
/host/spi-builder-workspace/Sources/Core/Test.swift:18:10: warning: unknown operating system for build configuration 'os'
16 | // set breakpoint on this line if we want to debug/inspect errors (note that this slows enough to mess with time stamp checks so disable once we know everything is working).
17 | if let debugString {
18 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
19 | throw CustomError(debugString)
20 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:25:35: warning: unknown operating system for build configuration 'os'
23 | #endif
24 | } else {
25 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
26 | let isMainThread = Thread.isMainThread
27 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:39:10: warning: unknown operating system for build configuration 'os'
37 | file, function, line, column)
38 |
39 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
40 | throw CustomError(context)
41 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:54:39: warning: unknown operating system for build configuration 'os'
52 | public func debugSuppress(_ block: () throws -> Void) rethrows {
53 | let log = Compatibility.settings.debugLog
54 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
55 | let suppressThread = Thread.current // restrict the silencing to this thread/closure assuming no background tasks are doing printing
56 | #endif
/host/spi-builder-workspace/Sources/Core/Test.swift:58:43: warning: unknown operating system for build configuration 'os'
56 | #endif
57 | Compatibility.settings.debugLog = { message in
58 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
59 | if Thread.current != suppressThread {
60 | log(message) // do normal logging
/host/spi-builder-workspace/Sources/Core/Test.swift:87:10: warning: unknown operating system for build configuration 'os'
85 | #if compiler(>=5.9)
86 | // Test Handlers
87 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
88 | @MainActor
89 | #endif
/host/spi-builder-workspace/Sources/Core/Test.swift:128:10: warning: unknown operating system for build configuration 'os'
126 | public func run() {
127 | progress = .running
128 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
129 | // make sure to run the "work" in a separate thread since we don't want any of this running on the main thread and potentially bogging things down
130 | background {
/host/spi-builder-workspace/Sources/Core/Test.swift:185:10: warning: unknown operating system for build configuration 'os'
183 | }
184 |
185 | #if !(os(WASM) || os(WASI)) // testing not supported in WASM
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
186 | @available(iOS 13, macOS 12, tvOS 13, watchOS 6, *)
187 | public extension Test {
/host/spi-builder-workspace/Sources/Core/Test.swift:215:57: warning: unknown operating system for build configuration 'os'
213 | #endif
214 |
215 | #if canImport(SwiftUI) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
216 | import SwiftUI
217 | @available(iOS 13, tvOS 13, watchOS 6, *)
/host/spi-builder-workspace/Sources/Foundation/Array.swift:214:29: warning: unknown operating system for build configuration 'os'
212 | }
213 | // Testing is only supported with Swift 5.9+ & !WASM
214 | #if compiler(>=5.9) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
215 | @available(iOS 13, tvOS 13, watchOS 6, *)
216 | @MainActor
/host/spi-builder-workspace/Sources/Foundation/CharacterSet.swift:95:10: warning: unknown operating system for build configuration 'os'
93 | @available(iOS 13, tvOS 13, watchOS 6, *)
94 | extension CharacterSet {
95 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
96 | @MainActor
97 | #endif
/host/spi-builder-workspace/Sources/Foundation/CharacterSet.swift:115:10: warning: unknown operating system for build configuration 'os'
113 | return filtered.map { String($0) }
114 | }
115 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
116 | @MainActor
117 | #endif
/host/spi-builder-workspace/Sources/Foundation/CharacterSet.swift:120:10: warning: unknown operating system for build configuration 'os'
118 | internal static let testCharacterStrings: TestClosure = {
119 | let array = "hello".characterStrings
120 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
121 | try expect(array == ["h","e","l","l","o"], String(describing:array))
122 | #endif
/host/spi-builder-workspace/Sources/Foundation/Codable.swift:3:9: warning: unknown operating system for build configuration 'os'
1 | /// For flagging properties that should not be included in Codable conformance. Can provide a default value if the property is not an Optional
2 |
3 | #if (os(WASM) || os(WASI)) && !canImport(Foundation) && compiler(>=6.2)
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
4 | /// Backport stub for Foundation.Codable
5 | public typealias Codable = Decodable & Encodable
[43/51] Compiling Compatibility Array.swift
/host/spi-builder-workspace/Sources/Core/Shell.swift:9:48: warning: unknown operating system for build configuration 'os'
7 |
8 |
9 | #if os(macOS) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
10 | public extension Compatibility {
11 | /// Executes a shell command and returns the result (or errors) as a String (if you just need to execute and don't need the result, that's okay).
/host/spi-builder-workspace/Sources/Core/Test.swift:18:10: warning: unknown operating system for build configuration 'os'
16 | // set breakpoint on this line if we want to debug/inspect errors (note that this slows enough to mess with time stamp checks so disable once we know everything is working).
17 | if let debugString {
18 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
19 | throw CustomError(debugString)
20 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:25:35: warning: unknown operating system for build configuration 'os'
23 | #endif
24 | } else {
25 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
26 | let isMainThread = Thread.isMainThread
27 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:39:10: warning: unknown operating system for build configuration 'os'
37 | file, function, line, column)
38 |
39 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
40 | throw CustomError(context)
41 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:54:39: warning: unknown operating system for build configuration 'os'
52 | public func debugSuppress(_ block: () throws -> Void) rethrows {
53 | let log = Compatibility.settings.debugLog
54 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
55 | let suppressThread = Thread.current // restrict the silencing to this thread/closure assuming no background tasks are doing printing
56 | #endif
/host/spi-builder-workspace/Sources/Core/Test.swift:58:43: warning: unknown operating system for build configuration 'os'
56 | #endif
57 | Compatibility.settings.debugLog = { message in
58 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
59 | if Thread.current != suppressThread {
60 | log(message) // do normal logging
/host/spi-builder-workspace/Sources/Core/Test.swift:87:10: warning: unknown operating system for build configuration 'os'
85 | #if compiler(>=5.9)
86 | // Test Handlers
87 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
88 | @MainActor
89 | #endif
/host/spi-builder-workspace/Sources/Core/Test.swift:128:10: warning: unknown operating system for build configuration 'os'
126 | public func run() {
127 | progress = .running
128 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
129 | // make sure to run the "work" in a separate thread since we don't want any of this running on the main thread and potentially bogging things down
130 | background {
/host/spi-builder-workspace/Sources/Core/Test.swift:185:10: warning: unknown operating system for build configuration 'os'
183 | }
184 |
185 | #if !(os(WASM) || os(WASI)) // testing not supported in WASM
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
186 | @available(iOS 13, macOS 12, tvOS 13, watchOS 6, *)
187 | public extension Test {
/host/spi-builder-workspace/Sources/Core/Test.swift:215:57: warning: unknown operating system for build configuration 'os'
213 | #endif
214 |
215 | #if canImport(SwiftUI) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
216 | import SwiftUI
217 | @available(iOS 13, tvOS 13, watchOS 6, *)
/host/spi-builder-workspace/Sources/Foundation/Array.swift:214:29: warning: unknown operating system for build configuration 'os'
212 | }
213 | // Testing is only supported with Swift 5.9+ & !WASM
214 | #if compiler(>=5.9) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
215 | @available(iOS 13, tvOS 13, watchOS 6, *)
216 | @MainActor
/host/spi-builder-workspace/Sources/Foundation/CharacterSet.swift:95:10: warning: unknown operating system for build configuration 'os'
93 | @available(iOS 13, tvOS 13, watchOS 6, *)
94 | extension CharacterSet {
95 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
96 | @MainActor
97 | #endif
/host/spi-builder-workspace/Sources/Foundation/CharacterSet.swift:115:10: warning: unknown operating system for build configuration 'os'
113 | return filtered.map { String($0) }
114 | }
115 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
116 | @MainActor
117 | #endif
/host/spi-builder-workspace/Sources/Foundation/CharacterSet.swift:120:10: warning: unknown operating system for build configuration 'os'
118 | internal static let testCharacterStrings: TestClosure = {
119 | let array = "hello".characterStrings
120 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
121 | try expect(array == ["h","e","l","l","o"], String(describing:array))
122 | #endif
/host/spi-builder-workspace/Sources/Foundation/Codable.swift:3:9: warning: unknown operating system for build configuration 'os'
1 | /// For flagging properties that should not be included in Codable conformance. Can provide a default value if the property is not an Optional
2 |
3 | #if (os(WASM) || os(WASI)) && !canImport(Foundation) && compiler(>=6.2)
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
4 | /// Backport stub for Foundation.Codable
5 | public typealias Codable = Decodable & Encodable
[44/51] Compiling Compatibility CharacterSet.swift
/host/spi-builder-workspace/Sources/Core/Shell.swift:9:48: warning: unknown operating system for build configuration 'os'
7 |
8 |
9 | #if os(macOS) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
10 | public extension Compatibility {
11 | /// Executes a shell command and returns the result (or errors) as a String (if you just need to execute and don't need the result, that's okay).
/host/spi-builder-workspace/Sources/Core/Test.swift:18:10: warning: unknown operating system for build configuration 'os'
16 | // set breakpoint on this line if we want to debug/inspect errors (note that this slows enough to mess with time stamp checks so disable once we know everything is working).
17 | if let debugString {
18 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
19 | throw CustomError(debugString)
20 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:25:35: warning: unknown operating system for build configuration 'os'
23 | #endif
24 | } else {
25 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
26 | let isMainThread = Thread.isMainThread
27 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:39:10: warning: unknown operating system for build configuration 'os'
37 | file, function, line, column)
38 |
39 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
40 | throw CustomError(context)
41 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:54:39: warning: unknown operating system for build configuration 'os'
52 | public func debugSuppress(_ block: () throws -> Void) rethrows {
53 | let log = Compatibility.settings.debugLog
54 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
55 | let suppressThread = Thread.current // restrict the silencing to this thread/closure assuming no background tasks are doing printing
56 | #endif
/host/spi-builder-workspace/Sources/Core/Test.swift:58:43: warning: unknown operating system for build configuration 'os'
56 | #endif
57 | Compatibility.settings.debugLog = { message in
58 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
59 | if Thread.current != suppressThread {
60 | log(message) // do normal logging
/host/spi-builder-workspace/Sources/Core/Test.swift:87:10: warning: unknown operating system for build configuration 'os'
85 | #if compiler(>=5.9)
86 | // Test Handlers
87 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
88 | @MainActor
89 | #endif
/host/spi-builder-workspace/Sources/Core/Test.swift:128:10: warning: unknown operating system for build configuration 'os'
126 | public func run() {
127 | progress = .running
128 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
129 | // make sure to run the "work" in a separate thread since we don't want any of this running on the main thread and potentially bogging things down
130 | background {
/host/spi-builder-workspace/Sources/Core/Test.swift:185:10: warning: unknown operating system for build configuration 'os'
183 | }
184 |
185 | #if !(os(WASM) || os(WASI)) // testing not supported in WASM
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
186 | @available(iOS 13, macOS 12, tvOS 13, watchOS 6, *)
187 | public extension Test {
/host/spi-builder-workspace/Sources/Core/Test.swift:215:57: warning: unknown operating system for build configuration 'os'
213 | #endif
214 |
215 | #if canImport(SwiftUI) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
216 | import SwiftUI
217 | @available(iOS 13, tvOS 13, watchOS 6, *)
/host/spi-builder-workspace/Sources/Foundation/Array.swift:214:29: warning: unknown operating system for build configuration 'os'
212 | }
213 | // Testing is only supported with Swift 5.9+ & !WASM
214 | #if compiler(>=5.9) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
215 | @available(iOS 13, tvOS 13, watchOS 6, *)
216 | @MainActor
/host/spi-builder-workspace/Sources/Foundation/CharacterSet.swift:95:10: warning: unknown operating system for build configuration 'os'
93 | @available(iOS 13, tvOS 13, watchOS 6, *)
94 | extension CharacterSet {
95 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
96 | @MainActor
97 | #endif
/host/spi-builder-workspace/Sources/Foundation/CharacterSet.swift:115:10: warning: unknown operating system for build configuration 'os'
113 | return filtered.map { String($0) }
114 | }
115 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
116 | @MainActor
117 | #endif
/host/spi-builder-workspace/Sources/Foundation/CharacterSet.swift:120:10: warning: unknown operating system for build configuration 'os'
118 | internal static let testCharacterStrings: TestClosure = {
119 | let array = "hello".characterStrings
120 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
121 | try expect(array == ["h","e","l","l","o"], String(describing:array))
122 | #endif
/host/spi-builder-workspace/Sources/Foundation/Codable.swift:3:9: warning: unknown operating system for build configuration 'os'
1 | /// For flagging properties that should not be included in Codable conformance. Can provide a default value if the property is not an Optional
2 |
3 | #if (os(WASM) || os(WASI)) && !canImport(Foundation) && compiler(>=6.2)
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
4 | /// Backport stub for Foundation.Codable
5 | public typealias Codable = Decodable & Encodable
[45/51] Compiling Compatibility Codable.swift
/host/spi-builder-workspace/Sources/Core/Shell.swift:9:48: warning: unknown operating system for build configuration 'os'
7 |
8 |
9 | #if os(macOS) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
10 | public extension Compatibility {
11 | /// Executes a shell command and returns the result (or errors) as a String (if you just need to execute and don't need the result, that's okay).
/host/spi-builder-workspace/Sources/Core/Test.swift:18:10: warning: unknown operating system for build configuration 'os'
16 | // set breakpoint on this line if we want to debug/inspect errors (note that this slows enough to mess with time stamp checks so disable once we know everything is working).
17 | if let debugString {
18 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
19 | throw CustomError(debugString)
20 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:25:35: warning: unknown operating system for build configuration 'os'
23 | #endif
24 | } else {
25 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
26 | let isMainThread = Thread.isMainThread
27 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:39:10: warning: unknown operating system for build configuration 'os'
37 | file, function, line, column)
38 |
39 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
40 | throw CustomError(context)
41 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:54:39: warning: unknown operating system for build configuration 'os'
52 | public func debugSuppress(_ block: () throws -> Void) rethrows {
53 | let log = Compatibility.settings.debugLog
54 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
55 | let suppressThread = Thread.current // restrict the silencing to this thread/closure assuming no background tasks are doing printing
56 | #endif
/host/spi-builder-workspace/Sources/Core/Test.swift:58:43: warning: unknown operating system for build configuration 'os'
56 | #endif
57 | Compatibility.settings.debugLog = { message in
58 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
59 | if Thread.current != suppressThread {
60 | log(message) // do normal logging
/host/spi-builder-workspace/Sources/Core/Test.swift:87:10: warning: unknown operating system for build configuration 'os'
85 | #if compiler(>=5.9)
86 | // Test Handlers
87 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
88 | @MainActor
89 | #endif
/host/spi-builder-workspace/Sources/Core/Test.swift:128:10: warning: unknown operating system for build configuration 'os'
126 | public func run() {
127 | progress = .running
128 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
129 | // make sure to run the "work" in a separate thread since we don't want any of this running on the main thread and potentially bogging things down
130 | background {
/host/spi-builder-workspace/Sources/Core/Test.swift:185:10: warning: unknown operating system for build configuration 'os'
183 | }
184 |
185 | #if !(os(WASM) || os(WASI)) // testing not supported in WASM
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
186 | @available(iOS 13, macOS 12, tvOS 13, watchOS 6, *)
187 | public extension Test {
/host/spi-builder-workspace/Sources/Core/Test.swift:215:57: warning: unknown operating system for build configuration 'os'
213 | #endif
214 |
215 | #if canImport(SwiftUI) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
216 | import SwiftUI
217 | @available(iOS 13, tvOS 13, watchOS 6, *)
/host/spi-builder-workspace/Sources/Foundation/Array.swift:214:29: warning: unknown operating system for build configuration 'os'
212 | }
213 | // Testing is only supported with Swift 5.9+ & !WASM
214 | #if compiler(>=5.9) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
215 | @available(iOS 13, tvOS 13, watchOS 6, *)
216 | @MainActor
/host/spi-builder-workspace/Sources/Foundation/CharacterSet.swift:95:10: warning: unknown operating system for build configuration 'os'
93 | @available(iOS 13, tvOS 13, watchOS 6, *)
94 | extension CharacterSet {
95 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
96 | @MainActor
97 | #endif
/host/spi-builder-workspace/Sources/Foundation/CharacterSet.swift:115:10: warning: unknown operating system for build configuration 'os'
113 | return filtered.map { String($0) }
114 | }
115 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
116 | @MainActor
117 | #endif
/host/spi-builder-workspace/Sources/Foundation/CharacterSet.swift:120:10: warning: unknown operating system for build configuration 'os'
118 | internal static let testCharacterStrings: TestClosure = {
119 | let array = "hello".characterStrings
120 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
121 | try expect(array == ["h","e","l","l","o"], String(describing:array))
122 | #endif
/host/spi-builder-workspace/Sources/Foundation/Codable.swift:3:9: warning: unknown operating system for build configuration 'os'
1 | /// For flagging properties that should not be included in Codable conformance. Can provide a default value if the property is not an Optional
2 |
3 | #if (os(WASM) || os(WASI)) && !canImport(Foundation) && compiler(>=6.2)
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
4 | /// Backport stub for Foundation.Codable
5 | public typealias Codable = Decodable & Encodable
[46/51] Compiling Compatibility Compatibility.swift
/host/spi-builder-workspace/Sources/Compatibility.swift:198:35: warning: unknown operating system for build configuration 'os'
196 | public extension Compatibility { // for brief period where Application and Build wasn't available. Static computed properties apparently aren't supported in extensions in iOS <13?
197 | // MARK: - Entitlements Information
198 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
199 | @available(*, deprecated, renamed: "Application.iCloudSupported")
200 | @MainActor
/host/spi-builder-workspace/Sources/Core/Application.swift:201:10: warning: unknown operating system for build configuration 'os'
199 | }
200 |
201 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
202 | @MainActor
203 | #endif
/host/spi-builder-workspace/Sources/Core/Application.swift:206:10: warning: unknown operating system for build configuration 'os'
204 | @available(iOS 13, tvOS 13, watchOS 6, *)
205 | public class Application: ObservableObject { // cannot automatically conform to CustomStringConvertible since it's actor-isolated...
206 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
207 | @MainActor
208 | #endif
/host/spi-builder-workspace/Sources/Core/Application.swift:211:10: warning: unknown operating system for build configuration 'os'
209 | public static var baseDomain = "com.kudit"
210 |
211 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
212 | @MainActor
213 | #endif
/host/spi-builder-workspace/Sources/Core/Application.swift:257:35: warning: unknown operating system for build configuration 'os'
255 | public static let isMacCatalyst = Build.isMacCatalyst
256 |
257 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
258 | @MainActor
259 | #endif
/host/spi-builder-workspace/Sources/Core/Application.swift:265:35: warning: unknown operating system for build configuration 'os'
263 | }
264 |
265 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
266 | // MARK: - iCloud Support
267 | /// Use before tracking to disable iCloud checks to prevent crashes if we can't check for iCloud or for simulating behavior without iCloud support for CloudStorage.
/host/spi-builder-workspace/Sources/Core/Application.swift:499:35: warning: unknown operating system for build configuration 'os'
497 | #endif
498 | #if compiler(>=5.9)
499 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
500 | @MainActor
501 | internal static var applicationTests: TestClosure = { @MainActor in // ensure we're running these on the Main Actor so we don't have to worry about Application main actor access.
/host/spi-builder-workspace/Sources/Core/Application.swift:536:35: warning: unknown operating system for build configuration 'os'
534 | #endif
535 |
536 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
537 | @MainActor
538 | #endif
/host/spi-builder-workspace/Sources/Core/Bundle.swift:9:35: warning: unknown operating system for build configuration 'os'
7 | //
8 |
9 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
10 | // get current version:
11 | // Bundle.main.version
/host/spi-builder-workspace/Sources/Core/Test.swift:18:10: warning: unknown operating system for build configuration 'os'
16 | // set breakpoint on this line if we want to debug/inspect errors (note that this slows enough to mess with time stamp checks so disable once we know everything is working).
17 | if let debugString {
18 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
19 | throw CustomError(debugString)
20 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:25:35: warning: unknown operating system for build configuration 'os'
23 | #endif
24 | } else {
25 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
26 | let isMainThread = Thread.isMainThread
27 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:39:10: warning: unknown operating system for build configuration 'os'
37 | file, function, line, column)
38 |
39 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
40 | throw CustomError(context)
41 | #else
/host/spi-builder-workspace/Sources/Core/Application.swift:395:13: warning: variable 'allVersionsString' was never mutated; consider changing to 'let' constant
393 |
394 | // join all versions run (the beauty of this is it doesn't matter if legacyLastRunVersion is a comma-separated list or a single value - both will work)
395 | var allVersionsString = "\(legacyLastRunVersion ?? ""),\(kuditPreviouslyRunVersions?.joined(separator: ",") ?? ""),\(version)"
| `- warning: variable 'allVersionsString' was never mutated; consider changing to 'let' constant
396 | #if compiler(>=5.9) && canImport(Combine)
397 | if #available(watchOS 9, *) {
[47/51] Compiling Compatibility Application.swift
/host/spi-builder-workspace/Sources/Compatibility.swift:198:35: warning: unknown operating system for build configuration 'os'
196 | public extension Compatibility { // for brief period where Application and Build wasn't available. Static computed properties apparently aren't supported in extensions in iOS <13?
197 | // MARK: - Entitlements Information
198 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
199 | @available(*, deprecated, renamed: "Application.iCloudSupported")
200 | @MainActor
/host/spi-builder-workspace/Sources/Core/Application.swift:201:10: warning: unknown operating system for build configuration 'os'
199 | }
200 |
201 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
202 | @MainActor
203 | #endif
/host/spi-builder-workspace/Sources/Core/Application.swift:206:10: warning: unknown operating system for build configuration 'os'
204 | @available(iOS 13, tvOS 13, watchOS 6, *)
205 | public class Application: ObservableObject { // cannot automatically conform to CustomStringConvertible since it's actor-isolated...
206 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
207 | @MainActor
208 | #endif
/host/spi-builder-workspace/Sources/Core/Application.swift:211:10: warning: unknown operating system for build configuration 'os'
209 | public static var baseDomain = "com.kudit"
210 |
211 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
212 | @MainActor
213 | #endif
/host/spi-builder-workspace/Sources/Core/Application.swift:257:35: warning: unknown operating system for build configuration 'os'
255 | public static let isMacCatalyst = Build.isMacCatalyst
256 |
257 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
258 | @MainActor
259 | #endif
/host/spi-builder-workspace/Sources/Core/Application.swift:265:35: warning: unknown operating system for build configuration 'os'
263 | }
264 |
265 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
266 | // MARK: - iCloud Support
267 | /// Use before tracking to disable iCloud checks to prevent crashes if we can't check for iCloud or for simulating behavior without iCloud support for CloudStorage.
/host/spi-builder-workspace/Sources/Core/Application.swift:499:35: warning: unknown operating system for build configuration 'os'
497 | #endif
498 | #if compiler(>=5.9)
499 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
500 | @MainActor
501 | internal static var applicationTests: TestClosure = { @MainActor in // ensure we're running these on the Main Actor so we don't have to worry about Application main actor access.
/host/spi-builder-workspace/Sources/Core/Application.swift:536:35: warning: unknown operating system for build configuration 'os'
534 | #endif
535 |
536 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
537 | @MainActor
538 | #endif
/host/spi-builder-workspace/Sources/Core/Bundle.swift:9:35: warning: unknown operating system for build configuration 'os'
7 | //
8 |
9 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
10 | // get current version:
11 | // Bundle.main.version
/host/spi-builder-workspace/Sources/Core/Test.swift:18:10: warning: unknown operating system for build configuration 'os'
16 | // set breakpoint on this line if we want to debug/inspect errors (note that this slows enough to mess with time stamp checks so disable once we know everything is working).
17 | if let debugString {
18 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
19 | throw CustomError(debugString)
20 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:25:35: warning: unknown operating system for build configuration 'os'
23 | #endif
24 | } else {
25 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
26 | let isMainThread = Thread.isMainThread
27 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:39:10: warning: unknown operating system for build configuration 'os'
37 | file, function, line, column)
38 |
39 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
40 | throw CustomError(context)
41 | #else
/host/spi-builder-workspace/Sources/Core/Application.swift:395:13: warning: variable 'allVersionsString' was never mutated; consider changing to 'let' constant
393 |
394 | // join all versions run (the beauty of this is it doesn't matter if legacyLastRunVersion is a comma-separated list or a single value - both will work)
395 | var allVersionsString = "\(legacyLastRunVersion ?? ""),\(kuditPreviouslyRunVersions?.joined(separator: ",") ?? ""),\(version)"
| `- warning: variable 'allVersionsString' was never mutated; consider changing to 'let' constant
396 | #if compiler(>=5.9) && canImport(Combine)
397 | if #available(watchOS 9, *) {
[48/51] Compiling Compatibility Bundle.swift
/host/spi-builder-workspace/Sources/Compatibility.swift:198:35: warning: unknown operating system for build configuration 'os'
196 | public extension Compatibility { // for brief period where Application and Build wasn't available. Static computed properties apparently aren't supported in extensions in iOS <13?
197 | // MARK: - Entitlements Information
198 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
199 | @available(*, deprecated, renamed: "Application.iCloudSupported")
200 | @MainActor
/host/spi-builder-workspace/Sources/Core/Application.swift:201:10: warning: unknown operating system for build configuration 'os'
199 | }
200 |
201 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
202 | @MainActor
203 | #endif
/host/spi-builder-workspace/Sources/Core/Application.swift:206:10: warning: unknown operating system for build configuration 'os'
204 | @available(iOS 13, tvOS 13, watchOS 6, *)
205 | public class Application: ObservableObject { // cannot automatically conform to CustomStringConvertible since it's actor-isolated...
206 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
207 | @MainActor
208 | #endif
/host/spi-builder-workspace/Sources/Core/Application.swift:211:10: warning: unknown operating system for build configuration 'os'
209 | public static var baseDomain = "com.kudit"
210 |
211 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
212 | @MainActor
213 | #endif
/host/spi-builder-workspace/Sources/Core/Application.swift:257:35: warning: unknown operating system for build configuration 'os'
255 | public static let isMacCatalyst = Build.isMacCatalyst
256 |
257 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
258 | @MainActor
259 | #endif
/host/spi-builder-workspace/Sources/Core/Application.swift:265:35: warning: unknown operating system for build configuration 'os'
263 | }
264 |
265 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
266 | // MARK: - iCloud Support
267 | /// Use before tracking to disable iCloud checks to prevent crashes if we can't check for iCloud or for simulating behavior without iCloud support for CloudStorage.
/host/spi-builder-workspace/Sources/Core/Application.swift:499:35: warning: unknown operating system for build configuration 'os'
497 | #endif
498 | #if compiler(>=5.9)
499 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
500 | @MainActor
501 | internal static var applicationTests: TestClosure = { @MainActor in // ensure we're running these on the Main Actor so we don't have to worry about Application main actor access.
/host/spi-builder-workspace/Sources/Core/Application.swift:536:35: warning: unknown operating system for build configuration 'os'
534 | #endif
535 |
536 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
537 | @MainActor
538 | #endif
/host/spi-builder-workspace/Sources/Core/Bundle.swift:9:35: warning: unknown operating system for build configuration 'os'
7 | //
8 |
9 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
10 | // get current version:
11 | // Bundle.main.version
/host/spi-builder-workspace/Sources/Core/Test.swift:18:10: warning: unknown operating system for build configuration 'os'
16 | // set breakpoint on this line if we want to debug/inspect errors (note that this slows enough to mess with time stamp checks so disable once we know everything is working).
17 | if let debugString {
18 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
19 | throw CustomError(debugString)
20 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:25:35: warning: unknown operating system for build configuration 'os'
23 | #endif
24 | } else {
25 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
26 | let isMainThread = Thread.isMainThread
27 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:39:10: warning: unknown operating system for build configuration 'os'
37 | file, function, line, column)
38 |
39 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
40 | throw CustomError(context)
41 | #else
/host/spi-builder-workspace/Sources/Core/Application.swift:395:13: warning: variable 'allVersionsString' was never mutated; consider changing to 'let' constant
393 |
394 | // join all versions run (the beauty of this is it doesn't matter if legacyLastRunVersion is a comma-separated list or a single value - both will work)
395 | var allVersionsString = "\(legacyLastRunVersion ?? ""),\(kuditPreviouslyRunVersions?.joined(separator: ",") ?? ""),\(version)"
| `- warning: variable 'allVersionsString' was never mutated; consider changing to 'let' constant
396 | #if compiler(>=5.9) && canImport(Combine)
397 | if #available(watchOS 9, *) {
[49/51] Compiling Compatibility CloudStatus.swift
/host/spi-builder-workspace/Sources/Compatibility.swift:198:35: warning: unknown operating system for build configuration 'os'
196 | public extension Compatibility { // for brief period where Application and Build wasn't available. Static computed properties apparently aren't supported in extensions in iOS <13?
197 | // MARK: - Entitlements Information
198 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
199 | @available(*, deprecated, renamed: "Application.iCloudSupported")
200 | @MainActor
/host/spi-builder-workspace/Sources/Core/Application.swift:201:10: warning: unknown operating system for build configuration 'os'
199 | }
200 |
201 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
202 | @MainActor
203 | #endif
/host/spi-builder-workspace/Sources/Core/Application.swift:206:10: warning: unknown operating system for build configuration 'os'
204 | @available(iOS 13, tvOS 13, watchOS 6, *)
205 | public class Application: ObservableObject { // cannot automatically conform to CustomStringConvertible since it's actor-isolated...
206 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
207 | @MainActor
208 | #endif
/host/spi-builder-workspace/Sources/Core/Application.swift:211:10: warning: unknown operating system for build configuration 'os'
209 | public static var baseDomain = "com.kudit"
210 |
211 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
212 | @MainActor
213 | #endif
/host/spi-builder-workspace/Sources/Core/Application.swift:257:35: warning: unknown operating system for build configuration 'os'
255 | public static let isMacCatalyst = Build.isMacCatalyst
256 |
257 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
258 | @MainActor
259 | #endif
/host/spi-builder-workspace/Sources/Core/Application.swift:265:35: warning: unknown operating system for build configuration 'os'
263 | }
264 |
265 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
266 | // MARK: - iCloud Support
267 | /// Use before tracking to disable iCloud checks to prevent crashes if we can't check for iCloud or for simulating behavior without iCloud support for CloudStorage.
/host/spi-builder-workspace/Sources/Core/Application.swift:499:35: warning: unknown operating system for build configuration 'os'
497 | #endif
498 | #if compiler(>=5.9)
499 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
500 | @MainActor
501 | internal static var applicationTests: TestClosure = { @MainActor in // ensure we're running these on the Main Actor so we don't have to worry about Application main actor access.
/host/spi-builder-workspace/Sources/Core/Application.swift:536:35: warning: unknown operating system for build configuration 'os'
534 | #endif
535 |
536 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
537 | @MainActor
538 | #endif
/host/spi-builder-workspace/Sources/Core/Bundle.swift:9:35: warning: unknown operating system for build configuration 'os'
7 | //
8 |
9 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
10 | // get current version:
11 | // Bundle.main.version
/host/spi-builder-workspace/Sources/Core/Test.swift:18:10: warning: unknown operating system for build configuration 'os'
16 | // set breakpoint on this line if we want to debug/inspect errors (note that this slows enough to mess with time stamp checks so disable once we know everything is working).
17 | if let debugString {
18 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
19 | throw CustomError(debugString)
20 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:25:35: warning: unknown operating system for build configuration 'os'
23 | #endif
24 | } else {
25 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
26 | let isMainThread = Thread.isMainThread
27 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:39:10: warning: unknown operating system for build configuration 'os'
37 | file, function, line, column)
38 |
39 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
40 | throw CustomError(context)
41 | #else
/host/spi-builder-workspace/Sources/Core/Application.swift:395:13: warning: variable 'allVersionsString' was never mutated; consider changing to 'let' constant
393 |
394 | // join all versions run (the beauty of this is it doesn't matter if legacyLastRunVersion is a comma-separated list or a single value - both will work)
395 | var allVersionsString = "\(legacyLastRunVersion ?? ""),\(kuditPreviouslyRunVersions?.joined(separator: ",") ?? ""),\(version)"
| `- warning: variable 'allVersionsString' was never mutated; consider changing to 'let' constant
396 | #if compiler(>=5.9) && canImport(Combine)
397 | if #available(watchOS 9, *) {
[50/51] Compiling Compatibility CloudStorage.swift
/host/spi-builder-workspace/Sources/Compatibility.swift:198:35: warning: unknown operating system for build configuration 'os'
196 | public extension Compatibility { // for brief period where Application and Build wasn't available. Static computed properties apparently aren't supported in extensions in iOS <13?
197 | // MARK: - Entitlements Information
198 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
199 | @available(*, deprecated, renamed: "Application.iCloudSupported")
200 | @MainActor
/host/spi-builder-workspace/Sources/Core/Application.swift:201:10: warning: unknown operating system for build configuration 'os'
199 | }
200 |
201 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
202 | @MainActor
203 | #endif
/host/spi-builder-workspace/Sources/Core/Application.swift:206:10: warning: unknown operating system for build configuration 'os'
204 | @available(iOS 13, tvOS 13, watchOS 6, *)
205 | public class Application: ObservableObject { // cannot automatically conform to CustomStringConvertible since it's actor-isolated...
206 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
207 | @MainActor
208 | #endif
/host/spi-builder-workspace/Sources/Core/Application.swift:211:10: warning: unknown operating system for build configuration 'os'
209 | public static var baseDomain = "com.kudit"
210 |
211 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
212 | @MainActor
213 | #endif
/host/spi-builder-workspace/Sources/Core/Application.swift:257:35: warning: unknown operating system for build configuration 'os'
255 | public static let isMacCatalyst = Build.isMacCatalyst
256 |
257 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
258 | @MainActor
259 | #endif
/host/spi-builder-workspace/Sources/Core/Application.swift:265:35: warning: unknown operating system for build configuration 'os'
263 | }
264 |
265 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
266 | // MARK: - iCloud Support
267 | /// Use before tracking to disable iCloud checks to prevent crashes if we can't check for iCloud or for simulating behavior without iCloud support for CloudStorage.
/host/spi-builder-workspace/Sources/Core/Application.swift:499:35: warning: unknown operating system for build configuration 'os'
497 | #endif
498 | #if compiler(>=5.9)
499 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
500 | @MainActor
501 | internal static var applicationTests: TestClosure = { @MainActor in // ensure we're running these on the Main Actor so we don't have to worry about Application main actor access.
/host/spi-builder-workspace/Sources/Core/Application.swift:536:35: warning: unknown operating system for build configuration 'os'
534 | #endif
535 |
536 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
537 | @MainActor
538 | #endif
/host/spi-builder-workspace/Sources/Core/Bundle.swift:9:35: warning: unknown operating system for build configuration 'os'
7 | //
8 |
9 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
10 | // get current version:
11 | // Bundle.main.version
/host/spi-builder-workspace/Sources/Core/Test.swift:18:10: warning: unknown operating system for build configuration 'os'
16 | // set breakpoint on this line if we want to debug/inspect errors (note that this slows enough to mess with time stamp checks so disable once we know everything is working).
17 | if let debugString {
18 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
19 | throw CustomError(debugString)
20 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:25:35: warning: unknown operating system for build configuration 'os'
23 | #endif
24 | } else {
25 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
26 | let isMainThread = Thread.isMainThread
27 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:39:10: warning: unknown operating system for build configuration 'os'
37 | file, function, line, column)
38 |
39 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
40 | throw CustomError(context)
41 | #else
/host/spi-builder-workspace/Sources/Core/Application.swift:395:13: warning: variable 'allVersionsString' was never mutated; consider changing to 'let' constant
393 |
394 | // join all versions run (the beauty of this is it doesn't matter if legacyLastRunVersion is a comma-separated list or a single value - both will work)
395 | var allVersionsString = "\(legacyLastRunVersion ?? ""),\(kuditPreviouslyRunVersions?.joined(separator: ",") ?? ""),\(version)"
| `- warning: variable 'allVersionsString' was never mutated; consider changing to 'let' constant
396 | #if compiler(>=5.9) && canImport(Combine)
397 | if #available(watchOS 9, *) {
[51/51] Compiling Compatibility CloudStorageSync.swift
/host/spi-builder-workspace/Sources/Compatibility.swift:198:35: warning: unknown operating system for build configuration 'os'
196 | public extension Compatibility { // for brief period where Application and Build wasn't available. Static computed properties apparently aren't supported in extensions in iOS <13?
197 | // MARK: - Entitlements Information
198 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
199 | @available(*, deprecated, renamed: "Application.iCloudSupported")
200 | @MainActor
/host/spi-builder-workspace/Sources/Core/Application.swift:201:10: warning: unknown operating system for build configuration 'os'
199 | }
200 |
201 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
202 | @MainActor
203 | #endif
/host/spi-builder-workspace/Sources/Core/Application.swift:206:10: warning: unknown operating system for build configuration 'os'
204 | @available(iOS 13, tvOS 13, watchOS 6, *)
205 | public class Application: ObservableObject { // cannot automatically conform to CustomStringConvertible since it's actor-isolated...
206 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
207 | @MainActor
208 | #endif
/host/spi-builder-workspace/Sources/Core/Application.swift:211:10: warning: unknown operating system for build configuration 'os'
209 | public static var baseDomain = "com.kudit"
210 |
211 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
212 | @MainActor
213 | #endif
/host/spi-builder-workspace/Sources/Core/Application.swift:257:35: warning: unknown operating system for build configuration 'os'
255 | public static let isMacCatalyst = Build.isMacCatalyst
256 |
257 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
258 | @MainActor
259 | #endif
/host/spi-builder-workspace/Sources/Core/Application.swift:265:35: warning: unknown operating system for build configuration 'os'
263 | }
264 |
265 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
266 | // MARK: - iCloud Support
267 | /// Use before tracking to disable iCloud checks to prevent crashes if we can't check for iCloud or for simulating behavior without iCloud support for CloudStorage.
/host/spi-builder-workspace/Sources/Core/Application.swift:499:35: warning: unknown operating system for build configuration 'os'
497 | #endif
498 | #if compiler(>=5.9)
499 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
500 | @MainActor
501 | internal static var applicationTests: TestClosure = { @MainActor in // ensure we're running these on the Main Actor so we don't have to worry about Application main actor access.
/host/spi-builder-workspace/Sources/Core/Application.swift:536:35: warning: unknown operating system for build configuration 'os'
534 | #endif
535 |
536 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
537 | @MainActor
538 | #endif
/host/spi-builder-workspace/Sources/Core/Bundle.swift:9:35: warning: unknown operating system for build configuration 'os'
7 | //
8 |
9 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
10 | // get current version:
11 | // Bundle.main.version
/host/spi-builder-workspace/Sources/Core/Test.swift:18:10: warning: unknown operating system for build configuration 'os'
16 | // set breakpoint on this line if we want to debug/inspect errors (note that this slows enough to mess with time stamp checks so disable once we know everything is working).
17 | if let debugString {
18 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
19 | throw CustomError(debugString)
20 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:25:35: warning: unknown operating system for build configuration 'os'
23 | #endif
24 | } else {
25 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
26 | let isMainThread = Thread.isMainThread
27 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:39:10: warning: unknown operating system for build configuration 'os'
37 | file, function, line, column)
38 |
39 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
40 | throw CustomError(context)
41 | #else
/host/spi-builder-workspace/Sources/Core/Application.swift:395:13: warning: variable 'allVersionsString' was never mutated; consider changing to 'let' constant
393 |
394 | // join all versions run (the beauty of this is it doesn't matter if legacyLastRunVersion is a comma-separated list or a single value - both will work)
395 | var allVersionsString = "\(legacyLastRunVersion ?? ""),\(kuditPreviouslyRunVersions?.joined(separator: ",") ?? ""),\(version)"
| `- warning: variable 'allVersionsString' was never mutated; consider changing to 'let' constant
396 | #if compiler(>=5.9) && canImport(Combine)
397 | if #available(watchOS 9, *) {
Build complete! (13.79s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Compatibility",
"name" : "Compatibility",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "11"
},
{
"name" : "watchos",
"version" : "4"
},
{
"name" : "ios",
"version" : "11"
}
],
"products" : [
{
"name" : "Compatibility Library",
"targets" : [
"Compatibility"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "Compatibility",
"module_type" : "SwiftTarget",
"name" : "Compatibility",
"path" : "Sources",
"product_memberships" : [
"Compatibility Library"
],
"sources" : [
"Compatibility.swift",
"Core/Application.swift",
"Core/Bundle.swift",
"Core/CloudStatus.swift",
"Core/CloudStorage.swift",
"Core/CloudStorageSync.swift",
"Core/DataStore.swift",
"Core/Debug.swift",
"Core/FileManager.swift",
"Core/Graphics.swift",
"Core/Network.swift",
"Core/ObservableObject.swift",
"Core/Shell.swift",
"Core/Test.swift",
"Core/UserDefaultsBacked.swift",
"Foundation/Array.swift",
"Foundation/CharacterSet.swift",
"Foundation/Codable.swift",
"Foundation/CodingFoundation.swift",
"Foundation/CodingJSON.swift",
"Foundation/CodingMixedTypes.swift",
"Foundation/CodingParameters.swift",
"Foundation/Date.swift",
"Foundation/DateString.swift",
"Foundation/Dictionary.swift",
"Foundation/Double.swift",
"Foundation/Enum.swift",
"Foundation/Int.swift",
"Foundation/Introspection.swift",
"Foundation/OrderedDictionary.swift",
"Foundation/OrderedSet.swift",
"Foundation/String.swift",
"Foundation/Threading.swift",
"Foundation/URL.swift",
"Foundation/Version.swift",
"UI/AdaptiveLayouts.swift",
"UI/Backport.swift",
"UI/BytesView.swift",
"UI/ClearableTextField.swift",
"UI/Embossed.swift",
"UI/Menu.swift",
"UI/OverlappingStack.swift",
"UI/Pasteboard.swift",
"UI/RadialLayout.swift",
"UI/Shapes/Placard.swift",
"UI/Shapes/Triangle.swift",
"UI/SwiftUI.swift",
"UI/TestUI.swift"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:046a2cda21bb64b2d09e6d52c84584e938ec1698de194871f3d7088597b2bb28
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.