The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of Monarch, reference main (6bea21), with Swift 6.0 for macOS (SPM) on 26 Dec 2024 07:50:20 UTC.

Swift 6 data race errors: 3

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.60.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/EmilioPelaez/Monarch.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/EmilioPelaez/Monarch
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 6bea211 Maintenance (#2)
Cloned https://github.com/EmilioPelaez/Monarch.git
Revision (git rev-parse @):
6bea2114c2c703b7134655b40b8991fe7c6ee018
SUCCESS checkout https://github.com/EmilioPelaez/Monarch.git at main
Fetching https://github.com/EmilioPelaez/HierarchyResponder
[1/634] Fetching hierarchyresponder
Fetched https://github.com/EmilioPelaez/HierarchyResponder from cache (0.88s)
Computing version for https://github.com/EmilioPelaez/HierarchyResponder
Computed https://github.com/EmilioPelaez/HierarchyResponder at 1.1.7 (0.46s)
Creating working copy for https://github.com/EmilioPelaez/HierarchyResponder
Working copy of https://github.com/EmilioPelaez/HierarchyResponder resolved at 1.1.7
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "monarch",
      "name": "Monarch",
      "url": "https://github.com/EmilioPelaez/Monarch.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Monarch",
      "dependencies": [
        {
          "identity": "hierarchyresponder",
          "name": "HierarchyResponder",
          "url": "https://github.com/EmilioPelaez/HierarchyResponder",
          "version": "1.1.8",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/HierarchyResponder",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/EmilioPelaez/Monarch.git
[11/517] Fetching monarch
Fetched https://github.com/EmilioPelaez/Monarch.git from cache (0.93s)
Fetching https://github.com/EmilioPelaez/HierarchyResponder from cache
Fetched https://github.com/EmilioPelaez/HierarchyResponder from cache (0.48s)
Computing version for https://github.com/EmilioPelaez/HierarchyResponder
Computed https://github.com/EmilioPelaez/HierarchyResponder at 1.1.8 (0.41s)
Creating working copy for https://github.com/EmilioPelaez/HierarchyResponder
Working copy of https://github.com/EmilioPelaez/HierarchyResponder resolved at 1.1.8
Creating working copy for https://github.com/EmilioPelaez/Monarch.git
Working copy of https://github.com/EmilioPelaez/Monarch.git resolved at main (6bea211)
warning: '.resolve-product-dependencies': dependency 'monarch' is not used by any target
Found 1 product dependencies
  - HierarchyResponder
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/EmilioPelaez/Monarch.git
https://github.com/EmilioPelaez/Monarch.git
{
  "dependencies" : [
    {
      "identity" : "hierarchyresponder",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/EmilioPelaez/HierarchyResponder"
    }
  ],
  "manifest_display_name" : "Monarch",
  "name" : "Monarch",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "14.0"
    },
    {
      "name" : "tvos",
      "version" : "14.0"
    },
    {
      "name" : "watchos",
      "version" : "7.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "Monarch",
      "targets" : [
        "Monarch"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MonarchTests",
      "module_type" : "SwiftTarget",
      "name" : "MonarchTests",
      "path" : "Tests/MonarchTests",
      "sources" : [
        "MonarchTests.swift"
      ],
      "target_dependencies" : [
        "Monarch"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Monarch",
      "module_type" : "SwiftTarget",
      "name" : "Monarch",
      "path" : "Sources/Monarch",
      "product_dependencies" : [
        "HierarchyResponder"
      ],
      "product_memberships" : [
        "Monarch"
      ],
      "sources" : [
        "Core/Monarch.swift",
        "Core/MonarchBuilder.swift",
        "Domain/RequestDomain.swift",
        "Environment/MonarchEnvironment.swift",
        "Errors/Errors.swift",
        "HTTP/HTTPBody.swift",
        "HTTP/HTTPError.swift",
        "HTTP/HTTPMethod.swift",
        "Internal/EmptyRequestProvider.swift",
        "Internal/GenericProvider.swift",
        "Internal/MonarchKey.swift",
        "Internal/MonarchRequestModifier.swift",
        "Internal/RegisterProviderModifier.swift",
        "Internal/RequestPreviewProvider.swift",
        "Internal/URLSession+Backport.swift",
        "Protocols/RemoteRequest.swift",
        "Protocols/Request.swift",
        "Protocols/RequestProvider.swift",
        "Protocols/ResponseHandler.swift",
        "Providers/CacheProvider.swift",
        "Providers/NetworkProvider.swift",
        "ViewModifiers/View+Providers.swift",
        "ViewModifiers/View+Request.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-5BDAB9E9C0126B9D.txt
[4/27] Emitting module HierarchyResponder
[5/29] Compiling HierarchyResponder View+CompatibleOnChange.swift
[6/29] Compiling HierarchyResponder Safety.swift
[7/29] Compiling HierarchyResponder View+ErrorHandling.swift
[8/29] Compiling HierarchyResponder View+ErrorRecovering.swift
[9/29] Compiling HierarchyResponder Event.swift
[10/29] Compiling HierarchyResponder ErrorSafetyModifier.swift
[11/29] Compiling HierarchyResponder EventHandlerViewModifier.swift
[12/29] Compiling HierarchyResponder EventSafetyModifier.swift
[13/29] Compiling HierarchyResponder Preferences.swift
[14/29] Compiling HierarchyResponder View+EventHandling.swift
[15/29] Compiling HierarchyResponder View+EventPublishing.swift
[16/29] Compiling HierarchyResponder View+TapGestureEvent.swift
[17/29] Compiling HierarchyResponder EventPublisherModifier.swift
[18/29] Compiling HierarchyResponder EventSubscriberModifier.swift
[19/29] Compiling HierarchyResponder EventSubscriptionRegistrar.swift
[20/29] Compiling HierarchyResponder PublishersContainer.swift
[21/29] Compiling HierarchyResponder AlertableError.swift
[22/29] Compiling HierarchyResponder ErrorEnvironmentValues.swift
[23/29] Compiling HierarchyResponder View+AlertableErrors.swift
[24/29] Compiling HierarchyResponder AlertableErrorHandlerModifier.swift
[25/29] Compiling HierarchyResponder EnvironmentValues.swift
[26/29] Compiling HierarchyResponder ErrorHandlerViewModifier.swift
[27/29] Compiling HierarchyResponder EventButton.swift
[28/29] Compiling HierarchyResponder EventEnvironmentValues.swift
[29/29] Compiling HierarchyResponder EventPublisher.swift
[30/51] Compiling Monarch HTTPError.swift
[31/51] Compiling Monarch HTTPMethod.swift
[32/51] Compiling Monarch EmptyRequestProvider.swift
[33/53] Compiling Monarch RequestPreviewProvider.swift
[34/53] Compiling Monarch URLSession+Backport.swift
[35/53] Compiling Monarch MonarchRequestModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/Monarch/Internal/MonarchRequestModifier.swift:21:16: warning: sending 'self.monarch' risks causing data races; this is an error in the Swift 6 language mode
19 | 			.task(id: id, priority: priority) {
20 | 				do {
21 | 					try await perform(monarch)
   |                |- warning: sending 'self.monarch' risks causing data races; this is an error in the Swift 6 language mode
   |                `- note: sending main actor-isolated 'self.monarch' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
22 | 				} catch {
23 | 					reportError(error)
[36/53] Compiling Monarch RegisterProviderModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/Monarch/Internal/MonarchRequestModifier.swift:21:16: warning: sending 'self.monarch' risks causing data races; this is an error in the Swift 6 language mode
19 | 			.task(id: id, priority: priority) {
20 | 				do {
21 | 					try await perform(monarch)
   |                |- warning: sending 'self.monarch' risks causing data races; this is an error in the Swift 6 language mode
   |                `- note: sending main actor-isolated 'self.monarch' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
22 | 				} catch {
23 | 					reportError(error)
[37/53] Compiling Monarch RemoteRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/Monarch/Domain/RequestDomain.swift:34:20: warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'RequestDomain' may have shared mutable state; this is an error in the Swift 6 language mode
25 |  ```
26 |  */
27 | public struct RequestDomain: OptionSet {
   |               `- note: consider making struct 'RequestDomain' conform to the 'Sendable' protocol
28 | 	public let rawValue: Int
29 |
   :
32 | 	}
33 |
34 | 	public static let any = RequestDomain(rawValue: .max)
   |                    |- warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'RequestDomain' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: annotate 'any' 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 | }
36 |
[38/53] Compiling Monarch Request.swift
/Users/admin/builder/spi-builder-workspace/Sources/Monarch/Domain/RequestDomain.swift:34:20: warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'RequestDomain' may have shared mutable state; this is an error in the Swift 6 language mode
25 |  ```
26 |  */
27 | public struct RequestDomain: OptionSet {
   |               `- note: consider making struct 'RequestDomain' conform to the 'Sendable' protocol
28 | 	public let rawValue: Int
29 |
   :
32 | 	}
33 |
34 | 	public static let any = RequestDomain(rawValue: .max)
   |                    |- warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'RequestDomain' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: annotate 'any' 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 | }
36 |
[39/53] Compiling Monarch CacheProvider.swift
[40/53] Compiling Monarch NetworkProvider.swift
[41/53] Compiling Monarch RequestProvider.swift
[42/53] Compiling Monarch ResponseHandler.swift
[43/53] Compiling Monarch GenericProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/Monarch/Internal/MonarchKey.swift:9:13: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Monarch' may have shared mutable state; this is an error in the Swift 6 language mode
 7 |
 8 | struct MonarchKey: EnvironmentKey {
 9 | 	static let defaultValue: Monarch = {
   |             |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Monarch' may have shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: annotate 'defaultValue' 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
10 | 		#if DEBUG
11 | 		if ProcessInfo.processInfo.environment["XCODE_RUNNING_FOR_PREVIEWS"] == "1" {
/Users/admin/builder/spi-builder-workspace/Sources/Monarch/Core/Monarch.swift:22:14: note: class 'Monarch' does not conform to the 'Sendable' protocol
20 |  the nodes the request passed through, in the reverse order.
21 |  */
22 | public class Monarch: RequestProvider, ResponseHandler {
   |              `- note: class 'Monarch' does not conform to the 'Sendable' protocol
23 | 	/**
24 | 	 The `provider` is the object that encapsulates the logic of how to handle a
/Users/admin/builder/spi-builder-workspace/Sources/Monarch/Domain/RequestDomain.swift:34:20: warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'RequestDomain' may have shared mutable state; this is an error in the Swift 6 language mode
25 |  ```
26 |  */
27 | public struct RequestDomain: OptionSet {
   |               `- note: consider making struct 'RequestDomain' conform to the 'Sendable' protocol
28 | 	public let rawValue: Int
29 |
   :
32 | 	}
33 |
34 | 	public static let any = RequestDomain(rawValue: .max)
   |                    |- warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'RequestDomain' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: annotate 'any' 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 | }
36 |
[44/53] Compiling Monarch MonarchKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/Monarch/Internal/MonarchKey.swift:9:13: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Monarch' may have shared mutable state; this is an error in the Swift 6 language mode
 7 |
 8 | struct MonarchKey: EnvironmentKey {
 9 | 	static let defaultValue: Monarch = {
   |             |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Monarch' may have shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: annotate 'defaultValue' 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
10 | 		#if DEBUG
11 | 		if ProcessInfo.processInfo.environment["XCODE_RUNNING_FOR_PREVIEWS"] == "1" {
/Users/admin/builder/spi-builder-workspace/Sources/Monarch/Core/Monarch.swift:22:14: note: class 'Monarch' does not conform to the 'Sendable' protocol
20 |  the nodes the request passed through, in the reverse order.
21 |  */
22 | public class Monarch: RequestProvider, ResponseHandler {
   |              `- note: class 'Monarch' does not conform to the 'Sendable' protocol
23 | 	/**
24 | 	 The `provider` is the object that encapsulates the logic of how to handle a
/Users/admin/builder/spi-builder-workspace/Sources/Monarch/Domain/RequestDomain.swift:34:20: warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'RequestDomain' may have shared mutable state; this is an error in the Swift 6 language mode
25 |  ```
26 |  */
27 | public struct RequestDomain: OptionSet {
   |               `- note: consider making struct 'RequestDomain' conform to the 'Sendable' protocol
28 | 	public let rawValue: Int
29 |
   :
32 | 	}
33 |
34 | 	public static let any = RequestDomain(rawValue: .max)
   |                    |- warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'RequestDomain' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: annotate 'any' 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 | }
36 |
[45/53] Compiling Monarch MonarchEnvironment.swift
/Users/admin/builder/spi-builder-workspace/Sources/Monarch/Errors/Errors.swift:9:13: warning: stored property 'request' of 'Sendable'-conforming struct 'UnhandledRequestError' has non-sendable type 'any Request'; this is an error in the Swift 6 language mode
 7 | /// Thrown when a `RequestProvider` is unable to handle a request.
 8 | public struct UnhandledRequestError: Error {
 9 | 	public let request: any Request
   |             `- warning: stored property 'request' of 'Sendable'-conforming struct 'UnhandledRequestError' has non-sendable type 'any Request'; this is an error in the Swift 6 language mode
10 |
11 | 	public init(_ request: any Request) {
/Users/admin/builder/spi-builder-workspace/Sources/Monarch/Protocols/Request.swift:20:17: note: protocol 'Request' does not conform to the 'Sendable' protocol
18 |  ```
19 |  */
20 | public protocol Request {
   |                 `- note: protocol 'Request' does not conform to the 'Sendable' protocol
21 | 	/// The type of the response expected from this request
22 | 	associatedtype ResponseType
[46/53] Compiling Monarch Errors.swift
/Users/admin/builder/spi-builder-workspace/Sources/Monarch/Errors/Errors.swift:9:13: warning: stored property 'request' of 'Sendable'-conforming struct 'UnhandledRequestError' has non-sendable type 'any Request'; this is an error in the Swift 6 language mode
 7 | /// Thrown when a `RequestProvider` is unable to handle a request.
 8 | public struct UnhandledRequestError: Error {
 9 | 	public let request: any Request
   |             `- warning: stored property 'request' of 'Sendable'-conforming struct 'UnhandledRequestError' has non-sendable type 'any Request'; this is an error in the Swift 6 language mode
10 |
11 | 	public init(_ request: any Request) {
/Users/admin/builder/spi-builder-workspace/Sources/Monarch/Protocols/Request.swift:20:17: note: protocol 'Request' does not conform to the 'Sendable' protocol
18 |  ```
19 |  */
20 | public protocol Request {
   |                 `- note: protocol 'Request' does not conform to the 'Sendable' protocol
21 | 	/// The type of the response expected from this request
22 | 	associatedtype ResponseType
[47/53] Compiling Monarch HTTPBody.swift
/Users/admin/builder/spi-builder-workspace/Sources/Monarch/Errors/Errors.swift:9:13: warning: stored property 'request' of 'Sendable'-conforming struct 'UnhandledRequestError' has non-sendable type 'any Request'; this is an error in the Swift 6 language mode
 7 | /// Thrown when a `RequestProvider` is unable to handle a request.
 8 | public struct UnhandledRequestError: Error {
 9 | 	public let request: any Request
   |             `- warning: stored property 'request' of 'Sendable'-conforming struct 'UnhandledRequestError' has non-sendable type 'any Request'; this is an error in the Swift 6 language mode
10 |
11 | 	public init(_ request: any Request) {
/Users/admin/builder/spi-builder-workspace/Sources/Monarch/Protocols/Request.swift:20:17: note: protocol 'Request' does not conform to the 'Sendable' protocol
18 |  ```
19 |  */
20 | public protocol Request {
   |                 `- note: protocol 'Request' does not conform to the 'Sendable' protocol
21 | 	/// The type of the response expected from this request
22 | 	associatedtype ResponseType
[48/53] Compiling Monarch Monarch.swift
/Users/admin/builder/spi-builder-workspace/Sources/Monarch/Domain/RequestDomain.swift:34:20: warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'RequestDomain' may have shared mutable state; this is an error in the Swift 6 language mode
25 |  ```
26 |  */
27 | public struct RequestDomain: OptionSet {
   |               `- note: consider making struct 'RequestDomain' conform to the 'Sendable' protocol
28 | 	public let rawValue: Int
29 |
   :
32 | 	}
33 |
34 | 	public static let any = RequestDomain(rawValue: .max)
   |                    |- warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'RequestDomain' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: annotate 'any' 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 | }
36 |
[49/53] Compiling Monarch MonarchBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/Monarch/Domain/RequestDomain.swift:34:20: warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'RequestDomain' may have shared mutable state; this is an error in the Swift 6 language mode
25 |  ```
26 |  */
27 | public struct RequestDomain: OptionSet {
   |               `- note: consider making struct 'RequestDomain' conform to the 'Sendable' protocol
28 | 	public let rawValue: Int
29 |
   :
32 | 	}
33 |
34 | 	public static let any = RequestDomain(rawValue: .max)
   |                    |- warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'RequestDomain' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: annotate 'any' 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 | }
36 |
[50/53] Compiling Monarch RequestDomain.swift
/Users/admin/builder/spi-builder-workspace/Sources/Monarch/Domain/RequestDomain.swift:34:20: warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'RequestDomain' may have shared mutable state; this is an error in the Swift 6 language mode
25 |  ```
26 |  */
27 | public struct RequestDomain: OptionSet {
   |               `- note: consider making struct 'RequestDomain' conform to the 'Sendable' protocol
28 | 	public let rawValue: Int
29 |
   :
32 | 	}
33 |
34 | 	public static let any = RequestDomain(rawValue: .max)
   |                    |- warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'RequestDomain' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: annotate 'any' 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 | }
36 |
[51/53] Emitting module Monarch
/Users/admin/builder/spi-builder-workspace/Sources/Monarch/Domain/RequestDomain.swift:34:20: warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'RequestDomain' may have shared mutable state; this is an error in the Swift 6 language mode
25 |  ```
26 |  */
27 | public struct RequestDomain: OptionSet {
   |               `- note: consider making struct 'RequestDomain' conform to the 'Sendable' protocol
28 | 	public let rawValue: Int
29 |
   :
32 | 	}
33 |
34 | 	public static let any = RequestDomain(rawValue: .max)
   |                    |- warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'RequestDomain' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: annotate 'any' 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 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Monarch/Errors/Errors.swift:9:13: warning: stored property 'request' of 'Sendable'-conforming struct 'UnhandledRequestError' has non-sendable type 'any Request'; this is an error in the Swift 6 language mode
 7 | /// Thrown when a `RequestProvider` is unable to handle a request.
 8 | public struct UnhandledRequestError: Error {
 9 | 	public let request: any Request
   |             `- warning: stored property 'request' of 'Sendable'-conforming struct 'UnhandledRequestError' has non-sendable type 'any Request'; this is an error in the Swift 6 language mode
10 |
11 | 	public init(_ request: any Request) {
/Users/admin/builder/spi-builder-workspace/Sources/Monarch/Protocols/Request.swift:20:17: note: protocol 'Request' does not conform to the 'Sendable' protocol
18 |  ```
19 |  */
20 | public protocol Request {
   |                 `- note: protocol 'Request' does not conform to the 'Sendable' protocol
21 | 	/// The type of the response expected from this request
22 | 	associatedtype ResponseType
/Users/admin/builder/spi-builder-workspace/Sources/Monarch/Internal/MonarchKey.swift:9:13: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Monarch' may have shared mutable state; this is an error in the Swift 6 language mode
 7 |
 8 | struct MonarchKey: EnvironmentKey {
 9 | 	static let defaultValue: Monarch = {
   |             |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Monarch' may have shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: annotate 'defaultValue' 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
10 | 		#if DEBUG
11 | 		if ProcessInfo.processInfo.environment["XCODE_RUNNING_FOR_PREVIEWS"] == "1" {
/Users/admin/builder/spi-builder-workspace/Sources/Monarch/Core/Monarch.swift:22:14: note: class 'Monarch' does not conform to the 'Sendable' protocol
20 |  the nodes the request passed through, in the reverse order.
21 |  */
22 | public class Monarch: RequestProvider, ResponseHandler {
   |              `- note: class 'Monarch' does not conform to the 'Sendable' protocol
23 | 	/**
24 | 	 The `provider` is the object that encapsulates the logic of how to handle a
[52/53] Compiling Monarch View+Providers.swift
/Users/admin/builder/spi-builder-workspace/Sources/Monarch/Domain/RequestDomain.swift:34:20: warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'RequestDomain' may have shared mutable state; this is an error in the Swift 6 language mode
25 |  ```
26 |  */
27 | public struct RequestDomain: OptionSet {
   |               `- note: consider making struct 'RequestDomain' conform to the 'Sendable' protocol
28 | 	public let rawValue: Int
29 |
   :
32 | 	}
33 |
34 | 	public static let any = RequestDomain(rawValue: .max)
   |                    |- warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'RequestDomain' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: annotate 'any' 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 | }
36 |
[53/53] Compiling Monarch View+Request.swift
/Users/admin/builder/spi-builder-workspace/Sources/Monarch/Domain/RequestDomain.swift:34:20: warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'RequestDomain' may have shared mutable state; this is an error in the Swift 6 language mode
25 |  ```
26 |  */
27 | public struct RequestDomain: OptionSet {
   |               `- note: consider making struct 'RequestDomain' conform to the 'Sendable' protocol
28 | 	public let rawValue: Int
29 |
   :
32 | 	}
33 |
34 | 	public static let any = RequestDomain(rawValue: .max)
   |                    |- warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'RequestDomain' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: annotate 'any' 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 | }
36 |
Build complete! (36.09s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "hierarchyresponder",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/EmilioPelaez/HierarchyResponder"
    }
  ],
  "manifest_display_name" : "Monarch",
  "name" : "Monarch",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "14.0"
    },
    {
      "name" : "tvos",
      "version" : "14.0"
    },
    {
      "name" : "watchos",
      "version" : "7.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "Monarch",
      "targets" : [
        "Monarch"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MonarchTests",
      "module_type" : "SwiftTarget",
      "name" : "MonarchTests",
      "path" : "Tests/MonarchTests",
      "sources" : [
        "MonarchTests.swift"
      ],
      "target_dependencies" : [
        "Monarch"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Monarch",
      "module_type" : "SwiftTarget",
      "name" : "Monarch",
      "path" : "Sources/Monarch",
      "product_dependencies" : [
        "HierarchyResponder"
      ],
      "product_memberships" : [
        "Monarch"
      ],
      "sources" : [
        "Core/Monarch.swift",
        "Core/MonarchBuilder.swift",
        "Domain/RequestDomain.swift",
        "Environment/MonarchEnvironment.swift",
        "Errors/Errors.swift",
        "HTTP/HTTPBody.swift",
        "HTTP/HTTPError.swift",
        "HTTP/HTTPMethod.swift",
        "Internal/EmptyRequestProvider.swift",
        "Internal/GenericProvider.swift",
        "Internal/MonarchKey.swift",
        "Internal/MonarchRequestModifier.swift",
        "Internal/RegisterProviderModifier.swift",
        "Internal/RequestPreviewProvider.swift",
        "Internal/URLSession+Backport.swift",
        "Protocols/RemoteRequest.swift",
        "Protocols/Request.swift",
        "Protocols/RequestProvider.swift",
        "Protocols/ResponseHandler.swift",
        "Providers/CacheProvider.swift",
        "Providers/NetworkProvider.swift",
        "ViewModifiers/View+Providers.swift",
        "ViewModifiers/View+Request.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
Done.