Build Information
Failed to build audd-swift, reference main (ee2bc4), with Swift 6.4 for Wasm on 14 Oct 2026 10:24:07 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344845-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.0-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/AudDMusic/audd-swift.git
Reference: main
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/AudDMusic/audd-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at ee2bc43 Release v1.5.21
Cloned https://github.com/AudDMusic/audd-swift.git
Revision (git rev-parse @):
ee2bc4337b498cb8c49b4c6f15bf7ab5c7b46c70
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/AudDMusic/audd-swift.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/AudDMusic/audd-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.0-RELEASE_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:d8610b27563fbed4643ddaec8e9397319e3b3e1372fc54686db2dacb952c1b8f
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/apple/swift-docc-plugin
[1/2345] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin (0.61s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.5.0 (1.54s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3838] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.78s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.00s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.5.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
Building for debugging...
[Constructing description]
[Planning deferred tasks]
[23 / 32] AudD
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line: cd /host
/host/spi-builder-workspace/Sources/AudD/AudD.swift:134:21: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m132 |[0;0m maxRetries: Int = 3,
[0;36m133 |[0;0m backoffFactor: Double = 0.5,
[0;36m134 |[0;0m urlSession: [4;39mURLSession[0;0m? = nil,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m135 |[0;0m enterpriseURLSession: URLSession? = nil,
[0;36m136 |[0;0m apiBase: URL = AudD.apiBase,
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/AudD/AudD.swift:135:31: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m133 |[0;0m backoffFactor: Double = 0.5,
[0;36m134 |[0;0m urlSession: URLSession? = nil,
[0;36m135 |[0;0m enterpriseURLSession: [4;39mURLSession[0;0m? = nil,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m136 |[0;0m apiBase: URL = AudD.apiBase,
[0;36m137 |[0;0m enterpriseBase: URL = AudD.enterpriseBase,
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/AudD/AudD.swift:172:21: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m170 |[0;0m maxRetries: Int = 3,
[0;36m171 |[0;0m backoffFactor: Double = 0.5,
[0;36m172 |[0;0m urlSession: [4;39mURLSession[0;0m? = nil,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m173 |[0;0m enterpriseURLSession: URLSession? = nil,
[0;36m174 |[0;0m apiBase: URL = AudD.apiBase,
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/AudD/AudD.swift:173:31: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m171 |[0;0m backoffFactor: Double = 0.5,
[0;36m172 |[0;0m urlSession: URLSession? = nil,
[0;36m173 |[0;0m enterpriseURLSession: [4;39mURLSession[0;0m? = nil,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m174 |[0;0m apiBase: URL = AudD.apiBase,
[0;36m175 |[0;0m enterpriseBase: URL = AudD.enterpriseBase,
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/AudD/HTTPClient.swift:34:45: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m32 |[0;0m let rawText: String
[0;36m33 |[0;0m
[0;36m34 |[0;0m static func parse(data: Data, response: [4;39mURLResponse[0;0m) -> HTTPResponseEnvelope {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m35 |[0;0m let httpResponse = response as? HTTPURLResponse
[0;36m36 |[0;0m let status = httpResponse?.statusCode ?? 0
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/AudD/HTTPClient.swift:60:26: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m58 |[0;0m private var _apiToken: String
[0;36m59 |[0;0m private let tokenLock = NSLock()
[0;36m60 |[0;0m private let session: [4;39mURLSession[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m61 |[0;0m private let timeouts: HTTPRequestTimeouts
[0;36m62 |[0;0m private let ownsSession: Bool
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/AudD/HTTPClient.swift:64:83: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m62 |[0;0m private let ownsSession: Bool
[0;36m63 |[0;0m
[0;36m64 |[0;0m init(apiToken: String, timeouts: HTTPRequestTimeouts = .standard, urlSession: [4;39mURLSession[0;0m? = nil) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m65 |[0;0m self._apiToken = apiToken
[0;36m66 |[0;0m self.timeouts = timeouts
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/AudD/HTTPClient.swift:159:36: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m157 |[0;0m }
[0;36m158 |[0;0m
[0;36m159 |[0;0m private func dataTask(request: [4;39mURLRequest[0;0m) async throws -> (Data, URLResponse) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m160 |[0;0m // Linux Foundation through Swift 5.10 lacks the throwing async URLSession.data(for:).
[0;36m161 |[0;0m // Bridge to a continuation manually for portability.
/host/spi-builder-workspace/Sources/AudD/HTTPClient.swift:159:71: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m157 |[0;0m }
[0;36m158 |[0;0m
[0;36m159 |[0;0m private func dataTask(request: URLRequest) async throws -> (Data, [4;39mURLResponse[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m160 |[0;0m // Linux Foundation through Swift 5.10 lacks the throwing async URLSession.data(for:).
[0;36m161 |[0;0m // Bridge to a continuation manually for portability.
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/AudD/LongpollConsumer.swift:36:26: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m34 |[0;0m
[0;36m35 |[0;0m private let category: String
[0;36m36 |[0;0m private let session: [4;39mURLSession[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m37 |[0;0m private let ownsSession: Bool
[0;36m38 |[0;0m private let policy: RetryPolicy
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/AudD/LongpollConsumer.swift:43:21: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m41 |[0;0m public init(
[0;36m42 |[0;0m category: String,
[0;36m43 |[0;0m urlSession: [4;39mURLSession[0;0m? = nil,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m44 |[0;0m maxRetries: Int = 3,
[0;36m45 |[0;0m backoffFactor: Double = 0.5,
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/AudD/LongpollConsumer.swift:93:37: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m91 |[0;0m }
[0;36m92 |[0;0m
[0;36m93 |[0;0m private func fetchLongpoll(session: [4;39mURLSession[0;0m, endpoint: URL, params: [String: String]) async throws -> HTTPResponseEnvelope {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m94 |[0;0m var components = URLComponents(url: endpoint, resolvingAgainstBaseURL: false)!
[0;36m95 |[0;0m components.queryItems = params.map { URLQueryItem(name: $0.key, value: $0.value) }
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/AudD/Advanced.swift /host/spi-builder-workspace/Sources/AudD/AnyCodable.swift /host/spi-builder-workspace/Sources/AudD/AudD.swift /host/spi-builder-workspace/Sources/AudD/CustomCatalog.swift /host/spi-builder-workspace/Sources/AudD/Errors.swift /host/spi-builder-workspace/Sources/AudD/HTTPClient.swift /host/spi-builder-workspace/Sources/AudD/Logger.swift /host/spi-builder-workspace/Sources/AudD/LongpollConsumer.swift /host/spi-builder-workspace/Sources/AudD/MD5.swift /host/spi-builder-workspace/Sources/AudD/Models.swift /host/spi-builder-workspace/Sources/AudD/RetryPolicy.swift /host/spi-builder-workspace/Sources/AudD/Source.swift /host/spi-builder-workspace/Sources/AudD/Streams.swift /host/spi-builder-workspace/Sources/AudD/UserAgent.swift /host/spi-builder-workspace/Sources/AudD/Version.swift -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk -I /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature StrictConcurrency -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/audd-swift.build/Debug-webassembly-wasm32/AudD-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/audd-swift.build/Debug-webassembly-wasm32/AudD-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/audd-swift.build/Debug-webassembly-wasm32/AudD-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name AudD -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/audd-swift.build/Debug-webassembly-wasm32/AudD-t.build/Objects-normal/wasm32/AudD_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/audd-swift.build/Debug-webassembly-wasm32/AudD-t.build/Objects-normal/wasm32/Modules/AudD.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/audd-swift.build/Debug-webassembly-wasm32/AudD-t.build/Objects-normal/wasm32/Modules/AudD.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/audd-swift.build/Debug-webassembly-wasm32/AudD-t.build/Objects-normal/wasm32/AudD-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/audd-swift.build/Debug-webassembly-wasm32/AudD-t.build/Objects-normal/wasm32/AudD-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/audd-swift.build/Debug-webassembly-wasm32/AudD-t.build/Objects-normal/wasm32/AudD-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/audd-swift.build/Debug-webassembly-wasm32/AudD-t.build/Objects-normal/wasm32/Modules/AudD.swiftmodule
[31 / 40] AudD
error: Build failed
BUILD FAILURE 6.4 wasm