Build Information
Successful build of AmplitudeCore, reference v1.4.5 (d9d24b), with Swift 6.1 for macOS (SPM) on 28 Mar 2026 02:43:15 UTC.
Swift 6 data race errors: 12
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 InferSendableFromCapturesBuild Log
========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/amplitude/AmplitudeCore-Swift.git
Reference: v1.4.5
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/amplitude/AmplitudeCore-Swift
* tag v1.4.5 -> FETCH_HEAD
HEAD is now at d9d24b7 chore(release): 1.4.5 [skip ci]
Cloned https://github.com/amplitude/AmplitudeCore-Swift.git
Revision (git rev-parse @):
d9d24b79d4fcb4f1d1dcbc50ae20430afd22ebd0
SUCCESS checkout https://github.com/amplitude/AmplitudeCore-Swift.git at v1.4.5
========================================
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" : "AmplitudeCoreNoUIKit",
"targets" : [
"AmplitudeCoreNoUIKit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "AmplitudeCoreFramework",
"targets" : [
"AmplitudeCoreFramework"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "AmplitudeCoreNoUIKitFramework",
"targets" : [
"AmplitudeCoreNoUIKitFramework"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "AmplitudeCoreTests",
"module_type" : "SwiftTarget",
"name" : "AmplitudeCoreTests",
"path" : "Tests/AmplitudeCoreTests",
"sources" : [
"DiagnosticsClientTests.swift",
"DiagnosticsRemoteConfigTests.swift",
"DiagnosticsStorageTests.swift",
"RemoteConfigTests.swift",
"SampleTests.swift",
"StringExtensionTests.swift"
],
"target_dependencies" : [
"AmplitudeCore"
],
"type" : "test"
},
{
"c99name" : "AmplitudeCoreNoUIKitFramework",
"module_type" : "BinaryTarget",
"name" : "AmplitudeCoreNoUIKitFramework",
"path" : "remote/archive/AmplitudeCoreNoUIKit.zip",
"product_memberships" : [
"AmplitudeCoreNoUIKitFramework"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "AmplitudeCoreNoUIKit",
"module_type" : "SwiftTarget",
"name" : "AmplitudeCoreNoUIKit",
"path" : "Sources/AmplitudeCoreNoUIKit",
"product_memberships" : [
"AmplitudeCoreNoUIKit"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCoreNoUIKit/PrivacyInfo.xcprivacy",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Constants.swift",
"Context/AmplitudeContext.swift",
"Device/CoreDevice.swift",
"Diagnostics/CoreDiagnostics.swift",
"Diagnostics/DiagnosticsClient.swift",
"Diagnostics/DiagnosticsStorage.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/CrashCatcher.swift",
"Utilities/HttpUtil.swift",
"Utilities/JSONValue.swift",
"Utilities/Sample.swift",
"Utilities/StringExtension.swift"
],
"type" : "library"
},
{
"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" : [
"Constants.swift",
"Context/AmplitudeContext.swift",
"Device/CoreDevice.swift",
"Diagnostics/CoreDiagnostics.swift",
"Diagnostics/DiagnosticsClient.swift",
"Diagnostics/DiagnosticsStorage.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/CrashCatcher.swift",
"Utilities/HttpUtil.swift",
"Utilities/JSONValue.swift",
"Utilities/Sample.swift",
"Utilities/StringExtension.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),
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/5] Write sources
[2/5] Copying PrivacyInfo.xcprivacy
[4/5] Write swift-version-2F0A5646E1D333AE.txt
[6/47] Emitting module AmplitudeCoreNoUIKit
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCoreNoUIKit/Utilities/CrashCatcher.swift:21:24: warning: static property 'previousSignalHandlers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | private static let fatalSignals: [Int32] = [SIGABRT, SIGILL, SIGSEGV, SIGFPE, SIGBUS, SIGPIPE, SIGTRAP]
21 | private static var previousSignalHandlers: [Int32: sigaction] = [:]
| |- warning: static property 'previousSignalHandlers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'previousSignalHandlers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'previousSignalHandlers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | private static var isRegistered = false
23 | private static let registrationLock = NSLock()
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCoreNoUIKit/Utilities/CrashCatcher.swift:22:24: warning: static property 'isRegistered' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | private static let fatalSignals: [Int32] = [SIGABRT, SIGILL, SIGSEGV, SIGFPE, SIGBUS, SIGPIPE, SIGTRAP]
21 | private static var previousSignalHandlers: [Int32: sigaction] = [:]
22 | private static var isRegistered = false
| |- warning: static property 'isRegistered' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isRegistered' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'isRegistered' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | private static let registrationLock = NSLock()
24 | private static var previousCrashState: PreviousCrashState = .notDetected
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCoreNoUIKit/Utilities/CrashCatcher.swift:24:24: warning: static property 'previousCrashState' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | private static var isRegistered = false
23 | private static let registrationLock = NSLock()
24 | private static var previousCrashState: PreviousCrashState = .notDetected
| |- warning: static property 'previousCrashState' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'previousCrashState' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'previousCrashState' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | // Pre-allocated for signal-safe access
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCoreNoUIKit/Utilities/CrashCatcher.swift:27:24: warning: static property 'crashFilePathBuffer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | // Pre-allocated for signal-safe access
27 | private static var crashFilePathBuffer: [CChar] = []
| |- warning: static property 'crashFilePathBuffer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'crashFilePathBuffer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'crashFilePathBuffer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | private static var crashFilePathLength: Int = 0
29 |
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCoreNoUIKit/Utilities/CrashCatcher.swift:28:24: warning: static property 'crashFilePathLength' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | // Pre-allocated for signal-safe access
27 | private static var crashFilePathBuffer: [CChar] = []
28 | private static var crashFilePathLength: Int = 0
| |- warning: static property 'crashFilePathLength' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'crashFilePathLength' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'crashFilePathLength' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | private typealias SwiftDemangleFunc = @convention(c) (
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCoreNoUIKit/Utilities/CrashCatcher.swift:34:24: warning: static property 'swiftDemangle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 | ) -> UnsafeMutablePointer<CChar>?
33 |
34 | private static var swiftDemangle: SwiftDemangleFunc? = {
| |- warning: static property 'swiftDemangle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'swiftDemangle' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'swiftDemangle' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | guard let handle = dlopen(nil, RTLD_NOW),
36 | let sym = dlsym(handle, "swift_demangle") else { return nil }
[7/49] Emitting module AmplitudeCore
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCore/Utilities/CrashCatcher.swift:21:24: warning: static property 'previousSignalHandlers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | private static let fatalSignals: [Int32] = [SIGABRT, SIGILL, SIGSEGV, SIGFPE, SIGBUS, SIGPIPE, SIGTRAP]
21 | private static var previousSignalHandlers: [Int32: sigaction] = [:]
| |- warning: static property 'previousSignalHandlers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'previousSignalHandlers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'previousSignalHandlers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | private static var isRegistered = false
23 | private static let registrationLock = NSLock()
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCore/Utilities/CrashCatcher.swift:22:24: warning: static property 'isRegistered' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | private static let fatalSignals: [Int32] = [SIGABRT, SIGILL, SIGSEGV, SIGFPE, SIGBUS, SIGPIPE, SIGTRAP]
21 | private static var previousSignalHandlers: [Int32: sigaction] = [:]
22 | private static var isRegistered = false
| |- warning: static property 'isRegistered' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isRegistered' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'isRegistered' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | private static let registrationLock = NSLock()
24 | private static var previousCrashState: PreviousCrashState = .notDetected
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCore/Utilities/CrashCatcher.swift:24:24: warning: static property 'previousCrashState' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | private static var isRegistered = false
23 | private static let registrationLock = NSLock()
24 | private static var previousCrashState: PreviousCrashState = .notDetected
| |- warning: static property 'previousCrashState' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'previousCrashState' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'previousCrashState' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | // Pre-allocated for signal-safe access
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCore/Utilities/CrashCatcher.swift:27:24: warning: static property 'crashFilePathBuffer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | // Pre-allocated for signal-safe access
27 | private static var crashFilePathBuffer: [CChar] = []
| |- warning: static property 'crashFilePathBuffer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'crashFilePathBuffer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'crashFilePathBuffer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | private static var crashFilePathLength: Int = 0
29 |
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCore/Utilities/CrashCatcher.swift:28:24: warning: static property 'crashFilePathLength' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | // Pre-allocated for signal-safe access
27 | private static var crashFilePathBuffer: [CChar] = []
28 | private static var crashFilePathLength: Int = 0
| |- warning: static property 'crashFilePathLength' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'crashFilePathLength' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'crashFilePathLength' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | private typealias SwiftDemangleFunc = @convention(c) (
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCore/Utilities/CrashCatcher.swift:34:24: warning: static property 'swiftDemangle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 | ) -> UnsafeMutablePointer<CChar>?
33 |
34 | private static var swiftDemangle: SwiftDemangleFunc? = {
| |- warning: static property 'swiftDemangle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'swiftDemangle' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'swiftDemangle' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | guard let handle = dlopen(nil, RTLD_NOW),
36 | let sym = dlsym(handle, "swift_demangle") else { return nil }
[8/51] Compiling AmplitudeCore AnalyticsEvent.swift
[9/51] Compiling AmplitudeCore AnalyticsIdentity.swift
[10/51] Compiling AmplitudeCore StringExtension.swift
[11/51] Compiling AmplitudeCore resource_bundle_accessor.swift
[14/51] Compiling AmplitudeCoreNoUIKit PluginHost.swift
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCore/Utilities/CrashCatcher.swift:21:24: warning: static property 'previousSignalHandlers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | private static let fatalSignals: [Int32] = [SIGABRT, SIGILL, SIGSEGV, SIGFPE, SIGBUS, SIGPIPE, SIGTRAP]
21 | private static var previousSignalHandlers: [Int32: sigaction] = [:]
| |- warning: static property 'previousSignalHandlers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'previousSignalHandlers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'previousSignalHandlers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | private static var isRegistered = false
23 | private static let registrationLock = NSLock()
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCore/Utilities/CrashCatcher.swift:22:24: warning: static property 'isRegistered' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | private static let fatalSignals: [Int32] = [SIGABRT, SIGILL, SIGSEGV, SIGFPE, SIGBUS, SIGPIPE, SIGTRAP]
21 | private static var previousSignalHandlers: [Int32: sigaction] = [:]
22 | private static var isRegistered = false
| |- warning: static property 'isRegistered' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isRegistered' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'isRegistered' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | private static let registrationLock = NSLock()
24 | private static var previousCrashState: PreviousCrashState = .notDetected
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCore/Utilities/CrashCatcher.swift:24:24: warning: static property 'previousCrashState' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | private static var isRegistered = false
23 | private static let registrationLock = NSLock()
24 | private static var previousCrashState: PreviousCrashState = .notDetected
| |- warning: static property 'previousCrashState' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'previousCrashState' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'previousCrashState' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | // Pre-allocated for signal-safe access
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCore/Utilities/CrashCatcher.swift:27:24: warning: static property 'crashFilePathBuffer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | // Pre-allocated for signal-safe access
27 | private static var crashFilePathBuffer: [CChar] = []
| |- warning: static property 'crashFilePathBuffer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'crashFilePathBuffer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'crashFilePathBuffer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | private static var crashFilePathLength: Int = 0
29 |
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCore/Utilities/CrashCatcher.swift:28:24: warning: static property 'crashFilePathLength' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | // Pre-allocated for signal-safe access
27 | private static var crashFilePathBuffer: [CChar] = []
28 | private static var crashFilePathLength: Int = 0
| |- warning: static property 'crashFilePathLength' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'crashFilePathLength' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'crashFilePathLength' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | private typealias SwiftDemangleFunc = @convention(c) (
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCore/Utilities/CrashCatcher.swift:34:24: warning: static property 'swiftDemangle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 | ) -> UnsafeMutablePointer<CChar>?
33 |
34 | private static var swiftDemangle: SwiftDemangleFunc? = {
| |- warning: static property 'swiftDemangle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'swiftDemangle' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'swiftDemangle' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | guard let handle = dlopen(nil, RTLD_NOW),
36 | let sym = dlsym(handle, "swift_demangle") else { return nil }
[15/51] Compiling AmplitudeCoreNoUIKit UniversalPlugin.swift
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCore/Utilities/CrashCatcher.swift:21:24: warning: static property 'previousSignalHandlers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | private static let fatalSignals: [Int32] = [SIGABRT, SIGILL, SIGSEGV, SIGFPE, SIGBUS, SIGPIPE, SIGTRAP]
21 | private static var previousSignalHandlers: [Int32: sigaction] = [:]
| |- warning: static property 'previousSignalHandlers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'previousSignalHandlers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'previousSignalHandlers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | private static var isRegistered = false
23 | private static let registrationLock = NSLock()
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCore/Utilities/CrashCatcher.swift:22:24: warning: static property 'isRegistered' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | private static let fatalSignals: [Int32] = [SIGABRT, SIGILL, SIGSEGV, SIGFPE, SIGBUS, SIGPIPE, SIGTRAP]
21 | private static var previousSignalHandlers: [Int32: sigaction] = [:]
22 | private static var isRegistered = false
| |- warning: static property 'isRegistered' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isRegistered' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'isRegistered' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | private static let registrationLock = NSLock()
24 | private static var previousCrashState: PreviousCrashState = .notDetected
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCore/Utilities/CrashCatcher.swift:24:24: warning: static property 'previousCrashState' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | private static var isRegistered = false
23 | private static let registrationLock = NSLock()
24 | private static var previousCrashState: PreviousCrashState = .notDetected
| |- warning: static property 'previousCrashState' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'previousCrashState' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'previousCrashState' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | // Pre-allocated for signal-safe access
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCore/Utilities/CrashCatcher.swift:27:24: warning: static property 'crashFilePathBuffer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | // Pre-allocated for signal-safe access
27 | private static var crashFilePathBuffer: [CChar] = []
| |- warning: static property 'crashFilePathBuffer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'crashFilePathBuffer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'crashFilePathBuffer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | private static var crashFilePathLength: Int = 0
29 |
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCore/Utilities/CrashCatcher.swift:28:24: warning: static property 'crashFilePathLength' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | // Pre-allocated for signal-safe access
27 | private static var crashFilePathBuffer: [CChar] = []
28 | private static var crashFilePathLength: Int = 0
| |- warning: static property 'crashFilePathLength' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'crashFilePathLength' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'crashFilePathLength' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | private typealias SwiftDemangleFunc = @convention(c) (
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCore/Utilities/CrashCatcher.swift:34:24: warning: static property 'swiftDemangle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 | ) -> UnsafeMutablePointer<CChar>?
33 |
34 | private static var swiftDemangle: SwiftDemangleFunc? = {
| |- warning: static property 'swiftDemangle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'swiftDemangle' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'swiftDemangle' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | guard let handle = dlopen(nil, RTLD_NOW),
36 | let sym = dlsym(handle, "swift_demangle") else { return nil }
[16/51] Compiling AmplitudeCore RemoteConfigClient.swift
[17/51] Compiling AmplitudeCore ServerZone.swift
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCore/Remote Config/RemoteConfigClient.swift:285: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
53 | }
54 |
55 | private class CallbackInfo {
| `- note: class 'CallbackInfo' does not conform to the 'Sendable' protocol
56 | let id: UUID
57 | let key: String?
:
283 | }
284 | if let updatedRemoteConfig = try await self?._updateConfigs().value, let self {
285 | 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
286 | switch callback.deliveryMode {
287 | case .all:
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCore/Remote Config/RemoteConfigClient.swift:176: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
174 | callbacks.append(callbackInfo)
175 |
176 | 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
177 | switch callbackInfo.deliveryMode {
| `- note: closure captures 'callbackInfo' which is accessible to 'self'-isolated code
178 | case .all:
179 | await withThrowingTaskGroup(of: (configInfo: RemoteConfigInfo, source: Source).self) { [fetchLocalTask, fetchRemoteTask] taskGroup in
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCore/Remote Config/RemoteConfigClient.swift:225:31: warning: sending 'callbackInfo' risks causing data races; this is an error in the Swift 6 language mode
223 | timeoutTask.cancel()
224 | if let self {
225 | 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
226 | }
227 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCore/Remote Config/RemoteConfigClient.swift:233:31: warning: sending 'callbackInfo' risks causing data races; this is an error in the Swift 6 language mode
231 | // timeout or remote fetch error, try storage
232 | if let localConfig = try? await fetchLocalTask.value {
233 | 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
234 | } else {
235 | await sendCallback(callbackInfo, configInfo: nil, source: .remote)
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCore/Remote Config/RemoteConfigClient.swift:235:31: warning: sending 'callbackInfo' risks causing data races; this is an error in the Swift 6 language mode
233 | await sendCallback(callbackInfo, configInfo: localConfig, source: .cache)
234 | } else {
235 | 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
236 | }
237 | }
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCore/Remote Config/RemoteConfigClient.swift:193:41: warning: sending 'callbackInfo' risks causing data races; this is an error in the Swift 6 language mode
191 | didSendCallback = true
192 |
193 | 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
194 |
195 | // no need to send local callbacks if we already have remote
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCore/Remote Config/RemoteConfigClient.swift:206:33: warning: sending 'callbackInfo' risks causing data races; this is an error in the Swift 6 language mode
204 | }
205 |
206 | 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
207 | }
208 | case .waitForRemote(timeout: let timeout):
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCore/Remote Config/RemoteConfigClient.swift:296:32: warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
294 | }
295 |
296 | 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
297 | }
298 | }
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCore/Remote Config/RemoteConfigClient.swift:285: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
53 | }
54 |
55 | private class CallbackInfo {
| `- note: class 'CallbackInfo' does not conform to the 'Sendable' protocol
56 | let id: UUID
57 | let key: String?
:
283 | }
284 | if let updatedRemoteConfig = try await self?._updateConfigs().value, let self {
285 | 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
286 | switch callback.deliveryMode {
287 | case .all:
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCore/Remote Config/RemoteConfigClient.swift:176: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
174 | callbacks.append(callbackInfo)
175 |
176 | 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
177 | switch callbackInfo.deliveryMode {
| `- note: closure captures 'callbackInfo' which is accessible to 'self'-isolated code
178 | case .all:
179 | await withThrowingTaskGroup(of: (configInfo: RemoteConfigInfo, source: Source).self) { [fetchLocalTask, fetchRemoteTask] taskGroup in
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCore/Remote Config/RemoteConfigClient.swift:225:31: warning: sending 'callbackInfo' risks causing data races; this is an error in the Swift 6 language mode
223 | timeoutTask.cancel()
224 | if let self {
225 | 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
226 | }
227 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCore/Remote Config/RemoteConfigClient.swift:233:31: warning: sending 'callbackInfo' risks causing data races; this is an error in the Swift 6 language mode
231 | // timeout or remote fetch error, try storage
232 | if let localConfig = try? await fetchLocalTask.value {
233 | 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
234 | } else {
235 | await sendCallback(callbackInfo, configInfo: nil, source: .remote)
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCore/Remote Config/RemoteConfigClient.swift:235:31: warning: sending 'callbackInfo' risks causing data races; this is an error in the Swift 6 language mode
233 | await sendCallback(callbackInfo, configInfo: localConfig, source: .cache)
234 | } else {
235 | 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
236 | }
237 | }
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCore/Remote Config/RemoteConfigClient.swift:193:41: warning: sending 'callbackInfo' risks causing data races; this is an error in the Swift 6 language mode
191 | didSendCallback = true
192 |
193 | 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
194 |
195 | // no need to send local callbacks if we already have remote
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCore/Remote Config/RemoteConfigClient.swift:206:33: warning: sending 'callbackInfo' risks causing data races; this is an error in the Swift 6 language mode
204 | }
205 |
206 | 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
207 | }
208 | case .waitForRemote(timeout: let timeout):
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCore/Remote Config/RemoteConfigClient.swift:296:32: warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
294 | }
295 |
296 | 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
297 | }
298 | }
[20/51] Compiling AmplitudeCore InterfaceSignal.swift
[21/51] Compiling AmplitudeCore AmplitudeContext.swift
[22/51] Compiling AmplitudeCore CoreLogger.swift
[23/51] Compiling AmplitudeCore CoreDevice.swift
[26/51] Compiling AmplitudeCore PluginHost.swift
[27/51] Compiling AmplitudeCore UniversalPlugin.swift
[28/51] Compiling AmplitudeCore CoreDiagnostics.swift
[29/51] Compiling AmplitudeCore DiagnosticsClient.swift
[30/51] Compiling AmplitudeCore DiagnosticsStorage.swift
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCoreNoUIKit/Remote Config/RemoteConfigClient.swift:285: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
53 | }
54 |
55 | private class CallbackInfo {
| `- note: class 'CallbackInfo' does not conform to the 'Sendable' protocol
56 | let id: UUID
57 | let key: String?
:
283 | }
284 | if let updatedRemoteConfig = try await self?._updateConfigs().value, let self {
285 | 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
286 | switch callback.deliveryMode {
287 | case .all:
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCoreNoUIKit/Remote Config/RemoteConfigClient.swift:176: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
174 | callbacks.append(callbackInfo)
175 |
176 | 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
177 | switch callbackInfo.deliveryMode {
| `- note: closure captures 'callbackInfo' which is accessible to 'self'-isolated code
178 | case .all:
179 | await withThrowingTaskGroup(of: (configInfo: RemoteConfigInfo, source: Source).self) { [fetchLocalTask, fetchRemoteTask] taskGroup in
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCoreNoUIKit/Remote Config/RemoteConfigClient.swift:225:31: warning: sending 'callbackInfo' risks causing data races; this is an error in the Swift 6 language mode
223 | timeoutTask.cancel()
224 | if let self {
225 | 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
226 | }
227 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCoreNoUIKit/Remote Config/RemoteConfigClient.swift:233:31: warning: sending 'callbackInfo' risks causing data races; this is an error in the Swift 6 language mode
231 | // timeout or remote fetch error, try storage
232 | if let localConfig = try? await fetchLocalTask.value {
233 | 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
234 | } else {
235 | await sendCallback(callbackInfo, configInfo: nil, source: .remote)
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCoreNoUIKit/Remote Config/RemoteConfigClient.swift:235:31: warning: sending 'callbackInfo' risks causing data races; this is an error in the Swift 6 language mode
233 | await sendCallback(callbackInfo, configInfo: localConfig, source: .cache)
234 | } else {
235 | 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
236 | }
237 | }
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCoreNoUIKit/Remote Config/RemoteConfigClient.swift:193:41: warning: sending 'callbackInfo' risks causing data races; this is an error in the Swift 6 language mode
191 | didSendCallback = true
192 |
193 | 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
194 |
195 | // no need to send local callbacks if we already have remote
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCoreNoUIKit/Remote Config/RemoteConfigClient.swift:206:33: warning: sending 'callbackInfo' risks causing data races; this is an error in the Swift 6 language mode
204 | }
205 |
206 | 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
207 | }
208 | case .waitForRemote(timeout: let timeout):
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCoreNoUIKit/Remote Config/RemoteConfigClient.swift:296:32: warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
294 | }
295 |
296 | 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
297 | }
298 | }
[31/51] Compiling AmplitudeCore Constants.swift
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCoreNoUIKit/Remote Config/RemoteConfigClient.swift:285: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
53 | }
54 |
55 | private class CallbackInfo {
| `- note: class 'CallbackInfo' does not conform to the 'Sendable' protocol
56 | let id: UUID
57 | let key: String?
:
283 | }
284 | if let updatedRemoteConfig = try await self?._updateConfigs().value, let self {
285 | 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
286 | switch callback.deliveryMode {
287 | case .all:
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCoreNoUIKit/Remote Config/RemoteConfigClient.swift:176: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
174 | callbacks.append(callbackInfo)
175 |
176 | 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
177 | switch callbackInfo.deliveryMode {
| `- note: closure captures 'callbackInfo' which is accessible to 'self'-isolated code
178 | case .all:
179 | await withThrowingTaskGroup(of: (configInfo: RemoteConfigInfo, source: Source).self) { [fetchLocalTask, fetchRemoteTask] taskGroup in
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCoreNoUIKit/Remote Config/RemoteConfigClient.swift:225:31: warning: sending 'callbackInfo' risks causing data races; this is an error in the Swift 6 language mode
223 | timeoutTask.cancel()
224 | if let self {
225 | 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
226 | }
227 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCoreNoUIKit/Remote Config/RemoteConfigClient.swift:233:31: warning: sending 'callbackInfo' risks causing data races; this is an error in the Swift 6 language mode
231 | // timeout or remote fetch error, try storage
232 | if let localConfig = try? await fetchLocalTask.value {
233 | 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
234 | } else {
235 | await sendCallback(callbackInfo, configInfo: nil, source: .remote)
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCoreNoUIKit/Remote Config/RemoteConfigClient.swift:235:31: warning: sending 'callbackInfo' risks causing data races; this is an error in the Swift 6 language mode
233 | await sendCallback(callbackInfo, configInfo: localConfig, source: .cache)
234 | } else {
235 | 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
236 | }
237 | }
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCoreNoUIKit/Remote Config/RemoteConfigClient.swift:193:41: warning: sending 'callbackInfo' risks causing data races; this is an error in the Swift 6 language mode
191 | didSendCallback = true
192 |
193 | 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
194 |
195 | // no need to send local callbacks if we already have remote
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCoreNoUIKit/Remote Config/RemoteConfigClient.swift:206:33: warning: sending 'callbackInfo' risks causing data races; this is an error in the Swift 6 language mode
204 | }
205 |
206 | 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
207 | }
208 | case .waitForRemote(timeout: let timeout):
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCoreNoUIKit/Remote Config/RemoteConfigClient.swift:296:32: warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
294 | }
295 |
296 | 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
297 | }
298 | }
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCoreNoUIKit/Utilities/CrashCatcher.swift:21:24: warning: static property 'previousSignalHandlers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | private static let fatalSignals: [Int32] = [SIGABRT, SIGILL, SIGSEGV, SIGFPE, SIGBUS, SIGPIPE, SIGTRAP]
21 | private static var previousSignalHandlers: [Int32: sigaction] = [:]
| |- warning: static property 'previousSignalHandlers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'previousSignalHandlers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'previousSignalHandlers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | private static var isRegistered = false
23 | private static let registrationLock = NSLock()
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCoreNoUIKit/Utilities/CrashCatcher.swift:22:24: warning: static property 'isRegistered' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | private static let fatalSignals: [Int32] = [SIGABRT, SIGILL, SIGSEGV, SIGFPE, SIGBUS, SIGPIPE, SIGTRAP]
21 | private static var previousSignalHandlers: [Int32: sigaction] = [:]
22 | private static var isRegistered = false
| |- warning: static property 'isRegistered' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isRegistered' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'isRegistered' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | private static let registrationLock = NSLock()
24 | private static var previousCrashState: PreviousCrashState = .notDetected
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCoreNoUIKit/Utilities/CrashCatcher.swift:24:24: warning: static property 'previousCrashState' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | private static var isRegistered = false
23 | private static let registrationLock = NSLock()
24 | private static var previousCrashState: PreviousCrashState = .notDetected
| |- warning: static property 'previousCrashState' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'previousCrashState' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'previousCrashState' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | // Pre-allocated for signal-safe access
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCoreNoUIKit/Utilities/CrashCatcher.swift:27:24: warning: static property 'crashFilePathBuffer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | // Pre-allocated for signal-safe access
27 | private static var crashFilePathBuffer: [CChar] = []
| |- warning: static property 'crashFilePathBuffer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'crashFilePathBuffer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'crashFilePathBuffer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | private static var crashFilePathLength: Int = 0
29 |
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCoreNoUIKit/Utilities/CrashCatcher.swift:28:24: warning: static property 'crashFilePathLength' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | // Pre-allocated for signal-safe access
27 | private static var crashFilePathBuffer: [CChar] = []
28 | private static var crashFilePathLength: Int = 0
| |- warning: static property 'crashFilePathLength' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'crashFilePathLength' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'crashFilePathLength' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | private typealias SwiftDemangleFunc = @convention(c) (
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCoreNoUIKit/Utilities/CrashCatcher.swift:34:24: warning: static property 'swiftDemangle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 | ) -> UnsafeMutablePointer<CChar>?
33 |
34 | private static var swiftDemangle: SwiftDemangleFunc? = {
| |- warning: static property 'swiftDemangle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'swiftDemangle' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'swiftDemangle' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | guard let handle = dlopen(nil, RTLD_NOW),
36 | let sym = dlsym(handle, "swift_demangle") else { return nil }
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCoreNoUIKit/Utilities/CrashCatcher.swift:21:24: warning: static property 'previousSignalHandlers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | private static let fatalSignals: [Int32] = [SIGABRT, SIGILL, SIGSEGV, SIGFPE, SIGBUS, SIGPIPE, SIGTRAP]
21 | private static var previousSignalHandlers: [Int32: sigaction] = [:]
| |- warning: static property 'previousSignalHandlers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'previousSignalHandlers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'previousSignalHandlers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | private static var isRegistered = false
23 | private static let registrationLock = NSLock()
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCoreNoUIKit/Utilities/CrashCatcher.swift:22:24: warning: static property 'isRegistered' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | private static let fatalSignals: [Int32] = [SIGABRT, SIGILL, SIGSEGV, SIGFPE, SIGBUS, SIGPIPE, SIGTRAP]
21 | private static var previousSignalHandlers: [Int32: sigaction] = [:]
22 | private static var isRegistered = false
| |- warning: static property 'isRegistered' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isRegistered' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'isRegistered' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | private static let registrationLock = NSLock()
24 | private static var previousCrashState: PreviousCrashState = .notDetected
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCoreNoUIKit/Utilities/CrashCatcher.swift:24:24: warning: static property 'previousCrashState' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | private static var isRegistered = false
23 | private static let registrationLock = NSLock()
24 | private static var previousCrashState: PreviousCrashState = .notDetected
| |- warning: static property 'previousCrashState' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'previousCrashState' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'previousCrashState' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | // Pre-allocated for signal-safe access
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCoreNoUIKit/Utilities/CrashCatcher.swift:27:24: warning: static property 'crashFilePathBuffer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | // Pre-allocated for signal-safe access
27 | private static var crashFilePathBuffer: [CChar] = []
| |- warning: static property 'crashFilePathBuffer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'crashFilePathBuffer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'crashFilePathBuffer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | private static var crashFilePathLength: Int = 0
29 |
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCoreNoUIKit/Utilities/CrashCatcher.swift:28:24: warning: static property 'crashFilePathLength' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | // Pre-allocated for signal-safe access
27 | private static var crashFilePathBuffer: [CChar] = []
28 | private static var crashFilePathLength: Int = 0
| |- warning: static property 'crashFilePathLength' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'crashFilePathLength' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'crashFilePathLength' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | private typealias SwiftDemangleFunc = @convention(c) (
/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCoreNoUIKit/Utilities/CrashCatcher.swift:34:24: warning: static property 'swiftDemangle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 | ) -> UnsafeMutablePointer<CChar>?
33 |
34 | private static var swiftDemangle: SwiftDemangleFunc? = {
| |- warning: static property 'swiftDemangle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'swiftDemangle' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'swiftDemangle' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | guard let handle = dlopen(nil, RTLD_NOW),
36 | let sym = dlsym(handle, "swift_demangle") else { return nil }
[34/51] Compiling AmplitudeCore AnalyticsClient.swift
[35/51] Compiling AmplitudeCore JSONValue.swift
[36/51] Compiling AmplitudeCore Sample.swift
[39/51] Compiling AmplitudeCore OSLogger.swift
Build complete! (11.82s)
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.4.5/AmplitudeCore.zip
Downloading binary artifact https://github.com/amplitude/AmplitudeCore-Swift/releases/download/v1.4.5/AmplitudeCoreNoUIKit.zip
[16375/16958154] Downloading https://github.com/amplitude/AmplitudeCore-Swift/releases/download/v1.4.5/AmplitudeCoreNoUIKit.zip
[2162652/36296088] Downloading https://github.com/amplitude/AmplitudeCore-Swift/releases/download/v1.4.5/AmplitudeCoreNoUIKit.zip, https://github.com/amplitude/AmplitudeCore-Swift/releases/download/v1.4.5/AmplitudeCore.zip
Downloaded https://github.com/amplitude/AmplitudeCore-Swift/releases/download/v1.4.5/AmplitudeCoreNoUIKit.zip (1.60s)
Downloaded https://github.com/amplitude/AmplitudeCore-Swift/releases/download/v1.4.5/AmplitudeCore.zip (1.67s)
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" : "AmplitudeCoreNoUIKit",
"targets" : [
"AmplitudeCoreNoUIKit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "AmplitudeCoreFramework",
"targets" : [
"AmplitudeCoreFramework"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "AmplitudeCoreNoUIKitFramework",
"targets" : [
"AmplitudeCoreNoUIKitFramework"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "AmplitudeCoreTests",
"module_type" : "SwiftTarget",
"name" : "AmplitudeCoreTests",
"path" : "Tests/AmplitudeCoreTests",
"sources" : [
"DiagnosticsClientTests.swift",
"DiagnosticsRemoteConfigTests.swift",
"DiagnosticsStorageTests.swift",
"RemoteConfigTests.swift",
"SampleTests.swift",
"StringExtensionTests.swift"
],
"target_dependencies" : [
"AmplitudeCore"
],
"type" : "test"
},
{
"c99name" : "AmplitudeCoreNoUIKitFramework",
"module_type" : "BinaryTarget",
"name" : "AmplitudeCoreNoUIKitFramework",
"path" : "remote/archive/AmplitudeCoreNoUIKit.zip",
"product_memberships" : [
"AmplitudeCoreNoUIKitFramework"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "AmplitudeCoreNoUIKit",
"module_type" : "SwiftTarget",
"name" : "AmplitudeCoreNoUIKit",
"path" : "Sources/AmplitudeCoreNoUIKit",
"product_memberships" : [
"AmplitudeCoreNoUIKit"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/AmplitudeCoreNoUIKit/PrivacyInfo.xcprivacy",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Constants.swift",
"Context/AmplitudeContext.swift",
"Device/CoreDevice.swift",
"Diagnostics/CoreDiagnostics.swift",
"Diagnostics/DiagnosticsClient.swift",
"Diagnostics/DiagnosticsStorage.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/CrashCatcher.swift",
"Utilities/HttpUtil.swift",
"Utilities/JSONValue.swift",
"Utilities/Sample.swift",
"Utilities/StringExtension.swift"
],
"type" : "library"
},
{
"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" : [
"Constants.swift",
"Context/AmplitudeContext.swift",
"Device/CoreDevice.swift",
"Diagnostics/CoreDiagnostics.swift",
"Diagnostics/DiagnosticsClient.swift",
"Diagnostics/DiagnosticsStorage.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/CrashCatcher.swift",
"Utilities/HttpUtil.swift",
"Utilities/JSONValue.swift",
"Utilities/Sample.swift",
"Utilities/StringExtension.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.