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 GoogleSheetsSwift, reference v1.0.1 (557234), with Swift 6.2 (beta) for macOS (SPM) on 24 Aug 2025 15:21:26 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.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ShenghaiWang/GoogleSheetsSwift.git
Reference: v1.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ShenghaiWang/GoogleSheetsSwift
 * tag               v1.0.1     -> FETCH_HEAD
HEAD is now at 5572348 Google Sheets API
Cloned https://github.com/ShenghaiWang/GoogleSheetsSwift.git
Revision (git rev-parse @):
557234874a4a7a49919cf7f86ee221fc7a12c1bb
SUCCESS checkout https://github.com/ShenghaiWang/GoogleSheetsSwift.git at v1.0.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/ShenghaiWang/GoogleSheetsSwift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/7] Write sources
[2/7] Write Client-entitlement.plist
[3/7] Write swift-version-1EA4D86E10B52AF.txt
[5/26] Compiling GoogleSheetsSwift OAuth2TokenManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/GoogleSheetsSwift/Performance/BatchOptimizer.swift:133:14: warning: immutable value 'majorDimension' was never used; consider replacing with '_' or removing it [#no-usage]
131 |         var optimizedOperations: [BatchWriteOperation] = []
132 |
133 |         for (majorDimension, ops) in groupedOperations {
    |              `- warning: immutable value 'majorDimension' was never used; consider replacing with '_' or removing it [#no-usage]
134 |             // Sort operations by range for better performance
135 |             let sortedOps = ops.sorted { op1, op2 in
[6/26] Compiling GoogleSheetsSwift BatchOptimizer.swift
/Users/admin/builder/spi-builder-workspace/Sources/GoogleSheetsSwift/Performance/BatchOptimizer.swift:133:14: warning: immutable value 'majorDimension' was never used; consider replacing with '_' or removing it [#no-usage]
131 |         var optimizedOperations: [BatchWriteOperation] = []
132 |
133 |         for (majorDimension, ops) in groupedOperations {
    |              `- warning: immutable value 'majorDimension' was never used; consider replacing with '_' or removing it [#no-usage]
134 |             // Sort operations by range for better performance
135 |             let sortedOps = ops.sorted { op1, op2 in
[7/26] Compiling GoogleSheetsSwift SpreadsheetModels.swift
[8/26] Compiling GoogleSheetsSwift ValueModels.swift
[9/26] Compiling GoogleSheetsSwift MemoryEfficientDataHandler.swift
/Users/admin/builder/spi-builder-workspace/Sources/GoogleSheetsSwift/RetryConfiguration.swift:314:54: warning: capture of 'self' with non-sendable type 'RateLimiter' in a '@Sendable' closure [#SendableClosureCaptures]
292 |
293 | /// Rate limiting helper
294 | public class RateLimiter {
    |              `- note: class 'RateLimiter' does not conform to the 'Sendable' protocol
295 |     private let maxRequestsPerSecond: Double
296 |     private let timeWindow: TimeInterval
    :
312 |             queue.async(flags: .barrier) {
313 |                 let now = Date()
314 |                 let cutoff = now.addingTimeInterval(-self.timeWindow)
    |                                                      `- warning: capture of 'self' with non-sendable type 'RateLimiter' in a '@Sendable' closure [#SendableClosureCaptures]
315 |
316 |                 // Remove old requests outside the time window
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[10/26] Compiling GoogleSheetsSwift RetryConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/GoogleSheetsSwift/RetryConfiguration.swift:314:54: warning: capture of 'self' with non-sendable type 'RateLimiter' in a '@Sendable' closure [#SendableClosureCaptures]
292 |
293 | /// Rate limiting helper
294 | public class RateLimiter {
    |              `- note: class 'RateLimiter' does not conform to the 'Sendable' protocol
295 |     private let maxRequestsPerSecond: Double
296 |     private let timeWindow: TimeInterval
    :
312 |             queue.async(flags: .barrier) {
313 |                 let now = Date()
314 |                 let cutoff = now.addingTimeInterval(-self.timeWindow)
    |                                                      `- warning: capture of 'self' with non-sendable type 'RateLimiter' in a '@Sendable' closure [#SendableClosureCaptures]
315 |
316 |                 // Remove old requests outside the time window
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[11/27] Compiling GoogleSheetsSwift BaseService.swift
/Users/admin/builder/spi-builder-workspace/Sources/GoogleSheetsSwift/Services/SpreadsheetsService.swift:194:13: warning: initialization of immutable value 'requestBuilder' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
192 |     ) async throws -> HTTPRequest {
193 |         let accessToken = try await tokenManager.getAccessToken()
194 |         let requestBuilder = RequestBuilder(accessToken: accessToken)
    |             `- warning: initialization of immutable value 'requestBuilder' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
195 |
196 |         let baseURL = "https://sheets.googleapis.com/v4"
[12/27] Compiling GoogleSheetsSwift SpreadsheetsService.swift
/Users/admin/builder/spi-builder-workspace/Sources/GoogleSheetsSwift/Services/SpreadsheetsService.swift:194:13: warning: initialization of immutable value 'requestBuilder' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
192 |     ) async throws -> HTTPRequest {
193 |         let accessToken = try await tokenManager.getAccessToken()
194 |         let requestBuilder = RequestBuilder(accessToken: accessToken)
    |             `- warning: initialization of immutable value 'requestBuilder' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
195 |
196 |         let baseURL = "https://sheets.googleapis.com/v4"
[13/27] Compiling GoogleSheetsSwift SpreadsheetsServiceProtocol.swift
[14/27] Compiling GoogleSheetsSwift ValuesService.swift
[15/27] Compiling GoogleSheetsSwift GoogleSheetsSwift.swift
[16/27] Compiling GoogleSheetsSwift HTTPClient.swift
[17/27] Compiling GoogleSheetsSwift AnyCodable.swift
[18/27] Compiling GoogleSheetsSwift Enums.swift
[19/27] Emitting module GoogleSheetsSwift
[20/27] Compiling GoogleSheetsSwift ResponseCache.swift
[21/27] Compiling GoogleSheetsSwift GoogleSheetsClient.swift
[22/27] Compiling GoogleSheetsSwift GoogleSheetsError.swift
[23/27] Compiling GoogleSheetsSwift GoogleSheetsLogger.swift
[24/27] Compiling GoogleSheetsSwift ValuesServiceProtocol.swift
[25/29] Emitting module Client
/Users/admin/builder/spi-builder-workspace/Sources/Client/main.swift:84:9: warning: initialization of immutable value 'newRecipe' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
 82 |     // Test 5: Add a new test recipe
 83 |     print("\n🔍 Test 5: Adding a new test recipe")
 84 |     let newRecipe = ValueRange(
    |         `- warning: initialization of immutable value 'newRecipe' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
 85 |         range: "A11:C11",
 86 |         majorDimension: .rows,
/Users/admin/builder/spi-builder-workspace/Sources/Client/main.swift:114:9: warning: initialization of immutable value 'appendRecipe' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
112 |     // Test 7: Append another recipe
113 |     print("\n🔍 Test 7: Appending another recipe")
114 |     let appendRecipe = ValueRange(
    |         `- warning: initialization of immutable value 'appendRecipe' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
115 |         majorDimension: .rows,
116 |         values: [
[26/29] Compiling Client main.swift
/Users/admin/builder/spi-builder-workspace/Sources/Client/main.swift:84:9: warning: initialization of immutable value 'newRecipe' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
 82 |     // Test 5: Add a new test recipe
 83 |     print("\n🔍 Test 5: Adding a new test recipe")
 84 |     let newRecipe = ValueRange(
    |         `- warning: initialization of immutable value 'newRecipe' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
 85 |         range: "A11:C11",
 86 |         majorDimension: .rows,
/Users/admin/builder/spi-builder-workspace/Sources/Client/main.swift:114:9: warning: initialization of immutable value 'appendRecipe' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
112 |     // Test 7: Append another recipe
113 |     print("\n🔍 Test 7: Appending another recipe")
114 |     let appendRecipe = ValueRange(
    |         `- warning: initialization of immutable value 'appendRecipe' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
115 |         majorDimension: .rows,
116 |         values: [
[26/29] Write Objects.LinkFileList
[27/29] Linking Client
[28/29] Applying Client
Build complete! (5.60s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "GoogleSheetsSwift",
  "name" : "GoogleSheetsSwift",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "GoogleSheetsSwift",
      "targets" : [
        "GoogleSheetsSwift"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Client",
      "targets" : [
        "Client"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "GoogleSheetsSwiftTests",
      "module_type" : "SwiftTarget",
      "name" : "GoogleSheetsSwiftTests",
      "path" : "Tests/GoogleSheetsSwiftTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/GoogleSheetsSwiftTests/Fixtures",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/GoogleSheetsSwiftTests/Integration",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "GoogleSheetsClientLoggingTests.swift",
        "GoogleSheetsClientTests.swift",
        "GoogleSheetsErrorTests.swift",
        "GoogleSheetsLoggerTests.swift",
        "GoogleSheetsSwiftTests.swift",
        "HTTPClientTests.swift",
        "Helpers/TestHelpers.swift",
        "Mocks/MockHTTPClient.swift",
        "Mocks/MockOAuth2TokenManager.swift",
        "Models/AnyCodableTests.swift",
        "Models/EnumsTests.swift",
        "Models/SpreadsheetModelsTests.swift",
        "Models/ValueModelsTests.swift",
        "OAuth2TokenManagerTests.swift",
        "PackageConfigurationTests.swift",
        "Performance/PerformanceTests.swift",
        "RetryConfigurationTests.swift",
        "Services/SpreadsheetsServiceTests.swift",
        "Services/ValuesServiceTests.swift"
      ],
      "target_dependencies" : [
        "GoogleSheetsSwift"
      ],
      "type" : "test"
    },
    {
      "c99name" : "GoogleSheetsSwift",
      "module_type" : "SwiftTarget",
      "name" : "GoogleSheetsSwift",
      "path" : "Sources/GoogleSheetsSwift",
      "product_memberships" : [
        "GoogleSheetsSwift",
        "Client"
      ],
      "sources" : [
        "Cache/ResponseCache.swift",
        "GoogleSheetsClient.swift",
        "GoogleSheetsError.swift",
        "GoogleSheetsLogger.swift",
        "GoogleSheetsSwift.swift",
        "HTTPClient.swift",
        "Models/AnyCodable.swift",
        "Models/Enums.swift",
        "Models/SpreadsheetModels.swift",
        "Models/ValueModels.swift",
        "OAuth2TokenManager.swift",
        "Performance/BatchOptimizer.swift",
        "Performance/MemoryEfficientDataHandler.swift",
        "RetryConfiguration.swift",
        "Services/BaseService.swift",
        "Services/SpreadsheetsService.swift",
        "Services/SpreadsheetsServiceProtocol.swift",
        "Services/ValuesService.swift",
        "Services/ValuesServiceProtocol.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Client",
      "module_type" : "SwiftTarget",
      "name" : "Client",
      "path" : "Sources/Client",
      "product_memberships" : [
        "Client"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "GoogleSheetsSwift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.7"
}
Done.