The Swift Package Index logo.Swift Package Index

Build Information

Failed to build LastFMKit, reference master (90c9fc), with Swift 6.3 for Wasm on 16 Apr 2026 13:20:29 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/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/guitaripod/LastFMKit.git
Reference: master
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
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 90c9fc3 Update GitHub username from marcusziade to guitaripod
Cloned https://github.com/guitaripod/LastFMKit.git
Revision (git rev-parse @):
90c9fc390a5c8a49a390e8bcd9acaba88cc6ffcf
SUCCESS checkout https://github.com/guitaripod/LastFMKit.git at master
========================================
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-2":/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-log
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-docc-plugin
[1/2277] Fetching swift-docc-plugin
[229/19800] Fetching swift-docc-plugin, swift-argument-parser
[1509/26388] Fetching swift-docc-plugin, swift-argument-parser, swift-log
Fetched https://github.com/apple/swift-docc-plugin from cache (2.27s)
Fetched https://github.com/apple/swift-log from cache (2.37s)
Fetched https://github.com/apple/swift-argument-parser from cache (2.38s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.6 (5.40s)
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.46s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.09s)
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.42s)
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-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/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 ArgumentParserToolInfo ToolInfo.swift
[13/26] Compiling Logging MetadataProvider.swift
[14/26] Emitting module Logging
[15/26] Compiling Logging Locks.swift
[16/26] Wrapping AST for ArgumentParserToolInfo for debugging
[18/72] Compiling Logging Logging.swift
[19/72] Compiling Logging LogEvent.swift
[20/72] Compiling Logging LogHandler.swift
[21/73] Wrapping AST for Logging for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[23/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 |     }
[24/98] Emitting module ArgumentParser
[25/104] Compiling LastFMKit ArtistAPI.swift
[26/104] Compiling LastFMKit AuthAPI.swift
[27/104] Compiling LastFMKit Tag.swift
[28/104] Compiling LastFMKit Track.swift
[29/104] Compiling LastFMKit User.swift
[30/104] Compiling ArgumentParser SwiftExtensions.swift
[31/104] Compiling LastFMKit BaseAPI.swift
[32/104] Compiling LastFMKit ChartAPI.swift
[33/104] Compiling LastFMKit GeoAPI.swift
[34/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 {
[35/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 {
[36/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 {
[37/104] Compiling LastFMKit UserAPI.swift
[38/104] Compiling LastFMKit Endpoint.swift
[39/104] Compiling LastFMKit LastFMClient.swift
[40/104] Compiling LastFMKit LibraryAPI.swift
[41/104] Compiling LastFMKit TagAPI.swift
[42/104] Compiling LastFMKit TrackAPI.swift
[43/104] Compiling ArgumentParser ParentCommand.swift
[44/104] Compiling ArgumentParser AsyncParsableCommand.swift
[45/104] Compiling ArgumentParser CommandConfiguration.swift
[46/104] Compiling ArgumentParser CommandGroup.swift
[47/104] Compiling ArgumentParser EnumerableFlag.swift
[48/104] Compiling ArgumentParser ExpressibleByArgument.swift
[49/104] Compiling ArgumentParser ParsableArguments.swift
[50/104] Compiling ArgumentParser InputOrigin.swift
[51/104] Compiling ArgumentParser Name.swift
[52/104] Compiling ArgumentParser Parsed.swift
[53/104] Compiling ArgumentParser ParsedValues.swift
[54/104] Compiling ArgumentParser ParserError.swift
[55/104] Compiling ArgumentParser SplitArguments.swift
[56/104] Compiling ArgumentParser ArgumentVisibility.swift
[57/104] Compiling ArgumentParser CompletionKind.swift
[58/104] Compiling ArgumentParser Errors.swift
[59/104] Compiling ArgumentParser Flag.swift
[60/104] Compiling ArgumentParser NameSpecification.swift
[61/104] Compiling ArgumentParser Option.swift
[62/104] Compiling ArgumentParser OptionGroup.swift
[63/104] Compiling LastFMKit Common.swift
[64/104] Compiling LastFMKit Geo.swift
[65/104] Compiling LastFMKit Library.swift
[66/104] Compiling ArgumentParser Tree.swift
[67/104] Compiling ArgumentParser CodingKeyValidator.swift
[68/104] Compiling ArgumentParser NonsenseFlagsValidator.swift
[69/104] Compiling ArgumentParser ParsableArgumentsValidation.swift
[70/104] Compiling ArgumentParser PositionalArgumentsValidator.swift
[71/104] Compiling ArgumentParser UniqueNamesValidator.swift
[72/104] Compiling LastFMKit AlbumAPI.swift
[75/104] Compiling LastFMKit Artist.swift
[76/104] Compiling LastFMKit Auth.swift
[77/104] Compiling LastFMKit Chart.swift
[97/105] Wrapping AST for ArgumentParser for debugging
BUILD FAILURE 6.3 wasm