Build Information
Successful build of Sentry, reference main (5741a3
), with Swift 6.1 for macOS (SPM) on 16 Jun 2025 14:41:05 UTC.
Swift 6 data race errors: 5
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.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/getsentry/sentry-cocoa.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/getsentry/sentry-cocoa
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 5741a3f chore(deps): Update clang-format version (#5410)
Cloned https://github.com/getsentry/sentry-cocoa.git
Revision (git rev-parse @):
5741a3f7980c39fa21e17a833da27f27eb1b3a66
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/getsentry/sentry-cocoa.git at main
Downloading binary artifact https://github.com/getsentry/sentry-cocoa/releases/download/8.52.1/Sentry.xcframework.zip
Downloading binary artifact https://github.com/getsentry/sentry-cocoa/releases/download/8.52.1/Sentry-Dynamic.xcframework.zip
[16375/39940723] Downloading https://github.com/getsentry/sentry-cocoa/releases/download/8.52.1/Sentry.xcframework.zip
[10296742/138973372] Downloading https://github.com/getsentry/sentry-cocoa/releases/download/8.52.1/Sentry.xcframework.zip, https://github.com/getsentry/sentry-cocoa/releases/download/8.52.1/Sentry-Dynamic.xcframework.zip
Downloaded https://github.com/getsentry/sentry-cocoa/releases/download/8.52.1/Sentry.xcframework.zip (3.85s)
Downloaded https://github.com/getsentry/sentry-cocoa/releases/download/8.52.1/Sentry-Dynamic.xcframework.zip (7.12s)
========================================
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": "sentry-cocoa",
"name": "Sentry",
"url": "https://github.com/getsentry/sentry-cocoa.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/sentry-cocoa",
"dependencies": [
]
}
]
}
Fetching https://github.com/getsentry/sentry-cocoa.git
[1/162039] Fetching sentry-cocoa
Fetched https://github.com/getsentry/sentry-cocoa.git from cache (17.14s)
Creating working copy for https://github.com/getsentry/sentry-cocoa.git
Working copy of https://github.com/getsentry/sentry-cocoa.git resolved at main (5741a3f)
Fetching binary artifact https://github.com/getsentry/sentry-cocoa/releases/download/8.52.1/Sentry.xcframework.zip from cache
Fetching binary artifact https://github.com/getsentry/sentry-cocoa/releases/download/8.52.1/Sentry-Dynamic.xcframework.zip from cache
Fetched https://github.com/getsentry/sentry-cocoa/releases/download/8.52.1/Sentry.xcframework.zip from cache (3.56s)
Fetched https://github.com/getsentry/sentry-cocoa/releases/download/8.52.1/Sentry-Dynamic.xcframework.zip from cache (4.92s)
warning: '.resolve-product-dependencies': dependency 'sentry-cocoa' 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/getsentry/sentry-cocoa.git
https://github.com/getsentry/sentry-cocoa.git
{
"cxx_language_standard" : "c++14",
"dependencies" : [
],
"manifest_display_name" : "Sentry",
"name" : "Sentry",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "11.0"
},
{
"name" : "macos",
"version" : "10.13"
},
{
"name" : "tvos",
"version" : "11.0"
},
{
"name" : "watchos",
"version" : "4.0"
}
],
"products" : [
{
"name" : "Sentry",
"targets" : [
"Sentry"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Sentry-Dynamic",
"targets" : [
"Sentry-Dynamic"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SentrySwiftUI",
"targets" : [
"Sentry",
"SentrySwiftUI"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SentrySwiftUI",
"module_type" : "SwiftTarget",
"name" : "SentrySwiftUI",
"path" : "Sources/SentrySwiftUI",
"product_memberships" : [
"SentrySwiftUI"
],
"sources" : [
"Preview/PreviewRedactOptions.swift",
"Preview/SentryReplayMaskPreview.swift",
"Preview/SentryReplayMaskPreviewUIView.swift",
"SentryReplayView.swift",
"SentrySpanOperation.swift",
"SentryTraceOrigin.swift",
"SentryTracedView.swift"
],
"target_dependencies" : [
"Sentry",
"SentryInternal"
],
"type" : "library"
},
{
"c99name" : "SentryInternal",
"module_type" : "ClangTarget",
"name" : "SentryInternal",
"path" : "Sources/SentrySwiftUI",
"product_memberships" : [
"SentrySwiftUI"
],
"sources" : [
"SentryInternal/SentryInternal.m"
],
"type" : "library"
},
{
"c99name" : "SentryCoreSwift",
"module_type" : "SwiftTarget",
"name" : "SentryCoreSwift",
"path" : "Sources/Swift/Core",
"sources" : [
"Extensions/Locks.swift",
"Extensions/NumberExtensions.swift",
"Extensions/StringExtensions.swift",
"Extensions/UIViewExtensions.swift",
"Helper/Log/SentryLevel.swift",
"Helper/SentryBaggageSerialization.swift",
"Helper/SentryCurrentDateProvider.swift",
"Helper/SentryFileContents.swift",
"Integrations/ANR/SentryANRTracker.swift",
"Integrations/ANR/SentryANRTrackerV2Delegate.swift",
"Integrations/ANR/SentryANRType.swift",
"Integrations/FramesTracking/SentryFramesDelayResult.swift",
"Integrations/Performance/SentryProfileOptions.swift",
"Integrations/Performance/SentryTransactionNameSource.swift",
"Integrations/Performance/SwizzleClassNameExclude.swift",
"MetricKit/SentryMXCallStackTree.swift",
"MetricKit/SentryMXManager.swift",
"Protocol/SentryId.swift",
"Protocol/SentryRedactOptions.swift",
"Protocol/SentryViewControllerBreadcrumbTracking.swift",
"SwiftDescriptor.swift",
"Tools/HTTPHeaderSanitizer.swift",
"Tools/SentryLog.swift",
"Tools/SentryLogOutput.swift",
"Tools/UIImageHelper.swift",
"Tools/URLSessionTaskHelper.swift",
"Tools/UrlSanitized.swift",
"Tools/ViewCapture/SentryDefaultMaskRenderer.swift",
"Tools/ViewCapture/SentryDefaultViewRenderer.swift",
"Tools/ViewCapture/SentryGraphicsImageRenderer.swift",
"Tools/ViewCapture/SentryMaskRenderer.swift",
"Tools/ViewCapture/SentryMaskRendererV2.swift",
"Tools/ViewCapture/SentryRedactRegion.swift",
"Tools/ViewCapture/SentryRedactRegionType.swift",
"Tools/ViewCapture/SentryRedactViewHelper.swift",
"Tools/ViewCapture/SentryUIRedactBuilder.swift",
"Tools/ViewCapture/SentryViewPhotographer.swift",
"Tools/ViewCapture/SentryViewRenderer.swift",
"Tools/ViewCapture/SentryViewRendererV2.swift",
"Tools/ViewCapture/SentryViewScreenshotProvider.swift"
],
"type" : "library"
},
{
"c99name" : "Sentry_Dynamic",
"module_type" : "BinaryTarget",
"name" : "Sentry-Dynamic",
"path" : "remote/archive/Sentry-Dynamic.xcframework.zip",
"product_memberships" : [
"Sentry-Dynamic"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "Sentry",
"module_type" : "BinaryTarget",
"name" : "Sentry",
"path" : "remote/archive/Sentry.xcframework.zip",
"product_memberships" : [
"Sentry",
"SentrySwiftUI"
],
"sources" : [
],
"type" : "binary"
}
],
"tools_version" : "5.3"
}
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 Sentry.framework
[3/5] Compiling SentryInternal.m
[4/5] Write swift-version-2F0A5646E1D333AE.txt
[6/50] Compiling SentryCoreSwift SentryRedactRegion.swift
[7/50] Compiling SentryCoreSwift SentryRedactRegionType.swift
[8/50] Compiling SentryCoreSwift SentryRedactViewHelper.swift
[9/50] Compiling SentryCoreSwift SentryUIRedactBuilder.swift
[10/54] Compiling SentryCoreSwift SentryViewPhotographer.swift
[11/54] Compiling SentryCoreSwift SentryViewRenderer.swift
[12/54] Compiling SentryCoreSwift SentryViewRendererV2.swift
[13/54] Compiling SentryCoreSwift SentryViewScreenshotProvider.swift
[14/54] Compiling SentryCoreSwift SentryProfileOptions.swift
[15/54] Compiling SentryCoreSwift SentryTransactionNameSource.swift
[16/54] Compiling SentryCoreSwift SwizzleClassNameExclude.swift
[17/54] Compiling SentryCoreSwift SentryMXCallStackTree.swift
[18/54] Emitting module SentryCoreSwift
/Users/admin/builder/spi-builder-workspace/Sources/Swift/Core/Tools/SentryLog.swift:16:29: warning: static property 'isDebug' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | @_spi(Private) public class SentryLog: NSObject {
15 |
16 | static private(set) var isDebug = true
| |- warning: static property 'isDebug' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isDebug' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'isDebug' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | static private(set) var diagnosticLevel = SentryLevel.error
18 |
/Users/admin/builder/spi-builder-workspace/Sources/Swift/Core/Tools/SentryLog.swift:17:29: warning: static property 'diagnosticLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | static private(set) var isDebug = true
17 | static private(set) var diagnosticLevel = SentryLevel.error
| |- warning: static property 'diagnosticLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'diagnosticLevel' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'diagnosticLevel' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Swift/Core/Tools/SentryLog.swift:22:16: warning: static property 'alwaysLevel' is not concurrency-safe because non-'Sendable' type 'SentryLevel' may have shared mutable state; this is an error in the Swift 6 language mode
20 | * Threshold log level to always log, regardless of the current configuration
21 | */
22 | static let alwaysLevel = SentryLevel.fatal
| |- warning: static property 'alwaysLevel' is not concurrency-safe because non-'Sendable' type 'SentryLevel' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'alwaysLevel' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | private static var logOutput = SentryLogOutput()
24 | private static var dateProvider: SentryCurrentDateProvider = SentryDefaultCurrentDateProvider()
/Users/admin/builder/spi-builder-workspace/Sources/Swift/Core/Helper/Log/SentryLevel.swift:4:13: note: consider making enum 'SentryLevel' conform to the 'Sendable' protocol
2 |
3 | @objc
4 | public enum SentryLevel: UInt {
| `- note: consider making enum 'SentryLevel' conform to the 'Sendable' protocol
5 | static let levelNames = ["none", "debug", "info", "warning", "error", "fatal"]
6 |
/Users/admin/builder/spi-builder-workspace/Sources/Swift/Core/Tools/SentryLog.swift:23:24: warning: static property 'logOutput' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | */
22 | static let alwaysLevel = SentryLevel.fatal
23 | private static var logOutput = SentryLogOutput()
| |- warning: static property 'logOutput' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logOutput' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'logOutput' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | private static var dateProvider: SentryCurrentDateProvider = SentryDefaultCurrentDateProvider()
25 |
/Users/admin/builder/spi-builder-workspace/Sources/Swift/Core/Tools/SentryLog.swift:24:24: warning: static property 'dateProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | static let alwaysLevel = SentryLevel.fatal
23 | private static var logOutput = SentryLogOutput()
24 | private static var dateProvider: SentryCurrentDateProvider = SentryDefaultCurrentDateProvider()
| |- warning: static property 'dateProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'dateProvider' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'dateProvider' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | static func _configure(_ isDebug: Bool, diagnosticLevel: SentryLevel) {
[19/54] Compiling SentryCoreSwift SwiftDescriptor.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swift/Core/Tools/SentryLog.swift:16:29: warning: static property 'isDebug' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | @_spi(Private) public class SentryLog: NSObject {
15 |
16 | static private(set) var isDebug = true
| |- warning: static property 'isDebug' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isDebug' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'isDebug' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | static private(set) var diagnosticLevel = SentryLevel.error
18 |
/Users/admin/builder/spi-builder-workspace/Sources/Swift/Core/Tools/SentryLog.swift:17:29: warning: static property 'diagnosticLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | static private(set) var isDebug = true
17 | static private(set) var diagnosticLevel = SentryLevel.error
| |- warning: static property 'diagnosticLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'diagnosticLevel' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'diagnosticLevel' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Swift/Core/Tools/SentryLog.swift:22:16: warning: static property 'alwaysLevel' is not concurrency-safe because non-'Sendable' type 'SentryLevel' may have shared mutable state; this is an error in the Swift 6 language mode
20 | * Threshold log level to always log, regardless of the current configuration
21 | */
22 | static let alwaysLevel = SentryLevel.fatal
| |- warning: static property 'alwaysLevel' is not concurrency-safe because non-'Sendable' type 'SentryLevel' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'alwaysLevel' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | private static var logOutput = SentryLogOutput()
24 | private static var dateProvider: SentryCurrentDateProvider = SentryDefaultCurrentDateProvider()
/Users/admin/builder/spi-builder-workspace/Sources/Swift/Core/Helper/Log/SentryLevel.swift:4:13: note: consider making enum 'SentryLevel' conform to the 'Sendable' protocol
2 |
3 | @objc
4 | public enum SentryLevel: UInt {
| `- note: consider making enum 'SentryLevel' conform to the 'Sendable' protocol
5 | static let levelNames = ["none", "debug", "info", "warning", "error", "fatal"]
6 |
/Users/admin/builder/spi-builder-workspace/Sources/Swift/Core/Tools/SentryLog.swift:23:24: warning: static property 'logOutput' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | */
22 | static let alwaysLevel = SentryLevel.fatal
23 | private static var logOutput = SentryLogOutput()
| |- warning: static property 'logOutput' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logOutput' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'logOutput' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | private static var dateProvider: SentryCurrentDateProvider = SentryDefaultCurrentDateProvider()
25 |
/Users/admin/builder/spi-builder-workspace/Sources/Swift/Core/Tools/SentryLog.swift:24:24: warning: static property 'dateProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | static let alwaysLevel = SentryLevel.fatal
23 | private static var logOutput = SentryLogOutput()
24 | private static var dateProvider: SentryCurrentDateProvider = SentryDefaultCurrentDateProvider()
| |- warning: static property 'dateProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'dateProvider' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'dateProvider' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | static func _configure(_ isDebug: Bool, diagnosticLevel: SentryLevel) {
[20/54] Compiling SentryCoreSwift HTTPHeaderSanitizer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swift/Core/Tools/SentryLog.swift:16:29: warning: static property 'isDebug' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | @_spi(Private) public class SentryLog: NSObject {
15 |
16 | static private(set) var isDebug = true
| |- warning: static property 'isDebug' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isDebug' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'isDebug' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | static private(set) var diagnosticLevel = SentryLevel.error
18 |
/Users/admin/builder/spi-builder-workspace/Sources/Swift/Core/Tools/SentryLog.swift:17:29: warning: static property 'diagnosticLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | static private(set) var isDebug = true
17 | static private(set) var diagnosticLevel = SentryLevel.error
| |- warning: static property 'diagnosticLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'diagnosticLevel' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'diagnosticLevel' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Swift/Core/Tools/SentryLog.swift:22:16: warning: static property 'alwaysLevel' is not concurrency-safe because non-'Sendable' type 'SentryLevel' may have shared mutable state; this is an error in the Swift 6 language mode
20 | * Threshold log level to always log, regardless of the current configuration
21 | */
22 | static let alwaysLevel = SentryLevel.fatal
| |- warning: static property 'alwaysLevel' is not concurrency-safe because non-'Sendable' type 'SentryLevel' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'alwaysLevel' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | private static var logOutput = SentryLogOutput()
24 | private static var dateProvider: SentryCurrentDateProvider = SentryDefaultCurrentDateProvider()
/Users/admin/builder/spi-builder-workspace/Sources/Swift/Core/Helper/Log/SentryLevel.swift:4:13: note: consider making enum 'SentryLevel' conform to the 'Sendable' protocol
2 |
3 | @objc
4 | public enum SentryLevel: UInt {
| `- note: consider making enum 'SentryLevel' conform to the 'Sendable' protocol
5 | static let levelNames = ["none", "debug", "info", "warning", "error", "fatal"]
6 |
/Users/admin/builder/spi-builder-workspace/Sources/Swift/Core/Tools/SentryLog.swift:23:24: warning: static property 'logOutput' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | */
22 | static let alwaysLevel = SentryLevel.fatal
23 | private static var logOutput = SentryLogOutput()
| |- warning: static property 'logOutput' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logOutput' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'logOutput' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | private static var dateProvider: SentryCurrentDateProvider = SentryDefaultCurrentDateProvider()
25 |
/Users/admin/builder/spi-builder-workspace/Sources/Swift/Core/Tools/SentryLog.swift:24:24: warning: static property 'dateProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | static let alwaysLevel = SentryLevel.fatal
23 | private static var logOutput = SentryLogOutput()
24 | private static var dateProvider: SentryCurrentDateProvider = SentryDefaultCurrentDateProvider()
| |- warning: static property 'dateProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'dateProvider' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'dateProvider' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | static func _configure(_ isDebug: Bool, diagnosticLevel: SentryLevel) {
[21/54] Compiling SentryCoreSwift SentryLog.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swift/Core/Tools/SentryLog.swift:16:29: warning: static property 'isDebug' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | @_spi(Private) public class SentryLog: NSObject {
15 |
16 | static private(set) var isDebug = true
| |- warning: static property 'isDebug' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isDebug' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'isDebug' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | static private(set) var diagnosticLevel = SentryLevel.error
18 |
/Users/admin/builder/spi-builder-workspace/Sources/Swift/Core/Tools/SentryLog.swift:17:29: warning: static property 'diagnosticLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | static private(set) var isDebug = true
17 | static private(set) var diagnosticLevel = SentryLevel.error
| |- warning: static property 'diagnosticLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'diagnosticLevel' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'diagnosticLevel' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Swift/Core/Tools/SentryLog.swift:22:16: warning: static property 'alwaysLevel' is not concurrency-safe because non-'Sendable' type 'SentryLevel' may have shared mutable state; this is an error in the Swift 6 language mode
20 | * Threshold log level to always log, regardless of the current configuration
21 | */
22 | static let alwaysLevel = SentryLevel.fatal
| |- warning: static property 'alwaysLevel' is not concurrency-safe because non-'Sendable' type 'SentryLevel' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'alwaysLevel' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | private static var logOutput = SentryLogOutput()
24 | private static var dateProvider: SentryCurrentDateProvider = SentryDefaultCurrentDateProvider()
/Users/admin/builder/spi-builder-workspace/Sources/Swift/Core/Helper/Log/SentryLevel.swift:4:13: note: consider making enum 'SentryLevel' conform to the 'Sendable' protocol
2 |
3 | @objc
4 | public enum SentryLevel: UInt {
| `- note: consider making enum 'SentryLevel' conform to the 'Sendable' protocol
5 | static let levelNames = ["none", "debug", "info", "warning", "error", "fatal"]
6 |
/Users/admin/builder/spi-builder-workspace/Sources/Swift/Core/Tools/SentryLog.swift:23:24: warning: static property 'logOutput' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | */
22 | static let alwaysLevel = SentryLevel.fatal
23 | private static var logOutput = SentryLogOutput()
| |- warning: static property 'logOutput' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logOutput' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'logOutput' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | private static var dateProvider: SentryCurrentDateProvider = SentryDefaultCurrentDateProvider()
25 |
/Users/admin/builder/spi-builder-workspace/Sources/Swift/Core/Tools/SentryLog.swift:24:24: warning: static property 'dateProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | static let alwaysLevel = SentryLevel.fatal
23 | private static var logOutput = SentryLogOutput()
24 | private static var dateProvider: SentryCurrentDateProvider = SentryDefaultCurrentDateProvider()
| |- warning: static property 'dateProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'dateProvider' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'dateProvider' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | static func _configure(_ isDebug: Bool, diagnosticLevel: SentryLevel) {
[22/54] Compiling SentryCoreSwift SentryLogOutput.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swift/Core/Tools/SentryLog.swift:16:29: warning: static property 'isDebug' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | @_spi(Private) public class SentryLog: NSObject {
15 |
16 | static private(set) var isDebug = true
| |- warning: static property 'isDebug' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isDebug' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'isDebug' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | static private(set) var diagnosticLevel = SentryLevel.error
18 |
/Users/admin/builder/spi-builder-workspace/Sources/Swift/Core/Tools/SentryLog.swift:17:29: warning: static property 'diagnosticLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | static private(set) var isDebug = true
17 | static private(set) var diagnosticLevel = SentryLevel.error
| |- warning: static property 'diagnosticLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'diagnosticLevel' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'diagnosticLevel' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Swift/Core/Tools/SentryLog.swift:22:16: warning: static property 'alwaysLevel' is not concurrency-safe because non-'Sendable' type 'SentryLevel' may have shared mutable state; this is an error in the Swift 6 language mode
20 | * Threshold log level to always log, regardless of the current configuration
21 | */
22 | static let alwaysLevel = SentryLevel.fatal
| |- warning: static property 'alwaysLevel' is not concurrency-safe because non-'Sendable' type 'SentryLevel' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'alwaysLevel' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | private static var logOutput = SentryLogOutput()
24 | private static var dateProvider: SentryCurrentDateProvider = SentryDefaultCurrentDateProvider()
/Users/admin/builder/spi-builder-workspace/Sources/Swift/Core/Helper/Log/SentryLevel.swift:4:13: note: consider making enum 'SentryLevel' conform to the 'Sendable' protocol
2 |
3 | @objc
4 | public enum SentryLevel: UInt {
| `- note: consider making enum 'SentryLevel' conform to the 'Sendable' protocol
5 | static let levelNames = ["none", "debug", "info", "warning", "error", "fatal"]
6 |
/Users/admin/builder/spi-builder-workspace/Sources/Swift/Core/Tools/SentryLog.swift:23:24: warning: static property 'logOutput' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | */
22 | static let alwaysLevel = SentryLevel.fatal
23 | private static var logOutput = SentryLogOutput()
| |- warning: static property 'logOutput' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logOutput' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'logOutput' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | private static var dateProvider: SentryCurrentDateProvider = SentryDefaultCurrentDateProvider()
25 |
/Users/admin/builder/spi-builder-workspace/Sources/Swift/Core/Tools/SentryLog.swift:24:24: warning: static property 'dateProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | static let alwaysLevel = SentryLevel.fatal
23 | private static var logOutput = SentryLogOutput()
24 | private static var dateProvider: SentryCurrentDateProvider = SentryDefaultCurrentDateProvider()
| |- warning: static property 'dateProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'dateProvider' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'dateProvider' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | static func _configure(_ isDebug: Bool, diagnosticLevel: SentryLevel) {
[23/54] Compiling SentryCoreSwift Locks.swift
[24/54] Compiling SentryCoreSwift NumberExtensions.swift
[25/54] Compiling SentryCoreSwift StringExtensions.swift
[26/54] Compiling SentryCoreSwift UIViewExtensions.swift
[27/54] Compiling SentryCoreSwift UIImageHelper.swift
[28/54] Compiling SentryCoreSwift URLSessionTaskHelper.swift
[29/54] Compiling SentryCoreSwift UrlSanitized.swift
[30/54] Compiling SentryCoreSwift SentryDefaultMaskRenderer.swift
[31/54] Compiling SentryCoreSwift SentryDefaultViewRenderer.swift
[32/54] Compiling SentryCoreSwift SentryGraphicsImageRenderer.swift
[33/54] Compiling SentryCoreSwift SentryMaskRenderer.swift
[34/54] Compiling SentryCoreSwift SentryMaskRendererV2.swift
[35/54] Compiling SentryCoreSwift SentryLevel.swift
[36/54] Compiling SentryCoreSwift SentryBaggageSerialization.swift
[37/54] Compiling SentryCoreSwift SentryCurrentDateProvider.swift
[38/54] Compiling SentryCoreSwift SentryFileContents.swift
[39/54] Compiling SentryCoreSwift SentryANRTracker.swift
[40/54] Compiling SentryCoreSwift SentryANRTrackerV2Delegate.swift
[41/54] Compiling SentryCoreSwift SentryANRType.swift
[42/54] Compiling SentryCoreSwift SentryFramesDelayResult.swift
[43/54] Compiling SentryCoreSwift SentryMXManager.swift
[44/54] Compiling SentryCoreSwift SentryId.swift
[45/54] Compiling SentryCoreSwift SentryRedactOptions.swift
[46/54] Compiling SentryCoreSwift SentryViewControllerBreadcrumbTracking.swift
[47/54] Compiling SentrySwiftUI SentrySpanOperation.swift
[48/54] Compiling SentrySwiftUI SentryReplayMaskPreview.swift
[49/54] Compiling SentrySwiftUI SentryReplayView.swift
[50/54] Compiling SentrySwiftUI SentryTraceOrigin.swift
[51/54] Emitting module SentrySwiftUI
/Users/admin/builder/spi-builder-workspace/Sources/SentrySwiftUI/SentryTracedView.swift:8:22: warning: using '@_implementationOnly' without enabling library evolution for 'SentrySwiftUI' may lead to instability during execution
6 |
7 | #if CARTHAGE || SWIFT_PACKAGE
8 | @_implementationOnly import SentryInternal
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SentrySwiftUI' may lead to instability during execution
9 | #endif
10 |
[52/54] Compiling SentrySwiftUI SentryReplayMaskPreviewUIView.swift
[53/54] Compiling SentrySwiftUI SentryTracedView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SentrySwiftUI/SentryTracedView.swift:8:22: warning: using '@_implementationOnly' without enabling library evolution for 'SentrySwiftUI' may lead to instability during execution
6 |
7 | #if CARTHAGE || SWIFT_PACKAGE
8 | @_implementationOnly import SentryInternal
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SentrySwiftUI' may lead to instability during execution
9 | #endif
10 |
/Users/admin/builder/spi-builder-workspace/Sources/SentrySwiftUI/SentryTracedView.swift:84:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
82 | // because it may happen before other view `body` property get called.
83 | DispatchQueue.main.async {
84 | self.finishSpan(transactionId)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
85 | }
86 | }
/Users/admin/builder/spi-builder-workspace/Sources/SentrySwiftUI/SentryTracedView.swift:84:33: warning: sending 'transactionId' risks causing data races; this is an error in the Swift 6 language mode
82 | // because it may happen before other view `body` property get called.
83 | DispatchQueue.main.async {
84 | self.finishSpan(transactionId)
| |- warning: sending 'transactionId' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'transactionId' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
85 | }
86 | }
[54/54] Compiling SentrySwiftUI PreviewRedactOptions.swift
Build complete! (11.79s)
Build complete.
{
"cxx_language_standard" : "c++14",
"dependencies" : [
],
"manifest_display_name" : "Sentry",
"name" : "Sentry",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "11.0"
},
{
"name" : "macos",
"version" : "10.13"
},
{
"name" : "tvos",
"version" : "11.0"
},
{
"name" : "watchos",
"version" : "4.0"
}
],
"products" : [
{
"name" : "Sentry",
"targets" : [
"Sentry"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Sentry-Dynamic",
"targets" : [
"Sentry-Dynamic"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SentrySwiftUI",
"targets" : [
"Sentry",
"SentrySwiftUI"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SentrySwiftUI",
"module_type" : "SwiftTarget",
"name" : "SentrySwiftUI",
"path" : "Sources/SentrySwiftUI",
"product_memberships" : [
"SentrySwiftUI"
],
"sources" : [
"Preview/PreviewRedactOptions.swift",
"Preview/SentryReplayMaskPreview.swift",
"Preview/SentryReplayMaskPreviewUIView.swift",
"SentryReplayView.swift",
"SentrySpanOperation.swift",
"SentryTraceOrigin.swift",
"SentryTracedView.swift"
],
"target_dependencies" : [
"Sentry",
"SentryInternal"
],
"type" : "library"
},
{
"c99name" : "SentryInternal",
"module_type" : "ClangTarget",
"name" : "SentryInternal",
"path" : "Sources/SentrySwiftUI",
"product_memberships" : [
"SentrySwiftUI"
],
"sources" : [
"SentryInternal/SentryInternal.m"
],
"type" : "library"
},
{
"c99name" : "SentryCoreSwift",
"module_type" : "SwiftTarget",
"name" : "SentryCoreSwift",
"path" : "Sources/Swift/Core",
"sources" : [
"Extensions/Locks.swift",
"Extensions/NumberExtensions.swift",
"Extensions/StringExtensions.swift",
"Extensions/UIViewExtensions.swift",
"Helper/Log/SentryLevel.swift",
"Helper/SentryBaggageSerialization.swift",
"Helper/SentryCurrentDateProvider.swift",
"Helper/SentryFileContents.swift",
"Integrations/ANR/SentryANRTracker.swift",
"Integrations/ANR/SentryANRTrackerV2Delegate.swift",
"Integrations/ANR/SentryANRType.swift",
"Integrations/FramesTracking/SentryFramesDelayResult.swift",
"Integrations/Performance/SentryProfileOptions.swift",
"Integrations/Performance/SentryTransactionNameSource.swift",
"Integrations/Performance/SwizzleClassNameExclude.swift",
"MetricKit/SentryMXCallStackTree.swift",
"MetricKit/SentryMXManager.swift",
"Protocol/SentryId.swift",
"Protocol/SentryRedactOptions.swift",
"Protocol/SentryViewControllerBreadcrumbTracking.swift",
"SwiftDescriptor.swift",
"Tools/HTTPHeaderSanitizer.swift",
"Tools/SentryLog.swift",
"Tools/SentryLogOutput.swift",
"Tools/UIImageHelper.swift",
"Tools/URLSessionTaskHelper.swift",
"Tools/UrlSanitized.swift",
"Tools/ViewCapture/SentryDefaultMaskRenderer.swift",
"Tools/ViewCapture/SentryDefaultViewRenderer.swift",
"Tools/ViewCapture/SentryGraphicsImageRenderer.swift",
"Tools/ViewCapture/SentryMaskRenderer.swift",
"Tools/ViewCapture/SentryMaskRendererV2.swift",
"Tools/ViewCapture/SentryRedactRegion.swift",
"Tools/ViewCapture/SentryRedactRegionType.swift",
"Tools/ViewCapture/SentryRedactViewHelper.swift",
"Tools/ViewCapture/SentryUIRedactBuilder.swift",
"Tools/ViewCapture/SentryViewPhotographer.swift",
"Tools/ViewCapture/SentryViewRenderer.swift",
"Tools/ViewCapture/SentryViewRendererV2.swift",
"Tools/ViewCapture/SentryViewScreenshotProvider.swift"
],
"type" : "library"
},
{
"c99name" : "Sentry_Dynamic",
"module_type" : "BinaryTarget",
"name" : "Sentry-Dynamic",
"path" : "remote/archive/Sentry-Dynamic.xcframework.zip",
"product_memberships" : [
"Sentry-Dynamic"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "Sentry",
"module_type" : "BinaryTarget",
"name" : "Sentry",
"path" : "remote/archive/Sentry.xcframework.zip",
"product_memberships" : [
"Sentry",
"SentrySwiftUI"
],
"sources" : [
],
"type" : "binary"
}
],
"tools_version" : "5.3"
}
Done.