Build Information
Successful build of agy-usage-stats, reference v1.1.91 (87af28), with Swift 6.4 for macOS (SPM) on 5 Nov 2026 18:41:25 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sameerbajaj/agy-usage-stats.git
Reference: v1.1.91
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/sameerbajaj/agy-usage-stats
* tag v1.1.91 -> FETCH_HEAD
HEAD is now at 87af28d test: decouple historical GCP attribution test from fixed calendar date
Cloned https://github.com/sameerbajaj/agy-usage-stats.git
Revision (git rev-parse @):
87af28d7362dce2b59705eb7d13c547bd36b0f28
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/sameerbajaj/agy-usage-stats.git at v1.1.91
========================================
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/806] Fetching agy-usage-stats
Fetched https://github.com/sameerbajaj/agy-usage-stats.git (2.55s)
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 v1.1.91 (87af28d)
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...
[Planning deferred tasks]
[34 / 43] agy-usage-stats_agy-usage-stats
[37 / 43] agy-usage-stats-product
[37 / 43]
[38 / 44] agy-usage-stats-product
[48 / 122]
[52 / 122]
[60 / 122]
[62 / 122]
[63 / 122]
[68 / 122]
[70 / 122]
[72 / 122]
[75 / 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
Build complete! (15.16 sec)
/Users/admin/builder/spi-builder-workspace/agy-usage-stats/Services/AgyQuotaService.swift:213:23: [1;33mwarning: [1;39minstance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode[0;0m
[0;36m211 |[0;0m public static func fetchQuota(forceRefresh: Bool = false) async -> AgyQuotaInfo? {
[0;36m212 |[0;0m if !forceRefresh {
[0;36m213 |[0;0m quotaLock.lock()
[0;36m|[0;0m `- [1;33mwarning: [1;39minstance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode[0;0m
[0;36m214 |[0;0m if let cached = cachedQuota {
[0;36m215 |[0;0m let ttl = cached.info != nil ? cacheTTL : nilCacheTTL
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLock.h:15:1: [1;39mnote: [1;39m'lock()' declared here[0;0m
[0;36m13 |[0;0m
[0;36m14 |[0;0m /// Attempts to acquire a lock, blocking a thread's execution until the lock can be acquired.
[0;36m15 |[0;0m - (void)lock NS_SWIFT_UNAVAILABLE_FROM_ASYNC("Use async-safe scoped locking instead");
[0;36m|[0;0m `- [1;39mnote: [1;39m'lock()' declared here[0;0m
[0;36m16 |[0;0m
[0;36m17 |[0;0m /// Relinquishes a previously acquired lock.
/Users/admin/builder/spi-builder-workspace/agy-usage-stats/Services/AgyQuotaService.swift:218:31: [1;33mwarning: [1;39minstance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode[0;0m
[0;36m216 |[0;0m if Date().timeIntervalSince(cached.timestamp) < ttl {
[0;36m217 |[0;0m let info = cached.info?.normalizedForCurrentTime()
[0;36m218 |[0;0m quotaLock.unlock()
[0;36m|[0;0m `- [1;33mwarning: [1;39minstance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode[0;0m
[0;36m219 |[0;0m return info
[0;36m220 |[0;0m }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLock.h:18:1: [1;39mnote: [1;39m'unlock()' declared here[0;0m
[0;36m16 |[0;0m
[0;36m17 |[0;0m /// Relinquishes a previously acquired lock.
[0;36m18 |[0;0m - (void)unlock NS_SWIFT_UNAVAILABLE_FROM_ASYNC("Use async-safe scoped locking instead");
[0;36m|[0;0m `- [1;39mnote: [1;39m'unlock()' declared here[0;0m
[0;36m19 |[0;0m
[0;36m20 |[0;0m @end
/Users/admin/builder/spi-builder-workspace/agy-usage-stats/Services/AgyQuotaService.swift:222:23: [1;33mwarning: [1;39minstance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode[0;0m
[0;36m220 |[0;0m }
[0;36m221 |[0;0m }
[0;36m222 |[0;0m quotaLock.unlock()
[0;36m|[0;0m `- [1;33mwarning: [1;39minstance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode[0;0m
[0;36m223 |[0;0m }
[0;36m224 |[0;0m
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLock.h:18:1: [1;39mnote: [1;39m'unlock()' declared here[0;0m
[0;36m16 |[0;0m
[0;36m17 |[0;0m /// Relinquishes a previously acquired lock.
[0;36m18 |[0;0m - (void)unlock NS_SWIFT_UNAVAILABLE_FROM_ASYNC("Use async-safe scoped locking instead");
[0;36m|[0;0m `- [1;39mnote: [1;39m'unlock()' declared here[0;0m
[0;36m19 |[0;0m
[0;36m20 |[0;0m @end
/Users/admin/builder/spi-builder-workspace/agy-usage-stats/Services/AgyQuotaService.swift:227:23: [1;33mwarning: [1;39minstance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode[0;0m
[0;36m225 |[0;0m return await Task.detached(priority: .userInitiated) {
[0;36m226 |[0;0m // Try last active port first if available
[0;36m227 |[0;0m quotaLock.lock()
[0;36m|[0;0m `- [1;33mwarning: [1;39minstance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode[0;0m
[0;36m228 |[0;0m let knownPort = lastActivePort
[0;36m229 |[0;0m quotaLock.unlock()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLock.h:15:1: [1;39mnote: [1;39m'lock()' declared here[0;0m
[0;36m13 |[0;0m
[0;36m14 |[0;0m /// Attempts to acquire a lock, blocking a thread's execution until the lock can be acquired.
[0;36m15 |[0;0m - (void)lock NS_SWIFT_UNAVAILABLE_FROM_ASYNC("Use async-safe scoped locking instead");
[0;36m|[0;0m `- [1;39mnote: [1;39m'lock()' declared here[0;0m
[0;36m16 |[0;0m
[0;36m17 |[0;0m /// Relinquishes a previously acquired lock.
/Users/admin/builder/spi-builder-workspace/agy-usage-stats/Services/AgyQuotaService.swift:229:23: [1;33mwarning: [1;39minstance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode[0;0m
[0;36m227 |[0;0m quotaLock.lock()
[0;36m228 |[0;0m let knownPort = lastActivePort
[0;36m229 |[0;0m quotaLock.unlock()
[0;36m|[0;0m `- [1;33mwarning: [1;39minstance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode[0;0m
[0;36m230 |[0;0m
[0;36m231 |[0;0m if let port = knownPort {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLock.h:18:1: [1;39mnote: [1;39m'unlock()' declared here[0;0m
[0;36m16 |[0;0m
[0;36m17 |[0;0m /// Relinquishes a previously acquired lock.
[0;36m18 |[0;0m - (void)unlock NS_SWIFT_UNAVAILABLE_FROM_ASYNC("Use async-safe scoped locking instead");
[0;36m|[0;0m `- [1;39mnote: [1;39m'unlock()' declared here[0;0m
[0;36m19 |[0;0m
[0;36m20 |[0;0m @end
/Users/admin/builder/spi-builder-workspace/agy-usage-stats/Services/AgyQuotaService.swift:234:31: [1;33mwarning: [1;39minstance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode[0;0m
[0;36m232 |[0;0m if let info = await fetchFromPort(port), !info.groups.isEmpty {
[0;36m233 |[0;0m savePersistedQuota(info)
[0;36m234 |[0;0m quotaLock.lock()
[0;36m|[0;0m `- [1;33mwarning: [1;39minstance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode[0;0m
[0;36m235 |[0;0m cachedQuota = CachedQuota(info: info, timestamp: Date())
[0;36m236 |[0;0m quotaLock.unlock()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLock.h:15:1: [1;39mnote: [1;39m'lock()' declared here[0;0m
[0;36m13 |[0;0m
[0;36m14 |[0;0m /// Attempts to acquire a lock, blocking a thread's execution until the lock can be acquired.
[0;36m15 |[0;0m - (void)lock NS_SWIFT_UNAVAILABLE_FROM_ASYNC("Use async-safe scoped locking instead");
[0;36m|[0;0m `- [1;39mnote: [1;39m'lock()' declared here[0;0m
[0;36m16 |[0;0m
[0;36m17 |[0;0m /// Relinquishes a previously acquired lock.
/Users/admin/builder/spi-builder-workspace/agy-usage-stats/Services/AgyQuotaService.swift:236:31: [1;33mwarning: [1;39minstance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode[0;0m
[0;36m234 |[0;0m quotaLock.lock()
[0;36m235 |[0;0m cachedQuota = CachedQuota(info: info, timestamp: Date())
[0;36m236 |[0;0m quotaLock.unlock()
[0;36m|[0;0m `- [1;33mwarning: [1;39minstance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode[0;0m
[0;36m237 |[0;0m return info
[0;36m238 |[0;0m }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLock.h:18:1: [1;39mnote: [1;39m'unlock()' declared here[0;0m
[0;36m16 |[0;0m
[0;36m17 |[0;0m /// Relinquishes a previously acquired lock.
[0;36m18 |[0;0m - (void)unlock NS_SWIFT_UNAVAILABLE_FROM_ASYNC("Use async-safe scoped locking instead");
[0;36m|[0;0m `- [1;39mnote: [1;39m'unlock()' declared here[0;0m
[0;36m19 |[0;0m
[0;36m20 |[0;0m @end
/Users/admin/builder/spi-builder-workspace/agy-usage-stats/Services/AgyQuotaService.swift:244:27: [1;33mwarning: [1;39minstance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode[0;0m
[0;36m242 |[0;0m let portsToProbe = detectedPorts.filter { $0 != knownPort }
[0;36m243 |[0;0m guard !portsToProbe.isEmpty else {
[0;36m244 |[0;0m quotaLock.lock()
[0;36m|[0;0m `- [1;33mwarning: [1;39minstance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode[0;0m
[0;36m245 |[0;0m lastActivePort = nil
[0;36m246 |[0;0m let fallback = (cachedQuota?.info ?? _lastKnownSubscriptionQuota ?? loadPersistedQuotaUnlocked())?.normalizedForCurrentTime()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLock.h:15:1: [1;39mnote: [1;39m'lock()' declared here[0;0m
[0;36m13 |[0;0m
[0;36m14 |[0;0m /// Attempts to acquire a lock, blocking a thread's execution until the lock can be acquired.
[0;36m15 |[0;0m - (void)lock NS_SWIFT_UNAVAILABLE_FROM_ASYNC("Use async-safe scoped locking instead");
[0;36m|[0;0m `- [1;39mnote: [1;39m'lock()' declared here[0;0m
[0;36m16 |[0;0m
[0;36m17 |[0;0m /// Relinquishes a previously acquired lock.
/Users/admin/builder/spi-builder-workspace/agy-usage-stats/Services/AgyQuotaService.swift:248:27: [1;33mwarning: [1;39minstance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode[0;0m
[0;36m246 |[0;0m let fallback = (cachedQuota?.info ?? _lastKnownSubscriptionQuota ?? loadPersistedQuotaUnlocked())?.normalizedForCurrentTime()
[0;36m247 |[0;0m cachedQuota = CachedQuota(info: fallback, timestamp: Date())
[0;36m248 |[0;0m quotaLock.unlock()
[0;36m|[0;0m `- [1;33mwarning: [1;39minstance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode[0;0m
[0;36m249 |[0;0m return fallback
[0;36m250 |[0;0m }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLock.h:18:1: [1;39mnote: [1;39m'unlock()' declared here[0;0m
[0;36m16 |[0;0m
[0;36m17 |[0;0m /// Relinquishes a previously acquired lock.
[0;36m18 |[0;0m - (void)unlock NS_SWIFT_UNAVAILABLE_FROM_ASYNC("Use async-safe scoped locking instead");
[0;36m|[0;0m `- [1;39mnote: [1;39m'unlock()' declared here[0;0m
[0;36m19 |[0;0m
[0;36m20 |[0;0m @end
/Users/admin/builder/spi-builder-workspace/agy-usage-stats/Services/AgyQuotaService.swift:257:23: [1;33mwarning: [1;39minstance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode[0;0m
[0;36m255 |[0;0m }
[0;36m256 |[0;0m
[0;36m257 |[0;0m quotaLock.lock()
[0;36m|[0;0m `- [1;33mwarning: [1;39minstance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode[0;0m
[0;36m258 |[0;0m if let (port, info) = found {
[0;36m259 |[0;0m lastActivePort = port
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLock.h:15:1: [1;39mnote: [1;39m'lock()' declared here[0;0m
[0;36m13 |[0;0m
[0;36m14 |[0;0m /// Attempts to acquire a lock, blocking a thread's execution until the lock can be acquired.
[0;36m15 |[0;0m - (void)lock NS_SWIFT_UNAVAILABLE_FROM_ASYNC("Use async-safe scoped locking instead");
[0;36m|[0;0m `- [1;39mnote: [1;39m'lock()' declared here[0;0m
[0;36m16 |[0;0m
[0;36m17 |[0;0m /// Relinquishes a previously acquired lock.
/Users/admin/builder/spi-builder-workspace/agy-usage-stats/Services/AgyQuotaService.swift:261:27: [1;33mwarning: [1;39minstance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode[0;0m
[0;36m259 |[0;0m lastActivePort = port
[0;36m260 |[0;0m cachedQuota = CachedQuota(info: info, timestamp: Date())
[0;36m261 |[0;0m quotaLock.unlock()
[0;36m|[0;0m `- [1;33mwarning: [1;39minstance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode[0;0m
[0;36m262 |[0;0m savePersistedQuota(info)
[0;36m263 |[0;0m return info
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLock.h:18:1: [1;39mnote: [1;39m'unlock()' declared here[0;0m
[0;36m16 |[0;0m
[0;36m17 |[0;0m /// Relinquishes a previously acquired lock.
[0;36m18 |[0;0m - (void)unlock NS_SWIFT_UNAVAILABLE_FROM_ASYNC("Use async-safe scoped locking instead");
[0;36m|[0;0m `- [1;39mnote: [1;39m'unlock()' declared here[0;0m
[0;36m19 |[0;0m
[0;36m20 |[0;0m @end
/Users/admin/builder/spi-builder-workspace/agy-usage-stats/Services/AgyQuotaService.swift:268:27: [1;33mwarning: [1;39minstance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode[0;0m
[0;36m266 |[0;0m let fallback = (cachedQuota?.info ?? _lastKnownSubscriptionQuota ?? loadPersistedQuotaUnlocked())?.normalizedForCurrentTime()
[0;36m267 |[0;0m cachedQuota = CachedQuota(info: fallback, timestamp: Date())
[0;36m268 |[0;0m quotaLock.unlock()
[0;36m|[0;0m `- [1;33mwarning: [1;39minstance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode[0;0m
[0;36m269 |[0;0m return fallback
[0;36m270 |[0;0m }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLock.h:18:1: [1;39mnote: [1;39m'unlock()' declared here[0;0m
[0;36m16 |[0;0m
[0;36m17 |[0;0m /// Relinquishes a previously acquired lock.
[0;36m18 |[0;0m - (void)unlock NS_SWIFT_UNAVAILABLE_FROM_ASYNC("Use async-safe scoped locking instead");
[0;36m|[0;0m `- [1;39mnote: [1;39m'unlock()' declared here[0;0m
[0;36m19 |[0;0m
[0;36m20 |[0;0m @end
/Users/admin/builder/spi-builder-workspace/agy-usage-stats/Services/AgyQuotaService.swift:489:70: [1;33mwarning: [1;39mreference to captured var 'summaryRequest' in concurrently-executing code; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m487 |[0;0m
[0;36m488 |[0;0m do {
[0;36m489 |[0;0m async let summaryTask = sharedLocalhostSession.data(for: summaryRequest)
[0;36m|[0;0m `- [1;33mwarning: [1;39mreference to captured var 'summaryRequest' in concurrently-executing code; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m490 |[0;0m async let statusTask = sharedLocalhostSession.data(for: statusRequest)
[0;36m491 |[0;0m
/Users/admin/builder/spi-builder-workspace/agy-usage-stats/Services/AgyQuotaService.swift:490:69: [1;33mwarning: [1;39mreference to captured var 'statusRequest' in concurrently-executing code; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m488 |[0;0m do {
[0;36m489 |[0;0m async let summaryTask = sharedLocalhostSession.data(for: summaryRequest)
[0;36m490 |[0;0m async let statusTask = sharedLocalhostSession.data(for: statusRequest)
[0;36m|[0;0m `- [1;33mwarning: [1;39mreference to captured var 'statusRequest' in concurrently-executing code; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m491 |[0;0m
[0;36m492 |[0;0m let (summaryData, _) = try await summaryTask
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/agy-usage-stats/Services/AgyStatsService.swift:352:28: [1;33mwarning: [1;39minstance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode[0;0m
[0;36m350 |[0;0m
[0;36m351 |[0;0m // Fast cache check: if history.jsonl, conversations dir, GCP dual-box files, and settings haven't changed today, return immediately
[0;36m352 |[0;0m statsCacheLock.lock()
[0;36m|[0;0m `- [1;33mwarning: [1;39minstance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode[0;0m
[0;36m353 |[0;0m if let cached = statsCache,
[0;36m354 |[0;0m cached.cliDir == expandedDir,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLock.h:15:1: [1;39mnote: [1;39m'lock()' declared here[0;0m
[0;36m13 |[0;0m
[0;36m14 |[0;0m /// Attempts to acquire a lock, blocking a thread's execution until the lock can be acquired.
[0;36m15 |[0;0m - (void)lock NS_SWIFT_UNAVAILABLE_FROM_ASYNC("Use async-safe scoped locking instead");
[0;36m|[0;0m `- [1;39mnote: [1;39m'lock()' declared here[0;0m
[0;36m16 |[0;0m
[0;36m17 |[0;0m /// Relinquishes a previously acquired lock.
/Users/admin/builder/spi-builder-workspace/agy-usage-stats/Services/AgyStatsService.swift:367:32: [1;33mwarning: [1;39minstance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode[0;0m
[0;36m365 |[0;0m cached.gcpConversationsSig == gcpConvSig {
[0;36m366 |[0;0m var cachedStats = cached.stats
[0;36m367 |[0;0m statsCacheLock.unlock()
[0;36m|[0;0m `- [1;33mwarning: [1;39minstance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode[0;0m
[0;36m368 |[0;0m
[0;36m369 |[0;0m // Fetch fresh quota without blocking UI if already cached
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLock.h:18:1: [1;39mnote: [1;39m'unlock()' declared here[0;0m
[0;36m16 |[0;0m
[0;36m17 |[0;0m /// Relinquishes a previously acquired lock.
[0;36m18 |[0;0m - (void)unlock NS_SWIFT_UNAVAILABLE_FROM_ASYNC("Use async-safe scoped locking instead");
[0;36m|[0;0m `- [1;39mnote: [1;39m'unlock()' declared here[0;0m
[0;36m19 |[0;0m
[0;36m20 |[0;0m @end
/Users/admin/builder/spi-builder-workspace/agy-usage-stats/Services/AgyStatsService.swift:377:28: [1;33mwarning: [1;39minstance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode[0;0m
[0;36m375 |[0;0m return (cachedStats, settings)
[0;36m376 |[0;0m }
[0;36m377 |[0;0m statsCacheLock.unlock()
[0;36m|[0;0m `- [1;33mwarning: [1;39minstance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode[0;0m
[0;36m378 |[0;0m
[0;36m379 |[0;0m let tStart = ContinuousClock.now
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLock.h:18:1: [1;39mnote: [1;39m'unlock()' declared here[0;0m
[0;36m16 |[0;0m
[0;36m17 |[0;0m /// Relinquishes a previously acquired lock.
[0;36m18 |[0;0m - (void)unlock NS_SWIFT_UNAVAILABLE_FROM_ASYNC("Use async-safe scoped locking instead");
[0;36m|[0;0m `- [1;39mnote: [1;39m'unlock()' declared here[0;0m
[0;36m19 |[0;0m
[0;36m20 |[0;0m @end
/Users/admin/builder/spi-builder-workspace/agy-usage-stats/Services/AgyStatsService.swift:733:28: [1;33mwarning: [1;39minstance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode[0;0m
[0;36m731 |[0;0m print("TIME: quotaInfo await = \(tQuota.duration(to: .now))")
[0;36m732 |[0;0m
[0;36m733 |[0;0m statsCacheLock.lock()
[0;36m|[0;0m `- [1;33mwarning: [1;39minstance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode[0;0m
[0;36m734 |[0;0m let previousCachedQuota = statsCache?.stats.quotaInfo
[0;36m735 |[0;0m statsCacheLock.unlock()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLock.h:15:1: [1;39mnote: [1;39m'lock()' declared here[0;0m
[0;36m13 |[0;0m
[0;36m14 |[0;0m /// Attempts to acquire a lock, blocking a thread's execution until the lock can be acquired.
[0;36m15 |[0;0m - (void)lock NS_SWIFT_UNAVAILABLE_FROM_ASYNC("Use async-safe scoped locking instead");
[0;36m|[0;0m `- [1;39mnote: [1;39m'lock()' declared here[0;0m
[0;36m16 |[0;0m
[0;36m17 |[0;0m /// Relinquishes a previously acquired lock.
/Users/admin/builder/spi-builder-workspace/agy-usage-stats/Services/AgyStatsService.swift:735:28: [1;33mwarning: [1;39minstance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode[0;0m
[0;36m733 |[0;0m statsCacheLock.lock()
[0;36m734 |[0;0m let previousCachedQuota = statsCache?.stats.quotaInfo
[0;36m735 |[0;0m statsCacheLock.unlock()
[0;36m|[0;0m `- [1;33mwarning: [1;39minstance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode[0;0m
[0;36m736 |[0;0m let quotaInfo = fetchedQuota ?? existingQuota ?? previousCachedQuota
[0;36m737 |[0;0m
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLock.h:18:1: [1;39mnote: [1;39m'unlock()' declared here[0;0m
[0;36m16 |[0;0m
[0;36m17 |[0;0m /// Relinquishes a previously acquired lock.
[0;36m18 |[0;0m - (void)unlock NS_SWIFT_UNAVAILABLE_FROM_ASYNC("Use async-safe scoped locking instead");
[0;36m|[0;0m `- [1;39mnote: [1;39m'unlock()' declared here[0;0m
[0;36m19 |[0;0m
[0;36m20 |[0;0m @end
/Users/admin/builder/spi-builder-workspace/agy-usage-stats/Services/AgyStatsService.swift:1247:28: [1;33mwarning: [1;39minstance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode[0;0m
[0;36m1245 |[0;0m )
[0;36m1246 |[0;0m
[0;36m1247 |[0;0m statsCacheLock.lock()
[0;36m|[0;0m `- [1;33mwarning: [1;39minstance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode[0;0m
[0;36m1248 |[0;0m statsCache = StatsCacheEntry(
[0;36m1249 |[0;0m cliDir: expandedDir,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLock.h:15:1: [1;39mnote: [1;39m'lock()' declared here[0;0m
[0;36m13 |[0;0m
[0;36m14 |[0;0m /// Attempts to acquire a lock, blocking a thread's execution until the lock can be acquired.
[0;36m15 |[0;0m - (void)lock NS_SWIFT_UNAVAILABLE_FROM_ASYNC("Use async-safe scoped locking instead");
[0;36m|[0;0m `- [1;39mnote: [1;39m'lock()' declared here[0;0m
[0;36m16 |[0;0m
[0;36m17 |[0;0m /// Relinquishes a previously acquired lock.
/Users/admin/builder/spi-builder-workspace/agy-usage-stats/Services/AgyStatsService.swift:1263:28: [1;33mwarning: [1;39minstance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode[0;0m
[0;36m1261 |[0;0m stats: stats
[0;36m1262 |[0;0m )
[0;36m1263 |[0;0m statsCacheLock.unlock()
[0;36m|[0;0m `- [1;33mwarning: [1;39minstance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode[0;0m
[0;36m1264 |[0;0m
[0;36m1265 |[0;0m let dAuth = tStart.duration(to: tHist)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLock.h:18:1: [1;39mnote: [1;39m'unlock()' declared here[0;0m
[0;36m16 |[0;0m
[0;36m17 |[0;0m /// Relinquishes a previously acquired lock.
[0;36m18 |[0;0m - (void)unlock NS_SWIFT_UNAVAILABLE_FROM_ASYNC("Use async-safe scoped locking instead");
[0;36m|[0;0m `- [1;39mnote: [1;39m'unlock()' declared here[0;0m
[0;36m19 |[0;0m
[0;36m20 |[0;0m @end
/Users/admin/builder/spi-builder-workspace/agy-usage-stats/Services/AgyStatsService.swift:352:28: [1;33mwarning: [1;39minstance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode[0;0m
[0;36m350 |[0;0m
[0;36m351 |[0;0m // Fast cache check: if history.jsonl, conversations dir, GCP dual-box files, and settings haven't changed today, return immediately
[0;36m352 |[0;0m statsCacheLock.lock()
[0;36m|[0;0m `- [1;33mwarning: [1;39minstance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode[0;0m
[0;36m353 |[0;0m if let cached = statsCache,
[0;36m354 |[0;0m cached.cliDir == expandedDir,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLock.h:15:1: [1;39mnote: [1;39m'lock()' declared here[0;0m
[0;36m13 |[0;0m
[0;36m14 |[0;0m /// Attempts to acquire a lock, blocking a thread's execution until the lock can be acquired.
[0;36m15 |[0;0m - (void)lock NS_SWIFT_UNAVAILABLE_FROM_ASYNC("Use async-safe scoped locking instead");
[0;36m|[0;0m `- [1;39mnote: [1;39m'lock()' declared here[0;0m
[0;36m16 |[0;0m
[0;36m17 |[0;0m /// Relinquishes a previously acquired lock.
/Users/admin/builder/spi-builder-workspace/agy-usage-stats/Services/AgyStatsService.swift:367:32: [1;33mwarning: [1;39minstance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode[0;0m
[0;36m365 |[0;0m cached.gcpConversationsSig == gcpConvSig {
[0;36m366 |[0;0m var cachedStats = cached.stats
[0;36m367 |[0;0m statsCacheLock.unlock()
[0;36m|[0;0m `- [1;33mwarning: [1;39minstance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode[0;0m
[0;36m368 |[0;0m
[0;36m369 |[0;0m // Fetch fresh quota without blocking UI if already cached
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLock.h:18:1: [1;39mnote: [1;39m'unlock()' declared here[0;0m
[0;36m16 |[0;0m
[0;36m17 |[0;0m /// Relinquishes a previously acquired lock.
[0;36m18 |[0;0m - (void)unlock NS_SWIFT_UNAVAILABLE_FROM_ASYNC("Use async-safe scoped locking instead");
[0;36m|[0;0m `- [1;39mnote: [1;39m'unlock()' declared here[0;0m
[0;36m19 |[0;0m
[0;36m20 |[0;0m @end
/Users/admin/builder/spi-builder-workspace/agy-usage-stats/Services/AgyStatsService.swift:377:28: [1;33mwarning: [1;39minstance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode[0;0m
[0;36m375 |[0;0m return (cachedStats, settings)
[0;36m376 |[0;0m }
[0;36m377 |[0;0m statsCacheLock.unlock()
[0;36m|[0;0m `- [1;33mwarning: [1;39minstance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode[0;0m
[0;36m378 |[0;0m
[0;36m379 |[0;0m let tStart = ContinuousClock.now
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLock.h:18:1: [1;39mnote: [1;39m'unlock()' declared here[0;0m
[0;36m16 |[0;0m
[0;36m17 |[0;0m /// Relinquishes a previously acquired lock.
[0;36m18 |[0;0m - (void)unlock NS_SWIFT_UNAVAILABLE_FROM_ASYNC("Use async-safe scoped locking instead");
[0;36m|[0;0m `- [1;39mnote: [1;39m'unlock()' declared here[0;0m
[0;36m19 |[0;0m
[0;36m20 |[0;0m @end
/Users/admin/builder/spi-builder-workspace/agy-usage-stats/Services/AgyStatsService.swift:733:28: [1;33mwarning: [1;39minstance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode[0;0m
[0;36m731 |[0;0m print("TIME: quotaInfo await = \(tQuota.duration(to: .now))")
[0;36m732 |[0;0m
[0;36m733 |[0;0m statsCacheLock.lock()
[0;36m|[0;0m `- [1;33mwarning: [1;39minstance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode[0;0m
[0;36m734 |[0;0m let previousCachedQuota = statsCache?.stats.quotaInfo
[0;36m735 |[0;0m statsCacheLock.unlock()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLock.h:15:1: [1;39mnote: [1;39m'lock()' declared here[0;0m
[0;36m13 |[0;0m
[0;36m14 |[0;0m /// Attempts to acquire a lock, blocking a thread's execution until the lock can be acquired.
[0;36m15 |[0;0m - (void)lock NS_SWIFT_UNAVAILABLE_FROM_ASYNC("Use async-safe scoped locking instead");
[0;36m|[0;0m `- [1;39mnote: [1;39m'lock()' declared here[0;0m
[0;36m16 |[0;0m
[0;36m17 |[0;0m /// Relinquishes a previously acquired lock.
/Users/admin/builder/spi-builder-workspace/agy-usage-stats/Services/AgyStatsService.swift:735:28: [1;33mwarning: [1;39minstance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode[0;0m
[0;36m733 |[0;0m statsCacheLock.lock()
[0;36m734 |[0;0m let previousCachedQuota = statsCache?.stats.quotaInfo
[0;36m735 |[0;0m statsCacheLock.unlock()
[0;36m|[0;0m `- [1;33mwarning: [1;39minstance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode[0;0m
[0;36m736 |[0;0m let quotaInfo = fetchedQuota ?? existingQuota ?? previousCachedQuota
[0;36m737 |[0;0m
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLock.h:18:1: [1;39mnote: [1;39m'unlock()' declared here[0;0m
[0;36m16 |[0;0m
[0;36m17 |[0;0m /// Relinquishes a previously acquired lock.
[0;36m18 |[0;0m - (void)unlock NS_SWIFT_UNAVAILABLE_FROM_ASYNC("Use async-safe scoped locking instead");
[0;36m|[0;0m `- [1;39mnote: [1;39m'unlock()' declared here[0;0m
[0;36m19 |[0;0m
[0;36m20 |[0;0m @end
/Users/admin/builder/spi-builder-workspace/agy-usage-stats/Services/AgyStatsService.swift:1247:28: [1;33mwarning: [1;39minstance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode[0;0m
[0;36m1245 |[0;0m )
[0;36m1246 |[0;0m
[0;36m1247 |[0;0m statsCacheLock.lock()
[0;36m|[0;0m `- [1;33mwarning: [1;39minstance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode[0;0m
[0;36m1248 |[0;0m statsCache = StatsCacheEntry(
[0;36m1249 |[0;0m cliDir: expandedDir,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLock.h:15:1: [1;39mnote: [1;39m'lock()' declared here[0;0m
[0;36m13 |[0;0m
[0;36m14 |[0;0m /// Attempts to acquire a lock, blocking a thread's execution until the lock can be acquired.
[0;36m15 |[0;0m - (void)lock NS_SWIFT_UNAVAILABLE_FROM_ASYNC("Use async-safe scoped locking instead");
[0;36m|[0;0m `- [1;39mnote: [1;39m'lock()' declared here[0;0m
[0;36m16 |[0;0m
[0;36m17 |[0;0m /// Relinquishes a previously acquired lock.
/Users/admin/builder/spi-builder-workspace/agy-usage-stats/Services/AgyStatsService.swift:1263:28: [1;33mwarning: [1;39minstance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode[0;0m
[0;36m1261 |[0;0m stats: stats
[0;36m1262 |[0;0m )
[0;36m1263 |[0;0m statsCacheLock.unlock()
[0;36m|[0;0m `- [1;33mwarning: [1;39minstance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode[0;0m
[0;36m1264 |[0;0m
[0;36m1265 |[0;0m let dAuth = tStart.duration(to: tHist)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLock.h:18:1: [1;39mnote: [1;39m'unlock()' declared here[0;0m
[0;36m16 |[0;0m
[0;36m17 |[0;0m /// Relinquishes a previously acquired lock.
[0;36m18 |[0;0m - (void)unlock NS_SWIFT_UNAVAILABLE_FROM_ASYNC("Use async-safe scoped locking instead");
[0;36m|[0;0m `- [1;39mnote: [1;39m'unlock()' declared here[0;0m
[0;36m19 |[0;0m
[0;36m20 |[0;0m @end
/Users/admin/builder/spi-builder-workspace/agy-usage-stats/Services/AgyStatsService.swift:1723:85: [1;33mwarning: [1;39mleft side of nil coalescing operator '??' has non-optional type 'String', so the right side is never used[0;0m
[0;36m1721 |[0;0m for file in logFiles {
[0;36m1722 |[0;0m let fullPath = (logDir as NSString).appendingPathComponent(file)
[0;36m1723 |[0;0m guard let text = try? [4;39mString(contentsOfFile: fullPath, encoding: .utf8)[0;0m ?? String(contentsOfFile: fullPath, encoding: .ascii) else { continue }
[0;36m|[0;0m `- [1;33mwarning: [1;39mleft side of nil coalescing operator '??' has non-optional type 'String', so the right side is never used[0;0m
[0;36m1724 |[0;0m
[0;36m1725 |[0;0m let isConsumer = text.contains("authMethod=consumer") || text.contains("daily-cloudcode-pa.googleapis.com")
/Users/admin/builder/spi-builder-workspace/agy-usage-stats/ViewModels/AgyStatsViewModel.swift:1039:23: [1;33mwarning: [1;39m'weak' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
[0;36m1032 |[0;0m guard let update = availableUpdate, let dmgURL = update.downloadURL else { return }
[0;36m1033 |[0;0m
[0;36m1034 |[0;0m Task {
[0;36m|[0;0m |- [1;39mnote: [1;39m'self' implicitly strongly captured here[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd 'self' as a capture list item to silence[0;0m
[0;36m1035 |[0;0m let didInstall = await SelfUpdater.update(
[0;36m1036 |[0;0m dmgURL: dmgURL,
[0;36m1037 |[0;0m publishedAt: update.publishedAt,
[0;36m1038 |[0;0m version: update.version
[0;36m1039 |[0;0m ) { [weak self] state in
[0;36m|[0;0m |- [1;33mwarning: [1;39m'weak' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39mexplicitly assign the capture list item to silence[0;0m
[0;36m1040 |[0;0m Task { @MainActor in
[0;36m1041 |[0;0m self?.selfUpdateState = state
/Users/admin/builder/spi-builder-workspace/agy-usage-stats/Services/UpdateChecker.swift:29:9: [1;33mwarning: [1;39mcode after 'return' will never be executed[0;0m
[0;36m27 |[0;0m #endif
[0;36m28 |[0;0m
[0;36m29 |[0;0m if Bundle.main.bundlePath.contains("DerivedData") {
[0;36m|[0;0m `- [1;33mwarning: [1;39mcode after 'return' will never be executed[0;0m
[0;36m30 |[0;0m return nil
[0;36m31 |[0;0m }
[#ImplicitStrongCapture]: <https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture>
/Users/admin/builder/spi-builder-workspace/agy-usage-stats/Views/OverviewTabView.swift:747:28: [1;33mwarning: [1;39mvalue 'pinned' was defined but never used; consider replacing with boolean test[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m745 |[0;0m Spacer()
[0;36m746 |[0;0m
[0;36m747 |[0;0m if let pinned = pinnedBucket {
[0;36m|[0;0m `- [1;33mwarning: [1;39mvalue 'pinned' was defined but never used; consider replacing with boolean test[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m748 |[0;0m Button {
[0;36m749 |[0;0m withAnimation(.spring(response: 0.2, dampingFraction: 0.8)) {
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
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/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.