The Swift Package Index logo.Swift Package Index

Build Information

Successful build of altertable-swift, reference main (b893c3), with Swift 6.1 for macOS (SPM) on 23 Apr 2026 11:39:39 UTC.

Swift 6 data race errors: 3

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.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/altertable-ai/altertable-swift.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/altertable-ai/altertable-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at b893c3d ci: validate PR titles for release-please (#33)
Submodule path 'specs': checked out '3a1195e48e40c4f629f11e7181ae098b5d330ecd'
Submodule 'specs' (https://github.com/altertable-ai/altertable-client-specs.git) registered for path 'specs'
Cloning into '/Users/admin/builder/spi-builder-workspace/specs'...
Cloned https://github.com/altertable-ai/altertable-swift.git
Revision (git rev-parse @):
b893c3d0f69f9d4a73158db1c2615e764b052bcc
SUCCESS checkout https://github.com/altertable-ai/altertable-swift.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/altertable-ai/altertable-swift.git
https://github.com/altertable-ai/altertable-swift.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "altertable-swift",
  "name" : "altertable-swift",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "Altertable",
      "targets" : [
        "Altertable"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ExampleSignup",
      "targets" : [
        "ExampleSignup"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ExampleSignup",
      "module_type" : "SwiftTarget",
      "name" : "ExampleSignup",
      "path" : "Examples/ExampleSignup",
      "product_memberships" : [
        "ExampleSignup"
      ],
      "sources" : [
        "ExampleSignupApp.swift",
        "SignupFunnelView.swift"
      ],
      "target_dependencies" : [
        "Altertable"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "AltertableTests",
      "module_type" : "SwiftTarget",
      "name" : "AltertableTests",
      "path" : "Tests/AltertableTests",
      "sources" : [
        "BatcherTests.swift",
        "ContextTests.swift",
        "CoreTests.swift",
        "IntegrationTests.swift",
        "QueueTests.swift",
        "RequesterBatchTests.swift",
        "ScreenViewTests.swift",
        "SessionManagerTests.swift",
        "StorageTests.swift",
        "TestHelpers.swift",
        "Utils/MockURLProtocol.swift",
        "ValidatorTests.swift"
      ],
      "target_dependencies" : [
        "Altertable"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Altertable",
      "module_type" : "SwiftTarget",
      "name" : "Altertable",
      "path" : "Sources/Altertable",
      "product_memberships" : [
        "Altertable",
        "ExampleSignup"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/Altertable/Resources/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "Core/Altertable+ScreenViews.swift",
        "Core/Altertable.swift",
        "Core/AltertableConfig.swift",
        "Core/Batcher.swift",
        "Core/Requester.swift",
        "Core/SDKConstants.swift",
        "Core/SessionManager.swift",
        "Integrations/ScreenViewIntegration.swift",
        "Models/Models.swift",
        "Storage/QueueStorage.swift",
        "Storage/Storage.swift",
        "Utils/Context.swift",
        "Utils/Logger.swift",
        "Utils/Utils.swift",
        "Utils/Validator.swift"
      ],
      "type" : "library"
    }
  ],
  "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/8] Write sources
[0/8] Write ExampleSignup-entitlement.plist
[1/8] Write sources
[1/8] Copying PrivacyInfo.xcprivacy
[4/8] Write swift-version-2F0A5646E1D333AE.txt
[6/24] Compiling Altertable Utils.swift
/Users/admin/builder/spi-builder-workspace/Sources/Altertable/Utils/Utils.swift:9:24: warning: static property 'iso8601Formatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
 7 |
 8 | extension Date {
 9 |     private static let iso8601Formatter: ISO8601DateFormatter = .init()
   |                        |- warning: static property 'iso8601Formatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: add '@MainActor' to make static property 'iso8601Formatter' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 |     func iso8601String() -> String {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSISO8601DateFormatter.h:46:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
44 |
45 | API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0))
46 | @interface NSISO8601DateFormatter : NSFormatter <NSSecureCoding> {
   |            `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
47 | @private
48 |     CFDateFormatterRef _formatter;
[7/24] Compiling Altertable Validator.swift
[8/24] Compiling Altertable Logger.swift
[9/25] Compiling Altertable resource_bundle_accessor.swift
[10/25] Compiling Altertable Models.swift
[11/25] Compiling Altertable QueueStorage.swift
[12/25] Compiling Altertable Storage.swift
[13/25] Compiling Altertable Context.swift
[14/25] Compiling Altertable Altertable+ScreenViews.swift
/Users/admin/builder/spi-builder-workspace/Sources/Altertable/Core/Altertable.swift:339:13: warning: capture of 'updates' with non-sendable type '(inout AltertableConfig) -> Void' in a '@Sendable' closure
337 |             let frozenMaxBatchSize = config.maxBatchSize
338 |
339 |             updates(&config)
    |             |- warning: capture of 'updates' with non-sendable type '(inout AltertableConfig) -> Void' in a '@Sendable' closure
    |             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
340 |
341 |             // Restore init-only fields (they are only read at init time)
/Users/admin/builder/spi-builder-workspace/Sources/Altertable/Core/Altertable.swift:388:17: warning: capture of 'completion' with non-sendable type '(() -> Void)?' in a '@Sendable' closure
386 |         queue.async { [self] in
387 |             guard config.trackingConsent == .granted else {
388 |                 completion?()
    |                 |- warning: capture of 'completion' with non-sendable type '(() -> Void)?' in a '@Sendable' closure
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
389 |                 return
390 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Altertable/Core/Altertable.swift:482:17: warning: capture of 'completion' with non-sendable type '(Result<Void, any Error>) -> Void' in a '@Sendable' closure
480 |                     }
481 |                 }
482 |                 completion(result)
    |                 |- warning: capture of 'completion' with non-sendable type '(Result<Void, any Error>) -> Void' in a '@Sendable' closure
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
483 |             }
484 |         }
[15/25] Compiling Altertable Altertable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Altertable/Core/Altertable.swift:339:13: warning: capture of 'updates' with non-sendable type '(inout AltertableConfig) -> Void' in a '@Sendable' closure
337 |             let frozenMaxBatchSize = config.maxBatchSize
338 |
339 |             updates(&config)
    |             |- warning: capture of 'updates' with non-sendable type '(inout AltertableConfig) -> Void' in a '@Sendable' closure
    |             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
340 |
341 |             // Restore init-only fields (they are only read at init time)
/Users/admin/builder/spi-builder-workspace/Sources/Altertable/Core/Altertable.swift:388:17: warning: capture of 'completion' with non-sendable type '(() -> Void)?' in a '@Sendable' closure
386 |         queue.async { [self] in
387 |             guard config.trackingConsent == .granted else {
388 |                 completion?()
    |                 |- warning: capture of 'completion' with non-sendable type '(() -> Void)?' in a '@Sendable' closure
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
389 |                 return
390 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Altertable/Core/Altertable.swift:482:17: warning: capture of 'completion' with non-sendable type '(Result<Void, any Error>) -> Void' in a '@Sendable' closure
480 |                     }
481 |                 }
482 |                 completion(result)
    |                 |- warning: capture of 'completion' with non-sendable type '(Result<Void, any Error>) -> Void' in a '@Sendable' closure
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
483 |             }
484 |         }
[16/25] Compiling Altertable SessionManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/Altertable/Integrations/ScreenViewIntegration.swift:16:24: warning: static property '_shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 14 | final class ScreenViewIntegration {
 15 |     private static let sharedLock = NSLock()
 16 |     private static var _shared: ScreenViewIntegration?
    |                        |- warning: static property '_shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert '_shared' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property '_shared' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 17 |     private static var _waitingCallbacks: [(clientId: ObjectIdentifier, callback: () -> Void)] = []
 18 |
/Users/admin/builder/spi-builder-workspace/Sources/Altertable/Integrations/ScreenViewIntegration.swift:17:24: warning: static property '_waitingCallbacks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 15 |     private static let sharedLock = NSLock()
 16 |     private static var _shared: ScreenViewIntegration?
 17 |     private static var _waitingCallbacks: [(clientId: ObjectIdentifier, callback: () -> Void)] = []
    |                        |- warning: static property '_waitingCallbacks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert '_waitingCallbacks' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property '_waitingCallbacks' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 |
 19 |     static var shared: ScreenViewIntegration? {
[17/25] Compiling Altertable ScreenViewIntegration.swift
/Users/admin/builder/spi-builder-workspace/Sources/Altertable/Integrations/ScreenViewIntegration.swift:16:24: warning: static property '_shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 14 | final class ScreenViewIntegration {
 15 |     private static let sharedLock = NSLock()
 16 |     private static var _shared: ScreenViewIntegration?
    |                        |- warning: static property '_shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert '_shared' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property '_shared' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 17 |     private static var _waitingCallbacks: [(clientId: ObjectIdentifier, callback: () -> Void)] = []
 18 |
/Users/admin/builder/spi-builder-workspace/Sources/Altertable/Integrations/ScreenViewIntegration.swift:17:24: warning: static property '_waitingCallbacks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 15 |     private static let sharedLock = NSLock()
 16 |     private static var _shared: ScreenViewIntegration?
 17 |     private static var _waitingCallbacks: [(clientId: ObjectIdentifier, callback: () -> Void)] = []
    |                        |- warning: static property '_waitingCallbacks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert '_waitingCallbacks' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property '_waitingCallbacks' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 |
 19 |     static var shared: ScreenViewIntegration? {
[18/25] Compiling Altertable AltertableConfig.swift
/Users/admin/builder/spi-builder-workspace/Sources/Altertable/Core/Batcher.swift:180:21: warning: capture of 'self' with non-sendable type 'Batcher' in a '@Sendable' closure
  9 | ///
 10 | /// All methods must be called from the ``Altertable`` serial queue (`ai.altertable.sdk`).
 11 | final class Batcher {
    |             `- note: class 'Batcher' does not conform to the 'Sendable' protocol
 12 |     enum HomogeneousChunk {
 13 |         case track([TrackPayload])
    :
178 |                 guard let self else { return }
179 |                 self.altertableQueue.async {
180 |                     self.handleSendCompletion(
    |                     `- warning: capture of 'self' with non-sendable type 'Batcher' in a '@Sendable' closure
181 |                         result: result,
182 |                         chunk: chunk,
[19/25] Compiling Altertable Batcher.swift
/Users/admin/builder/spi-builder-workspace/Sources/Altertable/Core/Batcher.swift:180:21: warning: capture of 'self' with non-sendable type 'Batcher' in a '@Sendable' closure
  9 | ///
 10 | /// All methods must be called from the ``Altertable`` serial queue (`ai.altertable.sdk`).
 11 | final class Batcher {
    |             `- note: class 'Batcher' does not conform to the 'Sendable' protocol
 12 |     enum HomogeneousChunk {
 13 |         case track([TrackPayload])
    :
178 |                 guard let self else { return }
179 |                 self.altertableQueue.async {
180 |                     self.handleSendCompletion(
    |                     `- warning: capture of 'self' with non-sendable type 'Batcher' in a '@Sendable' closure
181 |                         result: result,
182 |                         chunk: chunk,
[20/25] Emitting module Altertable
/Users/admin/builder/spi-builder-workspace/Sources/Altertable/Integrations/ScreenViewIntegration.swift:16:24: warning: static property '_shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 14 | final class ScreenViewIntegration {
 15 |     private static let sharedLock = NSLock()
 16 |     private static var _shared: ScreenViewIntegration?
    |                        |- warning: static property '_shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert '_shared' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property '_shared' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 17 |     private static var _waitingCallbacks: [(clientId: ObjectIdentifier, callback: () -> Void)] = []
 18 |
/Users/admin/builder/spi-builder-workspace/Sources/Altertable/Integrations/ScreenViewIntegration.swift:17:24: warning: static property '_waitingCallbacks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 15 |     private static let sharedLock = NSLock()
 16 |     private static var _shared: ScreenViewIntegration?
 17 |     private static var _waitingCallbacks: [(clientId: ObjectIdentifier, callback: () -> Void)] = []
    |                        |- warning: static property '_waitingCallbacks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert '_waitingCallbacks' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property '_waitingCallbacks' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 |
 19 |     static var shared: ScreenViewIntegration? {
/Users/admin/builder/spi-builder-workspace/Sources/Altertable/Utils/Utils.swift:9:24: warning: static property 'iso8601Formatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
 7 |
 8 | extension Date {
 9 |     private static let iso8601Formatter: ISO8601DateFormatter = .init()
   |                        |- warning: static property 'iso8601Formatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: add '@MainActor' to make static property 'iso8601Formatter' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 |     func iso8601String() -> String {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSISO8601DateFormatter.h:46:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
44 |
45 | API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0))
46 | @interface NSISO8601DateFormatter : NSFormatter <NSSecureCoding> {
   |            `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
47 | @private
48 |     CFDateFormatterRef _formatter;
[21/25] Compiling Altertable Requester.swift
/Users/admin/builder/spi-builder-workspace/Sources/Altertable/Core/Requester.swift:131:23: warning: capture of 'self' with non-sendable type 'Requester?' in a '@Sendable' closure
 26 | }
 27 |
 28 | final class Requester {
    |             `- note: class 'Requester' does not conform to the 'Sendable' protocol
 29 |     private let apiKey: String
 30 |     private let session: URLSession
    :
129 |     ) {
130 |         let task = session.dataTask(with: request) { [weak self] _, response, error in
131 |             guard let self else { return }
    |                       `- warning: capture of 'self' with non-sendable type 'Requester?' in a '@Sendable' closure
132 |
133 |             if let error {
/Users/admin/builder/spi-builder-workspace/Sources/Altertable/Core/Requester.swift:139:33: warning: capture of 'completion' with non-sendable type '(Result<Void, any Error>) -> Void' in a '@Sendable' closure
137 |                     maxAttempts: maxAttempts,
138 |                     error: error,
139 |                     completion: completion
    |                                 |- warning: capture of 'completion' with non-sendable type '(Result<Void, any Error>) -> Void' in a '@Sendable' closure
    |                                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
140 |                 )
141 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/Altertable/Core/Requester.swift:185:13: warning: capture of 'self' with non-sendable type 'Requester?' in a '@Sendable' closure
 26 | }
 27 |
 28 | final class Requester {
    |             `- note: class 'Requester' does not conform to the 'Sendable' protocol
 29 |     private let apiKey: String
 30 |     private let session: URLSession
    :
183 |         let delay = exponentialDelay * jitterFactor
184 |         DispatchQueue.global().asyncAfter(deadline: .now() + delay) { [weak self] in
185 |             self?.execute(request: request, attempt: attempt + 1, maxAttempts: maxAttempts, completion: completion)
    |             `- warning: capture of 'self' with non-sendable type 'Requester?' in a '@Sendable' closure
186 |         }
187 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Altertable/Core/Requester.swift:185:105: warning: capture of 'completion' with non-sendable type '(Result<Void, any Error>) -> Void' in a '@Sendable' closure
183 |         let delay = exponentialDelay * jitterFactor
184 |         DispatchQueue.global().asyncAfter(deadline: .now() + delay) { [weak self] in
185 |             self?.execute(request: request, attempt: attempt + 1, maxAttempts: maxAttempts, completion: completion)
    |                                                                                                         |- warning: capture of 'completion' with non-sendable type '(Result<Void, any Error>) -> Void' in a '@Sendable' closure
    |                                                                                                         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
186 |         }
187 |     }
[22/25] Compiling Altertable SDKConstants.swift
/Users/admin/builder/spi-builder-workspace/Sources/Altertable/Core/Requester.swift:131:23: warning: capture of 'self' with non-sendable type 'Requester?' in a '@Sendable' closure
 26 | }
 27 |
 28 | final class Requester {
    |             `- note: class 'Requester' does not conform to the 'Sendable' protocol
 29 |     private let apiKey: String
 30 |     private let session: URLSession
    :
129 |     ) {
130 |         let task = session.dataTask(with: request) { [weak self] _, response, error in
131 |             guard let self else { return }
    |                       `- warning: capture of 'self' with non-sendable type 'Requester?' in a '@Sendable' closure
132 |
133 |             if let error {
/Users/admin/builder/spi-builder-workspace/Sources/Altertable/Core/Requester.swift:139:33: warning: capture of 'completion' with non-sendable type '(Result<Void, any Error>) -> Void' in a '@Sendable' closure
137 |                     maxAttempts: maxAttempts,
138 |                     error: error,
139 |                     completion: completion
    |                                 |- warning: capture of 'completion' with non-sendable type '(Result<Void, any Error>) -> Void' in a '@Sendable' closure
    |                                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
140 |                 )
141 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/Altertable/Core/Requester.swift:185:13: warning: capture of 'self' with non-sendable type 'Requester?' in a '@Sendable' closure
 26 | }
 27 |
 28 | final class Requester {
    |             `- note: class 'Requester' does not conform to the 'Sendable' protocol
 29 |     private let apiKey: String
 30 |     private let session: URLSession
    :
183 |         let delay = exponentialDelay * jitterFactor
184 |         DispatchQueue.global().asyncAfter(deadline: .now() + delay) { [weak self] in
185 |             self?.execute(request: request, attempt: attempt + 1, maxAttempts: maxAttempts, completion: completion)
    |             `- warning: capture of 'self' with non-sendable type 'Requester?' in a '@Sendable' closure
186 |         }
187 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Altertable/Core/Requester.swift:185:105: warning: capture of 'completion' with non-sendable type '(Result<Void, any Error>) -> Void' in a '@Sendable' closure
183 |         let delay = exponentialDelay * jitterFactor
184 |         DispatchQueue.global().asyncAfter(deadline: .now() + delay) { [weak self] in
185 |             self?.execute(request: request, attempt: attempt + 1, maxAttempts: maxAttempts, completion: completion)
    |                                                                                                         |- warning: capture of 'completion' with non-sendable type '(Result<Void, any Error>) -> Void' in a '@Sendable' closure
    |                                                                                                         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
186 |         }
187 |     }
[23/28] Emitting module ExampleSignup
[24/28] Compiling ExampleSignup SignupFunnelView.swift
[25/28] Compiling ExampleSignup ExampleSignupApp.swift
[25/28] Write Objects.LinkFileList
[26/28] Linking ExampleSignup
[27/28] Applying ExampleSignup
Build complete! (10.63s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "altertable-swift",
  "name" : "altertable-swift",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "Altertable",
      "targets" : [
        "Altertable"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ExampleSignup",
      "targets" : [
        "ExampleSignup"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ExampleSignup",
      "module_type" : "SwiftTarget",
      "name" : "ExampleSignup",
      "path" : "Examples/ExampleSignup",
      "product_memberships" : [
        "ExampleSignup"
      ],
      "sources" : [
        "ExampleSignupApp.swift",
        "SignupFunnelView.swift"
      ],
      "target_dependencies" : [
        "Altertable"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "AltertableTests",
      "module_type" : "SwiftTarget",
      "name" : "AltertableTests",
      "path" : "Tests/AltertableTests",
      "sources" : [
        "BatcherTests.swift",
        "ContextTests.swift",
        "CoreTests.swift",
        "IntegrationTests.swift",
        "QueueTests.swift",
        "RequesterBatchTests.swift",
        "ScreenViewTests.swift",
        "SessionManagerTests.swift",
        "StorageTests.swift",
        "TestHelpers.swift",
        "Utils/MockURLProtocol.swift",
        "ValidatorTests.swift"
      ],
      "target_dependencies" : [
        "Altertable"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Altertable",
      "module_type" : "SwiftTarget",
      "name" : "Altertable",
      "path" : "Sources/Altertable",
      "product_memberships" : [
        "Altertable",
        "ExampleSignup"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/Altertable/Resources/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "Core/Altertable+ScreenViews.swift",
        "Core/Altertable.swift",
        "Core/AltertableConfig.swift",
        "Core/Batcher.swift",
        "Core/Requester.swift",
        "Core/SDKConstants.swift",
        "Core/SessionManager.swift",
        "Integrations/ScreenViewIntegration.swift",
        "Models/Models.swift",
        "Storage/QueueStorage.swift",
        "Storage/Storage.swift",
        "Utils/Context.swift",
        "Utils/Logger.swift",
        "Utils/Utils.swift",
        "Utils/Validator.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Done.