The Swift Package Index logo.Swift Package Index

Build Information

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

Swift 6 data race errors: 23

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

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
========================================
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",
  "dependencies": [
    {
      "identity": "googlesheetsswift",
      "name": "GoogleSheetsSwift",
      "url": "https://github.com/ShenghaiWang/GoogleSheetsSwift.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/GoogleSheetsSwift",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/ShenghaiWang/GoogleSheetsSwift.git
[1/86] Fetching googlesheetsswift
Fetched https://github.com/ShenghaiWang/GoogleSheetsSwift.git from cache (0.86s)
Creating working copy for https://github.com/ShenghaiWang/GoogleSheetsSwift.git
Working copy of https://github.com/ShenghaiWang/GoogleSheetsSwift.git resolved at master (14bbd79)
warning: '.resolve-product-dependencies': dependency 'googlesheetsswift' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/ShenghaiWang/GoogleSheetsSwift.git
https://github.com/ShenghaiWang/GoogleSheetsSwift.git
{
  "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"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/7] Write sources
[0/7] Write Client-entitlement.plist
[3/7] Write swift-version-2F0A5646E1D333AE.txt
[5/26] Compiling GoogleSheetsSwift SpreadsheetsServiceProtocol.swift
[6/26] Compiling GoogleSheetsSwift ValuesService.swift
[7/27] Compiling GoogleSheetsSwift SpreadsheetModels.swift
[8/27] Compiling GoogleSheetsSwift ValueModels.swift
[9/27] Compiling GoogleSheetsSwift MemoryEfficientDataHandler.swift
/Users/admin/builder/spi-builder-workspace/Sources/GoogleSheetsSwift/Performance/MemoryEfficientDataHandler.swift:23:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'MemoryEfficientDataHandler.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
  5 |
  6 |     /// Configuration for memory-efficient operations
  7 |     public struct Configuration {
    |                   `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
  8 |         /// Maximum number of rows to process in memory at once
  9 |         public let maxRowsInMemory: Int
    :
 21 |         public let compressInMemory: Bool
 22 |
 23 |         public static let `default` = Configuration(
    |                           |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'MemoryEfficientDataHandler.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 24 |             maxRowsInMemory: 10000,
 25 |             maxColumnsInMemory: 100,
/Users/admin/builder/spi-builder-workspace/Sources/GoogleSheetsSwift/Performance/MemoryEfficientDataHandler.swift:31:27: warning: static property 'conservative' is not concurrency-safe because non-'Sendable' type 'MemoryEfficientDataHandler.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
  5 |
  6 |     /// Configuration for memory-efficient operations
  7 |     public struct Configuration {
    |                   `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
  8 |         /// Maximum number of rows to process in memory at once
  9 |         public let maxRowsInMemory: Int
    :
 29 |         )
 30 |
 31 |         public static let conservative = Configuration(
    |                           |- warning: static property 'conservative' is not concurrency-safe because non-'Sendable' type 'MemoryEfficientDataHandler.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'conservative' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 32 |             maxRowsInMemory: 1000,
 33 |             maxColumnsInMemory: 50,
/Users/admin/builder/spi-builder-workspace/Sources/GoogleSheetsSwift/RetryConfiguration.swift:43:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'RetryConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
  2 |
  3 | /// Configuration for retry behavior with exponential backoff
  4 | public struct RetryConfiguration {
    |               `- note: consider making struct 'RetryConfiguration' conform to the 'Sendable' protocol
  5 |     /// Maximum number of retry attempts
  6 |     public let maxRetries: Int
    :
 41 |
 42 |     /// Default retry configuration
 43 |     public static let `default` = RetryConfiguration()
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'RetryConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 44 |
 45 |     /// Conservative retry configuration with longer delays
/Users/admin/builder/spi-builder-workspace/Sources/GoogleSheetsSwift/RetryConfiguration.swift:46:23: warning: static property 'conservative' is not concurrency-safe because non-'Sendable' type 'RetryConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
  2 |
  3 | /// Configuration for retry behavior with exponential backoff
  4 | public struct RetryConfiguration {
    |               `- note: consider making struct 'RetryConfiguration' conform to the 'Sendable' protocol
  5 |     /// Maximum number of retry attempts
  6 |     public let maxRetries: Int
    :
 44 |
 45 |     /// Conservative retry configuration with longer delays
 46 |     public static let conservative = RetryConfiguration(
    |                       |- warning: static property 'conservative' is not concurrency-safe because non-'Sendable' type 'RetryConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'conservative' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 47 |         maxRetries: 5,
 48 |         baseDelay: 2.0,
/Users/admin/builder/spi-builder-workspace/Sources/GoogleSheetsSwift/RetryConfiguration.swift:55:23: warning: static property 'aggressive' is not concurrency-safe because non-'Sendable' type 'RetryConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
  2 |
  3 | /// Configuration for retry behavior with exponential backoff
  4 | public struct RetryConfiguration {
    |               `- note: consider making struct 'RetryConfiguration' conform to the 'Sendable' protocol
  5 |     /// Maximum number of retry attempts
  6 |     public let maxRetries: Int
    :
 53 |
 54 |     /// Aggressive retry configuration with shorter delays
 55 |     public static let aggressive = RetryConfiguration(
    |                       |- warning: static property 'aggressive' is not concurrency-safe because non-'Sendable' type 'RetryConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'aggressive' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 56 |         maxRetries: 2,
 57 |         baseDelay: 0.5,
/Users/admin/builder/spi-builder-workspace/Sources/GoogleSheetsSwift/RetryConfiguration.swift:64:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'RetryConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
  2 |
  3 | /// Configuration for retry behavior with exponential backoff
  4 | public struct RetryConfiguration {
    |               `- note: consider making struct 'RetryConfiguration' conform to the 'Sendable' protocol
  5 |     /// Maximum number of retry attempts
  6 |     public let maxRetries: Int
    :
 62 |
 63 |     /// No retry configuration
 64 |     public static let none = RetryConfiguration(maxRetries: 0)
    |                       |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'RetryConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 65 |
 66 |     /// Calculate the delay for a specific retry attempt
/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
/Users/admin/builder/spi-builder-workspace/Sources/GoogleSheetsSwift/RetryConfiguration.swift:326:33: 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
    :
324 |                         if delay > 0 {
325 |                             DispatchQueue.global().asyncAfter(deadline: .now() + delay) {
326 |                                 self.requestTimes.append(now.addingTimeInterval(delay))
    |                                 `- warning: capture of 'self' with non-sendable type 'RateLimiter' in a '@Sendable' closure
327 |                                 continuation.resume()
328 |                             }
[10/27] Compiling GoogleSheetsSwift RetryConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/GoogleSheetsSwift/Performance/MemoryEfficientDataHandler.swift:23:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'MemoryEfficientDataHandler.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
  5 |
  6 |     /// Configuration for memory-efficient operations
  7 |     public struct Configuration {
    |                   `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
  8 |         /// Maximum number of rows to process in memory at once
  9 |         public let maxRowsInMemory: Int
    :
 21 |         public let compressInMemory: Bool
 22 |
 23 |         public static let `default` = Configuration(
    |                           |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'MemoryEfficientDataHandler.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 24 |             maxRowsInMemory: 10000,
 25 |             maxColumnsInMemory: 100,
/Users/admin/builder/spi-builder-workspace/Sources/GoogleSheetsSwift/Performance/MemoryEfficientDataHandler.swift:31:27: warning: static property 'conservative' is not concurrency-safe because non-'Sendable' type 'MemoryEfficientDataHandler.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
  5 |
  6 |     /// Configuration for memory-efficient operations
  7 |     public struct Configuration {
    |                   `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
  8 |         /// Maximum number of rows to process in memory at once
  9 |         public let maxRowsInMemory: Int
    :
 29 |         )
 30 |
 31 |         public static let conservative = Configuration(
    |                           |- warning: static property 'conservative' is not concurrency-safe because non-'Sendable' type 'MemoryEfficientDataHandler.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'conservative' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 32 |             maxRowsInMemory: 1000,
 33 |             maxColumnsInMemory: 50,
/Users/admin/builder/spi-builder-workspace/Sources/GoogleSheetsSwift/RetryConfiguration.swift:43:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'RetryConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
  2 |
  3 | /// Configuration for retry behavior with exponential backoff
  4 | public struct RetryConfiguration {
    |               `- note: consider making struct 'RetryConfiguration' conform to the 'Sendable' protocol
  5 |     /// Maximum number of retry attempts
  6 |     public let maxRetries: Int
    :
 41 |
 42 |     /// Default retry configuration
 43 |     public static let `default` = RetryConfiguration()
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'RetryConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 44 |
 45 |     /// Conservative retry configuration with longer delays
/Users/admin/builder/spi-builder-workspace/Sources/GoogleSheetsSwift/RetryConfiguration.swift:46:23: warning: static property 'conservative' is not concurrency-safe because non-'Sendable' type 'RetryConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
  2 |
  3 | /// Configuration for retry behavior with exponential backoff
  4 | public struct RetryConfiguration {
    |               `- note: consider making struct 'RetryConfiguration' conform to the 'Sendable' protocol
  5 |     /// Maximum number of retry attempts
  6 |     public let maxRetries: Int
    :
 44 |
 45 |     /// Conservative retry configuration with longer delays
 46 |     public static let conservative = RetryConfiguration(
    |                       |- warning: static property 'conservative' is not concurrency-safe because non-'Sendable' type 'RetryConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'conservative' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 47 |         maxRetries: 5,
 48 |         baseDelay: 2.0,
/Users/admin/builder/spi-builder-workspace/Sources/GoogleSheetsSwift/RetryConfiguration.swift:55:23: warning: static property 'aggressive' is not concurrency-safe because non-'Sendable' type 'RetryConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
  2 |
  3 | /// Configuration for retry behavior with exponential backoff
  4 | public struct RetryConfiguration {
    |               `- note: consider making struct 'RetryConfiguration' conform to the 'Sendable' protocol
  5 |     /// Maximum number of retry attempts
  6 |     public let maxRetries: Int
    :
 53 |
 54 |     /// Aggressive retry configuration with shorter delays
 55 |     public static let aggressive = RetryConfiguration(
    |                       |- warning: static property 'aggressive' is not concurrency-safe because non-'Sendable' type 'RetryConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'aggressive' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 56 |         maxRetries: 2,
 57 |         baseDelay: 0.5,
/Users/admin/builder/spi-builder-workspace/Sources/GoogleSheetsSwift/RetryConfiguration.swift:64:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'RetryConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
  2 |
  3 | /// Configuration for retry behavior with exponential backoff
  4 | public struct RetryConfiguration {
    |               `- note: consider making struct 'RetryConfiguration' conform to the 'Sendable' protocol
  5 |     /// Maximum number of retry attempts
  6 |     public let maxRetries: Int
    :
 62 |
 63 |     /// No retry configuration
 64 |     public static let none = RetryConfiguration(maxRetries: 0)
    |                       |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'RetryConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 65 |
 66 |     /// Calculate the delay for a specific retry attempt
/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
/Users/admin/builder/spi-builder-workspace/Sources/GoogleSheetsSwift/RetryConfiguration.swift:326:33: 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
    :
324 |                         if delay > 0 {
325 |                             DispatchQueue.global().asyncAfter(deadline: .now() + delay) {
326 |                                 self.requestTimes.append(now.addingTimeInterval(delay))
    |                                 `- warning: capture of 'self' with non-sendable type 'RateLimiter' in a '@Sendable' closure
327 |                                 continuation.resume()
328 |                             }
[11/27] Compiling GoogleSheetsSwift AnyCodable.swift
[12/27] Compiling GoogleSheetsSwift Enums.swift
[13/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
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"
[14/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
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"
[15/27] Compiling GoogleSheetsSwift GoogleSheetsError.swift
/Users/admin/builder/spi-builder-workspace/Sources/GoogleSheetsSwift/GoogleSheetsError.swift:28:10: warning: associated value 'apiError(code:message:details:)' of 'Sendable'-conforming enum 'GoogleSheetsError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
 26 |
 27 |     /// API returned an error response
 28 |     case apiError(code: Int, message: String, details: [String: Any]?)
    |          `- warning: associated value 'apiError(code:message:details:)' of 'Sendable'-conforming enum 'GoogleSheetsError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
 29 |
 30 |     /// Rate limit exceeded - too many requests
[16/27] Compiling GoogleSheetsSwift GoogleSheetsLogger.swift
/Users/admin/builder/spi-builder-workspace/Sources/GoogleSheetsSwift/GoogleSheetsError.swift:28:10: warning: associated value 'apiError(code:message:details:)' of 'Sendable'-conforming enum 'GoogleSheetsError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
 26 |
 27 |     /// API returned an error response
 28 |     case apiError(code: Int, message: String, details: [String: Any]?)
    |          `- warning: associated value 'apiError(code:message:details:)' of 'Sendable'-conforming enum 'GoogleSheetsError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
 29 |
 30 |     /// Rate limit exceeded - too many requests
[17/27] Compiling GoogleSheetsSwift GoogleSheetsSwift.swift
/Users/admin/builder/spi-builder-workspace/Sources/GoogleSheetsSwift/GoogleSheetsSwift.swift:40:23: warning: static property 'buildInfo' is not concurrency-safe because non-'Sendable' type 'BuildInfo' may have shared mutable state; this is an error in the Swift 6 language mode
38 |
39 |     /// SDK build information
40 |     public static let buildInfo = BuildInfo(
   |                       |- warning: static property 'buildInfo' is not concurrency-safe because non-'Sendable' type 'BuildInfo' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'buildInfo' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |         version: version,
42 |         apiVersion: googleSheetsAPIVersion,
   :
52 |
53 | /// Build information for the SDK
54 | public struct BuildInfo {
   |               `- note: consider making struct 'BuildInfo' conform to the 'Sendable' protocol
55 |     public let version: String
56 |     public let apiVersion: String
[18/27] Compiling GoogleSheetsSwift HTTPClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/GoogleSheetsSwift/GoogleSheetsSwift.swift:40:23: warning: static property 'buildInfo' is not concurrency-safe because non-'Sendable' type 'BuildInfo' may have shared mutable state; this is an error in the Swift 6 language mode
38 |
39 |     /// SDK build information
40 |     public static let buildInfo = BuildInfo(
   |                       |- warning: static property 'buildInfo' is not concurrency-safe because non-'Sendable' type 'BuildInfo' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'buildInfo' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |         version: version,
42 |         apiVersion: googleSheetsAPIVersion,
   :
52 |
53 | /// Build information for the SDK
54 | public struct BuildInfo {
   |               `- note: consider making struct 'BuildInfo' conform to the 'Sendable' protocol
55 |     public let version: String
56 |     public let apiVersion: String
[19/27] Emitting module GoogleSheetsSwift
/Users/admin/builder/spi-builder-workspace/Sources/GoogleSheetsSwift/Cache/ResponseCache.swift:146:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'CacheConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
131 |
132 | /// Cache configuration
133 | public struct CacheConfiguration {
    |               `- note: consider making struct 'CacheConfiguration' conform to the 'Sendable' protocol
134 |     /// Default TTL for cached responses (in seconds)
135 |     public let defaultTTL: TimeInterval
    :
144 |     public let enabled: Bool
145 |
146 |     public static let `default` = CacheConfiguration(
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'CacheConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
147 |         defaultTTL: 300, // 5 minutes
148 |         spreadsheetTTL: 600, // 10 minutes
/Users/admin/builder/spi-builder-workspace/Sources/GoogleSheetsSwift/Cache/ResponseCache.swift:153:23: warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'CacheConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
131 |
132 | /// Cache configuration
133 | public struct CacheConfiguration {
    |               `- note: consider making struct 'CacheConfiguration' conform to the 'Sendable' protocol
134 |     /// Default TTL for cached responses (in seconds)
135 |     public let defaultTTL: TimeInterval
    :
151 |     )
152 |
153 |     public static let disabled = CacheConfiguration(
    |                       |- warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'CacheConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'disabled' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
154 |         defaultTTL: 0,
155 |         spreadsheetTTL: 0,
/Users/admin/builder/spi-builder-workspace/Sources/GoogleSheetsSwift/GoogleSheetsError.swift:28:10: warning: associated value 'apiError(code:message:details:)' of 'Sendable'-conforming enum 'GoogleSheetsError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
 26 |
 27 |     /// API returned an error response
 28 |     case apiError(code: Int, message: String, details: [String: Any]?)
    |          `- warning: associated value 'apiError(code:message:details:)' of 'Sendable'-conforming enum 'GoogleSheetsError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
 29 |
 30 |     /// Rate limit exceeded - too many requests
/Users/admin/builder/spi-builder-workspace/Sources/GoogleSheetsSwift/GoogleSheetsSwift.swift:40:23: warning: static property 'buildInfo' is not concurrency-safe because non-'Sendable' type 'BuildInfo' may have shared mutable state; this is an error in the Swift 6 language mode
38 |
39 |     /// SDK build information
40 |     public static let buildInfo = BuildInfo(
   |                       |- warning: static property 'buildInfo' is not concurrency-safe because non-'Sendable' type 'BuildInfo' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'buildInfo' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |         version: version,
42 |         apiVersion: googleSheetsAPIVersion,
   :
52 |
53 | /// Build information for the SDK
54 | public struct BuildInfo {
   |               `- note: consider making struct 'BuildInfo' conform to the 'Sendable' protocol
55 |     public let version: String
56 |     public let apiVersion: String
/Users/admin/builder/spi-builder-workspace/Sources/GoogleSheetsSwift/Performance/BatchOptimizer.swift:20:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'BatchOptimizer.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
  5 |
  6 |     /// Configuration for batch optimization
  7 |     public struct Configuration {
    |                   `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
  8 |         /// Maximum number of ranges to include in a single batch request
  9 |         public let maxBatchSize: Int
    :
 18 |         public let sortRanges: Bool
 19 |
 20 |         public static let `default` = Configuration(
    |                           |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'BatchOptimizer.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 21 |             maxBatchSize: 100,
 22 |             minBatchSize: 2,
/Users/admin/builder/spi-builder-workspace/Sources/GoogleSheetsSwift/Performance/MemoryEfficientDataHandler.swift:23:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'MemoryEfficientDataHandler.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
  5 |
  6 |     /// Configuration for memory-efficient operations
  7 |     public struct Configuration {
    |                   `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
  8 |         /// Maximum number of rows to process in memory at once
  9 |         public let maxRowsInMemory: Int
    :
 21 |         public let compressInMemory: Bool
 22 |
 23 |         public static let `default` = Configuration(
    |                           |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'MemoryEfficientDataHandler.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 24 |             maxRowsInMemory: 10000,
 25 |             maxColumnsInMemory: 100,
/Users/admin/builder/spi-builder-workspace/Sources/GoogleSheetsSwift/Performance/MemoryEfficientDataHandler.swift:31:27: warning: static property 'conservative' is not concurrency-safe because non-'Sendable' type 'MemoryEfficientDataHandler.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
  5 |
  6 |     /// Configuration for memory-efficient operations
  7 |     public struct Configuration {
    |                   `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
  8 |         /// Maximum number of rows to process in memory at once
  9 |         public let maxRowsInMemory: Int
    :
 29 |         )
 30 |
 31 |         public static let conservative = Configuration(
    |                           |- warning: static property 'conservative' is not concurrency-safe because non-'Sendable' type 'MemoryEfficientDataHandler.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'conservative' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 32 |             maxRowsInMemory: 1000,
 33 |             maxColumnsInMemory: 50,
/Users/admin/builder/spi-builder-workspace/Sources/GoogleSheetsSwift/RetryConfiguration.swift:43:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'RetryConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
  2 |
  3 | /// Configuration for retry behavior with exponential backoff
  4 | public struct RetryConfiguration {
    |               `- note: consider making struct 'RetryConfiguration' conform to the 'Sendable' protocol
  5 |     /// Maximum number of retry attempts
  6 |     public let maxRetries: Int
    :
 41 |
 42 |     /// Default retry configuration
 43 |     public static let `default` = RetryConfiguration()
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'RetryConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 44 |
 45 |     /// Conservative retry configuration with longer delays
/Users/admin/builder/spi-builder-workspace/Sources/GoogleSheetsSwift/RetryConfiguration.swift:46:23: warning: static property 'conservative' is not concurrency-safe because non-'Sendable' type 'RetryConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
  2 |
  3 | /// Configuration for retry behavior with exponential backoff
  4 | public struct RetryConfiguration {
    |               `- note: consider making struct 'RetryConfiguration' conform to the 'Sendable' protocol
  5 |     /// Maximum number of retry attempts
  6 |     public let maxRetries: Int
    :
 44 |
 45 |     /// Conservative retry configuration with longer delays
 46 |     public static let conservative = RetryConfiguration(
    |                       |- warning: static property 'conservative' is not concurrency-safe because non-'Sendable' type 'RetryConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'conservative' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 47 |         maxRetries: 5,
 48 |         baseDelay: 2.0,
/Users/admin/builder/spi-builder-workspace/Sources/GoogleSheetsSwift/RetryConfiguration.swift:55:23: warning: static property 'aggressive' is not concurrency-safe because non-'Sendable' type 'RetryConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
  2 |
  3 | /// Configuration for retry behavior with exponential backoff
  4 | public struct RetryConfiguration {
    |               `- note: consider making struct 'RetryConfiguration' conform to the 'Sendable' protocol
  5 |     /// Maximum number of retry attempts
  6 |     public let maxRetries: Int
    :
 53 |
 54 |     /// Aggressive retry configuration with shorter delays
 55 |     public static let aggressive = RetryConfiguration(
    |                       |- warning: static property 'aggressive' is not concurrency-safe because non-'Sendable' type 'RetryConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'aggressive' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 56 |         maxRetries: 2,
 57 |         baseDelay: 0.5,
/Users/admin/builder/spi-builder-workspace/Sources/GoogleSheetsSwift/RetryConfiguration.swift:64:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'RetryConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
  2 |
  3 | /// Configuration for retry behavior with exponential backoff
  4 | public struct RetryConfiguration {
    |               `- note: consider making struct 'RetryConfiguration' conform to the 'Sendable' protocol
  5 |     /// Maximum number of retry attempts
  6 |     public let maxRetries: Int
    :
 62 |
 63 |     /// No retry configuration
 64 |     public static let none = RetryConfiguration(maxRetries: 0)
    |                       |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'RetryConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 65 |
 66 |     /// Calculate the delay for a specific retry attempt
[20/27] Compiling GoogleSheetsSwift ResponseCache.swift
/Users/admin/builder/spi-builder-workspace/Sources/GoogleSheetsSwift/Cache/ResponseCache.swift:146:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'CacheConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
131 |
132 | /// Cache configuration
133 | public struct CacheConfiguration {
    |               `- note: consider making struct 'CacheConfiguration' conform to the 'Sendable' protocol
134 |     /// Default TTL for cached responses (in seconds)
135 |     public let defaultTTL: TimeInterval
    :
144 |     public let enabled: Bool
145 |
146 |     public static let `default` = CacheConfiguration(
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'CacheConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
147 |         defaultTTL: 300, // 5 minutes
148 |         spreadsheetTTL: 600, // 10 minutes
/Users/admin/builder/spi-builder-workspace/Sources/GoogleSheetsSwift/Cache/ResponseCache.swift:153:23: warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'CacheConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
131 |
132 | /// Cache configuration
133 | public struct CacheConfiguration {
    |               `- note: consider making struct 'CacheConfiguration' conform to the 'Sendable' protocol
134 |     /// Default TTL for cached responses (in seconds)
135 |     public let defaultTTL: TimeInterval
    :
151 |     )
152 |
153 |     public static let disabled = CacheConfiguration(
    |                       |- warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'CacheConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'disabled' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
154 |         defaultTTL: 0,
155 |         spreadsheetTTL: 0,
[21/27] Compiling GoogleSheetsSwift GoogleSheetsClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/GoogleSheetsSwift/Cache/ResponseCache.swift:146:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'CacheConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
131 |
132 | /// Cache configuration
133 | public struct CacheConfiguration {
    |               `- note: consider making struct 'CacheConfiguration' conform to the 'Sendable' protocol
134 |     /// Default TTL for cached responses (in seconds)
135 |     public let defaultTTL: TimeInterval
    :
144 |     public let enabled: Bool
145 |
146 |     public static let `default` = CacheConfiguration(
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'CacheConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
147 |         defaultTTL: 300, // 5 minutes
148 |         spreadsheetTTL: 600, // 10 minutes
/Users/admin/builder/spi-builder-workspace/Sources/GoogleSheetsSwift/Cache/ResponseCache.swift:153:23: warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'CacheConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
131 |
132 | /// Cache configuration
133 | public struct CacheConfiguration {
    |               `- note: consider making struct 'CacheConfiguration' conform to the 'Sendable' protocol
134 |     /// Default TTL for cached responses (in seconds)
135 |     public let defaultTTL: TimeInterval
    :
151 |     )
152 |
153 |     public static let disabled = CacheConfiguration(
    |                       |- warning: static property 'disabled' is not concurrency-safe because non-'Sendable' type 'CacheConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'disabled' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
154 |         defaultTTL: 0,
155 |         spreadsheetTTL: 0,
[22/27] Compiling GoogleSheetsSwift OAuth2TokenManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/GoogleSheetsSwift/Performance/BatchOptimizer.swift:20:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'BatchOptimizer.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
  5 |
  6 |     /// Configuration for batch optimization
  7 |     public struct Configuration {
    |                   `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
  8 |         /// Maximum number of ranges to include in a single batch request
  9 |         public let maxBatchSize: Int
    :
 18 |         public let sortRanges: Bool
 19 |
 20 |         public static let `default` = Configuration(
    |                           |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'BatchOptimizer.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 21 |             maxBatchSize: 100,
 22 |             minBatchSize: 2,
/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
/Users/admin/builder/spi-builder-workspace/Sources/GoogleSheetsSwift/OAuth2TokenManager.swift:597:47: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
595 |
596 |         // Create new refresh task
597 |         let refreshTask = Task<String, Error> {
    |                                               `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
598 |             defer { currentRefreshTask = nil }
    |                     `- note: closure captures 'self' which is accessible to code in the current task
599 |             return try await performTokenRefresh()
600 |         }
[23/27] Compiling GoogleSheetsSwift BatchOptimizer.swift
/Users/admin/builder/spi-builder-workspace/Sources/GoogleSheetsSwift/Performance/BatchOptimizer.swift:20:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'BatchOptimizer.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
  5 |
  6 |     /// Configuration for batch optimization
  7 |     public struct Configuration {
    |                   `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
  8 |         /// Maximum number of ranges to include in a single batch request
  9 |         public let maxBatchSize: Int
    :
 18 |         public let sortRanges: Bool
 19 |
 20 |         public static let `default` = Configuration(
    |                           |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'BatchOptimizer.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 21 |             maxBatchSize: 100,
 22 |             minBatchSize: 2,
/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
/Users/admin/builder/spi-builder-workspace/Sources/GoogleSheetsSwift/OAuth2TokenManager.swift:597:47: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
595 |
596 |         // Create new refresh task
597 |         let refreshTask = Task<String, Error> {
    |                                               `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
598 |             defer { currentRefreshTask = nil }
    |                     `- note: closure captures 'self' which is accessible to code in the current task
599 |             return try await performTokenRefresh()
600 |         }
[24/27] Compiling GoogleSheetsSwift ValuesServiceProtocol.swift
[25/29] Compiling Client main.swift
/Users/admin/builder/spi-builder-workspace/Sources/Client/main.swift:31:39: warning: non-sendable result type 'ValueRange' cannot be sent from nonisolated context in call to instance method 'readRange(_:range:majorDimension:valueRenderOption:)'; this is an error in the Swift 6 language mode
 29 |     // Test 1: Read existing data
 30 |     print("\n🔍 Test 1: Reading existing recipe data")
 31 |     let valueRange = try await client.readRange(spreadsheetId, range: "A1:C10")
    |                                       `- warning: non-sendable result type 'ValueRange' cannot be sent from nonisolated context in call to instance method 'readRange(_:range:majorDimension:valueRenderOption:)'; this is an error in the Swift 6 language mode
 32 |
 33 |     print("✅ Successfully read \(valueRange.rowCount) rows from the spreadsheet")
/Users/admin/builder/spi-builder-workspace/Sources/GoogleSheetsSwift/Models/ValueModels.swift:6:15: note: struct 'ValueRange' does not conform to the 'Sendable' protocol
  4 |
  5 | /// A range of values in a spreadsheet
  6 | public struct ValueRange: Codable, Equatable {
    |               `- note: struct 'ValueRange' does not conform to the 'Sendable' protocol
  7 |     /// The range the values cover, in A1 notation
  8 |     public let range: String?
/Users/admin/builder/spi-builder-workspace/Sources/Client/main.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GoogleSheetsSwift'
  1 | import Foundation
  2 | import GoogleSheetsSwift
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GoogleSheetsSwift'
  3 |
  4 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Client/main.swift:50:40: warning: non-sendable result type 'Spreadsheet' cannot be sent from nonisolated context in call to instance method 'getSpreadsheet'; this is an error in the Swift 6 language mode
 48 |     // Test 2: Get spreadsheet metadata
 49 |     print("\n🔍 Test 2: Getting spreadsheet metadata")
 50 |     let spreadsheet = try await client.getSpreadsheet(spreadsheetId)
    |                                        `- warning: non-sendable result type 'Spreadsheet' cannot be sent from nonisolated context in call to instance method 'getSpreadsheet'; this is an error in the Swift 6 language mode
 51 |     print("✅ Spreadsheet Title: \(spreadsheet.properties?.title ?? "Unknown")")
 52 |     if let sheets = spreadsheet.sheets {
/Users/admin/builder/spi-builder-workspace/Sources/GoogleSheetsSwift/Models/SpreadsheetModels.swift:6:15: note: struct 'Spreadsheet' does not conform to the 'Sendable' protocol
  4 |
  5 | /// Resource that represents a spreadsheet
  6 | public struct Spreadsheet: Codable, Equatable {
    |               `- note: struct 'Spreadsheet' does not conform to the 'Sendable' protocol
  7 |     /// The ID of the spreadsheet (read-only)
  8 |     public let spreadsheetId: String?
/Users/admin/builder/spi-builder-workspace/Sources/Client/main.swift:63:44: warning: non-sendable result type 'ValueRange' cannot be sent from nonisolated context in call to instance method 'readRange(_:range:majorDimension:valueRenderOption:)'; this is an error in the Swift 6 language mode
 61 |     // Test 3: Read a specific range with different options
 62 |     print("\n🔍 Test 3: Reading with different value render options")
 63 |     let formattedValues = try await client.readRange(
    |                                            `- warning: non-sendable result type 'ValueRange' cannot be sent from nonisolated context in call to instance method 'readRange(_:range:majorDimension:valueRenderOption:)'; this is an error in the Swift 6 language mode
 64 |         spreadsheetId,
 65 |         range: "A1:A5",
/Users/admin/builder/spi-builder-workspace/Sources/GoogleSheetsSwift/Models/ValueModels.swift:6:15: note: struct 'ValueRange' does not conform to the 'Sendable' protocol
  4 |
  5 | /// A range of values in a spreadsheet
  6 | public struct ValueRange: Codable, Equatable {
    |               `- note: struct 'ValueRange' does not conform to the 'Sendable' protocol
  7 |     /// The range the values cover, in A1 notation
  8 |     public let range: String?
/Users/admin/builder/spi-builder-workspace/Sources/Client/main.swift:73:35: warning: non-sendable result type 'ValueRange' cannot be sent from nonisolated context in call to instance method 'readRange(_:range:majorDimension:valueRenderOption:)'; this is an error in the Swift 6 language mode
 71 |     // Test 4: Read multiple individual ranges (simpler approach)
 72 |     print("\n🔍 Test 4: Reading multiple individual ranges")
 73 |     let range1 = try await client.readRange(spreadsheetId, range: "A1:A3")
    |                                   `- warning: non-sendable result type 'ValueRange' cannot be sent from nonisolated context in call to instance method 'readRange(_:range:majorDimension:valueRenderOption:)'; this is an error in the Swift 6 language mode
 74 |     let range2 = try await client.readRange(spreadsheetId, range: "B1:B3")
 75 |     let range3 = try await client.readRange(spreadsheetId, range: "C1:C3")
/Users/admin/builder/spi-builder-workspace/Sources/GoogleSheetsSwift/Models/ValueModels.swift:6:15: note: struct 'ValueRange' does not conform to the 'Sendable' protocol
  4 |
  5 | /// A range of values in a spreadsheet
  6 | public struct ValueRange: Codable, Equatable {
    |               `- note: struct 'ValueRange' does not conform to the 'Sendable' protocol
  7 |     /// The range the values cover, in A1 notation
  8 |     public let range: String?
/Users/admin/builder/spi-builder-workspace/Sources/Client/main.swift:74:35: warning: non-sendable result type 'ValueRange' cannot be sent from nonisolated context in call to instance method 'readRange(_:range:majorDimension:valueRenderOption:)'; this is an error in the Swift 6 language mode
 72 |     print("\n🔍 Test 4: Reading multiple individual ranges")
 73 |     let range1 = try await client.readRange(spreadsheetId, range: "A1:A3")
 74 |     let range2 = try await client.readRange(spreadsheetId, range: "B1:B3")
    |                                   `- warning: non-sendable result type 'ValueRange' cannot be sent from nonisolated context in call to instance method 'readRange(_:range:majorDimension:valueRenderOption:)'; this is an error in the Swift 6 language mode
 75 |     let range3 = try await client.readRange(spreadsheetId, range: "C1:C3")
 76 |
/Users/admin/builder/spi-builder-workspace/Sources/GoogleSheetsSwift/Models/ValueModels.swift:6:15: note: struct 'ValueRange' does not conform to the 'Sendable' protocol
  4 |
  5 | /// A range of values in a spreadsheet
  6 | public struct ValueRange: Codable, Equatable {
    |               `- note: struct 'ValueRange' does not conform to the 'Sendable' protocol
  7 |     /// The range the values cover, in A1 notation
  8 |     public let range: String?
/Users/admin/builder/spi-builder-workspace/Sources/Client/main.swift:75:35: warning: non-sendable result type 'ValueRange' cannot be sent from nonisolated context in call to instance method 'readRange(_:range:majorDimension:valueRenderOption:)'; this is an error in the Swift 6 language mode
 73 |     let range1 = try await client.readRange(spreadsheetId, range: "A1:A3")
 74 |     let range2 = try await client.readRange(spreadsheetId, range: "B1:B3")
 75 |     let range3 = try await client.readRange(spreadsheetId, range: "C1:C3")
    |                                   `- warning: non-sendable result type 'ValueRange' cannot be sent from nonisolated context in call to instance method 'readRange(_:range:majorDimension:valueRenderOption:)'; this is an error in the Swift 6 language mode
 76 |
 77 |     print("✅ Successfully read 3 separate ranges:")
/Users/admin/builder/spi-builder-workspace/Sources/GoogleSheetsSwift/Models/ValueModels.swift:6:15: note: struct 'ValueRange' does not conform to the 'Sendable' protocol
  4 |
  5 | /// A range of values in a spreadsheet
  6 | public struct ValueRange: Codable, Equatable {
    |               `- note: struct 'ValueRange' does not conform to the 'Sendable' protocol
  7 |     /// The range the values cover, in A1 notation
  8 |     public let range: String?
/Users/admin/builder/spi-builder-workspace/Sources/Client/main.swift:92:43: warning: non-sendable result type 'UpdateValuesResponse' cannot be sent from nonisolated context in call to instance method 'writeRange(_:range:values:majorDimension:valueInputOption:)'; this is an error in the Swift 6 language mode
 90 |     )
 91 |
 92 |     let updateResponse = try await client.writeRange(
    |                                           `- warning: non-sendable result type 'UpdateValuesResponse' cannot be sent from nonisolated context in call to instance method 'writeRange(_:range:values:majorDimension:valueInputOption:)'; this is an error in the Swift 6 language mode
 93 |         spreadsheetId,
 94 |         range: "A11:C11",
/Users/admin/builder/spi-builder-workspace/Sources/GoogleSheetsSwift/Models/ValueModels.swift:101:15: note: struct 'UpdateValuesResponse' does not conform to the 'Sendable' protocol
 99 |
100 | /// Response from updating values
101 | public struct UpdateValuesResponse: Codable, Equatable {
    |               `- note: struct 'UpdateValuesResponse' does not conform to the 'Sendable' protocol
102 |     /// The spreadsheet the updates were applied to
103 |     public let spreadsheetId: String?
/Users/admin/builder/spi-builder-workspace/Sources/Client/main.swift:106:43: warning: non-sendable result type 'ValueRange' cannot be sent from nonisolated context in call to instance method 'readRange(_:range:majorDimension:valueRenderOption:)'; this is an error in the Swift 6 language mode
104 |     // Test 6: Read the newly added recipe
105 |     print("\n🔍 Test 6: Verifying the new recipe was added")
106 |     let newRecipeCheck = try await client.readRange(spreadsheetId, range: "A11:C11")
    |                                           `- warning: non-sendable result type 'ValueRange' cannot be sent from nonisolated context in call to instance method 'readRange(_:range:majorDimension:valueRenderOption:)'; this is an error in the Swift 6 language mode
107 |     if let values = newRecipeCheck.values?.first {
108 |         let rowStrings = values.map { $0.value as? String ?? "\($0.value)" }
/Users/admin/builder/spi-builder-workspace/Sources/GoogleSheetsSwift/Models/ValueModels.swift:6:15: note: struct 'ValueRange' does not conform to the 'Sendable' protocol
  4 |
  5 | /// A range of values in a spreadsheet
  6 | public struct ValueRange: Codable, Equatable {
    |               `- note: struct 'ValueRange' does not conform to the 'Sendable' protocol
  7 |     /// The range the values cover, in A1 notation
  8 |     public let range: String?
/Users/admin/builder/spi-builder-workspace/Sources/Client/main.swift:121:43: warning: non-sendable result type 'AppendValuesResponse' cannot be sent from nonisolated context in call to instance method 'appendToRange(_:range:values:majorDimension:valueInputOption:)'; this is an error in the Swift 6 language mode
119 |     )
120 |
121 |     let appendResponse = try await client.appendToRange(
    |                                           `- warning: non-sendable result type 'AppendValuesResponse' cannot be sent from nonisolated context in call to instance method 'appendToRange(_:range:values:majorDimension:valueInputOption:)'; this is an error in the Swift 6 language mode
122 |         spreadsheetId,
123 |         range: "A:C",
/Users/admin/builder/spi-builder-workspace/Sources/GoogleSheetsSwift/Models/ValueModels.swift:132:15: note: struct 'AppendValuesResponse' does not conform to the 'Sendable' protocol
130 |
131 | /// Response from appending values
132 | public struct AppendValuesResponse: Codable, Equatable {
    |               `- note: struct 'AppendValuesResponse' does not conform to the 'Sendable' protocol
133 |     /// The spreadsheet the updates were applied to
134 |     public let spreadsheetId: String?
/Users/admin/builder/spi-builder-workspace/Sources/Client/main.swift:139:36: warning: non-sendable result type 'ValueRange' cannot be sent from nonisolated context in call to instance method 'readRange(_:range:majorDimension:valueRenderOption:)'; this is an error in the Swift 6 language mode
137 |     // Test 8: Read all data to see the additions
138 |     print("\n🔍 Test 8: Reading all data to see additions")
139 |     let allData = try await client.readRange(spreadsheetId, range: "A1:C15")
    |                                    `- warning: non-sendable result type 'ValueRange' cannot be sent from nonisolated context in call to instance method 'readRange(_:range:majorDimension:valueRenderOption:)'; this is an error in the Swift 6 language mode
140 |     print("✅ Total rows now: \(allData.rowCount)")
141 |
/Users/admin/builder/spi-builder-workspace/Sources/GoogleSheetsSwift/Models/ValueModels.swift:6:15: note: struct 'ValueRange' does not conform to the 'Sendable' protocol
  4 |
  5 | /// A range of values in a spreadsheet
  6 | public struct ValueRange: Codable, Equatable {
    |               `- note: struct 'ValueRange' does not conform to the 'Sendable' protocol
  7 |     /// The range the values cover, in A1 notation
  8 |     public let range: String?
/Users/admin/builder/spi-builder-workspace/Sources/Client/main.swift:154:42: warning: non-sendable result type 'ClearValuesResponse' cannot be sent from nonisolated context in call to instance method 'clearRange(_:range:)'; this is an error in the Swift 6 language mode
152 |     // Test 9: Clean up - clear the test data
153 |     print("\n🔍 Test 9: Cleaning up test data")
154 |     let clearResponse = try await client.clearRange(
    |                                          `- warning: non-sendable result type 'ClearValuesResponse' cannot be sent from nonisolated context in call to instance method 'clearRange(_:range:)'; this is an error in the Swift 6 language mode
155 |         spreadsheetId,
156 |         range: "A11:C15"
/Users/admin/builder/spi-builder-workspace/Sources/GoogleSheetsSwift/Models/ValueModels.swift:150:15: note: struct 'ClearValuesResponse' does not conform to the 'Sendable' protocol
148 |
149 | /// Response from clearing values
150 | public struct ClearValuesResponse: Codable, Equatable {
    |               `- note: struct 'ClearValuesResponse' does not conform to the 'Sendable' protocol
151 |     /// The spreadsheet the updates were applied to
152 |     public let spreadsheetId: String?
/Users/admin/builder/spi-builder-workspace/Sources/Client/main.swift:163:39: warning: non-sendable result type 'ValueRange' cannot be sent from nonisolated context in call to instance method 'readRange(_:range:majorDimension:valueRenderOption:)'; this is an error in the Swift 6 language mode
161 |     // Test 10: Final verification
162 |     print("\n🔍 Test 10: Final verification - back to original data")
163 |     let finalCheck = try await client.readRange(spreadsheetId, range: "A1:C10")
    |                                       `- warning: non-sendable result type 'ValueRange' cannot be sent from nonisolated context in call to instance method 'readRange(_:range:majorDimension:valueRenderOption:)'; this is an error in the Swift 6 language mode
164 |     print("✅ Final row count: \(finalCheck.rowCount) (should be back to original)")
165 |
/Users/admin/builder/spi-builder-workspace/Sources/GoogleSheetsSwift/Models/ValueModels.swift:6:15: note: struct 'ValueRange' does not conform to the 'Sendable' protocol
  4 |
  5 | /// A range of values in a spreadsheet
  6 | public struct ValueRange: Codable, Equatable {
    |               `- note: struct 'ValueRange' does not conform to the 'Sendable' protocol
  7 |     /// The range the values cover, in A1 notation
  8 |     public let range: String?
/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:31:39: warning: non-sendable result type 'ValueRange' cannot be sent from nonisolated context in call to instance method 'readRange(_:range:majorDimension:valueRenderOption:)'; this is an error in the Swift 6 language mode
 29 |     // Test 1: Read existing data
 30 |     print("\n🔍 Test 1: Reading existing recipe data")
 31 |     let valueRange = try await client.readRange(spreadsheetId, range: "A1:C10")
    |                                       `- warning: non-sendable result type 'ValueRange' cannot be sent from nonisolated context in call to instance method 'readRange(_:range:majorDimension:valueRenderOption:)'; this is an error in the Swift 6 language mode
 32 |
 33 |     print("✅ Successfully read \(valueRange.rowCount) rows from the spreadsheet")
/Users/admin/builder/spi-builder-workspace/Sources/GoogleSheetsSwift/Models/ValueModels.swift:6:15: note: struct 'ValueRange' does not conform to the 'Sendable' protocol
  4 |
  5 | /// A range of values in a spreadsheet
  6 | public struct ValueRange: Codable, Equatable {
    |               `- note: struct 'ValueRange' does not conform to the 'Sendable' protocol
  7 |     /// The range the values cover, in A1 notation
  8 |     public let range: String?
/Users/admin/builder/spi-builder-workspace/Sources/Client/main.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GoogleSheetsSwift'
  1 | import Foundation
  2 | import GoogleSheetsSwift
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GoogleSheetsSwift'
  3 |
  4 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Client/main.swift:50:40: warning: non-sendable result type 'Spreadsheet' cannot be sent from nonisolated context in call to instance method 'getSpreadsheet'; this is an error in the Swift 6 language mode
 48 |     // Test 2: Get spreadsheet metadata
 49 |     print("\n🔍 Test 2: Getting spreadsheet metadata")
 50 |     let spreadsheet = try await client.getSpreadsheet(spreadsheetId)
    |                                        `- warning: non-sendable result type 'Spreadsheet' cannot be sent from nonisolated context in call to instance method 'getSpreadsheet'; this is an error in the Swift 6 language mode
 51 |     print("✅ Spreadsheet Title: \(spreadsheet.properties?.title ?? "Unknown")")
 52 |     if let sheets = spreadsheet.sheets {
/Users/admin/builder/spi-builder-workspace/Sources/GoogleSheetsSwift/Models/SpreadsheetModels.swift:6:15: note: struct 'Spreadsheet' does not conform to the 'Sendable' protocol
  4 |
  5 | /// Resource that represents a spreadsheet
  6 | public struct Spreadsheet: Codable, Equatable {
    |               `- note: struct 'Spreadsheet' does not conform to the 'Sendable' protocol
  7 |     /// The ID of the spreadsheet (read-only)
  8 |     public let spreadsheetId: String?
/Users/admin/builder/spi-builder-workspace/Sources/Client/main.swift:63:44: warning: non-sendable result type 'ValueRange' cannot be sent from nonisolated context in call to instance method 'readRange(_:range:majorDimension:valueRenderOption:)'; this is an error in the Swift 6 language mode
 61 |     // Test 3: Read a specific range with different options
 62 |     print("\n🔍 Test 3: Reading with different value render options")
 63 |     let formattedValues = try await client.readRange(
    |                                            `- warning: non-sendable result type 'ValueRange' cannot be sent from nonisolated context in call to instance method 'readRange(_:range:majorDimension:valueRenderOption:)'; this is an error in the Swift 6 language mode
 64 |         spreadsheetId,
 65 |         range: "A1:A5",
/Users/admin/builder/spi-builder-workspace/Sources/GoogleSheetsSwift/Models/ValueModels.swift:6:15: note: struct 'ValueRange' does not conform to the 'Sendable' protocol
  4 |
  5 | /// A range of values in a spreadsheet
  6 | public struct ValueRange: Codable, Equatable {
    |               `- note: struct 'ValueRange' does not conform to the 'Sendable' protocol
  7 |     /// The range the values cover, in A1 notation
  8 |     public let range: String?
/Users/admin/builder/spi-builder-workspace/Sources/Client/main.swift:73:35: warning: non-sendable result type 'ValueRange' cannot be sent from nonisolated context in call to instance method 'readRange(_:range:majorDimension:valueRenderOption:)'; this is an error in the Swift 6 language mode
 71 |     // Test 4: Read multiple individual ranges (simpler approach)
 72 |     print("\n🔍 Test 4: Reading multiple individual ranges")
 73 |     let range1 = try await client.readRange(spreadsheetId, range: "A1:A3")
    |                                   `- warning: non-sendable result type 'ValueRange' cannot be sent from nonisolated context in call to instance method 'readRange(_:range:majorDimension:valueRenderOption:)'; this is an error in the Swift 6 language mode
 74 |     let range2 = try await client.readRange(spreadsheetId, range: "B1:B3")
 75 |     let range3 = try await client.readRange(spreadsheetId, range: "C1:C3")
/Users/admin/builder/spi-builder-workspace/Sources/GoogleSheetsSwift/Models/ValueModels.swift:6:15: note: struct 'ValueRange' does not conform to the 'Sendable' protocol
  4 |
  5 | /// A range of values in a spreadsheet
  6 | public struct ValueRange: Codable, Equatable {
    |               `- note: struct 'ValueRange' does not conform to the 'Sendable' protocol
  7 |     /// The range the values cover, in A1 notation
  8 |     public let range: String?
/Users/admin/builder/spi-builder-workspace/Sources/Client/main.swift:74:35: warning: non-sendable result type 'ValueRange' cannot be sent from nonisolated context in call to instance method 'readRange(_:range:majorDimension:valueRenderOption:)'; this is an error in the Swift 6 language mode
 72 |     print("\n🔍 Test 4: Reading multiple individual ranges")
 73 |     let range1 = try await client.readRange(spreadsheetId, range: "A1:A3")
 74 |     let range2 = try await client.readRange(spreadsheetId, range: "B1:B3")
    |                                   `- warning: non-sendable result type 'ValueRange' cannot be sent from nonisolated context in call to instance method 'readRange(_:range:majorDimension:valueRenderOption:)'; this is an error in the Swift 6 language mode
 75 |     let range3 = try await client.readRange(spreadsheetId, range: "C1:C3")
 76 |
/Users/admin/builder/spi-builder-workspace/Sources/GoogleSheetsSwift/Models/ValueModels.swift:6:15: note: struct 'ValueRange' does not conform to the 'Sendable' protocol
  4 |
  5 | /// A range of values in a spreadsheet
  6 | public struct ValueRange: Codable, Equatable {
    |               `- note: struct 'ValueRange' does not conform to the 'Sendable' protocol
  7 |     /// The range the values cover, in A1 notation
  8 |     public let range: String?
/Users/admin/builder/spi-builder-workspace/Sources/Client/main.swift:75:35: warning: non-sendable result type 'ValueRange' cannot be sent from nonisolated context in call to instance method 'readRange(_:range:majorDimension:valueRenderOption:)'; this is an error in the Swift 6 language mode
 73 |     let range1 = try await client.readRange(spreadsheetId, range: "A1:A3")
 74 |     let range2 = try await client.readRange(spreadsheetId, range: "B1:B3")
 75 |     let range3 = try await client.readRange(spreadsheetId, range: "C1:C3")
    |                                   `- warning: non-sendable result type 'ValueRange' cannot be sent from nonisolated context in call to instance method 'readRange(_:range:majorDimension:valueRenderOption:)'; this is an error in the Swift 6 language mode
 76 |
 77 |     print("✅ Successfully read 3 separate ranges:")
/Users/admin/builder/spi-builder-workspace/Sources/GoogleSheetsSwift/Models/ValueModels.swift:6:15: note: struct 'ValueRange' does not conform to the 'Sendable' protocol
  4 |
  5 | /// A range of values in a spreadsheet
  6 | public struct ValueRange: Codable, Equatable {
    |               `- note: struct 'ValueRange' does not conform to the 'Sendable' protocol
  7 |     /// The range the values cover, in A1 notation
  8 |     public let range: String?
/Users/admin/builder/spi-builder-workspace/Sources/Client/main.swift:92:43: warning: non-sendable result type 'UpdateValuesResponse' cannot be sent from nonisolated context in call to instance method 'writeRange(_:range:values:majorDimension:valueInputOption:)'; this is an error in the Swift 6 language mode
 90 |     )
 91 |
 92 |     let updateResponse = try await client.writeRange(
    |                                           `- warning: non-sendable result type 'UpdateValuesResponse' cannot be sent from nonisolated context in call to instance method 'writeRange(_:range:values:majorDimension:valueInputOption:)'; this is an error in the Swift 6 language mode
 93 |         spreadsheetId,
 94 |         range: "A11:C11",
/Users/admin/builder/spi-builder-workspace/Sources/GoogleSheetsSwift/Models/ValueModels.swift:101:15: note: struct 'UpdateValuesResponse' does not conform to the 'Sendable' protocol
 99 |
100 | /// Response from updating values
101 | public struct UpdateValuesResponse: Codable, Equatable {
    |               `- note: struct 'UpdateValuesResponse' does not conform to the 'Sendable' protocol
102 |     /// The spreadsheet the updates were applied to
103 |     public let spreadsheetId: String?
/Users/admin/builder/spi-builder-workspace/Sources/Client/main.swift:106:43: warning: non-sendable result type 'ValueRange' cannot be sent from nonisolated context in call to instance method 'readRange(_:range:majorDimension:valueRenderOption:)'; this is an error in the Swift 6 language mode
104 |     // Test 6: Read the newly added recipe
105 |     print("\n🔍 Test 6: Verifying the new recipe was added")
106 |     let newRecipeCheck = try await client.readRange(spreadsheetId, range: "A11:C11")
    |                                           `- warning: non-sendable result type 'ValueRange' cannot be sent from nonisolated context in call to instance method 'readRange(_:range:majorDimension:valueRenderOption:)'; this is an error in the Swift 6 language mode
107 |     if let values = newRecipeCheck.values?.first {
108 |         let rowStrings = values.map { $0.value as? String ?? "\($0.value)" }
/Users/admin/builder/spi-builder-workspace/Sources/GoogleSheetsSwift/Models/ValueModels.swift:6:15: note: struct 'ValueRange' does not conform to the 'Sendable' protocol
  4 |
  5 | /// A range of values in a spreadsheet
  6 | public struct ValueRange: Codable, Equatable {
    |               `- note: struct 'ValueRange' does not conform to the 'Sendable' protocol
  7 |     /// The range the values cover, in A1 notation
  8 |     public let range: String?
/Users/admin/builder/spi-builder-workspace/Sources/Client/main.swift:121:43: warning: non-sendable result type 'AppendValuesResponse' cannot be sent from nonisolated context in call to instance method 'appendToRange(_:range:values:majorDimension:valueInputOption:)'; this is an error in the Swift 6 language mode
119 |     )
120 |
121 |     let appendResponse = try await client.appendToRange(
    |                                           `- warning: non-sendable result type 'AppendValuesResponse' cannot be sent from nonisolated context in call to instance method 'appendToRange(_:range:values:majorDimension:valueInputOption:)'; this is an error in the Swift 6 language mode
122 |         spreadsheetId,
123 |         range: "A:C",
/Users/admin/builder/spi-builder-workspace/Sources/GoogleSheetsSwift/Models/ValueModels.swift:132:15: note: struct 'AppendValuesResponse' does not conform to the 'Sendable' protocol
130 |
131 | /// Response from appending values
132 | public struct AppendValuesResponse: Codable, Equatable {
    |               `- note: struct 'AppendValuesResponse' does not conform to the 'Sendable' protocol
133 |     /// The spreadsheet the updates were applied to
134 |     public let spreadsheetId: String?
/Users/admin/builder/spi-builder-workspace/Sources/Client/main.swift:139:36: warning: non-sendable result type 'ValueRange' cannot be sent from nonisolated context in call to instance method 'readRange(_:range:majorDimension:valueRenderOption:)'; this is an error in the Swift 6 language mode
137 |     // Test 8: Read all data to see the additions
138 |     print("\n🔍 Test 8: Reading all data to see additions")
139 |     let allData = try await client.readRange(spreadsheetId, range: "A1:C15")
    |                                    `- warning: non-sendable result type 'ValueRange' cannot be sent from nonisolated context in call to instance method 'readRange(_:range:majorDimension:valueRenderOption:)'; this is an error in the Swift 6 language mode
140 |     print("✅ Total rows now: \(allData.rowCount)")
141 |
/Users/admin/builder/spi-builder-workspace/Sources/GoogleSheetsSwift/Models/ValueModels.swift:6:15: note: struct 'ValueRange' does not conform to the 'Sendable' protocol
  4 |
  5 | /// A range of values in a spreadsheet
  6 | public struct ValueRange: Codable, Equatable {
    |               `- note: struct 'ValueRange' does not conform to the 'Sendable' protocol
  7 |     /// The range the values cover, in A1 notation
  8 |     public let range: String?
/Users/admin/builder/spi-builder-workspace/Sources/Client/main.swift:154:42: warning: non-sendable result type 'ClearValuesResponse' cannot be sent from nonisolated context in call to instance method 'clearRange(_:range:)'; this is an error in the Swift 6 language mode
152 |     // Test 9: Clean up - clear the test data
153 |     print("\n🔍 Test 9: Cleaning up test data")
154 |     let clearResponse = try await client.clearRange(
    |                                          `- warning: non-sendable result type 'ClearValuesResponse' cannot be sent from nonisolated context in call to instance method 'clearRange(_:range:)'; this is an error in the Swift 6 language mode
155 |         spreadsheetId,
156 |         range: "A11:C15"
/Users/admin/builder/spi-builder-workspace/Sources/GoogleSheetsSwift/Models/ValueModels.swift:150:15: note: struct 'ClearValuesResponse' does not conform to the 'Sendable' protocol
148 |
149 | /// Response from clearing values
150 | public struct ClearValuesResponse: Codable, Equatable {
    |               `- note: struct 'ClearValuesResponse' does not conform to the 'Sendable' protocol
151 |     /// The spreadsheet the updates were applied to
152 |     public let spreadsheetId: String?
/Users/admin/builder/spi-builder-workspace/Sources/Client/main.swift:163:39: warning: non-sendable result type 'ValueRange' cannot be sent from nonisolated context in call to instance method 'readRange(_:range:majorDimension:valueRenderOption:)'; this is an error in the Swift 6 language mode
161 |     // Test 10: Final verification
162 |     print("\n🔍 Test 10: Final verification - back to original data")
163 |     let finalCheck = try await client.readRange(spreadsheetId, range: "A1:C10")
    |                                       `- warning: non-sendable result type 'ValueRange' cannot be sent from nonisolated context in call to instance method 'readRange(_:range:majorDimension:valueRenderOption:)'; this is an error in the Swift 6 language mode
164 |     print("✅ Final row count: \(finalCheck.rowCount) (should be back to original)")
165 |
/Users/admin/builder/spi-builder-workspace/Sources/GoogleSheetsSwift/Models/ValueModels.swift:6:15: note: struct 'ValueRange' does not conform to the 'Sendable' protocol
  4 |
  5 | /// A range of values in a spreadsheet
  6 | public struct ValueRange: Codable, Equatable {
    |               `- note: struct 'ValueRange' does not conform to the 'Sendable' protocol
  7 |     /// The range the values cover, in A1 notation
  8 |     public let range: String?
/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.36s)
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.