Build Information
Successful build of SwiftAnalyticsKit, reference main (89425b
), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 21:02:32 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: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SwiftyLab/SwiftAnalyticsKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 89425b8 chore(SwiftPackageIndex): remove string interpolation from dependency URL
Cloned https://github.com/SwiftyLab/SwiftAnalyticsKit.git
Revision (git rev-parse @):
89425b8053662dec097db7a3dfe10d689436bc7c
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/SwiftyLab/SwiftAnalyticsKit.git at main
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.44s)
Fetched https://github.com/apple/swift-docc-plugin from cache (1.44s)
Computing version for https://github.com/apple/swift-format
Computed https://github.com/apple/swift-format at 0.50700.1 (0.70s)
Fetching https://github.com/apple/swift-tools-support-core.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-syntax
[1/12353] Fetching swift-argument-parser
[249/18875] Fetching swift-argument-parser, swift-tools-support-core
Fetched https://github.com/apple/swift-tools-support-core.git from cache (1.52s)
[1/66399] Fetching swift-syntax
Fetched https://github.com/apple/swift-argument-parser.git from cache (3.48s)
Fetched https://github.com/apple/swift-syntax from cache (3.48s)
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.69s)
Fetching https://github.com/apple/swift-system.git
[1/3901] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (1.04s)
Computing version for https://github.com/apple/swift-syntax
Computed https://github.com/apple/swift-syntax at 0.50700.1 (0.78s)
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.66s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.1.1 (0.65s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (0.64s)
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.28s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.65s)
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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.1.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/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-format
Working copy of https://github.com/apple/swift-format resolved at 0.50700.1
Creating working copy for https://github.com/apple/swift-syntax
Working copy of https://github.com/apple/swift-syntax resolved at 0.50700.1
[4125/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.38s)
========================================
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.22s)
Creating working copy for https://github.com/SwiftyLab/SwiftAnalyticsKit.git
Working copy of https://github.com/SwiftyLab/SwiftAnalyticsKit.git resolved at main (89425b8)
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 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.
[8/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.
[9/25] Compiling Analytics MultiplexAnyAnalyticsHandler.swift
[10/25] Compiling Analytics MultiplexAnalyticsHandler.swift
[11/25] Compiling Analytics AnalyticsMetadata.swift
[12/25] Compiling Analytics AnyMetadata.swift
[13/25] 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,
[14/25] Compiling Analytics Initializable.swift
[15/25] Compiling Analytics AnalyticsConfiguration.swift
[16/25] Compiling Analytics EmptyMetadata.swift
[17/25] Compiling Analytics GlobalAnalyticsMetadata.swift
[18/25] 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.
[19/25] 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.
[20/25] 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,
[21/25] 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,
[22/25] Compiling Analytics AnalyticsHandler.swift
[23/25] Compiling Analytics AnyAnalyticsEventHandler.swift
[24/25] Compiling Analytics AnyAnalyticsHandler.swift
[25/25] Compiling Analytics AnyHashableAnalyticsHandler.swift
[26/31] Emitting module AnalyticsMock
[27/31] Compiling AnalyticsMock AnalyticsExpectationHandler.swift
[28/31] Compiling AnalyticsMock AnalyticsOrderedExpectationHandler.swift
[29/31] Compiling AnalyticsMock AnalyticsExpectation.swift
[30/31] Compiling AnalyticsMock AnalyticsSingleExpectationHandler.swift
[31/31] Compiling AnalyticsMock StandardDictionaryEncoder.swift
Build complete! (33.63s)
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/main
Repository: SwiftyLab/SwiftAnalyticsKit
Swift version used: 6.0
.package(url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0"),
Target: Analytics
Extracting symbol information for 'Analytics'...
Finished extracting symbol information for 'Analytics'. (3.84s)
Building documentation for 'Analytics'...
warning: This documentation block is inherited by other symbols where 'configuration-98oi3' fails to resolve.
--> ../AnalyticsEvent/AnalyticsEvent.swift:109:25-109:48
107 | public extension AnalyticsEvent {
108 | /// Fires event with associated metadata and the provided handler
109 + /// for tracking to ``configuration-98oi3`` to apply some post processing.
| ╰─suggestion: Use an absolute link path.
110 | ///
111 | /// - Parameters:
warning: This documentation block is inherited by other symbols where 'configuration-98oi3' fails to resolve.
--> ../AnalyticsEvent/AnalyticsEvent.swift:109:25-109:48
107 | public extension AnalyticsEvent {
108 | /// Fires event with associated metadata and the provided handler
109 + /// for tracking to ``configuration-98oi3`` to apply some post processing.
| ╰─suggestion: Use an absolute link path.
110 | ///
111 | /// - Parameters:
warning: This documentation block is inherited by other symbols where 'configuration-98oi3' fails to resolve.
--> ../AnalyticsEvent/AnalyticsEvent.swift:123:21-123:44
121 |
122 | /// Fires event with the provided handler for tracking and initialized
123 + /// metadata to ``configuration-98oi3`` to apply some post processing.
| ╰─suggestion: Use an absolute link path.
124 | ///
125 | /// - Parameter handler: The handler that will track this event.
warning: This documentation block is inherited by other symbols where 'configuration-98oi3' fails to resolve.
--> ../AnalyticsEvent/AnalyticsEvent.swift:123:21-123:44
121 |
122 | /// Fires event with the provided handler for tracking and initialized
123 + /// metadata to ``configuration-98oi3`` to apply some post processing.
| ╰─suggestion: Use an absolute link path.
124 | ///
125 | /// - Parameter handler: The handler that will track this event.
warning: Return value documented for initializer returning void
--> ../AnalyticsEvent/Properties/AnalyticsGroup.swift:61:9-61:54
59 | ///
60 | /// - Parameter rawValue: The raw value of the group to create.
61 + /// - Returns: The newly created analytics group.
| ╰─suggestion: Remove return value documentation
62 | public init(rawValue: UInt) {
63 | self.rawValue = rawValue
warning: Parameter 'group' not found in initializer declaration
--> ../AnalyticsEvent/RawAnalyticsEvent.swift:52:11-52:69
50 | /// - Parameters:
51 | /// - name: The event name.
52 + /// - group: The group or set of groups event associated with.
| ╰─suggestion: Remove 'group' parameter documentation
53 | /// - configuration: The configuration of event.
54 | init(name: Name) {
warning: Parameter 'group' not found in initializer declaration
--> ../AnalyticsEvent/RawAnalyticsEvent.swift:52:11-52:69
50 | /// - Parameters:
51 | /// - name: The event name.
52 + /// - group: The group or set of groups event associated with.
| ╰─suggestion: Remove 'group' parameter documentation
53 | /// - configuration: The configuration of event.
54 | init(name: Name) {
warning: Parameter 'group' not found in initializer declaration
--> ../AnalyticsEvent/RawAnalyticsEvent.swift:52:11-52:69
50 | /// - Parameters:
51 | /// - name: The event name.
52 + /// - group: The group or set of groups event associated with.
| ╰─suggestion: Remove 'group' parameter documentation
53 | /// - configuration: The configuration of event.
54 | init(name: Name) {
warning: Parameter 'configuration' not found in initializer declaration
--> ../AnalyticsEvent/RawAnalyticsEvent.swift:53:11-53:55
51 | /// - name: The event name.
52 | /// - group: The group or set of groups event associated with.
53 + /// - configuration: The configuration of event.
| ╰─suggestion: Remove 'configuration' parameter documentation
54 | init(name: Name) {
55 | self.init(
warning: Parameter 'configuration' not found in initializer declaration
--> ../AnalyticsEvent/RawAnalyticsEvent.swift:53:11-53:55
51 | /// - name: The event name.
52 | /// - group: The group or set of groups event associated with.
53 + /// - configuration: The configuration of event.
| ╰─suggestion: Remove 'configuration' parameter documentation
54 | init(name: Name) {
55 | self.init(
warning: Parameter 'configuration' not found in initializer declaration
--> ../AnalyticsEvent/RawAnalyticsEvent.swift:53:11-53:55
51 | /// - name: The event name.
52 | /// - group: The group or set of groups event associated with.
53 + /// - configuration: The configuration of event.
| ╰─suggestion: Remove 'configuration' parameter documentation
54 | init(name: Name) {
55 | self.init(Finished building documentation for 'Analytics' (0.20s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/swiftylab/swiftanalyticskit/main
Building for debugging...
[0/8] Write sources
[2/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version--7754E27361AE5C74.txt
[6/53] Compiling SymbolKit Mixin+Equals.swift
[7/53] Compiling SymbolKit Mixin+Hash.swift
[8/53] Compiling SymbolKit Mixin.swift
[9/53] Compiling SymbolKit LineList.swift
[10/53] Compiling SymbolKit Position.swift
[11/57] Compiling SymbolKit GenericConstraint.swift
[12/57] Compiling SymbolKit GenericParameter.swift
[13/57] Compiling SymbolKit Generics.swift
[14/57] Compiling SymbolKit Namespace.swift
[15/57] Compiling SymbolKit SemanticVersion.swift
[16/57] Compiling SymbolKit AccessControl.swift
[17/57] Compiling SymbolKit Availability.swift
[18/57] Compiling SymbolKit AvailabilityItem.swift
[19/57] Compiling SymbolKit Domain.swift
[20/57] Compiling SymbolKit SourceRange.swift
[21/57] Compiling SymbolKit Metadata.swift
[22/57] Compiling SymbolKit Module.swift
[23/57] Compiling SymbolKit OperatingSystem.swift
[24/57] Compiling SymbolKit Platform.swift
[25/57] Compiling SymbolKit Symbol.swift
[26/57] Compiling SymbolKit SymbolKind.swift
[27/57] Compiling SymbolKit SymbolGraph.swift
[28/57] Compiling SymbolKit GraphCollector.swift
[29/57] Compiling SymbolKit Names.swift
[30/57] Compiling SymbolKit SPI.swift
[31/57] Compiling SymbolKit Snippet.swift
[32/57] Compiling SymbolKit Extension.swift
[33/57] Compiling SymbolKit Identifier.swift
[34/57] Compiling SymbolKit KindIdentifier.swift
[35/57] Compiling SymbolKit Location.swift
[36/57] Compiling SymbolKit Mutability.swift
[37/57] Compiling SymbolKit DeclarationFragments.swift
[38/57] Compiling SymbolKit Fragment.swift
[39/57] Compiling SymbolKit FragmentKind.swift
[40/57] Compiling SymbolKit FunctionParameter.swift
[41/57] Compiling SymbolKit FunctionSignature.swift
[42/57] Emitting module SymbolKit
[43/57] Compiling SymbolKit Relationship.swift
[44/57] Compiling SymbolKit RelationshipKind.swift
[45/57] Compiling SymbolKit SourceOrigin.swift
[46/57] Compiling SymbolKit GenericConstraints.swift
[47/57] Compiling SymbolKit Swift.swift
[48/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[49/57] Compiling SymbolKit UnifiedSymbol.swift
[50/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[51/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[52/57] Compiling Snippets SnippetParser.swift
[53/57] Compiling Snippets Snippet.swift
[54/57] Emitting module Snippets
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Emitting module snippet_extract
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.35s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/19] Compiling Analytics MultiplexAnalyticsHandler.swift
[3/20] Compiling Analytics AnalyticsHandler.swift
[4/20] Compiling Analytics AnyAnalyticsEventHandler.swift
[5/20] Compiling Analytics AnyAnalyticsHandler.swift
[6/20] Compiling Analytics AnyHashableAnalyticsHandler.swift
[7/20] Compiling Analytics SomeAnalyticsEvent.swift
[8/20] Compiling Analytics AnalyticsEncoder.swift
[9/20] Compiling Analytics AnalyticsMetadata.swift
[10/20] Compiling Analytics AnyMetadata.swift
[11/20] Compiling Analytics Initializable.swift
[12/20] Compiling Analytics AnalyticsConfiguration.swift
[13/20] Emitting module Analytics
[14/20] Compiling Analytics EmptyMetadata.swift
[15/20] Compiling Analytics GlobalAnalyticsMetadata.swift
[16/20] Compiling Analytics AnalyticsEvent.swift
[17/20] Compiling Analytics AnyAnalyticsEvent.swift
[18/20] Compiling Analytics AnalyticsGroup.swift
[19/20] Compiling Analytics RawAnalyticsEvent.swift
[20/20] Compiling Analytics MultiplexAnyAnalyticsHandler.swift
Build of target: 'Analytics' complete! (1.66s)
Target: AnalyticsMock
Extracting symbol information for 'AnalyticsMock'...
Finished extracting symbol information for 'AnalyticsMock'. (3.02s)
Building documentation for 'AnalyticsMock'...
warning: Return value documented for initializer returning void
--> ../AnalyticsExpectation.swift:107:9-108:9
105 | ///
106 | /// - Parameter base: An expectation value to wrap.
107 + /// - Returns: Newly created analytics expectation.
| ╰─suggestion: Remove return value documentation
108 + ///
109 | /// - Important: Do not invoke `fulfill()` method
110 | /// directly on the expectation provided.Finished building documentation for 'AnalyticsMock' (0.08s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/swiftylab/swiftanalyticskit/main
Building for debugging...
[0/3] Write swift-version--7754E27361AE5C74.txt
Build of product 'snippet-extract' complete! (0.26s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/7] Compiling AnalyticsMock AnalyticsExpectation.swift
[3/7] Compiling AnalyticsMock AnalyticsExpectationHandler.swift
[4/7] Compiling AnalyticsMock AnalyticsOrderedExpectationHandler.swift
[5/7] Emitting module AnalyticsMock
[6/7] Compiling AnalyticsMock StandardDictionaryEncoder.swift
[7/7] Compiling AnalyticsMock AnalyticsSingleExpectationHandler.swift
Build of target: 'AnalyticsMock' complete! (0.86s)
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/swiftylab/swiftanalyticskit/main/index/index.json
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/swiftylab/swiftanalyticskit/main/linkable-paths.json
524
5 /Users/admin/builder/spi-builder-workspace/.docs/swiftylab/swiftanalyticskit/main
✅ Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/swiftylab/swiftanalyticskit/main
File count: 524
Doc size: 5.0MB
Preparing doc bundle ...
Uploading prod-swiftylab-swiftanalyticskit-main-daff3d2c.zip to s3://spi-docs-inbox/prod-swiftylab-swiftanalyticskit-main-daff3d2c.zip
Copying... [14%]
Copying... [20%]
Copying... [34%]
Copying... [41%]
Copying... [54%]
Copying... [61%]
Copying... [75%]
Copying... [82%]
Copying... [95%]
Copying... [100%]
Done.