Build Information
Successful build of Compatibility, reference main (bc529b), with Swift 6.0 for Linux on 21 Apr 2026 06:02:05 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
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:158:10: warning: unknown operating system for build configuration 'os'
156 |
157 | // MARK: - Tests
158 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
159 | @MainActor
160 | #endif
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:178:10: warning: unknown operating system for build configuration 'os'
176 | }
177 | @available(macOS 12, *)
178 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
179 | @MainActor
180 | #endif
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:193:10: warning: unknown operating system for build configuration 'os'
191 | try expect(dateTimeString.mysqlDate == "2023-01-02", dateTimeString.mysqlDate)
192 | }
193 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
194 | @MainActor
195 | #endif
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:243:35: warning: unknown operating system for build configuration 'os'
241 | /// 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.
242 | public protocol DateStringRepresentation: RawRepresentable, Sendable, Hashable, Codable, Comparable, DateRepresentable, ExpressibleByStringLiteral, ExpressibleByStringInterpolation, LosslessStringConvertible where RawValue == String {
243 | #if canImport(Foundation) && !(os(WASM) || os(WASI)) // not available in WASM?
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
244 | var date: Date? { get }
245 | #endif
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:265:35: warning: unknown operating system for build configuration 'os'
263 | }
264 |
265 | #if canImport(Foundation) && !(os(WASM) || os(WASI)) // not available in WASM?
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
266 | var date: Date? {
267 | return Date(parse: rawValue)
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:289:35: warning: unknown operating system for build configuration 'os'
287 | }
288 |
289 | #if canImport(Foundation) && !(os(WASM) || os(WASI)) // not available in WASM?
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
290 | // MARK: - Formatted output
291 | public extension DateRepresentable {
/host/spi-builder-workspace/Sources/Core/Test.swift:18:10: warning: unknown operating system for build configuration 'os'
16 | // set breakpoint on this line if we want to debug/inspect errors (note that this slows enough to mess with time stamp checks so disable once we know everything is working).
17 | if let debugString {
18 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
19 | throw CustomError(debugString)
20 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:25:35: warning: unknown operating system for build configuration 'os'
23 | #endif
24 | } else {
25 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
26 | let isMainThread = Thread.isMainThread
27 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:39:10: warning: unknown operating system for build configuration 'os'
37 | file, function, line, column)
38 |
39 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
40 | throw CustomError(context)
41 | #else
[39/51] Compiling Compatibility DateString.swift
/host/spi-builder-workspace/Sources/Foundation/CodingJSON.swift:3:10: warning: unknown operating system for build configuration 'os'
1 | // MARK: - JSON management (simplified)
2 |
3 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
4 | #if canImport(Foundation)
5 | public extension Encodable {
/host/spi-builder-workspace/Sources/Foundation/CodingJSON.swift:261:22: warning: unknown operating system for build configuration 'os'
259 |
260 | if numberStr.contains(".") || numberStr.contains("e") || numberStr.contains("E") {
261 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
262 | if let d = Double(numberStr) {
263 | return .double(d)
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:13:10: warning: unknown operating system for build configuration 'os'
11 | public typealias MixedTypeDictionary = Dictionary<String,MixedTypeField?>
12 | public typealias MixedTypeArray = [MixedTypeField?]
13 | #if !(os(WASM) || os(WASI)) // not available in embedded Swift due to not being able to dynamically cast Any in encoding: function.
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
14 | public extension MixedTypeDictionary {
15 | /// Initializes with a Dictionary. Returns nil if Dictionary.Key is not LosslessStringConvertible.
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:27:10: warning: unknown operating system for build configuration 'os'
25 | }
26 | #endif
27 | #if !(os(WASM) || os(WASI)) && canImport(Foundation) // not available
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
28 | extension MixedTypeField: Codable {}
29 | #endif
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:39:10: warning: unknown operating system for build configuration 'os'
37 | case array([MixedTypeField?])
38 |
39 | #if !(os(WASM) || os(WASI)) && canImport(Foundation) // not available
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
40 | public init(from decoder: Decoder) throws {
41 | let container = try decoder.singleValueContainer()
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:63:10: warning: unknown operating system for build configuration 'os'
61 | #endif
62 |
63 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
64 | public init?(encoding value: Any?) { // dynamic typecasting isn't available in embedded Swift :(
65 | guard let value else {
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:94:10: warning: unknown operating system for build configuration 'os'
92 | #endif
93 |
94 | #if !(os(WASM) || os(WASI)) && canImport(Foundation) // not available
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
95 | public func encode(to encoder: Encoder) throws {
96 | var container = encoder.singleValueContainer()
/host/spi-builder-workspace/Sources/Foundation/CodingMixedTypes.swift:165:10: warning: unknown operating system for build configuration 'os'
163 |
164 | // MARK: - Coding Support
165 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
166 | public extension Encodable {
167 | func asMixedTypeField() throws -> MixedTypeField {
/host/spi-builder-workspace/Sources/Foundation/Date.swift:177:18: warning: unknown operating system for build configuration 'os'
175 | internal static let testTimes: TestClosure = {
176 | let nowTest = nowBackport
177 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
178 | try expect(nowBackport.mysqlDateTime == nowTest.mysqlDateTime, "\(nowBackport) != \(nowTest)")
179 | // tests without expectations
/host/spi-builder-workspace/Sources/Foundation/Date.swift:211:54: warning: unknown operating system for build configuration 'os'
209 |
210 | // Testing is only supported with Swift 5.9+
211 | #if compiler(>=5.9) && canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
212 | @available(iOS 13, macOS 12, tvOS 13, watchOS 6, *)
213 | public extension Date {
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:45:35: warning: unknown operating system for build configuration 'os'
43 | //a AM/PM for 12-hour format
44 |
45 | #if canImport(Foundation) && !(os(WASM) || os(WASI)) // not available in WASM?
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
46 | #if canImport(Combine) // not available in Linux
47 | @available(iOS 15, macOS 12, tvOS 15, watchOS 8, *)
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:158:10: warning: unknown operating system for build configuration 'os'
156 |
157 | // MARK: - Tests
158 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
159 | @MainActor
160 | #endif
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:178:10: warning: unknown operating system for build configuration 'os'
176 | }
177 | @available(macOS 12, *)
178 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
179 | @MainActor
180 | #endif
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:193:10: warning: unknown operating system for build configuration 'os'
191 | try expect(dateTimeString.mysqlDate == "2023-01-02", dateTimeString.mysqlDate)
192 | }
193 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
194 | @MainActor
195 | #endif
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:243:35: warning: unknown operating system for build configuration 'os'
241 | /// 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.
242 | public protocol DateStringRepresentation: RawRepresentable, Sendable, Hashable, Codable, Comparable, DateRepresentable, ExpressibleByStringLiteral, ExpressibleByStringInterpolation, LosslessStringConvertible where RawValue == String {
243 | #if canImport(Foundation) && !(os(WASM) || os(WASI)) // not available in WASM?
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
244 | var date: Date? { get }
245 | #endif
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:265:35: warning: unknown operating system for build configuration 'os'
263 | }
264 |
265 | #if canImport(Foundation) && !(os(WASM) || os(WASI)) // not available in WASM?
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
266 | var date: Date? {
267 | return Date(parse: rawValue)
/host/spi-builder-workspace/Sources/Foundation/DateString.swift:289:35: warning: unknown operating system for build configuration 'os'
287 | }
288 |
289 | #if canImport(Foundation) && !(os(WASM) || os(WASI)) // not available in WASM?
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
290 | // MARK: - Formatted output
291 | public extension DateRepresentable {
/host/spi-builder-workspace/Sources/Core/Test.swift:18:10: warning: unknown operating system for build configuration 'os'
16 | // set breakpoint on this line if we want to debug/inspect errors (note that this slows enough to mess with time stamp checks so disable once we know everything is working).
17 | if let debugString {
18 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
19 | throw CustomError(debugString)
20 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:25:35: warning: unknown operating system for build configuration 'os'
23 | #endif
24 | } else {
25 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
26 | let isMainThread = Thread.isMainThread
27 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:39:10: warning: unknown operating system for build configuration 'os'
37 | file, function, line, column)
38 |
39 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
40 | throw CustomError(context)
41 | #else
[40/51] Compiling Compatibility OrderedSet.swift
/host/spi-builder-workspace/Sources/Foundation/OrderedSet.swift:335:10: warning: unknown operating system for build configuration 'os'
333 | }
334 |
335 | #if !(os(WASM) || os(WASI)) // WASM doesn't have access to Codable or Mirror.
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
336 | // MARK: - Codable
337 | extension OrderedSet: Encodable where Element: Encodable {
/host/spi-builder-workspace/Sources/Foundation/OrderedSet.swift:831:10: warning: unknown operating system for build configuration 'os'
829 | orderedSet.sort()
830 | try expect(orderedSet.isEqualSet(to: copiedSet))
831 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
832 | try expect(!orderedSet.debugDescription.isEmpty)
833 | try expect(!orderedSet.description.isEmpty)
/host/spi-builder-workspace/Sources/Foundation/String.swift:352:10: warning: unknown operating system for build configuration 'os'
350 | """
351 |
352 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
353 | @MainActor
354 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:397:10: warning: unknown operating system for build configuration 'os'
395 | static let INVALID_ENCODING = "INVALID_ENCODING"
396 |
397 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
398 | @MainActor
399 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:422:10: warning: unknown operating system for build configuration 'os'
420 | // test for optional numeric ?? with String
421 | let opDouble: Double? = 2.34
422 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
423 | try expect("\(opDouble ?? "nil")" == "2.34")
424 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:584:10: warning: unknown operating system for build configuration 'os'
582 | }
583 |
584 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
585 | @MainActor
586 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:596:35: warning: unknown operating system for build configuration 'os'
594 | var test = "the/quick/brown/fix.txt"
595 |
596 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
597 | try expect("\(Date.nowBackport.year)".isPostIndustrialYear)
598 |
/host/spi-builder-workspace/Sources/Foundation/String.swift:657:35: warning: unknown operating system for build configuration 'os'
655 |
656 | try expect("h\"\\ello".addSlashes() == "h\\\"\\\\ello")
657 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
658 | var json = ""
659 | debugSuppress {
/host/spi-builder-workspace/Sources/Foundation/String.swift:757:10: warning: unknown operating system for build configuration 'os'
755 | }
756 | public extension String {
757 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
758 | @MainActor
759 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:773:10: warning: unknown operating system for build configuration 'os'
771 | try expect(trim.trimmingCharacters(in: "dol") == "r")
772 | }
773 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
774 | @MainActor
775 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:997:10: warning: unknown operating system for build configuration 'os'
995 | return result
996 | }
997 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
998 | @MainActor
999 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1063:10: warning: unknown operating system for build configuration 'os'
1061 | return fixed.joined(separator: ".")
1062 | }
1063 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1064 | @MainActor
1065 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1068:10: warning: unknown operating system for build configuration 'os'
1066 | internal static let testSentenceCapitalized: TestClosure = {
1067 | let capitalized = "hello world. goodbye world.".sentenceCapitalized
1068 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1069 | try expect(capitalized == "Hello world. Goodbye world.", String(describing:capitalized))
1070 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1191:10: warning: unknown operating system for build configuration 'os'
1189 | #endif
1190 |
1191 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1192 | @MainActor
1193 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1264:10: warning: unknown operating system for build configuration 'os'
1262 |
1263 | // MARK: - Parsing
1264 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1265 | @MainActor
1266 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1339:10: warning: unknown operating system for build configuration 'os'
1337 | }
1338 | internal static let TEST_STRING = "A long string with some <em>intérressant</em> properties!"
1339 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1340 | @MainActor
1341 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1344:10: warning: unknown operating system for build configuration 'os'
1342 | internal static let testExtractTags: TestClosure = {
1343 | let extraction = TEST_STRING.extract(from: "<em>", to: "</em>") // should never fail
1344 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1345 | try expect(extraction == "intérressant" , String(describing:extraction))
1346 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1348:10: warning: unknown operating system for build configuration 'os'
1346 | #endif
1347 | }
1348 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1349 | @MainActor
1350 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1353:10: warning: unknown operating system for build configuration 'os'
1351 | internal static let testExtractNilStart: TestClosure = {
1352 | let extraction = TEST_STRING.extract(from: nil, to: "string")
1353 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1354 | try expect(extraction == "A long " , String(describing:extraction))
1355 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1357:10: warning: unknown operating system for build configuration 'os'
1355 | #endif
1356 | }
1357 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1358 | @MainActor
1359 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1362:10: warning: unknown operating system for build configuration 'os'
1360 | internal static let testExtractNilEnd: TestClosure = {
1361 | let extraction = TEST_STRING.extract(from: "</em>", to: nil)
1362 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1363 | try expect(extraction == " properties!" , String(describing:extraction))
1364 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1366:10: warning: unknown operating system for build configuration 'os'
1364 | #endif
1365 | }
1366 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1367 | @MainActor
1368 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1371:10: warning: unknown operating system for build configuration 'os'
1369 | internal static let testExtractMissingStart: TestClosure = {
1370 | let extraction = TEST_STRING.extract(from: "<strong>", to: "</em>")
1371 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1372 | try expect(extraction == nil , String(describing:extraction))
1373 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1375:10: warning: unknown operating system for build configuration 'os'
1373 | #endif
1374 | }
1375 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1376 | @MainActor
1377 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1380:10: warning: unknown operating system for build configuration 'os'
1378 | internal static let testExtractMissingEnd: TestClosure = {
1379 | let extraction = TEST_STRING.extract(from: "<em>", to: "</strong>")
1380 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1381 | try expect(extraction == nil , String(describing:extraction))
1382 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1421:10: warning: unknown operating system for build configuration 'os'
1419 | /// Returns `self` as the `errorMessage` parameter of a JSON object with a `success` parameter equal to `false`. Pass a debug `level` to also print a debug statement as the provided `level`.
1420 | func asErrorJSON(level: DebugLevel = .NOTICE) -> String {
1421 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1422 | debug(self, level: level)
1423 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1449:10: warning: unknown operating system for build configuration 'os'
1447 | #if compiler(>=5.9)
1448 | @available(iOS 13, tvOS 13, watchOS 6, *)
1449 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1450 | @MainActor
1451 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1474:10: warning: unknown operating system for build configuration 'os'
1472 | // TODO: See where we can use @autoclosure in Kudit Frameworks to delay execution (particularly in test frameworks!)
1473 |
1474 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1475 | public protocol Defaultable {}
1476 | extension Bool: Defaultable {}
/host/spi-builder-workspace/Sources/Foundation/String.swift:1513:10: warning: unknown operating system for build configuration 'os'
1511 | #endif
1512 |
1513 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1514 | @MainActor
1515 | #endif
/host/spi-builder-workspace/Sources/Foundation/Threading.swift:9:9: warning: unknown operating system for build configuration 'os'
7 | //
8 |
9 | #if (os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
10 | /// Backport of main that does nothing since threads are not supported on WASM
11 | /// Run code on main thread - all code is executed on main thread already in embedded systems.
/host/spi-builder-workspace/Sources/Foundation/Threading.swift:19:14: warning: unknown operating system for build configuration 'os'
17 | #if (os(iOS) || os(macOS) || os(tvOS) || os(watchOS) || os(visionOS) || os(Linux)) && canImport(Foundation) // Don't run on WASM or Android
18 | // Use built-in Thread and Dispatch
19 | #elseif !(os(WASM) || os(WASI)) // not supported on WASM or Android
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
20 | // Backport Thread for code on WASM or Android
21 | // None of this is public since this is just for internal supports.
/host/spi-builder-workspace/Sources/Foundation/Threading.swift:75:10: warning: unknown operating system for build configuration 'os'
73 | }
74 |
75 | #if !(os(WASM) || os(WASI)) // unable to run this on WASM
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
76 | // Implemented as static funcs with global wrappers in case something like View creates similarly named functions like background and we need to reference this specific version.
77 |
/host/spi-builder-workspace/Sources/Foundation/Version.swift:8:35: warning: unknown operating system for build configuration 'os'
6 | //
7 |
8 | #if !canImport(Foundation) || (os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
9 | // Compatibility OperatingSystemVersion for Linux
10 | public struct OperatingSystemVersion : Sendable {
/host/spi-builder-workspace/Sources/Foundation/Version.swift:64:10: warning: unknown operating system for build configuration 'os'
62 |
63 | // MARK: - Codable conformance so stored as string rather than as a structure of values.
64 | #if !(os(WASM) || os(WASI) || os(Linux))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
65 | extension Version: Swift.Decodable {
66 | enum CodingKeys: String, CodingKey {
/host/spi-builder-workspace/Sources/Foundation/Version.swift:95:77: warning: unknown operating system for build configuration 'os'
93 | #endif
94 |
95 | #if canImport(Foundation) && compiler(>=6.0) && !canImport(Android) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
96 | extension OperatingSystemVersion: @retroactive ExpressibleByExtendedGraphemeClusterLiteral {}
97 | extension OperatingSystemVersion: @retroactive ExpressibleByUnicodeScalarLiteral {}
/host/spi-builder-workspace/Sources/Foundation/Version.swift:163:10: warning: unknown operating system for build configuration 'os'
161 | } else {
162 | // invalid character. Just ignore
163 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
164 | debug("Invalid character when parsing version: \(forcing) (\(character))", level: .SILENT)
165 | #else
/host/spi-builder-workspace/Sources/Foundation/Version.swift:188:77: warning: unknown operating system for build configuration 'os'
186 | }
187 | }
188 | #if canImport(Foundation) && compiler(>=6.0) && !canImport(Android) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
189 | extension Version: @retroactive Equatable {}
190 | #endif
/host/spi-builder-workspace/Sources/Foundation/Version.swift:236:10: warning: unknown operating system for build configuration 'os'
234 |
235 | // TODO: Convert to Swift Testing
236 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
237 | @MainActor
238 | #endif
/host/spi-builder-workspace/Sources/Foundation/Version.swift:273:10: warning: unknown operating system for build configuration 'os'
271 | }
272 |
273 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
274 | @MainActor
275 | #endif
/host/spi-builder-workspace/Sources/Foundation/Version.swift:288:10: warning: unknown operating system for build configuration 'os'
286 | let c: Version = "3.0.1"
287 | let array = [one, two, three, a, b, c]
288 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
289 | let json = array.asJSON()
290 | let expected = """
/host/spi-builder-workspace/Sources/Foundation/Version.swift:305:10: warning: unknown operating system for build configuration 'os'
303 |
304 | #if compiler(>=5.9)
305 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
306 | @MainActor
307 | #endif
/host/spi-builder-workspace/Sources/Core/Test.swift:18:10: warning: unknown operating system for build configuration 'os'
16 | // set breakpoint on this line if we want to debug/inspect errors (note that this slows enough to mess with time stamp checks so disable once we know everything is working).
17 | if let debugString {
18 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
19 | throw CustomError(debugString)
20 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:25:35: warning: unknown operating system for build configuration 'os'
23 | #endif
24 | } else {
25 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
26 | let isMainThread = Thread.isMainThread
27 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:39:10: warning: unknown operating system for build configuration 'os'
37 | file, function, line, column)
38 |
39 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
40 | throw CustomError(context)
41 | #else
/host/spi-builder-workspace/Sources/Foundation/Version.swift:91:20: warning: conformance of 'OperatingSystemVersion' to protocol 'Decodable' was already stated in the type's module 'FoundationEssentials'
89 | }
90 | #else
91 | extension Version: Decodable {}
| `- warning: conformance of 'OperatingSystemVersion' to protocol 'Decodable' was already stated in the type's module 'FoundationEssentials'
92 | extension Version: Encodable {}
93 | #endif
FoundationEssentials.OperatingSystemVersion:1:15: note: 'OperatingSystemVersion' declares conformance to protocol 'Decodable' here
1 | public struct OperatingSystemVersion : Hashable, Codable, Sendable {
| `- note: 'OperatingSystemVersion' declares conformance to protocol 'Decodable' here
2 | public let majorVersion: Int
3 | public let minorVersion: Int
/host/spi-builder-workspace/Sources/Foundation/Version.swift:92:20: warning: conformance of 'OperatingSystemVersion' to protocol 'Encodable' was already stated in the type's module 'FoundationEssentials'
90 | #else
91 | extension Version: Decodable {}
92 | extension Version: Encodable {}
| `- warning: conformance of 'OperatingSystemVersion' to protocol 'Encodable' was already stated in the type's module 'FoundationEssentials'
93 | #endif
94 |
FoundationEssentials.OperatingSystemVersion:1:15: note: 'OperatingSystemVersion' declares conformance to protocol 'Encodable' here
1 | public struct OperatingSystemVersion : Hashable, Codable, Sendable {
| `- note: 'OperatingSystemVersion' declares conformance to protocol 'Encodable' here
2 | public let majorVersion: Int
3 | public let minorVersion: Int
/host/spi-builder-workspace/Sources/Foundation/Version.swift:189:33: warning: conformance of 'OperatingSystemVersion' to protocol 'Equatable' was already stated in the type's module 'FoundationEssentials'
187 | }
188 | #if canImport(Foundation) && compiler(>=6.0) && !canImport(Android) && !(os(WASM) || os(WASI))
189 | extension Version: @retroactive Equatable {}
| `- warning: conformance of 'OperatingSystemVersion' to protocol 'Equatable' was already stated in the type's module 'FoundationEssentials'
190 | #endif
191 | extension Version: Swift.Comparable { // @retroactive in Swift 6?
FoundationEssentials.OperatingSystemVersion:1:15: note: 'OperatingSystemVersion' declares conformance to protocol 'Equatable' here
1 | public struct OperatingSystemVersion : Hashable, Codable, Sendable {
| `- note: 'OperatingSystemVersion' declares conformance to protocol 'Equatable' here
2 | public let majorVersion: Int
3 | public let minorVersion: Int
[41/51] Compiling Compatibility String.swift
/host/spi-builder-workspace/Sources/Foundation/OrderedSet.swift:335:10: warning: unknown operating system for build configuration 'os'
333 | }
334 |
335 | #if !(os(WASM) || os(WASI)) // WASM doesn't have access to Codable or Mirror.
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
336 | // MARK: - Codable
337 | extension OrderedSet: Encodable where Element: Encodable {
/host/spi-builder-workspace/Sources/Foundation/OrderedSet.swift:831:10: warning: unknown operating system for build configuration 'os'
829 | orderedSet.sort()
830 | try expect(orderedSet.isEqualSet(to: copiedSet))
831 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
832 | try expect(!orderedSet.debugDescription.isEmpty)
833 | try expect(!orderedSet.description.isEmpty)
/host/spi-builder-workspace/Sources/Foundation/String.swift:352:10: warning: unknown operating system for build configuration 'os'
350 | """
351 |
352 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
353 | @MainActor
354 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:397:10: warning: unknown operating system for build configuration 'os'
395 | static let INVALID_ENCODING = "INVALID_ENCODING"
396 |
397 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
398 | @MainActor
399 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:422:10: warning: unknown operating system for build configuration 'os'
420 | // test for optional numeric ?? with String
421 | let opDouble: Double? = 2.34
422 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
423 | try expect("\(opDouble ?? "nil")" == "2.34")
424 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:584:10: warning: unknown operating system for build configuration 'os'
582 | }
583 |
584 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
585 | @MainActor
586 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:596:35: warning: unknown operating system for build configuration 'os'
594 | var test = "the/quick/brown/fix.txt"
595 |
596 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
597 | try expect("\(Date.nowBackport.year)".isPostIndustrialYear)
598 |
/host/spi-builder-workspace/Sources/Foundation/String.swift:657:35: warning: unknown operating system for build configuration 'os'
655 |
656 | try expect("h\"\\ello".addSlashes() == "h\\\"\\\\ello")
657 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
658 | var json = ""
659 | debugSuppress {
/host/spi-builder-workspace/Sources/Foundation/String.swift:757:10: warning: unknown operating system for build configuration 'os'
755 | }
756 | public extension String {
757 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
758 | @MainActor
759 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:773:10: warning: unknown operating system for build configuration 'os'
771 | try expect(trim.trimmingCharacters(in: "dol") == "r")
772 | }
773 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
774 | @MainActor
775 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:997:10: warning: unknown operating system for build configuration 'os'
995 | return result
996 | }
997 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
998 | @MainActor
999 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1063:10: warning: unknown operating system for build configuration 'os'
1061 | return fixed.joined(separator: ".")
1062 | }
1063 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1064 | @MainActor
1065 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1068:10: warning: unknown operating system for build configuration 'os'
1066 | internal static let testSentenceCapitalized: TestClosure = {
1067 | let capitalized = "hello world. goodbye world.".sentenceCapitalized
1068 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1069 | try expect(capitalized == "Hello world. Goodbye world.", String(describing:capitalized))
1070 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1191:10: warning: unknown operating system for build configuration 'os'
1189 | #endif
1190 |
1191 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1192 | @MainActor
1193 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1264:10: warning: unknown operating system for build configuration 'os'
1262 |
1263 | // MARK: - Parsing
1264 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1265 | @MainActor
1266 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1339:10: warning: unknown operating system for build configuration 'os'
1337 | }
1338 | internal static let TEST_STRING = "A long string with some <em>intérressant</em> properties!"
1339 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1340 | @MainActor
1341 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1344:10: warning: unknown operating system for build configuration 'os'
1342 | internal static let testExtractTags: TestClosure = {
1343 | let extraction = TEST_STRING.extract(from: "<em>", to: "</em>") // should never fail
1344 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1345 | try expect(extraction == "intérressant" , String(describing:extraction))
1346 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1348:10: warning: unknown operating system for build configuration 'os'
1346 | #endif
1347 | }
1348 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1349 | @MainActor
1350 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1353:10: warning: unknown operating system for build configuration 'os'
1351 | internal static let testExtractNilStart: TestClosure = {
1352 | let extraction = TEST_STRING.extract(from: nil, to: "string")
1353 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1354 | try expect(extraction == "A long " , String(describing:extraction))
1355 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1357:10: warning: unknown operating system for build configuration 'os'
1355 | #endif
1356 | }
1357 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1358 | @MainActor
1359 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1362:10: warning: unknown operating system for build configuration 'os'
1360 | internal static let testExtractNilEnd: TestClosure = {
1361 | let extraction = TEST_STRING.extract(from: "</em>", to: nil)
1362 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1363 | try expect(extraction == " properties!" , String(describing:extraction))
1364 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1366:10: warning: unknown operating system for build configuration 'os'
1364 | #endif
1365 | }
1366 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1367 | @MainActor
1368 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1371:10: warning: unknown operating system for build configuration 'os'
1369 | internal static let testExtractMissingStart: TestClosure = {
1370 | let extraction = TEST_STRING.extract(from: "<strong>", to: "</em>")
1371 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1372 | try expect(extraction == nil , String(describing:extraction))
1373 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1375:10: warning: unknown operating system for build configuration 'os'
1373 | #endif
1374 | }
1375 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1376 | @MainActor
1377 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1380:10: warning: unknown operating system for build configuration 'os'
1378 | internal static let testExtractMissingEnd: TestClosure = {
1379 | let extraction = TEST_STRING.extract(from: "<em>", to: "</strong>")
1380 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1381 | try expect(extraction == nil , String(describing:extraction))
1382 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1421:10: warning: unknown operating system for build configuration 'os'
1419 | /// Returns `self` as the `errorMessage` parameter of a JSON object with a `success` parameter equal to `false`. Pass a debug `level` to also print a debug statement as the provided `level`.
1420 | func asErrorJSON(level: DebugLevel = .NOTICE) -> String {
1421 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1422 | debug(self, level: level)
1423 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1449:10: warning: unknown operating system for build configuration 'os'
1447 | #if compiler(>=5.9)
1448 | @available(iOS 13, tvOS 13, watchOS 6, *)
1449 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1450 | @MainActor
1451 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1474:10: warning: unknown operating system for build configuration 'os'
1472 | // TODO: See where we can use @autoclosure in Kudit Frameworks to delay execution (particularly in test frameworks!)
1473 |
1474 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1475 | public protocol Defaultable {}
1476 | extension Bool: Defaultable {}
/host/spi-builder-workspace/Sources/Foundation/String.swift:1513:10: warning: unknown operating system for build configuration 'os'
1511 | #endif
1512 |
1513 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1514 | @MainActor
1515 | #endif
/host/spi-builder-workspace/Sources/Foundation/Threading.swift:9:9: warning: unknown operating system for build configuration 'os'
7 | //
8 |
9 | #if (os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
10 | /// Backport of main that does nothing since threads are not supported on WASM
11 | /// Run code on main thread - all code is executed on main thread already in embedded systems.
/host/spi-builder-workspace/Sources/Foundation/Threading.swift:19:14: warning: unknown operating system for build configuration 'os'
17 | #if (os(iOS) || os(macOS) || os(tvOS) || os(watchOS) || os(visionOS) || os(Linux)) && canImport(Foundation) // Don't run on WASM or Android
18 | // Use built-in Thread and Dispatch
19 | #elseif !(os(WASM) || os(WASI)) // not supported on WASM or Android
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
20 | // Backport Thread for code on WASM or Android
21 | // None of this is public since this is just for internal supports.
/host/spi-builder-workspace/Sources/Foundation/Threading.swift:75:10: warning: unknown operating system for build configuration 'os'
73 | }
74 |
75 | #if !(os(WASM) || os(WASI)) // unable to run this on WASM
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
76 | // Implemented as static funcs with global wrappers in case something like View creates similarly named functions like background and we need to reference this specific version.
77 |
/host/spi-builder-workspace/Sources/Foundation/Version.swift:8:35: warning: unknown operating system for build configuration 'os'
6 | //
7 |
8 | #if !canImport(Foundation) || (os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
9 | // Compatibility OperatingSystemVersion for Linux
10 | public struct OperatingSystemVersion : Sendable {
/host/spi-builder-workspace/Sources/Foundation/Version.swift:64:10: warning: unknown operating system for build configuration 'os'
62 |
63 | // MARK: - Codable conformance so stored as string rather than as a structure of values.
64 | #if !(os(WASM) || os(WASI) || os(Linux))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
65 | extension Version: Swift.Decodable {
66 | enum CodingKeys: String, CodingKey {
/host/spi-builder-workspace/Sources/Foundation/Version.swift:95:77: warning: unknown operating system for build configuration 'os'
93 | #endif
94 |
95 | #if canImport(Foundation) && compiler(>=6.0) && !canImport(Android) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
96 | extension OperatingSystemVersion: @retroactive ExpressibleByExtendedGraphemeClusterLiteral {}
97 | extension OperatingSystemVersion: @retroactive ExpressibleByUnicodeScalarLiteral {}
/host/spi-builder-workspace/Sources/Foundation/Version.swift:163:10: warning: unknown operating system for build configuration 'os'
161 | } else {
162 | // invalid character. Just ignore
163 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
164 | debug("Invalid character when parsing version: \(forcing) (\(character))", level: .SILENT)
165 | #else
/host/spi-builder-workspace/Sources/Foundation/Version.swift:188:77: warning: unknown operating system for build configuration 'os'
186 | }
187 | }
188 | #if canImport(Foundation) && compiler(>=6.0) && !canImport(Android) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
189 | extension Version: @retroactive Equatable {}
190 | #endif
/host/spi-builder-workspace/Sources/Foundation/Version.swift:236:10: warning: unknown operating system for build configuration 'os'
234 |
235 | // TODO: Convert to Swift Testing
236 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
237 | @MainActor
238 | #endif
/host/spi-builder-workspace/Sources/Foundation/Version.swift:273:10: warning: unknown operating system for build configuration 'os'
271 | }
272 |
273 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
274 | @MainActor
275 | #endif
/host/spi-builder-workspace/Sources/Foundation/Version.swift:288:10: warning: unknown operating system for build configuration 'os'
286 | let c: Version = "3.0.1"
287 | let array = [one, two, three, a, b, c]
288 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
289 | let json = array.asJSON()
290 | let expected = """
/host/spi-builder-workspace/Sources/Foundation/Version.swift:305:10: warning: unknown operating system for build configuration 'os'
303 |
304 | #if compiler(>=5.9)
305 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
306 | @MainActor
307 | #endif
/host/spi-builder-workspace/Sources/Core/Test.swift:18:10: warning: unknown operating system for build configuration 'os'
16 | // set breakpoint on this line if we want to debug/inspect errors (note that this slows enough to mess with time stamp checks so disable once we know everything is working).
17 | if let debugString {
18 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
19 | throw CustomError(debugString)
20 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:25:35: warning: unknown operating system for build configuration 'os'
23 | #endif
24 | } else {
25 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
26 | let isMainThread = Thread.isMainThread
27 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:39:10: warning: unknown operating system for build configuration 'os'
37 | file, function, line, column)
38 |
39 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
40 | throw CustomError(context)
41 | #else
/host/spi-builder-workspace/Sources/Foundation/Version.swift:91:20: warning: conformance of 'OperatingSystemVersion' to protocol 'Decodable' was already stated in the type's module 'FoundationEssentials'
89 | }
90 | #else
91 | extension Version: Decodable {}
| `- warning: conformance of 'OperatingSystemVersion' to protocol 'Decodable' was already stated in the type's module 'FoundationEssentials'
92 | extension Version: Encodable {}
93 | #endif
FoundationEssentials.OperatingSystemVersion:1:15: note: 'OperatingSystemVersion' declares conformance to protocol 'Decodable' here
1 | public struct OperatingSystemVersion : Hashable, Codable, Sendable {
| `- note: 'OperatingSystemVersion' declares conformance to protocol 'Decodable' here
2 | public let majorVersion: Int
3 | public let minorVersion: Int
/host/spi-builder-workspace/Sources/Foundation/Version.swift:92:20: warning: conformance of 'OperatingSystemVersion' to protocol 'Encodable' was already stated in the type's module 'FoundationEssentials'
90 | #else
91 | extension Version: Decodable {}
92 | extension Version: Encodable {}
| `- warning: conformance of 'OperatingSystemVersion' to protocol 'Encodable' was already stated in the type's module 'FoundationEssentials'
93 | #endif
94 |
FoundationEssentials.OperatingSystemVersion:1:15: note: 'OperatingSystemVersion' declares conformance to protocol 'Encodable' here
1 | public struct OperatingSystemVersion : Hashable, Codable, Sendable {
| `- note: 'OperatingSystemVersion' declares conformance to protocol 'Encodable' here
2 | public let majorVersion: Int
3 | public let minorVersion: Int
/host/spi-builder-workspace/Sources/Foundation/Version.swift:189:33: warning: conformance of 'OperatingSystemVersion' to protocol 'Equatable' was already stated in the type's module 'FoundationEssentials'
187 | }
188 | #if canImport(Foundation) && compiler(>=6.0) && !canImport(Android) && !(os(WASM) || os(WASI))
189 | extension Version: @retroactive Equatable {}
| `- warning: conformance of 'OperatingSystemVersion' to protocol 'Equatable' was already stated in the type's module 'FoundationEssentials'
190 | #endif
191 | extension Version: Swift.Comparable { // @retroactive in Swift 6?
FoundationEssentials.OperatingSystemVersion:1:15: note: 'OperatingSystemVersion' declares conformance to protocol 'Equatable' here
1 | public struct OperatingSystemVersion : Hashable, Codable, Sendable {
| `- note: 'OperatingSystemVersion' declares conformance to protocol 'Equatable' here
2 | public let majorVersion: Int
3 | public let minorVersion: Int
[42/51] Compiling Compatibility Threading.swift
/host/spi-builder-workspace/Sources/Foundation/OrderedSet.swift:335:10: warning: unknown operating system for build configuration 'os'
333 | }
334 |
335 | #if !(os(WASM) || os(WASI)) // WASM doesn't have access to Codable or Mirror.
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
336 | // MARK: - Codable
337 | extension OrderedSet: Encodable where Element: Encodable {
/host/spi-builder-workspace/Sources/Foundation/OrderedSet.swift:831:10: warning: unknown operating system for build configuration 'os'
829 | orderedSet.sort()
830 | try expect(orderedSet.isEqualSet(to: copiedSet))
831 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
832 | try expect(!orderedSet.debugDescription.isEmpty)
833 | try expect(!orderedSet.description.isEmpty)
/host/spi-builder-workspace/Sources/Foundation/String.swift:352:10: warning: unknown operating system for build configuration 'os'
350 | """
351 |
352 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
353 | @MainActor
354 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:397:10: warning: unknown operating system for build configuration 'os'
395 | static let INVALID_ENCODING = "INVALID_ENCODING"
396 |
397 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
398 | @MainActor
399 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:422:10: warning: unknown operating system for build configuration 'os'
420 | // test for optional numeric ?? with String
421 | let opDouble: Double? = 2.34
422 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
423 | try expect("\(opDouble ?? "nil")" == "2.34")
424 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:584:10: warning: unknown operating system for build configuration 'os'
582 | }
583 |
584 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
585 | @MainActor
586 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:596:35: warning: unknown operating system for build configuration 'os'
594 | var test = "the/quick/brown/fix.txt"
595 |
596 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
597 | try expect("\(Date.nowBackport.year)".isPostIndustrialYear)
598 |
/host/spi-builder-workspace/Sources/Foundation/String.swift:657:35: warning: unknown operating system for build configuration 'os'
655 |
656 | try expect("h\"\\ello".addSlashes() == "h\\\"\\\\ello")
657 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
658 | var json = ""
659 | debugSuppress {
/host/spi-builder-workspace/Sources/Foundation/String.swift:757:10: warning: unknown operating system for build configuration 'os'
755 | }
756 | public extension String {
757 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
758 | @MainActor
759 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:773:10: warning: unknown operating system for build configuration 'os'
771 | try expect(trim.trimmingCharacters(in: "dol") == "r")
772 | }
773 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
774 | @MainActor
775 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:997:10: warning: unknown operating system for build configuration 'os'
995 | return result
996 | }
997 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
998 | @MainActor
999 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1063:10: warning: unknown operating system for build configuration 'os'
1061 | return fixed.joined(separator: ".")
1062 | }
1063 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1064 | @MainActor
1065 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1068:10: warning: unknown operating system for build configuration 'os'
1066 | internal static let testSentenceCapitalized: TestClosure = {
1067 | let capitalized = "hello world. goodbye world.".sentenceCapitalized
1068 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1069 | try expect(capitalized == "Hello world. Goodbye world.", String(describing:capitalized))
1070 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1191:10: warning: unknown operating system for build configuration 'os'
1189 | #endif
1190 |
1191 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1192 | @MainActor
1193 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1264:10: warning: unknown operating system for build configuration 'os'
1262 |
1263 | // MARK: - Parsing
1264 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1265 | @MainActor
1266 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1339:10: warning: unknown operating system for build configuration 'os'
1337 | }
1338 | internal static let TEST_STRING = "A long string with some <em>intérressant</em> properties!"
1339 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1340 | @MainActor
1341 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1344:10: warning: unknown operating system for build configuration 'os'
1342 | internal static let testExtractTags: TestClosure = {
1343 | let extraction = TEST_STRING.extract(from: "<em>", to: "</em>") // should never fail
1344 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1345 | try expect(extraction == "intérressant" , String(describing:extraction))
1346 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1348:10: warning: unknown operating system for build configuration 'os'
1346 | #endif
1347 | }
1348 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1349 | @MainActor
1350 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1353:10: warning: unknown operating system for build configuration 'os'
1351 | internal static let testExtractNilStart: TestClosure = {
1352 | let extraction = TEST_STRING.extract(from: nil, to: "string")
1353 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1354 | try expect(extraction == "A long " , String(describing:extraction))
1355 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1357:10: warning: unknown operating system for build configuration 'os'
1355 | #endif
1356 | }
1357 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1358 | @MainActor
1359 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1362:10: warning: unknown operating system for build configuration 'os'
1360 | internal static let testExtractNilEnd: TestClosure = {
1361 | let extraction = TEST_STRING.extract(from: "</em>", to: nil)
1362 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1363 | try expect(extraction == " properties!" , String(describing:extraction))
1364 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1366:10: warning: unknown operating system for build configuration 'os'
1364 | #endif
1365 | }
1366 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1367 | @MainActor
1368 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1371:10: warning: unknown operating system for build configuration 'os'
1369 | internal static let testExtractMissingStart: TestClosure = {
1370 | let extraction = TEST_STRING.extract(from: "<strong>", to: "</em>")
1371 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1372 | try expect(extraction == nil , String(describing:extraction))
1373 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1375:10: warning: unknown operating system for build configuration 'os'
1373 | #endif
1374 | }
1375 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1376 | @MainActor
1377 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1380:10: warning: unknown operating system for build configuration 'os'
1378 | internal static let testExtractMissingEnd: TestClosure = {
1379 | let extraction = TEST_STRING.extract(from: "<em>", to: "</strong>")
1380 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1381 | try expect(extraction == nil , String(describing:extraction))
1382 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1421:10: warning: unknown operating system for build configuration 'os'
1419 | /// Returns `self` as the `errorMessage` parameter of a JSON object with a `success` parameter equal to `false`. Pass a debug `level` to also print a debug statement as the provided `level`.
1420 | func asErrorJSON(level: DebugLevel = .NOTICE) -> String {
1421 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1422 | debug(self, level: level)
1423 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1449:10: warning: unknown operating system for build configuration 'os'
1447 | #if compiler(>=5.9)
1448 | @available(iOS 13, tvOS 13, watchOS 6, *)
1449 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1450 | @MainActor
1451 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1474:10: warning: unknown operating system for build configuration 'os'
1472 | // TODO: See where we can use @autoclosure in Kudit Frameworks to delay execution (particularly in test frameworks!)
1473 |
1474 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1475 | public protocol Defaultable {}
1476 | extension Bool: Defaultable {}
/host/spi-builder-workspace/Sources/Foundation/String.swift:1513:10: warning: unknown operating system for build configuration 'os'
1511 | #endif
1512 |
1513 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1514 | @MainActor
1515 | #endif
/host/spi-builder-workspace/Sources/Foundation/Threading.swift:9:9: warning: unknown operating system for build configuration 'os'
7 | //
8 |
9 | #if (os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
10 | /// Backport of main that does nothing since threads are not supported on WASM
11 | /// Run code on main thread - all code is executed on main thread already in embedded systems.
/host/spi-builder-workspace/Sources/Foundation/Threading.swift:19:14: warning: unknown operating system for build configuration 'os'
17 | #if (os(iOS) || os(macOS) || os(tvOS) || os(watchOS) || os(visionOS) || os(Linux)) && canImport(Foundation) // Don't run on WASM or Android
18 | // Use built-in Thread and Dispatch
19 | #elseif !(os(WASM) || os(WASI)) // not supported on WASM or Android
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
20 | // Backport Thread for code on WASM or Android
21 | // None of this is public since this is just for internal supports.
/host/spi-builder-workspace/Sources/Foundation/Threading.swift:75:10: warning: unknown operating system for build configuration 'os'
73 | }
74 |
75 | #if !(os(WASM) || os(WASI)) // unable to run this on WASM
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
76 | // Implemented as static funcs with global wrappers in case something like View creates similarly named functions like background and we need to reference this specific version.
77 |
/host/spi-builder-workspace/Sources/Foundation/Version.swift:8:35: warning: unknown operating system for build configuration 'os'
6 | //
7 |
8 | #if !canImport(Foundation) || (os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
9 | // Compatibility OperatingSystemVersion for Linux
10 | public struct OperatingSystemVersion : Sendable {
/host/spi-builder-workspace/Sources/Foundation/Version.swift:64:10: warning: unknown operating system for build configuration 'os'
62 |
63 | // MARK: - Codable conformance so stored as string rather than as a structure of values.
64 | #if !(os(WASM) || os(WASI) || os(Linux))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
65 | extension Version: Swift.Decodable {
66 | enum CodingKeys: String, CodingKey {
/host/spi-builder-workspace/Sources/Foundation/Version.swift:95:77: warning: unknown operating system for build configuration 'os'
93 | #endif
94 |
95 | #if canImport(Foundation) && compiler(>=6.0) && !canImport(Android) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
96 | extension OperatingSystemVersion: @retroactive ExpressibleByExtendedGraphemeClusterLiteral {}
97 | extension OperatingSystemVersion: @retroactive ExpressibleByUnicodeScalarLiteral {}
/host/spi-builder-workspace/Sources/Foundation/Version.swift:163:10: warning: unknown operating system for build configuration 'os'
161 | } else {
162 | // invalid character. Just ignore
163 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
164 | debug("Invalid character when parsing version: \(forcing) (\(character))", level: .SILENT)
165 | #else
/host/spi-builder-workspace/Sources/Foundation/Version.swift:188:77: warning: unknown operating system for build configuration 'os'
186 | }
187 | }
188 | #if canImport(Foundation) && compiler(>=6.0) && !canImport(Android) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
189 | extension Version: @retroactive Equatable {}
190 | #endif
/host/spi-builder-workspace/Sources/Foundation/Version.swift:236:10: warning: unknown operating system for build configuration 'os'
234 |
235 | // TODO: Convert to Swift Testing
236 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
237 | @MainActor
238 | #endif
/host/spi-builder-workspace/Sources/Foundation/Version.swift:273:10: warning: unknown operating system for build configuration 'os'
271 | }
272 |
273 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
274 | @MainActor
275 | #endif
/host/spi-builder-workspace/Sources/Foundation/Version.swift:288:10: warning: unknown operating system for build configuration 'os'
286 | let c: Version = "3.0.1"
287 | let array = [one, two, three, a, b, c]
288 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
289 | let json = array.asJSON()
290 | let expected = """
/host/spi-builder-workspace/Sources/Foundation/Version.swift:305:10: warning: unknown operating system for build configuration 'os'
303 |
304 | #if compiler(>=5.9)
305 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
306 | @MainActor
307 | #endif
/host/spi-builder-workspace/Sources/Core/Test.swift:18:10: warning: unknown operating system for build configuration 'os'
16 | // set breakpoint on this line if we want to debug/inspect errors (note that this slows enough to mess with time stamp checks so disable once we know everything is working).
17 | if let debugString {
18 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
19 | throw CustomError(debugString)
20 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:25:35: warning: unknown operating system for build configuration 'os'
23 | #endif
24 | } else {
25 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
26 | let isMainThread = Thread.isMainThread
27 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:39:10: warning: unknown operating system for build configuration 'os'
37 | file, function, line, column)
38 |
39 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
40 | throw CustomError(context)
41 | #else
/host/spi-builder-workspace/Sources/Foundation/Version.swift:91:20: warning: conformance of 'OperatingSystemVersion' to protocol 'Decodable' was already stated in the type's module 'FoundationEssentials'
89 | }
90 | #else
91 | extension Version: Decodable {}
| `- warning: conformance of 'OperatingSystemVersion' to protocol 'Decodable' was already stated in the type's module 'FoundationEssentials'
92 | extension Version: Encodable {}
93 | #endif
FoundationEssentials.OperatingSystemVersion:1:15: note: 'OperatingSystemVersion' declares conformance to protocol 'Decodable' here
1 | public struct OperatingSystemVersion : Hashable, Codable, Sendable {
| `- note: 'OperatingSystemVersion' declares conformance to protocol 'Decodable' here
2 | public let majorVersion: Int
3 | public let minorVersion: Int
/host/spi-builder-workspace/Sources/Foundation/Version.swift:92:20: warning: conformance of 'OperatingSystemVersion' to protocol 'Encodable' was already stated in the type's module 'FoundationEssentials'
90 | #else
91 | extension Version: Decodable {}
92 | extension Version: Encodable {}
| `- warning: conformance of 'OperatingSystemVersion' to protocol 'Encodable' was already stated in the type's module 'FoundationEssentials'
93 | #endif
94 |
FoundationEssentials.OperatingSystemVersion:1:15: note: 'OperatingSystemVersion' declares conformance to protocol 'Encodable' here
1 | public struct OperatingSystemVersion : Hashable, Codable, Sendable {
| `- note: 'OperatingSystemVersion' declares conformance to protocol 'Encodable' here
2 | public let majorVersion: Int
3 | public let minorVersion: Int
/host/spi-builder-workspace/Sources/Foundation/Version.swift:189:33: warning: conformance of 'OperatingSystemVersion' to protocol 'Equatable' was already stated in the type's module 'FoundationEssentials'
187 | }
188 | #if canImport(Foundation) && compiler(>=6.0) && !canImport(Android) && !(os(WASM) || os(WASI))
189 | extension Version: @retroactive Equatable {}
| `- warning: conformance of 'OperatingSystemVersion' to protocol 'Equatable' was already stated in the type's module 'FoundationEssentials'
190 | #endif
191 | extension Version: Swift.Comparable { // @retroactive in Swift 6?
FoundationEssentials.OperatingSystemVersion:1:15: note: 'OperatingSystemVersion' declares conformance to protocol 'Equatable' here
1 | public struct OperatingSystemVersion : Hashable, Codable, Sendable {
| `- note: 'OperatingSystemVersion' declares conformance to protocol 'Equatable' here
2 | public let majorVersion: Int
3 | public let minorVersion: Int
[43/51] Compiling Compatibility URL.swift
/host/spi-builder-workspace/Sources/Foundation/OrderedSet.swift:335:10: warning: unknown operating system for build configuration 'os'
333 | }
334 |
335 | #if !(os(WASM) || os(WASI)) // WASM doesn't have access to Codable or Mirror.
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
336 | // MARK: - Codable
337 | extension OrderedSet: Encodable where Element: Encodable {
/host/spi-builder-workspace/Sources/Foundation/OrderedSet.swift:831:10: warning: unknown operating system for build configuration 'os'
829 | orderedSet.sort()
830 | try expect(orderedSet.isEqualSet(to: copiedSet))
831 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
832 | try expect(!orderedSet.debugDescription.isEmpty)
833 | try expect(!orderedSet.description.isEmpty)
/host/spi-builder-workspace/Sources/Foundation/String.swift:352:10: warning: unknown operating system for build configuration 'os'
350 | """
351 |
352 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
353 | @MainActor
354 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:397:10: warning: unknown operating system for build configuration 'os'
395 | static let INVALID_ENCODING = "INVALID_ENCODING"
396 |
397 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
398 | @MainActor
399 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:422:10: warning: unknown operating system for build configuration 'os'
420 | // test for optional numeric ?? with String
421 | let opDouble: Double? = 2.34
422 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
423 | try expect("\(opDouble ?? "nil")" == "2.34")
424 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:584:10: warning: unknown operating system for build configuration 'os'
582 | }
583 |
584 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
585 | @MainActor
586 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:596:35: warning: unknown operating system for build configuration 'os'
594 | var test = "the/quick/brown/fix.txt"
595 |
596 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
597 | try expect("\(Date.nowBackport.year)".isPostIndustrialYear)
598 |
/host/spi-builder-workspace/Sources/Foundation/String.swift:657:35: warning: unknown operating system for build configuration 'os'
655 |
656 | try expect("h\"\\ello".addSlashes() == "h\\\"\\\\ello")
657 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
658 | var json = ""
659 | debugSuppress {
/host/spi-builder-workspace/Sources/Foundation/String.swift:757:10: warning: unknown operating system for build configuration 'os'
755 | }
756 | public extension String {
757 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
758 | @MainActor
759 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:773:10: warning: unknown operating system for build configuration 'os'
771 | try expect(trim.trimmingCharacters(in: "dol") == "r")
772 | }
773 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
774 | @MainActor
775 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:997:10: warning: unknown operating system for build configuration 'os'
995 | return result
996 | }
997 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
998 | @MainActor
999 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1063:10: warning: unknown operating system for build configuration 'os'
1061 | return fixed.joined(separator: ".")
1062 | }
1063 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1064 | @MainActor
1065 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1068:10: warning: unknown operating system for build configuration 'os'
1066 | internal static let testSentenceCapitalized: TestClosure = {
1067 | let capitalized = "hello world. goodbye world.".sentenceCapitalized
1068 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1069 | try expect(capitalized == "Hello world. Goodbye world.", String(describing:capitalized))
1070 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1191:10: warning: unknown operating system for build configuration 'os'
1189 | #endif
1190 |
1191 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1192 | @MainActor
1193 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1264:10: warning: unknown operating system for build configuration 'os'
1262 |
1263 | // MARK: - Parsing
1264 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1265 | @MainActor
1266 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1339:10: warning: unknown operating system for build configuration 'os'
1337 | }
1338 | internal static let TEST_STRING = "A long string with some <em>intérressant</em> properties!"
1339 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1340 | @MainActor
1341 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1344:10: warning: unknown operating system for build configuration 'os'
1342 | internal static let testExtractTags: TestClosure = {
1343 | let extraction = TEST_STRING.extract(from: "<em>", to: "</em>") // should never fail
1344 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1345 | try expect(extraction == "intérressant" , String(describing:extraction))
1346 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1348:10: warning: unknown operating system for build configuration 'os'
1346 | #endif
1347 | }
1348 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1349 | @MainActor
1350 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1353:10: warning: unknown operating system for build configuration 'os'
1351 | internal static let testExtractNilStart: TestClosure = {
1352 | let extraction = TEST_STRING.extract(from: nil, to: "string")
1353 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1354 | try expect(extraction == "A long " , String(describing:extraction))
1355 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1357:10: warning: unknown operating system for build configuration 'os'
1355 | #endif
1356 | }
1357 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1358 | @MainActor
1359 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1362:10: warning: unknown operating system for build configuration 'os'
1360 | internal static let testExtractNilEnd: TestClosure = {
1361 | let extraction = TEST_STRING.extract(from: "</em>", to: nil)
1362 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1363 | try expect(extraction == " properties!" , String(describing:extraction))
1364 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1366:10: warning: unknown operating system for build configuration 'os'
1364 | #endif
1365 | }
1366 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1367 | @MainActor
1368 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1371:10: warning: unknown operating system for build configuration 'os'
1369 | internal static let testExtractMissingStart: TestClosure = {
1370 | let extraction = TEST_STRING.extract(from: "<strong>", to: "</em>")
1371 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1372 | try expect(extraction == nil , String(describing:extraction))
1373 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1375:10: warning: unknown operating system for build configuration 'os'
1373 | #endif
1374 | }
1375 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1376 | @MainActor
1377 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1380:10: warning: unknown operating system for build configuration 'os'
1378 | internal static let testExtractMissingEnd: TestClosure = {
1379 | let extraction = TEST_STRING.extract(from: "<em>", to: "</strong>")
1380 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1381 | try expect(extraction == nil , String(describing:extraction))
1382 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1421:10: warning: unknown operating system for build configuration 'os'
1419 | /// Returns `self` as the `errorMessage` parameter of a JSON object with a `success` parameter equal to `false`. Pass a debug `level` to also print a debug statement as the provided `level`.
1420 | func asErrorJSON(level: DebugLevel = .NOTICE) -> String {
1421 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1422 | debug(self, level: level)
1423 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1449:10: warning: unknown operating system for build configuration 'os'
1447 | #if compiler(>=5.9)
1448 | @available(iOS 13, tvOS 13, watchOS 6, *)
1449 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1450 | @MainActor
1451 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1474:10: warning: unknown operating system for build configuration 'os'
1472 | // TODO: See where we can use @autoclosure in Kudit Frameworks to delay execution (particularly in test frameworks!)
1473 |
1474 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1475 | public protocol Defaultable {}
1476 | extension Bool: Defaultable {}
/host/spi-builder-workspace/Sources/Foundation/String.swift:1513:10: warning: unknown operating system for build configuration 'os'
1511 | #endif
1512 |
1513 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1514 | @MainActor
1515 | #endif
/host/spi-builder-workspace/Sources/Foundation/Threading.swift:9:9: warning: unknown operating system for build configuration 'os'
7 | //
8 |
9 | #if (os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
10 | /// Backport of main that does nothing since threads are not supported on WASM
11 | /// Run code on main thread - all code is executed on main thread already in embedded systems.
/host/spi-builder-workspace/Sources/Foundation/Threading.swift:19:14: warning: unknown operating system for build configuration 'os'
17 | #if (os(iOS) || os(macOS) || os(tvOS) || os(watchOS) || os(visionOS) || os(Linux)) && canImport(Foundation) // Don't run on WASM or Android
18 | // Use built-in Thread and Dispatch
19 | #elseif !(os(WASM) || os(WASI)) // not supported on WASM or Android
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
20 | // Backport Thread for code on WASM or Android
21 | // None of this is public since this is just for internal supports.
/host/spi-builder-workspace/Sources/Foundation/Threading.swift:75:10: warning: unknown operating system for build configuration 'os'
73 | }
74 |
75 | #if !(os(WASM) || os(WASI)) // unable to run this on WASM
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
76 | // Implemented as static funcs with global wrappers in case something like View creates similarly named functions like background and we need to reference this specific version.
77 |
/host/spi-builder-workspace/Sources/Foundation/Version.swift:8:35: warning: unknown operating system for build configuration 'os'
6 | //
7 |
8 | #if !canImport(Foundation) || (os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
9 | // Compatibility OperatingSystemVersion for Linux
10 | public struct OperatingSystemVersion : Sendable {
/host/spi-builder-workspace/Sources/Foundation/Version.swift:64:10: warning: unknown operating system for build configuration 'os'
62 |
63 | // MARK: - Codable conformance so stored as string rather than as a structure of values.
64 | #if !(os(WASM) || os(WASI) || os(Linux))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
65 | extension Version: Swift.Decodable {
66 | enum CodingKeys: String, CodingKey {
/host/spi-builder-workspace/Sources/Foundation/Version.swift:95:77: warning: unknown operating system for build configuration 'os'
93 | #endif
94 |
95 | #if canImport(Foundation) && compiler(>=6.0) && !canImport(Android) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
96 | extension OperatingSystemVersion: @retroactive ExpressibleByExtendedGraphemeClusterLiteral {}
97 | extension OperatingSystemVersion: @retroactive ExpressibleByUnicodeScalarLiteral {}
/host/spi-builder-workspace/Sources/Foundation/Version.swift:163:10: warning: unknown operating system for build configuration 'os'
161 | } else {
162 | // invalid character. Just ignore
163 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
164 | debug("Invalid character when parsing version: \(forcing) (\(character))", level: .SILENT)
165 | #else
/host/spi-builder-workspace/Sources/Foundation/Version.swift:188:77: warning: unknown operating system for build configuration 'os'
186 | }
187 | }
188 | #if canImport(Foundation) && compiler(>=6.0) && !canImport(Android) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
189 | extension Version: @retroactive Equatable {}
190 | #endif
/host/spi-builder-workspace/Sources/Foundation/Version.swift:236:10: warning: unknown operating system for build configuration 'os'
234 |
235 | // TODO: Convert to Swift Testing
236 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
237 | @MainActor
238 | #endif
/host/spi-builder-workspace/Sources/Foundation/Version.swift:273:10: warning: unknown operating system for build configuration 'os'
271 | }
272 |
273 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
274 | @MainActor
275 | #endif
/host/spi-builder-workspace/Sources/Foundation/Version.swift:288:10: warning: unknown operating system for build configuration 'os'
286 | let c: Version = "3.0.1"
287 | let array = [one, two, three, a, b, c]
288 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
289 | let json = array.asJSON()
290 | let expected = """
/host/spi-builder-workspace/Sources/Foundation/Version.swift:305:10: warning: unknown operating system for build configuration 'os'
303 |
304 | #if compiler(>=5.9)
305 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
306 | @MainActor
307 | #endif
/host/spi-builder-workspace/Sources/Core/Test.swift:18:10: warning: unknown operating system for build configuration 'os'
16 | // set breakpoint on this line if we want to debug/inspect errors (note that this slows enough to mess with time stamp checks so disable once we know everything is working).
17 | if let debugString {
18 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
19 | throw CustomError(debugString)
20 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:25:35: warning: unknown operating system for build configuration 'os'
23 | #endif
24 | } else {
25 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
26 | let isMainThread = Thread.isMainThread
27 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:39:10: warning: unknown operating system for build configuration 'os'
37 | file, function, line, column)
38 |
39 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
40 | throw CustomError(context)
41 | #else
/host/spi-builder-workspace/Sources/Foundation/Version.swift:91:20: warning: conformance of 'OperatingSystemVersion' to protocol 'Decodable' was already stated in the type's module 'FoundationEssentials'
89 | }
90 | #else
91 | extension Version: Decodable {}
| `- warning: conformance of 'OperatingSystemVersion' to protocol 'Decodable' was already stated in the type's module 'FoundationEssentials'
92 | extension Version: Encodable {}
93 | #endif
FoundationEssentials.OperatingSystemVersion:1:15: note: 'OperatingSystemVersion' declares conformance to protocol 'Decodable' here
1 | public struct OperatingSystemVersion : Hashable, Codable, Sendable {
| `- note: 'OperatingSystemVersion' declares conformance to protocol 'Decodable' here
2 | public let majorVersion: Int
3 | public let minorVersion: Int
/host/spi-builder-workspace/Sources/Foundation/Version.swift:92:20: warning: conformance of 'OperatingSystemVersion' to protocol 'Encodable' was already stated in the type's module 'FoundationEssentials'
90 | #else
91 | extension Version: Decodable {}
92 | extension Version: Encodable {}
| `- warning: conformance of 'OperatingSystemVersion' to protocol 'Encodable' was already stated in the type's module 'FoundationEssentials'
93 | #endif
94 |
FoundationEssentials.OperatingSystemVersion:1:15: note: 'OperatingSystemVersion' declares conformance to protocol 'Encodable' here
1 | public struct OperatingSystemVersion : Hashable, Codable, Sendable {
| `- note: 'OperatingSystemVersion' declares conformance to protocol 'Encodable' here
2 | public let majorVersion: Int
3 | public let minorVersion: Int
/host/spi-builder-workspace/Sources/Foundation/Version.swift:189:33: warning: conformance of 'OperatingSystemVersion' to protocol 'Equatable' was already stated in the type's module 'FoundationEssentials'
187 | }
188 | #if canImport(Foundation) && compiler(>=6.0) && !canImport(Android) && !(os(WASM) || os(WASI))
189 | extension Version: @retroactive Equatable {}
| `- warning: conformance of 'OperatingSystemVersion' to protocol 'Equatable' was already stated in the type's module 'FoundationEssentials'
190 | #endif
191 | extension Version: Swift.Comparable { // @retroactive in Swift 6?
FoundationEssentials.OperatingSystemVersion:1:15: note: 'OperatingSystemVersion' declares conformance to protocol 'Equatable' here
1 | public struct OperatingSystemVersion : Hashable, Codable, Sendable {
| `- note: 'OperatingSystemVersion' declares conformance to protocol 'Equatable' here
2 | public let majorVersion: Int
3 | public let minorVersion: Int
[44/51] Compiling Compatibility Version.swift
/host/spi-builder-workspace/Sources/Foundation/OrderedSet.swift:335:10: warning: unknown operating system for build configuration 'os'
333 | }
334 |
335 | #if !(os(WASM) || os(WASI)) // WASM doesn't have access to Codable or Mirror.
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
336 | // MARK: - Codable
337 | extension OrderedSet: Encodable where Element: Encodable {
/host/spi-builder-workspace/Sources/Foundation/OrderedSet.swift:831:10: warning: unknown operating system for build configuration 'os'
829 | orderedSet.sort()
830 | try expect(orderedSet.isEqualSet(to: copiedSet))
831 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
832 | try expect(!orderedSet.debugDescription.isEmpty)
833 | try expect(!orderedSet.description.isEmpty)
/host/spi-builder-workspace/Sources/Foundation/String.swift:352:10: warning: unknown operating system for build configuration 'os'
350 | """
351 |
352 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
353 | @MainActor
354 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:397:10: warning: unknown operating system for build configuration 'os'
395 | static let INVALID_ENCODING = "INVALID_ENCODING"
396 |
397 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
398 | @MainActor
399 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:422:10: warning: unknown operating system for build configuration 'os'
420 | // test for optional numeric ?? with String
421 | let opDouble: Double? = 2.34
422 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
423 | try expect("\(opDouble ?? "nil")" == "2.34")
424 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:584:10: warning: unknown operating system for build configuration 'os'
582 | }
583 |
584 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
585 | @MainActor
586 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:596:35: warning: unknown operating system for build configuration 'os'
594 | var test = "the/quick/brown/fix.txt"
595 |
596 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
597 | try expect("\(Date.nowBackport.year)".isPostIndustrialYear)
598 |
/host/spi-builder-workspace/Sources/Foundation/String.swift:657:35: warning: unknown operating system for build configuration 'os'
655 |
656 | try expect("h\"\\ello".addSlashes() == "h\\\"\\\\ello")
657 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
658 | var json = ""
659 | debugSuppress {
/host/spi-builder-workspace/Sources/Foundation/String.swift:757:10: warning: unknown operating system for build configuration 'os'
755 | }
756 | public extension String {
757 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
758 | @MainActor
759 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:773:10: warning: unknown operating system for build configuration 'os'
771 | try expect(trim.trimmingCharacters(in: "dol") == "r")
772 | }
773 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
774 | @MainActor
775 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:997:10: warning: unknown operating system for build configuration 'os'
995 | return result
996 | }
997 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
998 | @MainActor
999 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1063:10: warning: unknown operating system for build configuration 'os'
1061 | return fixed.joined(separator: ".")
1062 | }
1063 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1064 | @MainActor
1065 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1068:10: warning: unknown operating system for build configuration 'os'
1066 | internal static let testSentenceCapitalized: TestClosure = {
1067 | let capitalized = "hello world. goodbye world.".sentenceCapitalized
1068 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1069 | try expect(capitalized == "Hello world. Goodbye world.", String(describing:capitalized))
1070 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1191:10: warning: unknown operating system for build configuration 'os'
1189 | #endif
1190 |
1191 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1192 | @MainActor
1193 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1264:10: warning: unknown operating system for build configuration 'os'
1262 |
1263 | // MARK: - Parsing
1264 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1265 | @MainActor
1266 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1339:10: warning: unknown operating system for build configuration 'os'
1337 | }
1338 | internal static let TEST_STRING = "A long string with some <em>intérressant</em> properties!"
1339 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1340 | @MainActor
1341 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1344:10: warning: unknown operating system for build configuration 'os'
1342 | internal static let testExtractTags: TestClosure = {
1343 | let extraction = TEST_STRING.extract(from: "<em>", to: "</em>") // should never fail
1344 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1345 | try expect(extraction == "intérressant" , String(describing:extraction))
1346 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1348:10: warning: unknown operating system for build configuration 'os'
1346 | #endif
1347 | }
1348 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1349 | @MainActor
1350 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1353:10: warning: unknown operating system for build configuration 'os'
1351 | internal static let testExtractNilStart: TestClosure = {
1352 | let extraction = TEST_STRING.extract(from: nil, to: "string")
1353 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1354 | try expect(extraction == "A long " , String(describing:extraction))
1355 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1357:10: warning: unknown operating system for build configuration 'os'
1355 | #endif
1356 | }
1357 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1358 | @MainActor
1359 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1362:10: warning: unknown operating system for build configuration 'os'
1360 | internal static let testExtractNilEnd: TestClosure = {
1361 | let extraction = TEST_STRING.extract(from: "</em>", to: nil)
1362 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1363 | try expect(extraction == " properties!" , String(describing:extraction))
1364 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1366:10: warning: unknown operating system for build configuration 'os'
1364 | #endif
1365 | }
1366 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1367 | @MainActor
1368 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1371:10: warning: unknown operating system for build configuration 'os'
1369 | internal static let testExtractMissingStart: TestClosure = {
1370 | let extraction = TEST_STRING.extract(from: "<strong>", to: "</em>")
1371 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1372 | try expect(extraction == nil , String(describing:extraction))
1373 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1375:10: warning: unknown operating system for build configuration 'os'
1373 | #endif
1374 | }
1375 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1376 | @MainActor
1377 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1380:10: warning: unknown operating system for build configuration 'os'
1378 | internal static let testExtractMissingEnd: TestClosure = {
1379 | let extraction = TEST_STRING.extract(from: "<em>", to: "</strong>")
1380 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1381 | try expect(extraction == nil , String(describing:extraction))
1382 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1421:10: warning: unknown operating system for build configuration 'os'
1419 | /// Returns `self` as the `errorMessage` parameter of a JSON object with a `success` parameter equal to `false`. Pass a debug `level` to also print a debug statement as the provided `level`.
1420 | func asErrorJSON(level: DebugLevel = .NOTICE) -> String {
1421 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1422 | debug(self, level: level)
1423 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1449:10: warning: unknown operating system for build configuration 'os'
1447 | #if compiler(>=5.9)
1448 | @available(iOS 13, tvOS 13, watchOS 6, *)
1449 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1450 | @MainActor
1451 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1474:10: warning: unknown operating system for build configuration 'os'
1472 | // TODO: See where we can use @autoclosure in Kudit Frameworks to delay execution (particularly in test frameworks!)
1473 |
1474 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1475 | public protocol Defaultable {}
1476 | extension Bool: Defaultable {}
/host/spi-builder-workspace/Sources/Foundation/String.swift:1513:10: warning: unknown operating system for build configuration 'os'
1511 | #endif
1512 |
1513 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1514 | @MainActor
1515 | #endif
/host/spi-builder-workspace/Sources/Foundation/Threading.swift:9:9: warning: unknown operating system for build configuration 'os'
7 | //
8 |
9 | #if (os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
10 | /// Backport of main that does nothing since threads are not supported on WASM
11 | /// Run code on main thread - all code is executed on main thread already in embedded systems.
/host/spi-builder-workspace/Sources/Foundation/Threading.swift:19:14: warning: unknown operating system for build configuration 'os'
17 | #if (os(iOS) || os(macOS) || os(tvOS) || os(watchOS) || os(visionOS) || os(Linux)) && canImport(Foundation) // Don't run on WASM or Android
18 | // Use built-in Thread and Dispatch
19 | #elseif !(os(WASM) || os(WASI)) // not supported on WASM or Android
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
20 | // Backport Thread for code on WASM or Android
21 | // None of this is public since this is just for internal supports.
/host/spi-builder-workspace/Sources/Foundation/Threading.swift:75:10: warning: unknown operating system for build configuration 'os'
73 | }
74 |
75 | #if !(os(WASM) || os(WASI)) // unable to run this on WASM
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
76 | // Implemented as static funcs with global wrappers in case something like View creates similarly named functions like background and we need to reference this specific version.
77 |
/host/spi-builder-workspace/Sources/Foundation/Version.swift:8:35: warning: unknown operating system for build configuration 'os'
6 | //
7 |
8 | #if !canImport(Foundation) || (os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
9 | // Compatibility OperatingSystemVersion for Linux
10 | public struct OperatingSystemVersion : Sendable {
/host/spi-builder-workspace/Sources/Foundation/Version.swift:64:10: warning: unknown operating system for build configuration 'os'
62 |
63 | // MARK: - Codable conformance so stored as string rather than as a structure of values.
64 | #if !(os(WASM) || os(WASI) || os(Linux))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
65 | extension Version: Swift.Decodable {
66 | enum CodingKeys: String, CodingKey {
/host/spi-builder-workspace/Sources/Foundation/Version.swift:95:77: warning: unknown operating system for build configuration 'os'
93 | #endif
94 |
95 | #if canImport(Foundation) && compiler(>=6.0) && !canImport(Android) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
96 | extension OperatingSystemVersion: @retroactive ExpressibleByExtendedGraphemeClusterLiteral {}
97 | extension OperatingSystemVersion: @retroactive ExpressibleByUnicodeScalarLiteral {}
/host/spi-builder-workspace/Sources/Foundation/Version.swift:163:10: warning: unknown operating system for build configuration 'os'
161 | } else {
162 | // invalid character. Just ignore
163 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
164 | debug("Invalid character when parsing version: \(forcing) (\(character))", level: .SILENT)
165 | #else
/host/spi-builder-workspace/Sources/Foundation/Version.swift:188:77: warning: unknown operating system for build configuration 'os'
186 | }
187 | }
188 | #if canImport(Foundation) && compiler(>=6.0) && !canImport(Android) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
189 | extension Version: @retroactive Equatable {}
190 | #endif
/host/spi-builder-workspace/Sources/Foundation/Version.swift:236:10: warning: unknown operating system for build configuration 'os'
234 |
235 | // TODO: Convert to Swift Testing
236 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
237 | @MainActor
238 | #endif
/host/spi-builder-workspace/Sources/Foundation/Version.swift:273:10: warning: unknown operating system for build configuration 'os'
271 | }
272 |
273 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
274 | @MainActor
275 | #endif
/host/spi-builder-workspace/Sources/Foundation/Version.swift:288:10: warning: unknown operating system for build configuration 'os'
286 | let c: Version = "3.0.1"
287 | let array = [one, two, three, a, b, c]
288 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
289 | let json = array.asJSON()
290 | let expected = """
/host/spi-builder-workspace/Sources/Foundation/Version.swift:305:10: warning: unknown operating system for build configuration 'os'
303 |
304 | #if compiler(>=5.9)
305 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
306 | @MainActor
307 | #endif
/host/spi-builder-workspace/Sources/Core/Test.swift:18:10: warning: unknown operating system for build configuration 'os'
16 | // set breakpoint on this line if we want to debug/inspect errors (note that this slows enough to mess with time stamp checks so disable once we know everything is working).
17 | if let debugString {
18 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
19 | throw CustomError(debugString)
20 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:25:35: warning: unknown operating system for build configuration 'os'
23 | #endif
24 | } else {
25 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
26 | let isMainThread = Thread.isMainThread
27 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:39:10: warning: unknown operating system for build configuration 'os'
37 | file, function, line, column)
38 |
39 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
40 | throw CustomError(context)
41 | #else
/host/spi-builder-workspace/Sources/Foundation/Version.swift:91:20: warning: conformance of 'OperatingSystemVersion' to protocol 'Decodable' was already stated in the type's module 'FoundationEssentials'
89 | }
90 | #else
91 | extension Version: Decodable {}
| `- warning: conformance of 'OperatingSystemVersion' to protocol 'Decodable' was already stated in the type's module 'FoundationEssentials'
92 | extension Version: Encodable {}
93 | #endif
FoundationEssentials.OperatingSystemVersion:1:15: note: 'OperatingSystemVersion' declares conformance to protocol 'Decodable' here
1 | public struct OperatingSystemVersion : Hashable, Codable, Sendable {
| `- note: 'OperatingSystemVersion' declares conformance to protocol 'Decodable' here
2 | public let majorVersion: Int
3 | public let minorVersion: Int
/host/spi-builder-workspace/Sources/Foundation/Version.swift:92:20: warning: conformance of 'OperatingSystemVersion' to protocol 'Encodable' was already stated in the type's module 'FoundationEssentials'
90 | #else
91 | extension Version: Decodable {}
92 | extension Version: Encodable {}
| `- warning: conformance of 'OperatingSystemVersion' to protocol 'Encodable' was already stated in the type's module 'FoundationEssentials'
93 | #endif
94 |
FoundationEssentials.OperatingSystemVersion:1:15: note: 'OperatingSystemVersion' declares conformance to protocol 'Encodable' here
1 | public struct OperatingSystemVersion : Hashable, Codable, Sendable {
| `- note: 'OperatingSystemVersion' declares conformance to protocol 'Encodable' here
2 | public let majorVersion: Int
3 | public let minorVersion: Int
/host/spi-builder-workspace/Sources/Foundation/Version.swift:189:33: warning: conformance of 'OperatingSystemVersion' to protocol 'Equatable' was already stated in the type's module 'FoundationEssentials'
187 | }
188 | #if canImport(Foundation) && compiler(>=6.0) && !canImport(Android) && !(os(WASM) || os(WASI))
189 | extension Version: @retroactive Equatable {}
| `- warning: conformance of 'OperatingSystemVersion' to protocol 'Equatable' was already stated in the type's module 'FoundationEssentials'
190 | #endif
191 | extension Version: Swift.Comparable { // @retroactive in Swift 6?
FoundationEssentials.OperatingSystemVersion:1:15: note: 'OperatingSystemVersion' declares conformance to protocol 'Equatable' here
1 | public struct OperatingSystemVersion : Hashable, Codable, Sendable {
| `- note: 'OperatingSystemVersion' declares conformance to protocol 'Equatable' here
2 | public let majorVersion: Int
3 | public let minorVersion: Int
[45/51] Compiling Compatibility AdaptiveLayouts.swift
/host/spi-builder-workspace/Sources/Foundation/OrderedSet.swift:335:10: warning: unknown operating system for build configuration 'os'
333 | }
334 |
335 | #if !(os(WASM) || os(WASI)) // WASM doesn't have access to Codable or Mirror.
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
336 | // MARK: - Codable
337 | extension OrderedSet: Encodable where Element: Encodable {
/host/spi-builder-workspace/Sources/Foundation/OrderedSet.swift:831:10: warning: unknown operating system for build configuration 'os'
829 | orderedSet.sort()
830 | try expect(orderedSet.isEqualSet(to: copiedSet))
831 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
832 | try expect(!orderedSet.debugDescription.isEmpty)
833 | try expect(!orderedSet.description.isEmpty)
/host/spi-builder-workspace/Sources/Foundation/String.swift:352:10: warning: unknown operating system for build configuration 'os'
350 | """
351 |
352 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
353 | @MainActor
354 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:397:10: warning: unknown operating system for build configuration 'os'
395 | static let INVALID_ENCODING = "INVALID_ENCODING"
396 |
397 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
398 | @MainActor
399 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:422:10: warning: unknown operating system for build configuration 'os'
420 | // test for optional numeric ?? with String
421 | let opDouble: Double? = 2.34
422 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
423 | try expect("\(opDouble ?? "nil")" == "2.34")
424 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:584:10: warning: unknown operating system for build configuration 'os'
582 | }
583 |
584 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
585 | @MainActor
586 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:596:35: warning: unknown operating system for build configuration 'os'
594 | var test = "the/quick/brown/fix.txt"
595 |
596 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
597 | try expect("\(Date.nowBackport.year)".isPostIndustrialYear)
598 |
/host/spi-builder-workspace/Sources/Foundation/String.swift:657:35: warning: unknown operating system for build configuration 'os'
655 |
656 | try expect("h\"\\ello".addSlashes() == "h\\\"\\\\ello")
657 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
658 | var json = ""
659 | debugSuppress {
/host/spi-builder-workspace/Sources/Foundation/String.swift:757:10: warning: unknown operating system for build configuration 'os'
755 | }
756 | public extension String {
757 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
758 | @MainActor
759 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:773:10: warning: unknown operating system for build configuration 'os'
771 | try expect(trim.trimmingCharacters(in: "dol") == "r")
772 | }
773 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
774 | @MainActor
775 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:997:10: warning: unknown operating system for build configuration 'os'
995 | return result
996 | }
997 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
998 | @MainActor
999 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1063:10: warning: unknown operating system for build configuration 'os'
1061 | return fixed.joined(separator: ".")
1062 | }
1063 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1064 | @MainActor
1065 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1068:10: warning: unknown operating system for build configuration 'os'
1066 | internal static let testSentenceCapitalized: TestClosure = {
1067 | let capitalized = "hello world. goodbye world.".sentenceCapitalized
1068 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1069 | try expect(capitalized == "Hello world. Goodbye world.", String(describing:capitalized))
1070 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1191:10: warning: unknown operating system for build configuration 'os'
1189 | #endif
1190 |
1191 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1192 | @MainActor
1193 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1264:10: warning: unknown operating system for build configuration 'os'
1262 |
1263 | // MARK: - Parsing
1264 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1265 | @MainActor
1266 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1339:10: warning: unknown operating system for build configuration 'os'
1337 | }
1338 | internal static let TEST_STRING = "A long string with some <em>intérressant</em> properties!"
1339 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1340 | @MainActor
1341 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1344:10: warning: unknown operating system for build configuration 'os'
1342 | internal static let testExtractTags: TestClosure = {
1343 | let extraction = TEST_STRING.extract(from: "<em>", to: "</em>") // should never fail
1344 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1345 | try expect(extraction == "intérressant" , String(describing:extraction))
1346 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1348:10: warning: unknown operating system for build configuration 'os'
1346 | #endif
1347 | }
1348 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1349 | @MainActor
1350 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1353:10: warning: unknown operating system for build configuration 'os'
1351 | internal static let testExtractNilStart: TestClosure = {
1352 | let extraction = TEST_STRING.extract(from: nil, to: "string")
1353 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1354 | try expect(extraction == "A long " , String(describing:extraction))
1355 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1357:10: warning: unknown operating system for build configuration 'os'
1355 | #endif
1356 | }
1357 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1358 | @MainActor
1359 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1362:10: warning: unknown operating system for build configuration 'os'
1360 | internal static let testExtractNilEnd: TestClosure = {
1361 | let extraction = TEST_STRING.extract(from: "</em>", to: nil)
1362 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1363 | try expect(extraction == " properties!" , String(describing:extraction))
1364 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1366:10: warning: unknown operating system for build configuration 'os'
1364 | #endif
1365 | }
1366 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1367 | @MainActor
1368 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1371:10: warning: unknown operating system for build configuration 'os'
1369 | internal static let testExtractMissingStart: TestClosure = {
1370 | let extraction = TEST_STRING.extract(from: "<strong>", to: "</em>")
1371 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1372 | try expect(extraction == nil , String(describing:extraction))
1373 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1375:10: warning: unknown operating system for build configuration 'os'
1373 | #endif
1374 | }
1375 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1376 | @MainActor
1377 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1380:10: warning: unknown operating system for build configuration 'os'
1378 | internal static let testExtractMissingEnd: TestClosure = {
1379 | let extraction = TEST_STRING.extract(from: "<em>", to: "</strong>")
1380 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1381 | try expect(extraction == nil , String(describing:extraction))
1382 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1421:10: warning: unknown operating system for build configuration 'os'
1419 | /// Returns `self` as the `errorMessage` parameter of a JSON object with a `success` parameter equal to `false`. Pass a debug `level` to also print a debug statement as the provided `level`.
1420 | func asErrorJSON(level: DebugLevel = .NOTICE) -> String {
1421 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1422 | debug(self, level: level)
1423 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1449:10: warning: unknown operating system for build configuration 'os'
1447 | #if compiler(>=5.9)
1448 | @available(iOS 13, tvOS 13, watchOS 6, *)
1449 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1450 | @MainActor
1451 | #endif
/host/spi-builder-workspace/Sources/Foundation/String.swift:1474:10: warning: unknown operating system for build configuration 'os'
1472 | // TODO: See where we can use @autoclosure in Kudit Frameworks to delay execution (particularly in test frameworks!)
1473 |
1474 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1475 | public protocol Defaultable {}
1476 | extension Bool: Defaultable {}
/host/spi-builder-workspace/Sources/Foundation/String.swift:1513:10: warning: unknown operating system for build configuration 'os'
1511 | #endif
1512 |
1513 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
1514 | @MainActor
1515 | #endif
/host/spi-builder-workspace/Sources/Foundation/Threading.swift:9:9: warning: unknown operating system for build configuration 'os'
7 | //
8 |
9 | #if (os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
10 | /// Backport of main that does nothing since threads are not supported on WASM
11 | /// Run code on main thread - all code is executed on main thread already in embedded systems.
/host/spi-builder-workspace/Sources/Foundation/Threading.swift:19:14: warning: unknown operating system for build configuration 'os'
17 | #if (os(iOS) || os(macOS) || os(tvOS) || os(watchOS) || os(visionOS) || os(Linux)) && canImport(Foundation) // Don't run on WASM or Android
18 | // Use built-in Thread and Dispatch
19 | #elseif !(os(WASM) || os(WASI)) // not supported on WASM or Android
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
20 | // Backport Thread for code on WASM or Android
21 | // None of this is public since this is just for internal supports.
/host/spi-builder-workspace/Sources/Foundation/Threading.swift:75:10: warning: unknown operating system for build configuration 'os'
73 | }
74 |
75 | #if !(os(WASM) || os(WASI)) // unable to run this on WASM
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
76 | // Implemented as static funcs with global wrappers in case something like View creates similarly named functions like background and we need to reference this specific version.
77 |
/host/spi-builder-workspace/Sources/Foundation/Version.swift:8:35: warning: unknown operating system for build configuration 'os'
6 | //
7 |
8 | #if !canImport(Foundation) || (os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
9 | // Compatibility OperatingSystemVersion for Linux
10 | public struct OperatingSystemVersion : Sendable {
/host/spi-builder-workspace/Sources/Foundation/Version.swift:64:10: warning: unknown operating system for build configuration 'os'
62 |
63 | // MARK: - Codable conformance so stored as string rather than as a structure of values.
64 | #if !(os(WASM) || os(WASI) || os(Linux))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
65 | extension Version: Swift.Decodable {
66 | enum CodingKeys: String, CodingKey {
/host/spi-builder-workspace/Sources/Foundation/Version.swift:95:77: warning: unknown operating system for build configuration 'os'
93 | #endif
94 |
95 | #if canImport(Foundation) && compiler(>=6.0) && !canImport(Android) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
96 | extension OperatingSystemVersion: @retroactive ExpressibleByExtendedGraphemeClusterLiteral {}
97 | extension OperatingSystemVersion: @retroactive ExpressibleByUnicodeScalarLiteral {}
/host/spi-builder-workspace/Sources/Foundation/Version.swift:163:10: warning: unknown operating system for build configuration 'os'
161 | } else {
162 | // invalid character. Just ignore
163 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
164 | debug("Invalid character when parsing version: \(forcing) (\(character))", level: .SILENT)
165 | #else
/host/spi-builder-workspace/Sources/Foundation/Version.swift:188:77: warning: unknown operating system for build configuration 'os'
186 | }
187 | }
188 | #if canImport(Foundation) && compiler(>=6.0) && !canImport(Android) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
189 | extension Version: @retroactive Equatable {}
190 | #endif
/host/spi-builder-workspace/Sources/Foundation/Version.swift:236:10: warning: unknown operating system for build configuration 'os'
234 |
235 | // TODO: Convert to Swift Testing
236 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
237 | @MainActor
238 | #endif
/host/spi-builder-workspace/Sources/Foundation/Version.swift:273:10: warning: unknown operating system for build configuration 'os'
271 | }
272 |
273 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
274 | @MainActor
275 | #endif
/host/spi-builder-workspace/Sources/Foundation/Version.swift:288:10: warning: unknown operating system for build configuration 'os'
286 | let c: Version = "3.0.1"
287 | let array = [one, two, three, a, b, c]
288 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
289 | let json = array.asJSON()
290 | let expected = """
/host/spi-builder-workspace/Sources/Foundation/Version.swift:305:10: warning: unknown operating system for build configuration 'os'
303 |
304 | #if compiler(>=5.9)
305 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
306 | @MainActor
307 | #endif
/host/spi-builder-workspace/Sources/Core/Test.swift:18:10: warning: unknown operating system for build configuration 'os'
16 | // set breakpoint on this line if we want to debug/inspect errors (note that this slows enough to mess with time stamp checks so disable once we know everything is working).
17 | if let debugString {
18 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
19 | throw CustomError(debugString)
20 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:25:35: warning: unknown operating system for build configuration 'os'
23 | #endif
24 | } else {
25 | #if canImport(Foundation) && !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
26 | let isMainThread = Thread.isMainThread
27 | #else
/host/spi-builder-workspace/Sources/Core/Test.swift:39:10: warning: unknown operating system for build configuration 'os'
37 | file, function, line, column)
38 |
39 | #if !(os(WASM) || os(WASI))
| |- warning: unknown operating system for build configuration 'os'
| `- note: did you mean 'WASI'?
40 | throw CustomError(context)
41 | #else
/host/spi-builder-workspace/Sources/Foundation/Version.swift:91:20: warning: conformance of 'OperatingSystemVersion' to protocol 'Decodable' was already stated in the type's module 'FoundationEssentials'
89 | }
90 | #else
91 | extension Version: Decodable {}
| `- warning: conformance of 'OperatingSystemVersion' to protocol 'Decodable' was already stated in the type's module 'FoundationEssentials'
92 | extension Version: Encodable {}
93 | #endif
FoundationEssentials.OperatingSystemVersion:1:15: note: 'OperatingSystemVersion' declares conformance to protocol 'Decodable' here
1 | public struct OperatingSystemVersion : Hashable, Codable, Sendable {
| `- note: 'OperatingSystemVersion' declares conformance to protocol 'Decodable' here
2 | public let majorVersion: Int
3 | public let minorVersion: Int
/host/spi-builder-workspace/Sources/Foundation/Version.swift:92:20: warning: conformance of 'OperatingSystemVersion' to protocol 'Encodable' was already stated in the type's module 'FoundationEssentials'
90 | #else
91 | extension Version: Decodable {}
92 | extension Version: Encodable {}
| `- warning: conformance of 'OperatingSystemVersion' to protocol 'Encodable' was already stated in the type's module 'FoundationEssentials'
93 | #endif
94 |
FoundationEssentials.OperatingSystemVersion:1:15: note: 'OperatingSystemVersion' declares conformance to protocol 'Encodable' here
1 | public struct OperatingSystemVersion : Hashable, Codable, Sendable {
| `- note: 'OperatingSystemVersion' declares conformance to protocol 'Encodable' here
2 | public let majorVersion: Int
3 | public let minorVersion: Int
/host/spi-builder-workspace/Sources/Foundation/Version.swift:189:33: warning: conformance of 'OperatingSystemVersion' to protocol 'Equatable' was already stated in the type's module 'FoundationEssentials'
187 | }
188 | #if canImport(Foundation) && compiler(>=6.0) && !canImport(Android) && !(os(WASM) || os(WASI))
189 | extension Version: @retroactive Equatable {}
| `- warning: conformance of 'OperatingSystemVersion' to protocol 'Equatable' was already stated in the type's module 'FoundationEssentials'
190 | #endif
191 | extension Version: Swift.Comparable { // @retroactive in Swift 6?
FoundationEssentials.OperatingSystemVersion:1:15: note: 'OperatingSystemVersion' declares conformance to protocol 'Equatable' here
1 | public struct OperatingSystemVersion : Hashable, Codable, Sendable {
| `- note: 'OperatingSystemVersion' declares conformance to protocol 'Equatable' here
2 | public let majorVersion: Int
3 | public let minorVersion: Int
[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! (18.36s)
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 swiftpackageindex/spi-images
Digest: sha256:6ccbc5e7995f6c524368c1828f9c677d1727c16390a603fc668217aec5f5123a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.0-latest
Done.