Build Information
Failed to build LastFMKit, reference 1.0.0 (a78b06
), with Swift 6.1 for Wasm on 13 Jul 2025 11:24:39 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/guitaripod/LastFMKit.git
Reference: 1.0.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/guitaripod/LastFMKit
* tag 1.0.0 -> FETCH_HEAD
HEAD is now at a78b061 Enhance DocC documentation for core components
Cloned https://github.com/guitaripod/LastFMKit.git
Revision (git rev-parse @):
a78b061a20c04db0f17307c956f4a749ce7717ce
SUCCESS checkout https://github.com/guitaripod/LastFMKit.git at 1.0.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/guitaripod/LastFMKit.git
https://github.com/guitaripod/LastFMKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.5.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log"
},
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
}
],
"manifest_display_name" : "LastFMKit",
"name" : "LastFMKit",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "tvos",
"version" : "16.0"
},
{
"name" : "watchos",
"version" : "9.0"
}
],
"products" : [
{
"name" : "LastFMKit",
"targets" : [
"LastFMKit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "lastfm-cli",
"targets" : [
"LastFMCLI"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "LastFMKitTests",
"module_type" : "SwiftTarget",
"name" : "LastFMKitTests",
"path" : "Tests/LastFMKitTests",
"resources" : [
{
"path" : "/host/spi-builder-workspace/Tests/LastFMKitTests/Resources/README.md",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"BasicTests.swift"
],
"target_dependencies" : [
"LastFMKit"
],
"type" : "test"
},
{
"c99name" : "LastFMKit",
"module_type" : "SwiftTarget",
"name" : "LastFMKit",
"path" : "Sources/LastFMKit",
"product_dependencies" : [
"Logging"
],
"product_memberships" : [
"LastFMKit",
"lastfm-cli"
],
"sources" : [
"API/AlbumAPI.swift",
"API/ArtistAPI.swift",
"API/AuthAPI.swift",
"API/BaseAPI.swift",
"API/ChartAPI.swift",
"API/GeoAPI.swift",
"API/LibraryAPI.swift",
"API/TagAPI.swift",
"API/TrackAPI.swift",
"API/UserAPI.swift",
"Core/Endpoint.swift",
"Core/LastFMClient.swift",
"Core/LastFMError.swift",
"Core/NetworkClient.swift",
"Models/Album.swift",
"Models/Artist.swift",
"Models/Auth.swift",
"Models/Chart.swift",
"Models/Common.swift",
"Models/Geo.swift",
"Models/Library.swift",
"Models/Tag.swift",
"Models/Track.swift",
"Models/User.swift"
],
"type" : "library"
},
{
"c99name" : "LastFMCLI",
"module_type" : "SwiftTarget",
"name" : "LastFMCLI",
"path" : "Sources/LastFMCLI",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"lastfm-cli"
],
"sources" : [
"AlbumCommands.swift",
"AuthCommands.swift",
"ChartCommands.swift",
"ConfigCommands.swift",
"ConfigManager.swift",
"GeoCommands.swift",
"LastFMCLI.swift",
"LibraryCommands.swift",
"MyCommands.swift",
"TagCommands.swift",
"TrackCommands.swift",
"UserCommands.swift"
],
"target_dependencies" : [
"LastFMKit"
],
"type" : "executable"
}
],
"tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-log
Fetching https://github.com/apple/swift-docc-plugin
[1/3854] Fetching swift-log
[271/5948] Fetching swift-log, swift-docc-plugin
[5949/21472] Fetching swift-log, swift-docc-plugin, swift-argument-parser
Fetched https://github.com/apple/swift-log from cache (0.95s)
Fetched https://github.com/apple/swift-docc-plugin from cache (0.95s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.96s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (3.32s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3425] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.42s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.10s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.1 (0.55s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.3 (0.59s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.6.1
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.3
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.5
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin GenerateManual
[4/4] Compiling plugin GenerateDoccReference
Building for debugging...
[4/17] Write sources
[9/17] Write swift-version-24593BA9C3E375BF.txt
[11/24] Emitting module ArgumentParserToolInfo
[12/24] Compiling ArgumentParserToolInfo ToolInfo.swift
[14/25] Emitting module Logging
[15/25] Compiling Logging Locks.swift
[16/25] Compiling Logging MetadataProvider.swift
[17/25] Compiling Logging LogHandler.swift
[18/25] Compiling Logging Logging.swift
[18/29] Wrapping AST for ArgumentParserToolInfo for debugging
[20/70] Wrapping AST for Logging for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[22/92] Emitting module LastFMKit
/host/spi-builder-workspace/Sources/LastFMKit/Core/LastFMClient.swift:240:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ClientConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
203 | /// let client = LastFMClient(configuration: configuration)
204 | /// ```
205 | public struct ClientConfiguration {
| `- note: consider making struct 'ClientConfiguration' conform to the 'Sendable' protocol
206 | /// The base URL for API requests.
207 | /// Default: `https://lastfm-proxy-worker.guitaripod.workers.dev`
:
238 | /// - Timeout: 30 seconds
239 | /// - Retry Policy: Exponential backoff with 3 retries
240 | public static let `default` = ClientConfiguration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ClientConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
241 | }
/host/spi-builder-workspace/Sources/LastFMKit/Core/NetworkClient.swift:13:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 |
12 | public actor NetworkClient: NetworkClientProtocol {
13 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | private let logger: Logger
15 | private let configuration: NetworkConfiguration
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LastFMKit/Core/NetworkClient.swift:31:17: warning: non-sendable type 'T' cannot be returned from actor-isolated implementation to caller of protocol requirement 'request'; this is an error in the Swift 6 language mode
29 | }
30 |
31 | public func request<T: Decodable>(_ endpoint: Endpoint) async throws -> T {
| | `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
| `- warning: non-sendable type 'T' cannot be returned from actor-isolated implementation to caller of protocol requirement 'request'; this is an error in the Swift 6 language mode
32 | let data = try await request(endpoint)
33 |
/host/spi-builder-workspace/Sources/LastFMKit/Core/NetworkClient.swift:31:17: warning: non-sendable parameter type 'Endpoint' cannot be sent from caller of protocol requirement 'request' into actor-isolated implementation; this is an error in the Swift 6 language mode
29 | }
30 |
31 | public func request<T: Decodable>(_ endpoint: Endpoint) async throws -> T {
| `- warning: non-sendable parameter type 'Endpoint' cannot be sent from caller of protocol requirement 'request' into actor-isolated implementation; this is an error in the Swift 6 language mode
32 | let data = try await request(endpoint)
33 |
/host/spi-builder-workspace/Sources/LastFMKit/Core/Endpoint.swift:3:15: note: consider making struct 'Endpoint' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Endpoint {
| `- note: consider making struct 'Endpoint' conform to the 'Sendable' protocol
4 | public let path: String
5 | public let method: HTTPMethod
/host/spi-builder-workspace/Sources/LastFMKit/Core/NetworkClient.swift:46:17: warning: non-sendable parameter type 'Endpoint' cannot be sent from caller of protocol requirement 'request' into actor-isolated implementation; this is an error in the Swift 6 language mode
44 | }
45 |
46 | public func request(_ endpoint: Endpoint) async throws -> Data {
| `- warning: non-sendable parameter type 'Endpoint' cannot be sent from caller of protocol requirement 'request' into actor-isolated implementation; this is an error in the Swift 6 language mode
47 | guard let url = endpoint.url else {
48 | throw LastFMError.invalidURL
/host/spi-builder-workspace/Sources/LastFMKit/Core/Endpoint.swift:3:15: note: consider making struct 'Endpoint' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Endpoint {
| `- note: consider making struct 'Endpoint' conform to the 'Sendable' protocol
4 | public let path: String
5 | public let method: HTTPMethod
/host/spi-builder-workspace/Sources/LastFMKit/Core/NetworkClient.swift:171:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'NetworkConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
160 | }
161 |
162 | public struct NetworkConfiguration {
| `- note: consider making struct 'NetworkConfiguration' conform to the 'Sendable' protocol
163 | public let timeout: TimeInterval
164 | public let retryPolicy: RetryPolicy
:
169 | }
170 |
171 | public static let `default` = NetworkConfiguration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'NetworkConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
172 | }
173 |
/host/spi-builder-workspace/Sources/LastFMKit/Core/NetworkClient.swift:20:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
18 | self.configuration = configuration
19 |
20 | let sessionConfig = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
21 | sessionConfig.timeoutIntervalForRequest = configuration.timeout
22 | sessionConfig.timeoutIntervalForResource = configuration.timeout * 2
/host/spi-builder-workspace/Sources/LastFMKit/Core/NetworkClient.swift:27:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
25 | #endif
26 |
27 | self.session = URLSession(configuration: sessionConfig)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
28 | self.logger = Logger(label: "LastFMKit.NetworkClient")
29 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[23/95] Emitting module ArgumentParser
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[24/101] Compiling ArgumentParser Tree.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[25/101] Compiling ArgumentParser CodingKeyValidator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[26/101] Compiling ArgumentParser NonsenseFlagsValidator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[27/101] Compiling ArgumentParser ParsableArgumentsValidation.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[28/101] Compiling ArgumentParser PositionalArgumentsValidator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[29/101] Compiling ArgumentParser UniqueNamesValidator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[30/101] Compiling ArgumentParser ArgumentVisibility.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[31/101] Compiling ArgumentParser CompletionKind.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[32/101] Compiling ArgumentParser Errors.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[33/101] Compiling ArgumentParser Flag.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[34/101] Compiling ArgumentParser NameSpecification.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[35/101] Compiling ArgumentParser Option.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[36/101] Compiling ArgumentParser CollectionExtensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[37/101] Compiling ArgumentParser Mutex.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[38/101] Compiling ArgumentParser Platform.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[39/101] Compiling ArgumentParser SequenceExtensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[40/101] Compiling ArgumentParser StringExtensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[41/101] Compiling ArgumentParser SwiftExtensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[42/101] Compiling LastFMKit AlbumAPI.swift
[43/101] Compiling LastFMKit ArtistAPI.swift
[44/101] Compiling LastFMKit AuthAPI.swift
[45/101] Compiling ArgumentParser InputKey.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[46/101] Compiling ArgumentParser InputOrigin.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[47/101] Compiling ArgumentParser Name.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[48/101] Compiling ArgumentParser Parsed.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[49/101] Compiling ArgumentParser ParsedValues.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[50/101] Compiling ArgumentParser ParserError.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[54/101] Compiling LastFMKit BaseAPI.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[55/101] Compiling LastFMKit ChartAPI.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[56/101] Compiling LastFMKit GeoAPI.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[57/101] Compiling LastFMKit LibraryAPI.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[58/101] Compiling LastFMKit TagAPI.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[59/101] Compiling LastFMKit TrackAPI.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[60/101] Compiling LastFMKit UserAPI.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[61/101] Compiling LastFMKit Endpoint.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[62/101] Compiling LastFMKit LastFMClient.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[63/101] Compiling LastFMKit NetworkClient.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[64/101] Compiling LastFMKit Album.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[65/101] Compiling LastFMKit Tag.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[66/101] Compiling LastFMKit Track.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[67/101] Compiling LastFMKit User.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[68/101] Compiling ArgumentParser ExpressibleByArgument.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[69/101] Compiling LastFMKit Common.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[70/101] Compiling LastFMKit Geo.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[71/101] Compiling LastFMKit Library.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[72/101] Compiling LastFMKit Artist.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[73/101] Compiling LastFMKit Auth.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[74/101] Compiling LastFMKit Chart.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[75/101] Compiling LastFMKit LastFMError.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin GenerateManual
[4/4] Compiling plugin GenerateDoccReference
Building for debugging...
[4/12] Write swift-version-24593BA9C3E375BF.txt
[6/19] Emitting module ArgumentParserToolInfo
[7/19] Compiling Logging MetadataProvider.swift
[8/19] Compiling ArgumentParserToolInfo ToolInfo.swift
[10/19] Compiling Logging Locks.swift
[11/19] Emitting module Logging
[12/19] Compiling Logging Logging.swift
[13/19] Compiling Logging LogHandler.swift
[14/64] Wrapping AST for Logging for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/86] Emitting module LastFMKit
/host/spi-builder-workspace/Sources/LastFMKit/Core/NetworkClient.swift:13:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 |
12 | public actor NetworkClient: NetworkClientProtocol {
13 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | private let logger: Logger
15 | private let configuration: NetworkConfiguration
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LastFMKit/Core/NetworkClient.swift:20:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
18 | self.configuration = configuration
19 |
20 | let sessionConfig = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
21 | sessionConfig.timeoutIntervalForRequest = configuration.timeout
22 | sessionConfig.timeoutIntervalForResource = configuration.timeout * 2
/host/spi-builder-workspace/Sources/LastFMKit/Core/NetworkClient.swift:27:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
25 | #endif
26 |
27 | self.session = URLSession(configuration: sessionConfig)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
28 | self.logger = Logger(label: "LastFMKit.NetworkClient")
29 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/89] Emitting module ArgumentParser
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[18/95] Compiling ArgumentParser CollectionExtensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[19/95] Compiling ArgumentParser Mutex.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[20/95] Compiling ArgumentParser Platform.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[21/95] Compiling ArgumentParser SequenceExtensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[22/95] Compiling ArgumentParser StringExtensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[23/95] Compiling ArgumentParser SwiftExtensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[24/95] Compiling ArgumentParser InputKey.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[25/95] Compiling ArgumentParser InputOrigin.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[26/95] Compiling ArgumentParser Name.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[27/95] Compiling ArgumentParser Parsed.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[28/95] Compiling ArgumentParser ParsedValues.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[29/95] Compiling ArgumentParser ParserError.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[30/95] Compiling ArgumentParser SplitArguments.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[31/95] Compiling ArgumentParser DumpHelpGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[32/95] Compiling ArgumentParser HelpCommand.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[33/95] Compiling ArgumentParser HelpGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[34/95] Compiling ArgumentParser MessageInfo.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[35/95] Compiling ArgumentParser UsageGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[36/95] Compiling ArgumentParser Tree.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[37/95] Compiling ArgumentParser CodingKeyValidator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[38/95] Compiling ArgumentParser NonsenseFlagsValidator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[39/95] Compiling ArgumentParser ParsableArgumentsValidation.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[40/95] Compiling ArgumentParser PositionalArgumentsValidator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[41/95] Compiling ArgumentParser UniqueNamesValidator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[42/95] Compiling LastFMKit UserAPI.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[43/95] Compiling LastFMKit Endpoint.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[44/95] Compiling LastFMKit LastFMClient.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[45/95] Compiling LastFMKit BaseAPI.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[46/95] Compiling LastFMKit ChartAPI.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[47/95] Compiling LastFMKit GeoAPI.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[48/95] Compiling LastFMKit Geo.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[49/95] Compiling LastFMKit Library.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[50/95] Compiling LastFMKit Tag.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[51/95] Compiling LastFMKit Track.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[52/95] Compiling LastFMKit User.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[53/95] Compiling ArgumentParser ExpressibleByArgument.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[54/95] Compiling LastFMKit LastFMError.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[55/95] Compiling LastFMKit NetworkClient.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[56/95] Compiling LastFMKit Album.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[57/95] Compiling LastFMKit Artist.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[58/95] Compiling LastFMKit Auth.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[59/95] Compiling LastFMKit Chart.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[60/95] Compiling LastFMKit Common.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[61/95] Compiling LastFMKit LibraryAPI.swift
[62/95] Compiling LastFMKit TagAPI.swift
[63/95] Compiling LastFMKit TrackAPI.swift
[64/95] Compiling LastFMKit AlbumAPI.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[65/95] Compiling LastFMKit ArtistAPI.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[66/95] Compiling LastFMKit AuthAPI.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
/host/spi-builder-workspace/Sources/LastFMKit/Core/NetworkClient.swift:13:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 |
12 | public actor NetworkClient: NetworkClientProtocol {
13 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | private let logger: Logger
15 | private let configuration: NetworkConfiguration
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LastFMKit/Core/NetworkClient.swift:20:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
18 | self.configuration = configuration
19 |
20 | let sessionConfig = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
21 | sessionConfig.timeoutIntervalForRequest = configuration.timeout
22 | sessionConfig.timeoutIntervalForResource = configuration.timeout * 2
/host/spi-builder-workspace/Sources/LastFMKit/Core/NetworkClient.swift:27:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
25 | #endif
26 |
27 | self.session = URLSession(configuration: sessionConfig)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
28 | self.logger = Logger(label: "LastFMKit.NetworkClient")
29 | }
/host/spi-builder-workspace/Sources/LastFMKit/Core/NetworkClient.swift:51:23: error: cannot find 'URLRequest' in scope
49 | }
50 |
51 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
52 | request.httpMethod = endpoint.method.rawValue
53 | endpoint.headers.forEach { request.setValue($0.value, forHTTPHeaderField: $0.key) }
/host/spi-builder-workspace/Sources/LastFMKit/Core/NetworkClient.swift:73:40: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
71 | logger.debug("Making request to: \(url)")
72 | let (data, response) = try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<(Data, URLResponse), Error>) in
73 | let task = session.dataTask(with: request) { data, response, error in
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
74 | if let error = error {
75 | continuation.resume(throwing: error)
/host/spi-builder-workspace/Sources/LastFMKit/Core/NetworkClient.swift:77:67: error: value of type '_' expected to be instance of class or class-constrained type
75 | continuation.resume(throwing: error)
76 | } else if let data = data, let response = response {
77 | continuation.resume(returning: (data, response))
| `- error: value of type '_' expected to be instance of class or class-constrained type
78 | } else {
79 | continuation.resume(throwing: URLError(.unknown))
BUILD FAILURE 6.1 wasm