The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build WrkstrmPerformance, reference 0.1.0 (7af04d), with Swift 6.2 for Wasm on 12 Nov 2025 07:10:22 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/wrkstrm/wrkstrm-performance.git
Reference: 0.1.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/wrkstrm/wrkstrm-performance
 * tag               0.1.0      -> FETCH_HEAD
HEAD is now at 7af04d7 Clia migration (#681)
Cloned https://github.com/wrkstrm/wrkstrm-performance.git
Revision (git rev-parse @):
7af04d75db6e4b6a9e686b948d04ee9b9e8510b5
SUCCESS checkout https://github.com/wrkstrm/wrkstrm-performance.git at 0.1.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/wrkstrm/wrkstrm-performance.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f6b6b9bdb5d5605d727da337418fc455cd8a0394d3a815b70631008c48829755
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/embedded-swift-sdk.json
Fetching https://github.com/wrkstrm/WrkstrmMain.git
Fetching https://github.com/wrkstrm/WrkstrmFoundation.git
Fetching https://github.com/wrkstrm/WrkstrmLog.git
[1/1702] Fetching wrkstrmmain
[274/3918] Fetching wrkstrmmain, wrkstrmlog
[704/7540] Fetching wrkstrmmain, wrkstrmlog, wrkstrmfoundation
Fetched https://github.com/wrkstrm/WrkstrmMain.git from cache (0.63s)
Fetched https://github.com/wrkstrm/WrkstrmLog.git from cache (0.64s)
Fetched https://github.com/wrkstrm/WrkstrmFoundation.git from cache (0.65s)
Computing version for https://github.com/wrkstrm/WrkstrmMain.git
warning: 'wrkstrmmain': ---- Package Inject Deps: Begin ----
Use Local Deps? false
[]
---- Package Inject Deps: End ----
Computed https://github.com/wrkstrm/WrkstrmMain.git at 2.5.0 (1.61s)
Computing version for https://github.com/wrkstrm/WrkstrmLog.git
Computed https://github.com/wrkstrm/WrkstrmLog.git at 2.2.4 (0.66s)
Fetching https://github.com/apple/swift-log.git
[1/4398] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.55s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (1.02s)
Computing version for https://github.com/wrkstrm/WrkstrmFoundation.git
warning: 'wrkstrmfoundation': ---- Package Inject Deps: Begin ----
Use Local Deps? false
[PackageDescription.Package.Dependency.Kind.sourceControl(name: nil, location: "https://github.com/wrkstrm/WrkstrmLog.git", requirement: PackageDescription.Package.Dependency.SourceControlRequirement.range(Range(2.0.0..<3.0.0))), PackageDescription.Package.Dependency.Kind.sourceControl(name: nil, location: "https://github.com/wrkstrm/WrkstrmMain.git", requirement: PackageDescription.Package.Dependency.SourceControlRequirement.range(Range(2.4.0..<3.0.0)))]
---- Package Inject Deps: End ----
Computed https://github.com/wrkstrm/WrkstrmFoundation.git at 2.8.1 (0.62s)
Creating working copy for https://github.com/wrkstrm/WrkstrmMain.git
Working copy of https://github.com/wrkstrm/WrkstrmMain.git resolved at 2.5.0
Creating working copy for https://github.com/wrkstrm/WrkstrmFoundation.git
Working copy of https://github.com/wrkstrm/WrkstrmFoundation.git resolved at 2.8.1
Creating working copy for https://github.com/wrkstrm/WrkstrmLog.git
Working copy of https://github.com/wrkstrm/WrkstrmLog.git resolved at 2.2.4
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.4
warning: 'wrkstrmmain': ---- Package Inject Deps: Begin ----
Use Local Deps? false
[]
---- Package Inject Deps: End ----
warning: 'wrkstrmfoundation': ---- Package Inject Deps: Begin ----
Use Local Deps? false
[PackageDescription.Package.Dependency.Kind.sourceControl(name: nil, location: "https://github.com/wrkstrm/WrkstrmLog.git", requirement: PackageDescription.Package.Dependency.SourceControlRequirement.range(Range(2.0.0..<3.0.0))), PackageDescription.Package.Dependency.Kind.sourceControl(name: nil, location: "https://github.com/wrkstrm/WrkstrmMain.git", requirement: PackageDescription.Package.Dependency.SourceControlRequirement.range(Range(2.4.0..<3.0.0)))]
---- Package Inject Deps: End ----
Building for debugging...
[0/8] Write sources
[7/8] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/16] Emitting module WrkstrmEnvironment
/host/spi-builder-workspace/Sources/WrkstrmEnvironment/EnvironmentProbe.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | public struct EnvironmentSnapshot: Sendable {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/16] Emitting module WrkstrmMain
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/CustomCollections/Classes/Tree.swift:13:10: error: attribute 'weak' cannot be used in embedded Swift
11 |
12 |   /// A weak reference to the parent node of this tree node.
13 |   public weak var parent: Tree?
   |          `- error: attribute 'weak' cannot be used in embedded Swift
14 |
15 |   /// A textual representation of this tree node, which is based on the value it contains.
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/CustomCollections/Classes/Tree.swift:16:41: error: 'init(describing:)' is unavailable: unavailable in embedded Swift
14 |
15 |   /// A textual representation of this tree node, which is based on the value it contains.
16 |   public var debugDescription: String { String(describing: value) }
   |                                         `- error: 'init(describing:)' is unavailable: unavailable in embedded Swift
17 |
18 |   /// Initializes a new tree node with the given value.
Swift.String.init:2:8: note: 'init(describing:)' has been explicitly marked unavailable here
1 | struct String {
2 | public init<Subject>(describing instance: Subject)}
  |        `- note: 'init(describing:)' has been explicitly marked unavailable here
3 |
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/Extensions/CommandLine+Executable.swift:1:11: error: cannot find type 'CommandLine' in scope
 1 | extension CommandLine {
   |           `- error: cannot find type 'CommandLine' in scope
 2 |   /// An array of substrings derived from splitting the first command-line argument by the "/"
 3 |   /// separator.
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/Extensions/String/String+Count.swift:5:23: error: cannot find 'range' in scope
 3 |     var indices: [Int] = []
 4 |     var position = startIndex
 5 |     while let range = range(of: occurrence, range: position..<endIndex) {
   |                       `- error: cannot find 'range' in scope
 6 |       let i = distance(from: startIndex, to: range.lowerBound)
 7 |       indices.append(i)
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/Extensions/String/String+Source.swift:12:60: error: cannot convert value of type 'String' to expected argument type 'String.Element' (aka 'Character')
10 |   /// - Returns: An optional array of `String` containing only source file paths, or `nil` if no
11 |   /// source files are found.
12 |   public var sourceFiles: [String]? { filter { $0.contains(".m") || $0.contains(".swift") } }
   |                                                            `- error: cannot convert value of type 'String' to expected argument type 'String.Element' (aka 'Character')
13 |
14 |   /// Filters the array to include only Interface Builder files.
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/Extensions/String/String+Source.swift:12:81: error: cannot convert value of type 'String' to expected argument type 'String.Element' (aka 'Character')
10 |   /// - Returns: An optional array of `String` containing only source file paths, or `nil` if no
11 |   /// source files are found.
12 |   public var sourceFiles: [String]? { filter { $0.contains(".m") || $0.contains(".swift") } }
   |                                                                                 `- error: cannot convert value of type 'String' to expected argument type 'String.Element' (aka 'Character')
13 |
14 |   /// Filters the array to include only Interface Builder files.
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/Extensions/String/String+Source.swift:22:57: error: cannot convert value of type 'String' to expected argument type 'String.Element' (aka 'Character')
20 |   /// - Returns: An optional array of `String` containing only Interface Builder file paths, or
21 |   /// `nil` if no such files are found.
22 |   public var nibFiles: [String]? { filter { $0.contains(".xib") || $0.contains(".storyboard") } }
   |                                                         `- error: cannot convert value of type 'String' to expected argument type 'String.Element' (aka 'Character')
23 |
24 |   /// Filters the array to include only Base Localization Interface Builder files.
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/Extensions/String/String+Source.swift:22:80: error: cannot convert value of type 'String' to expected argument type 'String.Element' (aka 'Character')
20 |   /// - Returns: An optional array of `String` containing only Interface Builder file paths, or
21 |   /// `nil` if no such files are found.
22 |   public var nibFiles: [String]? { filter { $0.contains(".xib") || $0.contains(".storyboard") } }
   |                                                                                `- error: cannot convert value of type 'String' to expected argument type 'String.Element' (aka 'Character')
23 |
24 |   /// Filters the array to include only Base Localization Interface Builder files.
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/Extensions/String/String+Source.swift:32:70: error: cannot convert value of type 'String' to expected argument type 'String.Element' (aka 'Character')
30 |   /// - Returns: An optional array of `String` containing only Base Localization Interface Builder
31 |   /// file paths, or `nil` if no such files are found.
32 |   public var baseLocalizedNibFiles: [String]? { filter { $0.contains("Base.lproj") } }
   |                                                                      `- error: cannot convert value of type 'String' to expected argument type 'String.Element' (aka 'Character')
33 |
34 |   /// Filters the array to include only non-localized and non-debug Interface Builder files.
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/Extensions/String/String+Source.swift:44:27: error: cannot convert value of type 'String' to expected argument type 'String.Element' (aka 'Character')
42 |   /// Builder file paths, or `nil` if no such files are found.
43 |   public var unlocalizedNibFiles: [String]? {
44 |     filter { !$0.contains("Base.lproj") && !$0.contains("Debug") }
   |                           `- error: cannot convert value of type 'String' to expected argument type 'String.Element' (aka 'Character')
45 |   }
46 | }
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/Extensions/String/String+Source.swift:44:57: error: cannot convert value of type 'String' to expected argument type 'String.Element' (aka 'Character')
42 |   /// Builder file paths, or `nil` if no such files are found.
43 |   public var unlocalizedNibFiles: [String]? {
44 |     filter { !$0.contains("Base.lproj") && !$0.contains("Debug") }
   |                                                         `- error: cannot convert value of type 'String' to expected argument type 'String.Element' (aka 'Character')
45 |   }
46 | }
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/AnyCodingKey.swift:20:29: error: 'CodingKey' is unavailable: unavailable in embedded Swift
18 | /// See also StackOverflow guidance on detecting empty JSON objects via keyed decoding:
19 | /// https://stackoverflow.com/questions/48943510/swift-codable-decode-empty-json-as-nil-or-empty-object
20 | public struct AnyCodingKey: CodingKey {
   |                             `- error: 'CodingKey' is unavailable: unavailable in embedded Swift
21 |   /// The dynamic string value of the key in JSON.
22 |   public var stringValue: String
Swift.CodingKey:2:17: note: 'CodingKey' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol CodingKey {
  |                 `- note: 'CodingKey' has been explicitly marked unavailable here
3 | }
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/DynamicCodingKey.swift:4:33: error: 'CodingKey' is unavailable: unavailable in embedded Swift
 2 | /// when encoding or decoding JSON.
 3 | /// Useful for working with dictionaries whose keys are not known at compile time.
 4 | public struct DynamicCodingKey: CodingKey {
   |                                 `- error: 'CodingKey' is unavailable: unavailable in embedded Swift
 5 |   /// The string value of the key. Required by `CodingKey`.
 6 |   public var stringValue: String
Swift.CodingKey:2:17: note: 'CodingKey' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol CodingKey {
  |                 `- note: 'CodingKey' has been explicitly marked unavailable here
3 | }
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/JSON+EmptyCodableStruct.swift:9:24: error: 'Decoder' is unavailable: unavailable in embedded Swift
 7 |     init() {}
 8 |
 9 |     init(from decoder: Decoder) throws {
   |                        `- error: 'Decoder' is unavailable: unavailable in embedded Swift
10 |       let container = try decoder.container(keyedBy: AnyCodingKey.self)
11 |       guard container.allKeys.isEmpty else {
Swift.Decoder:2:17: note: 'Decoder' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Decoder {
  |                 `- note: 'Decoder' has been explicitly marked unavailable here
3 |     var codingPath: [any CodingKey] { get }
4 |     func container<Key>(keyedBy type: Key.Type) throws -> KeyedDecodingContainer<Key> where Key : CodingKey
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/JSON+EmptyCodableStruct.swift:18:29: error: 'Encoder' is unavailable: unavailable in embedded Swift
16 |     }
17 |
18 |     func encode(to encoder: Encoder) throws {
   |                             `- error: 'Encoder' is unavailable: unavailable in embedded Swift
19 |       _ = encoder.container(keyedBy: AnyCodingKey.self)
20 |     }
Swift.Encoder:2:17: note: 'Encoder' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Encoder {
  |                 `- note: 'Encoder' has been explicitly marked unavailable here
3 |     var codingPath: [any CodingKey] { get }
4 |     func container<Key>(keyedBy type: Key.Type) -> KeyedEncodingContainer<Key> where Key : CodingKey
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/JSON+EmptyCodableStruct.swift:6:30: error: 'Codable' is unavailable: unavailable in embedded Swift
 4 |   /// Empty `Codable` used to validate `{}` objects when decoding.
 5 |   /// Decoding succeeds only if the underlying object has no keys.
 6 |   struct EmptyCodableStruct: Codable {
   |                              `- error: 'Codable' is unavailable: unavailable in embedded Swift
 7 |     init() {}
 8 |
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/JSON+EmptyCodableStruct.swift:11:23: error: value of type 'KeyedDecodingContainer<AnyCodingKey>' has no member 'allKeys'
 9 |     init(from decoder: Decoder) throws {
10 |       let container = try decoder.container(keyedBy: AnyCodingKey.self)
11 |       guard container.allKeys.isEmpty else {
   |                       `- error: value of type 'KeyedDecodingContainer<AnyCodingKey>' has no member 'allKeys'
12 |         throw DecodingError.dataCorrupted(
13 |           .init(codingPath: decoder.codingPath, debugDescription: "Expected empty object")
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/JSON+EmptyCodableStruct.swift:12:15: error: 'DecodingError' is unavailable: unavailable in embedded Swift
10 |       let container = try decoder.container(keyedBy: AnyCodingKey.self)
11 |       guard container.allKeys.isEmpty else {
12 |         throw DecodingError.dataCorrupted(
   |               `- error: 'DecodingError' is unavailable: unavailable in embedded Swift
13 |           .init(codingPath: decoder.codingPath, debugDescription: "Expected empty object")
14 |         )
Swift.DecodingError:2:13: note: 'DecodingError' has been explicitly marked unavailable here
 1 | @_unavailableInEmbedded
 2 | public enum DecodingError : Error {
   |             `- note: 'DecodingError' has been explicitly marked unavailable here
 3 |     public struct Context : Sendable {
 4 |         public init(codingPath: [any CodingKey], debugDescription: String, underlyingError: (any Error)? = nil)
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/KeyedDecodingContainer+FuzzyDecoding.swift:12:17: error: cannot find type 'Key' in scope
10 |   public func decodeArrayAllowingNullOrSingle<T>(
11 |     _ type: T.Type = T.self,
12 |     forKey key: Key
   |                 `- error: cannot find type 'Key' in scope
13 |   ) throws -> [T]? where T: Decodable {
14 |     guard contains(key) else {
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/KeyedDecodingContainer+FuzzyDecoding.swift:13:29: error: 'Decodable' is unavailable: unavailable in embedded Swift
11 |     _ type: T.Type = T.self,
12 |     forKey key: Key
13 |   ) throws -> [T]? where T: Decodable {
   |                             `- error: 'Decodable' is unavailable: unavailable in embedded Swift
14 |     guard contains(key) else {
15 |       throw DecodingError.dataCorruptedError(
Swift.Decodable:2:17: note: 'Decodable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Decodable {
  |                 `- note: 'Decodable' has been explicitly marked unavailable here
3 |     init(from decoder: any Decoder) throws
4 | }
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/KeyedDecodingContainer+FuzzyDecoding.swift:54:17: error: cannot find type 'Key' in scope
52 |   public func decodeAllowingNullOrEmptyObject<T>(
53 |     _ type: T.Type = T.self,
54 |     forKey key: Key
   |                 `- error: cannot find type 'Key' in scope
55 |   ) throws -> T? where T: Decodable {
56 |     guard contains(key) else {
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/KeyedDecodingContainer+FuzzyDecoding.swift:55:27: error: 'Decodable' is unavailable: unavailable in embedded Swift
53 |     _ type: T.Type = T.self,
54 |     forKey key: Key
55 |   ) throws -> T? where T: Decodable {
   |                           `- error: 'Decodable' is unavailable: unavailable in embedded Swift
56 |     guard contains(key) else {
57 |       return nil
Swift.Decodable:2:17: note: 'Decodable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Decodable {
  |                 `- note: 'Decodable' has been explicitly marked unavailable here
3 |     init(from decoder: any Decoder) throws
4 | }
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/KeyedDecodingContainer+FuzzyDecoding.swift:1:11: error: 'KeyedDecodingContainer' is unavailable: unavailable in embedded Swift
 1 | extension KeyedDecodingContainer {
   |           `- error: 'KeyedDecodingContainer' is unavailable: unavailable in embedded Swift
 2 |   /// Decodes a value for `key` that may be null, a single object,
 3 |   /// or an array of objects, returning a normalized optional array.
Swift.KeyedDecodingContainer:2:15: note: 'KeyedDecodingContainer' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public struct KeyedDecodingContainer<K> where K : CodingKey {
  |               `- note: 'KeyedDecodingContainer' has been explicitly marked unavailable here
3 | }
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/KeyedDecodingContainer+FuzzyDecoding.swift:14:11: error: cannot find 'contains' in scope
12 |     forKey key: Key
13 |   ) throws -> [T]? where T: Decodable {
14 |     guard contains(key) else {
   |           `- error: cannot find 'contains' in scope
15 |       throw DecodingError.dataCorruptedError(
16 |         forKey: key,
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/KeyedDecodingContainer+FuzzyDecoding.swift:15:27: error: type 'DecodingError' has no member 'dataCorruptedError'
13 |   ) throws -> [T]? where T: Decodable {
14 |     guard contains(key) else {
15 |       throw DecodingError.dataCorruptedError(
   |                           `- error: type 'DecodingError' has no member 'dataCorruptedError'
16 |         forKey: key,
17 |         in: self,
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/KeyedDecodingContainer+FuzzyDecoding.swift:22:12: error: cannot find 'decodeNil' in scope
20 |       )
21 |     }
22 |     if try decodeNil(forKey: key) {
   |            `- error: cannot find 'decodeNil' in scope
23 |       return nil
24 |     }
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/KeyedDecodingContainer+FuzzyDecoding.swift:27:18: error: cannot find 'decode' in scope
25 |     do {
26 |       // Try decoding as array
27 |       return try decode([T].self, forKey: key)
   |                  `- error: cannot find 'decode' in scope
28 |     } catch {
29 |       // Try decoding as single value
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/KeyedDecodingContainer+FuzzyDecoding.swift:33:27: error: type 'DecodingError' has no member 'dataCorruptedError'
31 |         return [single]
32 |       }
33 |       throw DecodingError.dataCorruptedError(
   |                           `- error: type 'DecodingError' has no member 'dataCorruptedError'
34 |         forKey: key,
35 |         in: self,
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/KeyedDecodingContainer+FuzzyDecoding.swift:56:11: error: cannot find 'contains' in scope
54 |     forKey key: Key
55 |   ) throws -> T? where T: Decodable {
56 |     guard contains(key) else {
   |           `- error: cannot find 'contains' in scope
57 |       return nil
58 |     }
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/KeyedDecodingContainer+FuzzyDecoding.swift:60:12: error: cannot find 'decodeNil' in scope
58 |     }
59 |
60 |     if try decodeNil(forKey: key) {
   |            `- error: cannot find 'decodeNil' in scope
61 |       return nil
62 |     }
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/KeyedDecodingContainer+FuzzyDecoding.swift:64:14: error: cannot find 'decode' in scope
62 |     }
63 |
64 |     if (try? decode(String.self, forKey: key)) == "null" {
   |              `- error: cannot find 'decode' in scope
65 |       return nil
66 |     }
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/KeyedDecodingContainer+FuzzyDecoding.swift:68:14: error: cannot find 'decode' in scope
66 |     }
67 |
68 |     if (try? decode(JSON.EmptyCodableStruct.self, forKey: key)) != nil {
   |              `- error: cannot find 'decode' in scope
69 |       return nil
70 |     }
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/KeyedDecodingContainer+FuzzyDecoding.swift:73:16: error: cannot find 'decode' in scope
71 |
72 |     // Try decoding as an object
73 |     return try decode(T.self, forKey: key)
   |                `- error: cannot find 'decode' in scope
74 |   }
75 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/16] Emitting module WrkstrmPerfSupport
/host/spi-builder-workspace/Sources/WrkstrmPerfSupport/Support.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | public actor DurationAggregator {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/16] Emitting module Logging
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:42:8: error: Unsupported runtime
 40 | import Musl
 41 | #else
 42 | #error("Unsupported runtime")
    |        `- error: Unsupported runtime
 43 | #endif
 44 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:32:8: error: Unsupported runtime
  30 | import WASILibc
  31 | #else
  32 | #error("Unsupported runtime")
     |        `- error: Unsupported runtime
  33 | #endif
  34 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1270:16: error: Unsupported runtime
1268 |         let systemStderr = WASILibc.stderr!
1269 |         #else
1270 |         #error("Unsupported runtime")
     |                `- error: Unsupported runtime
1271 |         #endif
1272 |         return StdioOutputStream(file: systemStderr, flushMode: .always)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1290:16: error: Unsupported runtime
1288 |         let systemStdout = WASILibc.stdout!
1289 |         #else
1290 |         #error("Unsupported runtime")
     |                `- error: Unsupported runtime
1291 |         #endif
1292 |         return StdioOutputStream(file: systemStdout, flushMode: .always)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/MetadataProvider.swift:28:8: error: Unsupported runtime
 26 | import WASILibc
 27 | #else
 28 | #error("Unsupported runtime")
    |        `- error: Unsupported runtime
 29 | #endif
 30 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:58:49: error: cannot find type 'pthread_mutex_t' in scope
 56 |         UnsafeMutablePointer.allocate(capacity: 1)
 57 |     #else
 58 |     fileprivate let mutex: UnsafeMutablePointer<pthread_mutex_t> =
    |                                                 `- error: cannot find type 'pthread_mutex_t' in scope
 59 |         UnsafeMutablePointer.allocate(capacity: 1)
 60 |     #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:161:50: error: cannot find type 'pthread_rwlock_t' in scope
159 |     fileprivate var shared: Bool = true
160 |     #else
161 |     fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
    |                                                  `- error: cannot find type 'pthread_rwlock_t' in scope
162 |         UnsafeMutablePointer.allocate(capacity: 1)
163 |     #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:69:20: error: cannot find 'pthread_mutexattr_t' in scope
 67 |         InitializeSRWLock(self.mutex)
 68 |         #else
 69 |         var attr = pthread_mutexattr_t()
    |                    `- error: cannot find 'pthread_mutexattr_t' in scope
 70 |         pthread_mutexattr_init(&attr)
 71 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:70:9: error: cannot find 'pthread_mutexattr_init' in scope
 68 |         #else
 69 |         var attr = pthread_mutexattr_t()
 70 |         pthread_mutexattr_init(&attr)
    |         `- error: cannot find 'pthread_mutexattr_init' in scope
 71 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
 72 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:71:9: error: cannot find 'pthread_mutexattr_settype' in scope
 69 |         var attr = pthread_mutexattr_t()
 70 |         pthread_mutexattr_init(&attr)
 71 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
    |         `- error: cannot find 'pthread_mutexattr_settype' in scope
 72 |
 73 |         let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:71:48: error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
 69 |         var attr = pthread_mutexattr_t()
 70 |         pthread_mutexattr_init(&attr)
 71 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
    |                                                `- error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
 72 |
 73 |         let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:71:43: error: cannot infer contextual base in reference to member 'init'
 69 |         var attr = pthread_mutexattr_t()
 70 |         pthread_mutexattr_init(&attr)
 71 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
    |                                           `- error: cannot infer contextual base in reference to member 'init'
 72 |
 73 |         let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:73:19: error: cannot find 'pthread_mutex_init' in scope
 71 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
 72 |
 73 |         let err = pthread_mutex_init(self.mutex, &attr)
    |                   `- error: cannot find 'pthread_mutex_init' in scope
 74 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
 75 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:85:19: error: cannot find 'pthread_mutex_destroy' in scope
 83 |         self.mutex.deallocate()
 84 |         #else
 85 |         let err = pthread_mutex_destroy(self.mutex)
    |                   `- error: cannot find 'pthread_mutex_destroy' in scope
 86 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
 87 |         self.mutex.deallocate()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:101:19: error: cannot find 'pthread_mutex_lock' in scope
 99 |         AcquireSRWLockExclusive(self.mutex)
100 |         #else
101 |         let err = pthread_mutex_lock(self.mutex)
    |                   `- error: cannot find 'pthread_mutex_lock' in scope
102 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
103 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:116:19: error: cannot find 'pthread_mutex_unlock' in scope
114 |         ReleaseSRWLockExclusive(self.mutex)
115 |         #else
116 |         let err = pthread_mutex_unlock(self.mutex)
    |                   `- error: cannot find 'pthread_mutex_unlock' in scope
117 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
118 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:172:19: error: cannot find 'pthread_rwlock_init' in scope
170 |         InitializeSRWLock(self.rwlock)
171 |         #else
172 |         let err = pthread_rwlock_init(self.rwlock, nil)
    |                   `- error: cannot find 'pthread_rwlock_init' in scope
173 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
174 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:172:52: error: 'nil' requires a contextual type
170 |         InitializeSRWLock(self.rwlock)
171 |         #else
172 |         let err = pthread_rwlock_init(self.rwlock, nil)
    |                                                    `- error: 'nil' requires a contextual type
173 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
174 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:184:19: error: cannot find 'pthread_rwlock_destroy' in scope
182 |         self.rwlock.deallocate()
183 |         #else
184 |         let err = pthread_rwlock_destroy(self.rwlock)
    |                   `- error: cannot find 'pthread_rwlock_destroy' in scope
185 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
186 |         self.rwlock.deallocate()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:201:19: error: cannot find 'pthread_rwlock_rdlock' in scope
199 |         self.shared = true
200 |         #else
201 |         let err = pthread_rwlock_rdlock(self.rwlock)
    |                   `- error: cannot find 'pthread_rwlock_rdlock' in scope
202 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
203 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:217:19: error: cannot find 'pthread_rwlock_wrlock' in scope
215 |         self.shared = false
216 |         #else
217 |         let err = pthread_rwlock_wrlock(self.rwlock)
    |                   `- error: cannot find 'pthread_rwlock_wrlock' in scope
218 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
219 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:237:19: error: cannot find 'pthread_rwlock_unlock' in scope
235 |         }
236 |         #else
237 |         let err = pthread_rwlock_unlock(self.rwlock)
    |                   `- error: cannot find 'pthread_rwlock_unlock' in scope
238 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
239 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:847:32: error: 'Codable' is unavailable: unavailable in embedded Swift
 845 |     /// Log levels are ordered by their severity, with `.trace` being the least severe and
 846 |     /// `.critical` being the most severe.
 847 |     public enum Level: String, Codable, CaseIterable {
     |                                `- error: 'Codable' is unavailable: unavailable in embedded Swift
 848 |         /// Appropriate for messages that contain information normally of use only when
 849 |         /// tracing the execution of a program.
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1209:56: error: cannot find type 'FILE' in scope
1207 | internal typealias CFilePointer = OpaquePointer
1208 | #else
1209 | internal typealias CFilePointer = UnsafeMutablePointer<FILE>
     |                                                        `- error: cannot find type 'FILE' in scope
1210 | #endif
1211 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1272:40: error: cannot find 'systemStderr' in scope
1270 |         #error("Unsupported runtime")
1271 |         #endif
1272 |         return StdioOutputStream(file: systemStderr, flushMode: .always)
     |                                        `- error: cannot find 'systemStderr' in scope
1273 |     }()
1274 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1272:66: error: cannot infer contextual base in reference to member 'always'
1270 |         #error("Unsupported runtime")
1271 |         #endif
1272 |         return StdioOutputStream(file: systemStderr, flushMode: .always)
     |                                                                  `- error: cannot infer contextual base in reference to member 'always'
1273 |     }()
1274 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1292:40: error: cannot find 'systemStdout' in scope
1290 |         #error("Unsupported runtime")
1291 |         #endif
1292 |         return StdioOutputStream(file: systemStdout, flushMode: .always)
     |                                        `- error: cannot find 'systemStdout' in scope
1293 |     }()
1294 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1292:66: error: cannot infer contextual base in reference to member 'always'
1290 |         #error("Unsupported runtime")
1291 |         #endif
1292 |         return StdioOutputStream(file: systemStdout, flushMode: .always)
     |                                                                  `- error: cannot infer contextual base in reference to member 'always'
1293 |     }()
1294 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1226:13: error: cannot find 'flockfile' in scope
1224 |             // no file locking on WASI
1225 |             #else
1226 |             flockfile(self.file)
     |             `- error: cannot find 'flockfile' in scope
1227 |             #endif
1228 |             defer {
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1237:17: error: cannot find 'fwrite' in scope
1235 |                 #endif
1236 |             }
1237 |             _ = fwrite(utf8Bytes.baseAddress!, 1, utf8Bytes.count, self.file)
     |                 `- error: cannot find 'fwrite' in scope
1238 |             if case .always = self.flushMode {
1239 |                 self.flush()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1246:13: error: cannot find 'fflush' in scope
1244 |     /// Flush the underlying stream.
1245 |     internal func flush() {
1246 |         _ = fflush(self.file)
     |             `- error: cannot find 'fflush' in scope
1247 |     }
1248 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1447:25: error: cannot find 'time' in scope
1445 |         _ = strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", &localTime)
1446 |         #else
1447 |         var timestamp = time(nil)
     |                         `- error: cannot find 'time' in scope
1448 |         guard let localTime = localtime(&timestamp) else {
1449 |             return "<unknown>"
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1447:30: error: 'nil' requires a contextual type
1445 |         _ = strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", &localTime)
1446 |         #else
1447 |         var timestamp = time(nil)
     |                              `- error: 'nil' requires a contextual type
1448 |         guard let localTime = localtime(&timestamp) else {
1449 |             return "<unknown>"
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1448:31: error: cannot find 'localtime' in scope
1446 |         #else
1447 |         var timestamp = time(nil)
1448 |         guard let localTime = localtime(&timestamp) else {
     |                               `- error: cannot find 'localtime' in scope
1449 |             return "<unknown>"
1450 |         }
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1451:9: error: cannot find 'strftime' in scope
1449 |             return "<unknown>"
1450 |         }
1451 |         strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", localTime)
     |         `- error: cannot find 'strftime' in scope
1452 |         #endif
1453 |         return buffer.withUnsafeBufferPointer {
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1548:54: error: 'description' is unavailable: unavailable in embedded Swift
1546 |         switch self {
1547 |         case .dictionary(let dict):
1548 |             return dict.mapValues { $0.description }.description
     |                                                      `- error: 'description' is unavailable: unavailable in embedded Swift
1549 |         case .array(let list):
1550 |             return list.map { $0.description }.description
Swift.Dictionary.description:2:12: note: 'description' has been explicitly marked unavailable here
1 | generic struct Dictionary {
2 | public var description: String { get }}
  |            `- note: 'description' has been explicitly marked unavailable here
3 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1550:48: error: 'description' is unavailable: unavailable in embedded Swift
1548 |             return dict.mapValues { $0.description }.description
1549 |         case .array(let list):
1550 |             return list.map { $0.description }.description
     |                                                `- error: 'description' is unavailable: unavailable in embedded Swift
1551 |         case .string(let str):
1552 |             return str
Swift.Array.description:2:12: note: 'description' has been explicitly marked unavailable here
1 | generic struct Array {
2 | public var description: String { get }}
  |            `- note: 'description' has been explicitly marked unavailable here
3 |
[13/16] Compiling WrkstrmEnvironment EnvironmentProbe.swift
/host/spi-builder-workspace/Sources/WrkstrmEnvironment/EnvironmentProbe.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | public struct EnvironmentSnapshot: Sendable {
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/CustomCollections/Classes/Tree.swift:13:10: error: attribute 'weak' cannot be used in embedded Swift
11 |
12 |   /// A weak reference to the parent node of this tree node.
13 |   public weak var parent: Tree?
   |          `- error: attribute 'weak' cannot be used in embedded Swift
14 |
15 |   /// A textual representation of this tree node, which is based on the value it contains.
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/CustomCollections/Classes/Tree.swift:16:41: error: 'init(describing:)' is unavailable: unavailable in embedded Swift
14 |
15 |   /// A textual representation of this tree node, which is based on the value it contains.
16 |   public var debugDescription: String { String(describing: value) }
   |                                         `- error: 'init(describing:)' is unavailable: unavailable in embedded Swift
17 |
18 |   /// Initializes a new tree node with the given value.
Swift.String.init:2:8: note: 'init(describing:)' has been explicitly marked unavailable here
1 | struct String {
2 | public init<Subject>(describing instance: Subject)}
  |        `- note: 'init(describing:)' has been explicitly marked unavailable here
3 |
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/Extensions/CommandLine+Executable.swift:1:11: error: cannot find type 'CommandLine' in scope
 1 | extension CommandLine {
   |           `- error: cannot find type 'CommandLine' in scope
 2 |   /// An array of substrings derived from splitting the first command-line argument by the "/"
 3 |   /// separator.
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/Extensions/String/String+Count.swift:5:23: error: cannot find 'range' in scope
 3 |     var indices: [Int] = []
 4 |     var position = startIndex
 5 |     while let range = range(of: occurrence, range: position..<endIndex) {
   |                       `- error: cannot find 'range' in scope
 6 |       let i = distance(from: startIndex, to: range.lowerBound)
 7 |       indices.append(i)
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/Extensions/String/String+Source.swift:12:60: error: cannot convert value of type 'String' to expected argument type 'String.Element' (aka 'Character')
10 |   /// - Returns: An optional array of `String` containing only source file paths, or `nil` if no
11 |   /// source files are found.
12 |   public var sourceFiles: [String]? { filter { $0.contains(".m") || $0.contains(".swift") } }
   |                                                            `- error: cannot convert value of type 'String' to expected argument type 'String.Element' (aka 'Character')
13 |
14 |   /// Filters the array to include only Interface Builder files.
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/Extensions/String/String+Source.swift:12:81: error: cannot convert value of type 'String' to expected argument type 'String.Element' (aka 'Character')
10 |   /// - Returns: An optional array of `String` containing only source file paths, or `nil` if no
11 |   /// source files are found.
12 |   public var sourceFiles: [String]? { filter { $0.contains(".m") || $0.contains(".swift") } }
   |                                                                                 `- error: cannot convert value of type 'String' to expected argument type 'String.Element' (aka 'Character')
13 |
14 |   /// Filters the array to include only Interface Builder files.
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/Extensions/String/String+Source.swift:22:57: error: cannot convert value of type 'String' to expected argument type 'String.Element' (aka 'Character')
20 |   /// - Returns: An optional array of `String` containing only Interface Builder file paths, or
21 |   /// `nil` if no such files are found.
22 |   public var nibFiles: [String]? { filter { $0.contains(".xib") || $0.contains(".storyboard") } }
   |                                                         `- error: cannot convert value of type 'String' to expected argument type 'String.Element' (aka 'Character')
23 |
24 |   /// Filters the array to include only Base Localization Interface Builder files.
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/Extensions/String/String+Source.swift:22:80: error: cannot convert value of type 'String' to expected argument type 'String.Element' (aka 'Character')
20 |   /// - Returns: An optional array of `String` containing only Interface Builder file paths, or
21 |   /// `nil` if no such files are found.
22 |   public var nibFiles: [String]? { filter { $0.contains(".xib") || $0.contains(".storyboard") } }
   |                                                                                `- error: cannot convert value of type 'String' to expected argument type 'String.Element' (aka 'Character')
23 |
24 |   /// Filters the array to include only Base Localization Interface Builder files.
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/Extensions/String/String+Source.swift:32:70: error: cannot convert value of type 'String' to expected argument type 'String.Element' (aka 'Character')
30 |   /// - Returns: An optional array of `String` containing only Base Localization Interface Builder
31 |   /// file paths, or `nil` if no such files are found.
32 |   public var baseLocalizedNibFiles: [String]? { filter { $0.contains("Base.lproj") } }
   |                                                                      `- error: cannot convert value of type 'String' to expected argument type 'String.Element' (aka 'Character')
33 |
34 |   /// Filters the array to include only non-localized and non-debug Interface Builder files.
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/Extensions/String/String+Source.swift:44:27: error: cannot convert value of type 'String' to expected argument type 'String.Element' (aka 'Character')
42 |   /// Builder file paths, or `nil` if no such files are found.
43 |   public var unlocalizedNibFiles: [String]? {
44 |     filter { !$0.contains("Base.lproj") && !$0.contains("Debug") }
   |                           `- error: cannot convert value of type 'String' to expected argument type 'String.Element' (aka 'Character')
45 |   }
46 | }
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/Extensions/String/String+Source.swift:44:57: error: cannot convert value of type 'String' to expected argument type 'String.Element' (aka 'Character')
42 |   /// Builder file paths, or `nil` if no such files are found.
43 |   public var unlocalizedNibFiles: [String]? {
44 |     filter { !$0.contains("Base.lproj") && !$0.contains("Debug") }
   |                                                         `- error: cannot convert value of type 'String' to expected argument type 'String.Element' (aka 'Character')
45 |   }
46 | }
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/AnyCodingKey.swift:20:29: error: 'CodingKey' is unavailable: unavailable in embedded Swift
18 | /// See also StackOverflow guidance on detecting empty JSON objects via keyed decoding:
19 | /// https://stackoverflow.com/questions/48943510/swift-codable-decode-empty-json-as-nil-or-empty-object
20 | public struct AnyCodingKey: CodingKey {
   |                             `- error: 'CodingKey' is unavailable: unavailable in embedded Swift
21 |   /// The dynamic string value of the key in JSON.
22 |   public var stringValue: String
Swift.CodingKey:2:17: note: 'CodingKey' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol CodingKey {
  |                 `- note: 'CodingKey' has been explicitly marked unavailable here
3 | }
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/DynamicCodingKey.swift:4:33: error: 'CodingKey' is unavailable: unavailable in embedded Swift
 2 | /// when encoding or decoding JSON.
 3 | /// Useful for working with dictionaries whose keys are not known at compile time.
 4 | public struct DynamicCodingKey: CodingKey {
   |                                 `- error: 'CodingKey' is unavailable: unavailable in embedded Swift
 5 |   /// The string value of the key. Required by `CodingKey`.
 6 |   public var stringValue: String
Swift.CodingKey:2:17: note: 'CodingKey' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol CodingKey {
  |                 `- note: 'CodingKey' has been explicitly marked unavailable here
3 | }
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/JSON+EmptyCodableStruct.swift:9:24: error: 'Decoder' is unavailable: unavailable in embedded Swift
 7 |     init() {}
 8 |
 9 |     init(from decoder: Decoder) throws {
   |                        `- error: 'Decoder' is unavailable: unavailable in embedded Swift
10 |       let container = try decoder.container(keyedBy: AnyCodingKey.self)
11 |       guard container.allKeys.isEmpty else {
Swift.Decoder:2:17: note: 'Decoder' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Decoder {
  |                 `- note: 'Decoder' has been explicitly marked unavailable here
3 |     var codingPath: [any CodingKey] { get }
4 |     func container<Key>(keyedBy type: Key.Type) throws -> KeyedDecodingContainer<Key> where Key : CodingKey
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/JSON+EmptyCodableStruct.swift:18:29: error: 'Encoder' is unavailable: unavailable in embedded Swift
16 |     }
17 |
18 |     func encode(to encoder: Encoder) throws {
   |                             `- error: 'Encoder' is unavailable: unavailable in embedded Swift
19 |       _ = encoder.container(keyedBy: AnyCodingKey.self)
20 |     }
Swift.Encoder:2:17: note: 'Encoder' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Encoder {
  |                 `- note: 'Encoder' has been explicitly marked unavailable here
3 |     var codingPath: [any CodingKey] { get }
4 |     func container<Key>(keyedBy type: Key.Type) -> KeyedEncodingContainer<Key> where Key : CodingKey
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/JSON+EmptyCodableStruct.swift:6:30: error: 'Codable' is unavailable: unavailable in embedded Swift
 4 |   /// Empty `Codable` used to validate `{}` objects when decoding.
 5 |   /// Decoding succeeds only if the underlying object has no keys.
 6 |   struct EmptyCodableStruct: Codable {
   |                              `- error: 'Codable' is unavailable: unavailable in embedded Swift
 7 |     init() {}
 8 |
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/JSON+EmptyCodableStruct.swift:11:23: error: value of type 'KeyedDecodingContainer<AnyCodingKey>' has no member 'allKeys'
 9 |     init(from decoder: Decoder) throws {
10 |       let container = try decoder.container(keyedBy: AnyCodingKey.self)
11 |       guard container.allKeys.isEmpty else {
   |                       `- error: value of type 'KeyedDecodingContainer<AnyCodingKey>' has no member 'allKeys'
12 |         throw DecodingError.dataCorrupted(
13 |           .init(codingPath: decoder.codingPath, debugDescription: "Expected empty object")
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/JSON+EmptyCodableStruct.swift:12:15: error: 'DecodingError' is unavailable: unavailable in embedded Swift
10 |       let container = try decoder.container(keyedBy: AnyCodingKey.self)
11 |       guard container.allKeys.isEmpty else {
12 |         throw DecodingError.dataCorrupted(
   |               `- error: 'DecodingError' is unavailable: unavailable in embedded Swift
13 |           .init(codingPath: decoder.codingPath, debugDescription: "Expected empty object")
14 |         )
Swift.DecodingError:2:13: note: 'DecodingError' has been explicitly marked unavailable here
 1 | @_unavailableInEmbedded
 2 | public enum DecodingError : Error {
   |             `- note: 'DecodingError' has been explicitly marked unavailable here
 3 |     public struct Context : Sendable {
 4 |         public init(codingPath: [any CodingKey], debugDescription: String, underlyingError: (any Error)? = nil)
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/KeyedDecodingContainer+FuzzyDecoding.swift:12:17: error: cannot find type 'Key' in scope
10 |   public func decodeArrayAllowingNullOrSingle<T>(
11 |     _ type: T.Type = T.self,
12 |     forKey key: Key
   |                 `- error: cannot find type 'Key' in scope
13 |   ) throws -> [T]? where T: Decodable {
14 |     guard contains(key) else {
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/KeyedDecodingContainer+FuzzyDecoding.swift:13:29: error: 'Decodable' is unavailable: unavailable in embedded Swift
11 |     _ type: T.Type = T.self,
12 |     forKey key: Key
13 |   ) throws -> [T]? where T: Decodable {
   |                             `- error: 'Decodable' is unavailable: unavailable in embedded Swift
14 |     guard contains(key) else {
15 |       throw DecodingError.dataCorruptedError(
Swift.Decodable:2:17: note: 'Decodable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Decodable {
  |                 `- note: 'Decodable' has been explicitly marked unavailable here
3 |     init(from decoder: any Decoder) throws
4 | }
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/KeyedDecodingContainer+FuzzyDecoding.swift:54:17: error: cannot find type 'Key' in scope
52 |   public func decodeAllowingNullOrEmptyObject<T>(
53 |     _ type: T.Type = T.self,
54 |     forKey key: Key
   |                 `- error: cannot find type 'Key' in scope
55 |   ) throws -> T? where T: Decodable {
56 |     guard contains(key) else {
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/KeyedDecodingContainer+FuzzyDecoding.swift:55:27: error: 'Decodable' is unavailable: unavailable in embedded Swift
53 |     _ type: T.Type = T.self,
54 |     forKey key: Key
55 |   ) throws -> T? where T: Decodable {
   |                           `- error: 'Decodable' is unavailable: unavailable in embedded Swift
56 |     guard contains(key) else {
57 |       return nil
Swift.Decodable:2:17: note: 'Decodable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Decodable {
  |                 `- note: 'Decodable' has been explicitly marked unavailable here
3 |     init(from decoder: any Decoder) throws
4 | }
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/KeyedDecodingContainer+FuzzyDecoding.swift:1:11: error: 'KeyedDecodingContainer' is unavailable: unavailable in embedded Swift
 1 | extension KeyedDecodingContainer {
   |           `- error: 'KeyedDecodingContainer' is unavailable: unavailable in embedded Swift
 2 |   /// Decodes a value for `key` that may be null, a single object,
 3 |   /// or an array of objects, returning a normalized optional array.
Swift.KeyedDecodingContainer:2:15: note: 'KeyedDecodingContainer' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public struct KeyedDecodingContainer<K> where K : CodingKey {
  |               `- note: 'KeyedDecodingContainer' has been explicitly marked unavailable here
3 | }
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/KeyedDecodingContainer+FuzzyDecoding.swift:14:11: error: cannot find 'contains' in scope
12 |     forKey key: Key
13 |   ) throws -> [T]? where T: Decodable {
14 |     guard contains(key) else {
   |           `- error: cannot find 'contains' in scope
15 |       throw DecodingError.dataCorruptedError(
16 |         forKey: key,
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/KeyedDecodingContainer+FuzzyDecoding.swift:15:27: error: type 'DecodingError' has no member 'dataCorruptedError'
13 |   ) throws -> [T]? where T: Decodable {
14 |     guard contains(key) else {
15 |       throw DecodingError.dataCorruptedError(
   |                           `- error: type 'DecodingError' has no member 'dataCorruptedError'
16 |         forKey: key,
17 |         in: self,
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/KeyedDecodingContainer+FuzzyDecoding.swift:22:12: error: cannot find 'decodeNil' in scope
20 |       )
21 |     }
22 |     if try decodeNil(forKey: key) {
   |            `- error: cannot find 'decodeNil' in scope
23 |       return nil
24 |     }
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/KeyedDecodingContainer+FuzzyDecoding.swift:27:18: error: cannot find 'decode' in scope
25 |     do {
26 |       // Try decoding as array
27 |       return try decode([T].self, forKey: key)
   |                  `- error: cannot find 'decode' in scope
28 |     } catch {
29 |       // Try decoding as single value
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/KeyedDecodingContainer+FuzzyDecoding.swift:33:27: error: type 'DecodingError' has no member 'dataCorruptedError'
31 |         return [single]
32 |       }
33 |       throw DecodingError.dataCorruptedError(
   |                           `- error: type 'DecodingError' has no member 'dataCorruptedError'
34 |         forKey: key,
35 |         in: self,
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/KeyedDecodingContainer+FuzzyDecoding.swift:56:11: error: cannot find 'contains' in scope
54 |     forKey key: Key
55 |   ) throws -> T? where T: Decodable {
56 |     guard contains(key) else {
   |           `- error: cannot find 'contains' in scope
57 |       return nil
58 |     }
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/KeyedDecodingContainer+FuzzyDecoding.swift:60:12: error: cannot find 'decodeNil' in scope
58 |     }
59 |
60 |     if try decodeNil(forKey: key) {
   |            `- error: cannot find 'decodeNil' in scope
61 |       return nil
62 |     }
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/KeyedDecodingContainer+FuzzyDecoding.swift:64:14: error: cannot find 'decode' in scope
62 |     }
63 |
64 |     if (try? decode(String.self, forKey: key)) == "null" {
   |              `- error: cannot find 'decode' in scope
65 |       return nil
66 |     }
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/KeyedDecodingContainer+FuzzyDecoding.swift:68:14: error: cannot find 'decode' in scope
66 |     }
67 |
68 |     if (try? decode(JSON.EmptyCodableStruct.self, forKey: key)) != nil {
   |              `- error: cannot find 'decode' in scope
69 |       return nil
70 |     }
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:42:8: error: Unsupported runtime
 40 | import Musl
 41 | #else
 42 | #error("Unsupported runtime")
    |        `- error: Unsupported runtime
 43 | #endif
 44 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:32:8: error: Unsupported runtime
  30 | import WASILibc
  31 | #else
  32 | #error("Unsupported runtime")
     |        `- error: Unsupported runtime
  33 | #endif
  34 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1270:16: error: Unsupported runtime
1268 |         let systemStderr = WASILibc.stderr!
1269 |         #else
1270 |         #error("Unsupported runtime")
     |                `- error: Unsupported runtime
1271 |         #endif
1272 |         return StdioOutputStream(file: systemStderr, flushMode: .always)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1290:16: error: Unsupported runtime
1288 |         let systemStdout = WASILibc.stdout!
1289 |         #else
1290 |         #error("Unsupported runtime")
     |                `- error: Unsupported runtime
1291 |         #endif
1292 |         return StdioOutputStream(file: systemStdout, flushMode: .always)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/MetadataProvider.swift:28:8: error: Unsupported runtime
 26 | import WASILibc
 27 | #else
 28 | #error("Unsupported runtime")
    |        `- error: Unsupported runtime
 29 | #endif
 30 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:58:49: error: cannot find type 'pthread_mutex_t' in scope
 56 |         UnsafeMutablePointer.allocate(capacity: 1)
 57 |     #else
 58 |     fileprivate let mutex: UnsafeMutablePointer<pthread_mutex_t> =
    |                                                 `- error: cannot find type 'pthread_mutex_t' in scope
 59 |         UnsafeMutablePointer.allocate(capacity: 1)
 60 |     #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:161:50: error: cannot find type 'pthread_rwlock_t' in scope
159 |     fileprivate var shared: Bool = true
160 |     #else
161 |     fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
    |                                                  `- error: cannot find type 'pthread_rwlock_t' in scope
162 |         UnsafeMutablePointer.allocate(capacity: 1)
163 |     #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:69:20: error: cannot find 'pthread_mutexattr_t' in scope
 67 |         InitializeSRWLock(self.mutex)
 68 |         #else
 69 |         var attr = pthread_mutexattr_t()
    |                    `- error: cannot find 'pthread_mutexattr_t' in scope
 70 |         pthread_mutexattr_init(&attr)
 71 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:70:9: error: cannot find 'pthread_mutexattr_init' in scope
 68 |         #else
 69 |         var attr = pthread_mutexattr_t()
 70 |         pthread_mutexattr_init(&attr)
    |         `- error: cannot find 'pthread_mutexattr_init' in scope
 71 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
 72 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:71:9: error: cannot find 'pthread_mutexattr_settype' in scope
 69 |         var attr = pthread_mutexattr_t()
 70 |         pthread_mutexattr_init(&attr)
 71 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
    |         `- error: cannot find 'pthread_mutexattr_settype' in scope
 72 |
 73 |         let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:71:48: error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
 69 |         var attr = pthread_mutexattr_t()
 70 |         pthread_mutexattr_init(&attr)
 71 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
    |                                                `- error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
 72 |
 73 |         let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:71:43: error: cannot infer contextual base in reference to member 'init'
 69 |         var attr = pthread_mutexattr_t()
 70 |         pthread_mutexattr_init(&attr)
 71 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
    |                                           `- error: cannot infer contextual base in reference to member 'init'
 72 |
 73 |         let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:73:19: error: cannot find 'pthread_mutex_init' in scope
 71 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
 72 |
 73 |         let err = pthread_mutex_init(self.mutex, &attr)
    |                   `- error: cannot find 'pthread_mutex_init' in scope
 74 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
 75 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:85:19: error: cannot find 'pthread_mutex_destroy' in scope
 83 |         self.mutex.deallocate()
 84 |         #else
 85 |         let err = pthread_mutex_destroy(self.mutex)
    |                   `- error: cannot find 'pthread_mutex_destroy' in scope
 86 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
 87 |         self.mutex.deallocate()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:101:19: error: cannot find 'pthread_mutex_lock' in scope
 99 |         AcquireSRWLockExclusive(self.mutex)
100 |         #else
101 |         let err = pthread_mutex_lock(self.mutex)
    |                   `- error: cannot find 'pthread_mutex_lock' in scope
102 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
103 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:116:19: error: cannot find 'pthread_mutex_unlock' in scope
114 |         ReleaseSRWLockExclusive(self.mutex)
115 |         #else
116 |         let err = pthread_mutex_unlock(self.mutex)
    |                   `- error: cannot find 'pthread_mutex_unlock' in scope
117 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
118 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:172:19: error: cannot find 'pthread_rwlock_init' in scope
170 |         InitializeSRWLock(self.rwlock)
171 |         #else
172 |         let err = pthread_rwlock_init(self.rwlock, nil)
    |                   `- error: cannot find 'pthread_rwlock_init' in scope
173 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
174 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:172:52: error: 'nil' requires a contextual type
170 |         InitializeSRWLock(self.rwlock)
171 |         #else
172 |         let err = pthread_rwlock_init(self.rwlock, nil)
    |                                                    `- error: 'nil' requires a contextual type
173 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
174 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:184:19: error: cannot find 'pthread_rwlock_destroy' in scope
182 |         self.rwlock.deallocate()
183 |         #else
184 |         let err = pthread_rwlock_destroy(self.rwlock)
    |                   `- error: cannot find 'pthread_rwlock_destroy' in scope
185 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
186 |         self.rwlock.deallocate()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:201:19: error: cannot find 'pthread_rwlock_rdlock' in scope
199 |         self.shared = true
200 |         #else
201 |         let err = pthread_rwlock_rdlock(self.rwlock)
    |                   `- error: cannot find 'pthread_rwlock_rdlock' in scope
202 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
203 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:217:19: error: cannot find 'pthread_rwlock_wrlock' in scope
215 |         self.shared = false
216 |         #else
217 |         let err = pthread_rwlock_wrlock(self.rwlock)
    |                   `- error: cannot find 'pthread_rwlock_wrlock' in scope
218 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
219 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:237:19: error: cannot find 'pthread_rwlock_unlock' in scope
235 |         }
236 |         #else
237 |         let err = pthread_rwlock_unlock(self.rwlock)
    |                   `- error: cannot find 'pthread_rwlock_unlock' in scope
238 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
239 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:847:32: error: 'Codable' is unavailable: unavailable in embedded Swift
 845 |     /// Log levels are ordered by their severity, with `.trace` being the least severe and
 846 |     /// `.critical` being the most severe.
 847 |     public enum Level: String, Codable, CaseIterable {
     |                                `- error: 'Codable' is unavailable: unavailable in embedded Swift
 848 |         /// Appropriate for messages that contain information normally of use only when
 849 |         /// tracing the execution of a program.
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1209:56: error: cannot find type 'FILE' in scope
1207 | internal typealias CFilePointer = OpaquePointer
1208 | #else
1209 | internal typealias CFilePointer = UnsafeMutablePointer<FILE>
     |                                                        `- error: cannot find type 'FILE' in scope
1210 | #endif
1211 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1272:40: error: cannot find 'systemStderr' in scope
1270 |         #error("Unsupported runtime")
1271 |         #endif
1272 |         return StdioOutputStream(file: systemStderr, flushMode: .always)
     |                                        `- error: cannot find 'systemStderr' in scope
1273 |     }()
1274 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1272:66: error: cannot infer contextual base in reference to member 'always'
1270 |         #error("Unsupported runtime")
1271 |         #endif
1272 |         return StdioOutputStream(file: systemStderr, flushMode: .always)
     |                                                                  `- error: cannot infer contextual base in reference to member 'always'
1273 |     }()
1274 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1292:40: error: cannot find 'systemStdout' in scope
1290 |         #error("Unsupported runtime")
1291 |         #endif
1292 |         return StdioOutputStream(file: systemStdout, flushMode: .always)
     |                                        `- error: cannot find 'systemStdout' in scope
1293 |     }()
1294 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1292:66: error: cannot infer contextual base in reference to member 'always'
1290 |         #error("Unsupported runtime")
1291 |         #endif
1292 |         return StdioOutputStream(file: systemStdout, flushMode: .always)
     |                                                                  `- error: cannot infer contextual base in reference to member 'always'
1293 |     }()
1294 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1226:13: error: cannot find 'flockfile' in scope
1224 |             // no file locking on WASI
1225 |             #else
1226 |             flockfile(self.file)
     |             `- error: cannot find 'flockfile' in scope
1227 |             #endif
1228 |             defer {
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1237:17: error: cannot find 'fwrite' in scope
1235 |                 #endif
1236 |             }
1237 |             _ = fwrite(utf8Bytes.baseAddress!, 1, utf8Bytes.count, self.file)
     |                 `- error: cannot find 'fwrite' in scope
1238 |             if case .always = self.flushMode {
1239 |                 self.flush()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1246:13: error: cannot find 'fflush' in scope
1244 |     /// Flush the underlying stream.
1245 |     internal func flush() {
1246 |         _ = fflush(self.file)
     |             `- error: cannot find 'fflush' in scope
1247 |     }
1248 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1447:25: error: cannot find 'time' in scope
1445 |         _ = strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", &localTime)
1446 |         #else
1447 |         var timestamp = time(nil)
     |                         `- error: cannot find 'time' in scope
1448 |         guard let localTime = localtime(&timestamp) else {
1449 |             return "<unknown>"
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1447:30: error: 'nil' requires a contextual type
1445 |         _ = strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", &localTime)
1446 |         #else
1447 |         var timestamp = time(nil)
     |                              `- error: 'nil' requires a contextual type
1448 |         guard let localTime = localtime(&timestamp) else {
1449 |             return "<unknown>"
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1448:31: error: cannot find 'localtime' in scope
1446 |         #else
1447 |         var timestamp = time(nil)
1448 |         guard let localTime = localtime(&timestamp) else {
     |                               `- error: cannot find 'localtime' in scope
1449 |             return "<unknown>"
1450 |         }
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1451:9: error: cannot find 'strftime' in scope
1449 |             return "<unknown>"
1450 |         }
1451 |         strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", localTime)
     |         `- error: cannot find 'strftime' in scope
1452 |         #endif
1453 |         return buffer.withUnsafeBufferPointer {
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1548:54: error: 'description' is unavailable: unavailable in embedded Swift
1546 |         switch self {
1547 |         case .dictionary(let dict):
1548 |             return dict.mapValues { $0.description }.description
     |                                                      `- error: 'description' is unavailable: unavailable in embedded Swift
1549 |         case .array(let list):
1550 |             return list.map { $0.description }.description
Swift.Dictionary.description:2:12: note: 'description' has been explicitly marked unavailable here
1 | generic struct Dictionary {
2 | public var description: String { get }}
  |            `- note: 'description' has been explicitly marked unavailable here
3 |
BUILD FAILURE 6.2 wasm