Build Information
Successful build of SwiftAnalyticsKit, reference v1.0.0 (d03f68
), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 21:02:13 UTC.
Swift 6 data race errors: 11
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SwiftyLab/SwiftAnalyticsKit.git
Reference: v1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SwiftyLab/SwiftAnalyticsKit
* tag v1.0.0 -> FETCH_HEAD
HEAD is now at d03f688 chore(CHANGELOG): update for v1.0.0 [skip ci]
Cloned https://github.com/SwiftyLab/SwiftAnalyticsKit.git
Revision (git rev-parse @):
d03f688f1338fb9e5acfd0945051caaec022f3d8
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/SwiftyLab/SwiftAnalyticsKit.git at v1.0.0
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-format
[1/2038] Fetching swift-docc-plugin
[226/12258] Fetching swift-docc-plugin, swift-format
Fetched https://github.com/apple/swift-format from cache (1.42s)
Fetched https://github.com/apple/swift-docc-plugin from cache (1.42s)
Computing version for https://github.com/apple/swift-format
Computed https://github.com/apple/swift-format at 0.50700.1 (0.75s)
Fetching https://github.com/apple/swift-tools-support-core.git
Fetching https://github.com/apple/swift-syntax
Fetching https://github.com/apple/swift-argument-parser.git
[1/12353] Fetching swift-argument-parser
[125/18875] Fetching swift-argument-parser, swift-tools-support-core
[18876/85274] Fetching swift-argument-parser, swift-tools-support-core, swift-syntax
Fetched https://github.com/apple/swift-argument-parser.git from cache (3.38s)
Fetched https://github.com/apple/swift-syntax from cache (3.38s)
Fetched https://github.com/apple/swift-tools-support-core.git from cache (3.38s)
Computing version for https://github.com/apple/swift-tools-support-core.git
Computed https://github.com/apple/swift-tools-support-core.git at 0.2.7 (0.71s)
Fetching https://github.com/apple/swift-system.git
[1/3901] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (1.01s)
Computing version for https://github.com/apple/swift-syntax
Computed https://github.com/apple/swift-syntax at 0.50700.1 (0.77s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.1.4 (0.67s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.1.1 (0.62s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (0.66s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3153] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.25s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.69s)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.1.1
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/apple/swift-syntax
Working copy of https://github.com/apple/swift-syntax resolved at 0.50700.1
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.1.4
Creating working copy for https://github.com/apple/swift-tools-support-core.git
Working copy of https://github.com/apple/swift-tools-support-core.git resolved at 0.2.7
Creating working copy for https://github.com/apple/swift-format
Working copy of https://github.com/apple/swift-format resolved at 0.50700.1
[2747/20720765] Downloading https://github.com/apple/swift-syntax/releases/download/0.50700.1/_InternalSwiftSyntaxParser.xcframework.zip
Downloading binary artifact https://github.com/apple/swift-syntax/releases/download/0.50700.1/_InternalSwiftSyntaxParser.xcframework.zip
Downloaded https://github.com/apple/swift-syntax/releases/download/0.50700.1/_InternalSwiftSyntaxParser.xcframework.zip (2.48s)
========================================
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": "swiftanalyticskit",
"name": "SwiftAnalyticsKit",
"url": "https://github.com/SwiftyLab/SwiftAnalyticsKit.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftAnalyticsKit",
"dependencies": [
]
}
]
}
Fetching https://github.com/SwiftyLab/SwiftAnalyticsKit.git
[1/2918] Fetching swiftanalyticskit
Fetched https://github.com/SwiftyLab/SwiftAnalyticsKit.git from cache (1.23s)
Creating working copy for https://github.com/SwiftyLab/SwiftAnalyticsKit.git
Working copy of https://github.com/SwiftyLab/SwiftAnalyticsKit.git resolved at v1.0.0 (d03f688)
warning: '.resolve-product-dependencies': dependency 'swiftanalyticskit' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/SwiftyLab/SwiftAnalyticsKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
[1/1] Compiling plugin GenerateManualPlugin
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin Swift-DocC Preview
Building for debugging...
[3/6] Write sources
[5/6] Write swift-version--7754E27361AE5C74.txt
[7/24] Compiling Analytics SomeAnalyticsEvent.swift
/Users/admin/builder/spi-builder-workspace/Sources/Analytics/AnalyticsEvent/Properties/AnalyticsGroup.swift:16:23: warning: static property 'action' is not concurrency-safe because non-'Sendable' type 'AnalyticsGroup' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// ``AnalyticsEvent``s can be associated with either one or multiple groups
4 | /// to specify their handling by the analytics backend (``AnalyticsHandler``).
5 | public struct AnalyticsGroup: OptionSet, Hashable {
| `- note: consider making struct 'AnalyticsGroup' conform to the 'Sendable' protocol
6 | /// Appropriate for events that contain information normally of use only when
7 | /// tracing the execution of a program.
:
14 | /// Appropriate for events that contain information about action performed
15 | /// during the execution of a program.
16 | public static let action: Self = .init(rawValue: 1 << 3)
| |- warning: static property 'action' is not concurrency-safe because non-'Sendable' type 'AnalyticsGroup' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'action' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | /// Appropriate for events that contain information about the current state
18 | /// during the execution of a program.
[8/24] Compiling Analytics AnalyticsEncoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/Analytics/AnalyticsEvent/Properties/AnalyticsGroup.swift:16:23: warning: static property 'action' is not concurrency-safe because non-'Sendable' type 'AnalyticsGroup' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// ``AnalyticsEvent``s can be associated with either one or multiple groups
4 | /// to specify their handling by the analytics backend (``AnalyticsHandler``).
5 | public struct AnalyticsGroup: OptionSet, Hashable {
| `- note: consider making struct 'AnalyticsGroup' conform to the 'Sendable' protocol
6 | /// Appropriate for events that contain information normally of use only when
7 | /// tracing the execution of a program.
:
14 | /// Appropriate for events that contain information about action performed
15 | /// during the execution of a program.
16 | public static let action: Self = .init(rawValue: 1 << 3)
| |- warning: static property 'action' is not concurrency-safe because non-'Sendable' type 'AnalyticsGroup' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'action' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | /// Appropriate for events that contain information about the current state
18 | /// during the execution of a program.
[9/24] Compiling Analytics MultiplexAnalyticsHandler.swift
[10/24] Compiling Analytics AnyAnalyticsHandler.swift
[11/24] Compiling Analytics AnyHashableAnalyticsHandler.swift
[12/24] Compiling Analytics AnalyticsHandler.swift
[13/24] Compiling Analytics AnyAnalyticsEventHandler.swift
[14/24] Compiling Analytics EmptyMetadata.swift
[15/24] Compiling Analytics GlobalAnalyticsMetadata.swift
[16/24] Compiling Analytics AnalyticsMetadata.swift
[17/24] Compiling Analytics AnyMetadata.swift
[18/24] Compiling Analytics AnalyticsEvent.swift
/Users/admin/builder/spi-builder-workspace/Sources/Analytics/AnalyticsEvent/Properties/AnalyticsGroup.swift:16:23: warning: static property 'action' is not concurrency-safe because non-'Sendable' type 'AnalyticsGroup' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// ``AnalyticsEvent``s can be associated with either one or multiple groups
4 | /// to specify their handling by the analytics backend (``AnalyticsHandler``).
5 | public struct AnalyticsGroup: OptionSet, Hashable {
| `- note: consider making struct 'AnalyticsGroup' conform to the 'Sendable' protocol
6 | /// Appropriate for events that contain information normally of use only when
7 | /// tracing the execution of a program.
:
14 | /// Appropriate for events that contain information about action performed
15 | /// during the execution of a program.
16 | public static let action: Self = .init(rawValue: 1 << 3)
| |- warning: static property 'action' is not concurrency-safe because non-'Sendable' type 'AnalyticsGroup' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'action' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | /// Appropriate for events that contain information about the current state
18 | /// during the execution of a program.
[19/24] Compiling Analytics AnyAnalyticsEvent.swift
/Users/admin/builder/spi-builder-workspace/Sources/Analytics/AnalyticsEvent/Properties/AnalyticsGroup.swift:16:23: warning: static property 'action' is not concurrency-safe because non-'Sendable' type 'AnalyticsGroup' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// ``AnalyticsEvent``s can be associated with either one or multiple groups
4 | /// to specify their handling by the analytics backend (``AnalyticsHandler``).
5 | public struct AnalyticsGroup: OptionSet, Hashable {
| `- note: consider making struct 'AnalyticsGroup' conform to the 'Sendable' protocol
6 | /// Appropriate for events that contain information normally of use only when
7 | /// tracing the execution of a program.
:
14 | /// Appropriate for events that contain information about action performed
15 | /// during the execution of a program.
16 | public static let action: Self = .init(rawValue: 1 << 3)
| |- warning: static property 'action' is not concurrency-safe because non-'Sendable' type 'AnalyticsGroup' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'action' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | /// Appropriate for events that contain information about the current state
18 | /// during the execution of a program.
[20/24] Emitting module Analytics
/Users/admin/builder/spi-builder-workspace/Sources/Analytics/AnalyticsEvent/Properties/AnalyticsGroup.swift:16:23: warning: static property 'action' is not concurrency-safe because non-'Sendable' type 'AnalyticsGroup' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// ``AnalyticsEvent``s can be associated with either one or multiple groups
4 | /// to specify their handling by the analytics backend (``AnalyticsHandler``).
5 | public struct AnalyticsGroup: OptionSet, Hashable {
| `- note: consider making struct 'AnalyticsGroup' conform to the 'Sendable' protocol
6 | /// Appropriate for events that contain information normally of use only when
7 | /// tracing the execution of a program.
:
14 | /// Appropriate for events that contain information about action performed
15 | /// during the execution of a program.
16 | public static let action: Self = .init(rawValue: 1 << 3)
| |- warning: static property 'action' is not concurrency-safe because non-'Sendable' type 'AnalyticsGroup' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'action' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | /// Appropriate for events that contain information about the current state
18 | /// during the execution of a program.
/Users/admin/builder/spi-builder-workspace/Sources/Analytics/AnalyticsEvent/Properties/AnalyticsGroup.swift:8:23: warning: static property 'trace' is not concurrency-safe because non-'Sendable' type 'AnalyticsGroup' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// ``AnalyticsEvent``s can be associated with either one or multiple groups
4 | /// to specify their handling by the analytics backend (``AnalyticsHandler``).
5 | public struct AnalyticsGroup: OptionSet, Hashable {
| `- note: consider making struct 'AnalyticsGroup' conform to the 'Sendable' protocol
6 | /// Appropriate for events that contain information normally of use only when
7 | /// tracing the execution of a program.
8 | public static let trace: Self = .init(rawValue: 1 << 0)
| |- warning: static property 'trace' is not concurrency-safe because non-'Sendable' type 'AnalyticsGroup' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'trace' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | /// Appropriate for events that contain information normally of use only when
10 | /// debugging a program.
/Users/admin/builder/spi-builder-workspace/Sources/Analytics/AnalyticsEvent/Properties/AnalyticsGroup.swift:11:23: warning: static property 'debug' is not concurrency-safe because non-'Sendable' type 'AnalyticsGroup' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// ``AnalyticsEvent``s can be associated with either one or multiple groups
4 | /// to specify their handling by the analytics backend (``AnalyticsHandler``).
5 | public struct AnalyticsGroup: OptionSet, Hashable {
| `- note: consider making struct 'AnalyticsGroup' conform to the 'Sendable' protocol
6 | /// Appropriate for events that contain information normally of use only when
7 | /// tracing the execution of a program.
:
9 | /// Appropriate for events that contain information normally of use only when
10 | /// debugging a program.
11 | public static let debug: Self = .init(rawValue: 1 << 1)
| |- warning: static property 'debug' is not concurrency-safe because non-'Sendable' type 'AnalyticsGroup' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'debug' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | /// Appropriate for events that provide some global or user specific informations.
13 | public static let info: Self = .init(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/Analytics/AnalyticsEvent/Properties/AnalyticsGroup.swift:13:23: warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'AnalyticsGroup' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// ``AnalyticsEvent``s can be associated with either one or multiple groups
4 | /// to specify their handling by the analytics backend (``AnalyticsHandler``).
5 | public struct AnalyticsGroup: OptionSet, Hashable {
| `- note: consider making struct 'AnalyticsGroup' conform to the 'Sendable' protocol
6 | /// Appropriate for events that contain information normally of use only when
7 | /// tracing the execution of a program.
:
11 | public static let debug: Self = .init(rawValue: 1 << 1)
12 | /// Appropriate for events that provide some global or user specific informations.
13 | public static let info: Self = .init(rawValue: 1 << 2)
| |- warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'AnalyticsGroup' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'info' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | /// Appropriate for events that contain information about action performed
15 | /// during the execution of a program.
/Users/admin/builder/spi-builder-workspace/Sources/Analytics/AnalyticsEvent/Properties/AnalyticsGroup.swift:19:23: warning: static property 'state' is not concurrency-safe because non-'Sendable' type 'AnalyticsGroup' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// ``AnalyticsEvent``s can be associated with either one or multiple groups
4 | /// to specify their handling by the analytics backend (``AnalyticsHandler``).
5 | public struct AnalyticsGroup: OptionSet, Hashable {
| `- note: consider making struct 'AnalyticsGroup' conform to the 'Sendable' protocol
6 | /// Appropriate for events that contain information normally of use only when
7 | /// tracing the execution of a program.
:
17 | /// Appropriate for events that contain information about the current state
18 | /// during the execution of a program.
19 | public static let state: Self = .init(rawValue: 1 << 4)
| |- warning: static property 'state' is not concurrency-safe because non-'Sendable' type 'AnalyticsGroup' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'state' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | /// Appropriate for events that are not errors, but that may require
21 | /// special handling.
/Users/admin/builder/spi-builder-workspace/Sources/Analytics/AnalyticsEvent/Properties/AnalyticsGroup.swift:22:23: warning: static property 'notice' is not concurrency-safe because non-'Sendable' type 'AnalyticsGroup' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// ``AnalyticsEvent``s can be associated with either one or multiple groups
4 | /// to specify their handling by the analytics backend (``AnalyticsHandler``).
5 | public struct AnalyticsGroup: OptionSet, Hashable {
| `- note: consider making struct 'AnalyticsGroup' conform to the 'Sendable' protocol
6 | /// Appropriate for events that contain information normally of use only when
7 | /// tracing the execution of a program.
:
20 | /// Appropriate for events that are not errors, but that may require
21 | /// special handling.
22 | public static let notice: Self = .init(rawValue: 1 << 5)
| |- warning: static property 'notice' is not concurrency-safe because non-'Sendable' type 'AnalyticsGroup' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'notice' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | /// Appropriate for events that are not errors, but more severe than
24 | /// ``notice``.
/Users/admin/builder/spi-builder-workspace/Sources/Analytics/AnalyticsEvent/Properties/AnalyticsGroup.swift:25:23: warning: static property 'warning' is not concurrency-safe because non-'Sendable' type 'AnalyticsGroup' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// ``AnalyticsEvent``s can be associated with either one or multiple groups
4 | /// to specify their handling by the analytics backend (``AnalyticsHandler``).
5 | public struct AnalyticsGroup: OptionSet, Hashable {
| `- note: consider making struct 'AnalyticsGroup' conform to the 'Sendable' protocol
6 | /// Appropriate for events that contain information normally of use only when
7 | /// tracing the execution of a program.
:
23 | /// Appropriate for events that are not errors, but more severe than
24 | /// ``notice``.
25 | public static let warning: Self = .init(rawValue: 1 << 6)
| |- warning: static property 'warning' is not concurrency-safe because non-'Sendable' type 'AnalyticsGroup' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'warning' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | /// Appropriate for error events.
27 | public static let error: Self = .init(rawValue: 1 << 7)
/Users/admin/builder/spi-builder-workspace/Sources/Analytics/AnalyticsEvent/Properties/AnalyticsGroup.swift:27:23: warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'AnalyticsGroup' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// ``AnalyticsEvent``s can be associated with either one or multiple groups
4 | /// to specify their handling by the analytics backend (``AnalyticsHandler``).
5 | public struct AnalyticsGroup: OptionSet, Hashable {
| `- note: consider making struct 'AnalyticsGroup' conform to the 'Sendable' protocol
6 | /// Appropriate for events that contain information normally of use only when
7 | /// tracing the execution of a program.
:
25 | public static let warning: Self = .init(rawValue: 1 << 6)
26 | /// Appropriate for error events.
27 | public static let error: Self = .init(rawValue: 1 << 7)
| |- warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'AnalyticsGroup' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'error' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | /// Appropriate for critical errors that usually require immediate attention.
29 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Analytics/AnalyticsEvent/Properties/AnalyticsGroup.swift:34:23: warning: static property 'critical' is not concurrency-safe because non-'Sendable' type 'AnalyticsGroup' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// ``AnalyticsEvent``s can be associated with either one or multiple groups
4 | /// to specify their handling by the analytics backend (``AnalyticsHandler``).
5 | public struct AnalyticsGroup: OptionSet, Hashable {
| `- note: consider making struct 'AnalyticsGroup' conform to the 'Sendable' protocol
6 | /// Appropriate for events that contain information normally of use only when
7 | /// tracing the execution of a program.
:
32 | /// operations to capture system state (such as capturing stack traces) to facilitate
33 | /// debugging.
34 | public static let critical: Self = .init(rawValue: 1 << 8)
| |- warning: static property 'critical' is not concurrency-safe because non-'Sendable' type 'AnalyticsGroup' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'critical' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | /// Appropriate for events that contain private or sensitive information,
36 | /// that might require different handling.
/Users/admin/builder/spi-builder-workspace/Sources/Analytics/AnalyticsEvent/Properties/AnalyticsGroup.swift:37:23: warning: static property 'sensitive' is not concurrency-safe because non-'Sendable' type 'AnalyticsGroup' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// ``AnalyticsEvent``s can be associated with either one or multiple groups
4 | /// to specify their handling by the analytics backend (``AnalyticsHandler``).
5 | public struct AnalyticsGroup: OptionSet, Hashable {
| `- note: consider making struct 'AnalyticsGroup' conform to the 'Sendable' protocol
6 | /// Appropriate for events that contain information normally of use only when
7 | /// tracing the execution of a program.
:
35 | /// Appropriate for events that contain private or sensitive information,
36 | /// that might require different handling.
37 | public static let sensitive: Self = .init(rawValue: 1 << 9)
| |- warning: static property 'sensitive' is not concurrency-safe because non-'Sendable' type 'AnalyticsGroup' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sensitive' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | /// Default groups provided as part of this package.
/Users/admin/builder/spi-builder-workspace/Sources/Analytics/AnalyticsEvent/Properties/AnalyticsGroup.swift:40:16: warning: static property 'defaultGroups' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | /// Default groups provided as part of this package.
40 | static var defaultGroups: Self = [
| |- warning: static property 'defaultGroups' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultGroups' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultGroups' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | .trace, .debug,
42 | .info, .action, .state, .sensitive,
[21/24] Compiling Analytics AnalyticsGroup.swift
/Users/admin/builder/spi-builder-workspace/Sources/Analytics/AnalyticsEvent/Properties/AnalyticsGroup.swift:8:23: warning: static property 'trace' is not concurrency-safe because non-'Sendable' type 'AnalyticsGroup' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// ``AnalyticsEvent``s can be associated with either one or multiple groups
4 | /// to specify their handling by the analytics backend (``AnalyticsHandler``).
5 | public struct AnalyticsGroup: OptionSet, Hashable {
| `- note: consider making struct 'AnalyticsGroup' conform to the 'Sendable' protocol
6 | /// Appropriate for events that contain information normally of use only when
7 | /// tracing the execution of a program.
8 | public static let trace: Self = .init(rawValue: 1 << 0)
| |- warning: static property 'trace' is not concurrency-safe because non-'Sendable' type 'AnalyticsGroup' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'trace' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | /// Appropriate for events that contain information normally of use only when
10 | /// debugging a program.
/Users/admin/builder/spi-builder-workspace/Sources/Analytics/AnalyticsEvent/Properties/AnalyticsGroup.swift:11:23: warning: static property 'debug' is not concurrency-safe because non-'Sendable' type 'AnalyticsGroup' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// ``AnalyticsEvent``s can be associated with either one or multiple groups
4 | /// to specify their handling by the analytics backend (``AnalyticsHandler``).
5 | public struct AnalyticsGroup: OptionSet, Hashable {
| `- note: consider making struct 'AnalyticsGroup' conform to the 'Sendable' protocol
6 | /// Appropriate for events that contain information normally of use only when
7 | /// tracing the execution of a program.
:
9 | /// Appropriate for events that contain information normally of use only when
10 | /// debugging a program.
11 | public static let debug: Self = .init(rawValue: 1 << 1)
| |- warning: static property 'debug' is not concurrency-safe because non-'Sendable' type 'AnalyticsGroup' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'debug' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | /// Appropriate for events that provide some global or user specific informations.
13 | public static let info: Self = .init(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/Analytics/AnalyticsEvent/Properties/AnalyticsGroup.swift:13:23: warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'AnalyticsGroup' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// ``AnalyticsEvent``s can be associated with either one or multiple groups
4 | /// to specify their handling by the analytics backend (``AnalyticsHandler``).
5 | public struct AnalyticsGroup: OptionSet, Hashable {
| `- note: consider making struct 'AnalyticsGroup' conform to the 'Sendable' protocol
6 | /// Appropriate for events that contain information normally of use only when
7 | /// tracing the execution of a program.
:
11 | public static let debug: Self = .init(rawValue: 1 << 1)
12 | /// Appropriate for events that provide some global or user specific informations.
13 | public static let info: Self = .init(rawValue: 1 << 2)
| |- warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'AnalyticsGroup' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'info' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | /// Appropriate for events that contain information about action performed
15 | /// during the execution of a program.
/Users/admin/builder/spi-builder-workspace/Sources/Analytics/AnalyticsEvent/Properties/AnalyticsGroup.swift:16:23: warning: static property 'action' is not concurrency-safe because non-'Sendable' type 'AnalyticsGroup' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// ``AnalyticsEvent``s can be associated with either one or multiple groups
4 | /// to specify their handling by the analytics backend (``AnalyticsHandler``).
5 | public struct AnalyticsGroup: OptionSet, Hashable {
| `- note: consider making struct 'AnalyticsGroup' conform to the 'Sendable' protocol
6 | /// Appropriate for events that contain information normally of use only when
7 | /// tracing the execution of a program.
:
14 | /// Appropriate for events that contain information about action performed
15 | /// during the execution of a program.
16 | public static let action: Self = .init(rawValue: 1 << 3)
| |- warning: static property 'action' is not concurrency-safe because non-'Sendable' type 'AnalyticsGroup' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'action' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | /// Appropriate for events that contain information about the current state
18 | /// during the execution of a program.
/Users/admin/builder/spi-builder-workspace/Sources/Analytics/AnalyticsEvent/Properties/AnalyticsGroup.swift:19:23: warning: static property 'state' is not concurrency-safe because non-'Sendable' type 'AnalyticsGroup' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// ``AnalyticsEvent``s can be associated with either one or multiple groups
4 | /// to specify their handling by the analytics backend (``AnalyticsHandler``).
5 | public struct AnalyticsGroup: OptionSet, Hashable {
| `- note: consider making struct 'AnalyticsGroup' conform to the 'Sendable' protocol
6 | /// Appropriate for events that contain information normally of use only when
7 | /// tracing the execution of a program.
:
17 | /// Appropriate for events that contain information about the current state
18 | /// during the execution of a program.
19 | public static let state: Self = .init(rawValue: 1 << 4)
| |- warning: static property 'state' is not concurrency-safe because non-'Sendable' type 'AnalyticsGroup' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'state' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | /// Appropriate for events that are not errors, but that may require
21 | /// special handling.
/Users/admin/builder/spi-builder-workspace/Sources/Analytics/AnalyticsEvent/Properties/AnalyticsGroup.swift:22:23: warning: static property 'notice' is not concurrency-safe because non-'Sendable' type 'AnalyticsGroup' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// ``AnalyticsEvent``s can be associated with either one or multiple groups
4 | /// to specify their handling by the analytics backend (``AnalyticsHandler``).
5 | public struct AnalyticsGroup: OptionSet, Hashable {
| `- note: consider making struct 'AnalyticsGroup' conform to the 'Sendable' protocol
6 | /// Appropriate for events that contain information normally of use only when
7 | /// tracing the execution of a program.
:
20 | /// Appropriate for events that are not errors, but that may require
21 | /// special handling.
22 | public static let notice: Self = .init(rawValue: 1 << 5)
| |- warning: static property 'notice' is not concurrency-safe because non-'Sendable' type 'AnalyticsGroup' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'notice' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | /// Appropriate for events that are not errors, but more severe than
24 | /// ``notice``.
/Users/admin/builder/spi-builder-workspace/Sources/Analytics/AnalyticsEvent/Properties/AnalyticsGroup.swift:25:23: warning: static property 'warning' is not concurrency-safe because non-'Sendable' type 'AnalyticsGroup' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// ``AnalyticsEvent``s can be associated with either one or multiple groups
4 | /// to specify their handling by the analytics backend (``AnalyticsHandler``).
5 | public struct AnalyticsGroup: OptionSet, Hashable {
| `- note: consider making struct 'AnalyticsGroup' conform to the 'Sendable' protocol
6 | /// Appropriate for events that contain information normally of use only when
7 | /// tracing the execution of a program.
:
23 | /// Appropriate for events that are not errors, but more severe than
24 | /// ``notice``.
25 | public static let warning: Self = .init(rawValue: 1 << 6)
| |- warning: static property 'warning' is not concurrency-safe because non-'Sendable' type 'AnalyticsGroup' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'warning' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | /// Appropriate for error events.
27 | public static let error: Self = .init(rawValue: 1 << 7)
/Users/admin/builder/spi-builder-workspace/Sources/Analytics/AnalyticsEvent/Properties/AnalyticsGroup.swift:27:23: warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'AnalyticsGroup' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// ``AnalyticsEvent``s can be associated with either one or multiple groups
4 | /// to specify their handling by the analytics backend (``AnalyticsHandler``).
5 | public struct AnalyticsGroup: OptionSet, Hashable {
| `- note: consider making struct 'AnalyticsGroup' conform to the 'Sendable' protocol
6 | /// Appropriate for events that contain information normally of use only when
7 | /// tracing the execution of a program.
:
25 | public static let warning: Self = .init(rawValue: 1 << 6)
26 | /// Appropriate for error events.
27 | public static let error: Self = .init(rawValue: 1 << 7)
| |- warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'AnalyticsGroup' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'error' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | /// Appropriate for critical errors that usually require immediate attention.
29 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Analytics/AnalyticsEvent/Properties/AnalyticsGroup.swift:34:23: warning: static property 'critical' is not concurrency-safe because non-'Sendable' type 'AnalyticsGroup' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// ``AnalyticsEvent``s can be associated with either one or multiple groups
4 | /// to specify their handling by the analytics backend (``AnalyticsHandler``).
5 | public struct AnalyticsGroup: OptionSet, Hashable {
| `- note: consider making struct 'AnalyticsGroup' conform to the 'Sendable' protocol
6 | /// Appropriate for events that contain information normally of use only when
7 | /// tracing the execution of a program.
:
32 | /// operations to capture system state (such as capturing stack traces) to facilitate
33 | /// debugging.
34 | public static let critical: Self = .init(rawValue: 1 << 8)
| |- warning: static property 'critical' is not concurrency-safe because non-'Sendable' type 'AnalyticsGroup' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'critical' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | /// Appropriate for events that contain private or sensitive information,
36 | /// that might require different handling.
/Users/admin/builder/spi-builder-workspace/Sources/Analytics/AnalyticsEvent/Properties/AnalyticsGroup.swift:37:23: warning: static property 'sensitive' is not concurrency-safe because non-'Sendable' type 'AnalyticsGroup' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// ``AnalyticsEvent``s can be associated with either one or multiple groups
4 | /// to specify their handling by the analytics backend (``AnalyticsHandler``).
5 | public struct AnalyticsGroup: OptionSet, Hashable {
| `- note: consider making struct 'AnalyticsGroup' conform to the 'Sendable' protocol
6 | /// Appropriate for events that contain information normally of use only when
7 | /// tracing the execution of a program.
:
35 | /// Appropriate for events that contain private or sensitive information,
36 | /// that might require different handling.
37 | public static let sensitive: Self = .init(rawValue: 1 << 9)
| |- warning: static property 'sensitive' is not concurrency-safe because non-'Sendable' type 'AnalyticsGroup' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sensitive' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | /// Default groups provided as part of this package.
/Users/admin/builder/spi-builder-workspace/Sources/Analytics/AnalyticsEvent/Properties/AnalyticsGroup.swift:40:16: warning: static property 'defaultGroups' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | /// Default groups provided as part of this package.
40 | static var defaultGroups: Self = [
| |- warning: static property 'defaultGroups' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultGroups' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultGroups' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | .trace, .debug,
42 | .info, .action, .state, .sensitive,
[22/24] Compiling Analytics RawAnalyticsEvent.swift
/Users/admin/builder/spi-builder-workspace/Sources/Analytics/AnalyticsEvent/Properties/AnalyticsGroup.swift:8:23: warning: static property 'trace' is not concurrency-safe because non-'Sendable' type 'AnalyticsGroup' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// ``AnalyticsEvent``s can be associated with either one or multiple groups
4 | /// to specify their handling by the analytics backend (``AnalyticsHandler``).
5 | public struct AnalyticsGroup: OptionSet, Hashable {
| `- note: consider making struct 'AnalyticsGroup' conform to the 'Sendable' protocol
6 | /// Appropriate for events that contain information normally of use only when
7 | /// tracing the execution of a program.
8 | public static let trace: Self = .init(rawValue: 1 << 0)
| |- warning: static property 'trace' is not concurrency-safe because non-'Sendable' type 'AnalyticsGroup' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'trace' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | /// Appropriate for events that contain information normally of use only when
10 | /// debugging a program.
/Users/admin/builder/spi-builder-workspace/Sources/Analytics/AnalyticsEvent/Properties/AnalyticsGroup.swift:11:23: warning: static property 'debug' is not concurrency-safe because non-'Sendable' type 'AnalyticsGroup' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// ``AnalyticsEvent``s can be associated with either one or multiple groups
4 | /// to specify their handling by the analytics backend (``AnalyticsHandler``).
5 | public struct AnalyticsGroup: OptionSet, Hashable {
| `- note: consider making struct 'AnalyticsGroup' conform to the 'Sendable' protocol
6 | /// Appropriate for events that contain information normally of use only when
7 | /// tracing the execution of a program.
:
9 | /// Appropriate for events that contain information normally of use only when
10 | /// debugging a program.
11 | public static let debug: Self = .init(rawValue: 1 << 1)
| |- warning: static property 'debug' is not concurrency-safe because non-'Sendable' type 'AnalyticsGroup' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'debug' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | /// Appropriate for events that provide some global or user specific informations.
13 | public static let info: Self = .init(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/Analytics/AnalyticsEvent/Properties/AnalyticsGroup.swift:13:23: warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'AnalyticsGroup' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// ``AnalyticsEvent``s can be associated with either one or multiple groups
4 | /// to specify their handling by the analytics backend (``AnalyticsHandler``).
5 | public struct AnalyticsGroup: OptionSet, Hashable {
| `- note: consider making struct 'AnalyticsGroup' conform to the 'Sendable' protocol
6 | /// Appropriate for events that contain information normally of use only when
7 | /// tracing the execution of a program.
:
11 | public static let debug: Self = .init(rawValue: 1 << 1)
12 | /// Appropriate for events that provide some global or user specific informations.
13 | public static let info: Self = .init(rawValue: 1 << 2)
| |- warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'AnalyticsGroup' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'info' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | /// Appropriate for events that contain information about action performed
15 | /// during the execution of a program.
/Users/admin/builder/spi-builder-workspace/Sources/Analytics/AnalyticsEvent/Properties/AnalyticsGroup.swift:16:23: warning: static property 'action' is not concurrency-safe because non-'Sendable' type 'AnalyticsGroup' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// ``AnalyticsEvent``s can be associated with either one or multiple groups
4 | /// to specify their handling by the analytics backend (``AnalyticsHandler``).
5 | public struct AnalyticsGroup: OptionSet, Hashable {
| `- note: consider making struct 'AnalyticsGroup' conform to the 'Sendable' protocol
6 | /// Appropriate for events that contain information normally of use only when
7 | /// tracing the execution of a program.
:
14 | /// Appropriate for events that contain information about action performed
15 | /// during the execution of a program.
16 | public static let action: Self = .init(rawValue: 1 << 3)
| |- warning: static property 'action' is not concurrency-safe because non-'Sendable' type 'AnalyticsGroup' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'action' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | /// Appropriate for events that contain information about the current state
18 | /// during the execution of a program.
/Users/admin/builder/spi-builder-workspace/Sources/Analytics/AnalyticsEvent/Properties/AnalyticsGroup.swift:19:23: warning: static property 'state' is not concurrency-safe because non-'Sendable' type 'AnalyticsGroup' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// ``AnalyticsEvent``s can be associated with either one or multiple groups
4 | /// to specify their handling by the analytics backend (``AnalyticsHandler``).
5 | public struct AnalyticsGroup: OptionSet, Hashable {
| `- note: consider making struct 'AnalyticsGroup' conform to the 'Sendable' protocol
6 | /// Appropriate for events that contain information normally of use only when
7 | /// tracing the execution of a program.
:
17 | /// Appropriate for events that contain information about the current state
18 | /// during the execution of a program.
19 | public static let state: Self = .init(rawValue: 1 << 4)
| |- warning: static property 'state' is not concurrency-safe because non-'Sendable' type 'AnalyticsGroup' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'state' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | /// Appropriate for events that are not errors, but that may require
21 | /// special handling.
/Users/admin/builder/spi-builder-workspace/Sources/Analytics/AnalyticsEvent/Properties/AnalyticsGroup.swift:22:23: warning: static property 'notice' is not concurrency-safe because non-'Sendable' type 'AnalyticsGroup' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// ``AnalyticsEvent``s can be associated with either one or multiple groups
4 | /// to specify their handling by the analytics backend (``AnalyticsHandler``).
5 | public struct AnalyticsGroup: OptionSet, Hashable {
| `- note: consider making struct 'AnalyticsGroup' conform to the 'Sendable' protocol
6 | /// Appropriate for events that contain information normally of use only when
7 | /// tracing the execution of a program.
:
20 | /// Appropriate for events that are not errors, but that may require
21 | /// special handling.
22 | public static let notice: Self = .init(rawValue: 1 << 5)
| |- warning: static property 'notice' is not concurrency-safe because non-'Sendable' type 'AnalyticsGroup' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'notice' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | /// Appropriate for events that are not errors, but more severe than
24 | /// ``notice``.
/Users/admin/builder/spi-builder-workspace/Sources/Analytics/AnalyticsEvent/Properties/AnalyticsGroup.swift:25:23: warning: static property 'warning' is not concurrency-safe because non-'Sendable' type 'AnalyticsGroup' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// ``AnalyticsEvent``s can be associated with either one or multiple groups
4 | /// to specify their handling by the analytics backend (``AnalyticsHandler``).
5 | public struct AnalyticsGroup: OptionSet, Hashable {
| `- note: consider making struct 'AnalyticsGroup' conform to the 'Sendable' protocol
6 | /// Appropriate for events that contain information normally of use only when
7 | /// tracing the execution of a program.
:
23 | /// Appropriate for events that are not errors, but more severe than
24 | /// ``notice``.
25 | public static let warning: Self = .init(rawValue: 1 << 6)
| |- warning: static property 'warning' is not concurrency-safe because non-'Sendable' type 'AnalyticsGroup' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'warning' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | /// Appropriate for error events.
27 | public static let error: Self = .init(rawValue: 1 << 7)
/Users/admin/builder/spi-builder-workspace/Sources/Analytics/AnalyticsEvent/Properties/AnalyticsGroup.swift:27:23: warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'AnalyticsGroup' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// ``AnalyticsEvent``s can be associated with either one or multiple groups
4 | /// to specify their handling by the analytics backend (``AnalyticsHandler``).
5 | public struct AnalyticsGroup: OptionSet, Hashable {
| `- note: consider making struct 'AnalyticsGroup' conform to the 'Sendable' protocol
6 | /// Appropriate for events that contain information normally of use only when
7 | /// tracing the execution of a program.
:
25 | public static let warning: Self = .init(rawValue: 1 << 6)
26 | /// Appropriate for error events.
27 | public static let error: Self = .init(rawValue: 1 << 7)
| |- warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'AnalyticsGroup' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'error' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | /// Appropriate for critical errors that usually require immediate attention.
29 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Analytics/AnalyticsEvent/Properties/AnalyticsGroup.swift:34:23: warning: static property 'critical' is not concurrency-safe because non-'Sendable' type 'AnalyticsGroup' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// ``AnalyticsEvent``s can be associated with either one or multiple groups
4 | /// to specify their handling by the analytics backend (``AnalyticsHandler``).
5 | public struct AnalyticsGroup: OptionSet, Hashable {
| `- note: consider making struct 'AnalyticsGroup' conform to the 'Sendable' protocol
6 | /// Appropriate for events that contain information normally of use only when
7 | /// tracing the execution of a program.
:
32 | /// operations to capture system state (such as capturing stack traces) to facilitate
33 | /// debugging.
34 | public static let critical: Self = .init(rawValue: 1 << 8)
| |- warning: static property 'critical' is not concurrency-safe because non-'Sendable' type 'AnalyticsGroup' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'critical' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | /// Appropriate for events that contain private or sensitive information,
36 | /// that might require different handling.
/Users/admin/builder/spi-builder-workspace/Sources/Analytics/AnalyticsEvent/Properties/AnalyticsGroup.swift:37:23: warning: static property 'sensitive' is not concurrency-safe because non-'Sendable' type 'AnalyticsGroup' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// ``AnalyticsEvent``s can be associated with either one or multiple groups
4 | /// to specify their handling by the analytics backend (``AnalyticsHandler``).
5 | public struct AnalyticsGroup: OptionSet, Hashable {
| `- note: consider making struct 'AnalyticsGroup' conform to the 'Sendable' protocol
6 | /// Appropriate for events that contain information normally of use only when
7 | /// tracing the execution of a program.
:
35 | /// Appropriate for events that contain private or sensitive information,
36 | /// that might require different handling.
37 | public static let sensitive: Self = .init(rawValue: 1 << 9)
| |- warning: static property 'sensitive' is not concurrency-safe because non-'Sendable' type 'AnalyticsGroup' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sensitive' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | /// Default groups provided as part of this package.
/Users/admin/builder/spi-builder-workspace/Sources/Analytics/AnalyticsEvent/Properties/AnalyticsGroup.swift:40:16: warning: static property 'defaultGroups' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | /// Default groups provided as part of this package.
40 | static var defaultGroups: Self = [
| |- warning: static property 'defaultGroups' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultGroups' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultGroups' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | .trace, .debug,
42 | .info, .action, .state, .sensitive,
[23/24] Compiling Analytics Initializable.swift
[24/24] Compiling Analytics AnalyticsConfiguration.swift
[25/25] Compiling Analytics MultiplexAnyAnalyticsHandler.swift
[26/31] Compiling AnalyticsMock StandardDictionaryEncoder.swift
[27/31] Compiling AnalyticsMock AnalyticsOrderedExpectationHandler.swift
[28/31] Compiling AnalyticsMock AnalyticsSingleExpectationHandler.swift
[29/31] Compiling AnalyticsMock AnalyticsExpectationHandler.swift
[30/31] Compiling AnalyticsMock AnalyticsExpectation.swift
[31/31] Emitting module AnalyticsMock
Build complete! (32.89s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
},
{
"identity" : "swift-format",
"requirement" : {
"range" : [
{
"lower_bound" : "0.50700.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-format"
}
],
"manifest_display_name" : "SwiftAnalyticsKit",
"name" : "SwiftAnalyticsKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "8.0"
},
{
"name" : "macos",
"version" : "10.10"
},
{
"name" : "tvos",
"version" : "9.0"
},
{
"name" : "watchos",
"version" : "2.0"
},
{
"name" : "maccatalyst",
"version" : "13.0"
}
],
"products" : [
{
"name" : "Analytics",
"targets" : [
"Analytics"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "AnalyticsMock",
"targets" : [
"AnalyticsMock"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "AnalyticsTests",
"module_type" : "SwiftTarget",
"name" : "AnalyticsTests",
"path" : "Tests/AnalyticsTests",
"sources" : [
"AnalyticsEventTests.swift",
"AnalyticsOrderedExpectationHandlerTests.swift",
"AnalyticsSingleExpectationHandlerTests.swift",
"AnyAnalyticsEventTests.swift",
"AnyAnalyticsHandlerTests.swift",
"MultiplexAnalyticsHandlerTests.swift",
"MultiplexAnyAnalyticsHandlerTests.swift",
"SomeAnalyticsEventTests.swift",
"StandardDictionaryEncoderTests.swift",
"StandardEvents.swift"
],
"target_dependencies" : [
"Analytics",
"AnalyticsMock"
],
"type" : "test"
},
{
"c99name" : "AnalyticsMock",
"module_type" : "SwiftTarget",
"name" : "AnalyticsMock",
"path" : "Sources/AnalyticsMock",
"product_memberships" : [
"AnalyticsMock"
],
"sources" : [
"AnalyticsExpectation.swift",
"AnalyticsExpectationHandler.swift",
"AnalyticsOrderedExpectationHandler.swift",
"AnalyticsSingleExpectationHandler.swift",
"StandardDictionaryEncoder.swift"
],
"target_dependencies" : [
"Analytics"
],
"type" : "library"
},
{
"c99name" : "Analytics",
"module_type" : "SwiftTarget",
"name" : "Analytics",
"path" : "Sources/Analytics",
"product_memberships" : [
"Analytics",
"AnalyticsMock"
],
"sources" : [
"AnalyticsEvent/AnalyticsEvent.swift",
"AnalyticsEvent/AnyAnalyticsEvent.swift",
"AnalyticsEvent/Metadata/AnalyticsMetadata.swift",
"AnalyticsEvent/Metadata/AnyMetadata.swift",
"AnalyticsEvent/Metadata/EmptyMetadata.swift",
"AnalyticsEvent/Metadata/GlobalAnalyticsMetadata.swift",
"AnalyticsEvent/Metadata/Initializable.swift",
"AnalyticsEvent/Properties/AnalyticsConfiguration.swift",
"AnalyticsEvent/Properties/AnalyticsGroup.swift",
"AnalyticsEvent/RawAnalyticsEvent.swift",
"AnalyticsEvent/SomeAnalyticsEvent.swift",
"AnalyticsHandler/AnalyticsEncoder.swift",
"AnalyticsHandler/AnalyticsHandler.swift",
"AnalyticsHandler/AnyAnalyticsEventHandler.swift",
"AnalyticsHandler/AnyAnalyticsHandler.swift",
"AnalyticsHandler/AnyHashableAnalyticsHandler.swift",
"AnalyticsHandler/MultiplexAnalyticsHandler.swift",
"AnalyticsHandler/MultiplexAnyAnalyticsHandler.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
✅ Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path: $PWD/.docs/swiftylab/swiftanalyticskit/v1.0.0
Repository: SwiftyLab/SwiftAnalyticsKit
Swift version used: 6.0
Target: Analytics
error: 'spi-builder-workspace': 'spi-builder-workspace' dependency on 'https://github.com/swiftlang/swift-docc-plugin' conflicts with dependency on 'https://github.com/apple/swift-docc-plugin' which has the same identity 'swift-docc-plugin'
error: 'spi-builder-workspace': 'spi-builder-workspace' dependency on 'https://github.com/swiftlang/swift-docc-plugin' conflicts with dependency on 'https://github.com/apple/swift-docc-plugin' which has the same identity 'swift-docc-plugin'
Error while generating docs: retryLimitExceeded(lastError: Optional(Shell command failed:
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift package --allow-writing-to-directory .docs/swiftylab/swiftanalyticskit/v1.0.0 generate-documentation --emit-digest --disable-indexing --output-path .docs/swiftylab/swiftanalyticskit/v1.0.0 --hosting-base-path swiftylab/swiftanalyticskit/v1.0.0 --source-service github --source-service-base-url https://github.com/SwiftyLab/SwiftAnalyticsKit/blob/v1.0.0 --checkout-path $PWD --target Analytics))
✅ Doc result (failed) reported
Done.