The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build UserCaches, reference 0.0.6 (2740a2), with Swift 6.0 for macOS (SPM) on 27 Nov 2024 09:22:05 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -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

Build Log

========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/CUITCHE/UserCaches.git
Reference: 0.0.6
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/CUITCHE/UserCaches
 * tag               0.0.6      -> FETCH_HEAD
HEAD is now at 2740a21 Merge branch 'master' of github.com:CUITCHE/UserCaches
Cloned https://github.com/CUITCHE/UserCaches.git
Revision (git rev-parse @):
2740a2121f55a828c4dd7b25f3cacad76dbb6b8d
SUCCESS checkout https://github.com/CUITCHE/UserCaches.git at 0.0.6
Fetching https://github.com/stephencelis/SQLite.swift.git
[1/9589] Fetching sqlite.swift
Fetched https://github.com/stephencelis/SQLite.swift.git from cache (1.49s)
Computing version for https://github.com/stephencelis/SQLite.swift.git
warning: 'sqlite.swift': /Package.swift:7:15: warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version
 5 |     name: "SQLite.swift",
 6 |     platforms: [
 7 |         .iOS(.v11),
   |               `- warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version
 8 |         .macOS(.v10_13),
 9 |         .watchOS(.v4),
/Package.swift:10:16: warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version
 8 |         .macOS(.v10_13),
 9 |         .watchOS(.v4),
10 |         .tvOS(.v11),
   |                `- warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version
11 |         .visionOS(.v1)
12 |     ],
Computed https://github.com/stephencelis/SQLite.swift.git at 0.15.3 (0.48s)
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: 'sqlite.swift': /Users/admin/builder/spi-builder-workspace/.build/checkouts/SQLite.swift/Package.swift:7:15: warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version
 5 |     name: "SQLite.swift",
 6 |     platforms: [
 7 |         .iOS(.v11),
   |               `- warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version
 8 |         .macOS(.v10_13),
 9 |         .watchOS(.v4),
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SQLite.swift/Package.swift:10:16: warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version
 8 |         .macOS(.v10_13),
 9 |         .watchOS(.v4),
10 |         .tvOS(.v11),
   |                `- warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version
11 |         .visionOS(.v1)
12 |     ],
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "usercaches",
      "name": "UserCaches",
      "url": "https://github.com/CUITCHE/UserCaches.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/UserCaches",
      "dependencies": [
        {
          "identity": "sqlite.swift",
          "name": "SQLite.swift",
          "url": "https://github.com/stephencelis/SQLite.swift.git",
          "version": "0.15.3",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SQLite.swift",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/CUITCHE/UserCaches.git
[1/214] Fetching usercaches
Fetched https://github.com/CUITCHE/UserCaches.git from cache (0.63s)
Fetching https://github.com/stephencelis/SQLite.swift.git from cache
Fetched https://github.com/stephencelis/SQLite.swift.git from cache (0.56s)
Computing version for https://github.com/stephencelis/SQLite.swift.git
Computed https://github.com/stephencelis/SQLite.swift.git at 0.15.3 (0.02s)
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
Creating working copy for https://github.com/CUITCHE/UserCaches.git
Working copy of https://github.com/CUITCHE/UserCaches.git resolved at 0.0.6 (2740a21)
warning: '.resolve-product-dependencies': dependency 'usercaches' is not used by any target
Found 1 product dependencies
  - SQLite.swift
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/CUITCHE/UserCaches.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/37] Emitting module SQLite
[5/40] Compiling SQLite CustomFunctions.swift
[6/40] Compiling SQLite DateAndTimeFunctions.swift
[7/40] Compiling SQLite Expression.swift
[8/40] Compiling SQLite RTree.swift
[9/40] Compiling SQLite Foundation.swift
[10/40] Compiling SQLite Helpers.swift
[11/40] Compiling SQLite Connection+Schema.swift
[12/40] Compiling SQLite Value.swift
[13/40] Compiling SQLite Cipher.swift
[14/40] Compiling SQLite FTS4.swift
[15/40] Compiling SQLite FTS5.swift
[16/40] Compiling SQLite Backup.swift
[17/40] Compiling SQLite Blob.swift
[18/40] Compiling SQLite Connection+Aggregation.swift
[19/40] Compiling SQLite Connection+Attach.swift
[20/40] Compiling SQLite SQLiteFeature.swift
[21/40] Compiling SQLite SQLiteVersion.swift
[22/40] Compiling SQLite Statement.swift
[23/40] Compiling SQLite URIQueryParameter.swift
[24/40] Compiling SQLite Connection+Pragmas.swift
[25/40] Compiling SQLite Connection.swift
[26/40] Compiling SQLite Errors.swift
[27/40] Compiling SQLite Result.swift
[28/40] Compiling SQLite Coding.swift
[29/40] Compiling SQLite Collation.swift
[30/40] Compiling SQLite CoreFunctions.swift
[31/40] Compiling SQLite SchemaChanger.swift
[32/40] Compiling SQLite SchemaDefinitions.swift
[33/40] Compiling SQLite SchemaReader.swift
[34/40] Compiling SQLite AggregateFunctions.swift
[35/40] Compiling SQLite Operators.swift
[36/40] Compiling SQLite Query+with.swift
[37/40] Compiling SQLite Query.swift
[38/40] Compiling SQLite Schema.swift
[39/40] Compiling SQLite Setter.swift
[40/40] Compiling SQLite WindowFunctions.swift
[41/50] Compiling UserCaches UserCaches.swift
/Users/admin/builder/spi-builder-workspace/Sources/UserCaches/UserCaches.swift:44: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
 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 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: annotate 'standard' with '@MainActor' if property should only be accessed from the main actor
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 45 |                                                                                          in: .userDomainMask,
 46 |                                                                                          appropriateFor: nil,
/Users/admin/builder/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,
/Users/admin/builder/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 |     }
/Users/admin/builder/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
/Users/admin/builder/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 |
[42/50] Compiling UserCaches UserCachesSettable.swift
/Users/admin/builder/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 {
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/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 } }
/Users/admin/builder/spi-builder-workspace/Sources/UserCaches/UserCaches.swift:44: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
 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 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: annotate 'standard' with '@MainActor' if property should only be accessed from the main actor
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 45 |                                                                                          in: .userDomainMask,
 46 |                                                                                          appropriateFor: nil,
/Users/admin/builder/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,
/Users/admin/builder/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 |     }
[43/50] Compiling UserCaches DiscardableCacheContent.swift
[44/50] Compiling UserCaches CacheCodable.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[45/50] Compiling UserCaches ConfRead.swift
[46/50] Compiling UserCaches CacheManager.swift
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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 |         })
/Users/admin/builder/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)
[47/50] Compiling UserCaches CacheCodability.swift
[48/50] Compiling UserCaches CodingError.swift
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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 |
[49/50] Compiling UserCaches DefaultTypes.swift
/Users/admin/builder/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 | }
[50/50] Emitting module UserCaches
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/UserCaches/UserCaches.swift:44: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
 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 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: annotate 'standard' with '@MainActor' if property should only be accessed from the main actor
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 45 |                                                                                          in: .userDomainMask,
 46 |                                                                                          appropriateFor: nil,
/Users/admin/builder/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,
/Users/admin/builder/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 |     }
/Users/admin/builder/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 {
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/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 } }
warning: 'sqlite.swift': /Users/admin/builder/spi-builder-workspace/.build/checkouts/SQLite.swift/Package.swift:7:15: warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version
 5 |     name: "SQLite.swift",
 6 |     platforms: [
 7 |         .iOS(.v11),
   |               `- warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version
 8 |         .macOS(.v10_13),
 9 |         .watchOS(.v4),
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SQLite.swift/Package.swift:10:16: warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version
 8 |         .macOS(.v10_13),
 9 |         .watchOS(.v4),
10 |         .tvOS(.v11),
   |                `- warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version
11 |         .visionOS(.v1)
12 |     ],
warning: 'sqlite.swift': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/.build/checkouts/SQLite.swift/Sources/SQLite/PrivacyInfo.xcprivacy
BUILD FAILURE 6.0 macosSpm