Build Information
Successful build of SundialKit, reference 0.2.1 (58e32d
), with Swift 6.0 for macOS (SPM) on 29 Nov 2024 02:38:41 UTC.
Swift 6 data race errors: 5
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -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.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/brightdigit/SundialKit.git
Reference: 0.2.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/brightdigit/SundialKit
* tag 0.2.1 -> FETCH_HEAD
HEAD is now at 58e32d9 Version 0.2.1
Cloned https://github.com/brightdigit/SundialKit.git
Revision (git rev-parse @):
58e32d9b620feb3e02d2fbf6b8569a3349d60182
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/brightdigit/SundialKit.git at 0.2.1
========================================
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": "sundialkit",
"name": "SundialKit",
"url": "https://github.com/brightdigit/SundialKit.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SundialKit",
"dependencies": [
]
}
]
}
Fetching https://github.com/brightdigit/SundialKit.git
[1/1058] Fetching sundialkit
Fetched https://github.com/brightdigit/SundialKit.git from cache (1.14s)
Creating working copy for https://github.com/brightdigit/SundialKit.git
Working copy of https://github.com/brightdigit/SundialKit.git resolved at 0.2.1 (58e32d9)
warning: '.resolve-product-dependencies': dependency 'sundialkit' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/brightdigit/SundialKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -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/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/30] Compiling SundialKit ConnectivityReceiveContext.swift
[4/30] Compiling SundialKit ConnectivityReceiveResult.swift
[5/30] Compiling SundialKit ConnectivitySendContext.swift
[6/33] Emitting module SundialKit
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/Network/PathStatus.swift:41:23: warning: static property 'cellular' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Types of network interfaces, based on their link layer media types.
22 | public struct Interface: OptionSet, Interfaceable {
| `- note: consider making struct 'Interface' conform to the 'Sendable' protocol
23 | public var typeValue: Int {
24 | rawValue
:
39 |
40 | /// The network interface type used for communication over cellular networks.
41 | public static let cellular: Self = .init(rawValue: 1)
| |- warning: static property 'cellular' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cellular' 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
42 | /// The network interface type used for communication over Wi-Fi networks.
43 | public static let wifi: Self = .init(rawValue: 2)
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/Network/PathStatus.swift:43:23: warning: static property 'wifi' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Types of network interfaces, based on their link layer media types.
22 | public struct Interface: OptionSet, Interfaceable {
| `- note: consider making struct 'Interface' conform to the 'Sendable' protocol
23 | public var typeValue: Int {
24 | rawValue
:
41 | public static let cellular: Self = .init(rawValue: 1)
42 | /// The network interface type used for communication over Wi-Fi networks.
43 | public static let wifi: Self = .init(rawValue: 2)
| |- warning: static property 'wifi' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'wifi' 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
44 | /// The network interface type used for communication over wired Ethernet networks.
45 | public static let wiredEthernet: Self = .init(rawValue: 4)
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/Network/PathStatus.swift:45:23: warning: static property 'wiredEthernet' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Types of network interfaces, based on their link layer media types.
22 | public struct Interface: OptionSet, Interfaceable {
| `- note: consider making struct 'Interface' conform to the 'Sendable' protocol
23 | public var typeValue: Int {
24 | rawValue
:
43 | public static let wifi: Self = .init(rawValue: 2)
44 | /// The network interface type used for communication over wired Ethernet networks.
45 | public static let wiredEthernet: Self = .init(rawValue: 4)
| |- warning: static property 'wiredEthernet' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'wiredEthernet' 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
46 | /// The network interface type used for communication
47 | /// over virtual networks or networks of unknown types.
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/Network/PathStatus.swift:48:23: warning: static property 'other' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Types of network interfaces, based on their link layer media types.
22 | public struct Interface: OptionSet, Interfaceable {
| `- note: consider making struct 'Interface' conform to the 'Sendable' protocol
23 | public var typeValue: Int {
24 | rawValue
:
46 | /// The network interface type used for communication
47 | /// over virtual networks or networks of unknown types.
48 | public static let other: Self = .init(rawValue: 8)
| |- warning: static property 'other' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'other' 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
49 | /// The network interface type used for communication over local loopback networks.
50 | public static let loopback: Self = .init(rawValue: 16)
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/Network/PathStatus.swift:50:23: warning: static property 'loopback' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Types of network interfaces, based on their link layer media types.
22 | public struct Interface: OptionSet, Interfaceable {
| `- note: consider making struct 'Interface' conform to the 'Sendable' protocol
23 | public var typeValue: Int {
24 | rawValue
:
48 | public static let other: Self = .init(rawValue: 8)
49 | /// The network interface type used for communication over local loopback networks.
50 | public static let loopback: Self = .init(rawValue: 16)
| |- warning: static property 'loopback' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'loopback' 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
51 | }
52 | }
[7/33] Compiling SundialKit NeverPing.swift
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/Network/PathStatus.swift:41:23: warning: static property 'cellular' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Types of network interfaces, based on their link layer media types.
22 | public struct Interface: OptionSet, Interfaceable {
| `- note: consider making struct 'Interface' conform to the 'Sendable' protocol
23 | public var typeValue: Int {
24 | rawValue
:
39 |
40 | /// The network interface type used for communication over cellular networks.
41 | public static let cellular: Self = .init(rawValue: 1)
| |- warning: static property 'cellular' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cellular' 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
42 | /// The network interface type used for communication over Wi-Fi networks.
43 | public static let wifi: Self = .init(rawValue: 2)
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/Network/PathStatus.swift:43:23: warning: static property 'wifi' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Types of network interfaces, based on their link layer media types.
22 | public struct Interface: OptionSet, Interfaceable {
| `- note: consider making struct 'Interface' conform to the 'Sendable' protocol
23 | public var typeValue: Int {
24 | rawValue
:
41 | public static let cellular: Self = .init(rawValue: 1)
42 | /// The network interface type used for communication over Wi-Fi networks.
43 | public static let wifi: Self = .init(rawValue: 2)
| |- warning: static property 'wifi' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'wifi' 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
44 | /// The network interface type used for communication over wired Ethernet networks.
45 | public static let wiredEthernet: Self = .init(rawValue: 4)
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/Network/PathStatus.swift:45:23: warning: static property 'wiredEthernet' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Types of network interfaces, based on their link layer media types.
22 | public struct Interface: OptionSet, Interfaceable {
| `- note: consider making struct 'Interface' conform to the 'Sendable' protocol
23 | public var typeValue: Int {
24 | rawValue
:
43 | public static let wifi: Self = .init(rawValue: 2)
44 | /// The network interface type used for communication over wired Ethernet networks.
45 | public static let wiredEthernet: Self = .init(rawValue: 4)
| |- warning: static property 'wiredEthernet' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'wiredEthernet' 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
46 | /// The network interface type used for communication
47 | /// over virtual networks or networks of unknown types.
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/Network/PathStatus.swift:48:23: warning: static property 'other' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Types of network interfaces, based on their link layer media types.
22 | public struct Interface: OptionSet, Interfaceable {
| `- note: consider making struct 'Interface' conform to the 'Sendable' protocol
23 | public var typeValue: Int {
24 | rawValue
:
46 | /// The network interface type used for communication
47 | /// over virtual networks or networks of unknown types.
48 | public static let other: Self = .init(rawValue: 8)
| |- warning: static property 'other' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'other' 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
49 | /// The network interface type used for communication over local loopback networks.
50 | public static let loopback: Self = .init(rawValue: 16)
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/Network/PathStatus.swift:50:23: warning: static property 'loopback' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Types of network interfaces, based on their link layer media types.
22 | public struct Interface: OptionSet, Interfaceable {
| `- note: consider making struct 'Interface' conform to the 'Sendable' protocol
23 | public var typeValue: Int {
24 | rawValue
:
48 | public static let other: Self = .init(rawValue: 8)
49 | /// The network interface type used for communication over local loopback networks.
50 | public static let loopback: Self = .init(rawValue: 16)
| |- warning: static property 'loopback' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'loopback' 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
51 | }
52 | }
[8/33] Compiling SundialKit PathMonitor.swift
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/Network/PathStatus.swift:41:23: warning: static property 'cellular' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Types of network interfaces, based on their link layer media types.
22 | public struct Interface: OptionSet, Interfaceable {
| `- note: consider making struct 'Interface' conform to the 'Sendable' protocol
23 | public var typeValue: Int {
24 | rawValue
:
39 |
40 | /// The network interface type used for communication over cellular networks.
41 | public static let cellular: Self = .init(rawValue: 1)
| |- warning: static property 'cellular' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cellular' 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
42 | /// The network interface type used for communication over Wi-Fi networks.
43 | public static let wifi: Self = .init(rawValue: 2)
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/Network/PathStatus.swift:43:23: warning: static property 'wifi' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Types of network interfaces, based on their link layer media types.
22 | public struct Interface: OptionSet, Interfaceable {
| `- note: consider making struct 'Interface' conform to the 'Sendable' protocol
23 | public var typeValue: Int {
24 | rawValue
:
41 | public static let cellular: Self = .init(rawValue: 1)
42 | /// The network interface type used for communication over Wi-Fi networks.
43 | public static let wifi: Self = .init(rawValue: 2)
| |- warning: static property 'wifi' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'wifi' 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
44 | /// The network interface type used for communication over wired Ethernet networks.
45 | public static let wiredEthernet: Self = .init(rawValue: 4)
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/Network/PathStatus.swift:45:23: warning: static property 'wiredEthernet' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Types of network interfaces, based on their link layer media types.
22 | public struct Interface: OptionSet, Interfaceable {
| `- note: consider making struct 'Interface' conform to the 'Sendable' protocol
23 | public var typeValue: Int {
24 | rawValue
:
43 | public static let wifi: Self = .init(rawValue: 2)
44 | /// The network interface type used for communication over wired Ethernet networks.
45 | public static let wiredEthernet: Self = .init(rawValue: 4)
| |- warning: static property 'wiredEthernet' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'wiredEthernet' 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
46 | /// The network interface type used for communication
47 | /// over virtual networks or networks of unknown types.
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/Network/PathStatus.swift:48:23: warning: static property 'other' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Types of network interfaces, based on their link layer media types.
22 | public struct Interface: OptionSet, Interfaceable {
| `- note: consider making struct 'Interface' conform to the 'Sendable' protocol
23 | public var typeValue: Int {
24 | rawValue
:
46 | /// The network interface type used for communication
47 | /// over virtual networks or networks of unknown types.
48 | public static let other: Self = .init(rawValue: 8)
| |- warning: static property 'other' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'other' 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
49 | /// The network interface type used for communication over local loopback networks.
50 | public static let loopback: Self = .init(rawValue: 16)
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/Network/PathStatus.swift:50:23: warning: static property 'loopback' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Types of network interfaces, based on their link layer media types.
22 | public struct Interface: OptionSet, Interfaceable {
| `- note: consider making struct 'Interface' conform to the 'Sendable' protocol
23 | public var typeValue: Int {
24 | rawValue
:
48 | public static let other: Self = .init(rawValue: 8)
49 | /// The network interface type used for communication over local loopback networks.
50 | public static let loopback: Self = .init(rawValue: 16)
| |- warning: static property 'loopback' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'loopback' 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
51 | }
52 | }
[9/33] Compiling SundialKit PathStatus.swift
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/Network/PathStatus.swift:41:23: warning: static property 'cellular' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Types of network interfaces, based on their link layer media types.
22 | public struct Interface: OptionSet, Interfaceable {
| `- note: consider making struct 'Interface' conform to the 'Sendable' protocol
23 | public var typeValue: Int {
24 | rawValue
:
39 |
40 | /// The network interface type used for communication over cellular networks.
41 | public static let cellular: Self = .init(rawValue: 1)
| |- warning: static property 'cellular' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cellular' 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
42 | /// The network interface type used for communication over Wi-Fi networks.
43 | public static let wifi: Self = .init(rawValue: 2)
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/Network/PathStatus.swift:43:23: warning: static property 'wifi' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Types of network interfaces, based on their link layer media types.
22 | public struct Interface: OptionSet, Interfaceable {
| `- note: consider making struct 'Interface' conform to the 'Sendable' protocol
23 | public var typeValue: Int {
24 | rawValue
:
41 | public static let cellular: Self = .init(rawValue: 1)
42 | /// The network interface type used for communication over Wi-Fi networks.
43 | public static let wifi: Self = .init(rawValue: 2)
| |- warning: static property 'wifi' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'wifi' 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
44 | /// The network interface type used for communication over wired Ethernet networks.
45 | public static let wiredEthernet: Self = .init(rawValue: 4)
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/Network/PathStatus.swift:45:23: warning: static property 'wiredEthernet' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Types of network interfaces, based on their link layer media types.
22 | public struct Interface: OptionSet, Interfaceable {
| `- note: consider making struct 'Interface' conform to the 'Sendable' protocol
23 | public var typeValue: Int {
24 | rawValue
:
43 | public static let wifi: Self = .init(rawValue: 2)
44 | /// The network interface type used for communication over wired Ethernet networks.
45 | public static let wiredEthernet: Self = .init(rawValue: 4)
| |- warning: static property 'wiredEthernet' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'wiredEthernet' 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
46 | /// The network interface type used for communication
47 | /// over virtual networks or networks of unknown types.
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/Network/PathStatus.swift:48:23: warning: static property 'other' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Types of network interfaces, based on their link layer media types.
22 | public struct Interface: OptionSet, Interfaceable {
| `- note: consider making struct 'Interface' conform to the 'Sendable' protocol
23 | public var typeValue: Int {
24 | rawValue
:
46 | /// The network interface type used for communication
47 | /// over virtual networks or networks of unknown types.
48 | public static let other: Self = .init(rawValue: 8)
| |- warning: static property 'other' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'other' 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
49 | /// The network interface type used for communication over local loopback networks.
50 | public static let loopback: Self = .init(rawValue: 16)
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/Network/PathStatus.swift:50:23: warning: static property 'loopback' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Types of network interfaces, based on their link layer media types.
22 | public struct Interface: OptionSet, Interfaceable {
| `- note: consider making struct 'Interface' conform to the 'Sendable' protocol
23 | public var typeValue: Int {
24 | rawValue
:
48 | public static let other: Self = .init(rawValue: 8)
49 | /// The network interface type used for communication over local loopback networks.
50 | public static let loopback: Self = .init(rawValue: 16)
| |- warning: static property 'loopback' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'loopback' 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
51 | }
52 | }
[10/33] Compiling SundialKit ConnectivitySendResult.swift
[11/33] Compiling SundialKit ConnectivitySession.swift
[12/33] Compiling SundialKit ConnectivitySessionDelegate.swift
[13/33] Compiling SundialKit MessageDecoder.swift
[14/33] Compiling SundialKit NeverConnectivitySession.swift
[15/33] Compiling SundialKit WatchConnectivitySession.swift
[16/33] Compiling SundialKit PassthroughSubject.swift
[17/33] Compiling SundialKit SundialError.swift
[18/33] Compiling SundialKit ActivationState.swift
[19/33] Compiling SundialKit ConnectivityHandler.swift
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/WatchConnectivity/ConnectivityObserver.swift:107:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
105 | internal func sessionCompanionStateDidChange(_ session: ConnectivitySession) {
106 | DispatchQueue.main.async {
107 | self.isPairedSubject.send(session)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
108 | self.isPairedAppInstalledSubject.send(session)
109 | }
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/WatchConnectivity/ConnectivityObserver.swift:107:35: warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
105 | internal func sessionCompanionStateDidChange(_ session: ConnectivitySession) {
106 | DispatchQueue.main.async {
107 | self.isPairedSubject.send(session)
| |- warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'session' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
108 | self.isPairedAppInstalledSubject.send(session)
109 | }
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/WatchConnectivity/ConnectivityObserver.swift:118:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
116 | ) {
117 | DispatchQueue.main.async {
118 | self.activationStateSubject.send(session)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
119 |
120 | self.isReachableSubject.send(session)
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/WatchConnectivity/ConnectivityObserver.swift:118:42: warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
116 | ) {
117 | DispatchQueue.main.async {
118 | self.activationStateSubject.send(session)
| |- warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'session' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
119 |
120 | self.isReachableSubject.send(session)
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/WatchConnectivity/ConnectivityObserver.swift:130:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
128 | internal func sessionReachabilityDidChange(_ session: ConnectivitySession) {
129 | DispatchQueue.main.async {
130 | self.isReachableSubject.send(session)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
131 | }
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/WatchConnectivity/ConnectivityObserver.swift:130:38: warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
128 | internal func sessionReachabilityDidChange(_ session: ConnectivitySession) {
129 | DispatchQueue.main.async {
130 | self.isReachableSubject.send(session)
| |- warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'session' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
131 | }
132 | }
[20/33] Compiling SundialKit ConnectivityMessage.swift
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/WatchConnectivity/ConnectivityObserver.swift:107:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
105 | internal func sessionCompanionStateDidChange(_ session: ConnectivitySession) {
106 | DispatchQueue.main.async {
107 | self.isPairedSubject.send(session)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
108 | self.isPairedAppInstalledSubject.send(session)
109 | }
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/WatchConnectivity/ConnectivityObserver.swift:107:35: warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
105 | internal func sessionCompanionStateDidChange(_ session: ConnectivitySession) {
106 | DispatchQueue.main.async {
107 | self.isPairedSubject.send(session)
| |- warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'session' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
108 | self.isPairedAppInstalledSubject.send(session)
109 | }
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/WatchConnectivity/ConnectivityObserver.swift:118:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
116 | ) {
117 | DispatchQueue.main.async {
118 | self.activationStateSubject.send(session)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
119 |
120 | self.isReachableSubject.send(session)
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/WatchConnectivity/ConnectivityObserver.swift:118:42: warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
116 | ) {
117 | DispatchQueue.main.async {
118 | self.activationStateSubject.send(session)
| |- warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'session' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
119 |
120 | self.isReachableSubject.send(session)
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/WatchConnectivity/ConnectivityObserver.swift:130:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
128 | internal func sessionReachabilityDidChange(_ session: ConnectivitySession) {
129 | DispatchQueue.main.async {
130 | self.isReachableSubject.send(session)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
131 | }
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/WatchConnectivity/ConnectivityObserver.swift:130:38: warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
128 | internal func sessionReachabilityDidChange(_ session: ConnectivitySession) {
129 | DispatchQueue.main.async {
130 | self.isReachableSubject.send(session)
| |- warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'session' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
131 | }
132 | }
[21/33] Compiling SundialKit ConnectivityObserver.swift
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/WatchConnectivity/ConnectivityObserver.swift:107:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
105 | internal func sessionCompanionStateDidChange(_ session: ConnectivitySession) {
106 | DispatchQueue.main.async {
107 | self.isPairedSubject.send(session)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
108 | self.isPairedAppInstalledSubject.send(session)
109 | }
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/WatchConnectivity/ConnectivityObserver.swift:107:35: warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
105 | internal func sessionCompanionStateDidChange(_ session: ConnectivitySession) {
106 | DispatchQueue.main.async {
107 | self.isPairedSubject.send(session)
| |- warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'session' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
108 | self.isPairedAppInstalledSubject.send(session)
109 | }
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/WatchConnectivity/ConnectivityObserver.swift:118:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
116 | ) {
117 | DispatchQueue.main.async {
118 | self.activationStateSubject.send(session)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
119 |
120 | self.isReachableSubject.send(session)
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/WatchConnectivity/ConnectivityObserver.swift:118:42: warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
116 | ) {
117 | DispatchQueue.main.async {
118 | self.activationStateSubject.send(session)
| |- warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'session' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
119 |
120 | self.isReachableSubject.send(session)
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/WatchConnectivity/ConnectivityObserver.swift:130:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
128 | internal func sessionReachabilityDidChange(_ session: ConnectivitySession) {
129 | DispatchQueue.main.async {
130 | self.isReachableSubject.send(session)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
131 | }
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/WatchConnectivity/ConnectivityObserver.swift:130:38: warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
128 | internal func sessionReachabilityDidChange(_ session: ConnectivitySession) {
129 | DispatchQueue.main.async {
130 | self.isReachableSubject.send(session)
| |- warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'session' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
131 | }
132 | }
[22/33] Compiling SundialKit NWInterface.swift
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/Network/PathStatus.swift:48:23: warning: static property 'other' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Types of network interfaces, based on their link layer media types.
22 | public struct Interface: OptionSet, Interfaceable {
| `- note: consider making struct 'Interface' conform to the 'Sendable' protocol
23 | public var typeValue: Int {
24 | rawValue
:
46 | /// The network interface type used for communication
47 | /// over virtual networks or networks of unknown types.
48 | public static let other: Self = .init(rawValue: 8)
| |- warning: static property 'other' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'other' 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
49 | /// The network interface type used for communication over local loopback networks.
50 | public static let loopback: Self = .init(rawValue: 16)
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/Network/PathStatus.swift:43:23: warning: static property 'wifi' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Types of network interfaces, based on their link layer media types.
22 | public struct Interface: OptionSet, Interfaceable {
| `- note: consider making struct 'Interface' conform to the 'Sendable' protocol
23 | public var typeValue: Int {
24 | rawValue
:
41 | public static let cellular: Self = .init(rawValue: 1)
42 | /// The network interface type used for communication over Wi-Fi networks.
43 | public static let wifi: Self = .init(rawValue: 2)
| |- warning: static property 'wifi' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'wifi' 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
44 | /// The network interface type used for communication over wired Ethernet networks.
45 | public static let wiredEthernet: Self = .init(rawValue: 4)
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/Network/PathStatus.swift:41:23: warning: static property 'cellular' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Types of network interfaces, based on their link layer media types.
22 | public struct Interface: OptionSet, Interfaceable {
| `- note: consider making struct 'Interface' conform to the 'Sendable' protocol
23 | public var typeValue: Int {
24 | rawValue
:
39 |
40 | /// The network interface type used for communication over cellular networks.
41 | public static let cellular: Self = .init(rawValue: 1)
| |- warning: static property 'cellular' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cellular' 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
42 | /// The network interface type used for communication over Wi-Fi networks.
43 | public static let wifi: Self = .init(rawValue: 2)
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/Network/PathStatus.swift:45:23: warning: static property 'wiredEthernet' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Types of network interfaces, based on their link layer media types.
22 | public struct Interface: OptionSet, Interfaceable {
| `- note: consider making struct 'Interface' conform to the 'Sendable' protocol
23 | public var typeValue: Int {
24 | rawValue
:
43 | public static let wifi: Self = .init(rawValue: 2)
44 | /// The network interface type used for communication over wired Ethernet networks.
45 | public static let wiredEthernet: Self = .init(rawValue: 4)
| |- warning: static property 'wiredEthernet' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'wiredEthernet' 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
46 | /// The network interface type used for communication
47 | /// over virtual networks or networks of unknown types.
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/Network/PathStatus.swift:50:23: warning: static property 'loopback' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Types of network interfaces, based on their link layer media types.
22 | public struct Interface: OptionSet, Interfaceable {
| `- note: consider making struct 'Interface' conform to the 'Sendable' protocol
23 | public var typeValue: Int {
24 | rawValue
:
48 | public static let other: Self = .init(rawValue: 8)
49 | /// The network interface type used for communication over local loopback networks.
50 | public static let loopback: Self = .init(rawValue: 16)
| |- warning: static property 'loopback' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'loopback' 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
51 | }
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/Network/Extensions/NWPathMonitor.swift:7:25: warning: assigning non-sendable parameter 'handler' to a @Sendable closure
4 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
5 | extension NWPathMonitor: PathMonitor {
6 | public func onPathUpdate(_ handler: @escaping (NWPath) -> Void) {
| `- note: parameter 'handler' is implicitly non-sendable
7 | pathUpdateHandler = handler
| `- warning: assigning non-sendable parameter 'handler' to a @Sendable closure
8 | }
9 | }
[23/33] Compiling SundialKit NWPath.swift
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/Network/PathStatus.swift:48:23: warning: static property 'other' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Types of network interfaces, based on their link layer media types.
22 | public struct Interface: OptionSet, Interfaceable {
| `- note: consider making struct 'Interface' conform to the 'Sendable' protocol
23 | public var typeValue: Int {
24 | rawValue
:
46 | /// The network interface type used for communication
47 | /// over virtual networks or networks of unknown types.
48 | public static let other: Self = .init(rawValue: 8)
| |- warning: static property 'other' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'other' 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
49 | /// The network interface type used for communication over local loopback networks.
50 | public static let loopback: Self = .init(rawValue: 16)
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/Network/PathStatus.swift:43:23: warning: static property 'wifi' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Types of network interfaces, based on their link layer media types.
22 | public struct Interface: OptionSet, Interfaceable {
| `- note: consider making struct 'Interface' conform to the 'Sendable' protocol
23 | public var typeValue: Int {
24 | rawValue
:
41 | public static let cellular: Self = .init(rawValue: 1)
42 | /// The network interface type used for communication over Wi-Fi networks.
43 | public static let wifi: Self = .init(rawValue: 2)
| |- warning: static property 'wifi' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'wifi' 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
44 | /// The network interface type used for communication over wired Ethernet networks.
45 | public static let wiredEthernet: Self = .init(rawValue: 4)
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/Network/PathStatus.swift:41:23: warning: static property 'cellular' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Types of network interfaces, based on their link layer media types.
22 | public struct Interface: OptionSet, Interfaceable {
| `- note: consider making struct 'Interface' conform to the 'Sendable' protocol
23 | public var typeValue: Int {
24 | rawValue
:
39 |
40 | /// The network interface type used for communication over cellular networks.
41 | public static let cellular: Self = .init(rawValue: 1)
| |- warning: static property 'cellular' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cellular' 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
42 | /// The network interface type used for communication over Wi-Fi networks.
43 | public static let wifi: Self = .init(rawValue: 2)
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/Network/PathStatus.swift:45:23: warning: static property 'wiredEthernet' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Types of network interfaces, based on their link layer media types.
22 | public struct Interface: OptionSet, Interfaceable {
| `- note: consider making struct 'Interface' conform to the 'Sendable' protocol
23 | public var typeValue: Int {
24 | rawValue
:
43 | public static let wifi: Self = .init(rawValue: 2)
44 | /// The network interface type used for communication over wired Ethernet networks.
45 | public static let wiredEthernet: Self = .init(rawValue: 4)
| |- warning: static property 'wiredEthernet' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'wiredEthernet' 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
46 | /// The network interface type used for communication
47 | /// over virtual networks or networks of unknown types.
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/Network/PathStatus.swift:50:23: warning: static property 'loopback' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Types of network interfaces, based on their link layer media types.
22 | public struct Interface: OptionSet, Interfaceable {
| `- note: consider making struct 'Interface' conform to the 'Sendable' protocol
23 | public var typeValue: Int {
24 | rawValue
:
48 | public static let other: Self = .init(rawValue: 8)
49 | /// The network interface type used for communication over local loopback networks.
50 | public static let loopback: Self = .init(rawValue: 16)
| |- warning: static property 'loopback' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'loopback' 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
51 | }
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/Network/Extensions/NWPathMonitor.swift:7:25: warning: assigning non-sendable parameter 'handler' to a @Sendable closure
4 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
5 | extension NWPathMonitor: PathMonitor {
6 | public func onPathUpdate(_ handler: @escaping (NWPath) -> Void) {
| `- note: parameter 'handler' is implicitly non-sendable
7 | pathUpdateHandler = handler
| `- warning: assigning non-sendable parameter 'handler' to a @Sendable closure
8 | }
9 | }
[24/33] Compiling SundialKit NWPathMonitor.swift
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/Network/PathStatus.swift:48:23: warning: static property 'other' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Types of network interfaces, based on their link layer media types.
22 | public struct Interface: OptionSet, Interfaceable {
| `- note: consider making struct 'Interface' conform to the 'Sendable' protocol
23 | public var typeValue: Int {
24 | rawValue
:
46 | /// The network interface type used for communication
47 | /// over virtual networks or networks of unknown types.
48 | public static let other: Self = .init(rawValue: 8)
| |- warning: static property 'other' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'other' 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
49 | /// The network interface type used for communication over local loopback networks.
50 | public static let loopback: Self = .init(rawValue: 16)
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/Network/PathStatus.swift:43:23: warning: static property 'wifi' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Types of network interfaces, based on their link layer media types.
22 | public struct Interface: OptionSet, Interfaceable {
| `- note: consider making struct 'Interface' conform to the 'Sendable' protocol
23 | public var typeValue: Int {
24 | rawValue
:
41 | public static let cellular: Self = .init(rawValue: 1)
42 | /// The network interface type used for communication over Wi-Fi networks.
43 | public static let wifi: Self = .init(rawValue: 2)
| |- warning: static property 'wifi' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'wifi' 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
44 | /// The network interface type used for communication over wired Ethernet networks.
45 | public static let wiredEthernet: Self = .init(rawValue: 4)
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/Network/PathStatus.swift:41:23: warning: static property 'cellular' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Types of network interfaces, based on their link layer media types.
22 | public struct Interface: OptionSet, Interfaceable {
| `- note: consider making struct 'Interface' conform to the 'Sendable' protocol
23 | public var typeValue: Int {
24 | rawValue
:
39 |
40 | /// The network interface type used for communication over cellular networks.
41 | public static let cellular: Self = .init(rawValue: 1)
| |- warning: static property 'cellular' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cellular' 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
42 | /// The network interface type used for communication over Wi-Fi networks.
43 | public static let wifi: Self = .init(rawValue: 2)
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/Network/PathStatus.swift:45:23: warning: static property 'wiredEthernet' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Types of network interfaces, based on their link layer media types.
22 | public struct Interface: OptionSet, Interfaceable {
| `- note: consider making struct 'Interface' conform to the 'Sendable' protocol
23 | public var typeValue: Int {
24 | rawValue
:
43 | public static let wifi: Self = .init(rawValue: 2)
44 | /// The network interface type used for communication over wired Ethernet networks.
45 | public static let wiredEthernet: Self = .init(rawValue: 4)
| |- warning: static property 'wiredEthernet' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'wiredEthernet' 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
46 | /// The network interface type used for communication
47 | /// over virtual networks or networks of unknown types.
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/Network/PathStatus.swift:50:23: warning: static property 'loopback' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Types of network interfaces, based on their link layer media types.
22 | public struct Interface: OptionSet, Interfaceable {
| `- note: consider making struct 'Interface' conform to the 'Sendable' protocol
23 | public var typeValue: Int {
24 | rawValue
:
48 | public static let other: Self = .init(rawValue: 8)
49 | /// The network interface type used for communication over local loopback networks.
50 | public static let loopback: Self = .init(rawValue: 16)
| |- warning: static property 'loopback' is not concurrency-safe because non-'Sendable' type 'PathStatus.Interface' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'loopback' 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
51 | }
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/Network/Extensions/NWPathMonitor.swift:7:25: warning: assigning non-sendable parameter 'handler' to a @Sendable closure
4 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
5 | extension NWPathMonitor: PathMonitor {
6 | public func onPathUpdate(_ handler: @escaping (NWPath) -> Void) {
| `- note: parameter 'handler' is implicitly non-sendable
7 | pathUpdateHandler = handler
| `- warning: assigning non-sendable parameter 'handler' to a @Sendable closure
8 | }
9 | }
[25/33] Compiling SundialKit PathStatus.Network.swift
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/Network/Extensions/PathStatus.UnsatisfiedReason.swift:10:7: warning: switch must be exhaustive; this is an error in the Swift 6 language mode
8 | /// - Parameter reason: The `UnsatisfiedReason` from the `Network` API.
9 | init(_ reason: NWPath.UnsatisfiedReason) {
10 | switch reason {
| |- warning: switch must be exhaustive; this is an error in the Swift 6 language mode
| `- note: add missing case: '.vpnInactive'
11 | case .notAvailable:
12 | self = .notAvailable
[26/33] Compiling SundialKit PathStatus.UnsatisfiedReason.swift
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/Network/Extensions/PathStatus.UnsatisfiedReason.swift:10:7: warning: switch must be exhaustive; this is an error in the Swift 6 language mode
8 | /// - Parameter reason: The `UnsatisfiedReason` from the `Network` API.
9 | init(_ reason: NWPath.UnsatisfiedReason) {
10 | switch reason {
| |- warning: switch must be exhaustive; this is an error in the Swift 6 language mode
| `- note: add missing case: '.vpnInactive'
11 | case .notAvailable:
12 | self = .notAvailable
[27/33] Compiling SundialKit Interfaceable.swift
/Users/admin/builder/spi-builder-workspace/Sources/SundialKit/Network/Extensions/PathStatus.UnsatisfiedReason.swift:10:7: warning: switch must be exhaustive; this is an error in the Swift 6 language mode
8 | /// - Parameter reason: The `UnsatisfiedReason` from the `Network` API.
9 | init(_ reason: NWPath.UnsatisfiedReason) {
10 | switch reason {
| |- warning: switch must be exhaustive; this is an error in the Swift 6 language mode
| `- note: add missing case: '.vpnInactive'
11 | case .notAvailable:
12 | self = .notAvailable
[28/33] Compiling SundialKit WCSession.swift
[29/33] Compiling SundialKit Messagable.swift
[30/33] Compiling SundialKit MessagableKeys.swift
[31/33] Compiling SundialKit NetworkObserver.swift
[32/33] Compiling SundialKit NetworkPath.swift
[33/33] Compiling SundialKit NetworkPing.swift
Build complete! (11.74s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SundialKit",
"name" : "SundialKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.13"
}
],
"products" : [
{
"name" : "SundialKit",
"targets" : [
"SundialKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SundialKitTests",
"module_type" : "SwiftTarget",
"name" : "SundialKitTests",
"path" : "Tests/SundialKitTests",
"sources" : [
"MockError.swift",
"MockMessage.swift",
"MockNetworkPing.swift",
"MockPath.swift",
"MockPathMonitor.swift",
"MockSession.swift",
"Network/Extensions/NWInterfaceTests.swift",
"Network/Extensions/NWPathMonitorTests.swift",
"Network/Extensions/PathStatusNetworkTests.swift",
"Network/NetworkObserverTests.swift",
"PassthroughSubjectTests.swift",
"WatchConnectivity/ConnectivityObserverInternalTests.swift",
"WatchConnectivity/ConnectivityObserverMessageTests.swift",
"WatchConnectivity/ConnectivityObserverPropertyTests.swift",
"WatchConnectivity/ConnectivityReceiveContextTests.swift",
"WatchConnectivity/ConnectivitySendContextTests.swift",
"WatchConnectivity/MessagableTests.swift",
"WatchConnectivity/MessageDecoderTests.swift",
"WatchConnectivity/NeverConnectivitySessionTests.swift"
],
"target_dependencies" : [
"SundialKit"
],
"type" : "test"
},
{
"c99name" : "SundialKit",
"module_type" : "SwiftTarget",
"name" : "SundialKit",
"path" : "Sources/SundialKit",
"product_memberships" : [
"SundialKit"
],
"sources" : [
"Network/Extensions/NWInterface.swift",
"Network/Extensions/NWPath.swift",
"Network/Extensions/NWPathMonitor.swift",
"Network/Extensions/PathStatus.Network.swift",
"Network/Extensions/PathStatus.UnsatisfiedReason.swift",
"Network/Interfaceable.swift",
"Network/NetworkObserver.swift",
"Network/NetworkPath.swift",
"Network/NetworkPing.swift",
"Network/NeverPing.swift",
"Network/PathMonitor.swift",
"Network/PathStatus.swift",
"PassthroughSubject.swift",
"SundialError.swift",
"WatchConnectivity/ActivationState.swift",
"WatchConnectivity/ConnectivityHandler.swift",
"WatchConnectivity/ConnectivityMessage.swift",
"WatchConnectivity/ConnectivityObserver.swift",
"WatchConnectivity/ConnectivityReceiveContext.swift",
"WatchConnectivity/ConnectivityReceiveResult.swift",
"WatchConnectivity/ConnectivitySendContext.swift",
"WatchConnectivity/ConnectivitySendResult.swift",
"WatchConnectivity/ConnectivitySession.swift",
"WatchConnectivity/ConnectivitySessionDelegate.swift",
"WatchConnectivity/Extensions/WCSession.swift",
"WatchConnectivity/Messagable.swift",
"WatchConnectivity/MessagableKeys.swift",
"WatchConnectivity/MessageDecoder.swift",
"WatchConnectivity/NeverConnectivitySession.swift",
"WatchConnectivity/WatchConnectivitySession.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.