The Swift Package Index logo.Swift Package Index

Build Information

Successful build of UserCaches, reference master (52472e), with Swift 6.1 for Linux on 28 Jun 2026 10:09:49 UTC.

Swift 6 data race errors: 11

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886768-0":/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.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 0e64495ecc1688c3b3e031a5ef1348b5c05091ae
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.1
Building package at path:  $PWD
https://github.com/wzhejunqiu/UserCaches.git
https://github.com/wzhejunqiu/UserCaches.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-0":/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.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:0f094b998e61bb35b7a666f42e392cfb12929ea8fa9160622b1badd8b73d5c87
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.1-latest
Fetching https://github.com/stephencelis/SQLite.swift.git
[1/11212] Fetching sqlite.swift
Fetched https://github.com/stephencelis/SQLite.swift.git from cache (0.79s)
Computing version for https://github.com/stephencelis/SQLite.swift.git
Computed https://github.com/stephencelis/SQLite.swift.git at 0.16.0 (1.04s)
Fetching https://github.com/sqlcipher/SQLCipher.swift
Fetching https://github.com/stephencelis/CSQLite
[1/131] Fetching sqlcipher.swift
[106/421] Fetching sqlcipher.swift, csqlite
Fetched https://github.com/stephencelis/CSQLite from cache (0.75s)
Fetched https://github.com/sqlcipher/SQLCipher.swift from cache (0.75s)
Computing version for https://github.com/stephencelis/CSQLite
Computed https://github.com/stephencelis/CSQLite at 3.53.3 (0.97s)
Computing version for https://github.com/sqlcipher/SQLCipher.swift
Computed https://github.com/sqlcipher/SQLCipher.swift at 4.16.0 (0.21s)
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.53.3
Creating working copy for https://github.com/sqlcipher/SQLCipher.swift
Working copy of https://github.com/sqlcipher/SQLCipher.swift resolved at 4.16.0
Downloading binary artifact https://github.com/sqlcipher/SQLCipher.swift/releases/download/4.16.0/SQLCipher.xcframework.zip
[5503/50207727] Downloading https://github.com/sqlcipher/SQLCipher.swift/releases/download/4.16.0/SQLCipher.xcframework.zip
Downloaded https://github.com/sqlcipher/SQLCipher.swift/releases/download/4.16.0/SQLCipher.xcframework.zip (3.30s)
Building for debugging...
[0/5] Write sources
[2/5] Copying PrivacyInfo.xcprivacy
[3/5] Compiling SQLiteSwiftCSQLite sqlite3.c
[3/5] Write swift-version-24593BA9C3E375BF.txt
[6/39] Emitting module SQLite
[7/43] Compiling SQLite Collation.swift
[8/43] Compiling SQLite CoreFunctions.swift
[9/43] Compiling SQLite CustomFunctions.swift
[10/43] Compiling SQLite DateAndTimeFunctions.swift
[11/43] Compiling SQLite Schema.swift
[12/43] Compiling SQLite Setter.swift
[13/43] Compiling SQLite WindowFunctions.swift
[14/43] Compiling SQLite resource_bundle_accessor.swift
[15/43] Compiling SQLite FTS5.swift
[16/43] Compiling SQLite RTree.swift
[17/43] Compiling SQLite Foundation.swift
[18/43] Compiling SQLite Helpers.swift
[19/43] Compiling SQLite Connection+Schema.swift
[20/43] Compiling SQLite Connection.swift
[21/43] Compiling SQLite Errors.swift
[22/43] Compiling SQLite Result.swift
[23/43] Compiling SQLite SQLiteFeature.swift
[24/43] Compiling SQLite SQLiteVersion.swift
[25/43] Compiling SQLite Expression.swift
[26/43] Compiling SQLite Operators.swift
[27/43] Compiling SQLite Query+with.swift
[28/43] Compiling SQLite Query.swift
[29/43] Compiling SQLite Statement.swift
[30/43] Compiling SQLite URIQueryParameter.swift
[31/43] Compiling SQLite Value.swift
[32/43] Compiling SQLite Cipher.swift
[33/43] Compiling SQLite FTS4.swift
[34/43] Compiling SQLite Backup.swift
[35/43] Compiling SQLite Blob.swift
[36/43] Compiling SQLite Connection+Aggregation.swift
[37/43] Compiling SQLite Connection+Attach.swift
[38/43] Compiling SQLite Connection+Pragmas.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 DiscardableCacheContent.swift
[46/54] Compiling UserCaches UserCaches.swift
/host/spi-builder-workspace/Sources/UserCaches/UserCaches.swift:41:21: warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 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 property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'standard' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 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: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 |     }
[47/54] Emitting module UserCaches
/host/spi-builder-workspace/Sources/UserCaches/CodingError.swift:19:10: warning: associated value 'invalidValue' of 'Sendable'-conforming enum 'EncodingError' has non-sendable type 'TypeHeader'; this is an error in the Swift 6 language mode
17 |         public let underlyingError: Error?
18 |     }
19 |     case invalidValue(TypeHeader, Context)
   |          `- warning: associated value 'invalidValue' of 'Sendable'-conforming enum 'EncodingError' has non-sendable type 'TypeHeader'; this is an error in the Swift 6 language mode
20 | }
21 |
/host/spi-builder-workspace/Sources/UserCaches/DefaultTypes.swift:11:13: note: consider making enum 'TypeHeader' conform to the 'Sendable' protocol
  9 | import Foundation
 10 |
 11 | public enum TypeHeader: UInt32 {
    |             `- note: consider making enum 'TypeHeader' conform to the 'Sendable' protocol
 12 |     case unknown    = 0b0000_0000_0000_0000_0000_0000_0000_0000
 13 |     case bool       = 0b1000_0000_0000_0000_0000_0000_0000_0000
/host/spi-builder-workspace/Sources/UserCaches/CodingError.swift:19:10: warning: associated value 'invalidValue' of 'Sendable'-conforming enum 'EncodingError' has non-sendable type 'EncodingError.Context'; this is an error in the Swift 6 language mode
10 |
11 | public enum EncodingError: Error {
12 |     public struct Context {
   |                   `- note: consider making struct 'Context' conform to the 'Sendable' protocol
13 |         /// A description of what went wrong, for debugging purposes.
14 |         public let debugDescription: String
   :
17 |         public let underlyingError: Error?
18 |     }
19 |     case invalidValue(TypeHeader, Context)
   |          `- warning: associated value 'invalidValue' of 'Sendable'-conforming enum 'EncodingError' has non-sendable type 'EncodingError.Context'; this is an error in the Swift 6 language mode
20 | }
21 |
/host/spi-builder-workspace/Sources/UserCaches/CodingError.swift:30:10: warning: associated value 'invalidLength' of 'Sendable'-conforming enum 'DecodingError' has non-sendable type 'TypeHeader'; this is an error in the Swift 6 language mode
28 |         public let underlyingError: Error?
29 |     }
30 |     case invalidLength(TypeHeader, Context)
   |          `- warning: associated value 'invalidLength' of 'Sendable'-conforming enum 'DecodingError' has non-sendable type 'TypeHeader'; this is an error in the Swift 6 language mode
31 |     case typeMisMatch(TypeHeader, Context)
32 |     case containterIncomplete(TypeHeader, Context)
/host/spi-builder-workspace/Sources/UserCaches/DefaultTypes.swift:11:13: note: consider making enum 'TypeHeader' conform to the 'Sendable' protocol
  9 | import Foundation
 10 |
 11 | public enum TypeHeader: UInt32 {
    |             `- note: consider making enum 'TypeHeader' conform to the 'Sendable' protocol
 12 |     case unknown    = 0b0000_0000_0000_0000_0000_0000_0000_0000
 13 |     case bool       = 0b1000_0000_0000_0000_0000_0000_0000_0000
/host/spi-builder-workspace/Sources/UserCaches/CodingError.swift:30:10: warning: associated value 'invalidLength' of 'Sendable'-conforming enum 'DecodingError' has non-sendable type 'DecodingError.Context'; this is an error in the Swift 6 language mode
21 |
22 | public enum DecodingError: Error {
23 |     public struct Context {
   |                   `- note: consider making struct 'Context' conform to the 'Sendable' protocol
24 |         /// A description of what went wrong, for debugging purposes.
25 |         public let debugDescription: String
   :
28 |         public let underlyingError: Error?
29 |     }
30 |     case invalidLength(TypeHeader, Context)
   |          `- warning: associated value 'invalidLength' of 'Sendable'-conforming enum 'DecodingError' has non-sendable type 'DecodingError.Context'; this is an error in the Swift 6 language mode
31 |     case typeMisMatch(TypeHeader, Context)
32 |     case containterIncomplete(TypeHeader, Context)
/host/spi-builder-workspace/Sources/UserCaches/CodingError.swift:31:10: warning: associated value 'typeMisMatch' of 'Sendable'-conforming enum 'DecodingError' has non-sendable type 'TypeHeader'; this is an error in the Swift 6 language mode
29 |     }
30 |     case invalidLength(TypeHeader, Context)
31 |     case typeMisMatch(TypeHeader, Context)
   |          `- warning: associated value 'typeMisMatch' of 'Sendable'-conforming enum 'DecodingError' has non-sendable type 'TypeHeader'; this is an error in the Swift 6 language mode
32 |     case containterIncomplete(TypeHeader, Context)
33 |     case invalidValue(TypeHeader, Context)
/host/spi-builder-workspace/Sources/UserCaches/DefaultTypes.swift:11:13: note: consider making enum 'TypeHeader' conform to the 'Sendable' protocol
  9 | import Foundation
 10 |
 11 | public enum TypeHeader: UInt32 {
    |             `- note: consider making enum 'TypeHeader' conform to the 'Sendable' protocol
 12 |     case unknown    = 0b0000_0000_0000_0000_0000_0000_0000_0000
 13 |     case bool       = 0b1000_0000_0000_0000_0000_0000_0000_0000
/host/spi-builder-workspace/Sources/UserCaches/CodingError.swift:31:10: warning: associated value 'typeMisMatch' of 'Sendable'-conforming enum 'DecodingError' has non-sendable type 'DecodingError.Context'; this is an error in the Swift 6 language mode
21 |
22 | public enum DecodingError: Error {
23 |     public struct Context {
   |                   `- note: consider making struct 'Context' conform to the 'Sendable' protocol
24 |         /// A description of what went wrong, for debugging purposes.
25 |         public let debugDescription: String
   :
29 |     }
30 |     case invalidLength(TypeHeader, Context)
31 |     case typeMisMatch(TypeHeader, Context)
   |          `- warning: associated value 'typeMisMatch' of 'Sendable'-conforming enum 'DecodingError' has non-sendable type 'DecodingError.Context'; this is an error in the Swift 6 language mode
32 |     case containterIncomplete(TypeHeader, Context)
33 |     case invalidValue(TypeHeader, Context)
/host/spi-builder-workspace/Sources/UserCaches/CodingError.swift:32:10: warning: associated value 'containterIncomplete' of 'Sendable'-conforming enum 'DecodingError' has non-sendable type 'TypeHeader'; this is an error in the Swift 6 language mode
30 |     case invalidLength(TypeHeader, Context)
31 |     case typeMisMatch(TypeHeader, Context)
32 |     case containterIncomplete(TypeHeader, Context)
   |          `- warning: associated value 'containterIncomplete' of 'Sendable'-conforming enum 'DecodingError' has non-sendable type 'TypeHeader'; this is an error in the Swift 6 language mode
33 |     case invalidValue(TypeHeader, Context)
34 | }
/host/spi-builder-workspace/Sources/UserCaches/DefaultTypes.swift:11:13: note: consider making enum 'TypeHeader' conform to the 'Sendable' protocol
  9 | import Foundation
 10 |
 11 | public enum TypeHeader: UInt32 {
    |             `- note: consider making enum 'TypeHeader' conform to the 'Sendable' protocol
 12 |     case unknown    = 0b0000_0000_0000_0000_0000_0000_0000_0000
 13 |     case bool       = 0b1000_0000_0000_0000_0000_0000_0000_0000
/host/spi-builder-workspace/Sources/UserCaches/CodingError.swift:32:10: warning: associated value 'containterIncomplete' of 'Sendable'-conforming enum 'DecodingError' has non-sendable type 'DecodingError.Context'; this is an error in the Swift 6 language mode
21 |
22 | public enum DecodingError: Error {
23 |     public struct Context {
   |                   `- note: consider making struct 'Context' conform to the 'Sendable' protocol
24 |         /// A description of what went wrong, for debugging purposes.
25 |         public let debugDescription: String
   :
30 |     case invalidLength(TypeHeader, Context)
31 |     case typeMisMatch(TypeHeader, Context)
32 |     case containterIncomplete(TypeHeader, Context)
   |          `- warning: associated value 'containterIncomplete' of 'Sendable'-conforming enum 'DecodingError' has non-sendable type 'DecodingError.Context'; this is an error in the Swift 6 language mode
33 |     case invalidValue(TypeHeader, Context)
34 | }
/host/spi-builder-workspace/Sources/UserCaches/CodingError.swift:33:10: warning: associated value 'invalidValue' of 'Sendable'-conforming enum 'DecodingError' has non-sendable type 'TypeHeader'; this is an error in the Swift 6 language mode
31 |     case typeMisMatch(TypeHeader, Context)
32 |     case containterIncomplete(TypeHeader, Context)
33 |     case invalidValue(TypeHeader, Context)
   |          `- warning: associated value 'invalidValue' of 'Sendable'-conforming enum 'DecodingError' has non-sendable type 'TypeHeader'; this is an error in the Swift 6 language mode
34 | }
35 |
/host/spi-builder-workspace/Sources/UserCaches/DefaultTypes.swift:11:13: note: consider making enum 'TypeHeader' conform to the 'Sendable' protocol
  9 | import Foundation
 10 |
 11 | public enum TypeHeader: UInt32 {
    |             `- note: consider making enum 'TypeHeader' conform to the 'Sendable' protocol
 12 |     case unknown    = 0b0000_0000_0000_0000_0000_0000_0000_0000
 13 |     case bool       = 0b1000_0000_0000_0000_0000_0000_0000_0000
/host/spi-builder-workspace/Sources/UserCaches/CodingError.swift:33:10: warning: associated value 'invalidValue' of 'Sendable'-conforming enum 'DecodingError' has non-sendable type 'DecodingError.Context'; this is an error in the Swift 6 language mode
21 |
22 | public enum DecodingError: Error {
23 |     public struct Context {
   |                   `- note: consider making struct 'Context' conform to the 'Sendable' protocol
24 |         /// A description of what went wrong, for debugging purposes.
25 |         public let debugDescription: String
   :
31 |     case typeMisMatch(TypeHeader, Context)
32 |     case containterIncomplete(TypeHeader, Context)
33 |     case invalidValue(TypeHeader, Context)
   |          `- warning: associated value 'invalidValue' of 'Sendable'-conforming enum 'DecodingError' has non-sendable type 'DecodingError.Context'; this is an error in the Swift 6 language mode
34 | }
35 |
/host/spi-builder-workspace/Sources/UserCaches/UserCaches.swift:41:21: warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 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 property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'standard' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 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: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/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 | }
[49/54] Compiling UserCaches CacheManager.swift
[50/54] Compiling UserCaches CacheCodability.swift
[51/54] Compiling UserCaches CacheCodable.swift
[52/54] Compiling UserCaches CodingError.swift
/host/spi-builder-workspace/Sources/UserCaches/CodingError.swift:19:10: warning: associated value 'invalidValue' of 'Sendable'-conforming enum 'EncodingError' has non-sendable type 'TypeHeader'; this is an error in the Swift 6 language mode
17 |         public let underlyingError: Error?
18 |     }
19 |     case invalidValue(TypeHeader, Context)
   |          `- warning: associated value 'invalidValue' of 'Sendable'-conforming enum 'EncodingError' has non-sendable type 'TypeHeader'; this is an error in the Swift 6 language mode
20 | }
21 |
/host/spi-builder-workspace/Sources/UserCaches/DefaultTypes.swift:11:13: note: consider making enum 'TypeHeader' conform to the 'Sendable' protocol
  9 | import Foundation
 10 |
 11 | public enum TypeHeader: UInt32 {
    |             `- note: consider making enum 'TypeHeader' conform to the 'Sendable' protocol
 12 |     case unknown    = 0b0000_0000_0000_0000_0000_0000_0000_0000
 13 |     case bool       = 0b1000_0000_0000_0000_0000_0000_0000_0000
/host/spi-builder-workspace/Sources/UserCaches/CodingError.swift:19:10: warning: associated value 'invalidValue' of 'Sendable'-conforming enum 'EncodingError' has non-sendable type 'EncodingError.Context'; this is an error in the Swift 6 language mode
10 |
11 | public enum EncodingError: Error {
12 |     public struct Context {
   |                   `- note: consider making struct 'Context' conform to the 'Sendable' protocol
13 |         /// A description of what went wrong, for debugging purposes.
14 |         public let debugDescription: String
   :
17 |         public let underlyingError: Error?
18 |     }
19 |     case invalidValue(TypeHeader, Context)
   |          `- warning: associated value 'invalidValue' of 'Sendable'-conforming enum 'EncodingError' has non-sendable type 'EncodingError.Context'; this is an error in the Swift 6 language mode
20 | }
21 |
/host/spi-builder-workspace/Sources/UserCaches/CodingError.swift:30:10: warning: associated value 'invalidLength' of 'Sendable'-conforming enum 'DecodingError' has non-sendable type 'TypeHeader'; this is an error in the Swift 6 language mode
28 |         public let underlyingError: Error?
29 |     }
30 |     case invalidLength(TypeHeader, Context)
   |          `- warning: associated value 'invalidLength' of 'Sendable'-conforming enum 'DecodingError' has non-sendable type 'TypeHeader'; this is an error in the Swift 6 language mode
31 |     case typeMisMatch(TypeHeader, Context)
32 |     case containterIncomplete(TypeHeader, Context)
/host/spi-builder-workspace/Sources/UserCaches/DefaultTypes.swift:11:13: note: consider making enum 'TypeHeader' conform to the 'Sendable' protocol
  9 | import Foundation
 10 |
 11 | public enum TypeHeader: UInt32 {
    |             `- note: consider making enum 'TypeHeader' conform to the 'Sendable' protocol
 12 |     case unknown    = 0b0000_0000_0000_0000_0000_0000_0000_0000
 13 |     case bool       = 0b1000_0000_0000_0000_0000_0000_0000_0000
/host/spi-builder-workspace/Sources/UserCaches/CodingError.swift:30:10: warning: associated value 'invalidLength' of 'Sendable'-conforming enum 'DecodingError' has non-sendable type 'DecodingError.Context'; this is an error in the Swift 6 language mode
21 |
22 | public enum DecodingError: Error {
23 |     public struct Context {
   |                   `- note: consider making struct 'Context' conform to the 'Sendable' protocol
24 |         /// A description of what went wrong, for debugging purposes.
25 |         public let debugDescription: String
   :
28 |         public let underlyingError: Error?
29 |     }
30 |     case invalidLength(TypeHeader, Context)
   |          `- warning: associated value 'invalidLength' of 'Sendable'-conforming enum 'DecodingError' has non-sendable type 'DecodingError.Context'; this is an error in the Swift 6 language mode
31 |     case typeMisMatch(TypeHeader, Context)
32 |     case containterIncomplete(TypeHeader, Context)
/host/spi-builder-workspace/Sources/UserCaches/CodingError.swift:31:10: warning: associated value 'typeMisMatch' of 'Sendable'-conforming enum 'DecodingError' has non-sendable type 'TypeHeader'; this is an error in the Swift 6 language mode
29 |     }
30 |     case invalidLength(TypeHeader, Context)
31 |     case typeMisMatch(TypeHeader, Context)
   |          `- warning: associated value 'typeMisMatch' of 'Sendable'-conforming enum 'DecodingError' has non-sendable type 'TypeHeader'; this is an error in the Swift 6 language mode
32 |     case containterIncomplete(TypeHeader, Context)
33 |     case invalidValue(TypeHeader, Context)
/host/spi-builder-workspace/Sources/UserCaches/DefaultTypes.swift:11:13: note: consider making enum 'TypeHeader' conform to the 'Sendable' protocol
  9 | import Foundation
 10 |
 11 | public enum TypeHeader: UInt32 {
    |             `- note: consider making enum 'TypeHeader' conform to the 'Sendable' protocol
 12 |     case unknown    = 0b0000_0000_0000_0000_0000_0000_0000_0000
 13 |     case bool       = 0b1000_0000_0000_0000_0000_0000_0000_0000
/host/spi-builder-workspace/Sources/UserCaches/CodingError.swift:31:10: warning: associated value 'typeMisMatch' of 'Sendable'-conforming enum 'DecodingError' has non-sendable type 'DecodingError.Context'; this is an error in the Swift 6 language mode
21 |
22 | public enum DecodingError: Error {
23 |     public struct Context {
   |                   `- note: consider making struct 'Context' conform to the 'Sendable' protocol
24 |         /// A description of what went wrong, for debugging purposes.
25 |         public let debugDescription: String
   :
29 |     }
30 |     case invalidLength(TypeHeader, Context)
31 |     case typeMisMatch(TypeHeader, Context)
   |          `- warning: associated value 'typeMisMatch' of 'Sendable'-conforming enum 'DecodingError' has non-sendable type 'DecodingError.Context'; this is an error in the Swift 6 language mode
32 |     case containterIncomplete(TypeHeader, Context)
33 |     case invalidValue(TypeHeader, Context)
/host/spi-builder-workspace/Sources/UserCaches/CodingError.swift:32:10: warning: associated value 'containterIncomplete' of 'Sendable'-conforming enum 'DecodingError' has non-sendable type 'TypeHeader'; this is an error in the Swift 6 language mode
30 |     case invalidLength(TypeHeader, Context)
31 |     case typeMisMatch(TypeHeader, Context)
32 |     case containterIncomplete(TypeHeader, Context)
   |          `- warning: associated value 'containterIncomplete' of 'Sendable'-conforming enum 'DecodingError' has non-sendable type 'TypeHeader'; this is an error in the Swift 6 language mode
33 |     case invalidValue(TypeHeader, Context)
34 | }
/host/spi-builder-workspace/Sources/UserCaches/DefaultTypes.swift:11:13: note: consider making enum 'TypeHeader' conform to the 'Sendable' protocol
  9 | import Foundation
 10 |
 11 | public enum TypeHeader: UInt32 {
    |             `- note: consider making enum 'TypeHeader' conform to the 'Sendable' protocol
 12 |     case unknown    = 0b0000_0000_0000_0000_0000_0000_0000_0000
 13 |     case bool       = 0b1000_0000_0000_0000_0000_0000_0000_0000
/host/spi-builder-workspace/Sources/UserCaches/CodingError.swift:32:10: warning: associated value 'containterIncomplete' of 'Sendable'-conforming enum 'DecodingError' has non-sendable type 'DecodingError.Context'; this is an error in the Swift 6 language mode
21 |
22 | public enum DecodingError: Error {
23 |     public struct Context {
   |                   `- note: consider making struct 'Context' conform to the 'Sendable' protocol
24 |         /// A description of what went wrong, for debugging purposes.
25 |         public let debugDescription: String
   :
30 |     case invalidLength(TypeHeader, Context)
31 |     case typeMisMatch(TypeHeader, Context)
32 |     case containterIncomplete(TypeHeader, Context)
   |          `- warning: associated value 'containterIncomplete' of 'Sendable'-conforming enum 'DecodingError' has non-sendable type 'DecodingError.Context'; this is an error in the Swift 6 language mode
33 |     case invalidValue(TypeHeader, Context)
34 | }
/host/spi-builder-workspace/Sources/UserCaches/CodingError.swift:33:10: warning: associated value 'invalidValue' of 'Sendable'-conforming enum 'DecodingError' has non-sendable type 'TypeHeader'; this is an error in the Swift 6 language mode
31 |     case typeMisMatch(TypeHeader, Context)
32 |     case containterIncomplete(TypeHeader, Context)
33 |     case invalidValue(TypeHeader, Context)
   |          `- warning: associated value 'invalidValue' of 'Sendable'-conforming enum 'DecodingError' has non-sendable type 'TypeHeader'; this is an error in the Swift 6 language mode
34 | }
35 |
/host/spi-builder-workspace/Sources/UserCaches/DefaultTypes.swift:11:13: note: consider making enum 'TypeHeader' conform to the 'Sendable' protocol
  9 | import Foundation
 10 |
 11 | public enum TypeHeader: UInt32 {
    |             `- note: consider making enum 'TypeHeader' conform to the 'Sendable' protocol
 12 |     case unknown    = 0b0000_0000_0000_0000_0000_0000_0000_0000
 13 |     case bool       = 0b1000_0000_0000_0000_0000_0000_0000_0000
/host/spi-builder-workspace/Sources/UserCaches/CodingError.swift:33:10: warning: associated value 'invalidValue' of 'Sendable'-conforming enum 'DecodingError' has non-sendable type 'DecodingError.Context'; this is an error in the Swift 6 language mode
21 |
22 | public enum DecodingError: Error {
23 |     public struct Context {
   |                   `- note: consider making struct 'Context' conform to the 'Sendable' protocol
24 |         /// A description of what went wrong, for debugging purposes.
25 |         public let debugDescription: String
   :
31 |     case typeMisMatch(TypeHeader, Context)
32 |     case containterIncomplete(TypeHeader, Context)
33 |     case invalidValue(TypeHeader, Context)
   |          `- warning: associated value 'invalidValue' of 'Sendable'-conforming enum 'DecodingError' has non-sendable type 'DecodingError.Context'; this is an error in the Swift 6 language mode
34 | }
35 |
[53/54] Compiling UserCaches ConfRead.swift
[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: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 complete! (12.29s)
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.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:0f094b998e61bb35b7a666f42e392cfb12929ea8fa9160622b1badd8b73d5c87
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.1-latest
Done.