The Swift Package Index logo.Swift Package Index

Build Information

Successful build of NimbusCache, reference v1.2.6 (c3f5df), with Swift 6.2 for macOS (SPM) on 23 Jun 2025 08:32:31 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vijay-subramani/NimbusCache.git
Reference: v1.2.6
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/vijay-subramani/NimbusCache
 * tag               v1.2.6     -> FETCH_HEAD
HEAD is now at c3f5df3 saving file path using lastPathComponent to using full path after domain to avoid missing different files with same name in lastPathComponent
Cloned https://github.com/vijay-subramani/NimbusCache.git
Revision (git rev-parse @):
c3f5df3c57dfe6d4a77bd64ec5d1a857a28bcb15
SUCCESS checkout https://github.com/vijay-subramani/NimbusCache.git at v1.2.6
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/vijay-subramani/NimbusCache.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/7] Compiling NimbusCache NimbusCommonUtil.swift
[4/7] Compiling NimbusCache Extensions.swift
[5/7] Compiling NimbusCache NimbusCache.swift
/Users/admin/builder/spi-builder-workspace/Sources/NimbusCache/NimbusCache.swift:160:37: warning: result of call to 'run(resultType:body:)' is unused [#no-usage]
158 |                     let cachedTimeStampKey = try? destinationURL.resourceValues(forKeys: [.contentModificationDateKey])
159 |                     let cachedTimeStamp = cachedTimeStampKey?.contentModificationDate
160 |                     await MainActor.run {
    |                                     `- warning: result of call to 'run(resultType:body:)' is unused [#no-usage]
161 |                         Task {
162 |                             NimbusCacheEventsManager.cacheSuccess(url: url.absoluteString, fileSizeInMB: getFileSizeInMB(fileSize: Double(response?.expectedContentLength ?? 0)), totalCacheSizeInMB: calculateCacheSizeInMB(), cacheLimitInMB: await getCacheLimit(), cachedTimeStamp: NimbusCommonUtil.getFormattedDateWithTime(dateValue: cachedTimeStamp))
/Users/admin/builder/spi-builder-workspace/Sources/NimbusCache/NimbusCache.swift:168:37: warning: result of call to 'run(resultType:body:)' is unused [#no-usage]
166 |                 } catch {
167 |                     debugLog("Error saving video:", error.localizedDescription, logType: .error)
168 |                     await MainActor.run {
    |                                     `- warning: result of call to 'run(resultType:body:)' is unused [#no-usage]
169 |                         Task {
170 |                             NimbusCacheEventsManager.cacheFailure(url: url.description, errorMessage: error.localizedDescription, totalCacheSizeInMB: calculateCacheSizeInMB(), cacheLimitInMB: await getCacheLimit())
/Users/admin/builder/spi-builder-workspace/Sources/NimbusCache/NimbusCache.swift:162:241: warning: no 'async' operations occur within 'await' expression
160 |                     await MainActor.run {
161 |                         Task {
162 |                             NimbusCacheEventsManager.cacheSuccess(url: url.absoluteString, fileSizeInMB: getFileSizeInMB(fileSize: Double(response?.expectedContentLength ?? 0)), totalCacheSizeInMB: calculateCacheSizeInMB(), cacheLimitInMB: await getCacheLimit(), cachedTimeStamp: NimbusCommonUtil.getFormattedDateWithTime(dateValue: cachedTimeStamp))
    |                                                                                                                                                                                                                                                 `- warning: no 'async' operations occur within 'await' expression
163 |                             await self.clearCacheIfNeeded() // Manage cache size after new file addition
164 |                         }
/Users/admin/builder/spi-builder-workspace/Sources/NimbusCache/NimbusCache.swift:170:193: warning: no 'async' operations occur within 'await' expression
168 |                     await MainActor.run {
169 |                         Task {
170 |                             NimbusCacheEventsManager.cacheFailure(url: url.description, errorMessage: error.localizedDescription, totalCacheSizeInMB: calculateCacheSizeInMB(), cacheLimitInMB: await getCacheLimit())
    |                                                                                                                                                                                                 `- warning: no 'async' operations occur within 'await' expression
171 |                         }
172 |                     }
[6/7] Compiling NimbusCache NimbusCacheManagerEvents.swift
[7/7] Emitting module NimbusCache
Build complete! (8.44s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "NimbusCache",
  "name" : "NimbusCache",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "NimbusCache",
      "targets" : [
        "NimbusCache"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "6"
  ],
  "targets" : [
    {
      "c99name" : "NimbusCacheTests",
      "module_type" : "SwiftTarget",
      "name" : "NimbusCacheTests",
      "path" : "Tests/NimbusCacheTests",
      "sources" : [
        "NimbusCacheTests.swift"
      ],
      "target_dependencies" : [
        "NimbusCache"
      ],
      "type" : "test"
    },
    {
      "c99name" : "NimbusCache",
      "module_type" : "SwiftTarget",
      "name" : "NimbusCache",
      "path" : "Sources",
      "product_memberships" : [
        "NimbusCache"
      ],
      "sources" : [
        "Helpers/Extensions.swift",
        "Helpers/NimbusCommonUtil.swift",
        "NimbusCache/NimbusCache.swift",
        "NimbusCache/NimbusCacheManagerEvents.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Done.