Build Information
Failed to build Cache, reference 2.1.2 (ff7c20), with Swift 6.2 for Android on 21 Sep 2025 04:36:07 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/0xLeif/Cache.git
Reference: 2.1.2
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/0xLeif/Cache
* tag 2.1.2 -> FETCH_HEAD
HEAD is now at ff7c208 Add dependency for swift-docc-plugin (#24)
Cloned https://github.com/0xLeif/Cache.git
Revision (git rev-parse @):
ff7c208eb8311c9bd150a87792d1df36851b95f1
SUCCESS checkout https://github.com/0xLeif/Cache.git at 2.1.2
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/0xLeif/Cache.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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
e6fdc8487bfe: Already exists
8fef4454df77: Already exists
5f94ac214e44: Already exists
2babb965aadf: Already exists
2771a710800b: Already exists
967d25c8d3ea: Pulling fs layer
b0e2435d9e48: Pulling fs layer
4f4fb700ef54: Pulling fs layer
e5f766a5d922: Pulling fs layer
2bb6c6df9488: Pulling fs layer
2ab1bbd08866: Pulling fs layer
2ab1bbd08866: Download complete
b0e2435d9e48: Download complete
e5f766a5d922: Download complete
2bb6c6df9488: Download complete
4f4fb700ef54: Download complete
967d25c8d3ea: Pull complete
b0e2435d9e48: Pull complete
4f4fb700ef54: Pull complete
e5f766a5d922: Pull complete
2bb6c6df9488: Pull complete
2ab1bbd08866: Pull complete
Digest: sha256:d70d83f328e9f1ae04a4e17e63e2d335ae10639f90ee796a5fe3bfb139eab948
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/apple/swift-docc-plugin
[1/2094] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (1.48s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (4.31s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3528] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.86s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.45s)
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.5
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version--11D90AFD9DD3AB2.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/28] Emitting module Cache
/host/spi-builder-workspace/Sources/Cache/Cache/Cache.swift:26:6: error: unknown attribute 'Published'
24 | #else
25 | /// The actual cache dictionary of key-value pairs.
26 | @Published fileprivate var cache: [Key: Value] = [:]
| `- error: unknown attribute 'Published'
27 | #endif
28 |
/host/spi-builder-workspace/Sources/Cache/Cache/Cache.swift:164:18: error: cannot find type 'ObservableObject' in scope
162 |
163 | #if !os(Linux) && !os(Windows)
164 | extension Cache: ObservableObject { }
| `- error: cannot find type 'ObservableObject' in scope
165 | #endif
166 |
[6/28] Compiling Cache AnyCacheable.swift
/host/spi-builder-workspace/Sources/Cache/Cache/Cache.swift:26:6: error: unknown attribute 'Published'
24 | #else
25 | /// The actual cache dictionary of key-value pairs.
26 | @Published fileprivate var cache: [Key: Value] = [:]
| `- error: unknown attribute 'Published'
27 | #endif
28 |
/host/spi-builder-workspace/Sources/Cache/Cache/Cache.swift:164:18: error: cannot find type 'ObservableObject' in scope
162 |
163 | #if !os(Linux) && !os(Windows)
164 | extension Cache: ObservableObject { }
| `- error: cannot find type 'ObservableObject' in scope
165 | #endif
166 |
[7/28] Compiling Cache Cache+subscript.swift
/host/spi-builder-workspace/Sources/Cache/Cache/Cache.swift:26:6: error: unknown attribute 'Published'
24 | #else
25 | /// The actual cache dictionary of key-value pairs.
26 | @Published fileprivate var cache: [Key: Value] = [:]
| `- error: unknown attribute 'Published'
27 | #endif
28 |
/host/spi-builder-workspace/Sources/Cache/Cache/Cache.swift:164:18: error: cannot find type 'ObservableObject' in scope
162 |
163 | #if !os(Linux) && !os(Windows)
164 | extension Cache: ObservableObject { }
| `- error: cannot find type 'ObservableObject' in scope
165 | #endif
166 |
[8/28] Compiling Cache Cache.swift
/host/spi-builder-workspace/Sources/Cache/Cache/Cache.swift:26:6: error: unknown attribute 'Published'
24 | #else
25 | /// The actual cache dictionary of key-value pairs.
26 | @Published fileprivate var cache: [Key: Value] = [:]
| `- error: unknown attribute 'Published'
27 | #endif
28 |
/host/spi-builder-workspace/Sources/Cache/Cache/Cache.swift:164:18: error: cannot find type 'ObservableObject' in scope
162 |
163 | #if !os(Linux) && !os(Windows)
164 | extension Cache: ObservableObject { }
| `- error: cannot find type 'ObservableObject' in scope
165 | #endif
166 |
[9/28] Compiling Cache ComposableCache.swift
/host/spi-builder-workspace/Sources/Cache/Cache/Cache.swift:26:6: error: unknown attribute 'Published'
24 | #else
25 | /// The actual cache dictionary of key-value pairs.
26 | @Published fileprivate var cache: [Key: Value] = [:]
| `- error: unknown attribute 'Published'
27 | #endif
28 |
/host/spi-builder-workspace/Sources/Cache/Cache/Cache.swift:164:18: error: cannot find type 'ObservableObject' in scope
162 |
163 | #if !os(Linux) && !os(Windows)
164 | extension Cache: ObservableObject { }
| `- error: cannot find type 'ObservableObject' in scope
165 | #endif
166 |
[10/31] Compiling Cache MissingRequiredKeysError.swift
[11/31] Compiling Cache Global+cache.swift
[12/31] Compiling Cache Global+dependencies.swift
[13/31] Compiling Cache Global+images.swift
[14/31] Compiling Cache Global+loggers.swift
[15/31] Compiling Cache Global.swift
[16/31] Compiling Cache Cacheable.swift
[17/31] Compiling Cache Dictionary+Cacheable.swift
[18/31] Compiling Cache InvalidTypeError.swift
[19/31] Compiling Cache ExpiringCache+subscript.swift
[20/31] Compiling Cache ExpiringCache.swift
[21/31] Compiling Cache LRUCache.swift
[22/31] Compiling Cache PersistableCache.swift
[23/31] Compiling Cache RequiredKeysCache+subscript.swift
[24/31] Compiling Cache RequiredKeysCache.swift
[25/31] Compiling Cache CacheInitializable.swift
[26/31] Compiling Cache JSON+subscript.swift
[27/31] Compiling Cache JSON.swift
[28/31] Compiling Cache Cached.swift
[29/31] Compiling Cache Logging.swift
[30/31] Compiling Cache OptionallyCached.swift
[31/31] Compiling Cache Resolved.swift
BUILD FAILURE 6.2 android