The Swift Package Index logo.Swift Package Index

Build Information

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

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.3.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
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/sameerbajaj/agy-usage-stats.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/7] Write sources
[0/7] Write agy-usage-stats-entitlement.plist
[2/7] Copying Assets.xcassets
[3/7] Write swift-version--3CB7CFEC50E0D141.txt
[5/27] Compiling agy_usage_stats ActivityTabView.swift
[6/27] Compiling agy_usage_stats AppTheme.swift
[7/27] Compiling agy_usage_stats Styles.swift
[8/27] Compiling agy_usage_stats WorkspacesTabView.swift
[9/27] Compiling agy_usage_stats MenuBarPopover.swift
[10/27] Compiling agy_usage_stats OverviewTabView.swift
[11/27] Compiling agy_usage_stats UpdateChecker.swift
/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 |         }
[12/27] Compiling agy_usage_stats AgyStatsViewModel.swift
/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 |         }
[13/29] Compiling agy_usage_stats agy_usage_statsApp.swift
[14/29] Compiling agy_usage_stats resource_bundle_accessor.swift
[15/29] Compiling agy_usage_stats SettingsTabView.swift
[16/29] Compiling agy_usage_stats StatsTabView.swift
[17/29] Compiling agy_usage_stats AgyQuotaService.swift
/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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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>
[18/29] Compiling agy_usage_stats AgyStatsService.swift
/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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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>
[19/29] Compiling agy_usage_stats MuseQuotaService.swift
[20/29] Compiling agy_usage_stats SelfUpdater.swift
[21/29] Compiling agy_usage_stats ContentView.swift
[22/29] Compiling agy_usage_stats AgyModels.swift
[23/29] Compiling agy_usage_stats AgyFileWatcher.swift
[24/29] Emitting module agy_usage_stats
[25/29] Compiling agy_usage_stats CostTabView.swift
[26/29] Compiling agy_usage_stats HistoryTabView.swift
[26/29] Write Objects.LinkFileList
[27/29] Linking agy-usage-stats
[28/29] Applying agy-usage-stats
Build complete! (15.93s)
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.