The Swift Package Index logo.Swift Package Index

Build Information

Failed to build UserCaches, reference master (52472e), with Swift 6.3 for Android on 16 Apr 2026 09:39:15 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ihejunqiu/UserCaches.git
Reference: master
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/ihejunqiu/UserCaches
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 52472ec Update run-tests.sh
Cloned https://github.com/ihejunqiu/UserCaches.git
Revision (git rev-parse @):
52472ecdc7736786b1f7522be1544a455edd6336
SUCCESS checkout https://github.com/ihejunqiu/UserCaches.git at master
========================================
Build
========================================
Selected platform:         android
Swift version:             6.3
Building package at path:  $PWD
https://github.com/ihejunqiu/UserCaches.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest
Fetching https://github.com/stephencelis/SQLite.swift.git
[1/11124] Fetching sqlite.swift
Fetched https://github.com/stephencelis/SQLite.swift.git from cache (1.82s)
Computing version for https://github.com/stephencelis/SQLite.swift.git
Computed https://github.com/stephencelis/SQLite.swift.git at 0.16.0 (2.99s)
Fetching https://github.com/stephencelis/CSQLite
[1/200] Fetching csqlite
Fetched https://github.com/stephencelis/CSQLite from cache (1.08s)
Computing version for https://github.com/stephencelis/CSQLite
Computed https://github.com/stephencelis/CSQLite at 3.50.4 (1.96s)
Creating working copy for https://github.com/stephencelis/SQLite.swift.git
Working copy of https://github.com/stephencelis/SQLite.swift.git resolved at 0.16.0
Creating working copy for https://github.com/stephencelis/CSQLite
Working copy of https://github.com/stephencelis/CSQLite resolved at 3.50.4
Building for debugging...
[0/5] Copying PrivacyInfo.xcprivacy
[1/5] Write sources
[3/5] Write swift-version--4F562202D5529B1.txt
[4/5] Compiling SQLiteSwiftCSQLite sqlite3.c
[6/39] Emitting module SQLite
[7/43] Compiling SQLite Connection.swift
[8/43] Compiling SQLite Errors.swift
[9/43] Compiling SQLite Result.swift
[10/43] Compiling SQLite SQLiteFeature.swift
[11/43] Compiling SQLite SQLiteVersion.swift
[12/43] Compiling SQLite Schema.swift
[13/43] Compiling SQLite Setter.swift
[14/43] Compiling SQLite WindowFunctions.swift
[15/43] Compiling SQLite resource_bundle_accessor.swift
[16/43] Compiling SQLite FTS5.swift
[17/43] Compiling SQLite RTree.swift
[18/43] Compiling SQLite Foundation.swift
[19/43] Compiling SQLite Helpers.swift
[20/43] Compiling SQLite Connection+Schema.swift
[21/43] Compiling SQLite Expression.swift
[22/43] Compiling SQLite Operators.swift
[23/43] Compiling SQLite Query+with.swift
[24/43] Compiling SQLite Query.swift
[25/43] Compiling SQLite Statement.swift
[26/43] Compiling SQLite URIQueryParameter.swift
[27/43] Compiling SQLite Value.swift
[28/43] Compiling SQLite Cipher.swift
[29/43] Compiling SQLite FTS4.swift
[30/43] Compiling SQLite Backup.swift
[31/43] Compiling SQLite Blob.swift
[32/43] Compiling SQLite Connection+Aggregation.swift
[33/43] Compiling SQLite Connection+Attach.swift
[34/43] Compiling SQLite Connection+Pragmas.swift
[35/43] Compiling SQLite Collation.swift
[36/43] Compiling SQLite CoreFunctions.swift
[37/43] Compiling SQLite CustomFunctions.swift
[38/43] Compiling SQLite DateAndTimeFunctions.swift
[39/43] Compiling SQLite SchemaChanger.swift
[40/43] Compiling SQLite SchemaDefinitions.swift
[41/43] Compiling SQLite SchemaReader.swift
[42/43] Compiling SQLite AggregateFunctions.swift
[43/43] Compiling SQLite Coding.swift
[45/53] Compiling UserCaches UserCaches.swift
/host/spi-builder-workspace/Sources/UserCaches/UserCaches.swift:44:21: warning: static declarations are implicitly 'final'; use 'public' instead of 'open'
 42 |     #else
 43 |     /// Returns a global instance of UserCaches named "user.cache.default.standard.db" at user.documents directory.
 44 |     open static var standard: UserCaches = try! .init(cachePath: FileManager.default.url(for: .documentDirectory,
    |                     `- warning: static declarations are implicitly 'final'; use 'public' instead of 'open'
 45 |                                                                                          in: .userDomainMask,
 46 |                                                                                          appropriateFor: nil,
/host/spi-builder-workspace/Sources/UserCaches/UserCaches.swift:126:22: warning: static declarations are implicitly 'final'; use 'public' instead of 'open'
124 |
125 |     /// Remove all keys of standard global instance from disk. And clean memory cache.
126 |     open static func resetStandardUserDefaults() {
    |                      `- warning: static declarations are implicitly 'final'; use 'public' instead of 'open'
127 |         try? standard.removeAllKey()
128 |     }
/host/spi-builder-workspace/Sources/UserCaches/DiscardableCacheContent.swift:29:32: error: cannot find type 'NSDiscardableContent' in scope
27 | }
28 | #else
29 | class DiscardableCacheContent: NSDiscardableContent {
   |                                `- error: cannot find type 'NSDiscardableContent' in scope
30 |     func beginContentAccess() -> Bool {
31 |         if _cache == nil {
[46/54] Compiling UserCaches DiscardableCacheContent.swift
/host/spi-builder-workspace/Sources/UserCaches/DiscardableCacheContent.swift:29:32: error: cannot find type 'NSDiscardableContent' in scope
27 | }
28 | #else
29 | class DiscardableCacheContent: NSDiscardableContent {
   |                                `- error: cannot find type 'NSDiscardableContent' in scope
30 |     func beginContentAccess() -> Bool {
31 |         if _cache == nil {
[47/54] Compiling UserCaches CodingError.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[48/54] Compiling UserCaches CacheCodability.swift
[49/54] Compiling UserCaches CacheCodable.swift
[50/54] Emitting module UserCaches
/host/spi-builder-workspace/Sources/UserCaches/DiscardableCacheContent.swift:29:32: error: cannot find type 'NSDiscardableContent' in scope
27 | }
28 | #else
29 | class DiscardableCacheContent: NSDiscardableContent {
   |                                `- error: cannot find type 'NSDiscardableContent' in scope
30 |     func beginContentAccess() -> Bool {
31 |         if _cache == nil {
/host/spi-builder-workspace/Sources/UserCaches/UserCaches.swift:44:21: warning: static declarations are implicitly 'final'; use 'public' instead of 'open'
 42 |     #else
 43 |     /// Returns a global instance of UserCaches named "user.cache.default.standard.db" at user.documents directory.
 44 |     open static var standard: UserCaches = try! .init(cachePath: FileManager.default.url(for: .documentDirectory,
    |                     `- warning: static declarations are implicitly 'final'; use 'public' instead of 'open'
 45 |                                                                                          in: .userDomainMask,
 46 |                                                                                          appropriateFor: nil,
/host/spi-builder-workspace/Sources/UserCaches/UserCaches.swift:126:22: warning: static declarations are implicitly 'final'; use 'public' instead of 'open'
124 |
125 |     /// Remove all keys of standard global instance from disk. And clean memory cache.
126 |     open static func resetStandardUserDefaults() {
    |                      `- warning: static declarations are implicitly 'final'; use 'public' instead of 'open'
127 |         try? standard.removeAllKey()
128 |     }
/host/spi-builder-workspace/Sources/UserCaches/UserCachesSettable.swift:56:5: warning: 'public' modifier is redundant for property declared in a public extension
 54 |     ///
 55 |     /// Also use the type defer to **Codable**. Wrap Codable by **CacheCodability** (CacheCodability(value: Codable)).
 56 |     public var storage: CacheEncodable {
    |     `- warning: 'public' modifier is redundant for property declared in a public extension
 57 |         nonmutating set {
 58 |             do {
/host/spi-builder-workspace/Sources/UserCaches/UserCachesSettable.swift:70:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 68 |     ///
 69 |     /// - Returns: A value deferred to CacheDecodable.
 70 |     public func value<T: CacheDecodable>() -> T? {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 71 |         do {
 72 |             return try UserCaches.standard.value(forKey: key)
/host/spi-builder-workspace/Sources/UserCaches/UserCachesSettable.swift:82:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 80 |     ///
 81 |     /// - Returns: A value deferred to Decodable.
 82 |     public func valueofCodable<T: Decodable>() -> T? {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 83 |         do {
 84 |             let v: CacheCodability<T> = try UserCaches.standard.value(forKey: key)
/host/spi-builder-workspace/Sources/UserCaches/UserCachesSettable.swift:92:5: warning: 'public' modifier is redundant for property declared in a public extension
 90 |     }
 91 |
 92 |     public var key: String {
    |     `- warning: 'public' modifier is redundant for property declared in a public extension
 93 |         var type = "\(Self.self)"
 94 |         var `case` = rawValue
/host/spi-builder-workspace/Sources/UserCaches/UserCachesSettable.swift:124:5: warning: 'public' modifier is redundant for property declared in a public extension
122 |     }
123 |
124 |     public var identifierMode: CacheKeyMode { return .raw }
    |     `- warning: 'public' modifier is redundant for property declared in a public extension
125 |
126 |     private var _asciiUpperCaseTable: UInt64 { @inline(__always) get { return 0b0000_0000_0000_0000_0001_1111_1111_1111_0000_0000_0000_0000_0000_0000_0000_0000 } }
[51/54] Compiling UserCaches CacheManager.swift
[52/54] Compiling UserCaches ConfRead.swift
[53/54] Compiling UserCaches DefaultTypes.swift
/host/spi-builder-workspace/Sources/UserCaches/DefaultTypes.swift:61:37: warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
 59 |     var k = header.rawValue
 60 |     let header = Data(bytes: &k, count: MemoryLayout.size(ofValue: k))
 61 |     let data = header + Data(bytes: &v, count: MemoryLayout<T>.size)
    |                                     `- warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
 62 |     return data
 63 | }
[54/54] Compiling UserCaches UserCachesSettable.swift
/host/spi-builder-workspace/Sources/UserCaches/UserCachesSettable.swift:56:5: warning: 'public' modifier is redundant for property declared in a public extension
 54 |     ///
 55 |     /// Also use the type defer to **Codable**. Wrap Codable by **CacheCodability** (CacheCodability(value: Codable)).
 56 |     public var storage: CacheEncodable {
    |     `- warning: 'public' modifier is redundant for property declared in a public extension
 57 |         nonmutating set {
 58 |             do {
/host/spi-builder-workspace/Sources/UserCaches/UserCachesSettable.swift:70:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 68 |     ///
 69 |     /// - Returns: A value deferred to CacheDecodable.
 70 |     public func value<T: CacheDecodable>() -> T? {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 71 |         do {
 72 |             return try UserCaches.standard.value(forKey: key)
/host/spi-builder-workspace/Sources/UserCaches/UserCachesSettable.swift:82:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 80 |     ///
 81 |     /// - Returns: A value deferred to Decodable.
 82 |     public func valueofCodable<T: Decodable>() -> T? {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 83 |         do {
 84 |             let v: CacheCodability<T> = try UserCaches.standard.value(forKey: key)
/host/spi-builder-workspace/Sources/UserCaches/UserCachesSettable.swift:92:5: warning: 'public' modifier is redundant for property declared in a public extension
 90 |     }
 91 |
 92 |     public var key: String {
    |     `- warning: 'public' modifier is redundant for property declared in a public extension
 93 |         var type = "\(Self.self)"
 94 |         var `case` = rawValue
/host/spi-builder-workspace/Sources/UserCaches/UserCachesSettable.swift:124:5: warning: 'public' modifier is redundant for property declared in a public extension
122 |     }
123 |
124 |     public var identifierMode: CacheKeyMode { return .raw }
    |     `- warning: 'public' modifier is redundant for property declared in a public extension
125 |
126 |     private var _asciiUpperCaseTable: UInt64 { @inline(__always) get { return 0b0000_0000_0000_0000_0001_1111_1111_1111_0000_0000_0000_0000_0000_0000_0000_0000 } }
/host/spi-builder-workspace/Sources/UserCaches/UserCaches.swift:44:21: warning: static declarations are implicitly 'final'; use 'public' instead of 'open'
 42 |     #else
 43 |     /// Returns a global instance of UserCaches named "user.cache.default.standard.db" at user.documents directory.
 44 |     open static var standard: UserCaches = try! .init(cachePath: FileManager.default.url(for: .documentDirectory,
    |                     `- warning: static declarations are implicitly 'final'; use 'public' instead of 'open'
 45 |                                                                                          in: .userDomainMask,
 46 |                                                                                          appropriateFor: nil,
/host/spi-builder-workspace/Sources/UserCaches/UserCaches.swift:126:22: warning: static declarations are implicitly 'final'; use 'public' instead of 'open'
124 |
125 |     /// Remove all keys of standard global instance from disk. And clean memory cache.
126 |     open static func resetStandardUserDefaults() {
    |                      `- warning: static declarations are implicitly 'final'; use 'public' instead of 'open'
127 |         try? standard.removeAllKey()
128 |     }
BUILD FAILURE 6.3 android