The Swift Package Index logo.Swift Package Index

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>&1

Build 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: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 |                                imageWidth: Int,
41 |                                completion: @escaping (Result<WikipediaArticle, WikipediaError>)->())
42 |         -> URLSessionDataTask? {
   |            `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 |
44 |
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Wikipedia+ArticleSummary.swift:40:12: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 |                                title: String,
39 |                                completion: @escaping (WikipediaArticlePreview?, WikipediaError?)->())
40 |         -> URLSessionDataTask? {
   |            `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 |
42 |             let title = title.wikipediaURLEncodedString(encodeSlashes: true)
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Wikipedia+Featured.swift:40:12: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 |                                         date: Date,
39 |                                         completion: @escaping (Result<WikipediaFeatured, WikipediaError>) -> ())
40 |         -> URLSessionDataTask? {
   |            `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 |
42 |         let dateFormatter = DateFormatter()
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Wikipedia+ImageMeta.swift:41:12: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |                                           width: Int? = nil,
 40 |                                           completion: @escaping ([WikipediaImage]?, WikipediaError?) -> ())
 41 |         -> URLSessionDataTask? {
    |            `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 42 |
 43 |         guard let firstURL = urls.first,
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Wikipedia+ImageMeta.swift:70:12: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 68 |                                           width: Int? = nil,
 69 |                                           completion: @escaping ([WikipediaImage]?, WikipediaError?) -> ())
 70 |         -> URLSessionDataTask? {
    |            `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 71 |
 72 |         let idsParameter = ids.joined(separator: "|")
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Wikipedia+Languages.swift:39:12: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 37 |     public func requestAvailableLanguages(for article: WikipediaArticle,
 38 |                                           completion: @escaping (WikipediaArticle, WikipediaError?)->())
 39 |         -> URLSessionDataTask? {
    |            `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 40 |
 41 |         guard article.languageLinks == nil, // has not been populated previously
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Wikipedia+NearbySearch.swift:46:12: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 44 |                                      loadExtracts: Bool = false,
 45 |                                      completion: @escaping ([WikipediaArticlePreview]?, WikipediaLanguage, WikipediaError?) -> ())
 46 |         -> URLSessionDataTask? {
    |            `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 47 |
 48 |             if imageWidth == 0 {
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Wikipedia+RandomArticles.swift:42:8: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 40 |                                       loadExtracts: Bool = false,
 41 |                                       completion: @escaping (WikipediaArticlePreview?, WikipediaLanguage, WikipediaError?)-> ())
 42 |     -> URLSessionDataTask? {
    |        `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 43 |         if WikipediaRandomArticlesBuffer.shared.language == language,
 44 |            let nextArticlePreview = WikipediaRandomArticlesBuffer.shared.nextArticlePreview() {
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Wikipedia+RandomArticles.swift:72:8: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 70 |                                       loadExtracts: Bool = false,
 71 |                                       completion: @escaping ([WikipediaArticlePreview]?, WikipediaLanguage, WikipediaError?)-> ())
 72 |     -> URLSessionDataTask? {
    |        `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 73 |
 74 |         if imageWidth == 0 {
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Wikipedia+Search.swift:44:12: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 42 |                                               maxCount: Int = 15,
 43 |                                               completion: @escaping (WikipediaSearchResults?, WikipediaError?) -> ())
 44 |         -> URLSessionDataTask? {
    |            `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 45 |
 46 |         let searchMethod = existingSearchResults?.searchMethod ?? .prefix
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Wikipedia+Search.swift:90:12: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 88 |                               maxCount: Int = 15,
 89 |                               completion: @escaping (WikipediaSearchResults?, WikipediaError?) -> ())
 90 |         -> URLSessionDataTask? {
    |            `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 91 |
 92 |         var searchResults: WikipediaSearchResults
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Wikipedia.swift:66:30: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
64 |     // We need a way to cancel these nested requests before starting new ones.
65 |     // TODO: Find a more elegant solution than these properties
66 |     var secondSearchRequest: URLSessionDataTask?
   |                              `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
67 |     var mostReadArticleDetailsRequest: URLSessionDataTask?
68 |
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Wikipedia.swift:67:40: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
65 |     // TODO: Find a more elegant solution than these properties
66 |     var secondSearchRequest: URLSessionDataTask?
67 |     var mostReadArticleDetailsRequest: URLSessionDataTask?
   |                                        `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
68 |
69 |     static func buildURLRequest(language: WikipediaLanguage, parameters: [String:String]) -> URLRequest? {
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Wikipedia.swift:69:94: error: cannot find type 'URLRequest' in scope
67 |     var mostReadArticleDetailsRequest: URLSessionDataTask?
68 |
69 |     static func buildURLRequest(language: WikipediaLanguage, parameters: [String:String]) -> URLRequest? {
   |                                                                                              `- error: cannot find type 'URLRequest' in scope
70 |         guard let baseUrl = self.baseURL(language: language) else { return nil }
71 |
/host/spi-builder-workspace/Sources/WikipediaLanguage.swift:98:41: warning: 'components(fromIdentifier:)' is deprecated: Use `Locale.Components(identifier:)` to access components [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 96 |     public static var systemLanguageCode: String = {
 97 |         guard let preferredLanguage = Locale.preferredLanguages.first else { return "en" }
 98 |         let languageComponents = Locale.components(fromIdentifier: preferredLanguage)
    |                                         `- warning: 'components(fromIdentifier:)' is deprecated: Use `Locale.Components(identifier:)` to access components [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 99 |         let languageCode = languageComponents[NSLocale.Key.languageCode.rawValue]
100 |         return languageCode ?? "en"
/host/spi-builder-workspace/Sources/WikipediaLanguage.swift:129:45: warning: 'components(fromIdentifier:)' is deprecated: Use `Locale.Components(identifier:)` to access components [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
127 |             guard language.hasPrefix("zh") else { continue }
128 |
129 |             let languageComponents = Locale.components(fromIdentifier: language)
    |                                             `- warning: 'components(fromIdentifier:)' is deprecated: Use `Locale.Components(identifier:)` to access components [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
130 |             let languageCode = languageComponents[NSLocale.Key.languageCode.rawValue]
131 |             guard let variant = languageComponents[NSLocale.Key.scriptCode.rawValue]?.lowercased(),
/host/spi-builder-workspace/Sources/WikipediaNetworking.swift:55:69: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 53 |     public static weak var sharedActivityIndicatorDelegate: WikipediaNetworkingActivityDelegate?
 54 |
 55 |     let session = URLSession(configuration: URLSessionConfiguration.default)
    |                                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 56 |
 57 |     func loadJSON(urlRequest: URLRequest,
/host/spi-builder-workspace/Sources/WikipediaNetworking.swift:57:31: error: cannot find type 'URLRequest' in scope
 55 |     let session = URLSession(configuration: URLSessionConfiguration.default)
 56 |
 57 |     func loadJSON(urlRequest: URLRequest,
    |                               `- error: cannot find type 'URLRequest' in scope
 58 |                   completion: @escaping (JSONDictionary?, WikipediaError?) -> ())
 59 |         -> URLSessionDataTask {
/host/spi-builder-workspace/Sources/WikipediaNetworking.swift:59:12: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 57 |     func loadJSON(urlRequest: URLRequest,
 58 |                   completion: @escaping (JSONDictionary?, WikipediaError?) -> ())
 59 |         -> URLSessionDataTask {
    |            `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 60 |
 61 |         let startTime: Date
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/WikipediaNetworking.swift:156:53: error: cannot find 'kCFBundleExecutableKey' in scope
154 |         #if !os(Linux)
155 |             if let infoDictionary = Bundle.main.infoDictionary {
156 |                     let bundleName = infoDictionary[kCFBundleExecutableKey as String] as? String ?? "Unknown App"
    |                                                     `- error: cannot find 'kCFBundleExecutableKey' in scope
157 |                     let bundleID = infoDictionary[kCFBundleIdentifierKey as String] as? String ?? "Unkown Bundle ID"
158 |                     let marketingVersionString = infoDictionary["CFBundleShortVersionString"] as? String ?? "Unknown Version"
/host/spi-builder-workspace/Sources/WikipediaNetworking.swift:157:51: error: cannot find 'kCFBundleIdentifierKey' in scope
155 |             if let infoDictionary = Bundle.main.infoDictionary {
156 |                     let bundleName = infoDictionary[kCFBundleExecutableKey as String] as? String ?? "Unknown App"
157 |                     let bundleID = infoDictionary[kCFBundleIdentifierKey as String] as? String ?? "Unkown Bundle ID"
    |                                                   `- error: cannot find 'kCFBundleIdentifierKey' in scope
158 |                     let marketingVersionString = infoDictionary["CFBundleShortVersionString"] as? String ?? "Unknown Version"
159 |                     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