Build Information
Successful build of UserCaches, reference master (52472e), with Swift 6.4 for Linux on 25 Sep 2026 12:56:34 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344844-1":/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:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/wzhejunqiu/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/wzhejunqiu/UserCaches
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 52472ec Update run-tests.sh
Cloned https://github.com/wzhejunqiu/UserCaches.git
Revision (git rev-parse @):
52472ecdc7736786b1f7522be1544a455edd6336
SUCCESS checkout https://github.com/wzhejunqiu/UserCaches.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.4
Building package at path: $PWD
https://github.com/wzhejunqiu/UserCaches.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-1":/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:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Fetching https://github.com/stephencelis/SQLite.swift.git
[1/11307] Fetching sqlite.swift
Fetched https://github.com/stephencelis/SQLite.swift.git (0.81s)
Computing version for https://github.com/stephencelis/SQLite.swift.git
warning: 'sqlite.swift': /Package.swift:41:19: warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
39 | .iOS(.v12),
40 | .macOS(.v10_13),
41 | .watchOS(.v4),
| `- warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
42 | .tvOS(.v12),
43 | .visionOS(.v1)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Computed https://github.com/stephencelis/SQLite.swift.git at 0.16.0 (1.03s)
Fetching https://github.com/stephencelis/CSQLite
[1/295] Fetching csqlite
Fetched https://github.com/stephencelis/CSQLite (0.88s)
Computing version for https://github.com/stephencelis/CSQLite
Computed https://github.com/stephencelis/CSQLite at 3.53.3 (1.05s)
Creating working copy for https://github.com/stephencelis/CSQLite
Working copy of https://github.com/stephencelis/CSQLite resolved at 3.53.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.16.0
warning: 'sqlite.swift': /host/spi-builder-workspace/.build/checkouts/SQLite.swift/Package.swift:41:19: warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
39 | .iOS(.v12),
40 | .macOS(.v10_13),
41 | .watchOS(.v4),
| `- warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
42 | .tvOS(.v12),
43 | .visionOS(.v1)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Building for debugging...
[Pre-planning 1 / 156]
[Starting]
[42 / 59] SQLite
[43 / 59] SQLite
[49 / 59] SQLite-product
[58 / 69] UserCaches
[59 / 70] UserCaches
[62 / 70] UserCaches
/host/spi-builder-workspace/Sources/UserCaches/UserCaches.swift:41:21: [1;33mwarning: [1;39mstatic declarations are implicitly 'final'; use 'public' instead of 'open'[0;0m
[0;36m39 |[0;0m /// Returns a global instance of UserCaches named "user.cache.default.standard.db" by default at executed directory.
[0;36m40 |[0;0m /// Create it at cache_filepath if you specify the value of cache_filepath at conf.properties.
[0;36m41 |[0;0m open static var standard: UserCaches = try! .init(cachePath: UserCaches._filename())
[0;36m|[0;0m `- [1;33mwarning: [1;39mstatic declarations are implicitly 'final'; use 'public' instead of 'open'[0;0m
[0;36m42 |[0;0m #else
[0;36m43 |[0;0m /// 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: [1;33mwarning: [1;39mstatic declarations are implicitly 'final'; use 'public' instead of 'open'[0;0m
[0;36m124 |[0;0m
[0;36m125 |[0;0m /// Remove all keys of standard global instance from disk. And clean memory cache.
[0;36m126 |[0;0m open static func resetStandardUserDefaults() {
[0;36m|[0;0m `- [1;33mwarning: [1;39mstatic declarations are implicitly 'final'; use 'public' instead of 'open'[0;0m
[0;36m127 |[0;0m try? standard.removeAllKey()
[0;36m128 |[0;0m }
/host/spi-builder-workspace/Sources/UserCaches/UserCaches.swift:41:21: [1;33mwarning: [1;39mstatic declarations are implicitly 'final'; use 'public' instead of 'open'[0;0m
[0;36m39 |[0;0m /// Returns a global instance of UserCaches named "user.cache.default.standard.db" by default at executed directory.
[0;36m40 |[0;0m /// Create it at cache_filepath if you specify the value of cache_filepath at conf.properties.
[0;36m41 |[0;0m open static var standard: UserCaches = try! .init(cachePath: UserCaches._filename())
[0;36m|[0;0m `- [1;33mwarning: [1;39mstatic declarations are implicitly 'final'; use 'public' instead of 'open'[0;0m
[0;36m42 |[0;0m #else
[0;36m43 |[0;0m /// 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: [1;33mwarning: [1;39mstatic declarations are implicitly 'final'; use 'public' instead of 'open'[0;0m
[0;36m124 |[0;0m
[0;36m125 |[0;0m /// Remove all keys of standard global instance from disk. And clean memory cache.
[0;36m126 |[0;0m open static func resetStandardUserDefaults() {
[0;36m|[0;0m `- [1;33mwarning: [1;39mstatic declarations are implicitly 'final'; use 'public' instead of 'open'[0;0m
[0;36m127 |[0;0m try? standard.removeAllKey()
[0;36m128 |[0;0m }
/host/spi-builder-workspace/Sources/UserCaches/UserCachesSettable.swift:56:5: [1;33mwarning: [1;39m'public' modifier is redundant for property declared in a public extension[0;0m
[0;36m54 |[0;0m ///
[0;36m55 |[0;0m /// Also use the type defer to **Codable**. Wrap Codable by **CacheCodability** (CacheCodability(value: Codable)).
[0;36m56 |[0;0m public var storage: CacheEncodable {
[0;36m|[0;0m `- [1;33mwarning: [1;39m'public' modifier is redundant for property declared in a public extension[0;0m
[0;36m57 |[0;0m nonmutating set {
[0;36m58 |[0;0m do {
/host/spi-builder-workspace/Sources/UserCaches/UserCachesSettable.swift:70:5: [1;33mwarning: [1;39m'public' modifier is redundant for instance method declared in a public extension[0;0m
[0;36m68 |[0;0m ///
[0;36m69 |[0;0m /// - Returns: A value deferred to CacheDecodable.
[0;36m70 |[0;0m public func value<T: CacheDecodable>() -> T? {
[0;36m|[0;0m `- [1;33mwarning: [1;39m'public' modifier is redundant for instance method declared in a public extension[0;0m
[0;36m71 |[0;0m do {
[0;36m72 |[0;0m return try UserCaches.standard.value(forKey: key)
/host/spi-builder-workspace/Sources/UserCaches/UserCachesSettable.swift:82:5: [1;33mwarning: [1;39m'public' modifier is redundant for instance method declared in a public extension[0;0m
[0;36m80 |[0;0m ///
[0;36m81 |[0;0m /// - Returns: A value deferred to Decodable.
[0;36m82 |[0;0m public func valueofCodable<T: Decodable>() -> T? {
[0;36m|[0;0m `- [1;33mwarning: [1;39m'public' modifier is redundant for instance method declared in a public extension[0;0m
[0;36m83 |[0;0m do {
[0;36m84 |[0;0m let v: CacheCodability<T> = try UserCaches.standard.value(forKey: key)
/host/spi-builder-workspace/Sources/UserCaches/UserCachesSettable.swift:92:5: [1;33mwarning: [1;39m'public' modifier is redundant for property declared in a public extension[0;0m
[0;36m90 |[0;0m }
[0;36m91 |[0;0m
[0;36m92 |[0;0m public var key: String {
[0;36m|[0;0m `- [1;33mwarning: [1;39m'public' modifier is redundant for property declared in a public extension[0;0m
[0;36m93 |[0;0m var type = "\(Self.self)"
[0;36m94 |[0;0m var `case` = rawValue
/host/spi-builder-workspace/Sources/UserCaches/UserCachesSettable.swift:124:5: [1;33mwarning: [1;39m'public' modifier is redundant for property declared in a public extension[0;0m
[0;36m122 |[0;0m }
[0;36m123 |[0;0m
[0;36m124 |[0;0m public var identifierMode: CacheKeyMode { return .raw }
[0;36m|[0;0m `- [1;33mwarning: [1;39m'public' modifier is redundant for property declared in a public extension[0;0m
[0;36m125 |[0;0m
[0;36m126 |[0;0m private var _asciiUpperCaseTable: UInt64 { @inline(__always) get { return 0b0000_0000_0000_0000_0001_1111_1111_1111_0000_0000_0000_0000_0000_0000_0000_0000 } }
[67 / 70] UserCaches
/host/spi-builder-workspace/Sources/UserCaches/DefaultTypes.swift:61:37: [1;33mwarning: [1;39mforming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.[0;0m
[0;36m59 |[0;0m var k = header.rawValue
[0;36m60 |[0;0m let header = Data(bytes: &k, count: MemoryLayout.size(ofValue: k))
[0;36m61 |[0;0m let data = header + Data(bytes: &v, count: MemoryLayout<T>.size)
[0;36m|[0;0m `- [1;33mwarning: [1;39mforming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.[0;0m
[0;36m62 |[0;0m return data
[0;36m63 |[0;0m }
/host/spi-builder-workspace/Sources/UserCaches/UserCachesSettable.swift:56:5: [1;33mwarning: [1;39m'public' modifier is redundant for property declared in a public extension[0;0m
[0;36m54 |[0;0m ///
[0;36m55 |[0;0m /// Also use the type defer to **Codable**. Wrap Codable by **CacheCodability** (CacheCodability(value: Codable)).
[0;36m56 |[0;0m public var storage: CacheEncodable {
[0;36m|[0;0m `- [1;33mwarning: [1;39m'public' modifier is redundant for property declared in a public extension[0;0m
[0;36m57 |[0;0m nonmutating set {
[0;36m58 |[0;0m do {
/host/spi-builder-workspace/Sources/UserCaches/UserCachesSettable.swift:70:5: [1;33mwarning: [1;39m'public' modifier is redundant for instance method declared in a public extension[0;0m
[0;36m68 |[0;0m ///
[0;36m69 |[0;0m /// - Returns: A value deferred to CacheDecodable.
[0;36m70 |[0;0m public func value<T: CacheDecodable>() -> T? {
[0;36m|[0;0m `- [1;33mwarning: [1;39m'public' modifier is redundant for instance method declared in a public extension[0;0m
[0;36m71 |[0;0m do {
[0;36m72 |[0;0m return try UserCaches.standard.value(forKey: key)
/host/spi-builder-workspace/Sources/UserCaches/UserCachesSettable.swift:82:5: [1;33mwarning: [1;39m'public' modifier is redundant for instance method declared in a public extension[0;0m
[0;36m80 |[0;0m ///
[0;36m81 |[0;0m /// - Returns: A value deferred to Decodable.
[0;36m82 |[0;0m public func valueofCodable<T: Decodable>() -> T? {
[0;36m|[0;0m `- [1;33mwarning: [1;39m'public' modifier is redundant for instance method declared in a public extension[0;0m
[0;36m83 |[0;0m do {
[0;36m84 |[0;0m let v: CacheCodability<T> = try UserCaches.standard.value(forKey: key)
/host/spi-builder-workspace/Sources/UserCaches/UserCachesSettable.swift:92:5: [1;33mwarning: [1;39m'public' modifier is redundant for property declared in a public extension[0;0m
[0;36m90 |[0;0m }
[0;36m91 |[0;0m
[0;36m92 |[0;0m public var key: String {
[0;36m|[0;0m `- [1;33mwarning: [1;39m'public' modifier is redundant for property declared in a public extension[0;0m
[0;36m93 |[0;0m var type = "\(Self.self)"
[0;36m94 |[0;0m var `case` = rawValue
/host/spi-builder-workspace/Sources/UserCaches/UserCachesSettable.swift:124:5: [1;33mwarning: [1;39m'public' modifier is redundant for property declared in a public extension[0;0m
[0;36m122 |[0;0m }
[0;36m123 |[0;0m
[0;36m124 |[0;0m public var identifierMode: CacheKeyMode { return .raw }
[0;36m|[0;0m `- [1;33mwarning: [1;39m'public' modifier is redundant for property declared in a public extension[0;0m
[0;36m125 |[0;0m
[0;36m126 |[0;0m 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: [1;33mwarning: [1;39mstatic declarations are implicitly 'final'; use 'public' instead of 'open'[0;0m
[0;36m39 |[0;0m /// Returns a global instance of UserCaches named "user.cache.default.standard.db" by default at executed directory.
[0;36m40 |[0;0m /// Create it at cache_filepath if you specify the value of cache_filepath at conf.properties.
[0;36m41 |[0;0m open static var standard: UserCaches = try! .init(cachePath: UserCaches._filename())
[0;36m|[0;0m `- [1;33mwarning: [1;39mstatic declarations are implicitly 'final'; use 'public' instead of 'open'[0;0m
[0;36m42 |[0;0m #else
[0;36m43 |[0;0m /// 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: [1;33mwarning: [1;39mstatic declarations are implicitly 'final'; use 'public' instead of 'open'[0;0m
[0;36m124 |[0;0m
[0;36m125 |[0;0m /// Remove all keys of standard global instance from disk. And clean memory cache.
[0;36m126 |[0;0m open static func resetStandardUserDefaults() {
[0;36m|[0;0m `- [1;33mwarning: [1;39mstatic declarations are implicitly 'final'; use 'public' instead of 'open'[0;0m
[0;36m127 |[0;0m try? standard.removeAllKey()
[0;36m128 |[0;0m }
[67 / 71] UserCaches
Build complete! (7.21 secs)
Build complete.
{
"dependencies" : [
{
"identity" : "sqlite.swift",
"requirement" : {
"range" : [
{
"lower_bound" : "0.11.5",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/stephencelis/SQLite.swift.git"
}
],
"manifest_display_name" : "UserCaches",
"name" : "UserCaches",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "UserCaches",
"targets" : [
"UserCaches"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "UserCachesTests",
"module_type" : "SwiftTarget",
"name" : "UserCachesTests",
"path" : "Tests/UserCachesTests",
"sources" : [
"ConfTests.swift",
"UserCachesTests.swift",
"UserModel.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"UserCaches"
],
"type" : "test"
},
{
"c99name" : "UserCaches",
"module_type" : "SwiftTarget",
"name" : "UserCaches",
"path" : "Sources/UserCaches",
"product_dependencies" : [
"SQLite"
],
"product_memberships" : [
"UserCaches"
],
"sources" : [
"CacheCodability.swift",
"CacheCodable.swift",
"CacheManager.swift",
"CodingError.swift",
"Conf/ConfRead.swift",
"DefaultTypes.swift",
"DiscardableCacheContent.swift",
"UserCaches.swift",
"UserCachesSettable.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Done.