Build Information
Successful build of Compatibility, reference main (33d3df), with Swift 6.0 for macOS (SPM) on 13 Oct 2025 21:23:24 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64Build Log
56 | #endif
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 {
/Users/admin/builder/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 {
/Users/admin/builder/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, *)
[30/51] Compiling Compatibility Shell.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Network.swift:171:10: warning: unknown operating system for build configuration 'os'
169 | @available(iOS 13, tvOS 13, watchOS 6, *) // for concurrency
170 | public static func fetchURLData(urlString: String, postData: PostData? = nil, file: String = #file, function: String = #function, line: Int = #line, column: Int = #column) async throws -> Data {
171 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
172 | debug("Fetching URL [\(urlString)]...", level: .NOTICE, file: file, function: function, line: line, column: column)
173 | #else
/Users/admin/builder/spi-builder-workspace/Sources/Core/Network.swift:222:10: warning: unknown operating system for build configuration 'os'
220 | guard let statusCode = (response as? HTTPURLResponse)?.statusCode else {
221 | let debugMessage = "No status code in HTTP response. Possibly offline?: \(String(describing: response))"
222 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
223 | debug(debugMessage, level: .ERROR)
224 | #else
/Users/admin/builder/spi-builder-workspace/Sources/Core/Network.swift:288:32: warning: unknown operating system for build configuration 'os'
286 | }
287 |
288 | #if canImport(SwiftUI) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
289 | import SwiftUI
290 | @available(iOS 13, macOS 11, tvOS 13, watchOS 6, *)
/Users/admin/builder/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).
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 {
/Users/admin/builder/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 {
/Users/admin/builder/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, *)
[31/51] Compiling Compatibility Test.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Network.swift:171:10: warning: unknown operating system for build configuration 'os'
169 | @available(iOS 13, tvOS 13, watchOS 6, *) // for concurrency
170 | public static func fetchURLData(urlString: String, postData: PostData? = nil, file: String = #file, function: String = #function, line: Int = #line, column: Int = #column) async throws -> Data {
171 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
172 | debug("Fetching URL [\(urlString)]...", level: .NOTICE, file: file, function: function, line: line, column: column)
173 | #else
/Users/admin/builder/spi-builder-workspace/Sources/Core/Network.swift:222:10: warning: unknown operating system for build configuration 'os'
220 | guard let statusCode = (response as? HTTPURLResponse)?.statusCode else {
221 | let debugMessage = "No status code in HTTP response. Possibly offline?: \(String(describing: response))"
222 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
223 | debug(debugMessage, level: .ERROR)
224 | #else
/Users/admin/builder/spi-builder-workspace/Sources/Core/Network.swift:288:32: warning: unknown operating system for build configuration 'os'
286 | }
287 |
288 | #if canImport(SwiftUI) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
289 | import SwiftUI
290 | @available(iOS 13, macOS 11, tvOS 13, watchOS 6, *)
/Users/admin/builder/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).
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 {
/Users/admin/builder/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 {
/Users/admin/builder/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, *)
[32/51] Compiling Compatibility UserDefaultsBacked.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Network.swift:171:10: warning: unknown operating system for build configuration 'os'
169 | @available(iOS 13, tvOS 13, watchOS 6, *) // for concurrency
170 | public static func fetchURLData(urlString: String, postData: PostData? = nil, file: String = #file, function: String = #function, line: Int = #line, column: Int = #column) async throws -> Data {
171 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
172 | debug("Fetching URL [\(urlString)]...", level: .NOTICE, file: file, function: function, line: line, column: column)
173 | #else
/Users/admin/builder/spi-builder-workspace/Sources/Core/Network.swift:222:10: warning: unknown operating system for build configuration 'os'
220 | guard let statusCode = (response as? HTTPURLResponse)?.statusCode else {
221 | let debugMessage = "No status code in HTTP response. Possibly offline?: \(String(describing: response))"
222 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
223 | debug(debugMessage, level: .ERROR)
224 | #else
/Users/admin/builder/spi-builder-workspace/Sources/Core/Network.swift:288:32: warning: unknown operating system for build configuration 'os'
286 | }
287 |
288 | #if canImport(SwiftUI) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
289 | import SwiftUI
290 | @available(iOS 13, macOS 11, tvOS 13, watchOS 6, *)
/Users/admin/builder/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).
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 {
/Users/admin/builder/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 {
/Users/admin/builder/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, *)
[33/51] Compiling Compatibility OrderedSet.swift
/Users/admin/builder/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 {
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/String.swift:385:135: warning: unknown operating system for build configuration 'os'
383 | }
384 |
385 | #if canImport(SwiftUI) && ((canImport(Combine) && canImport(Foundation)) || canImport(NSAttributedString)) && compiler(>=5.9) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
386 | @available(iOS 15, macOS 12, tvOS 15, watchOS 8, *)
387 | #Preview("HTML") {
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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 {
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 {}
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/String.swift:1521:76: warning: unknown operating system for build configuration 'os'
1519 | }
1520 |
1521 | #if canImport(SwiftUI) && compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1522 | import SwiftUI
1523 | @available(iOS 13, tvOS 13, watchOS 6, *)
/Users/admin/builder/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.
/Users/admin/builder/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.
/Users/admin/builder/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 |
/Users/admin/builder/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 {
/Users/admin/builder/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 {
/Users/admin/builder/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 {}
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 = """
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/Version.swift:357:76: warning: unknown operating system for build configuration 'os'
355 |
356 |
357 | #if canImport(SwiftUI) && compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
358 | // Don't know why this is necessary. CustomStringConvertible should have covered this.
359 | import SwiftUI
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
[34/51] Compiling Compatibility String.swift
/Users/admin/builder/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 {
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/String.swift:385:135: warning: unknown operating system for build configuration 'os'
383 | }
384 |
385 | #if canImport(SwiftUI) && ((canImport(Combine) && canImport(Foundation)) || canImport(NSAttributedString)) && compiler(>=5.9) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
386 | @available(iOS 15, macOS 12, tvOS 15, watchOS 8, *)
387 | #Preview("HTML") {
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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 {
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 {}
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/String.swift:1521:76: warning: unknown operating system for build configuration 'os'
1519 | }
1520 |
1521 | #if canImport(SwiftUI) && compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1522 | import SwiftUI
1523 | @available(iOS 13, tvOS 13, watchOS 6, *)
/Users/admin/builder/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.
/Users/admin/builder/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.
/Users/admin/builder/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 |
/Users/admin/builder/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 {
/Users/admin/builder/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 {
/Users/admin/builder/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 {}
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 = """
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/Version.swift:357:76: warning: unknown operating system for build configuration 'os'
355 |
356 |
357 | #if canImport(SwiftUI) && compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
358 | // Don't know why this is necessary. CustomStringConvertible should have covered this.
359 | import SwiftUI
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 Threading.swift
/Users/admin/builder/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 {
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/String.swift:385:135: warning: unknown operating system for build configuration 'os'
383 | }
384 |
385 | #if canImport(SwiftUI) && ((canImport(Combine) && canImport(Foundation)) || canImport(NSAttributedString)) && compiler(>=5.9) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
386 | @available(iOS 15, macOS 12, tvOS 15, watchOS 8, *)
387 | #Preview("HTML") {
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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 {
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 {}
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/String.swift:1521:76: warning: unknown operating system for build configuration 'os'
1519 | }
1520 |
1521 | #if canImport(SwiftUI) && compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1522 | import SwiftUI
1523 | @available(iOS 13, tvOS 13, watchOS 6, *)
/Users/admin/builder/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.
/Users/admin/builder/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.
/Users/admin/builder/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 |
/Users/admin/builder/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 {
/Users/admin/builder/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 {
/Users/admin/builder/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 {}
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 = """
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/Version.swift:357:76: warning: unknown operating system for build configuration 'os'
355 |
356 |
357 | #if canImport(SwiftUI) && compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
358 | // Don't know why this is necessary. CustomStringConvertible should have covered this.
359 | import SwiftUI
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 URL.swift
/Users/admin/builder/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 {
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/String.swift:385:135: warning: unknown operating system for build configuration 'os'
383 | }
384 |
385 | #if canImport(SwiftUI) && ((canImport(Combine) && canImport(Foundation)) || canImport(NSAttributedString)) && compiler(>=5.9) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
386 | @available(iOS 15, macOS 12, tvOS 15, watchOS 8, *)
387 | #Preview("HTML") {
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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 {
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 {}
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/String.swift:1521:76: warning: unknown operating system for build configuration 'os'
1519 | }
1520 |
1521 | #if canImport(SwiftUI) && compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1522 | import SwiftUI
1523 | @available(iOS 13, tvOS 13, watchOS 6, *)
/Users/admin/builder/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.
/Users/admin/builder/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.
/Users/admin/builder/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 |
/Users/admin/builder/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 {
/Users/admin/builder/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 {
/Users/admin/builder/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 {}
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 = """
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/Version.swift:357:76: warning: unknown operating system for build configuration 'os'
355 |
356 |
357 | #if canImport(SwiftUI) && compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
358 | // Don't know why this is necessary. CustomStringConvertible should have covered this.
359 | import SwiftUI
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 Version.swift
/Users/admin/builder/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 {
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/String.swift:385:135: warning: unknown operating system for build configuration 'os'
383 | }
384 |
385 | #if canImport(SwiftUI) && ((canImport(Combine) && canImport(Foundation)) || canImport(NSAttributedString)) && compiler(>=5.9) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
386 | @available(iOS 15, macOS 12, tvOS 15, watchOS 8, *)
387 | #Preview("HTML") {
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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 {
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 {}
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/String.swift:1521:76: warning: unknown operating system for build configuration 'os'
1519 | }
1520 |
1521 | #if canImport(SwiftUI) && compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1522 | import SwiftUI
1523 | @available(iOS 13, tvOS 13, watchOS 6, *)
/Users/admin/builder/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.
/Users/admin/builder/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.
/Users/admin/builder/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 |
/Users/admin/builder/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 {
/Users/admin/builder/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 {
/Users/admin/builder/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 {}
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 = """
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/Foundation/Version.swift:357:76: warning: unknown operating system for build configuration 'os'
355 |
356 |
357 | #if canImport(SwiftUI) && compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
358 | // Don't know why this is necessary. CustomStringConvertible should have covered this.
359 | import SwiftUI
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 Menu.swift
/Users/admin/builder/spi-builder-workspace/Sources/UI/Menu.swift:8:76: warning: unknown operating system for build configuration 'os'
6 | //
7 |
8 | #if canImport(SwiftUI) && compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
9 | import SwiftUI
10 |
/Users/admin/builder/spi-builder-workspace/Sources/UI/OverlappingStack.swift:1:76: warning: unknown operating system for build configuration 'os'
1 | #if canImport(SwiftUI) && compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
2 | import SwiftUI
3 | // from https://www.sgade.de/blog/2023-02-28-swift-layout-overlapping-hstack/
/Users/admin/builder/spi-builder-workspace/Sources/UI/RadialLayout.swift:1:76: warning: unknown operating system for build configuration 'os'
1 | #if canImport(SwiftUI) && compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
2 |
3 | import SwiftUI
[39/51] Compiling Compatibility OverlappingStack.swift
/Users/admin/builder/spi-builder-workspace/Sources/UI/Menu.swift:8:76: warning: unknown operating system for build configuration 'os'
6 | //
7 |
8 | #if canImport(SwiftUI) && compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
9 | import SwiftUI
10 |
/Users/admin/builder/spi-builder-workspace/Sources/UI/OverlappingStack.swift:1:76: warning: unknown operating system for build configuration 'os'
1 | #if canImport(SwiftUI) && compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
2 | import SwiftUI
3 | // from https://www.sgade.de/blog/2023-02-28-swift-layout-overlapping-hstack/
/Users/admin/builder/spi-builder-workspace/Sources/UI/RadialLayout.swift:1:76: warning: unknown operating system for build configuration 'os'
1 | #if canImport(SwiftUI) && compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
2 |
3 | import SwiftUI
[40/51] Compiling Compatibility Pasteboard.swift
/Users/admin/builder/spi-builder-workspace/Sources/UI/Menu.swift:8:76: warning: unknown operating system for build configuration 'os'
6 | //
7 |
8 | #if canImport(SwiftUI) && compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
9 | import SwiftUI
10 |
/Users/admin/builder/spi-builder-workspace/Sources/UI/OverlappingStack.swift:1:76: warning: unknown operating system for build configuration 'os'
1 | #if canImport(SwiftUI) && compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
2 | import SwiftUI
3 | // from https://www.sgade.de/blog/2023-02-28-swift-layout-overlapping-hstack/
/Users/admin/builder/spi-builder-workspace/Sources/UI/RadialLayout.swift:1:76: warning: unknown operating system for build configuration 'os'
1 | #if canImport(SwiftUI) && compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
2 |
3 | import SwiftUI
[41/51] Compiling Compatibility RadialLayout.swift
/Users/admin/builder/spi-builder-workspace/Sources/UI/Menu.swift:8:76: warning: unknown operating system for build configuration 'os'
6 | //
7 |
8 | #if canImport(SwiftUI) && compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
9 | import SwiftUI
10 |
/Users/admin/builder/spi-builder-workspace/Sources/UI/OverlappingStack.swift:1:76: warning: unknown operating system for build configuration 'os'
1 | #if canImport(SwiftUI) && compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
2 | import SwiftUI
3 | // from https://www.sgade.de/blog/2023-02-28-swift-layout-overlapping-hstack/
/Users/admin/builder/spi-builder-workspace/Sources/UI/RadialLayout.swift:1:76: warning: unknown operating system for build configuration 'os'
1 | #if canImport(SwiftUI) && compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
2 |
3 | import SwiftUI
[42/51] Compiling Compatibility Compatibility.swift
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/Compatibility.swift:242:76: warning: unknown operating system for build configuration 'os'
240 | #endif
241 |
242 | #if canImport(SwiftUI) && compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
243 | import SwiftUI
244 |
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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.
/Users/admin/builder/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.
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/Core/CloudStatus.swift:26:76: warning: unknown operating system for build configuration 'os'
24 | }
25 |
26 | #if canImport(SwiftUI) && compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
27 | import SwiftUI
28 | @available(iOS 13, macOS 11, tvOS 13, watchOS 6, *)
/Users/admin/builder/spi-builder-workspace/Sources/Core/CloudStorage.swift:8:98: warning: unknown operating system for build configuration 'os'
6 | //
7 |
8 | #if canImport(SwiftUI) && canImport(Combine) && compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
9 | import SwiftUI
10 | import Combine
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
[43/51] Compiling Compatibility Application.swift
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/Compatibility.swift:242:76: warning: unknown operating system for build configuration 'os'
240 | #endif
241 |
242 | #if canImport(SwiftUI) && compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
243 | import SwiftUI
244 |
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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.
/Users/admin/builder/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.
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/Core/CloudStatus.swift:26:76: warning: unknown operating system for build configuration 'os'
24 | }
25 |
26 | #if canImport(SwiftUI) && compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
27 | import SwiftUI
28 | @available(iOS 13, macOS 11, tvOS 13, watchOS 6, *)
/Users/admin/builder/spi-builder-workspace/Sources/Core/CloudStorage.swift:8:98: warning: unknown operating system for build configuration 'os'
6 | //
7 |
8 | #if canImport(SwiftUI) && canImport(Combine) && compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
9 | import SwiftUI
10 | import Combine
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
[44/51] Compiling Compatibility Bundle.swift
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/Compatibility.swift:242:76: warning: unknown operating system for build configuration 'os'
240 | #endif
241 |
242 | #if canImport(SwiftUI) && compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
243 | import SwiftUI
244 |
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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.
/Users/admin/builder/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.
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/Core/CloudStatus.swift:26:76: warning: unknown operating system for build configuration 'os'
24 | }
25 |
26 | #if canImport(SwiftUI) && compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
27 | import SwiftUI
28 | @available(iOS 13, macOS 11, tvOS 13, watchOS 6, *)
/Users/admin/builder/spi-builder-workspace/Sources/Core/CloudStorage.swift:8:98: warning: unknown operating system for build configuration 'os'
6 | //
7 |
8 | #if canImport(SwiftUI) && canImport(Combine) && compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
9 | import SwiftUI
10 | import Combine
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
[45/51] Compiling Compatibility CloudStatus.swift
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/Compatibility.swift:242:76: warning: unknown operating system for build configuration 'os'
240 | #endif
241 |
242 | #if canImport(SwiftUI) && compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
243 | import SwiftUI
244 |
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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.
/Users/admin/builder/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.
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/Core/CloudStatus.swift:26:76: warning: unknown operating system for build configuration 'os'
24 | }
25 |
26 | #if canImport(SwiftUI) && compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
27 | import SwiftUI
28 | @available(iOS 13, macOS 11, tvOS 13, watchOS 6, *)
/Users/admin/builder/spi-builder-workspace/Sources/Core/CloudStorage.swift:8:98: warning: unknown operating system for build configuration 'os'
6 | //
7 |
8 | #if canImport(SwiftUI) && canImport(Combine) && compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
9 | import SwiftUI
10 | import Combine
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
[46/51] Compiling Compatibility CloudStorage.swift
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/Compatibility.swift:242:76: warning: unknown operating system for build configuration 'os'
240 | #endif
241 |
242 | #if canImport(SwiftUI) && compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
243 | import SwiftUI
244 |
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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.
/Users/admin/builder/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.
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/Core/CloudStatus.swift:26:76: warning: unknown operating system for build configuration 'os'
24 | }
25 |
26 | #if canImport(SwiftUI) && compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
27 | import SwiftUI
28 | @available(iOS 13, macOS 11, tvOS 13, watchOS 6, *)
/Users/admin/builder/spi-builder-workspace/Sources/Core/CloudStorage.swift:8:98: warning: unknown operating system for build configuration 'os'
6 | //
7 |
8 | #if canImport(SwiftUI) && canImport(Combine) && compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
9 | import SwiftUI
10 | import Combine
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
[47/51] Compiling Compatibility AdaptiveLayouts.swift
/Users/admin/builder/spi-builder-workspace/Sources/UI/AdaptiveLayouts.swift:8:76: warning: unknown operating system for build configuration 'os'
6 | //
7 |
8 | #if canImport(SwiftUI) && compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
9 |
10 | import SwiftUI
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.swift:3:76: warning: unknown operating system for build configuration 'os'
1 | // This has been a godsend! Backport instructions https://davedelong.com/blog/2021/10/09/simplifying-backwards-compatibility-in-swift/
2 |
3 | #if canImport(SwiftUI) && compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
4 | import SwiftUI
5 |
/Users/admin/builder/spi-builder-workspace/Sources/UI/BytesView.swift:1:76: warning: unknown operating system for build configuration 'os'
1 | #if canImport(SwiftUI) && compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
2 | import SwiftUI
3 |
/Users/admin/builder/spi-builder-workspace/Sources/UI/ClearableTextField.swift:7:98: warning: unknown operating system for build configuration 'os'
5 | // Created by Ben Ku on 7/30/24.
6 | //
7 | #if canImport(SwiftUI) && canImport(Combine) && compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
8 |
9 | import SwiftUI
/Users/admin/builder/spi-builder-workspace/Sources/UI/Embossed.swift:1:76: warning: unknown operating system for build configuration 'os'
1 | #if canImport(SwiftUI) && compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
2 | import SwiftUI
3 |
[48/51] Compiling Compatibility Backport.swift
/Users/admin/builder/spi-builder-workspace/Sources/UI/AdaptiveLayouts.swift:8:76: warning: unknown operating system for build configuration 'os'
6 | //
7 |
8 | #if canImport(SwiftUI) && compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
9 |
10 | import SwiftUI
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.swift:3:76: warning: unknown operating system for build configuration 'os'
1 | // This has been a godsend! Backport instructions https://davedelong.com/blog/2021/10/09/simplifying-backwards-compatibility-in-swift/
2 |
3 | #if canImport(SwiftUI) && compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
4 | import SwiftUI
5 |
/Users/admin/builder/spi-builder-workspace/Sources/UI/BytesView.swift:1:76: warning: unknown operating system for build configuration 'os'
1 | #if canImport(SwiftUI) && compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
2 | import SwiftUI
3 |
/Users/admin/builder/spi-builder-workspace/Sources/UI/ClearableTextField.swift:7:98: warning: unknown operating system for build configuration 'os'
5 | // Created by Ben Ku on 7/30/24.
6 | //
7 | #if canImport(SwiftUI) && canImport(Combine) && compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
8 |
9 | import SwiftUI
/Users/admin/builder/spi-builder-workspace/Sources/UI/Embossed.swift:1:76: warning: unknown operating system for build configuration 'os'
1 | #if canImport(SwiftUI) && compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
2 | import SwiftUI
3 |
[49/51] Compiling Compatibility BytesView.swift
/Users/admin/builder/spi-builder-workspace/Sources/UI/AdaptiveLayouts.swift:8:76: warning: unknown operating system for build configuration 'os'
6 | //
7 |
8 | #if canImport(SwiftUI) && compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
9 |
10 | import SwiftUI
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.swift:3:76: warning: unknown operating system for build configuration 'os'
1 | // This has been a godsend! Backport instructions https://davedelong.com/blog/2021/10/09/simplifying-backwards-compatibility-in-swift/
2 |
3 | #if canImport(SwiftUI) && compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
4 | import SwiftUI
5 |
/Users/admin/builder/spi-builder-workspace/Sources/UI/BytesView.swift:1:76: warning: unknown operating system for build configuration 'os'
1 | #if canImport(SwiftUI) && compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
2 | import SwiftUI
3 |
/Users/admin/builder/spi-builder-workspace/Sources/UI/ClearableTextField.swift:7:98: warning: unknown operating system for build configuration 'os'
5 | // Created by Ben Ku on 7/30/24.
6 | //
7 | #if canImport(SwiftUI) && canImport(Combine) && compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
8 |
9 | import SwiftUI
/Users/admin/builder/spi-builder-workspace/Sources/UI/Embossed.swift:1:76: warning: unknown operating system for build configuration 'os'
1 | #if canImport(SwiftUI) && compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
2 | import SwiftUI
3 |
[50/51] Compiling Compatibility ClearableTextField.swift
/Users/admin/builder/spi-builder-workspace/Sources/UI/AdaptiveLayouts.swift:8:76: warning: unknown operating system for build configuration 'os'
6 | //
7 |
8 | #if canImport(SwiftUI) && compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
9 |
10 | import SwiftUI
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.swift:3:76: warning: unknown operating system for build configuration 'os'
1 | // This has been a godsend! Backport instructions https://davedelong.com/blog/2021/10/09/simplifying-backwards-compatibility-in-swift/
2 |
3 | #if canImport(SwiftUI) && compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
4 | import SwiftUI
5 |
/Users/admin/builder/spi-builder-workspace/Sources/UI/BytesView.swift:1:76: warning: unknown operating system for build configuration 'os'
1 | #if canImport(SwiftUI) && compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
2 | import SwiftUI
3 |
/Users/admin/builder/spi-builder-workspace/Sources/UI/ClearableTextField.swift:7:98: warning: unknown operating system for build configuration 'os'
5 | // Created by Ben Ku on 7/30/24.
6 | //
7 | #if canImport(SwiftUI) && canImport(Combine) && compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
8 |
9 | import SwiftUI
/Users/admin/builder/spi-builder-workspace/Sources/UI/Embossed.swift:1:76: warning: unknown operating system for build configuration 'os'
1 | #if canImport(SwiftUI) && compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
2 | import SwiftUI
3 |
[51/51] Compiling Compatibility Embossed.swift
/Users/admin/builder/spi-builder-workspace/Sources/UI/AdaptiveLayouts.swift:8:76: warning: unknown operating system for build configuration 'os'
6 | //
7 |
8 | #if canImport(SwiftUI) && compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
9 |
10 | import SwiftUI
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.swift:3:76: warning: unknown operating system for build configuration 'os'
1 | // This has been a godsend! Backport instructions https://davedelong.com/blog/2021/10/09/simplifying-backwards-compatibility-in-swift/
2 |
3 | #if canImport(SwiftUI) && compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
4 | import SwiftUI
5 |
/Users/admin/builder/spi-builder-workspace/Sources/UI/BytesView.swift:1:76: warning: unknown operating system for build configuration 'os'
1 | #if canImport(SwiftUI) && compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
2 | import SwiftUI
3 |
/Users/admin/builder/spi-builder-workspace/Sources/UI/ClearableTextField.swift:7:98: warning: unknown operating system for build configuration 'os'
5 | // Created by Ben Ku on 7/30/24.
6 | //
7 | #if canImport(SwiftUI) && canImport(Combine) && compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
8 |
9 | import SwiftUI
/Users/admin/builder/spi-builder-workspace/Sources/UI/Embossed.swift:1:76: warning: unknown operating system for build configuration 'os'
1 | #if canImport(SwiftUI) && compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
2 | import SwiftUI
3 |
Build complete! (11.52s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Compatibility",
"name" : "Compatibility",
"path" : "/Users/admin/builder/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"
}
Done.