The Swift Package Index logo.Swift Package Index

Build Information

Successful build of agy-usage-stats, reference main (6e37a6), with Swift 6.4 for macOS (SPM) on 27 Nov 2026 06:39:52 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sameerbajaj/agy-usage-stats.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/sameerbajaj/agy-usage-stats
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 6e37a6e feat(menubar): add crisp AGY chevron & cute Muse bear row icons and high-contrast bold countdown text
Cloned https://github.com/sameerbajaj/agy-usage-stats.git
Revision (git rev-parse @):
6e37a6e16f2cfad57103a1cdb8930e14cf828603
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/sameerbajaj/agy-usage-stats.git at main
========================================
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": "agy-usage-stats",
      "name": "agy-usage-stats",
      "url": "https://github.com/sameerbajaj/agy-usage-stats.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/agy-usage-stats",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/sameerbajaj/agy-usage-stats.git
[1/1012] Fetching agy-usage-stats
Fetched https://github.com/sameerbajaj/agy-usage-stats.git (0.82s)
Creating working copy for https://github.com/sameerbajaj/agy-usage-stats.git
Working copy of https://github.com/sameerbajaj/agy-usage-stats.git resolved at main (6e37a6e)
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/sameerbajaj/agy-usage-stats.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun swift build --arch arm64
Building for debugging...
[Pre-planning 1 / 66]
[Planning deferred tasks]
[32 / 43] agy-usage-stats_agy-usage-stats
[37 / 43]
[38 / 44] agy-usage-stats-product
[48 / 122]
[52 / 122]
[56 / 122]
[60 / 122]
[62 / 122]
[63 / 122]
[68 / 122]
[71 / 122]
[74 / 122]
[80 / 122]
[83 / 122]
[85 / 122]
[86 / 122]
[96 / 122]
[98 / 122]
[99 / 122]
[102 / 122]
[104 / 122]
[116 / 122] agy-usage-stats-product
[117 / 122] agy-usage-stats-product
[119 / 122] agy-usage-stats-product
[120 / 122] agy-usage-stats-product
Build complete! (21.07 sec)
/Users/admin/builder/spi-builder-workspace/agy-usage-stats/ViewModels/AgyStatsViewModel.swift:2061:23: warning: 'weak' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
2054 |         guard let update = availableUpdate, let dmgURL = update.downloadURL else { return }
2055 |
2056 |         Task {
     |              |- note: 'self' implicitly strongly captured here
     |              `- note: add 'self' as a capture list item to silence
2057 |             let didInstall = await SelfUpdater.update(
2058 |                 dmgURL: dmgURL,
2059 |                 publishedAt: update.publishedAt,
2060 |                 version: update.version
2061 |             ) { [weak self] state in
     |                       |- warning: 'weak' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
     |                       `- note: explicitly assign the capture list item to silence
2062 |                 Task { @MainActor in
2063 |                     self?.selfUpdateState = state
/Users/admin/builder/spi-builder-workspace/agy-usage-stats/Services/UpdateChecker.swift:29:9: warning: code after 'return' will never be executed
 27 |         #endif
 28 |
 29 |         if Bundle.main.bundlePath.contains("DerivedData") {
    |         `- warning: code after 'return' will never be executed
 30 |             return nil
 31 |         }
[#ImplicitStrongCapture]: <https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture>
/Users/admin/builder/spi-builder-workspace/agy-usage-stats/Services/AgyQuotaService.swift:1066:70: warning: reference to captured var 'summaryRequest' in concurrently-executing code; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
1064 |
1065 |         do {
1066 |             async let summaryTask = sharedLocalhostSession.data(for: summaryRequest)
     |                                                                      `- warning: reference to captured var 'summaryRequest' in concurrently-executing code; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
1067 |             async let statusTask = sharedLocalhostSession.data(for: statusRequest)
1068 |
/Users/admin/builder/spi-builder-workspace/agy-usage-stats/Services/AgyQuotaService.swift:1067:69: warning: reference to captured var 'statusRequest' in concurrently-executing code; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
1065 |         do {
1066 |             async let summaryTask = sharedLocalhostSession.data(for: summaryRequest)
1067 |             async let statusTask = sharedLocalhostSession.data(for: statusRequest)
     |                                                                     `- warning: reference to captured var 'statusRequest' in concurrently-executing code; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
1068 |
1069 |             let (summaryData, _) = try await summaryTask
/Users/admin/builder/spi-builder-workspace/agy-usage-stats/Services/AgyStatsService.swift:2792:82: warning: left side of nil coalescing operator '??' has non-optional type 'String', so the right side is never used
2790 |             hadMiss = true
2791 |             var fileConvIds: [String] = []
2792 |             if let text = try? String(contentsOfFile: fullPath, encoding: .utf8) ?? String(contentsOfFile: fullPath, encoding: .ascii) {
     |                                                                                  `- warning: left side of nil coalescing operator '??' has non-optional type 'String', so the right side is never used
2793 |                 let isConsumer = text.contains("authMethod=consumer") || text.contains("daily-cloudcode-pa.googleapis.com")
2794 |                 let isGcp = text.contains("authMethod=gcp") || text.contains("aiplatform")
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "agy-usage-stats",
  "name" : "agy-usage-stats",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "agy-usage-stats",
      "targets" : [
        "agy-usage-stats"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "agy_usage_statsTests",
      "module_type" : "SwiftTarget",
      "name" : "agy-usage-statsTests",
      "path" : "agy-usage-statsTests",
      "sources" : [
        "AgyStatsServiceTests.swift",
        "OverviewTabViewTests.swift",
        "agy_usage_statsTests.swift"
      ],
      "target_dependencies" : [
        "agy-usage-stats"
      ],
      "type" : "test"
    },
    {
      "c99name" : "agy_usage_stats",
      "module_type" : "SwiftTarget",
      "name" : "agy-usage-stats",
      "path" : "agy-usage-stats",
      "product_memberships" : [
        "agy-usage-stats"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/agy-usage-stats/Assets.xcassets",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "ContentView.swift",
        "Models/AgyModels.swift",
        "Services/AgyFileWatcher.swift",
        "Services/AgyQuotaService.swift",
        "Services/AgyStatsService.swift",
        "Services/MuseQuotaService.swift",
        "Services/SelfUpdater.swift",
        "Services/UpdateChecker.swift",
        "ViewModels/AgyStatsViewModel.swift",
        "Views/ActivityTabView.swift",
        "Views/AppTheme.swift",
        "Views/CostTabView.swift",
        "Views/HistoryTabView.swift",
        "Views/MenuBarPopover.swift",
        "Views/OverviewTabView.swift",
        "Views/SettingsTabView.swift",
        "Views/StatsTabView.swift",
        "Views/Styles.swift",
        "Views/WorkspacesTabView.swift",
        "agy_usage_statsApp.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.9"
}
Done.