The Swift Package Index logo.Swift Package Index

Build Information

Successful build of UserCaches, reference 0.0.6 (2740a2), with Swift 6.3 for macOS (SPM) on 16 Apr 2026 09:45:08 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ihejunqiu/UserCaches.git
Reference: 0.0.6
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ihejunqiu/UserCaches
 * tag               0.0.6      -> FETCH_HEAD
HEAD is now at 2740a21 Merge branch 'master' of github.com:CUITCHE/UserCaches
Cloned https://github.com/ihejunqiu/UserCaches.git
Revision (git rev-parse @):
2740a2121f55a828c4dd7b25f3cacad76dbb6b8d
SUCCESS checkout https://github.com/ihejunqiu/UserCaches.git at 0.0.6
Fetching https://github.com/stephencelis/SQLite.swift.git
[1/11124] Fetching sqlite.swift
Fetched https://github.com/stephencelis/SQLite.swift.git from cache (1.56s)
Computing version for https://github.com/stephencelis/SQLite.swift.git
Computed https://github.com/stephencelis/SQLite.swift.git at 0.16.0 (2.22s)
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
========================================
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",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "usercaches",
      "name": "UserCaches",
      "url": "https://github.com/ihejunqiu/UserCaches.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/UserCaches",
      "traits": [
        "default"
      ],
      "dependencies": [
        {
          "identity": "sqlite.swift",
          "name": "SQLite.swift",
          "url": "https://github.com/stephencelis/SQLite.swift.git",
          "version": "0.16.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SQLite.swift",
          "traits": [
            "SystemSQLite"
          ],
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/ihejunqiu/UserCaches.git
[1/214] Fetching usercaches
Fetched https://github.com/ihejunqiu/UserCaches.git from cache (0.65s)
Fetching https://github.com/stephencelis/SQLite.swift.git from cache
Fetched https://github.com/stephencelis/SQLite.swift.git from cache (0.53s)
Computing version for https://github.com/stephencelis/SQLite.swift.git
Computed https://github.com/stephencelis/SQLite.swift.git at 0.16.0 (0.60s)
Creating working copy for https://github.com/ihejunqiu/UserCaches.git
Working copy of https://github.com/ihejunqiu/UserCaches.git resolved at 0.0.6 (2740a21)
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: '.resolve-product-dependencies': dependency 'usercaches' is not used by any target
Found 1 product dependencies
  - SQLite.swift
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/ihejunqiu/UserCaches.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/4] Copying PrivacyInfo.xcprivacy
[1/4] Write sources
[3/4] Write swift-version--6988338F2F200930.txt
[5/39] Emitting module SQLite
[6/42] Compiling SQLite Setter.swift
[7/42] Compiling SQLite WindowFunctions.swift
[8/42] Compiling SQLite resource_bundle_accessor.swift
[9/42] Compiling SQLite DateAndTimeFunctions.swift
[10/42] Compiling SQLite Expression.swift
[11/42] Compiling SQLite Operators.swift
[12/42] Compiling SQLite SQLiteFeature.swift
[13/42] Compiling SQLite SQLiteVersion.swift
[14/42] Compiling SQLite Statement.swift
[15/42] Compiling SQLite URIQueryParameter.swift
[16/42] Compiling SQLite Backup.swift
[17/42] Compiling SQLite Blob.swift
[18/42] Compiling SQLite Connection+Aggregation.swift
[19/42] Compiling SQLite Connection+Attach.swift
[20/42] Compiling SQLite Value.swift
[21/42] Compiling SQLite Cipher.swift
[22/42] Compiling SQLite FTS4.swift
[23/42] Compiling SQLite FTS5.swift
[24/42] Compiling SQLite RTree.swift
[25/42] Compiling SQLite Foundation.swift
[26/42] Compiling SQLite Helpers.swift
[27/42] Compiling SQLite Connection+Schema.swift
[28/42] Compiling SQLite Connection+Pragmas.swift
[29/42] Compiling SQLite Connection.swift
[30/42] Compiling SQLite Errors.swift
[31/42] Compiling SQLite Result.swift
[32/42] Compiling SQLite Coding.swift
[33/42] Compiling SQLite Collation.swift
[34/42] Compiling SQLite CoreFunctions.swift
[35/42] Compiling SQLite CustomFunctions.swift
[36/42] Compiling SQLite Query+with.swift
[37/42] Compiling SQLite Query.swift
[38/42] Compiling SQLite Schema.swift
[39/42] Compiling SQLite SchemaChanger.swift
[40/42] Compiling SQLite SchemaDefinitions.swift
[41/42] Compiling SQLite SchemaReader.swift
[42/42] Compiling SQLite AggregateFunctions.swift
[43/52] Compiling UserCaches UserCaches.swift
/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 |     }
[44/52] 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 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 |     }
[45/52] Compiling UserCaches DiscardableCacheContent.swift
[46/52] Compiling UserCaches ConfRead.swift
[47/52] Compiling UserCaches CodingError.swift
[48/52] Compiling UserCaches CacheCodability.swift
[49/52] Compiling UserCaches CacheManager.swift
[50/52] Compiling UserCaches CacheCodable.swift
[51/52] Emitting module UserCaches
/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 } }
[52/52] 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 | }
Build complete! (8.70s)
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" : "/Users/admin/builder/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"
}
Done.