The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftAnalyticsKit, reference v1.0.0 (d03f68), with Swift 6.1 for Wasm on 28 May 2025 11:33:40 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SwiftyLab/SwiftAnalyticsKit.git
Reference: v1.0.0
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
 * tag               v1.0.0     -> FETCH_HEAD
HEAD is now at d03f688 chore(CHANGELOG): update for v1.0.0 [skip ci]
Cloned https://github.com/SwiftyLab/SwiftAnalyticsKit.git
Revision (git rev-parse @):
d03f688f1338fb9e5acfd0945051caaec022f3d8
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/SwiftyLab/SwiftAnalyticsKit.git at v1.0.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/SwiftyLab/SwiftAnalyticsKit.git
https://github.com/SwiftyLab/SwiftAnalyticsKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "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"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-format
Fetching https://github.com/apple/swift-docc-plugin
[1/12155] Fetching swift-format
[123/14204] Fetching swift-format, swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (1.43s)
Fetched https://github.com/apple/swift-format from cache (1.43s)
Computing version for https://github.com/apple/swift-format
Computed https://github.com/apple/swift-format at 0.50700.1 (2.00s)
Fetching https://github.com/apple/swift-tools-support-core.git
Fetching https://github.com/apple/swift-syntax
Fetching https://github.com/apple/swift-argument-parser.git
[1/6764] Fetching swift-tools-support-core
[6765/22115] Fetching swift-tools-support-core, swift-argument-parser
Fetched https://github.com/apple/swift-tools-support-core.git from cache (0.52s)
[922/15351] Fetching swift-argument-parser
[15352/85800] Fetching swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser.git from cache (4.82s)
Fetched https://github.com/apple/swift-syntax from cache (4.85s)
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 (5.59s)
Fetching https://github.com/apple/swift-system.git
[1/4391] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.36s)
Computing version for https://github.com/apple/swift-syntax
Computed https://github.com/apple/swift-syntax at 0.50700.1 (1.11s)
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.50s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.1.1 (0.47s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (0.48s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3391] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.40s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.95s)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.1.4
Creating working copy for https://github.com/apple/swift-syntax
Working copy of https://github.com/apple/swift-syntax resolved at 0.50700.1
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-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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.1.1
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
[1/1] Compiling plugin GenerateManualPlugin
[2/2] Compiling plugin Swift-DocC Preview
[3/3] Compiling plugin Swift-DocC
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: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: add '@MainActor' to make static property 'trace' part of global actor 'MainActor'
   |                       `- 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: add '@MainActor' to make static property 'debug' part of global actor 'MainActor'
   |                       `- 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: add '@MainActor' to make static property 'info' part of global actor 'MainActor'
   |                       `- 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: add '@MainActor' to make static property 'action' part of global actor 'MainActor'
   |                       `- 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: add '@MainActor' to make static property 'state' part of global actor 'MainActor'
   |                       `- 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: add '@MainActor' to make static property 'notice' part of global actor 'MainActor'
   |                       `- 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: add '@MainActor' to make static property 'warning' part of global actor 'MainActor'
   |                       `- 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: add '@MainActor' to make static property 'error' part of global actor 'MainActor'
   |                       `- 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: add '@MainActor' to make static property 'critical' part of global actor 'MainActor'
   |                       `- 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: add '@MainActor' to make static property 'sensitive' part of global actor 'MainActor'
   |                       `- 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: add '@MainActor' to make static property 'defaultGroups' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |         .trace, .debug,
42 |         .info, .action, .state, .sensitive,
[8/25] Compiling Analytics AnalyticsEvent.swift
[9/25] Compiling Analytics AnyAnalyticsEvent.swift
[10/25] Compiling Analytics AnalyticsMetadata.swift
[11/25] Compiling Analytics MultiplexAnalyticsHandler.swift
[12/25] Compiling Analytics MultiplexAnyAnalyticsHandler.swift
[13/25] Compiling Analytics AnyMetadata.swift
[14/25] Compiling Analytics EmptyMetadata.swift
[15/25] Compiling Analytics GlobalAnalyticsMetadata.swift
[16/25] Compiling Analytics Initializable.swift
[17/25] Compiling Analytics AnalyticsConfiguration.swift
[18/25] Compiling Analytics SomeAnalyticsEvent.swift
[19/25] Compiling Analytics AnalyticsEncoder.swift
[20/25] Compiling Analytics AnalyticsHandler.swift
[21/25] Compiling Analytics AnyAnalyticsEventHandler.swift
[22/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: add '@MainActor' to make static property 'trace' part of global actor 'MainActor'
   |                       `- 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: add '@MainActor' to make static property 'debug' part of global actor 'MainActor'
   |                       `- 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: add '@MainActor' to make static property 'info' part of global actor 'MainActor'
   |                       `- 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: add '@MainActor' to make static property 'action' part of global actor 'MainActor'
   |                       `- 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: add '@MainActor' to make static property 'state' part of global actor 'MainActor'
   |                       `- 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: add '@MainActor' to make static property 'notice' part of global actor 'MainActor'
   |                       `- 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: add '@MainActor' to make static property 'warning' part of global actor 'MainActor'
   |                       `- 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: add '@MainActor' to make static property 'error' part of global actor 'MainActor'
   |                       `- 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: add '@MainActor' to make static property 'critical' part of global actor 'MainActor'
   |                       `- 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: add '@MainActor' to make static property 'sensitive' part of global actor 'MainActor'
   |                       `- 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: add '@MainActor' to make static property 'defaultGroups' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |         .trace, .debug,
42 |         .info, .action, .state, .sensitive,
[23/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: add '@MainActor' to make static property 'trace' part of global actor 'MainActor'
   |                       `- 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: add '@MainActor' to make static property 'debug' part of global actor 'MainActor'
   |                       `- 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: add '@MainActor' to make static property 'info' part of global actor 'MainActor'
   |                       `- 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: add '@MainActor' to make static property 'action' part of global actor 'MainActor'
   |                       `- 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: add '@MainActor' to make static property 'state' part of global actor 'MainActor'
   |                       `- 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: add '@MainActor' to make static property 'notice' part of global actor 'MainActor'
   |                       `- 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: add '@MainActor' to make static property 'warning' part of global actor 'MainActor'
   |                       `- 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: add '@MainActor' to make static property 'error' part of global actor 'MainActor'
   |                       `- 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: add '@MainActor' to make static property 'critical' part of global actor 'MainActor'
   |                       `- 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: add '@MainActor' to make static property 'sensitive' part of global actor 'MainActor'
   |                       `- 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: add '@MainActor' to make static property 'defaultGroups' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |         .trace, .debug,
42 |         .info, .action, .state, .sensitive,
[24/25] Compiling Analytics AnyAnalyticsHandler.swift
[25/25] Compiling Analytics AnyHashableAnalyticsHandler.swift
[27/32] Compiling AnalyticsMock StandardDictionaryEncoder.swift
[28/32] Compiling AnalyticsMock AnalyticsSingleExpectationHandler.swift
/host/spi-builder-workspace/Sources/AnalyticsMock/AnalyticsExpectation.swift:38:23: error: cannot find type 'XCTestExpectation' in scope
 36 |     /// The `XCTestExpectation` value
 37 |     /// wrapped by this instance.
 38 |     private let base: XCTestExpectation
    |                       `- error: cannot find type 'XCTestExpectation' in scope
 39 |
 40 |     /// The number of times ``fulfill()`` must be called
error: emit-module command failed with exit code 1 (use -v to see invocation)
[29/32] Emitting module AnalyticsMock
/host/spi-builder-workspace/Sources/AnalyticsMock/AnalyticsExpectation.swift:38:23: error: cannot find type 'XCTestExpectation' in scope
 36 |     /// The `XCTestExpectation` value
 37 |     /// wrapped by this instance.
 38 |     private let base: XCTestExpectation
    |                       `- error: cannot find type 'XCTestExpectation' in scope
 39 |
 40 |     /// The number of times ``fulfill()`` must be called
/host/spi-builder-workspace/Sources/AnalyticsMock/AnalyticsExpectation.swift:111:28: error: cannot find type 'XCTestExpectation' in scope
109 |     /// - Important: Do not invoke `fulfill()` method
110 |     ///              directly on the expectation provided.
111 |     public init(from base: XCTestExpectation) {
    |                            `- error: cannot find type 'XCTestExpectation' in scope
112 |         self.base = base
113 |     }
[30/32] Compiling AnalyticsMock AnalyticsExpectationHandler.swift
/host/spi-builder-workspace/Sources/AnalyticsMock/AnalyticsExpectation.swift:111:28: error: cannot find type 'XCTestExpectation' in scope
109 |     /// - Important: Do not invoke `fulfill()` method
110 |     ///              directly on the expectation provided.
111 |     public init(from base: XCTestExpectation) {
    |                            `- error: cannot find type 'XCTestExpectation' in scope
112 |         self.base = base
113 |     }
/host/spi-builder-workspace/Sources/AnalyticsMock/AnalyticsExpectationHandler.swift:171:24: error: value of type 'XCTestCase' has no member 'expectation'
169 |     ) -> AnalyticsExpectation where Handler.EventName == Event.Name {
170 |         let expectation = AnalyticsExpectation(
171 |             from: self.expectation(description: "\(event)")
    |                        `- error: value of type 'XCTestCase' has no member 'expectation'
172 |         )
173 |         expectation.assertForOverFulfill = false
/host/spi-builder-workspace/Sources/AnalyticsMock/AnalyticsExpectationHandler.swift:216:24: error: value of type 'XCTestCase' has no member 'expectation'
214 |     ) -> AnalyticsExpectation where Handler.EventName == EventName {
215 |         let expectation = AnalyticsExpectation(
216 |             from: self.expectation(description: "\(event)")
    |                        `- error: value of type 'XCTestCase' has no member 'expectation'
217 |         )
218 |         expectation.assertForOverFulfill = false
[31/32] Compiling AnalyticsMock AnalyticsExpectation.swift
/host/spi-builder-workspace/Sources/AnalyticsMock/AnalyticsExpectation.swift:38:23: error: cannot find type 'XCTestExpectation' in scope
 36 |     /// The `XCTestExpectation` value
 37 |     /// wrapped by this instance.
 38 |     private let base: XCTestExpectation
    |                       `- error: cannot find type 'XCTestExpectation' in scope
 39 |
 40 |     /// The number of times ``fulfill()`` must be called
/host/spi-builder-workspace/Sources/AnalyticsMock/AnalyticsExpectation.swift:111:28: error: cannot find type 'XCTestExpectation' in scope
109 |     /// - Important: Do not invoke `fulfill()` method
110 |     ///              directly on the expectation provided.
111 |     public init(from base: XCTestExpectation) {
    |                            `- error: cannot find type 'XCTestExpectation' in scope
112 |         self.base = base
113 |     }
[32/32] Compiling AnalyticsMock AnalyticsOrderedExpectationHandler.swift
/host/spi-builder-workspace/Sources/AnalyticsMock/AnalyticsExpectation.swift:38:23: error: cannot find type 'XCTestExpectation' in scope
 36 |     /// The `XCTestExpectation` value
 37 |     /// wrapped by this instance.
 38 |     private let base: XCTestExpectation
    |                       `- error: cannot find type 'XCTestExpectation' in scope
 39 |
 40 |     /// The number of times ``fulfill()`` must be called
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin GenerateManualPlugin
[2/2] Compiling plugin Swift-DocC Preview
[3/3] Compiling plugin Swift-DocC
Building for debugging...
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/21] Emitting module Analytics
[6/23] Compiling Analytics Initializable.swift
[7/23] Compiling Analytics AnalyticsConfiguration.swift
[8/23] Compiling Analytics AnyAnalyticsHandler.swift
[9/23] Compiling Analytics AnyHashableAnalyticsHandler.swift
[10/23] Compiling Analytics AnalyticsHandler.swift
[11/23] Compiling Analytics AnyAnalyticsEventHandler.swift
[12/23] Compiling Analytics SomeAnalyticsEvent.swift
[13/23] Compiling Analytics AnalyticsEncoder.swift
[14/23] Compiling Analytics AnyMetadata.swift
[15/23] Compiling Analytics EmptyMetadata.swift
[16/23] Compiling Analytics GlobalAnalyticsMetadata.swift
[17/23] Compiling Analytics AnalyticsEvent.swift
[18/23] Compiling Analytics AnyAnalyticsEvent.swift
[19/23] Compiling Analytics AnalyticsMetadata.swift
[20/23] Compiling Analytics AnalyticsGroup.swift
[21/23] Compiling Analytics RawAnalyticsEvent.swift
[22/23] Compiling Analytics MultiplexAnalyticsHandler.swift
[23/23] Compiling Analytics MultiplexAnyAnalyticsHandler.swift
[25/30] Compiling AnalyticsMock StandardDictionaryEncoder.swift
[26/30] Compiling AnalyticsMock AnalyticsSingleExpectationHandler.swift
/host/spi-builder-workspace/Sources/AnalyticsMock/AnalyticsExpectation.swift:38:23: error: cannot find type 'XCTestExpectation' in scope
 36 |     /// The `XCTestExpectation` value
 37 |     /// wrapped by this instance.
 38 |     private let base: XCTestExpectation
    |                       `- error: cannot find type 'XCTestExpectation' in scope
 39 |
 40 |     /// The number of times ``fulfill()`` must be called
error: emit-module command failed with exit code 1 (use -v to see invocation)
[27/30] Emitting module AnalyticsMock
/host/spi-builder-workspace/Sources/AnalyticsMock/AnalyticsExpectation.swift:38:23: error: cannot find type 'XCTestExpectation' in scope
 36 |     /// The `XCTestExpectation` value
 37 |     /// wrapped by this instance.
 38 |     private let base: XCTestExpectation
    |                       `- error: cannot find type 'XCTestExpectation' in scope
 39 |
 40 |     /// The number of times ``fulfill()`` must be called
/host/spi-builder-workspace/Sources/AnalyticsMock/AnalyticsExpectation.swift:111:28: error: cannot find type 'XCTestExpectation' in scope
109 |     /// - Important: Do not invoke `fulfill()` method
110 |     ///              directly on the expectation provided.
111 |     public init(from base: XCTestExpectation) {
    |                            `- error: cannot find type 'XCTestExpectation' in scope
112 |         self.base = base
113 |     }
[28/30] Compiling AnalyticsMock AnalyticsExpectationHandler.swift
/host/spi-builder-workspace/Sources/AnalyticsMock/AnalyticsExpectation.swift:111:28: error: cannot find type 'XCTestExpectation' in scope
109 |     /// - Important: Do not invoke `fulfill()` method
110 |     ///              directly on the expectation provided.
111 |     public init(from base: XCTestExpectation) {
    |                            `- error: cannot find type 'XCTestExpectation' in scope
112 |         self.base = base
113 |     }
/host/spi-builder-workspace/Sources/AnalyticsMock/AnalyticsExpectationHandler.swift:171:24: error: value of type 'XCTestCase' has no member 'expectation'
169 |     ) -> AnalyticsExpectation where Handler.EventName == Event.Name {
170 |         let expectation = AnalyticsExpectation(
171 |             from: self.expectation(description: "\(event)")
    |                        `- error: value of type 'XCTestCase' has no member 'expectation'
172 |         )
173 |         expectation.assertForOverFulfill = false
/host/spi-builder-workspace/Sources/AnalyticsMock/AnalyticsExpectationHandler.swift:216:24: error: value of type 'XCTestCase' has no member 'expectation'
214 |     ) -> AnalyticsExpectation where Handler.EventName == EventName {
215 |         let expectation = AnalyticsExpectation(
216 |             from: self.expectation(description: "\(event)")
    |                        `- error: value of type 'XCTestCase' has no member 'expectation'
217 |         )
218 |         expectation.assertForOverFulfill = false
[29/30] Compiling AnalyticsMock AnalyticsExpectation.swift
/host/spi-builder-workspace/Sources/AnalyticsMock/AnalyticsExpectation.swift:38:23: error: cannot find type 'XCTestExpectation' in scope
 36 |     /// The `XCTestExpectation` value
 37 |     /// wrapped by this instance.
 38 |     private let base: XCTestExpectation
    |                       `- error: cannot find type 'XCTestExpectation' in scope
 39 |
 40 |     /// The number of times ``fulfill()`` must be called
/host/spi-builder-workspace/Sources/AnalyticsMock/AnalyticsExpectation.swift:111:28: error: cannot find type 'XCTestExpectation' in scope
109 |     /// - Important: Do not invoke `fulfill()` method
110 |     ///              directly on the expectation provided.
111 |     public init(from base: XCTestExpectation) {
    |                            `- error: cannot find type 'XCTestExpectation' in scope
112 |         self.base = base
113 |     }
[30/30] Compiling AnalyticsMock AnalyticsOrderedExpectationHandler.swift
/host/spi-builder-workspace/Sources/AnalyticsMock/AnalyticsExpectation.swift:38:23: error: cannot find type 'XCTestExpectation' in scope
 36 |     /// The `XCTestExpectation` value
 37 |     /// wrapped by this instance.
 38 |     private let base: XCTestExpectation
    |                       `- error: cannot find type 'XCTestExpectation' in scope
 39 |
 40 |     /// The number of times ``fulfill()`` must be called
BUILD FAILURE 6.1 wasm