The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build UserCaches, reference master (52472e), with Swift 6.0 for Linux on 12 Jun 2025 07:14:37 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
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:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/ihejunqiu/UserCaches.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:eaa733228b13fb63f7b48fc0ae9a4552a427b7215d37e5caded5aa10021734d9
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/stephencelis/SQLite.swift.git
[1/9802] Fetching sqlite.swift
Fetched https://github.com/stephencelis/SQLite.swift.git from cache (1.16s)
Computing version for https://github.com/stephencelis/SQLite.swift.git
Computed https://github.com/stephencelis/SQLite.swift.git at 0.15.3 (0.85s)
Fetching https://github.com/stephencelis/CSQLite.git
[1/19] Fetching csqlite
Fetched https://github.com/stephencelis/CSQLite.git from cache (0.26s)
Computing version for https://github.com/stephencelis/CSQLite.git
Computed https://github.com/stephencelis/CSQLite.git at 0.0.3 (0.84s)
Creating working copy for https://github.com/stephencelis/CSQLite.git
Working copy of https://github.com/stephencelis/CSQLite.git resolved at 0.0.3
Creating working copy for https://github.com/stephencelis/SQLite.swift.git
Working copy of https://github.com/stephencelis/SQLite.swift.git resolved at 0.15.3
warning: 'csqlite': ignoring declared target(s) 'CSQLite' in the system package
warning: 'sqlite.swift': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/SQLite.swift/Sources/SQLite/PrivacyInfo.xcprivacy
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/36] Emitting module SQLite
[5/40] Compiling SQLite Query.swift
[6/40] Compiling SQLite Schema.swift
[7/40] Compiling SQLite Setter.swift
[8/40] Compiling SQLite WindowFunctions.swift
[9/40] Compiling SQLite Backup.swift
[10/40] Compiling SQLite Blob.swift
[11/40] Compiling SQLite Connection+Aggregation.swift
[12/40] Compiling SQLite Connection+Attach.swift
[13/40] Compiling SQLite Connection+Pragmas.swift
[14/40] Compiling SQLite DateAndTimeFunctions.swift
[15/40] Compiling SQLite Expression.swift
[16/40] Compiling SQLite Operators.swift
[17/40] Compiling SQLite Query+with.swift
[18/40] Compiling SQLite SchemaChanger.swift
[19/40] Compiling SQLite SchemaDefinitions.swift
[20/40] Compiling SQLite SchemaReader.swift
[21/40] Compiling SQLite AggregateFunctions.swift
[22/40] Compiling SQLite Coding.swift
[23/40] Compiling SQLite Collation.swift
[24/40] Compiling SQLite CoreFunctions.swift
[25/40] Compiling SQLite CustomFunctions.swift
[26/40] Compiling SQLite Statement.swift
[27/40] Compiling SQLite URIQueryParameter.swift
[28/40] Compiling SQLite Value.swift
[29/40] Compiling SQLite Cipher.swift
[30/40] Compiling SQLite FTS4.swift
[31/40] Compiling SQLite FTS5.swift
[32/40] Compiling SQLite RTree.swift
[33/40] Compiling SQLite Foundation.swift
[34/40] Compiling SQLite Helpers.swift
[35/40] Compiling SQLite Connection+Schema.swift
[36/40] Compiling SQLite Connection.swift
[37/40] Compiling SQLite Errors.swift
[38/40] Compiling SQLite Result.swift
[39/40] Compiling SQLite SQLiteFeature.swift
[40/40] Compiling SQLite SQLiteVersion.swift
[42/50] Compiling UserCaches UserCaches.swift
/host/spi-builder-workspace/Sources/UserCaches/UserCaches.swift:41:21: warning: static declarations are implicitly 'final'; use 'public' instead of 'open'
 39 |     /// Returns a global instance of UserCaches named "user.cache.default.standard.db" by default at executed directory.
 40 |     /// Create it at cache_filepath if you specify the value of cache_filepath at conf.properties.
 41 |     open static var standard: UserCaches = try! .init(cachePath: UserCaches._filename())
    |                     `- 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.
/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/CacheManager.swift:17:45: error: missing argument label 'value:' in call
15 |     // MARK: database field
16 |     private let _cache = Table("cache")
17 |     private let key    = Expression<String>("k")
   |                                             `- error: missing argument label 'value:' in call
18 |     private let value  = Expression<Data>("v")
19 |     let db: Connection
/host/spi-builder-workspace/Sources/UserCaches/CacheManager.swift:18:43: error: missing argument label 'value:' in call
16 |     private let _cache = Table("cache")
17 |     private let key    = Expression<String>("k")
18 |     private let value  = Expression<Data>("v")
   |                                           `- error: missing argument label 'value:' in call
19 |     let db: Connection
20 |
[43/51] Compiling UserCaches DiscardableCacheContent.swift
[44/51] Compiling UserCaches CodingError.swift
[45/51] Compiling UserCaches CacheCodability.swift
[46/51] Compiling UserCaches CacheCodable.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[47/51] Emitting module UserCaches
/host/spi-builder-workspace/Sources/UserCaches/CacheManager.swift:17:45: error: missing argument label 'value:' in call
15 |     // MARK: database field
16 |     private let _cache = Table("cache")
17 |     private let key    = Expression<String>("k")
   |                                             `- error: missing argument label 'value:' in call
18 |     private let value  = Expression<Data>("v")
19 |     let db: Connection
/host/spi-builder-workspace/Sources/UserCaches/CacheManager.swift:18:43: error: missing argument label 'value:' in call
16 |     private let _cache = Table("cache")
17 |     private let key    = Expression<String>("k")
18 |     private let value  = Expression<Data>("v")
   |                                           `- error: missing argument label 'value:' in call
19 |     let db: Connection
20 |
/host/spi-builder-workspace/Sources/UserCaches/UserCaches.swift:41:21: warning: static declarations are implicitly 'final'; use 'public' instead of 'open'
 39 |     /// Returns a global instance of UserCaches named "user.cache.default.standard.db" by default at executed directory.
 40 |     /// Create it at cache_filepath if you specify the value of cache_filepath at conf.properties.
 41 |     open static var standard: UserCaches = try! .init(cachePath: UserCaches._filename())
    |                     `- 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.
/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 } }
[48/51] 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 | }
[49/51] Compiling UserCaches CacheManager.swift
/host/spi-builder-workspace/Sources/UserCaches/CacheManager.swift:17:45: error: missing argument label 'value:' in call
15 |     // MARK: database field
16 |     private let _cache = Table("cache")
17 |     private let key    = Expression<String>("k")
   |                                             `- error: missing argument label 'value:' in call
18 |     private let value  = Expression<Data>("v")
19 |     let db: Connection
/host/spi-builder-workspace/Sources/UserCaches/CacheManager.swift:18:43: error: missing argument label 'value:' in call
16 |     private let _cache = Table("cache")
17 |     private let key    = Expression<String>("k")
18 |     private let value  = Expression<Data>("v")
   |                                           `- error: missing argument label 'value:' in call
19 |     let db: Connection
20 |
/host/spi-builder-workspace/Sources/UserCaches/CacheManager.swift:32:15: error: generic parameter 'V' could not be inferred
30 |         #endif
31 |         try db.run(_cache.create(ifNotExists: true) { t in
32 |             t.column(key)
   |               `- error: generic parameter 'V' could not be inferred
33 |             t.column(value)
34 |         })
/host/spi-builder-workspace/.build/checkouts/SQLite.swift/Sources/SQLite/Typed/Schema.swift:222:17: note: in call to function 'column(_:unique:check:defaultValue:)'
220 |     fileprivate var definitions = [Expressible]()
221 |
222 |     public func column<V: Value>(_ name: Expression<V>, unique: Bool = false, check: Expression<Bool>? = nil,
    |                 `- note: in call to function 'column(_:unique:check:defaultValue:)'
223 |                                  defaultValue: Expression<V>? = nil) {
224 |         column(name, V.declaredDatatype, nil, false, unique, check, defaultValue, nil, nil)
[50/51] Compiling UserCaches ConfRead.swift
[51/51] 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:41:21: warning: static declarations are implicitly 'final'; use 'public' instead of 'open'
 39 |     /// Returns a global instance of UserCaches named "user.cache.default.standard.db" by default at executed directory.
 40 |     /// Create it at cache_filepath if you specify the value of cache_filepath at conf.properties.
 41 |     open static var standard: UserCaches = try! .init(cachePath: UserCaches._filename())
    |                     `- 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.
/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.0 linux