Build Information
Failed to build LastFMKit, reference 1.0.0 (a78b06), with Swift 6.3 for Wasm on 16 Apr 2026 13:20:31 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.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.3
Building package at path: $PWD
https://github.com/guitaripod/LastFMKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-log
[1/2277] Fetching swift-docc-plugin
[457/19800] Fetching swift-docc-plugin, swift-argument-parser
[2281/26388] Fetching swift-docc-plugin, swift-argument-parser, swift-log
Fetched https://github.com/apple/swift-docc-plugin from cache (0.43s)
[8160/24111] Fetching swift-argument-parser, swift-log
Fetched https://github.com/apple/swift-log from cache (0.60s)
[11916/17523] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.97s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.6 (3.47s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3672] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.56s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.39s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.1 (0.43s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.12.0 (0.69s)
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.6
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.12.0
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-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.7.1
[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/25] Emitting module ArgumentParserToolInfo
[12/25] Compiling Logging LogEvent.swift
[13/25] Compiling ArgumentParserToolInfo ToolInfo.swift
[15/26] Compiling Logging MetadataProvider.swift
[15/26] Wrapping AST for ArgumentParserToolInfo for debugging
[17/72] Compiling Logging LogHandler.swift
[18/72] Compiling Logging Locks.swift
[19/72] Emitting module Logging
[20/72] Compiling Logging Logging.swift
[21/73] Wrapping AST for Logging for debugging
[23/95] Emitting module ArgumentParser
error: emit-module command failed with exit code 1 (use -v to see invocation)
[24/95] 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 | }
[25/104] Compiling LastFMKit LastFMError.swift
/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:106:113: error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
104 | throw mapAPIError(apiError)
105 | }
106 | throw LastFMError.serverError(statusCode: httpResponse.statusCode, message: HTTPURLResponse.localizedString(forStatusCode: httpResponse.statusCode))
| `- error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
107 | }
108 | } catch {
[26/104] Compiling LastFMKit NetworkClient.swift
/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:106:113: error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
104 | throw mapAPIError(apiError)
105 | }
106 | throw LastFMError.serverError(statusCode: httpResponse.statusCode, message: HTTPURLResponse.localizedString(forStatusCode: httpResponse.statusCode))
| `- error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
107 | }
108 | } catch {
[27/104] Compiling LastFMKit Album.swift
/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:106:113: error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
104 | throw mapAPIError(apiError)
105 | }
106 | throw LastFMError.serverError(statusCode: httpResponse.statusCode, message: HTTPURLResponse.localizedString(forStatusCode: httpResponse.statusCode))
| `- error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
107 | }
108 | } catch {
[28/104] Compiling LastFMKit BaseAPI.swift
[29/104] Compiling LastFMKit ChartAPI.swift
[30/104] Compiling LastFMKit GeoAPI.swift
[31/104] Compiling LastFMKit AlbumAPI.swift
[32/104] Compiling LastFMKit ArtistAPI.swift
[33/104] Compiling LastFMKit AuthAPI.swift
[41/104] Compiling ArgumentParser InputOrigin.swift
[42/104] Compiling ArgumentParser Name.swift
[43/104] Compiling ArgumentParser Parsed.swift
[44/104] Compiling ArgumentParser ParsedValues.swift
[45/104] Compiling ArgumentParser ParserError.swift
[46/104] Compiling ArgumentParser SplitArguments.swift
[47/104] Compiling LastFMKit UserAPI.swift
[48/104] Compiling LastFMKit Endpoint.swift
[49/104] Compiling LastFMKit LastFMClient.swift
[50/104] Compiling LastFMKit LibraryAPI.swift
[51/104] Compiling LastFMKit TagAPI.swift
[52/104] Compiling LastFMKit TrackAPI.swift
[53/104] Compiling LastFMKit Common.swift
[54/104] Compiling LastFMKit Geo.swift
[55/104] Compiling LastFMKit Library.swift
[56/104] Compiling ArgumentParser Tree.swift
[57/104] Compiling ArgumentParser CodingKeyValidator.swift
[58/104] Compiling ArgumentParser NonsenseFlagsValidator.swift
[59/104] Compiling ArgumentParser ParsableArgumentsValidation.swift
[60/104] Compiling ArgumentParser PositionalArgumentsValidator.swift
[61/104] Compiling ArgumentParser UniqueNamesValidator.swift
[62/104] Compiling ArgumentParser Foundation.swift
[63/104] Compiling ArgumentParser Mutex.swift
[64/104] Compiling ArgumentParser Platform.swift
[65/104] Compiling ArgumentParser SequenceExtensions.swift
[66/104] Compiling ArgumentParser StringExtensions.swift
[67/104] Compiling ArgumentParser SwiftExtensions.swift
[68/104] Compiling ArgumentParser DumpHelpGenerator.swift
[69/104] Compiling ArgumentParser HelpCommand.swift
[70/104] Compiling ArgumentParser HelpGenerator.swift
[71/104] Compiling ArgumentParser MessageInfo.swift
[72/104] Compiling ArgumentParser UsageGenerator.swift
[73/104] Compiling ArgumentParser CollectionExtensions.swift
[79/104] Compiling LastFMKit Artist.swift
[80/104] Compiling LastFMKit Auth.swift
[83/104] Compiling LastFMKit Chart.swift
[84/104] Compiling LastFMKit Tag.swift
[85/104] Compiling LastFMKit Track.swift
[86/104] Compiling LastFMKit User.swift
[87/104] Compiling ArgumentParser ArgumentSet.swift
[88/104] Compiling ArgumentParser CommandParser.swift
[89/104] Compiling ArgumentParser InputKey.swift
[97/105] Wrapping AST for ArgumentParser for debugging
BUILD FAILURE 6.3 wasm