Build Information
Successful build of Compatibility, reference main (33d3df), with Swift 6.0 for Linux on 13 Oct 2025 21:23:19 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
| `- note: did you mean 'WASI'?
243 | import SwiftUI
244 | @available(iOS 13, tvOS 13, watchOS 6, *)
/host/spi-builder-workspace/Sources/Foundation/Introspection.swift:13:10: warning: unknown operating system for build configuration 'os'
11 | var allKeyPaths: OrderedDictionary<String, PartialKeyPath<Self>> { get }
12 | }
13 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
14 | public extension PropertyIterable {
15 | var allProperties: OrderedDictionary<String, Any> {
/host/spi-builder-workspace/Sources/Foundation/Introspection.swift:70:9: warning: unknown operating system for build configuration 'os'
68 | }
69 |
70 | #if (os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
71 | @available(*, deprecated, message: "This is unavailable in WASM becuase dynamic casting isn't allowed in embedded Swfit.")
72 | #endif
/host/spi-builder-workspace/Sources/Foundation/Introspection.swift:74:10: warning: unknown operating system for build configuration 'os'
72 | #endif
73 | public func areEqual(_ left: Any?, _ right: Any?) -> Bool {
74 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
75 | guard let first = left as? any Equatable, let second = right as? any Equatable else { return false }
76 | return first.isEqual(second)
/host/spi-builder-workspace/Sources/Foundation/OrderedDictionary.swift:809:10: warning: unknown operating system for build configuration 'os'
807 |
808 | // MARK: - Sorting
809 | #if !(os(WASM) || os(WASI)) // unable to throw custom error or convert Any types in embedded Swift.
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
810 | extension OrderedDictionary {
811 | /// Returns the collection sorted using the given predicate as the
/host/spi-builder-workspace/Sources/Foundation/OrderedDictionary.swift:1076:10: warning: unknown operating system for build configuration 'os'
1074 |
1075 | // MARK: - Codable
1076 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1077 | extension OrderedDictionary: Encodable where Key: Encodable, Value: Encodable {
1078 | /// Encodes the contents of this dictionary into the given encoder.
/host/spi-builder-workspace/Sources/Foundation/OrderedDictionary.swift:1154:10: warning: unknown operating system for build configuration 'os'
1152 |
1153 | #if compiler(>=5.9)
1154 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1155 | @MainActor
1156 | #endif
/host/spi-builder-workspace/Sources/Foundation/OrderedDictionary.swift:1159:10: warning: unknown operating system for build configuration 'os'
1157 | internal var orderedDictionaryTests: TestClosure = {
1158 | var ordered: OrderedDictionary = ["b": 2, "a": 1]
1159 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1160 | let manipulated = ordered.sorted().reversed()
1161 | try expect(ordered["c", default: 4] == 4)
/host/spi-builder-workspace/Sources/Foundation/OrderedDictionary.swift:1201:10: warning: unknown operating system for build configuration 'os'
1199 |
1200 | @available(iOS 13, tvOS 13, watchOS 6, *)
1201 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1202 | @MainActor
1203 | #endif
/host/spi-builder-workspace/Sources/Core/Test.swift:18:10: warning: unknown operating system for build configuration 'os'
16 | // set breakpoint on this line if we want to debug/inspect errors (note that this slows enough to mess with time stamp checks so disable once we know everything is working).
17 | if let debugString {
18 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
19 | throw CustomError(debugString)
20 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:25:35: warning: unknown operating system for build configuration 'os'
23 | #endif
24 | } else {
25 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
26 | let isMainThread = Thread.isMainThread
27 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:39:10: warning: unknown operating system for build configuration 'os'
37 | file, function, line, column)
38 |
39 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
40 | throw CustomError(context)
41 | #else
[27/51] Compiling Compatibility OrderedDictionary.swift
/host/spi-builder-workspace/Sources/Foundation/Double.swift:27:9: warning: unknown operating system for build configuration 'os'
25 |
26 |
27 | #if (os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
28 | #if canImport(WASILibc) // either include from library or use fallback implementation
29 | import WASILibc
/host/spi-builder-workspace/Sources/Foundation/Double.swift:263:10: warning: unknown operating system for build configuration 'os'
261 | #endif
262 |
263 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
264 | @MainActor
265 | #endif
/host/spi-builder-workspace/Sources/Foundation/Double.swift:291:10: warning: unknown operating system for build configuration 'os'
289 | @available(iOS 13, macOS 12, tvOS 13, watchOS 6, *)
290 | public extension Double {
291 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
292 | @MainActor
293 | #endif
/host/spi-builder-workspace/Sources/Foundation/Enum.swift:25:10: warning: unknown operating system for build configuration 'os'
23 | /// exposes the case name for an enum without having to have a string rawValue.
24 | var caseName: String {
25 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
26 | // for enums
27 | (Mirror(reflecting: self).children.first?.label ?? String(describing: self))
/host/spi-builder-workspace/Sources/Foundation/Int.swift:19:10: warning: unknown operating system for build configuration 'os'
17 | x += 1
18 | }
19 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
20 | @MainActor
21 | #endif
/host/spi-builder-workspace/Sources/Foundation/Int.swift:33:10: warning: unknown operating system for build configuration 'os'
31 | x -= 1
32 | }
33 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
34 | @MainActor
35 | #endif
/host/spi-builder-workspace/Sources/Foundation/Int.swift:54:10: warning: unknown operating system for build configuration 'os'
52 | }
53 | }
54 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
55 | @MainActor
56 | #endif
/host/spi-builder-workspace/Sources/Foundation/Int.swift:108:10: warning: unknown operating system for build configuration 'os'
106 | ]
107 | }
108 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
109 | @MainActor
110 | #endif
/host/spi-builder-workspace/Sources/Foundation/Int.swift:142:10: warning: unknown operating system for build configuration 'os'
140 | }
141 | }
142 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
143 | @MainActor
144 | #endif
/host/spi-builder-workspace/Sources/Foundation/Int.swift:189:10: warning: unknown operating system for build configuration 'os'
187 | #endif
188 | }
189 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
190 | @MainActor
191 | #endif
/host/spi-builder-workspace/Sources/Foundation/Int.swift:229:10: warning: unknown operating system for build configuration 'os'
227 | @available(iOS 13, tvOS 13, watchOS 6, *)
228 | extension Int {
229 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
230 | @MainActor
231 | #endif
/host/spi-builder-workspace/Sources/Foundation/Int.swift:242:57: warning: unknown operating system for build configuration 'os'
240 | }
241 |
242 | #if canImport(SwiftUI) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
243 | import SwiftUI
244 | @available(iOS 13, tvOS 13, watchOS 6, *)
/host/spi-builder-workspace/Sources/Foundation/Introspection.swift:13:10: warning: unknown operating system for build configuration 'os'
11 | var allKeyPaths: OrderedDictionary<String, PartialKeyPath<Self>> { get }
12 | }
13 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
14 | public extension PropertyIterable {
15 | var allProperties: OrderedDictionary<String, Any> {
/host/spi-builder-workspace/Sources/Foundation/Introspection.swift:70:9: warning: unknown operating system for build configuration 'os'
68 | }
69 |
70 | #if (os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
71 | @available(*, deprecated, message: "This is unavailable in WASM becuase dynamic casting isn't allowed in embedded Swfit.")
72 | #endif
/host/spi-builder-workspace/Sources/Foundation/Introspection.swift:74:10: warning: unknown operating system for build configuration 'os'
72 | #endif
73 | public func areEqual(_ left: Any?, _ right: Any?) -> Bool {
74 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
75 | guard let first = left as? any Equatable, let second = right as? any Equatable else { return false }
76 | return first.isEqual(second)
/host/spi-builder-workspace/Sources/Foundation/OrderedDictionary.swift:809:10: warning: unknown operating system for build configuration 'os'
807 |
808 | // MARK: - Sorting
809 | #if !(os(WASM) || os(WASI)) // unable to throw custom error or convert Any types in embedded Swift.
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
810 | extension OrderedDictionary {
811 | /// Returns the collection sorted using the given predicate as the
/host/spi-builder-workspace/Sources/Foundation/OrderedDictionary.swift:1076:10: warning: unknown operating system for build configuration 'os'
1074 |
1075 | // MARK: - Codable
1076 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1077 | extension OrderedDictionary: Encodable where Key: Encodable, Value: Encodable {
1078 | /// Encodes the contents of this dictionary into the given encoder.
/host/spi-builder-workspace/Sources/Foundation/OrderedDictionary.swift:1154:10: warning: unknown operating system for build configuration 'os'
1152 |
1153 | #if compiler(>=5.9)
1154 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1155 | @MainActor
1156 | #endif
/host/spi-builder-workspace/Sources/Foundation/OrderedDictionary.swift:1159:10: warning: unknown operating system for build configuration 'os'
1157 | internal var orderedDictionaryTests: TestClosure = {
1158 | var ordered: OrderedDictionary = ["b": 2, "a": 1]
1159 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1160 | let manipulated = ordered.sorted().reversed()
1161 | try expect(ordered["c", default: 4] == 4)
/host/spi-builder-workspace/Sources/Foundation/OrderedDictionary.swift:1201:10: warning: unknown operating system for build configuration 'os'
1199 |
1200 | @available(iOS 13, tvOS 13, watchOS 6, *)
1201 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1202 | @MainActor
1203 | #endif
/host/spi-builder-workspace/Sources/Core/Test.swift:18:10: warning: unknown operating system for build configuration 'os'
16 | // set breakpoint on this line if we want to debug/inspect errors (note that this slows enough to mess with time stamp checks so disable once we know everything is working).
17 | if let debugString {
18 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
19 | throw CustomError(debugString)
20 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:25:35: warning: unknown operating system for build configuration 'os'
23 | #endif
24 | } else {
25 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
26 | let isMainThread = Thread.isMainThread
27 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:39:10: warning: unknown operating system for build configuration 'os'
37 | file, function, line, column)
38 |
39 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
40 | throw CustomError(context)
41 | #else
[28/51] Compiling Compatibility Shell.swift
/host/spi-builder-workspace/Sources/Core/Shell.swift:9:48: warning: unknown operating system for build configuration 'os'
7 |
8 |
9 | #if os(macOS) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
10 | public extension Compatibility {
11 | /// Executes a shell command and returns the result (or errors) as a String (if you just need to execute and don't need the result, that's okay).
/host/spi-builder-workspace/Sources/Core/Test.swift:18:10: warning: unknown operating system for build configuration 'os'
16 | // set breakpoint on this line if we want to debug/inspect errors (note that this slows enough to mess with time stamp checks so disable once we know everything is working).
17 | if let debugString {
18 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
19 | throw CustomError(debugString)
20 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:25:35: warning: unknown operating system for build configuration 'os'
23 | #endif
24 | } else {
25 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
26 | let isMainThread = Thread.isMainThread
27 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:39:10: warning: unknown operating system for build configuration 'os'
37 | file, function, line, column)
38 |
39 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
40 | throw CustomError(context)
41 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:54:39: warning: unknown operating system for build configuration 'os'
52 | public func debugSuppress(_ block: () throws -> Void) rethrows {
53 | let log = Compatibility.settings.debugLog
54 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
55 | let suppressThread = Thread.current // restrict the silencing to this thread/closure assuming no background tasks are doing printing
56 | #endif
/host/spi-builder-workspace/Sources/Core/Test.swift:58:43: warning: unknown operating system for build configuration 'os'
56 | #endif
57 | Compatibility.settings.debugLog = { message in
58 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
59 | if Thread.current != suppressThread {
60 | log(message) // do normal logging
/host/spi-builder-workspace/Sources/Core/Test.swift:87:10: warning: unknown operating system for build configuration 'os'
85 | #if compiler(>=5.9)
86 | // Test Handlers
87 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
88 | @MainActor
89 | #endif
/host/spi-builder-workspace/Sources/Core/Test.swift:128:10: warning: unknown operating system for build configuration 'os'
126 | public func run() {
127 | progress = .running
128 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
129 | // make sure to run the "work" in a separate thread since we don't want any of this running on the main thread and potentially bogging things down
130 | background {
/host/spi-builder-workspace/Sources/Core/Test.swift:185:10: warning: unknown operating system for build configuration 'os'
183 | }
184 |
185 | #if !(os(WASM) || os(WASI)) // testing not supported in WASM
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
186 | @available(iOS 13, macOS 12, tvOS 13, watchOS 6, *)
187 | public extension Test {
/host/spi-builder-workspace/Sources/Core/Test.swift:215:57: warning: unknown operating system for build configuration 'os'
213 | #endif
214 |
215 | #if canImport(SwiftUI) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
216 | import SwiftUI
217 | @available(iOS 13, tvOS 13, watchOS 6, *)
/host/spi-builder-workspace/Sources/Foundation/Array.swift:214:29: warning: unknown operating system for build configuration 'os'
212 | }
213 | // Testing is only supported with Swift 5.9+ & !WASM
214 | #if compiler(>=5.9) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
215 | @available(iOS 13, tvOS 13, watchOS 6, *)
216 | @MainActor
/host/spi-builder-workspace/Sources/Foundation/CharacterSet.swift:95:10: warning: unknown operating system for build configuration 'os'
93 | @available(iOS 13, tvOS 13, watchOS 6, *)
94 | extension CharacterSet {
95 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
96 | @MainActor
97 | #endif
/host/spi-builder-workspace/Sources/Foundation/CharacterSet.swift:115:10: warning: unknown operating system for build configuration 'os'
113 | return filtered.map { String($0) }
114 | }
115 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
116 | @MainActor
117 | #endif
/host/spi-builder-workspace/Sources/Foundation/CharacterSet.swift:120:10: warning: unknown operating system for build configuration 'os'
118 | internal static let testCharacterStrings: TestClosure = {
119 | let array = "hello".characterStrings
120 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
121 | try expect(array == ["h","e","l","l","o"], String(describing:array))
122 | #endif
/host/spi-builder-workspace/Sources/Foundation/Codable.swift:3:9: warning: unknown operating system for build configuration 'os'
1 | /// For flagging properties that should not be included in Codable conformance. Can provide a default value if the property is not an Optional
2 |
3 | #if (os(WASM) || os(WASI)) && !canImport(Foundation) && compiler(>=6.2)
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
4 | /// Backport stub for Foundation.Codable
5 | public typealias Codable = Decodable & Encodable
[29/51] Compiling Compatibility Test.swift
/host/spi-builder-workspace/Sources/Core/Shell.swift:9:48: warning: unknown operating system for build configuration 'os'
7 |
8 |
9 | #if os(macOS) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
10 | public extension Compatibility {
11 | /// Executes a shell command and returns the result (or errors) as a String (if you just need to execute and don't need the result, that's okay).
/host/spi-builder-workspace/Sources/Core/Test.swift:18:10: warning: unknown operating system for build configuration 'os'
16 | // set breakpoint on this line if we want to debug/inspect errors (note that this slows enough to mess with time stamp checks so disable once we know everything is working).
17 | if let debugString {
18 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
19 | throw CustomError(debugString)
20 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:25:35: warning: unknown operating system for build configuration 'os'
23 | #endif
24 | } else {
25 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
26 | let isMainThread = Thread.isMainThread
27 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:39:10: warning: unknown operating system for build configuration 'os'
37 | file, function, line, column)
38 |
39 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
40 | throw CustomError(context)
41 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:54:39: warning: unknown operating system for build configuration 'os'
52 | public func debugSuppress(_ block: () throws -> Void) rethrows {
53 | let log = Compatibility.settings.debugLog
54 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
55 | let suppressThread = Thread.current // restrict the silencing to this thread/closure assuming no background tasks are doing printing
56 | #endif
/host/spi-builder-workspace/Sources/Core/Test.swift:58:43: warning: unknown operating system for build configuration 'os'
56 | #endif
57 | Compatibility.settings.debugLog = { message in
58 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
59 | if Thread.current != suppressThread {
60 | log(message) // do normal logging
/host/spi-builder-workspace/Sources/Core/Test.swift:87:10: warning: unknown operating system for build configuration 'os'
85 | #if compiler(>=5.9)
86 | // Test Handlers
87 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
88 | @MainActor
89 | #endif
/host/spi-builder-workspace/Sources/Core/Test.swift:128:10: warning: unknown operating system for build configuration 'os'
126 | public func run() {
127 | progress = .running
128 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
129 | // make sure to run the "work" in a separate thread since we don't want any of this running on the main thread and potentially bogging things down
130 | background {
/host/spi-builder-workspace/Sources/Core/Test.swift:185:10: warning: unknown operating system for build configuration 'os'
183 | }
184 |
185 | #if !(os(WASM) || os(WASI)) // testing not supported in WASM
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
186 | @available(iOS 13, macOS 12, tvOS 13, watchOS 6, *)
187 | public extension Test {
/host/spi-builder-workspace/Sources/Core/Test.swift:215:57: warning: unknown operating system for build configuration 'os'
213 | #endif
214 |
215 | #if canImport(SwiftUI) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
216 | import SwiftUI
217 | @available(iOS 13, tvOS 13, watchOS 6, *)
/host/spi-builder-workspace/Sources/Foundation/Array.swift:214:29: warning: unknown operating system for build configuration 'os'
212 | }
213 | // Testing is only supported with Swift 5.9+ & !WASM
214 | #if compiler(>=5.9) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
215 | @available(iOS 13, tvOS 13, watchOS 6, *)
216 | @MainActor
/host/spi-builder-workspace/Sources/Foundation/CharacterSet.swift:95:10: warning: unknown operating system for build configuration 'os'
93 | @available(iOS 13, tvOS 13, watchOS 6, *)
94 | extension CharacterSet {
95 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
96 | @MainActor
97 | #endif
/host/spi-builder-workspace/Sources/Foundation/CharacterSet.swift:115:10: warning: unknown operating system for build configuration 'os'
113 | return filtered.map { String($0) }
114 | }
115 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
116 | @MainActor
117 | #endif
/host/spi-builder-workspace/Sources/Foundation/CharacterSet.swift:120:10: warning: unknown operating system for build configuration 'os'
118 | internal static let testCharacterStrings: TestClosure = {
119 | let array = "hello".characterStrings
120 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
121 | try expect(array == ["h","e","l","l","o"], String(describing:array))
122 | #endif
/host/spi-builder-workspace/Sources/Foundation/Codable.swift:3:9: warning: unknown operating system for build configuration 'os'
1 | /// For flagging properties that should not be included in Codable conformance. Can provide a default value if the property is not an Optional
2 |
3 | #if (os(WASM) || os(WASI)) && !canImport(Foundation) && compiler(>=6.2)
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
4 | /// Backport stub for Foundation.Codable
5 | public typealias Codable = Decodable & Encodable
[30/51] Compiling Compatibility UserDefaultsBacked.swift
/host/spi-builder-workspace/Sources/Core/Shell.swift:9:48: warning: unknown operating system for build configuration 'os'
7 |
8 |
9 | #if os(macOS) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
10 | public extension Compatibility {
11 | /// Executes a shell command and returns the result (or errors) as a String (if you just need to execute and don't need the result, that's okay).
/host/spi-builder-workspace/Sources/Core/Test.swift:18:10: warning: unknown operating system for build configuration 'os'
16 | // set breakpoint on this line if we want to debug/inspect errors (note that this slows enough to mess with time stamp checks so disable once we know everything is working).
17 | if let debugString {
18 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
19 | throw CustomError(debugString)
20 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:25:35: warning: unknown operating system for build configuration 'os'
23 | #endif
24 | } else {
25 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
26 | let isMainThread = Thread.isMainThread
27 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:39:10: warning: unknown operating system for build configuration 'os'
37 | file, function, line, column)
38 |
39 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
40 | throw CustomError(context)
41 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:54:39: warning: unknown operating system for build configuration 'os'
52 | public func debugSuppress(_ block: () throws -> Void) rethrows {
53 | let log = Compatibility.settings.debugLog
54 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
55 | let suppressThread = Thread.current // restrict the silencing to this thread/closure assuming no background tasks are doing printing
56 | #endif
/host/spi-builder-workspace/Sources/Core/Test.swift:58:43: warning: unknown operating system for build configuration 'os'
56 | #endif
57 | Compatibility.settings.debugLog = { message in
58 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
59 | if Thread.current != suppressThread {
60 | log(message) // do normal logging
/host/spi-builder-workspace/Sources/Core/Test.swift:87:10: warning: unknown operating system for build configuration 'os'
85 | #if compiler(>=5.9)
86 | // Test Handlers
87 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
88 | @MainActor
89 | #endif
/host/spi-builder-workspace/Sources/Core/Test.swift:128:10: warning: unknown operating system for build configuration 'os'
126 | public func run() {
127 | progress = .running
128 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
129 | // make sure to run the "work" in a separate thread since we don't want any of this running on the main thread and potentially bogging things down
130 | background {
/host/spi-builder-workspace/Sources/Core/Test.swift:185:10: warning: unknown operating system for build configuration 'os'
183 | }
184 |
185 | #if !(os(WASM) || os(WASI)) // testing not supported in WASM
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
186 | @available(iOS 13, macOS 12, tvOS 13, watchOS 6, *)
187 | public extension Test {
/host/spi-builder-workspace/Sources/Core/Test.swift:215:57: warning: unknown operating system for build configuration 'os'
213 | #endif
214 |
215 | #if canImport(SwiftUI) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
216 | import SwiftUI
217 | @available(iOS 13, tvOS 13, watchOS 6, *)
/host/spi-builder-workspace/Sources/Foundation/Array.swift:214:29: warning: unknown operating system for build configuration 'os'
212 | }
213 | // Testing is only supported with Swift 5.9+ & !WASM
214 | #if compiler(>=5.9) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
215 | @available(iOS 13, tvOS 13, watchOS 6, *)
216 | @MainActor
/host/spi-builder-workspace/Sources/Foundation/CharacterSet.swift:95:10: warning: unknown operating system for build configuration 'os'
93 | @available(iOS 13, tvOS 13, watchOS 6, *)
94 | extension CharacterSet {
95 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
96 | @MainActor
97 | #endif
/host/spi-builder-workspace/Sources/Foundation/CharacterSet.swift:115:10: warning: unknown operating system for build configuration 'os'
113 | return filtered.map { String($0) }
114 | }
115 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
116 | @MainActor
117 | #endif
/host/spi-builder-workspace/Sources/Foundation/CharacterSet.swift:120:10: warning: unknown operating system for build configuration 'os'
118 | internal static let testCharacterStrings: TestClosure = {
119 | let array = "hello".characterStrings
120 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
121 | try expect(array == ["h","e","l","l","o"], String(describing:array))
122 | #endif
/host/spi-builder-workspace/Sources/Foundation/Codable.swift:3:9: warning: unknown operating system for build configuration 'os'
1 | /// For flagging properties that should not be included in Codable conformance. Can provide a default value if the property is not an Optional
2 |
3 | #if (os(WASM) || os(WASI)) && !canImport(Foundation) && compiler(>=6.2)
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
4 | /// Backport stub for Foundation.Codable
5 | public typealias Codable = Decodable & Encodable
[31/51] Compiling Compatibility Array.swift
/host/spi-builder-workspace/Sources/Core/Shell.swift:9:48: warning: unknown operating system for build configuration 'os'
7 |
8 |
9 | #if os(macOS) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
10 | public extension Compatibility {
11 | /// Executes a shell command and returns the result (or errors) as a String (if you just need to execute and don't need the result, that's okay).
/host/spi-builder-workspace/Sources/Core/Test.swift:18:10: warning: unknown operating system for build configuration 'os'
16 | // set breakpoint on this line if we want to debug/inspect errors (note that this slows enough to mess with time stamp checks so disable once we know everything is working).
17 | if let debugString {
18 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
19 | throw CustomError(debugString)
20 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:25:35: warning: unknown operating system for build configuration 'os'
23 | #endif
24 | } else {
25 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
26 | let isMainThread = Thread.isMainThread
27 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:39:10: warning: unknown operating system for build configuration 'os'
37 | file, function, line, column)
38 |
39 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
40 | throw CustomError(context)
41 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:54:39: warning: unknown operating system for build configuration 'os'
52 | public func debugSuppress(_ block: () throws -> Void) rethrows {
53 | let log = Compatibility.settings.debugLog
54 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
55 | let suppressThread = Thread.current // restrict the silencing to this thread/closure assuming no background tasks are doing printing
56 | #endif
/host/spi-builder-workspace/Sources/Core/Test.swift:58:43: warning: unknown operating system for build configuration 'os'
56 | #endif
57 | Compatibility.settings.debugLog = { message in
58 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
59 | if Thread.current != suppressThread {
60 | log(message) // do normal logging
/host/spi-builder-workspace/Sources/Core/Test.swift:87:10: warning: unknown operating system for build configuration 'os'
85 | #if compiler(>=5.9)
86 | // Test Handlers
87 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
88 | @MainActor
89 | #endif
/host/spi-builder-workspace/Sources/Core/Test.swift:128:10: warning: unknown operating system for build configuration 'os'
126 | public func run() {
127 | progress = .running
128 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
129 | // make sure to run the "work" in a separate thread since we don't want any of this running on the main thread and potentially bogging things down
130 | background {
/host/spi-builder-workspace/Sources/Core/Test.swift:185:10: warning: unknown operating system for build configuration 'os'
183 | }
184 |
185 | #if !(os(WASM) || os(WASI)) // testing not supported in WASM
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
186 | @available(iOS 13, macOS 12, tvOS 13, watchOS 6, *)
187 | public extension Test {
/host/spi-builder-workspace/Sources/Core/Test.swift:215:57: warning: unknown operating system for build configuration 'os'
213 | #endif
214 |
215 | #if canImport(SwiftUI) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
216 | import SwiftUI
217 | @available(iOS 13, tvOS 13, watchOS 6, *)
/host/spi-builder-workspace/Sources/Foundation/Array.swift:214:29: warning: unknown operating system for build configuration 'os'
212 | }
213 | // Testing is only supported with Swift 5.9+ & !WASM
214 | #if compiler(>=5.9) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
215 | @available(iOS 13, tvOS 13, watchOS 6, *)
216 | @MainActor
/host/spi-builder-workspace/Sources/Foundation/CharacterSet.swift:95:10: warning: unknown operating system for build configuration 'os'
93 | @available(iOS 13, tvOS 13, watchOS 6, *)
94 | extension CharacterSet {
95 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
96 | @MainActor
97 | #endif
/host/spi-builder-workspace/Sources/Foundation/CharacterSet.swift:115:10: warning: unknown operating system for build configuration 'os'
113 | return filtered.map { String($0) }
114 | }
115 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
116 | @MainActor
117 | #endif
/host/spi-builder-workspace/Sources/Foundation/CharacterSet.swift:120:10: warning: unknown operating system for build configuration 'os'
118 | internal static let testCharacterStrings: TestClosure = {
119 | let array = "hello".characterStrings
120 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
121 | try expect(array == ["h","e","l","l","o"], String(describing:array))
122 | #endif
/host/spi-builder-workspace/Sources/Foundation/Codable.swift:3:9: warning: unknown operating system for build configuration 'os'
1 | /// For flagging properties that should not be included in Codable conformance. Can provide a default value if the property is not an Optional
2 |
3 | #if (os(WASM) || os(WASI)) && !canImport(Foundation) && compiler(>=6.2)
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
4 | /// Backport stub for Foundation.Codable
5 | public typealias Codable = Decodable & Encodable
[32/51] Compiling Compatibility CharacterSet.swift
/host/spi-builder-workspace/Sources/Core/Shell.swift:9:48: warning: unknown operating system for build configuration 'os'
7 |
8 |
9 | #if os(macOS) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
10 | public extension Compatibility {
11 | /// Executes a shell command and returns the result (or errors) as a String (if you just need to execute and don't need the result, that's okay).
/host/spi-builder-workspace/Sources/Core/Test.swift:18:10: warning: unknown operating system for build configuration 'os'
16 | // set breakpoint on this line if we want to debug/inspect errors (note that this slows enough to mess with time stamp checks so disable once we know everything is working).
17 | if let debugString {
18 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
19 | throw CustomError(debugString)
20 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:25:35: warning: unknown operating system for build configuration 'os'
23 | #endif
24 | } else {
25 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
26 | let isMainThread = Thread.isMainThread
27 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:39:10: warning: unknown operating system for build configuration 'os'
37 | file, function, line, column)
38 |
39 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
40 | throw CustomError(context)
41 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:54:39: warning: unknown operating system for build configuration 'os'
52 | public func debugSuppress(_ block: () throws -> Void) rethrows {
53 | let log = Compatibility.settings.debugLog
54 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
55 | let suppressThread = Thread.current // restrict the silencing to this thread/closure assuming no background tasks are doing printing
56 | #endif
/host/spi-builder-workspace/Sources/Core/Test.swift:58:43: warning: unknown operating system for build configuration 'os'
56 | #endif
57 | Compatibility.settings.debugLog = { message in
58 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
59 | if Thread.current != suppressThread {
60 | log(message) // do normal logging
/host/spi-builder-workspace/Sources/Core/Test.swift:87:10: warning: unknown operating system for build configuration 'os'
85 | #if compiler(>=5.9)
86 | // Test Handlers
87 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
88 | @MainActor
89 | #endif
/host/spi-builder-workspace/Sources/Core/Test.swift:128:10: warning: unknown operating system for build configuration 'os'
126 | public func run() {
127 | progress = .running
128 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
129 | // make sure to run the "work" in a separate thread since we don't want any of this running on the main thread and potentially bogging things down
130 | background {
/host/spi-builder-workspace/Sources/Core/Test.swift:185:10: warning: unknown operating system for build configuration 'os'
183 | }
184 |
185 | #if !(os(WASM) || os(WASI)) // testing not supported in WASM
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
186 | @available(iOS 13, macOS 12, tvOS 13, watchOS 6, *)
187 | public extension Test {
/host/spi-builder-workspace/Sources/Core/Test.swift:215:57: warning: unknown operating system for build configuration 'os'
213 | #endif
214 |
215 | #if canImport(SwiftUI) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
216 | import SwiftUI
217 | @available(iOS 13, tvOS 13, watchOS 6, *)
/host/spi-builder-workspace/Sources/Foundation/Array.swift:214:29: warning: unknown operating system for build configuration 'os'
212 | }
213 | // Testing is only supported with Swift 5.9+ & !WASM
214 | #if compiler(>=5.9) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
215 | @available(iOS 13, tvOS 13, watchOS 6, *)
216 | @MainActor
/host/spi-builder-workspace/Sources/Foundation/CharacterSet.swift:95:10: warning: unknown operating system for build configuration 'os'
93 | @available(iOS 13, tvOS 13, watchOS 6, *)
94 | extension CharacterSet {
95 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
96 | @MainActor
97 | #endif
/host/spi-builder-workspace/Sources/Foundation/CharacterSet.swift:115:10: warning: unknown operating system for build configuration 'os'
113 | return filtered.map { String($0) }
114 | }
115 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
116 | @MainActor
117 | #endif
/host/spi-builder-workspace/Sources/Foundation/CharacterSet.swift:120:10: warning: unknown operating system for build configuration 'os'
118 | internal static let testCharacterStrings: TestClosure = {
119 | let array = "hello".characterStrings
120 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
121 | try expect(array == ["h","e","l","l","o"], String(describing:array))
122 | #endif
/host/spi-builder-workspace/Sources/Foundation/Codable.swift:3:9: warning: unknown operating system for build configuration 'os'
1 | /// For flagging properties that should not be included in Codable conformance. Can provide a default value if the property is not an Optional
2 |
3 | #if (os(WASM) || os(WASI)) && !canImport(Foundation) && compiler(>=6.2)
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
4 | /// Backport stub for Foundation.Codable
5 | public typealias Codable = Decodable & Encodable
[33/51] Compiling Compatibility Codable.swift
/host/spi-builder-workspace/Sources/Core/Shell.swift:9:48: warning: unknown operating system for build configuration 'os'
7 |
8 |
9 | #if os(macOS) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
10 | public extension Compatibility {
11 | /// Executes a shell command and returns the result (or errors) as a String (if you just need to execute and don't need the result, that's okay).
/host/spi-builder-workspace/Sources/Core/Test.swift:18:10: warning: unknown operating system for build configuration 'os'
16 | // set breakpoint on this line if we want to debug/inspect errors (note that this slows enough to mess with time stamp checks so disable once we know everything is working).
17 | if let debugString {
18 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
19 | throw CustomError(debugString)
20 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:25:35: warning: unknown operating system for build configuration 'os'
23 | #endif
24 | } else {
25 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
26 | let isMainThread = Thread.isMainThread
27 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:39:10: warning: unknown operating system for build configuration 'os'
37 | file, function, line, column)
38 |
39 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
40 | throw CustomError(context)
41 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:54:39: warning: unknown operating system for build configuration 'os'
52 | public func debugSuppress(_ block: () throws -> Void) rethrows {
53 | let log = Compatibility.settings.debugLog
54 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
55 | let suppressThread = Thread.current // restrict the silencing to this thread/closure assuming no background tasks are doing printing
56 | #endif
/host/spi-builder-workspace/Sources/Core/Test.swift:58:43: warning: unknown operating system for build configuration 'os'
56 | #endif
57 | Compatibility.settings.debugLog = { message in
58 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
59 | if Thread.current != suppressThread {
60 | log(message) // do normal logging
/host/spi-builder-workspace/Sources/Core/Test.swift:87:10: warning: unknown operating system for build configuration 'os'
85 | #if compiler(>=5.9)
86 | // Test Handlers
87 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
88 | @MainActor
89 | #endif
/host/spi-builder-workspace/Sources/Core/Test.swift:128:10: warning: unknown operating system for build configuration 'os'
126 | public func run() {
127 | progress = .running
128 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
129 | // make sure to run the "work" in a separate thread since we don't want any of this running on the main thread and potentially bogging things down
130 | background {
/host/spi-builder-workspace/Sources/Core/Test.swift:185:10: warning: unknown operating system for build configuration 'os'
183 | }
184 |
185 | #if !(os(WASM) || os(WASI)) // testing not supported in WASM
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
186 | @available(iOS 13, macOS 12, tvOS 13, watchOS 6, *)
187 | public extension Test {
/host/spi-builder-workspace/Sources/Core/Test.swift:215:57: warning: unknown operating system for build configuration 'os'
213 | #endif
214 |
215 | #if canImport(SwiftUI) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
216 | import SwiftUI
217 | @available(iOS 13, tvOS 13, watchOS 6, *)
/host/spi-builder-workspace/Sources/Foundation/Array.swift:214:29: warning: unknown operating system for build configuration 'os'
212 | }
213 | // Testing is only supported with Swift 5.9+ & !WASM
214 | #if compiler(>=5.9) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
215 | @available(iOS 13, tvOS 13, watchOS 6, *)
216 | @MainActor
/host/spi-builder-workspace/Sources/Foundation/CharacterSet.swift:95:10: warning: unknown operating system for build configuration 'os'
93 | @available(iOS 13, tvOS 13, watchOS 6, *)
94 | extension CharacterSet {
95 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
96 | @MainActor
97 | #endif
/host/spi-builder-workspace/Sources/Foundation/CharacterSet.swift:115:10: warning: unknown operating system for build configuration 'os'
113 | return filtered.map { String($0) }
114 | }
115 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
116 | @MainActor
117 | #endif
/host/spi-builder-workspace/Sources/Foundation/CharacterSet.swift:120:10: warning: unknown operating system for build configuration 'os'
118 | internal static let testCharacterStrings: TestClosure = {
119 | let array = "hello".characterStrings
120 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
121 | try expect(array == ["h","e","l","l","o"], String(describing:array))
122 | #endif
/host/spi-builder-workspace/Sources/Foundation/Codable.swift:3:9: warning: unknown operating system for build configuration 'os'
1 | /// For flagging properties that should not be included in Codable conformance. Can provide a default value if the property is not an Optional
2 |
3 | #if (os(WASM) || os(WASI)) && !canImport(Foundation) && compiler(>=6.2)
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
4 | /// Backport stub for Foundation.Codable
5 | public typealias Codable = Decodable & Encodable
[34/51] Compiling Compatibility DataStore.swift
/host/spi-builder-workspace/Sources/Core/DataStore.swift:3:54: warning: unknown operating system for build configuration 'os'
1 | // TODO: Do we want to restrict DataStore to the main thread?
2 |
3 | #if compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
4 | @available(iOS 13, tvOS 13, watchOS 6, *)
5 | public enum DataStoreType: Sendable {
/host/spi-builder-workspace/Sources/Core/Debug.swift:34:47: warning: unknown operating system for build configuration 'os'
32 | var timestamp = ""
33 | if includeTimestamp {
34 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
35 | timestamp = "\(Date.nowBackport.mysqlDateTime): "
36 | #else
/host/spi-builder-workspace/Sources/Core/Debug.swift:117:10: warning: unknown operating system for build configuration 'os'
115 | @discardableResult
116 | func debug() -> String {
117 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
118 | return Compatibility.debug(description, level: level ?? DebugLevel.defaultLevel, file: file, function: function, line: line, column: column)
119 | #else
/host/spi-builder-workspace/Sources/Core/Debug.swift:268:10: warning: unknown operating system for build configuration 'os'
266 | - Parameter column: For bubbling down the #column number from a call site. (Not used currently but here for completeness).
267 | */
268 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
269 | @discardableResult
270 | static func debug(_ message: Any, level: DebugLevel = .defaultLevel, file: String = #file, function: String = #function, line: Int = #line, column: Int = #column) -> String {
/host/spi-builder-workspace/Sources/Core/Debug.swift:316:10: warning: unknown operating system for build configuration 'os'
314 | - Parameter column: For bubbling down the #column number from a call site. (Not used currently but here for completeness).
315 | */
316 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
317 | @discardableResult
318 | public func debug(_ message: Any, level: DebugLevel = .defaultLevel, file: String = #file, function: String = #function, line: Int = #line, column: Int = #column) -> String {
/host/spi-builder-workspace/Sources/Core/Debug.swift:342:10: warning: unknown operating system for build configuration 'os'
340 | */
341 | func debug(level: DebugLevel = .defaultLevel, file: String = #file, function: String = #function, line: Int = #line, column: Int = #column) -> Self {
342 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
343 | Compatibility.debug(self.localizedDescription, level: level, file: file, function: function, line: line, column: column)
344 | #else
/host/spi-builder-workspace/Sources/Core/Debug.swift:358:29: warning: unknown operating system for build configuration 'os'
356 |
357 | // Testing is only supported with Swift 5.9+ && !WASM
358 | #if compiler(>=5.9) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
359 | @available(iOS 13, macOS 12, tvOS 13, watchOS 6, *)
360 | public extension DebugLevel {
/host/spi-builder-workspace/Sources/Core/Debug.swift:395:43: warning: unknown operating system for build configuration 'os'
393 | }
394 |
395 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
396 | let timestamp = Date.nowBackport.mysqlDateTime
397 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:18:10: warning: unknown operating system for build configuration 'os'
16 | // set breakpoint on this line if we want to debug/inspect errors (note that this slows enough to mess with time stamp checks so disable once we know everything is working).
17 | if let debugString {
18 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
19 | throw CustomError(debugString)
20 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:25:35: warning: unknown operating system for build configuration 'os'
23 | #endif
24 | } else {
25 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
26 | let isMainThread = Thread.isMainThread
27 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:39:10: warning: unknown operating system for build configuration 'os'
37 | file, function, line, column)
38 |
39 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
40 | throw CustomError(context)
41 | #else
[35/51] Compiling Compatibility Debug.swift
/host/spi-builder-workspace/Sources/Core/DataStore.swift:3:54: warning: unknown operating system for build configuration 'os'
1 | // TODO: Do we want to restrict DataStore to the main thread?
2 |
3 | #if compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
4 | @available(iOS 13, tvOS 13, watchOS 6, *)
5 | public enum DataStoreType: Sendable {
/host/spi-builder-workspace/Sources/Core/Debug.swift:34:47: warning: unknown operating system for build configuration 'os'
32 | var timestamp = ""
33 | if includeTimestamp {
34 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
35 | timestamp = "\(Date.nowBackport.mysqlDateTime): "
36 | #else
/host/spi-builder-workspace/Sources/Core/Debug.swift:117:10: warning: unknown operating system for build configuration 'os'
115 | @discardableResult
116 | func debug() -> String {
117 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
118 | return Compatibility.debug(description, level: level ?? DebugLevel.defaultLevel, file: file, function: function, line: line, column: column)
119 | #else
/host/spi-builder-workspace/Sources/Core/Debug.swift:268:10: warning: unknown operating system for build configuration 'os'
266 | - Parameter column: For bubbling down the #column number from a call site. (Not used currently but here for completeness).
267 | */
268 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
269 | @discardableResult
270 | static func debug(_ message: Any, level: DebugLevel = .defaultLevel, file: String = #file, function: String = #function, line: Int = #line, column: Int = #column) -> String {
/host/spi-builder-workspace/Sources/Core/Debug.swift:316:10: warning: unknown operating system for build configuration 'os'
314 | - Parameter column: For bubbling down the #column number from a call site. (Not used currently but here for completeness).
315 | */
316 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
317 | @discardableResult
318 | public func debug(_ message: Any, level: DebugLevel = .defaultLevel, file: String = #file, function: String = #function, line: Int = #line, column: Int = #column) -> String {
/host/spi-builder-workspace/Sources/Core/Debug.swift:342:10: warning: unknown operating system for build configuration 'os'
340 | */
341 | func debug(level: DebugLevel = .defaultLevel, file: String = #file, function: String = #function, line: Int = #line, column: Int = #column) -> Self {
342 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
343 | Compatibility.debug(self.localizedDescription, level: level, file: file, function: function, line: line, column: column)
344 | #else
/host/spi-builder-workspace/Sources/Core/Debug.swift:358:29: warning: unknown operating system for build configuration 'os'
356 |
357 | // Testing is only supported with Swift 5.9+ && !WASM
358 | #if compiler(>=5.9) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
359 | @available(iOS 13, macOS 12, tvOS 13, watchOS 6, *)
360 | public extension DebugLevel {
/host/spi-builder-workspace/Sources/Core/Debug.swift:395:43: warning: unknown operating system for build configuration 'os'
393 | }
394 |
395 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
396 | let timestamp = Date.nowBackport.mysqlDateTime
397 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:18:10: warning: unknown operating system for build configuration 'os'
16 | // set breakpoint on this line if we want to debug/inspect errors (note that this slows enough to mess with time stamp checks so disable once we know everything is working).
17 | if let debugString {
18 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
19 | throw CustomError(debugString)
20 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:25:35: warning: unknown operating system for build configuration 'os'
23 | #endif
24 | } else {
25 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
26 | let isMainThread = Thread.isMainThread
27 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:39:10: warning: unknown operating system for build configuration 'os'
37 | file, function, line, column)
38 |
39 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
40 | throw CustomError(context)
41 | #else
[36/51] Compiling Compatibility FileManager.swift
/host/spi-builder-workspace/Sources/Core/DataStore.swift:3:54: warning: unknown operating system for build configuration 'os'
1 | // TODO: Do we want to restrict DataStore to the main thread?
2 |
3 | #if compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
4 | @available(iOS 13, tvOS 13, watchOS 6, *)
5 | public enum DataStoreType: Sendable {
/host/spi-builder-workspace/Sources/Core/Debug.swift:34:47: warning: unknown operating system for build configuration 'os'
32 | var timestamp = ""
33 | if includeTimestamp {
34 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
35 | timestamp = "\(Date.nowBackport.mysqlDateTime): "
36 | #else
/host/spi-builder-workspace/Sources/Core/Debug.swift:117:10: warning: unknown operating system for build configuration 'os'
115 | @discardableResult
116 | func debug() -> String {
117 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
118 | return Compatibility.debug(description, level: level ?? DebugLevel.defaultLevel, file: file, function: function, line: line, column: column)
119 | #else
/host/spi-builder-workspace/Sources/Core/Debug.swift:268:10: warning: unknown operating system for build configuration 'os'
266 | - Parameter column: For bubbling down the #column number from a call site. (Not used currently but here for completeness).
267 | */
268 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
269 | @discardableResult
270 | static func debug(_ message: Any, level: DebugLevel = .defaultLevel, file: String = #file, function: String = #function, line: Int = #line, column: Int = #column) -> String {
/host/spi-builder-workspace/Sources/Core/Debug.swift:316:10: warning: unknown operating system for build configuration 'os'
314 | - Parameter column: For bubbling down the #column number from a call site. (Not used currently but here for completeness).
315 | */
316 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
317 | @discardableResult
318 | public func debug(_ message: Any, level: DebugLevel = .defaultLevel, file: String = #file, function: String = #function, line: Int = #line, column: Int = #column) -> String {
/host/spi-builder-workspace/Sources/Core/Debug.swift:342:10: warning: unknown operating system for build configuration 'os'
340 | */
341 | func debug(level: DebugLevel = .defaultLevel, file: String = #file, function: String = #function, line: Int = #line, column: Int = #column) -> Self {
342 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
343 | Compatibility.debug(self.localizedDescription, level: level, file: file, function: function, line: line, column: column)
344 | #else
/host/spi-builder-workspace/Sources/Core/Debug.swift:358:29: warning: unknown operating system for build configuration 'os'
356 |
357 | // Testing is only supported with Swift 5.9+ && !WASM
358 | #if compiler(>=5.9) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
359 | @available(iOS 13, macOS 12, tvOS 13, watchOS 6, *)
360 | public extension DebugLevel {
/host/spi-builder-workspace/Sources/Core/Debug.swift:395:43: warning: unknown operating system for build configuration 'os'
393 | }
394 |
395 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
396 | let timestamp = Date.nowBackport.mysqlDateTime
397 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:18:10: warning: unknown operating system for build configuration 'os'
16 | // set breakpoint on this line if we want to debug/inspect errors (note that this slows enough to mess with time stamp checks so disable once we know everything is working).
17 | if let debugString {
18 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
19 | throw CustomError(debugString)
20 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:25:35: warning: unknown operating system for build configuration 'os'
23 | #endif
24 | } else {
25 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
26 | let isMainThread = Thread.isMainThread
27 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:39:10: warning: unknown operating system for build configuration 'os'
37 | file, function, line, column)
38 |
39 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
40 | throw CustomError(context)
41 | #else
[37/51] Compiling Compatibility Graphics.swift
/host/spi-builder-workspace/Sources/Core/DataStore.swift:3:54: warning: unknown operating system for build configuration 'os'
1 | // TODO: Do we want to restrict DataStore to the main thread?
2 |
3 | #if compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
4 | @available(iOS 13, tvOS 13, watchOS 6, *)
5 | public enum DataStoreType: Sendable {
/host/spi-builder-workspace/Sources/Core/Debug.swift:34:47: warning: unknown operating system for build configuration 'os'
32 | var timestamp = ""
33 | if includeTimestamp {
34 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
35 | timestamp = "\(Date.nowBackport.mysqlDateTime): "
36 | #else
/host/spi-builder-workspace/Sources/Core/Debug.swift:117:10: warning: unknown operating system for build configuration 'os'
115 | @discardableResult
116 | func debug() -> String {
117 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
118 | return Compatibility.debug(description, level: level ?? DebugLevel.defaultLevel, file: file, function: function, line: line, column: column)
119 | #else
/host/spi-builder-workspace/Sources/Core/Debug.swift:268:10: warning: unknown operating system for build configuration 'os'
266 | - Parameter column: For bubbling down the #column number from a call site. (Not used currently but here for completeness).
267 | */
268 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
269 | @discardableResult
270 | static func debug(_ message: Any, level: DebugLevel = .defaultLevel, file: String = #file, function: String = #function, line: Int = #line, column: Int = #column) -> String {
/host/spi-builder-workspace/Sources/Core/Debug.swift:316:10: warning: unknown operating system for build configuration 'os'
314 | - Parameter column: For bubbling down the #column number from a call site. (Not used currently but here for completeness).
315 | */
316 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
317 | @discardableResult
318 | public func debug(_ message: Any, level: DebugLevel = .defaultLevel, file: String = #file, function: String = #function, line: Int = #line, column: Int = #column) -> String {
/host/spi-builder-workspace/Sources/Core/Debug.swift:342:10: warning: unknown operating system for build configuration 'os'
340 | */
341 | func debug(level: DebugLevel = .defaultLevel, file: String = #file, function: String = #function, line: Int = #line, column: Int = #column) -> Self {
342 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
343 | Compatibility.debug(self.localizedDescription, level: level, file: file, function: function, line: line, column: column)
344 | #else
/host/spi-builder-workspace/Sources/Core/Debug.swift:358:29: warning: unknown operating system for build configuration 'os'
356 |
357 | // Testing is only supported with Swift 5.9+ && !WASM
358 | #if compiler(>=5.9) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
359 | @available(iOS 13, macOS 12, tvOS 13, watchOS 6, *)
360 | public extension DebugLevel {
/host/spi-builder-workspace/Sources/Core/Debug.swift:395:43: warning: unknown operating system for build configuration 'os'
393 | }
394 |
395 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
396 | let timestamp = Date.nowBackport.mysqlDateTime
397 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:18:10: warning: unknown operating system for build configuration 'os'
16 | // set breakpoint on this line if we want to debug/inspect errors (note that this slows enough to mess with time stamp checks so disable once we know everything is working).
17 | if let debugString {
18 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
19 | throw CustomError(debugString)
20 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:25:35: warning: unknown operating system for build configuration 'os'
23 | #endif
24 | } else {
25 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
26 | let isMainThread = Thread.isMainThread
27 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:39:10: warning: unknown operating system for build configuration 'os'
37 | file, function, line, column)
38 |
39 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
40 | throw CustomError(context)
41 | #else
[38/51] Compiling Compatibility Network.swift
/host/spi-builder-workspace/Sources/Core/DataStore.swift:3:54: warning: unknown operating system for build configuration 'os'
1 | // TODO: Do we want to restrict DataStore to the main thread?
2 |
3 | #if compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
4 | @available(iOS 13, tvOS 13, watchOS 6, *)
5 | public enum DataStoreType: Sendable {
/host/spi-builder-workspace/Sources/Core/Debug.swift:34:47: warning: unknown operating system for build configuration 'os'
32 | var timestamp = ""
33 | if includeTimestamp {
34 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
35 | timestamp = "\(Date.nowBackport.mysqlDateTime): "
36 | #else
/host/spi-builder-workspace/Sources/Core/Debug.swift:117:10: warning: unknown operating system for build configuration 'os'
115 | @discardableResult
116 | func debug() -> String {
117 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
118 | return Compatibility.debug(description, level: level ?? DebugLevel.defaultLevel, file: file, function: function, line: line, column: column)
119 | #else
/host/spi-builder-workspace/Sources/Core/Debug.swift:268:10: warning: unknown operating system for build configuration 'os'
266 | - Parameter column: For bubbling down the #column number from a call site. (Not used currently but here for completeness).
267 | */
268 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
269 | @discardableResult
270 | static func debug(_ message: Any, level: DebugLevel = .defaultLevel, file: String = #file, function: String = #function, line: Int = #line, column: Int = #column) -> String {
/host/spi-builder-workspace/Sources/Core/Debug.swift:316:10: warning: unknown operating system for build configuration 'os'
314 | - Parameter column: For bubbling down the #column number from a call site. (Not used currently but here for completeness).
315 | */
316 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
317 | @discardableResult
318 | public func debug(_ message: Any, level: DebugLevel = .defaultLevel, file: String = #file, function: String = #function, line: Int = #line, column: Int = #column) -> String {
/host/spi-builder-workspace/Sources/Core/Debug.swift:342:10: warning: unknown operating system for build configuration 'os'
340 | */
341 | func debug(level: DebugLevel = .defaultLevel, file: String = #file, function: String = #function, line: Int = #line, column: Int = #column) -> Self {
342 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
343 | Compatibility.debug(self.localizedDescription, level: level, file: file, function: function, line: line, column: column)
344 | #else
/host/spi-builder-workspace/Sources/Core/Debug.swift:358:29: warning: unknown operating system for build configuration 'os'
356 |
357 | // Testing is only supported with Swift 5.9+ && !WASM
358 | #if compiler(>=5.9) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
359 | @available(iOS 13, macOS 12, tvOS 13, watchOS 6, *)
360 | public extension DebugLevel {
/host/spi-builder-workspace/Sources/Core/Debug.swift:395:43: warning: unknown operating system for build configuration 'os'
393 | }
394 |
395 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
396 | let timestamp = Date.nowBackport.mysqlDateTime
397 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:18:10: warning: unknown operating system for build configuration 'os'
16 | // set breakpoint on this line if we want to debug/inspect errors (note that this slows enough to mess with time stamp checks so disable once we know everything is working).
17 | if let debugString {
18 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
19 | throw CustomError(debugString)
20 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:25:35: warning: unknown operating system for build configuration 'os'
23 | #endif
24 | } else {
25 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
26 | let isMainThread = Thread.isMainThread
27 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:39:10: warning: unknown operating system for build configuration 'os'
37 | file, function, line, column)
38 |
39 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
40 | throw CustomError(context)
41 | #else
[39/51] Compiling Compatibility ObservableObject.swift
/host/spi-builder-workspace/Sources/Core/DataStore.swift:3:54: warning: unknown operating system for build configuration 'os'
1 | // TODO: Do we want to restrict DataStore to the main thread?
2 |
3 | #if compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
4 | @available(iOS 13, tvOS 13, watchOS 6, *)
5 | public enum DataStoreType: Sendable {
/host/spi-builder-workspace/Sources/Core/Debug.swift:34:47: warning: unknown operating system for build configuration 'os'
32 | var timestamp = ""
33 | if includeTimestamp {
34 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
35 | timestamp = "\(Date.nowBackport.mysqlDateTime): "
36 | #else
/host/spi-builder-workspace/Sources/Core/Debug.swift:117:10: warning: unknown operating system for build configuration 'os'
115 | @discardableResult
116 | func debug() -> String {
117 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
118 | return Compatibility.debug(description, level: level ?? DebugLevel.defaultLevel, file: file, function: function, line: line, column: column)
119 | #else
/host/spi-builder-workspace/Sources/Core/Debug.swift:268:10: warning: unknown operating system for build configuration 'os'
266 | - Parameter column: For bubbling down the #column number from a call site. (Not used currently but here for completeness).
267 | */
268 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
269 | @discardableResult
270 | static func debug(_ message: Any, level: DebugLevel = .defaultLevel, file: String = #file, function: String = #function, line: Int = #line, column: Int = #column) -> String {
/host/spi-builder-workspace/Sources/Core/Debug.swift:316:10: warning: unknown operating system for build configuration 'os'
314 | - Parameter column: For bubbling down the #column number from a call site. (Not used currently but here for completeness).
315 | */
316 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
317 | @discardableResult
318 | public func debug(_ message: Any, level: DebugLevel = .defaultLevel, file: String = #file, function: String = #function, line: Int = #line, column: Int = #column) -> String {
/host/spi-builder-workspace/Sources/Core/Debug.swift:342:10: warning: unknown operating system for build configuration 'os'
340 | */
341 | func debug(level: DebugLevel = .defaultLevel, file: String = #file, function: String = #function, line: Int = #line, column: Int = #column) -> Self {
342 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
343 | Compatibility.debug(self.localizedDescription, level: level, file: file, function: function, line: line, column: column)
344 | #else
/host/spi-builder-workspace/Sources/Core/Debug.swift:358:29: warning: unknown operating system for build configuration 'os'
356 |
357 | // Testing is only supported with Swift 5.9+ && !WASM
358 | #if compiler(>=5.9) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
359 | @available(iOS 13, macOS 12, tvOS 13, watchOS 6, *)
360 | public extension DebugLevel {
/host/spi-builder-workspace/Sources/Core/Debug.swift:395:43: warning: unknown operating system for build configuration 'os'
393 | }
394 |
395 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
396 | let timestamp = Date.nowBackport.mysqlDateTime
397 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:18:10: warning: unknown operating system for build configuration 'os'
16 | // set breakpoint on this line if we want to debug/inspect errors (note that this slows enough to mess with time stamp checks so disable once we know everything is working).
17 | if let debugString {
18 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
19 | throw CustomError(debugString)
20 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:25:35: warning: unknown operating system for build configuration 'os'
23 | #endif
24 | } else {
25 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
26 | let isMainThread = Thread.isMainThread
27 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:39:10: warning: unknown operating system for build configuration 'os'
37 | file, function, line, column)
38 |
39 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
40 | throw CustomError(context)
41 | #else
[40/51] Compiling Compatibility CodingFoundation.swift
/host/spi-builder-workspace/Sources/Foundation/CodingJSON.swift:3:10: warning: unknown operating system for build configuration 'os'
1 | // MARK: - JSON management (simplified)
2 |
3 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
4 | #if canImport(Foundation)
5 | public extension Encodable {
/host/spi-builder-workspace/Sources/Foundation/CodingJSON.swift:261:22: warning: unknown operating system for build configuration 'os'
259 |
260 | if numberStr.contains(".") || numberStr.contains("e") || numberStr.contains("E") {
261 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
262 | if let d = Double(numberStr) {
263 | return .double(d)
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:13:10: warning: unknown operating system for build configuration 'os'
11 | public typealias MixedTypeDictionary = Dictionary<String,MixedTypeField?>
12 | public typealias MixedTypeArray = [MixedTypeField?]
13 | #if !(os(WASM) || os(WASI)) // not available in embedded Swift due to not being able to dynamically cast Any in encoding: function.
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
14 | public extension MixedTypeDictionary {
15 | /// Initializes with a Dictionary. Returns nil if Dictionary.Key is not LosslessStringConvertible.
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:27:10: warning: unknown operating system for build configuration 'os'
25 | }
26 | #endif
27 | #if !(os(WASM) || os(WASI)) && canImport(Foundation) // not available
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
28 | extension MixedTypeField: Codable {}
29 | #endif
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:39:10: warning: unknown operating system for build configuration 'os'
37 | case array([MixedTypeField?])
38 |
39 | #if !(os(WASM) || os(WASI)) && canImport(Foundation) // not available
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
40 | public init(from decoder: Decoder) throws {
41 | let container = try decoder.singleValueContainer()
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:63:10: warning: unknown operating system for build configuration 'os'
61 | #endif
62 |
63 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
64 | public init?(encoding value: Any?) { // dynamic typecasting isn't available in embedded Swift :(
65 | guard let value else {
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:94:10: warning: unknown operating system for build configuration 'os'
92 | #endif
93 |
94 | #if !(os(WASM) || os(WASI)) && canImport(Foundation) // not available
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
95 | public func encode(to encoder: Encoder) throws {
96 | var container = encoder.singleValueContainer()
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:165:10: warning: unknown operating system for build configuration 'os'
163 |
164 | // MARK: - Coding Support
165 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
166 | public extension Encodable {
167 | func asMixedTypeField() throws -> MixedTypeField {
/host/spi-builder-workspace/Sources/Foundation/Date.swift:177:18: warning: unknown operating system for build configuration 'os'
175 | internal static let testTimes: TestClosure = {
176 | let nowTest = nowBackport
177 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
178 | try expect(nowBackport.mysqlDateTime == nowTest.mysqlDateTime, "\(nowBackport) != \(nowTest)")
179 | // tests without expectations
/host/spi-builder-workspace/Sources/Foundation/Date.swift:211:54: warning: unknown operating system for build configuration 'os'
209 |
210 | // Testing is only supported with Swift 5.9+
211 | #if compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
212 | @available(iOS 13, macOS 12, tvOS 13, watchOS 6, *)
213 | public extension Date {
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:45:35: warning: unknown operating system for build configuration 'os'
43 | //a AM/PM for 12-hour format
44 |
45 | #if canImport(Foundation) && !(os(WASM) || os(WASI)) // not available in WASM?
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
46 | #if canImport(Combine) // not available in Linux
47 | @available(iOS 15, macOS 12, tvOS 15, watchOS 8, *)
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:157:10: warning: unknown operating system for build configuration 'os'
155 |
156 | // MARK: - Tests
157 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
158 | @MainActor
159 | #endif
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:167:10: warning: unknown operating system for build configuration 'os'
165 | }
166 | @available(macOS 12, *)
167 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
168 | @MainActor
169 | #endif
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:182:10: warning: unknown operating system for build configuration 'os'
180 | try expect(dateTimeString.mysqlDate == "2023-01-02", dateTimeString.mysqlDate)
181 | }
182 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
183 | @MainActor
184 | #endif
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:229:35: warning: unknown operating system for build configuration 'os'
227 | /// A string representation of a date time. When getting this as a date, it will attempt to parse various formats the string could be in to allow a variety of formats. You can add other formats here to expand the support. Add mappings in the date initializer if you need other formats supported.
228 | public protocol DateStringRepresentation: RawRepresentable, Sendable, Hashable, Codable, Comparable, DateRepresentable, ExpressibleByStringLiteral, ExpressibleByStringInterpolation, LosslessStringConvertible where RawValue == String {
229 | #if canImport(Foundation) && !(os(WASM) || os(WASI)) // not available in WASM?
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
230 | var date: Date? { get }
231 | #endif
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:251:35: warning: unknown operating system for build configuration 'os'
249 | }
250 |
251 | #if canImport(Foundation) && !(os(WASM) || os(WASI)) // not available in WASM?
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
252 | var date: Date? {
253 | return Date(parse: rawValue)
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:275:35: warning: unknown operating system for build configuration 'os'
273 | }
274 |
275 | #if canImport(Foundation) && !(os(WASM) || os(WASI)) // not available in WASM?
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
276 | // MARK: - Formatted output
277 | public extension DateRepresentable {
/host/spi-builder-workspace/Sources/Core/Test.swift:18:10: warning: unknown operating system for build configuration 'os'
16 | // set breakpoint on this line if we want to debug/inspect errors (note that this slows enough to mess with time stamp checks so disable once we know everything is working).
17 | if let debugString {
18 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
19 | throw CustomError(debugString)
20 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:25:35: warning: unknown operating system for build configuration 'os'
23 | #endif
24 | } else {
25 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
26 | let isMainThread = Thread.isMainThread
27 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:39:10: warning: unknown operating system for build configuration 'os'
37 | file, function, line, column)
38 |
39 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
40 | throw CustomError(context)
41 | #else
[41/51] Compiling Compatibility CodingJSON.swift
/host/spi-builder-workspace/Sources/Foundation/CodingJSON.swift:3:10: warning: unknown operating system for build configuration 'os'
1 | // MARK: - JSON management (simplified)
2 |
3 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
4 | #if canImport(Foundation)
5 | public extension Encodable {
/host/spi-builder-workspace/Sources/Foundation/CodingJSON.swift:261:22: warning: unknown operating system for build configuration 'os'
259 |
260 | if numberStr.contains(".") || numberStr.contains("e") || numberStr.contains("E") {
261 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
262 | if let d = Double(numberStr) {
263 | return .double(d)
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:13:10: warning: unknown operating system for build configuration 'os'
11 | public typealias MixedTypeDictionary = Dictionary<String,MixedTypeField?>
12 | public typealias MixedTypeArray = [MixedTypeField?]
13 | #if !(os(WASM) || os(WASI)) // not available in embedded Swift due to not being able to dynamically cast Any in encoding: function.
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
14 | public extension MixedTypeDictionary {
15 | /// Initializes with a Dictionary. Returns nil if Dictionary.Key is not LosslessStringConvertible.
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:27:10: warning: unknown operating system for build configuration 'os'
25 | }
26 | #endif
27 | #if !(os(WASM) || os(WASI)) && canImport(Foundation) // not available
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
28 | extension MixedTypeField: Codable {}
29 | #endif
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:39:10: warning: unknown operating system for build configuration 'os'
37 | case array([MixedTypeField?])
38 |
39 | #if !(os(WASM) || os(WASI)) && canImport(Foundation) // not available
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
40 | public init(from decoder: Decoder) throws {
41 | let container = try decoder.singleValueContainer()
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:63:10: warning: unknown operating system for build configuration 'os'
61 | #endif
62 |
63 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
64 | public init?(encoding value: Any?) { // dynamic typecasting isn't available in embedded Swift :(
65 | guard let value else {
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:94:10: warning: unknown operating system for build configuration 'os'
92 | #endif
93 |
94 | #if !(os(WASM) || os(WASI)) && canImport(Foundation) // not available
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
95 | public func encode(to encoder: Encoder) throws {
96 | var container = encoder.singleValueContainer()
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:165:10: warning: unknown operating system for build configuration 'os'
163 |
164 | // MARK: - Coding Support
165 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
166 | public extension Encodable {
167 | func asMixedTypeField() throws -> MixedTypeField {
/host/spi-builder-workspace/Sources/Foundation/Date.swift:177:18: warning: unknown operating system for build configuration 'os'
175 | internal static let testTimes: TestClosure = {
176 | let nowTest = nowBackport
177 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
178 | try expect(nowBackport.mysqlDateTime == nowTest.mysqlDateTime, "\(nowBackport) != \(nowTest)")
179 | // tests without expectations
/host/spi-builder-workspace/Sources/Foundation/Date.swift:211:54: warning: unknown operating system for build configuration 'os'
209 |
210 | // Testing is only supported with Swift 5.9+
211 | #if compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
212 | @available(iOS 13, macOS 12, tvOS 13, watchOS 6, *)
213 | public extension Date {
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:45:35: warning: unknown operating system for build configuration 'os'
43 | //a AM/PM for 12-hour format
44 |
45 | #if canImport(Foundation) && !(os(WASM) || os(WASI)) // not available in WASM?
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
46 | #if canImport(Combine) // not available in Linux
47 | @available(iOS 15, macOS 12, tvOS 15, watchOS 8, *)
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:157:10: warning: unknown operating system for build configuration 'os'
155 |
156 | // MARK: - Tests
157 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
158 | @MainActor
159 | #endif
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:167:10: warning: unknown operating system for build configuration 'os'
165 | }
166 | @available(macOS 12, *)
167 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
168 | @MainActor
169 | #endif
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:182:10: warning: unknown operating system for build configuration 'os'
180 | try expect(dateTimeString.mysqlDate == "2023-01-02", dateTimeString.mysqlDate)
181 | }
182 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
183 | @MainActor
184 | #endif
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:229:35: warning: unknown operating system for build configuration 'os'
227 | /// A string representation of a date time. When getting this as a date, it will attempt to parse various formats the string could be in to allow a variety of formats. You can add other formats here to expand the support. Add mappings in the date initializer if you need other formats supported.
228 | public protocol DateStringRepresentation: RawRepresentable, Sendable, Hashable, Codable, Comparable, DateRepresentable, ExpressibleByStringLiteral, ExpressibleByStringInterpolation, LosslessStringConvertible where RawValue == String {
229 | #if canImport(Foundation) && !(os(WASM) || os(WASI)) // not available in WASM?
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
230 | var date: Date? { get }
231 | #endif
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:251:35: warning: unknown operating system for build configuration 'os'
249 | }
250 |
251 | #if canImport(Foundation) && !(os(WASM) || os(WASI)) // not available in WASM?
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
252 | var date: Date? {
253 | return Date(parse: rawValue)
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:275:35: warning: unknown operating system for build configuration 'os'
273 | }
274 |
275 | #if canImport(Foundation) && !(os(WASM) || os(WASI)) // not available in WASM?
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
276 | // MARK: - Formatted output
277 | public extension DateRepresentable {
/host/spi-builder-workspace/Sources/Core/Test.swift:18:10: warning: unknown operating system for build configuration 'os'
16 | // set breakpoint on this line if we want to debug/inspect errors (note that this slows enough to mess with time stamp checks so disable once we know everything is working).
17 | if let debugString {
18 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
19 | throw CustomError(debugString)
20 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:25:35: warning: unknown operating system for build configuration 'os'
23 | #endif
24 | } else {
25 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
26 | let isMainThread = Thread.isMainThread
27 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:39:10: warning: unknown operating system for build configuration 'os'
37 | file, function, line, column)
38 |
39 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
40 | throw CustomError(context)
41 | #else
[42/51] Compiling Compatibility CodingMixedTypes.swift
/host/spi-builder-workspace/Sources/Foundation/CodingJSON.swift:3:10: warning: unknown operating system for build configuration 'os'
1 | // MARK: - JSON management (simplified)
2 |
3 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
4 | #if canImport(Foundation)
5 | public extension Encodable {
/host/spi-builder-workspace/Sources/Foundation/CodingJSON.swift:261:22: warning: unknown operating system for build configuration 'os'
259 |
260 | if numberStr.contains(".") || numberStr.contains("e") || numberStr.contains("E") {
261 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
262 | if let d = Double(numberStr) {
263 | return .double(d)
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:13:10: warning: unknown operating system for build configuration 'os'
11 | public typealias MixedTypeDictionary = Dictionary<String,MixedTypeField?>
12 | public typealias MixedTypeArray = [MixedTypeField?]
13 | #if !(os(WASM) || os(WASI)) // not available in embedded Swift due to not being able to dynamically cast Any in encoding: function.
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
14 | public extension MixedTypeDictionary {
15 | /// Initializes with a Dictionary. Returns nil if Dictionary.Key is not LosslessStringConvertible.
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:27:10: warning: unknown operating system for build configuration 'os'
25 | }
26 | #endif
27 | #if !(os(WASM) || os(WASI)) && canImport(Foundation) // not available
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
28 | extension MixedTypeField: Codable {}
29 | #endif
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:39:10: warning: unknown operating system for build configuration 'os'
37 | case array([MixedTypeField?])
38 |
39 | #if !(os(WASM) || os(WASI)) && canImport(Foundation) // not available
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
40 | public init(from decoder: Decoder) throws {
41 | let container = try decoder.singleValueContainer()
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:63:10: warning: unknown operating system for build configuration 'os'
61 | #endif
62 |
63 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
64 | public init?(encoding value: Any?) { // dynamic typecasting isn't available in embedded Swift :(
65 | guard let value else {
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:94:10: warning: unknown operating system for build configuration 'os'
92 | #endif
93 |
94 | #if !(os(WASM) || os(WASI)) && canImport(Foundation) // not available
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
95 | public func encode(to encoder: Encoder) throws {
96 | var container = encoder.singleValueContainer()
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:165:10: warning: unknown operating system for build configuration 'os'
163 |
164 | // MARK: - Coding Support
165 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
166 | public extension Encodable {
167 | func asMixedTypeField() throws -> MixedTypeField {
/host/spi-builder-workspace/Sources/Foundation/Date.swift:177:18: warning: unknown operating system for build configuration 'os'
175 | internal static let testTimes: TestClosure = {
176 | let nowTest = nowBackport
177 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
178 | try expect(nowBackport.mysqlDateTime == nowTest.mysqlDateTime, "\(nowBackport) != \(nowTest)")
179 | // tests without expectations
/host/spi-builder-workspace/Sources/Foundation/Date.swift:211:54: warning: unknown operating system for build configuration 'os'
209 |
210 | // Testing is only supported with Swift 5.9+
211 | #if compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
212 | @available(iOS 13, macOS 12, tvOS 13, watchOS 6, *)
213 | public extension Date {
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:45:35: warning: unknown operating system for build configuration 'os'
43 | //a AM/PM for 12-hour format
44 |
45 | #if canImport(Foundation) && !(os(WASM) || os(WASI)) // not available in WASM?
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
46 | #if canImport(Combine) // not available in Linux
47 | @available(iOS 15, macOS 12, tvOS 15, watchOS 8, *)
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:157:10: warning: unknown operating system for build configuration 'os'
155 |
156 | // MARK: - Tests
157 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
158 | @MainActor
159 | #endif
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:167:10: warning: unknown operating system for build configuration 'os'
165 | }
166 | @available(macOS 12, *)
167 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
168 | @MainActor
169 | #endif
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:182:10: warning: unknown operating system for build configuration 'os'
180 | try expect(dateTimeString.mysqlDate == "2023-01-02", dateTimeString.mysqlDate)
181 | }
182 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
183 | @MainActor
184 | #endif
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:229:35: warning: unknown operating system for build configuration 'os'
227 | /// A string representation of a date time. When getting this as a date, it will attempt to parse various formats the string could be in to allow a variety of formats. You can add other formats here to expand the support. Add mappings in the date initializer if you need other formats supported.
228 | public protocol DateStringRepresentation: RawRepresentable, Sendable, Hashable, Codable, Comparable, DateRepresentable, ExpressibleByStringLiteral, ExpressibleByStringInterpolation, LosslessStringConvertible where RawValue == String {
229 | #if canImport(Foundation) && !(os(WASM) || os(WASI)) // not available in WASM?
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
230 | var date: Date? { get }
231 | #endif
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:251:35: warning: unknown operating system for build configuration 'os'
249 | }
250 |
251 | #if canImport(Foundation) && !(os(WASM) || os(WASI)) // not available in WASM?
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
252 | var date: Date? {
253 | return Date(parse: rawValue)
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:275:35: warning: unknown operating system for build configuration 'os'
273 | }
274 |
275 | #if canImport(Foundation) && !(os(WASM) || os(WASI)) // not available in WASM?
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
276 | // MARK: - Formatted output
277 | public extension DateRepresentable {
/host/spi-builder-workspace/Sources/Core/Test.swift:18:10: warning: unknown operating system for build configuration 'os'
16 | // set breakpoint on this line if we want to debug/inspect errors (note that this slows enough to mess with time stamp checks so disable once we know everything is working).
17 | if let debugString {
18 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
19 | throw CustomError(debugString)
20 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:25:35: warning: unknown operating system for build configuration 'os'
23 | #endif
24 | } else {
25 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
26 | let isMainThread = Thread.isMainThread
27 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:39:10: warning: unknown operating system for build configuration 'os'
37 | file, function, line, column)
38 |
39 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
40 | throw CustomError(context)
41 | #else
[43/51] Compiling Compatibility CodingParameters.swift
/host/spi-builder-workspace/Sources/Foundation/CodingJSON.swift:3:10: warning: unknown operating system for build configuration 'os'
1 | // MARK: - JSON management (simplified)
2 |
3 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
4 | #if canImport(Foundation)
5 | public extension Encodable {
/host/spi-builder-workspace/Sources/Foundation/CodingJSON.swift:261:22: warning: unknown operating system for build configuration 'os'
259 |
260 | if numberStr.contains(".") || numberStr.contains("e") || numberStr.contains("E") {
261 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
262 | if let d = Double(numberStr) {
263 | return .double(d)
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:13:10: warning: unknown operating system for build configuration 'os'
11 | public typealias MixedTypeDictionary = Dictionary<String,MixedTypeField?>
12 | public typealias MixedTypeArray = [MixedTypeField?]
13 | #if !(os(WASM) || os(WASI)) // not available in embedded Swift due to not being able to dynamically cast Any in encoding: function.
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
14 | public extension MixedTypeDictionary {
15 | /// Initializes with a Dictionary. Returns nil if Dictionary.Key is not LosslessStringConvertible.
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:27:10: warning: unknown operating system for build configuration 'os'
25 | }
26 | #endif
27 | #if !(os(WASM) || os(WASI)) && canImport(Foundation) // not available
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
28 | extension MixedTypeField: Codable {}
29 | #endif
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:39:10: warning: unknown operating system for build configuration 'os'
37 | case array([MixedTypeField?])
38 |
39 | #if !(os(WASM) || os(WASI)) && canImport(Foundation) // not available
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
40 | public init(from decoder: Decoder) throws {
41 | let container = try decoder.singleValueContainer()
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:63:10: warning: unknown operating system for build configuration 'os'
61 | #endif
62 |
63 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
64 | public init?(encoding value: Any?) { // dynamic typecasting isn't available in embedded Swift :(
65 | guard let value else {
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:94:10: warning: unknown operating system for build configuration 'os'
92 | #endif
93 |
94 | #if !(os(WASM) || os(WASI)) && canImport(Foundation) // not available
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
95 | public func encode(to encoder: Encoder) throws {
96 | var container = encoder.singleValueContainer()
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:165:10: warning: unknown operating system for build configuration 'os'
163 |
164 | // MARK: - Coding Support
165 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
166 | public extension Encodable {
167 | func asMixedTypeField() throws -> MixedTypeField {
/host/spi-builder-workspace/Sources/Foundation/Date.swift:177:18: warning: unknown operating system for build configuration 'os'
175 | internal static let testTimes: TestClosure = {
176 | let nowTest = nowBackport
177 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
178 | try expect(nowBackport.mysqlDateTime == nowTest.mysqlDateTime, "\(nowBackport) != \(nowTest)")
179 | // tests without expectations
/host/spi-builder-workspace/Sources/Foundation/Date.swift:211:54: warning: unknown operating system for build configuration 'os'
209 |
210 | // Testing is only supported with Swift 5.9+
211 | #if compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
212 | @available(iOS 13, macOS 12, tvOS 13, watchOS 6, *)
213 | public extension Date {
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:45:35: warning: unknown operating system for build configuration 'os'
43 | //a AM/PM for 12-hour format
44 |
45 | #if canImport(Foundation) && !(os(WASM) || os(WASI)) // not available in WASM?
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
46 | #if canImport(Combine) // not available in Linux
47 | @available(iOS 15, macOS 12, tvOS 15, watchOS 8, *)
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:157:10: warning: unknown operating system for build configuration 'os'
155 |
156 | // MARK: - Tests
157 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
158 | @MainActor
159 | #endif
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:167:10: warning: unknown operating system for build configuration 'os'
165 | }
166 | @available(macOS 12, *)
167 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
168 | @MainActor
169 | #endif
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:182:10: warning: unknown operating system for build configuration 'os'
180 | try expect(dateTimeString.mysqlDate == "2023-01-02", dateTimeString.mysqlDate)
181 | }
182 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
183 | @MainActor
184 | #endif
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:229:35: warning: unknown operating system for build configuration 'os'
227 | /// A string representation of a date time. When getting this as a date, it will attempt to parse various formats the string could be in to allow a variety of formats. You can add other formats here to expand the support. Add mappings in the date initializer if you need other formats supported.
228 | public protocol DateStringRepresentation: RawRepresentable, Sendable, Hashable, Codable, Comparable, DateRepresentable, ExpressibleByStringLiteral, ExpressibleByStringInterpolation, LosslessStringConvertible where RawValue == String {
229 | #if canImport(Foundation) && !(os(WASM) || os(WASI)) // not available in WASM?
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
230 | var date: Date? { get }
231 | #endif
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:251:35: warning: unknown operating system for build configuration 'os'
249 | }
250 |
251 | #if canImport(Foundation) && !(os(WASM) || os(WASI)) // not available in WASM?
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
252 | var date: Date? {
253 | return Date(parse: rawValue)
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:275:35: warning: unknown operating system for build configuration 'os'
273 | }
274 |
275 | #if canImport(Foundation) && !(os(WASM) || os(WASI)) // not available in WASM?
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
276 | // MARK: - Formatted output
277 | public extension DateRepresentable {
/host/spi-builder-workspace/Sources/Core/Test.swift:18:10: warning: unknown operating system for build configuration 'os'
16 | // set breakpoint on this line if we want to debug/inspect errors (note that this slows enough to mess with time stamp checks so disable once we know everything is working).
17 | if let debugString {
18 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
19 | throw CustomError(debugString)
20 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:25:35: warning: unknown operating system for build configuration 'os'
23 | #endif
24 | } else {
25 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
26 | let isMainThread = Thread.isMainThread
27 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:39:10: warning: unknown operating system for build configuration 'os'
37 | file, function, line, column)
38 |
39 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
40 | throw CustomError(context)
41 | #else
[44/51] Compiling Compatibility Date.swift
/host/spi-builder-workspace/Sources/Foundation/CodingJSON.swift:3:10: warning: unknown operating system for build configuration 'os'
1 | // MARK: - JSON management (simplified)
2 |
3 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
4 | #if canImport(Foundation)
5 | public extension Encodable {
/host/spi-builder-workspace/Sources/Foundation/CodingJSON.swift:261:22: warning: unknown operating system for build configuration 'os'
259 |
260 | if numberStr.contains(".") || numberStr.contains("e") || numberStr.contains("E") {
261 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
262 | if let d = Double(numberStr) {
263 | return .double(d)
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:13:10: warning: unknown operating system for build configuration 'os'
11 | public typealias MixedTypeDictionary = Dictionary<String,MixedTypeField?>
12 | public typealias MixedTypeArray = [MixedTypeField?]
13 | #if !(os(WASM) || os(WASI)) // not available in embedded Swift due to not being able to dynamically cast Any in encoding: function.
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
14 | public extension MixedTypeDictionary {
15 | /// Initializes with a Dictionary. Returns nil if Dictionary.Key is not LosslessStringConvertible.
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:27:10: warning: unknown operating system for build configuration 'os'
25 | }
26 | #endif
27 | #if !(os(WASM) || os(WASI)) && canImport(Foundation) // not available
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
28 | extension MixedTypeField: Codable {}
29 | #endif
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:39:10: warning: unknown operating system for build configuration 'os'
37 | case array([MixedTypeField?])
38 |
39 | #if !(os(WASM) || os(WASI)) && canImport(Foundation) // not available
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
40 | public init(from decoder: Decoder) throws {
41 | let container = try decoder.singleValueContainer()
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:63:10: warning: unknown operating system for build configuration 'os'
61 | #endif
62 |
63 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
64 | public init?(encoding value: Any?) { // dynamic typecasting isn't available in embedded Swift :(
65 | guard let value else {
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:94:10: warning: unknown operating system for build configuration 'os'
92 | #endif
93 |
94 | #if !(os(WASM) || os(WASI)) && canImport(Foundation) // not available
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
95 | public func encode(to encoder: Encoder) throws {
96 | var container = encoder.singleValueContainer()
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:165:10: warning: unknown operating system for build configuration 'os'
163 |
164 | // MARK: - Coding Support
165 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
166 | public extension Encodable {
167 | func asMixedTypeField() throws -> MixedTypeField {
/host/spi-builder-workspace/Sources/Foundation/Date.swift:177:18: warning: unknown operating system for build configuration 'os'
175 | internal static let testTimes: TestClosure = {
176 | let nowTest = nowBackport
177 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
178 | try expect(nowBackport.mysqlDateTime == nowTest.mysqlDateTime, "\(nowBackport) != \(nowTest)")
179 | // tests without expectations
/host/spi-builder-workspace/Sources/Foundation/Date.swift:211:54: warning: unknown operating system for build configuration 'os'
209 |
210 | // Testing is only supported with Swift 5.9+
211 | #if compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
212 | @available(iOS 13, macOS 12, tvOS 13, watchOS 6, *)
213 | public extension Date {
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:45:35: warning: unknown operating system for build configuration 'os'
43 | //a AM/PM for 12-hour format
44 |
45 | #if canImport(Foundation) && !(os(WASM) || os(WASI)) // not available in WASM?
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
46 | #if canImport(Combine) // not available in Linux
47 | @available(iOS 15, macOS 12, tvOS 15, watchOS 8, *)
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:157:10: warning: unknown operating system for build configuration 'os'
155 |
156 | // MARK: - Tests
157 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
158 | @MainActor
159 | #endif
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:167:10: warning: unknown operating system for build configuration 'os'
165 | }
166 | @available(macOS 12, *)
167 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
168 | @MainActor
169 | #endif
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:182:10: warning: unknown operating system for build configuration 'os'
180 | try expect(dateTimeString.mysqlDate == "2023-01-02", dateTimeString.mysqlDate)
181 | }
182 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
183 | @MainActor
184 | #endif
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:229:35: warning: unknown operating system for build configuration 'os'
227 | /// A string representation of a date time. When getting this as a date, it will attempt to parse various formats the string could be in to allow a variety of formats. You can add other formats here to expand the support. Add mappings in the date initializer if you need other formats supported.
228 | public protocol DateStringRepresentation: RawRepresentable, Sendable, Hashable, Codable, Comparable, DateRepresentable, ExpressibleByStringLiteral, ExpressibleByStringInterpolation, LosslessStringConvertible where RawValue == String {
229 | #if canImport(Foundation) && !(os(WASM) || os(WASI)) // not available in WASM?
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
230 | var date: Date? { get }
231 | #endif
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:251:35: warning: unknown operating system for build configuration 'os'
249 | }
250 |
251 | #if canImport(Foundation) && !(os(WASM) || os(WASI)) // not available in WASM?
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
252 | var date: Date? {
253 | return Date(parse: rawValue)
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:275:35: warning: unknown operating system for build configuration 'os'
273 | }
274 |
275 | #if canImport(Foundation) && !(os(WASM) || os(WASI)) // not available in WASM?
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
276 | // MARK: - Formatted output
277 | public extension DateRepresentable {
/host/spi-builder-workspace/Sources/Core/Test.swift:18:10: warning: unknown operating system for build configuration 'os'
16 | // set breakpoint on this line if we want to debug/inspect errors (note that this slows enough to mess with time stamp checks so disable once we know everything is working).
17 | if let debugString {
18 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
19 | throw CustomError(debugString)
20 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:25:35: warning: unknown operating system for build configuration 'os'
23 | #endif
24 | } else {
25 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
26 | let isMainThread = Thread.isMainThread
27 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:39:10: warning: unknown operating system for build configuration 'os'
37 | file, function, line, column)
38 |
39 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
40 | throw CustomError(context)
41 | #else
[45/51] Compiling Compatibility DateString.swift
/host/spi-builder-workspace/Sources/Foundation/CodingJSON.swift:3:10: warning: unknown operating system for build configuration 'os'
1 | // MARK: - JSON management (simplified)
2 |
3 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
4 | #if canImport(Foundation)
5 | public extension Encodable {
/host/spi-builder-workspace/Sources/Foundation/CodingJSON.swift:261:22: warning: unknown operating system for build configuration 'os'
259 |
260 | if numberStr.contains(".") || numberStr.contains("e") || numberStr.contains("E") {
261 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
262 | if let d = Double(numberStr) {
263 | return .double(d)
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:13:10: warning: unknown operating system for build configuration 'os'
11 | public typealias MixedTypeDictionary = Dictionary<String,MixedTypeField?>
12 | public typealias MixedTypeArray = [MixedTypeField?]
13 | #if !(os(WASM) || os(WASI)) // not available in embedded Swift due to not being able to dynamically cast Any in encoding: function.
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
14 | public extension MixedTypeDictionary {
15 | /// Initializes with a Dictionary. Returns nil if Dictionary.Key is not LosslessStringConvertible.
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:27:10: warning: unknown operating system for build configuration 'os'
25 | }
26 | #endif
27 | #if !(os(WASM) || os(WASI)) && canImport(Foundation) // not available
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
28 | extension MixedTypeField: Codable {}
29 | #endif
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:39:10: warning: unknown operating system for build configuration 'os'
37 | case array([MixedTypeField?])
38 |
39 | #if !(os(WASM) || os(WASI)) && canImport(Foundation) // not available
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
40 | public init(from decoder: Decoder) throws {
41 | let container = try decoder.singleValueContainer()
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:63:10: warning: unknown operating system for build configuration 'os'
61 | #endif
62 |
63 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
64 | public init?(encoding value: Any?) { // dynamic typecasting isn't available in embedded Swift :(
65 | guard let value else {
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:94:10: warning: unknown operating system for build configuration 'os'
92 | #endif
93 |
94 | #if !(os(WASM) || os(WASI)) && canImport(Foundation) // not available
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
95 | public func encode(to encoder: Encoder) throws {
96 | var container = encoder.singleValueContainer()
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:165:10: warning: unknown operating system for build configuration 'os'
163 |
164 | // MARK: - Coding Support
165 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
166 | public extension Encodable {
167 | func asMixedTypeField() throws -> MixedTypeField {
/host/spi-builder-workspace/Sources/Foundation/Date.swift:177:18: warning: unknown operating system for build configuration 'os'
175 | internal static let testTimes: TestClosure = {
176 | let nowTest = nowBackport
177 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
178 | try expect(nowBackport.mysqlDateTime == nowTest.mysqlDateTime, "\(nowBackport) != \(nowTest)")
179 | // tests without expectations
/host/spi-builder-workspace/Sources/Foundation/Date.swift:211:54: warning: unknown operating system for build configuration 'os'
209 |
210 | // Testing is only supported with Swift 5.9+
211 | #if compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
212 | @available(iOS 13, macOS 12, tvOS 13, watchOS 6, *)
213 | public extension Date {
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:45:35: warning: unknown operating system for build configuration 'os'
43 | //a AM/PM for 12-hour format
44 |
45 | #if canImport(Foundation) && !(os(WASM) || os(WASI)) // not available in WASM?
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
46 | #if canImport(Combine) // not available in Linux
47 | @available(iOS 15, macOS 12, tvOS 15, watchOS 8, *)
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:157:10: warning: unknown operating system for build configuration 'os'
155 |
156 | // MARK: - Tests
157 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
158 | @MainActor
159 | #endif
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:167:10: warning: unknown operating system for build configuration 'os'
165 | }
166 | @available(macOS 12, *)
167 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
168 | @MainActor
169 | #endif
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:182:10: warning: unknown operating system for build configuration 'os'
180 | try expect(dateTimeString.mysqlDate == "2023-01-02", dateTimeString.mysqlDate)
181 | }
182 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
183 | @MainActor
184 | #endif
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:229:35: warning: unknown operating system for build configuration 'os'
227 | /// A string representation of a date time. When getting this as a date, it will attempt to parse various formats the string could be in to allow a variety of formats. You can add other formats here to expand the support. Add mappings in the date initializer if you need other formats supported.
228 | public protocol DateStringRepresentation: RawRepresentable, Sendable, Hashable, Codable, Comparable, DateRepresentable, ExpressibleByStringLiteral, ExpressibleByStringInterpolation, LosslessStringConvertible where RawValue == String {
229 | #if canImport(Foundation) && !(os(WASM) || os(WASI)) // not available in WASM?
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
230 | var date: Date? { get }
231 | #endif
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:251:35: warning: unknown operating system for build configuration 'os'
249 | }
250 |
251 | #if canImport(Foundation) && !(os(WASM) || os(WASI)) // not available in WASM?
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
252 | var date: Date? {
253 | return Date(parse: rawValue)
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:275:35: warning: unknown operating system for build configuration 'os'
273 | }
274 |
275 | #if canImport(Foundation) && !(os(WASM) || os(WASI)) // not available in WASM?
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
276 | // MARK: - Formatted output
277 | public extension DateRepresentable {
/host/spi-builder-workspace/Sources/Core/Test.swift:18:10: warning: unknown operating system for build configuration 'os'
16 | // set breakpoint on this line if we want to debug/inspect errors (note that this slows enough to mess with time stamp checks so disable once we know everything is working).
17 | if let debugString {
18 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
19 | throw CustomError(debugString)
20 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:25:35: warning: unknown operating system for build configuration 'os'
23 | #endif
24 | } else {
25 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
26 | let isMainThread = Thread.isMainThread
27 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:39:10: warning: unknown operating system for build configuration 'os'
37 | file, function, line, column)
38 |
39 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
40 | throw CustomError(context)
41 | #else
[46/51] Compiling Compatibility Compatibility.swift
/host/spi-builder-workspace/Sources/Compatibility.swift:198:35: warning: unknown operating system for build configuration 'os'
196 | public extension Compatibility { // for brief period where Application and Build wasn't available. Static computed properties apparently aren't supported in extensions in iOS <13?
197 | // MARK: - Entitlements Information
198 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
199 | @available(*, deprecated, renamed: "Application.iCloudSupported")
200 | @MainActor
/host/spi-builder-workspace/Sources/Core/Application.swift:201:10: warning: unknown operating system for build configuration 'os'
199 | }
200 |
201 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
202 | @MainActor
203 | #endif
/host/spi-builder-workspace/Sources/Core/Application.swift:206:10: warning: unknown operating system for build configuration 'os'
204 | @available(iOS 13, tvOS 13, watchOS 6, *)
205 | public class Application: ObservableObject { // cannot automatically conform to CustomStringConvertible since it's actor-isolated...
206 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
207 | @MainActor
208 | #endif
/host/spi-builder-workspace/Sources/Core/Application.swift:211:10: warning: unknown operating system for build configuration 'os'
209 | public static var baseDomain = "com.kudit"
210 |
211 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
212 | @MainActor
213 | #endif
/host/spi-builder-workspace/Sources/Core/Application.swift:257:35: warning: unknown operating system for build configuration 'os'
255 | public static let isMacCatalyst = Build.isMacCatalyst
256 |
257 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
258 | @MainActor
259 | #endif
/host/spi-builder-workspace/Sources/Core/Application.swift:265:35: warning: unknown operating system for build configuration 'os'
263 | }
264 |
265 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
266 | // MARK: - iCloud Support
267 | /// Use before tracking to disable iCloud checks to prevent crashes if we can't check for iCloud or for simulating behavior without iCloud support for CloudStorage.
/host/spi-builder-workspace/Sources/Core/Application.swift:499:35: warning: unknown operating system for build configuration 'os'
497 | #endif
498 | #if compiler(>=5.9)
499 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
500 | @MainActor
501 | internal static var applicationTests: TestClosure = { @MainActor in // ensure we're running these on the Main Actor so we don't have to worry about Application main actor access.
/host/spi-builder-workspace/Sources/Core/Application.swift:536:35: warning: unknown operating system for build configuration 'os'
534 | #endif
535 |
536 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
537 | @MainActor
538 | #endif
/host/spi-builder-workspace/Sources/Core/Bundle.swift:9:35: warning: unknown operating system for build configuration 'os'
7 | //
8 |
9 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
10 | // get current version:
11 | // Bundle.main.version
/host/spi-builder-workspace/Sources/Core/Test.swift:18:10: warning: unknown operating system for build configuration 'os'
16 | // set breakpoint on this line if we want to debug/inspect errors (note that this slows enough to mess with time stamp checks so disable once we know everything is working).
17 | if let debugString {
18 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
19 | throw CustomError(debugString)
20 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:25:35: warning: unknown operating system for build configuration 'os'
23 | #endif
24 | } else {
25 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
26 | let isMainThread = Thread.isMainThread
27 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:39:10: warning: unknown operating system for build configuration 'os'
37 | file, function, line, column)
38 |
39 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
40 | throw CustomError(context)
41 | #else
/host/spi-builder-workspace/Sources/Core/Application.swift:395:13: warning: variable 'allVersionsString' was never mutated; consider changing to 'let' constant
393 |
394 | // join all versions run (the beauty of this is it doesn't matter if legacyLastRunVersion is a comma-separated list or a single value - both will work)
395 | var allVersionsString = "\(legacyLastRunVersion ?? ""),\(kuditPreviouslyRunVersions?.joined(separator: ",") ?? ""),\(version)"
| `- warning: variable 'allVersionsString' was never mutated; consider changing to 'let' constant
396 | #if compiler(>=5.9) && canImport(Combine)
397 | if #available(watchOS 9, *) {
[47/51] Compiling Compatibility Application.swift
/host/spi-builder-workspace/Sources/Compatibility.swift:198:35: warning: unknown operating system for build configuration 'os'
196 | public extension Compatibility { // for brief period where Application and Build wasn't available. Static computed properties apparently aren't supported in extensions in iOS <13?
197 | // MARK: - Entitlements Information
198 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
199 | @available(*, deprecated, renamed: "Application.iCloudSupported")
200 | @MainActor
/host/spi-builder-workspace/Sources/Core/Application.swift:201:10: warning: unknown operating system for build configuration 'os'
199 | }
200 |
201 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
202 | @MainActor
203 | #endif
/host/spi-builder-workspace/Sources/Core/Application.swift:206:10: warning: unknown operating system for build configuration 'os'
204 | @available(iOS 13, tvOS 13, watchOS 6, *)
205 | public class Application: ObservableObject { // cannot automatically conform to CustomStringConvertible since it's actor-isolated...
206 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
207 | @MainActor
208 | #endif
/host/spi-builder-workspace/Sources/Core/Application.swift:211:10: warning: unknown operating system for build configuration 'os'
209 | public static var baseDomain = "com.kudit"
210 |
211 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
212 | @MainActor
213 | #endif
/host/spi-builder-workspace/Sources/Core/Application.swift:257:35: warning: unknown operating system for build configuration 'os'
255 | public static let isMacCatalyst = Build.isMacCatalyst
256 |
257 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
258 | @MainActor
259 | #endif
/host/spi-builder-workspace/Sources/Core/Application.swift:265:35: warning: unknown operating system for build configuration 'os'
263 | }
264 |
265 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
266 | // MARK: - iCloud Support
267 | /// Use before tracking to disable iCloud checks to prevent crashes if we can't check for iCloud or for simulating behavior without iCloud support for CloudStorage.
/host/spi-builder-workspace/Sources/Core/Application.swift:499:35: warning: unknown operating system for build configuration 'os'
497 | #endif
498 | #if compiler(>=5.9)
499 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
500 | @MainActor
501 | internal static var applicationTests: TestClosure = { @MainActor in // ensure we're running these on the Main Actor so we don't have to worry about Application main actor access.
/host/spi-builder-workspace/Sources/Core/Application.swift:536:35: warning: unknown operating system for build configuration 'os'
534 | #endif
535 |
536 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
537 | @MainActor
538 | #endif
/host/spi-builder-workspace/Sources/Core/Bundle.swift:9:35: warning: unknown operating system for build configuration 'os'
7 | //
8 |
9 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
10 | // get current version:
11 | // Bundle.main.version
/host/spi-builder-workspace/Sources/Core/Test.swift:18:10: warning: unknown operating system for build configuration 'os'
16 | // set breakpoint on this line if we want to debug/inspect errors (note that this slows enough to mess with time stamp checks so disable once we know everything is working).
17 | if let debugString {
18 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
19 | throw CustomError(debugString)
20 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:25:35: warning: unknown operating system for build configuration 'os'
23 | #endif
24 | } else {
25 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
26 | let isMainThread = Thread.isMainThread
27 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:39:10: warning: unknown operating system for build configuration 'os'
37 | file, function, line, column)
38 |
39 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
40 | throw CustomError(context)
41 | #else
/host/spi-builder-workspace/Sources/Core/Application.swift:395:13: warning: variable 'allVersionsString' was never mutated; consider changing to 'let' constant
393 |
394 | // join all versions run (the beauty of this is it doesn't matter if legacyLastRunVersion is a comma-separated list or a single value - both will work)
395 | var allVersionsString = "\(legacyLastRunVersion ?? ""),\(kuditPreviouslyRunVersions?.joined(separator: ",") ?? ""),\(version)"
| `- warning: variable 'allVersionsString' was never mutated; consider changing to 'let' constant
396 | #if compiler(>=5.9) && canImport(Combine)
397 | if #available(watchOS 9, *) {
[48/51] Compiling Compatibility Bundle.swift
/host/spi-builder-workspace/Sources/Compatibility.swift:198:35: warning: unknown operating system for build configuration 'os'
196 | public extension Compatibility { // for brief period where Application and Build wasn't available. Static computed properties apparently aren't supported in extensions in iOS <13?
197 | // MARK: - Entitlements Information
198 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
199 | @available(*, deprecated, renamed: "Application.iCloudSupported")
200 | @MainActor
/host/spi-builder-workspace/Sources/Core/Application.swift:201:10: warning: unknown operating system for build configuration 'os'
199 | }
200 |
201 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
202 | @MainActor
203 | #endif
/host/spi-builder-workspace/Sources/Core/Application.swift:206:10: warning: unknown operating system for build configuration 'os'
204 | @available(iOS 13, tvOS 13, watchOS 6, *)
205 | public class Application: ObservableObject { // cannot automatically conform to CustomStringConvertible since it's actor-isolated...
206 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
207 | @MainActor
208 | #endif
/host/spi-builder-workspace/Sources/Core/Application.swift:211:10: warning: unknown operating system for build configuration 'os'
209 | public static var baseDomain = "com.kudit"
210 |
211 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
212 | @MainActor
213 | #endif
/host/spi-builder-workspace/Sources/Core/Application.swift:257:35: warning: unknown operating system for build configuration 'os'
255 | public static let isMacCatalyst = Build.isMacCatalyst
256 |
257 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
258 | @MainActor
259 | #endif
/host/spi-builder-workspace/Sources/Core/Application.swift:265:35: warning: unknown operating system for build configuration 'os'
263 | }
264 |
265 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
266 | // MARK: - iCloud Support
267 | /// Use before tracking to disable iCloud checks to prevent crashes if we can't check for iCloud or for simulating behavior without iCloud support for CloudStorage.
/host/spi-builder-workspace/Sources/Core/Application.swift:499:35: warning: unknown operating system for build configuration 'os'
497 | #endif
498 | #if compiler(>=5.9)
499 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
500 | @MainActor
501 | internal static var applicationTests: TestClosure = { @MainActor in // ensure we're running these on the Main Actor so we don't have to worry about Application main actor access.
/host/spi-builder-workspace/Sources/Core/Application.swift:536:35: warning: unknown operating system for build configuration 'os'
534 | #endif
535 |
536 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
537 | @MainActor
538 | #endif
/host/spi-builder-workspace/Sources/Core/Bundle.swift:9:35: warning: unknown operating system for build configuration 'os'
7 | //
8 |
9 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
10 | // get current version:
11 | // Bundle.main.version
/host/spi-builder-workspace/Sources/Core/Test.swift:18:10: warning: unknown operating system for build configuration 'os'
16 | // set breakpoint on this line if we want to debug/inspect errors (note that this slows enough to mess with time stamp checks so disable once we know everything is working).
17 | if let debugString {
18 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
19 | throw CustomError(debugString)
20 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:25:35: warning: unknown operating system for build configuration 'os'
23 | #endif
24 | } else {
25 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
26 | let isMainThread = Thread.isMainThread
27 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:39:10: warning: unknown operating system for build configuration 'os'
37 | file, function, line, column)
38 |
39 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
40 | throw CustomError(context)
41 | #else
/host/spi-builder-workspace/Sources/Core/Application.swift:395:13: warning: variable 'allVersionsString' was never mutated; consider changing to 'let' constant
393 |
394 | // join all versions run (the beauty of this is it doesn't matter if legacyLastRunVersion is a comma-separated list or a single value - both will work)
395 | var allVersionsString = "\(legacyLastRunVersion ?? ""),\(kuditPreviouslyRunVersions?.joined(separator: ",") ?? ""),\(version)"
| `- warning: variable 'allVersionsString' was never mutated; consider changing to 'let' constant
396 | #if compiler(>=5.9) && canImport(Combine)
397 | if #available(watchOS 9, *) {
[49/51] Compiling Compatibility CloudStatus.swift
/host/spi-builder-workspace/Sources/Compatibility.swift:198:35: warning: unknown operating system for build configuration 'os'
196 | public extension Compatibility { // for brief period where Application and Build wasn't available. Static computed properties apparently aren't supported in extensions in iOS <13?
197 | // MARK: - Entitlements Information
198 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
199 | @available(*, deprecated, renamed: "Application.iCloudSupported")
200 | @MainActor
/host/spi-builder-workspace/Sources/Core/Application.swift:201:10: warning: unknown operating system for build configuration 'os'
199 | }
200 |
201 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
202 | @MainActor
203 | #endif
/host/spi-builder-workspace/Sources/Core/Application.swift:206:10: warning: unknown operating system for build configuration 'os'
204 | @available(iOS 13, tvOS 13, watchOS 6, *)
205 | public class Application: ObservableObject { // cannot automatically conform to CustomStringConvertible since it's actor-isolated...
206 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
207 | @MainActor
208 | #endif
/host/spi-builder-workspace/Sources/Core/Application.swift:211:10: warning: unknown operating system for build configuration 'os'
209 | public static var baseDomain = "com.kudit"
210 |
211 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
212 | @MainActor
213 | #endif
/host/spi-builder-workspace/Sources/Core/Application.swift:257:35: warning: unknown operating system for build configuration 'os'
255 | public static let isMacCatalyst = Build.isMacCatalyst
256 |
257 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
258 | @MainActor
259 | #endif
/host/spi-builder-workspace/Sources/Core/Application.swift:265:35: warning: unknown operating system for build configuration 'os'
263 | }
264 |
265 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
266 | // MARK: - iCloud Support
267 | /// Use before tracking to disable iCloud checks to prevent crashes if we can't check for iCloud or for simulating behavior without iCloud support for CloudStorage.
/host/spi-builder-workspace/Sources/Core/Application.swift:499:35: warning: unknown operating system for build configuration 'os'
497 | #endif
498 | #if compiler(>=5.9)
499 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
500 | @MainActor
501 | internal static var applicationTests: TestClosure = { @MainActor in // ensure we're running these on the Main Actor so we don't have to worry about Application main actor access.
/host/spi-builder-workspace/Sources/Core/Application.swift:536:35: warning: unknown operating system for build configuration 'os'
534 | #endif
535 |
536 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
537 | @MainActor
538 | #endif
/host/spi-builder-workspace/Sources/Core/Bundle.swift:9:35: warning: unknown operating system for build configuration 'os'
7 | //
8 |
9 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
10 | // get current version:
11 | // Bundle.main.version
/host/spi-builder-workspace/Sources/Core/Test.swift:18:10: warning: unknown operating system for build configuration 'os'
16 | // set breakpoint on this line if we want to debug/inspect errors (note that this slows enough to mess with time stamp checks so disable once we know everything is working).
17 | if let debugString {
18 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
19 | throw CustomError(debugString)
20 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:25:35: warning: unknown operating system for build configuration 'os'
23 | #endif
24 | } else {
25 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
26 | let isMainThread = Thread.isMainThread
27 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:39:10: warning: unknown operating system for build configuration 'os'
37 | file, function, line, column)
38 |
39 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
40 | throw CustomError(context)
41 | #else
/host/spi-builder-workspace/Sources/Core/Application.swift:395:13: warning: variable 'allVersionsString' was never mutated; consider changing to 'let' constant
393 |
394 | // join all versions run (the beauty of this is it doesn't matter if legacyLastRunVersion is a comma-separated list or a single value - both will work)
395 | var allVersionsString = "\(legacyLastRunVersion ?? ""),\(kuditPreviouslyRunVersions?.joined(separator: ",") ?? ""),\(version)"
| `- warning: variable 'allVersionsString' was never mutated; consider changing to 'let' constant
396 | #if compiler(>=5.9) && canImport(Combine)
397 | if #available(watchOS 9, *) {
[50/51] Compiling Compatibility CloudStorage.swift
/host/spi-builder-workspace/Sources/Compatibility.swift:198:35: warning: unknown operating system for build configuration 'os'
196 | public extension Compatibility { // for brief period where Application and Build wasn't available. Static computed properties apparently aren't supported in extensions in iOS <13?
197 | // MARK: - Entitlements Information
198 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
199 | @available(*, deprecated, renamed: "Application.iCloudSupported")
200 | @MainActor
/host/spi-builder-workspace/Sources/Core/Application.swift:201:10: warning: unknown operating system for build configuration 'os'
199 | }
200 |
201 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
202 | @MainActor
203 | #endif
/host/spi-builder-workspace/Sources/Core/Application.swift:206:10: warning: unknown operating system for build configuration 'os'
204 | @available(iOS 13, tvOS 13, watchOS 6, *)
205 | public class Application: ObservableObject { // cannot automatically conform to CustomStringConvertible since it's actor-isolated...
206 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
207 | @MainActor
208 | #endif
/host/spi-builder-workspace/Sources/Core/Application.swift:211:10: warning: unknown operating system for build configuration 'os'
209 | public static var baseDomain = "com.kudit"
210 |
211 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
212 | @MainActor
213 | #endif
/host/spi-builder-workspace/Sources/Core/Application.swift:257:35: warning: unknown operating system for build configuration 'os'
255 | public static let isMacCatalyst = Build.isMacCatalyst
256 |
257 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
258 | @MainActor
259 | #endif
/host/spi-builder-workspace/Sources/Core/Application.swift:265:35: warning: unknown operating system for build configuration 'os'
263 | }
264 |
265 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
266 | // MARK: - iCloud Support
267 | /// Use before tracking to disable iCloud checks to prevent crashes if we can't check for iCloud or for simulating behavior without iCloud support for CloudStorage.
/host/spi-builder-workspace/Sources/Core/Application.swift:499:35: warning: unknown operating system for build configuration 'os'
497 | #endif
498 | #if compiler(>=5.9)
499 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
500 | @MainActor
501 | internal static var applicationTests: TestClosure = { @MainActor in // ensure we're running these on the Main Actor so we don't have to worry about Application main actor access.
/host/spi-builder-workspace/Sources/Core/Application.swift:536:35: warning: unknown operating system for build configuration 'os'
534 | #endif
535 |
536 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
537 | @MainActor
538 | #endif
/host/spi-builder-workspace/Sources/Core/Bundle.swift:9:35: warning: unknown operating system for build configuration 'os'
7 | //
8 |
9 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
10 | // get current version:
11 | // Bundle.main.version
/host/spi-builder-workspace/Sources/Core/Test.swift:18:10: warning: unknown operating system for build configuration 'os'
16 | // set breakpoint on this line if we want to debug/inspect errors (note that this slows enough to mess with time stamp checks so disable once we know everything is working).
17 | if let debugString {
18 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
19 | throw CustomError(debugString)
20 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:25:35: warning: unknown operating system for build configuration 'os'
23 | #endif
24 | } else {
25 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
26 | let isMainThread = Thread.isMainThread
27 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:39:10: warning: unknown operating system for build configuration 'os'
37 | file, function, line, column)
38 |
39 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
40 | throw CustomError(context)
41 | #else
/host/spi-builder-workspace/Sources/Core/Application.swift:395:13: warning: variable 'allVersionsString' was never mutated; consider changing to 'let' constant
393 |
394 | // join all versions run (the beauty of this is it doesn't matter if legacyLastRunVersion is a comma-separated list or a single value - both will work)
395 | var allVersionsString = "\(legacyLastRunVersion ?? ""),\(kuditPreviouslyRunVersions?.joined(separator: ",") ?? ""),\(version)"
| `- warning: variable 'allVersionsString' was never mutated; consider changing to 'let' constant
396 | #if compiler(>=5.9) && canImport(Combine)
397 | if #available(watchOS 9, *) {
[51/51] Compiling Compatibility CloudStorageSync.swift
/host/spi-builder-workspace/Sources/Compatibility.swift:198:35: warning: unknown operating system for build configuration 'os'
196 | public extension Compatibility { // for brief period where Application and Build wasn't available. Static computed properties apparently aren't supported in extensions in iOS <13?
197 | // MARK: - Entitlements Information
198 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
199 | @available(*, deprecated, renamed: "Application.iCloudSupported")
200 | @MainActor
/host/spi-builder-workspace/Sources/Core/Application.swift:201:10: warning: unknown operating system for build configuration 'os'
199 | }
200 |
201 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
202 | @MainActor
203 | #endif
/host/spi-builder-workspace/Sources/Core/Application.swift:206:10: warning: unknown operating system for build configuration 'os'
204 | @available(iOS 13, tvOS 13, watchOS 6, *)
205 | public class Application: ObservableObject { // cannot automatically conform to CustomStringConvertible since it's actor-isolated...
206 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
207 | @MainActor
208 | #endif
/host/spi-builder-workspace/Sources/Core/Application.swift:211:10: warning: unknown operating system for build configuration 'os'
209 | public static var baseDomain = "com.kudit"
210 |
211 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
212 | @MainActor
213 | #endif
/host/spi-builder-workspace/Sources/Core/Application.swift:257:35: warning: unknown operating system for build configuration 'os'
255 | public static let isMacCatalyst = Build.isMacCatalyst
256 |
257 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
258 | @MainActor
259 | #endif
/host/spi-builder-workspace/Sources/Core/Application.swift:265:35: warning: unknown operating system for build configuration 'os'
263 | }
264 |
265 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
266 | // MARK: - iCloud Support
267 | /// Use before tracking to disable iCloud checks to prevent crashes if we can't check for iCloud or for simulating behavior without iCloud support for CloudStorage.
/host/spi-builder-workspace/Sources/Core/Application.swift:499:35: warning: unknown operating system for build configuration 'os'
497 | #endif
498 | #if compiler(>=5.9)
499 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
500 | @MainActor
501 | internal static var applicationTests: TestClosure = { @MainActor in // ensure we're running these on the Main Actor so we don't have to worry about Application main actor access.
/host/spi-builder-workspace/Sources/Core/Application.swift:536:35: warning: unknown operating system for build configuration 'os'
534 | #endif
535 |
536 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
537 | @MainActor
538 | #endif
/host/spi-builder-workspace/Sources/Core/Bundle.swift:9:35: warning: unknown operating system for build configuration 'os'
7 | //
8 |
9 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
10 | // get current version:
11 | // Bundle.main.version
/host/spi-builder-workspace/Sources/Core/Test.swift:18:10: warning: unknown operating system for build configuration 'os'
16 | // set breakpoint on this line if we want to debug/inspect errors (note that this slows enough to mess with time stamp checks so disable once we know everything is working).
17 | if let debugString {
18 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
19 | throw CustomError(debugString)
20 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:25:35: warning: unknown operating system for build configuration 'os'
23 | #endif
24 | } else {
25 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
26 | let isMainThread = Thread.isMainThread
27 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:39:10: warning: unknown operating system for build configuration 'os'
37 | file, function, line, column)
38 |
39 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
40 | throw CustomError(context)
41 | #else
/host/spi-builder-workspace/Sources/Core/Application.swift:395:13: warning: variable 'allVersionsString' was never mutated; consider changing to 'let' constant
393 |
394 | // join all versions run (the beauty of this is it doesn't matter if legacyLastRunVersion is a comma-separated list or a single value - both will work)
395 | var allVersionsString = "\(legacyLastRunVersion ?? ""),\(kuditPreviouslyRunVersions?.joined(separator: ",") ?? ""),\(version)"
| `- warning: variable 'allVersionsString' was never mutated; consider changing to 'let' constant
396 | #if compiler(>=5.9) && canImport(Combine)
397 | if #available(watchOS 9, *) {
Build complete! (15.13s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Compatibility",
"name" : "Compatibility",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "11"
},
{
"name" : "watchos",
"version" : "4"
},
{
"name" : "ios",
"version" : "11"
}
],
"products" : [
{
"name" : "Compatibility Library",
"targets" : [
"Compatibility"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "Compatibility",
"module_type" : "SwiftTarget",
"name" : "Compatibility",
"path" : "Sources",
"product_memberships" : [
"Compatibility Library"
],
"sources" : [
"Compatibility.swift",
"Core/Application.swift",
"Core/Bundle.swift",
"Core/CloudStatus.swift",
"Core/CloudStorage.swift",
"Core/CloudStorageSync.swift",
"Core/DataStore.swift",
"Core/Debug.swift",
"Core/FileManager.swift",
"Core/Graphics.swift",
"Core/Network.swift",
"Core/ObservableObject.swift",
"Core/Shell.swift",
"Core/Test.swift",
"Core/UserDefaultsBacked.swift",
"Foundation/Array.swift",
"Foundation/CharacterSet.swift",
"Foundation/Codable.swift",
"Foundation/CodingFoundation.swift",
"Foundation/CodingJSON.swift",
"Foundation/CodingMixedTypes.swift",
"Foundation/CodingParameters.swift",
"Foundation/Date.swift",
"Foundation/DateString.swift",
"Foundation/Dictionary.swift",
"Foundation/Double.swift",
"Foundation/Enum.swift",
"Foundation/Int.swift",
"Foundation/Introspection.swift",
"Foundation/OrderedDictionary.swift",
"Foundation/OrderedSet.swift",
"Foundation/String.swift",
"Foundation/Threading.swift",
"Foundation/URL.swift",
"Foundation/Version.swift",
"UI/AdaptiveLayouts.swift",
"UI/Backport.swift",
"UI/BytesView.swift",
"UI/ClearableTextField.swift",
"UI/Embossed.swift",
"UI/Menu.swift",
"UI/OverlappingStack.swift",
"UI/Pasteboard.swift",
"UI/RadialLayout.swift",
"UI/Shapes/Placard.swift",
"UI/Shapes/Triangle.swift",
"UI/SwiftUI.swift",
"UI/TestUI.swift"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:046a2cda21bb64b2d09e6d52c84584e938ec1698de194871f3d7088597b2bb28
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.