Build Information
Failed to build WikipediaKit, reference main (a601bf), with Swift 6.4 for Wasm on 18 Sep 2026 10:17:15 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886770-0":/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.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/raureif/wikipediakit.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/raureif/wikipediakit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at a601bfc Update README with info on the breaking API change.
Cloned https://github.com/raureif/wikipediakit.git
Revision (git rev-parse @):
a601bfc2b66d86a33bb4e3c911a734b951be77b6
SUCCESS checkout https://github.com/raureif/wikipediakit.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/raureif/wikipediakit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-0":/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.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Building for debugging...
[Planning deferred tasks]
[27 / 35] WikipediaKit
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line: cd /host
/host/spi-builder-workspace/Sources/Wikipedia+Article.swift:42:12: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m40 |[0;0m imageWidth: Int,
[0;36m41 |[0;0m completion: @escaping (Result<WikipediaArticle, WikipediaError>)->())
[0;36m42 |[0;0m -> [4;39mURLSessionDataTask[0;0m? {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m43 |[0;0m
[0;36m44 |[0;0m
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Wikipedia+ArticleSummary.swift:40:12: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m38 |[0;0m title: String,
[0;36m39 |[0;0m completion: @escaping (WikipediaArticlePreview?, WikipediaError?)->())
[0;36m40 |[0;0m -> [4;39mURLSessionDataTask[0;0m? {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m41 |[0;0m
[0;36m42 |[0;0m let title = title.wikipediaURLEncodedString(encodeSlashes: true)
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Wikipedia+Featured.swift:40:12: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m38 |[0;0m date: Date,
[0;36m39 |[0;0m completion: @escaping (Result<WikipediaFeatured, WikipediaError>) -> ())
[0;36m40 |[0;0m -> [4;39mURLSessionDataTask[0;0m? {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m41 |[0;0m
[0;36m42 |[0;0m let dateFormatter = DateFormatter()
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Wikipedia+ImageMeta.swift:41:12: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m39 |[0;0m width: Int? = nil,
[0;36m40 |[0;0m completion: @escaping ([WikipediaImage]?, WikipediaError?) -> ())
[0;36m41 |[0;0m -> [4;39mURLSessionDataTask[0;0m? {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m42 |[0;0m
[0;36m43 |[0;0m guard let firstURL = urls.first,
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Wikipedia+ImageMeta.swift:70:12: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m68 |[0;0m width: Int? = nil,
[0;36m69 |[0;0m completion: @escaping ([WikipediaImage]?, WikipediaError?) -> ())
[0;36m70 |[0;0m -> [4;39mURLSessionDataTask[0;0m? {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m71 |[0;0m
[0;36m72 |[0;0m let idsParameter = ids.joined(separator: "|")
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Wikipedia+Languages.swift:39:12: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m37 |[0;0m public func requestAvailableLanguages(for article: WikipediaArticle,
[0;36m38 |[0;0m completion: @escaping (WikipediaArticle, WikipediaError?)->())
[0;36m39 |[0;0m -> [4;39mURLSessionDataTask[0;0m? {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m40 |[0;0m
[0;36m41 |[0;0m guard article.languageLinks == nil, // has not been populated previously
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Wikipedia+NearbySearch.swift:46:12: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m44 |[0;0m loadExtracts: Bool = false,
[0;36m45 |[0;0m completion: @escaping ([WikipediaArticlePreview]?, WikipediaLanguage, WikipediaError?) -> ())
[0;36m46 |[0;0m -> [4;39mURLSessionDataTask[0;0m? {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m47 |[0;0m
[0;36m48 |[0;0m if imageWidth == 0 {
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Wikipedia+RandomArticles.swift:42:8: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m40 |[0;0m loadExtracts: Bool = false,
[0;36m41 |[0;0m completion: @escaping (WikipediaArticlePreview?, WikipediaLanguage, WikipediaError?)-> ())
[0;36m42 |[0;0m -> [4;39mURLSessionDataTask[0;0m? {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m43 |[0;0m if WikipediaRandomArticlesBuffer.shared.language == language,
[0;36m44 |[0;0m let nextArticlePreview = WikipediaRandomArticlesBuffer.shared.nextArticlePreview() {
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Wikipedia+RandomArticles.swift:72:8: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m70 |[0;0m loadExtracts: Bool = false,
[0;36m71 |[0;0m completion: @escaping ([WikipediaArticlePreview]?, WikipediaLanguage, WikipediaError?)-> ())
[0;36m72 |[0;0m -> [4;39mURLSessionDataTask[0;0m? {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m73 |[0;0m
[0;36m74 |[0;0m if imageWidth == 0 {
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Wikipedia+Search.swift:44:12: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m42 |[0;0m maxCount: Int = 15,
[0;36m43 |[0;0m completion: @escaping (WikipediaSearchResults?, WikipediaError?) -> ())
[0;36m44 |[0;0m -> [4;39mURLSessionDataTask[0;0m? {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m45 |[0;0m
[0;36m46 |[0;0m let searchMethod = existingSearchResults?.searchMethod ?? .prefix
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Wikipedia+Search.swift:90:12: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m88 |[0;0m maxCount: Int = 15,
[0;36m89 |[0;0m completion: @escaping (WikipediaSearchResults?, WikipediaError?) -> ())
[0;36m90 |[0;0m -> [4;39mURLSessionDataTask[0;0m? {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' 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 var searchResults: WikipediaSearchResults
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Wikipedia.swift:66:30: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m64 |[0;0m // We need a way to cancel these nested requests before starting new ones.
[0;36m65 |[0;0m // TODO: Find a more elegant solution than these properties
[0;36m66 |[0;0m var secondSearchRequest: [4;39mURLSessionDataTask[0;0m?
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m67 |[0;0m var mostReadArticleDetailsRequest: URLSessionDataTask?
[0;36m68 |[0;0m
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Wikipedia.swift:67:40: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m65 |[0;0m // TODO: Find a more elegant solution than these properties
[0;36m66 |[0;0m var secondSearchRequest: URLSessionDataTask?
[0;36m67 |[0;0m var mostReadArticleDetailsRequest: [4;39mURLSessionDataTask[0;0m?
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m68 |[0;0m
[0;36m69 |[0;0m static func buildURLRequest(language: WikipediaLanguage, parameters: [String:String]) -> URLRequest? {
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Wikipedia.swift:69:94: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m67 |[0;0m var mostReadArticleDetailsRequest: URLSessionDataTask?
[0;36m68 |[0;0m
[0;36m69 |[0;0m static func buildURLRequest(language: WikipediaLanguage, parameters: [String:String]) -> [4;39mURLRequest[0;0m? {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m70 |[0;0m guard let baseUrl = self.baseURL(language: language) else { return nil }
[0;36m71 |[0;0m
/host/spi-builder-workspace/Sources/WikipediaLanguage.swift:98:41: [1;33mwarning: [1;39m'components(fromIdentifier:)' is deprecated: Use `Locale.Components(identifier:)` to access components[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m96 |[0;0m public static var systemLanguageCode: String = {
[0;36m97 |[0;0m guard let preferredLanguage = Locale.preferredLanguages.first else { return "en" }
[0;36m98 |[0;0m let languageComponents = Locale.components(fromIdentifier: preferredLanguage)
[0;36m|[0;0m `- [1;33mwarning: [1;39m'components(fromIdentifier:)' is deprecated: Use `Locale.Components(identifier:)` to access components[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m99 |[0;0m let languageCode = languageComponents[NSLocale.Key.languageCode.rawValue]
[0;36m100 |[0;0m return languageCode ?? "en"
/host/spi-builder-workspace/Sources/WikipediaLanguage.swift:129:45: [1;33mwarning: [1;39m'components(fromIdentifier:)' is deprecated: Use `Locale.Components(identifier:)` to access components[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m127 |[0;0m guard language.hasPrefix("zh") else { continue }
[0;36m128 |[0;0m
[0;36m129 |[0;0m let languageComponents = Locale.components(fromIdentifier: language)
[0;36m|[0;0m `- [1;33mwarning: [1;39m'components(fromIdentifier:)' is deprecated: Use `Locale.Components(identifier:)` to access components[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m130 |[0;0m let languageCode = languageComponents[NSLocale.Key.languageCode.rawValue]
[0;36m131 |[0;0m guard let variant = languageComponents[NSLocale.Key.scriptCode.rawValue]?.lowercased(),
/host/spi-builder-workspace/Sources/WikipediaNetworking.swift:55:69: [1;31merror: [1;39mtype 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'[0;0m
[0;36m53 |[0;0m public static weak var sharedActivityIndicatorDelegate: WikipediaNetworkingActivityDelegate?
[0;36m54 |[0;0m
[0;36m55 |[0;0m let session = URLSession(configuration: [4;39mURLSessionConfiguration[0;0m.[4;39mdefault[0;0m)
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'[0;0m
[0;36m56 |[0;0m
[0;36m57 |[0;0m func loadJSON(urlRequest: URLRequest,
/host/spi-builder-workspace/Sources/WikipediaNetworking.swift:57:31: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m55 |[0;0m let session = URLSession(configuration: URLSessionConfiguration.default)
[0;36m56 |[0;0m
[0;36m57 |[0;0m func loadJSON(urlRequest: [4;39mURLRequest[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m58 |[0;0m completion: @escaping (JSONDictionary?, WikipediaError?) -> ())
[0;36m59 |[0;0m -> URLSessionDataTask {
/host/spi-builder-workspace/Sources/WikipediaNetworking.swift:59:12: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m57 |[0;0m func loadJSON(urlRequest: URLRequest,
[0;36m58 |[0;0m completion: @escaping (JSONDictionary?, WikipediaError?) -> ())
[0;36m59 |[0;0m -> [4;39mURLSessionDataTask[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m60 |[0;0m
[0;36m61 |[0;0m let startTime: Date
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/WikipediaNetworking.swift:156:53: [1;31merror: [1;39mcannot find 'kCFBundleExecutableKey' in scope[0;0m
[0;36m154 |[0;0m #if !os(Linux)
[0;36m155 |[0;0m if let infoDictionary = Bundle.main.infoDictionary {
[0;36m156 |[0;0m let bundleName = infoDictionary[[4;39mkCFBundleExecutableKey[0;0m as String] as? String ?? "Unknown App"
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'kCFBundleExecutableKey' in scope[0;0m
[0;36m157 |[0;0m let bundleID = infoDictionary[kCFBundleIdentifierKey as String] as? String ?? "Unkown Bundle ID"
[0;36m158 |[0;0m let marketingVersionString = infoDictionary["CFBundleShortVersionString"] as? String ?? "Unknown Version"
/host/spi-builder-workspace/Sources/WikipediaNetworking.swift:157:51: [1;31merror: [1;39mcannot find 'kCFBundleIdentifierKey' in scope[0;0m
[0;36m155 |[0;0m if let infoDictionary = Bundle.main.infoDictionary {
[0;36m156 |[0;0m let bundleName = infoDictionary[kCFBundleExecutableKey as String] as? String ?? "Unknown App"
[0;36m157 |[0;0m let bundleID = infoDictionary[[4;39mkCFBundleIdentifierKey[0;0m as String] as? String ?? "Unkown Bundle ID"
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'kCFBundleIdentifierKey' in scope[0;0m
[0;36m158 |[0;0m let marketingVersionString = infoDictionary["CFBundleShortVersionString"] as? String ?? "Unknown Version"
[0;36m159 |[0;0m userAgent = "\(bundleName)/\(marketingVersionString) (\(bundleID); \(WikipediaNetworking.appAuthorEmailForAPI)) \(framework)"
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/String+Wikipedia.swift /host/spi-builder-workspace/Sources/URL+Wikipedia.swift /host/spi-builder-workspace/Sources/Wikipedia+Article.swift /host/spi-builder-workspace/Sources/Wikipedia+ArticleSummary.swift /host/spi-builder-workspace/Sources/Wikipedia+Featured.swift /host/spi-builder-workspace/Sources/Wikipedia+ImageMeta.swift /host/spi-builder-workspace/Sources/Wikipedia+Languages.swift /host/spi-builder-workspace/Sources/Wikipedia+NearbySearch.swift /host/spi-builder-workspace/Sources/Wikipedia+RandomArticles.swift /host/spi-builder-workspace/Sources/Wikipedia+Search.swift /host/spi-builder-workspace/Sources/Wikipedia.swift /host/spi-builder-workspace/Sources/WikipediaArticle.swift /host/spi-builder-workspace/Sources/WikipediaArticleCache.swift /host/spi-builder-workspace/Sources/WikipediaArticleLanguageLink.swift /host/spi-builder-workspace/Sources/WikipediaArticlePreview.swift /host/spi-builder-workspace/Sources/WikipediaError.swift /host/spi-builder-workspace/Sources/WikipediaFeatured.swift /host/spi-builder-workspace/Sources/WikipediaImage.swift /host/spi-builder-workspace/Sources/WikipediaLanguage.swift /host/spi-builder-workspace/Sources/WikipediaNamespace.swift /host/spi-builder-workspace/Sources/WikipediaNetworking.swift /host/spi-builder-workspace/Sources/WikipediaNetworkingActivityDelegate.swift /host/spi-builder-workspace/Sources/WikipediaRandomArticlesBuffer.swift /host/spi-builder-workspace/Sources/WikipediaSearchMethod.swift /host/spi-builder-workspace/Sources/WikipediaSearchResults.swift /host/spi-builder-workspace/Sources/WikipediaSearchResultsCache.swift /host/spi-builder-workspace/Sources/WikipediaTOCItem.swift /host/spi-builder-workspace/Sources/WikipediaTextFormattingDelegate.swift -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_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 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.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_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.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_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/WikipediaKit.build/Debug-webassembly-wasm32/WikipediaKit-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/WikipediaKit.build/Debug-webassembly-wasm32/WikipediaKit-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/WikipediaKit.build/Debug-webassembly-wasm32/WikipediaKit-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name WikipediaKit -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/WikipediaKit.build/Debug-webassembly-wasm32/WikipediaKit-t.build/Objects-normal/wasm32/WikipediaKit_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/WikipediaKit.build/Debug-webassembly-wasm32/WikipediaKit-t.build/Objects-normal/wasm32/Modules/WikipediaKit.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/WikipediaKit.build/Debug-webassembly-wasm32/WikipediaKit-t.build/Objects-normal/wasm32/Modules/WikipediaKit.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/WikipediaKit.build/Debug-webassembly-wasm32/WikipediaKit-t.build/Objects-normal/wasm32/WikipediaKit-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/WikipediaKit.build/Debug-webassembly-wasm32/WikipediaKit-t.build/Objects-normal/wasm32/WikipediaKit-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/WikipediaKit.build/Debug-webassembly-wasm32/WikipediaKit-t.build/Objects-normal/wasm32/WikipediaKit-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/WikipediaKit.build/Debug-webassembly-wasm32/WikipediaKit-t.build/Objects-normal/wasm32/Modules/WikipediaKit.swiftmodule
error: Build failed
BUILD FAILURE 6.4 wasm