The Swift Package Index logo.Swift Package Index

Build Information

Successful build of GoogleSheetsSwift, reference master (14bbd7), with Swift 6.0 for macOS (SPM) on 24 Aug 2025 15:19:36 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.0.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: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ShenghaiWang/GoogleSheetsSwift
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 14bbd79 Linux fixes(WIP)
Cloned https://github.com/ShenghaiWang/GoogleSheetsSwift.git
Revision (git rev-parse @):
14bbd79b0356423060da2f3d0050a8d20f082ae0
SUCCESS checkout https://github.com/ShenghaiWang/GoogleSheetsSwift.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/ShenghaiWang/GoogleSheetsSwift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/7] Write sources
[1/7] Write Client-entitlement.plist
[1/7] Write sources
[3/7] Write swift-version-5BDAB9E9C0126B9D.txt
[5/26] 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
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
195 |
196 |         let baseURL = "https://sheets.googleapis.com/v4"
[6/26] 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
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
195 |
196 |         let baseURL = "https://sheets.googleapis.com/v4"
[7/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
131 |         var optimizedOperations: [BatchWriteOperation] = []
132 |
133 |         for (majorDimension, ops) in groupedOperations {
    |              `- warning: immutable value 'majorDimension' was never used; consider replacing with '_' or removing it
134 |             // Sort operations by range for better performance
135 |             let sortedOps = ops.sorted { op1, op2 in
[8/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
131 |         var optimizedOperations: [BatchWriteOperation] = []
132 |
133 |         for (majorDimension, ops) in groupedOperations {
    |              `- warning: immutable value 'majorDimension' was never used; consider replacing with '_' or removing it
134 |             // Sort operations by range for better performance
135 |             let sortedOps = ops.sorted { op1, op2 in
[9/26] Compiling GoogleSheetsSwift SpreadsheetsServiceProtocol.swift
[10/26] Compiling GoogleSheetsSwift ValuesService.swift
[11/26] Compiling GoogleSheetsSwift AnyCodable.swift
[12/26] Compiling GoogleSheetsSwift Enums.swift
[13/26] Compiling GoogleSheetsSwift SpreadsheetModels.swift
[14/26] Compiling GoogleSheetsSwift ValueModels.swift
[15/26] Compiling GoogleSheetsSwift GoogleSheetsError.swift
[16/26] Compiling GoogleSheetsSwift GoogleSheetsLogger.swift
[17/26] Compiling GoogleSheetsSwift GoogleSheetsSwift.swift
[18/26] Compiling GoogleSheetsSwift HTTPClient.swift
[19/26] Compiling GoogleSheetsSwift ResponseCache.swift
[20/26] Compiling GoogleSheetsSwift GoogleSheetsClient.swift
[21/27] 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
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
315 |
316 |                 // Remove old requests outside the time window
[22/27] 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
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
315 |
316 |                 // Remove old requests outside the time window
[23/27] Emitting module GoogleSheetsSwift
[24/27] Compiling GoogleSheetsSwift ValuesServiceProtocol.swift
[25/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
 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
 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
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
115 |         majorDimension: .rows,
116 |         values: [
[26/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
 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
 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
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
115 |         majorDimension: .rows,
116 |         values: [
[26/29] Write Objects.LinkFileList
[27/29] Linking Client
[28/29] Applying Client
Build complete! (6.52s)
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.