The Swift Package Index logo.Swift Package Index

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

Build Information

Successful build of UserCaches, reference master (52472e), with Swift 5.10 for macOS (SPM) on 12 Jun 2025 07:13:17 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ihejunqiu/UserCaches.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ihejunqiu/UserCaches
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 52472ec Update run-tests.sh
Cloned https://github.com/ihejunqiu/UserCaches.git
Revision (git rev-parse @):
52472ecdc7736786b1f7522be1544a455edd6336
SUCCESS checkout https://github.com/ihejunqiu/UserCaches.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $PWD
https://github.com/ihejunqiu/UserCaches.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-33747A42983211AE.txt
[4/37] Emitting module SQLite
[5/40] Compiling SQLite Schema.swift
[6/40] Compiling SQLite Setter.swift
[7/40] Compiling SQLite WindowFunctions.swift
[8/40] Compiling SQLite Coding.swift
[9/40] Compiling SQLite Collation.swift
[10/40] Compiling SQLite CoreFunctions.swift
[11/40] Compiling SQLite SchemaChanger.swift
[12/40] Compiling SQLite SchemaDefinitions.swift
[13/40] Compiling SQLite SchemaReader.swift
[14/40] Compiling SQLite AggregateFunctions.swift
[15/40] Compiling SQLite RTree.swift
[16/40] Compiling SQLite Foundation.swift
[17/40] Compiling SQLite Helpers.swift
[18/40] Compiling SQLite Connection+Schema.swift
[19/40] Compiling SQLite CustomFunctions.swift
[20/40] Compiling SQLite DateAndTimeFunctions.swift
[21/40] Compiling SQLite Expression.swift
[22/40] Compiling SQLite Value.swift
[23/40] Compiling SQLite Cipher.swift
[24/40] Compiling SQLite FTS4.swift
[25/40] Compiling SQLite FTS5.swift
[26/40] Compiling SQLite Backup.swift
[27/40] Compiling SQLite Blob.swift
[28/40] Compiling SQLite Connection+Aggregation.swift
[29/40] Compiling SQLite Connection+Attach.swift
[30/40] Compiling SQLite SQLiteFeature.swift
[31/40] Compiling SQLite SQLiteVersion.swift
[32/40] Compiling SQLite Statement.swift
[33/40] Compiling SQLite URIQueryParameter.swift
[34/40] Compiling SQLite Operators.swift
[35/40] Compiling SQLite Query+with.swift
[36/40] Compiling SQLite Query.swift
[37/40] Compiling SQLite Connection+Pragmas.swift
[38/40] Compiling SQLite Connection.swift
[39/40] Compiling SQLite Errors.swift
[40/40] Compiling SQLite Result.swift
[41/50] 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'
    open static var standard: UserCaches = try! .init(cachePath: FileManager.default.url(for: .documentDirectory,
    ~~~~            ^
    public
/Users/admin/builder/spi-builder-workspace/Sources/UserCaches/UserCaches.swift:126:22: warning: static declarations are implicitly 'final'; use 'public' instead of 'open'
    open static func resetStandardUserDefaults() {
    ~~~~             ^
    public
[42/50] Compiling UserCaches DiscardableCacheContent.swift
[43/50] 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'
    open static var standard: UserCaches = try! .init(cachePath: FileManager.default.url(for: .documentDirectory,
    ~~~~            ^
    public
/Users/admin/builder/spi-builder-workspace/Sources/UserCaches/UserCaches.swift:126:22: warning: static declarations are implicitly 'final'; use 'public' instead of 'open'
    open static func resetStandardUserDefaults() {
    ~~~~             ^
    public
/Users/admin/builder/spi-builder-workspace/Sources/UserCaches/UserCachesSettable.swift:56:5: warning: 'public' modifier is redundant for property declared in a public extension
    public var storage: CacheEncodable {
    ^~~~~~~

/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
    public func value<T: CacheDecodable>() -> T? {
    ^~~~~~~

/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
    public func valueofCodable<T: Decodable>() -> T? {
    ^~~~~~~

/Users/admin/builder/spi-builder-workspace/Sources/UserCaches/UserCachesSettable.swift:92:5: warning: 'public' modifier is redundant for property declared in a public extension
    public var key: String {
    ^~~~~~~

/Users/admin/builder/spi-builder-workspace/Sources/UserCaches/UserCachesSettable.swift:124:5: warning: 'public' modifier is redundant for property declared in a public extension
    public var identifierMode: CacheKeyMode { return .raw }
    ^~~~~~~

[44/50] Compiling UserCaches CacheManager.swift
[45/50] Compiling UserCaches CacheCodability.swift
[46/50] Compiling UserCaches ConfRead.swift
[47/50] Compiling UserCaches CodingError.swift
[48/50] Compiling UserCaches CacheCodable.swift
[49/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
    public var storage: CacheEncodable {
    ^~~~~~~

/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
    public func value<T: CacheDecodable>() -> T? {
    ^~~~~~~

/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
    public func valueofCodable<T: Decodable>() -> T? {
    ^~~~~~~

/Users/admin/builder/spi-builder-workspace/Sources/UserCaches/UserCachesSettable.swift:92:5: warning: 'public' modifier is redundant for property declared in a public extension
    public var key: String {
    ^~~~~~~

/Users/admin/builder/spi-builder-workspace/Sources/UserCaches/UserCachesSettable.swift:124:5: warning: 'public' modifier is redundant for property declared in a public extension
    public var identifierMode: CacheKeyMode { return .raw }
    ^~~~~~~

/Users/admin/builder/spi-builder-workspace/Sources/UserCaches/UserCaches.swift:44:21: warning: static declarations are implicitly 'final'; use 'public' instead of 'open'
    open static var standard: UserCaches = try! .init(cachePath: FileManager.default.url(for: .documentDirectory,
    ~~~~            ^
    public
/Users/admin/builder/spi-builder-workspace/Sources/UserCaches/UserCaches.swift:126:22: warning: static declarations are implicitly 'final'; use 'public' instead of 'open'
    open static func resetStandardUserDefaults() {
    ~~~~             ^
    public
[50/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.
    let data = header + Data(bytes: &v, count: MemoryLayout<T>.size)
                                    ^
Build complete! (12.25s)
Fetching https://github.com/stephencelis/SQLite.swift.git
[1/9802] Fetching sqlite.swift
Fetched https://github.com/stephencelis/SQLite.swift.git from cache (2.64s)
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
        .iOS(.v11),
              ^
/Package.swift:10:16: warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version
        .tvOS(.v11),
               ^
Computed https://github.com/stephencelis/SQLite.swift.git at 0.15.3 (0.37s)
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
        .iOS(.v11),
              ^
/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
        .tvOS(.v11),
               ^
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.