Build Information
Failed to build WikipediaKit, reference 3.0.4 (09538e
), with Swift 6.2 (beta) for Android on 19 Jun 2025 12:57:05 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/raureif/wikipediakit.git
Reference: 3.0.4
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
* tag 3.0.4 -> FETCH_HEAD
HEAD is now at 09538e1 Update copyright year. Bump version to 3.0.4.
Cloned https://github.com/raureif/wikipediakit.git
Revision (git rev-parse @):
09538e1383017e50a2a940ebc72d0c62c8b4488c
SUCCESS checkout https://github.com/raureif/wikipediakit.git at 3.0.4
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/raureif/wikipediakit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-8C5A4AE7A8CE2BA.txt
[3/28] Compiling WikipediaKit WikipediaRandomArticlesBuffer.swift
[4/28] Compiling WikipediaKit WikipediaSearchMethod.swift
[5/28] Compiling WikipediaKit WikipediaSearchResults.swift
[6/31] Compiling WikipediaKit WikipediaSearchResultsCache.swift
[7/31] Compiling WikipediaKit WikipediaTOCItem.swift
[8/31] Compiling WikipediaKit WikipediaTextFormattingDelegate.swift
[9/31] Compiling WikipediaKit WikipediaFeatured.swift
/host/spi-builder-workspace/Sources/WikipediaLanguage.swift:98:41: warning: 'components(fromIdentifier:)' is deprecated: Use `Locale.Components(identifier:)` to access components [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
130 | let languageCode = languageComponents[NSLocale.Key.languageCode.rawValue]
131 | guard let variant = languageComponents[NSLocale.Key.scriptCode.rawValue]?.lowercased(),
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[10/31] Compiling WikipediaKit WikipediaImage.swift
/host/spi-builder-workspace/Sources/WikipediaLanguage.swift:98:41: warning: 'components(fromIdentifier:)' is deprecated: Use `Locale.Components(identifier:)` to access components [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
130 | let languageCode = languageComponents[NSLocale.Key.languageCode.rawValue]
131 | guard let variant = languageComponents[NSLocale.Key.scriptCode.rawValue]?.lowercased(),
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[11/31] Compiling WikipediaKit WikipediaLanguage.swift
/host/spi-builder-workspace/Sources/WikipediaLanguage.swift:98:41: warning: 'components(fromIdentifier:)' is deprecated: Use `Locale.Components(identifier:)` to access components [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
130 | let languageCode = languageComponents[NSLocale.Key.languageCode.rawValue]
131 | guard let variant = languageComponents[NSLocale.Key.scriptCode.rawValue]?.lowercased(),
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[12/31] Compiling WikipediaKit WikipediaArticleCache.swift
[13/31] Compiling WikipediaKit WikipediaArticleLanguageLink.swift
[14/31] Compiling WikipediaKit WikipediaArticlePreview.swift
[15/31] Compiling WikipediaKit WikipediaError.swift
[16/31] Compiling WikipediaKit WikipediaNamespace.swift
/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)"
[17/31] Compiling WikipediaKit WikipediaNetworking.swift
/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)"
[18/31] Compiling WikipediaKit WikipediaNetworkingActivityDelegate.swift
/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)"
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/31] Emitting module WikipediaKit
/host/spi-builder-workspace/Sources/WikipediaLanguage.swift:98:41: warning: 'components(fromIdentifier:)' is deprecated: Use `Locale.Components(identifier:)` to access components [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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: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>
[20/31] Compiling WikipediaKit Wikipedia+Featured.swift
[21/31] Compiling WikipediaKit Wikipedia+ImageMeta.swift
[22/31] Compiling WikipediaKit Wikipedia+Languages.swift
[23/31] Compiling WikipediaKit Wikipedia+NearbySearch.swift
[24/31] Compiling WikipediaKit String+Wikipedia.swift
[25/31] Compiling WikipediaKit URL+Wikipedia.swift
[26/31] Compiling WikipediaKit Wikipedia+Article.swift
[27/31] Compiling WikipediaKit Wikipedia+ArticleSummary.swift
[28/31] Compiling WikipediaKit Wikipedia+RandomArticles.swift
[29/31] Compiling WikipediaKit Wikipedia+Search.swift
[30/31] Compiling WikipediaKit Wikipedia.swift
[31/31] Compiling WikipediaKit WikipediaArticle.swift
BUILD FAILURE 6.2 android