The Swift Package Index logo.Swift Package Index

Build Information

Successful build of InfluTo, reference main (d8dc32), with Swift 6.1 for macOS (SPM) on 12 Oct 2026 18:01:23 UTC.

Swift 6 data race errors: 0

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: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/influto/influto-ios.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/influto/influto-ios
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at d8dc32d v1.1.1: setReferralCode user-id fallback + store-after-accept, code field fixes, foreground back-sync
Cloned https://github.com/influto/influto-ios.git
Revision (git rev-parse @):
d8dc32d4d61efb3d5a792b7c1f224d2c78c6a7f6
SUCCESS checkout https://github.com/influto/influto-ios.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/influto/influto-ios.git
https://github.com/influto/influto-ios.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "InfluTo",
  "name" : "InfluTo",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    }
  ],
  "products" : [
    {
      "name" : "InfluTo",
      "targets" : [
        "InfluTo"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "InfluToTests",
      "module_type" : "SwiftTarget",
      "name" : "InfluToTests",
      "path" : "Tests/InfluToTests",
      "sources" : [
        "InfluToTests.swift"
      ],
      "target_dependencies" : [
        "InfluTo"
      ],
      "type" : "test"
    },
    {
      "c99name" : "InfluTo",
      "module_type" : "SwiftTarget",
      "name" : "InfluTo",
      "path" : "Sources/InfluTo",
      "product_memberships" : [
        "InfluTo"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/InfluTo/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "APIClient.swift",
        "DeviceInfo.swift",
        "InfluTo.swift",
        "InfluToConfig.swift",
        "InfluToError.swift",
        "Models.swift",
        "Purchase.swift",
        "ReferralCodeInput.swift",
        "Storage.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
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/3] Write sources
[1/3] Copying PrivacyInfo.xcprivacy
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/13] Compiling InfluTo DeviceInfo.swift
[5/13] Compiling InfluTo InfluToConfig.swift
[6/13] Compiling InfluTo APIClient.swift
[7/13] Emitting module InfluTo
[8/14] Compiling InfluTo resource_bundle_accessor.swift
[9/14] Compiling InfluTo InfluToError.swift
[10/14] Compiling InfluTo InfluTo.swift
/Users/admin/builder/spi-builder-workspace/Sources/InfluTo/InfluTo.swift:144:53: warning: sending 'self.api' risks causing data races; this is an error in the Swift 6 language mode
142 |                 "platform": "ios",
143 |             ]
144 |             let resp: InitResponse = try await api!.post("/sdk/init", body: body)
    |                                                     |- warning: sending 'self.api' risks causing data races; this is an error in the Swift 6 language mode
    |                                                     `- note: sending 'self'-isolated 'self.api' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
145 |             if resp.initialized == true {
146 |                 initialized = true
/Users/admin/builder/spi-builder-workspace/Sources/InfluTo/InfluTo.swift:179:57: warning: sending 'api' risks causing data races; this is an error in the Swift 6 language mode
177 |             var device = await DeviceInfo.trackInstallBody()
178 |             device["device_id"] = installId(storage)
179 |             let resp: AttributionResult = try await api.post(
    |                                                         |- warning: sending 'api' risks causing data races; this is an error in the Swift 6 language mode
    |                                                         `- note: sending 'self'-isolated 'api' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
180 |                 "/sdk/track-install", body: device.mapValues { $0 as Any }
181 |             )
/Users/admin/builder/spi-builder-workspace/Sources/InfluTo/InfluTo.swift:244:50: warning: sending 'body' risks causing data races; this is an error in the Swift 6 language mode
242 |         body["properties"] = properties.map { anyCodableMapToJSON($0) } ?? [:]
243 |         do {
244 |             let _: EmptyResponse = try await api.post("/sdk/identify", body: body)
    |                                                  |- warning: sending 'body' risks causing data races; this is an error in the Swift 6 language mode
    |                                                  `- note: sending 'self'-isolated 'body' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
245 |         } catch {
246 |             log("identify error: \(error)")
/Users/admin/builder/spi-builder-workspace/Sources/InfluTo/InfluTo.swift:244:50: warning: sending 'api' risks causing data races; this is an error in the Swift 6 language mode
242 |         body["properties"] = properties.map { anyCodableMapToJSON($0) } ?? [:]
243 |         do {
244 |             let _: EmptyResponse = try await api.post("/sdk/identify", body: body)
    |                                                  |- warning: sending 'api' risks causing data races; this is an error in the Swift 6 language mode
    |                                                  `- note: sending 'self'-isolated 'api' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
245 |         } catch {
246 |             log("identify error: \(error)")
/Users/admin/builder/spi-builder-workspace/Sources/InfluTo/InfluTo.swift:266:50: warning: sending 'body' risks causing data races; this is an error in the Swift 6 language mode
264 |         if let code = options.referralCode { body["referralCode"] = code }
265 |         do {
266 |             let _: EmptyResponse = try await api.post("/sdk/event", body: body)
    |                                                  |- warning: sending 'body' risks causing data races; this is an error in the Swift 6 language mode
    |                                                  `- note: sending 'self'-isolated 'body' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
267 |         } catch {
268 |             log("trackEvent error: \(error)")
/Users/admin/builder/spi-builder-workspace/Sources/InfluTo/InfluTo.swift:266:50: warning: sending 'api' risks causing data races; this is an error in the Swift 6 language mode
264 |         if let code = options.referralCode { body["referralCode"] = code }
265 |         do {
266 |             let _: EmptyResponse = try await api.post("/sdk/event", body: body)
    |                                                  |- warning: sending 'api' risks causing data races; this is an error in the Swift 6 language mode
    |                                                  `- note: sending 'self'-isolated 'api' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
267 |         } catch {
268 |             log("trackEvent error: \(error)")
/Users/admin/builder/spi-builder-workspace/Sources/InfluTo/InfluTo.swift:277:34: warning: sending 'api' risks causing data races; this is an error in the Swift 6 language mode
275 |         guard initialized, let api else { return [] }
276 |         do {
277 |             return try await api.get("/sdk/campaigns")
    |                                  |- warning: sending 'api' risks causing data races; this is an error in the Swift 6 language mode
    |                                  `- note: sending 'self'-isolated 'api' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
278 |         } catch {
279 |             log("campaigns error: \(error)")
/Users/admin/builder/spi-builder-workspace/Sources/InfluTo/InfluTo.swift:363:34: warning: sending 'api' risks causing data races; this is an error in the Swift 6 language mode
361 |         do {
362 |             let body = ["code": code.trimmingCharacters(in: .whitespacesAndNewlines).uppercased()]
363 |             return try await api.post("/sdk/validate-code", body: body)
    |                                  |- warning: sending 'api' risks causing data races; this is an error in the Swift 6 language mode
    |                                  `- note: sending 'self'-isolated 'api' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
364 |         } catch {
365 |             log("validateCode error: \(error)")
/Users/admin/builder/spi-builder-workspace/Sources/InfluTo/InfluTo.swift:389:55: warning: sending 'api' risks causing data races; this is an error in the Swift 6 language mode
387 |                 body["app_user_id"] = uid
388 |             }
389 |             let result: SetCodeResult = try await api.post("/sdk/set-referral-code", body: body)
    |                                                       |- warning: sending 'api' risks causing data races; this is an error in the Swift 6 language mode
    |                                                       `- note: sending 'self'-isolated 'api' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
390 |             if result.success {
391 |                 // Prefer the canonical (matched) code the backend returns over the typed input.
/Users/admin/builder/spi-builder-workspace/Sources/InfluTo/InfluTo.swift:316:52: warning: sending 'api' risks causing data races; this is an error in the Swift 6 language mode
314 |         do {
315 |             let escaped = uid.addingPercentEncoding(withAllowedCharacters: .urlQueryAllowed) ?? uid
316 |             let resp: AccessResult = try await api.get("/sdk/access?app_user_id=\(escaped)")
    |                                                    |- warning: sending 'api' risks causing data races; this is an error in the Swift 6 language mode
    |                                                    `- note: sending 'self'-isolated 'api' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
317 |             if resp.hasAccess { persistAccess(uid: uid, result: resp) }
318 |             return resp
/Users/admin/builder/spi-builder-workspace/Sources/InfluTo/InfluTo.swift:440:50: warning: sending 'api' risks causing data races; this is an error in the Swift 6 language mode
438 |         if let code { body["referralCode"] = code }
439 |         if let user { body["appUserId"] = user }
440 |         let resp: PurchaseResult = try await api.post("/sdk/purchase", body: body)
    |                                                  |- warning: sending 'api' risks causing data races; this is an error in the Swift 6 language mode
    |                                                  `- note: sending 'self'-isolated 'api' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
441 |         log("purchase reported: \(resp.validated ?? "-")")
442 |         return resp
/Users/admin/builder/spi-builder-workspace/Sources/InfluTo/InfluTo.swift:550:64: warning: sending 'fetched' risks causing data races; this is an error in the Swift 6 language mode
548 |         }
549 |
550 |         for await v in Transaction.currentEntitlements { await handle(v) }
    |                                                                |- warning: sending 'fetched' risks causing data races; this is an error in the Swift 6 language mode
    |                                                                |- note: sending 'fetched' to nonisolated local function 'handle' risks causing data races between nonisolated and local actor-isolated uses
    |                                                                `- note: access can happen concurrently
551 |         for await v in Transaction.unfinished { await handle(v) }
552 |
/Users/admin/builder/spi-builder-workspace/Sources/InfluTo/InfluTo.swift:550:64: warning: sending 'seen' risks causing data races; this is an error in the Swift 6 language mode
548 |         }
549 |
550 |         for await v in Transaction.currentEntitlements { await handle(v) }
    |                                                                |- warning: sending 'seen' risks causing data races; this is an error in the Swift 6 language mode
    |                                                                |- note: sending 'seen' to nonisolated local function 'handle' risks causing data races between nonisolated and local actor-isolated uses
    |                                                                `- note: access can happen concurrently
551 |         for await v in Transaction.unfinished { await handle(v) }
552 |
/Users/admin/builder/spi-builder-workspace/Sources/InfluTo/InfluTo.swift:550:64: warning: sending 'storage' risks causing data races; this is an error in the Swift 6 language mode
548 |         }
549 |
550 |         for await v in Transaction.currentEntitlements { await handle(v) }
    |                                                                |- warning: sending 'storage' risks causing data races; this is an error in the Swift 6 language mode
    |                                                                |- note: sending 'self'-isolated 'storage' to nonisolated local function 'handle' risks causing data races between nonisolated and local actor-isolated uses
    |                                                                `- note: access can happen concurrently
551 |         for await v in Transaction.unfinished { await handle(v) }
552 |
/Users/admin/builder/spi-builder-workspace/Sources/InfluTo/InfluTo.swift:550:64: warning: sending 'sent' risks causing data races; this is an error in the Swift 6 language mode
548 |         }
549 |
550 |         for await v in Transaction.currentEntitlements { await handle(v) }
    |                                                                |- warning: sending 'sent' risks causing data races; this is an error in the Swift 6 language mode
    |                                                                |- note: sending 'sent' to nonisolated local function 'handle' risks causing data races between nonisolated and local actor-isolated uses
    |                                                                `- note: access can happen concurrently
551 |         for await v in Transaction.unfinished { await handle(v) }
552 |
/Users/admin/builder/spi-builder-workspace/Sources/InfluTo/InfluTo.swift:550:64: warning: sending 'failed' risks causing data races; this is an error in the Swift 6 language mode
548 |         }
549 |
550 |         for await v in Transaction.currentEntitlements { await handle(v) }
    |                                                                |- warning: sending 'failed' risks causing data races; this is an error in the Swift 6 language mode
    |                                                                |- note: sending 'failed' to nonisolated local function 'handle' risks causing data races between nonisolated and local actor-isolated uses
    |                                                                `- note: access can happen concurrently
551 |         for await v in Transaction.unfinished { await handle(v) }
552 |
/Users/admin/builder/spi-builder-workspace/Sources/InfluTo/InfluTo.swift:551:55: warning: sending 'fetched' risks causing data races; this is an error in the Swift 6 language mode
549 |
550 |         for await v in Transaction.currentEntitlements { await handle(v) }
551 |         for await v in Transaction.unfinished { await handle(v) }
    |                                                       |- warning: sending 'fetched' risks causing data races; this is an error in the Swift 6 language mode
    |                                                       |- note: sending 'fetched' to nonisolated local function 'handle' risks causing data races between nonisolated and local actor-isolated uses
    |                                                       `- note: access can happen concurrently
552 |
553 |         log("syncExistingPurchases fetched=\(fetched) sent=\(sent) failed=\(failed)")
/Users/admin/builder/spi-builder-workspace/Sources/InfluTo/InfluTo.swift:551:55: warning: sending 'seen' risks causing data races; this is an error in the Swift 6 language mode
549 |
550 |         for await v in Transaction.currentEntitlements { await handle(v) }
551 |         for await v in Transaction.unfinished { await handle(v) }
    |                                                       |- warning: sending 'seen' risks causing data races; this is an error in the Swift 6 language mode
    |                                                       |- note: sending 'seen' to nonisolated local function 'handle' risks causing data races between nonisolated and local actor-isolated uses
    |                                                       `- note: access can happen concurrently
552 |
553 |         log("syncExistingPurchases fetched=\(fetched) sent=\(sent) failed=\(failed)")
/Users/admin/builder/spi-builder-workspace/Sources/InfluTo/InfluTo.swift:551:55: warning: sending 'storage' risks causing data races; this is an error in the Swift 6 language mode
549 |
550 |         for await v in Transaction.currentEntitlements { await handle(v) }
551 |         for await v in Transaction.unfinished { await handle(v) }
    |                                                       |- warning: sending 'storage' risks causing data races; this is an error in the Swift 6 language mode
    |                                                       |- note: sending 'self'-isolated 'storage' to nonisolated local function 'handle' risks causing data races between nonisolated and local actor-isolated uses
    |                                                       `- note: access can happen concurrently
552 |
553 |         log("syncExistingPurchases fetched=\(fetched) sent=\(sent) failed=\(failed)")
/Users/admin/builder/spi-builder-workspace/Sources/InfluTo/InfluTo.swift:551:55: warning: sending 'sent' risks causing data races; this is an error in the Swift 6 language mode
549 |
550 |         for await v in Transaction.currentEntitlements { await handle(v) }
551 |         for await v in Transaction.unfinished { await handle(v) }
    |                                                       |- warning: sending 'sent' risks causing data races; this is an error in the Swift 6 language mode
    |                                                       |- note: sending 'sent' to nonisolated local function 'handle' risks causing data races between nonisolated and local actor-isolated uses
    |                                                       `- note: access can happen concurrently
552 |
553 |         log("syncExistingPurchases fetched=\(fetched) sent=\(sent) failed=\(failed)")
/Users/admin/builder/spi-builder-workspace/Sources/InfluTo/InfluTo.swift:551:55: warning: sending 'failed' risks causing data races; this is an error in the Swift 6 language mode
549 |
550 |         for await v in Transaction.currentEntitlements { await handle(v) }
551 |         for await v in Transaction.unfinished { await handle(v) }
    |                                                       |- warning: sending 'failed' risks causing data races; this is an error in the Swift 6 language mode
    |                                                       |- note: sending 'failed' to nonisolated local function 'handle' risks causing data races between nonisolated and local actor-isolated uses
    |                                                       `- note: access can happen concurrently
552 |
553 |         log("syncExistingPurchases fetched=\(fetched) sent=\(sent) failed=\(failed)")
[11/14] Compiling InfluTo Purchase.swift
[12/14] Compiling InfluTo Storage.swift
[13/14] Compiling InfluTo Models.swift
[14/14] Compiling InfluTo ReferralCodeInput.swift
Build complete! (9.24s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "InfluTo",
  "name" : "InfluTo",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    }
  ],
  "products" : [
    {
      "name" : "InfluTo",
      "targets" : [
        "InfluTo"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "InfluToTests",
      "module_type" : "SwiftTarget",
      "name" : "InfluToTests",
      "path" : "Tests/InfluToTests",
      "sources" : [
        "InfluToTests.swift"
      ],
      "target_dependencies" : [
        "InfluTo"
      ],
      "type" : "test"
    },
    {
      "c99name" : "InfluTo",
      "module_type" : "SwiftTarget",
      "name" : "InfluTo",
      "path" : "Sources/InfluTo",
      "product_memberships" : [
        "InfluTo"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/InfluTo/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "APIClient.swift",
        "DeviceInfo.swift",
        "InfluTo.swift",
        "InfluToConfig.swift",
        "InfluToError.swift",
        "Models.swift",
        "Purchase.swift",
        "ReferralCodeInput.swift",
        "Storage.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.