Build Information
Successful build of AmplitudeCore, reference v1.2.2 (ce504e
), with Swift 6.1 for macOS (SPM) on 23 Aug 2025 03:11:53 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: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/amplitude/AmplitudeCore-Swift.git
Reference: v1.2.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/amplitude/AmplitudeCore-Swift
* tag v1.2.2 -> FETCH_HEAD
HEAD is now at ce504ed chore(release): 1.2.2 [skip ci]
Cloned https://github.com/amplitude/AmplitudeCore-Swift.git
Revision (git rev-parse @):
ce504eddff3597f88b23af640200d59841dc4907
SUCCESS checkout https://github.com/amplitude/AmplitudeCore-Swift.git at v1.2.2
warning: 'spi-builder-workspace': /Users/admin/builder/spi-builder-workspace/Package@swift-5.9.swift:9:15: warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version
7 | platforms: [
8 | .macOS(.v10_13),
9 | .iOS(.v11),
| `- warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version
10 | .tvOS(.v11),
11 | .watchOS(.v4),
/Users/admin/builder/spi-builder-workspace/Package@swift-5.9.swift:10:16: warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version
8 | .macOS(.v10_13),
9 | .iOS(.v11),
10 | .tvOS(.v11),
| `- warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version
11 | .watchOS(.v4),
12 | .visionOS(.v1),
Downloading binary artifact https://github.com/amplitude/AmplitudeCore-Swift/releases/download/v1.2.2/AmplitudeCore.zip
[16375/9887353] Downloading https://github.com/amplitude/AmplitudeCore-Swift/releases/download/v1.2.2/AmplitudeCore.zip
Downloaded https://github.com/amplitude/AmplitudeCore-Swift/releases/download/v1.2.2/AmplitudeCore.zip (1.29s)
========================================
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": "amplitudecore-swift",
"name": "AmplitudeCore",
"url": "https://github.com/amplitude/AmplitudeCore-Swift.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/AmplitudeCore-Swift",
"dependencies": [
]
}
]
}
Fetching https://github.com/amplitude/AmplitudeCore-Swift.git
[7/610] Fetching amplitudecore-swift
Fetched https://github.com/amplitude/AmplitudeCore-Swift.git from cache (0.75s)
warning: 'amplitudecore-swift': /Package@swift-5.9.swift:9:15: warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version
7 | platforms: [
8 | .macOS(.v10_13),
9 | .iOS(.v11),
| `- warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version
10 | .tvOS(.v11),
11 | .watchOS(.v4),
/Package@swift-5.9.swift:10:16: warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version
8 | .macOS(.v10_13),
9 | .iOS(.v11),
10 | .tvOS(.v11),
| `- warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version
11 | .watchOS(.v4),
12 | .visionOS(.v1),
Creating working copy for https://github.com/amplitude/AmplitudeCore-Swift.git
Working copy of https://github.com/amplitude/AmplitudeCore-Swift.git resolved at v1.2.2 (ce504ed)
warning: 'amplitudecore-swift': /Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/AmplitudeCore-Swift/Package@swift-5.9.swift:9:15: warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version
7 | platforms: [
8 | .macOS(.v10_13),
9 | .iOS(.v11),
| `- warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version
10 | .tvOS(.v11),
11 | .watchOS(.v4),
/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/AmplitudeCore-Swift/Package@swift-5.9.swift:10:16: warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version
8 | .macOS(.v10_13),
9 | .iOS(.v11),
10 | .tvOS(.v11),
| `- warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version
11 | .watchOS(.v4),
12 | .visionOS(.v1),
Fetching binary artifact https://github.com/amplitude/AmplitudeCore-Swift/releases/download/v1.2.2/AmplitudeCore.zip from cache
Fetched https://github.com/amplitude/AmplitudeCore-Swift/releases/download/v1.2.2/AmplitudeCore.zip from cache (0.56s)
warning: '.resolve-product-dependencies': dependency 'amplitudecore-swift' 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/amplitude/AmplitudeCore-Swift.git
https://github.com/amplitude/AmplitudeCore-Swift.git
{
"dependencies" : [
],
"manifest_display_name" : "AmplitudeCore",
"name" : "AmplitudeCore",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.13"
},
{
"name" : "ios",
"version" : "11.0"
},
{
"name" : "tvos",
"version" : "11.0"
},
{
"name" : "watchos",
"version" : "4.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "AmplitudeCore",
"targets" : [
"AmplitudeCore"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "AmplitudeCoreFramework",
"targets" : [
"AmplitudeCoreFramework"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "AmplitudeCoreTests",
"module_type" : "SwiftTarget",
"name" : "AmplitudeCoreTests",
"path" : "Tests/AmplitudeCoreTests",
"sources" : [
"RemoteConfigTests.swift"
],
"target_dependencies" : [
"AmplitudeCore"
],
"type" : "test"
},
{
"c99name" : "AmplitudeCoreFramework",
"module_type" : "BinaryTarget",
"name" : "AmplitudeCoreFramework",
"path" : "remote/archive/AmplitudeCore.zip",
"product_memberships" : [
"AmplitudeCoreFramework"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "AmplitudeCore",
"module_type" : "SwiftTarget",
"name" : "AmplitudeCore",
"path" : "Sources/AmplitudeCore",
"product_memberships" : [
"AmplitudeCore"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCore/PrivacyInfo.xcprivacy",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Context/AmplitudeContext.swift",
"Functionalities/InterfaceSignal.swift",
"Logger/CoreLogger.swift",
"Logger/OSLogger.swift",
"Plugins/AnalyticsClient.swift",
"Plugins/AnalyticsEvent.swift",
"Plugins/AnalyticsIdentity.swift",
"Plugins/PluginHost.swift",
"Plugins/UniversalPlugin.swift",
"Remote Config/RemoteConfigClient.swift",
"Types/ServerZone.swift",
"Utilities/HttpUtil.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
[0/3] Copying PrivacyInfo.xcprivacy
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/16] Compiling AmplitudeCore UniversalPlugin.swift
[5/17] Compiling AmplitudeCore RemoteConfigClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCore/Remote Config/RemoteConfigClient.swift:274:44: warning: non-sendable type '[RemoteConfigClient.CallbackInfo]' of property 'callbacks' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
52 | }
53 |
54 | private class CallbackInfo {
| `- note: class 'CallbackInfo' does not conform to the 'Sendable' protocol
55 | let id: UUID
56 | let key: String?
:
272 | }
273 | if let updatedRemoteConfig = try await self?._updateConfigs().value, let self {
274 | for callback in await self.callbacks {
| `- warning: non-sendable type '[RemoteConfigClient.CallbackInfo]' of property 'callbacks' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
275 | switch callback.deliveryMode {
276 | case .all:
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCore/Remote Config/RemoteConfigClient.swift:170:23: warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
168 | callbacks.append(callbackInfo)
169 |
170 | Task.detached { [weak self, fetchLocalTask, fetchRemoteTask] in
| `- warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
171 | switch callbackInfo.deliveryMode {
| `- note: closure captures 'callbackInfo' which is accessible to 'self'-isolated code
172 | case .all:
173 | await withThrowingTaskGroup(of: (configInfo: RemoteConfigInfo, source: Source).self) { [fetchLocalTask, fetchRemoteTask] taskGroup in
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCore/Remote Config/RemoteConfigClient.swift:219:31: warning: sending 'callbackInfo' risks causing data races; this is an error in the Swift 6 language mode
217 | timeoutTask.cancel()
218 | if let self {
219 | await sendCallback(callbackInfo, configInfo: remoteConfig, source: .remote)
| |- warning: sending 'callbackInfo' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'callbackInfo' to actor-isolated instance method 'sendCallback(_:configInfo:source:)' risks causing data races between actor-isolated and task-isolated uses
220 | }
221 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCore/Remote Config/RemoteConfigClient.swift:227:31: warning: sending 'callbackInfo' risks causing data races; this is an error in the Swift 6 language mode
225 | // timeout or remote fetch error, try storage
226 | if let localConfig = try? await fetchLocalTask.value {
227 | await sendCallback(callbackInfo, configInfo: localConfig, source: .cache)
| |- warning: sending 'callbackInfo' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'callbackInfo' to actor-isolated instance method 'sendCallback(_:configInfo:source:)' risks causing data races between actor-isolated and task-isolated uses
228 | } else {
229 | await sendCallback(callbackInfo, configInfo: nil, source: .remote)
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCore/Remote Config/RemoteConfigClient.swift:229:31: warning: sending 'callbackInfo' risks causing data races; this is an error in the Swift 6 language mode
227 | await sendCallback(callbackInfo, configInfo: localConfig, source: .cache)
228 | } else {
229 | await sendCallback(callbackInfo, configInfo: nil, source: .remote)
| |- warning: sending 'callbackInfo' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'callbackInfo' to actor-isolated instance method 'sendCallback(_:configInfo:source:)' risks causing data races between actor-isolated and task-isolated uses
230 | }
231 | }
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCore/Remote Config/RemoteConfigClient.swift:187:41: warning: sending 'callbackInfo' risks causing data races; this is an error in the Swift 6 language mode
185 | didSendCallback = true
186 |
187 | await self?.sendCallback(callbackInfo, configInfo: result.configInfo, source: result.source)
| |- warning: sending 'callbackInfo' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'callbackInfo' to actor-isolated instance method 'sendCallback(_:configInfo:source:)' risks causing data races between actor-isolated and task-isolated uses
188 |
189 | // no need to send local callbacks if we already have remote
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCore/Remote Config/RemoteConfigClient.swift:200:33: warning: sending 'callbackInfo' risks causing data races; this is an error in the Swift 6 language mode
198 | }
199 |
200 | await self?.sendCallback(callbackInfo, configInfo: nil, source: .remote)
| |- warning: sending 'callbackInfo' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'callbackInfo' to actor-isolated instance method 'sendCallback(_:configInfo:source:)' risks causing data races between actor-isolated and task-isolated uses
201 | }
202 | case .waitForRemote(timeout: let timeout):
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCore/Remote Config/RemoteConfigClient.swift:285:32: warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
283 | }
284 |
285 | await self.sendCallback(callback, configInfo: updatedRemoteConfig, source: .remote)
| |- warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
| |- note: sending 'self'-isolated 'callback' to actor-isolated instance method 'sendCallback(_:configInfo:source:)' risks causing data races between actor-isolated and local nonisolated uses
| `- note: access can happen concurrently
286 | }
287 | }
[6/17] Compiling AmplitudeCore ServerZone.swift
[7/17] Compiling AmplitudeCore AnalyticsIdentity.swift
[8/17] Compiling AmplitudeCore PluginHost.swift
[9/17] Compiling AmplitudeCore AnalyticsClient.swift
[10/17] Compiling AmplitudeCore AnalyticsEvent.swift
[11/17] Compiling AmplitudeCore HttpUtil.swift
[12/17] Compiling AmplitudeCore AmplitudeContext.swift
[13/17] Compiling AmplitudeCore InterfaceSignal.swift
[14/17] Emitting module AmplitudeCore
[15/17] Compiling AmplitudeCore CoreLogger.swift
[16/17] Compiling AmplitudeCore OSLogger.swift
[17/17] Compiling AmplitudeCore resource_bundle_accessor.swift
Build complete! (4.99s)
warning: 'spi-builder-workspace': /Users/admin/builder/spi-builder-workspace/Package@swift-5.9.swift:9:15: warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version
7 | platforms: [
8 | .macOS(.v10_13),
9 | .iOS(.v11),
| `- warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version
10 | .tvOS(.v11),
11 | .watchOS(.v4),
/Users/admin/builder/spi-builder-workspace/Package@swift-5.9.swift:10:16: warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version
8 | .macOS(.v10_13),
9 | .iOS(.v11),
10 | .tvOS(.v11),
| `- warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version
11 | .watchOS(.v4),
12 | .visionOS(.v1),
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "AmplitudeCore",
"name" : "AmplitudeCore",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.13"
},
{
"name" : "ios",
"version" : "11.0"
},
{
"name" : "tvos",
"version" : "11.0"
},
{
"name" : "watchos",
"version" : "4.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "AmplitudeCore",
"targets" : [
"AmplitudeCore"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "AmplitudeCoreFramework",
"targets" : [
"AmplitudeCoreFramework"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "AmplitudeCoreTests",
"module_type" : "SwiftTarget",
"name" : "AmplitudeCoreTests",
"path" : "Tests/AmplitudeCoreTests",
"sources" : [
"RemoteConfigTests.swift"
],
"target_dependencies" : [
"AmplitudeCore"
],
"type" : "test"
},
{
"c99name" : "AmplitudeCoreFramework",
"module_type" : "BinaryTarget",
"name" : "AmplitudeCoreFramework",
"path" : "remote/archive/AmplitudeCore.zip",
"product_memberships" : [
"AmplitudeCoreFramework"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "AmplitudeCore",
"module_type" : "SwiftTarget",
"name" : "AmplitudeCore",
"path" : "Sources/AmplitudeCore",
"product_memberships" : [
"AmplitudeCore"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCore/PrivacyInfo.xcprivacy",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Context/AmplitudeContext.swift",
"Functionalities/InterfaceSignal.swift",
"Logger/CoreLogger.swift",
"Logger/OSLogger.swift",
"Plugins/AnalyticsClient.swift",
"Plugins/AnalyticsEvent.swift",
"Plugins/AnalyticsIdentity.swift",
"Plugins/PluginHost.swift",
"Plugins/UniversalPlugin.swift",
"Remote Config/RemoteConfigClient.swift",
"Types/ServerZone.swift",
"Utilities/HttpUtil.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
warning: 'spi-builder-workspace': /Users/admin/builder/spi-builder-workspace/Package@swift-5.9.swift:9:15: warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version
7 | platforms: [
8 | .macOS(.v10_13),
9 | .iOS(.v11),
| `- warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version
10 | .tvOS(.v11),
11 | .watchOS(.v4),
/Users/admin/builder/spi-builder-workspace/Package@swift-5.9.swift:10:16: warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version
8 | .macOS(.v10_13),
9 | .iOS(.v11),
10 | .tvOS(.v11),
| `- warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version
11 | .watchOS(.v4),
12 | .visionOS(.v1),
Done.