Build Information
Successful build of SwiftAnalyticsKit, reference main (89425b
), with Swift 6.0 for Linux on 2 Nov 2024 20:55:05 UTC.
Swift 6 data race errors: 11
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
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
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/SwiftyLab/SwiftAnalyticsKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
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-docc-plugin from cache (0.46s)
Fetched https://github.com/apple/swift-format from cache (0.67s)
Computing version for https://github.com/apple/swift-format
Computed https://github.com/apple/swift-format at 0.50700.1 (0.84s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-syntax
Fetching https://github.com/apple/swift-tools-support-core.git
[1/6522] Fetching swift-tools-support-core
[5350/18875] Fetching swift-tools-support-core, swift-argument-parser
Fetched https://github.com/apple/swift-tools-support-core.git from cache (0.59s)
[12353/12353] Fetching swift-argument-parser
[12354/78752] Fetching swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser.git from cache (4.45s)
Fetched https://github.com/apple/swift-syntax from cache (4.50s)
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.56s)
Fetching https://github.com/apple/swift-system.git
[1/3901] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.32s)
Computing version for https://github.com/apple/swift-syntax
Computed https://github.com/apple/swift-syntax at 0.50700.1 (0.79s)
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.61s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.1.1 (0.55s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (0.59s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3153] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.30s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.53s)
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-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-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
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/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
[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-24593BA9C3E375BF.txt
[7/23] Emitting module Analytics
/host/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.
/host/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.
/host/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)
/host/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.
/host/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.
/host/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``.
/host/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)
/host/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 | ///
/host/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.
/host/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.
/host/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,
[8/23] Compiling Analytics AnalyticsEvent.swift
/host/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/23] Compiling Analytics AnyAnalyticsEvent.swift
/host/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.
[10/23] Compiling Analytics AnalyticsMetadata.swift
/host/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.
[11/25] Compiling Analytics Initializable.swift
[12/25] Compiling Analytics AnalyticsConfiguration.swift
[13/25] Compiling Analytics AnyMetadata.swift
[14/25] Compiling Analytics EmptyMetadata.swift
[15/25] Compiling Analytics GlobalAnalyticsMetadata.swift
[16/25] Compiling Analytics MultiplexAnalyticsHandler.swift
[17/25] Compiling Analytics MultiplexAnyAnalyticsHandler.swift
[18/25] Compiling Analytics AnalyticsGroup.swift
/host/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.
/host/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)
/host/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.
/host/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.
/host/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.
/host/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``.
/host/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)
/host/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 | ///
/host/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.
/host/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.
/host/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,
[19/25] Compiling Analytics RawAnalyticsEvent.swift
/host/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.
/host/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)
/host/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.
/host/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.
/host/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.
/host/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``.
/host/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)
/host/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 | ///
/host/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.
/host/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.
/host/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,
[20/25] Compiling Analytics SomeAnalyticsEvent.swift
/host/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.
[21/25] Compiling Analytics AnalyticsEncoder.swift
/host/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.
[22/25] Compiling Analytics AnyAnalyticsHandler.swift
[23/25] Compiling Analytics AnyHashableAnalyticsHandler.swift
[24/25] Compiling Analytics AnalyticsHandler.swift
[25/25] Compiling Analytics AnyAnalyticsEventHandler.swift
[27/32] Compiling AnalyticsMock StandardDictionaryEncoder.swift
[28/32] Compiling AnalyticsMock AnalyticsExpectationHandler.swift
[29/32] Compiling AnalyticsMock AnalyticsExpectation.swift
[30/32] Compiling AnalyticsMock AnalyticsSingleExpectationHandler.swift
[31/32] Compiling AnalyticsMock AnalyticsOrderedExpectationHandler.swift
[32/32] Emitting module AnalyticsMock
Build complete! (41.77s)
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" : "/host/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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.