Build Information
Successful build of Beacon, reference master (659ecc
), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 03:23:02 UTC.
Swift 6 data race errors: 16
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/grype/SwiftBeacon.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/grype/SwiftBeacon
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 659eccf Bump ios to .v13
Cloned https://github.com/grype/SwiftBeacon.git
Revision (git rev-parse @):
659eccfac882d2ea1ff3999fca549a83d6d32d90
SUCCESS checkout https://github.com/grype/SwiftBeacon.git at master
Fetching https://github.com/Quick/Nimble
Fetching https://github.com/Flight-School/AnyCodable
Fetching https://github.com/mattgallagher/CwlCatchException.git
Fetching https://github.com/Brightify/Cuckoo
Fetching https://github.com/grype/RWLock-Swift
Fetching https://github.com/kyouko-taiga/LogicKit
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/20] Fetching rwlock-swift
[21/802] Fetching rwlock-swift, anycodable
[22/1257] Fetching rwlock-swift, anycodable, cwlcatchexception
[407/1772] Fetching rwlock-swift, anycodable, cwlcatchexception, logickit
[640/3029] Fetching rwlock-swift, anycodable, cwlcatchexception, logickit, cwlpreconditiontesting
[2402/9740] Fetching rwlock-swift, anycodable, cwlcatchexception, logickit, cwlpreconditiontesting, cuckoo
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (1.02s)
Fetching https://github.com/grype/SwiftAnnouncements
[2578/8483] Fetching rwlock-swift, anycodable, cwlcatchexception, logickit, cuckoo
Fetched https://github.com/grype/RWLock-Swift from cache (1.46s)
[1/180] Fetching swiftannouncements
Fetched https://github.com/grype/SwiftAnnouncements from cache (0.64s)
[1/19218] Fetching nimble
Fetched https://github.com/Quick/Nimble from cache (3.25s)
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (3.25s)
Fetched https://github.com/kyouko-taiga/LogicKit from cache (3.25s)
Fetched https://github.com/Brightify/Cuckoo from cache (3.25s)
Fetched https://github.com/Flight-School/AnyCodable from cache (3.25s)
Computing version for https://github.com/kyouko-taiga/LogicKit
Computed https://github.com/kyouko-taiga/LogicKit at 2.1.0 (2.62s)
Computing version for https://github.com/Flight-School/AnyCodable
Computed https://github.com/Flight-School/AnyCodable at 0.6.7 (0.64s)
Computing version for https://github.com/Brightify/Cuckoo
Computed https://github.com/Brightify/Cuckoo at 1.10.1 (2.63s)
Computing version for https://github.com/grype/RWLock-Swift
Computed https://github.com/grype/RWLock-Swift at 1.0.0 (0.65s)
Computing version for https://github.com/grype/SwiftAnnouncements
Computed https://github.com/grype/SwiftAnnouncements at 1.0.4 (0.66s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 11.2.1 (0.65s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.1.0 (0.63s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.1.1 (0.65s)
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.1.1
Creating working copy for https://github.com/grype/RWLock-Swift
Working copy of https://github.com/grype/RWLock-Swift resolved at 1.0.0
Creating working copy for https://github.com/grype/SwiftAnnouncements
Working copy of https://github.com/grype/SwiftAnnouncements resolved at 1.0.4
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.1.0
Creating working copy for https://github.com/Brightify/Cuckoo
Working copy of https://github.com/Brightify/Cuckoo resolved at 1.10.1
Creating working copy for https://github.com/kyouko-taiga/LogicKit
Working copy of https://github.com/kyouko-taiga/LogicKit resolved at 2.1.0
Creating working copy for https://github.com/Quick/Nimble
Working copy of https://github.com/Quick/Nimble resolved at 11.2.1
Creating working copy for https://github.com/Flight-School/AnyCodable
Working copy of https://github.com/Flight-School/AnyCodable resolved at 0.6.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": "swiftbeacon",
"name": "Beacon",
"url": "https://github.com/grype/SwiftBeacon.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftBeacon",
"dependencies": [
{
"identity": "nimble",
"name": "Nimble",
"url": "https://github.com/Quick/Nimble",
"version": "11.2.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Nimble",
"dependencies": [
{
"identity": "cwlpreconditiontesting",
"name": "CwlPreconditionTesting",
"url": "https://github.com/mattgallagher/CwlPreconditionTesting.git",
"version": "2.2.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CwlPreconditionTesting",
"dependencies": [
{
"identity": "cwlcatchexception",
"name": "CwlCatchException",
"url": "https://github.com/mattgallagher/CwlCatchException.git",
"version": "2.2.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CwlCatchException",
"dependencies": [
]
}
]
}
]
},
{
"identity": "swiftannouncements",
"name": "SwiftAnnouncements",
"url": "https://github.com/grype/SwiftAnnouncements",
"version": "1.0.5",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftAnnouncements",
"dependencies": [
{
"identity": "rwlock-swift",
"name": "RWLock",
"url": "https://github.com/grype/RWLock-Swift",
"version": "1.0.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/RWLock-Swift",
"dependencies": [
]
}
]
},
{
"identity": "rwlock-swift",
"name": "RWLock",
"url": "https://github.com/grype/RWLock-Swift",
"version": "1.0.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/RWLock-Swift",
"dependencies": [
]
},
{
"identity": "cuckoo",
"name": "Cuckoo",
"url": "https://github.com/Brightify/Cuckoo",
"version": "1.10.4",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Cuckoo",
"dependencies": [
]
},
{
"identity": "anycodable",
"name": "AnyCodable",
"url": "https://github.com/Flight-School/AnyCodable",
"version": "0.6.7",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/AnyCodable",
"dependencies": [
]
},
{
"identity": "logickit",
"name": "LogicKit",
"url": "https://github.com/kyouko-taiga/LogicKit",
"version": "2.1.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/LogicKit",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/grype/SwiftBeacon.git
[1/2994] Fetching swiftbeacon
Fetched https://github.com/grype/SwiftBeacon.git from cache (1.04s)
Fetching https://github.com/Brightify/Cuckoo from cache
Fetching https://github.com/Flight-School/AnyCodable from cache
Fetching https://github.com/grype/SwiftAnnouncements from cache
Fetching https://github.com/Quick/Nimble from cache
Fetching https://github.com/grype/RWLock-Swift from cache
Fetching https://github.com/kyouko-taiga/LogicKit from cache
Fetched https://github.com/Flight-School/AnyCodable from cache (0.64s)
Fetched https://github.com/grype/RWLock-Swift from cache (0.64s)
Fetched https://github.com/kyouko-taiga/LogicKit from cache (0.64s)
Fetched https://github.com/Brightify/Cuckoo from cache (0.64s)
Fetched https://github.com/grype/SwiftAnnouncements from cache (0.65s)
Fetched https://github.com/Quick/Nimble from cache (0.65s)
Computing version for https://github.com/kyouko-taiga/LogicKit
Computed https://github.com/kyouko-taiga/LogicKit at 2.1.0 (0.03s)
Computing version for https://github.com/grype/RWLock-Swift
Computed https://github.com/grype/RWLock-Swift at 1.0.0 (0.02s)
Computing version for https://github.com/grype/SwiftAnnouncements
Computed https://github.com/grype/SwiftAnnouncements at 1.0.5 (0.02s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 11.2.2 (0.03s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git from cache
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.46s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (0.66s)
Fetching https://github.com/mattgallagher/CwlCatchException.git from cache
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.48s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.64s)
Computing version for https://github.com/Flight-School/AnyCodable
Computed https://github.com/Flight-School/AnyCodable at 0.6.7 (0.03s)
Computing version for https://github.com/Brightify/Cuckoo
Computed https://github.com/Brightify/Cuckoo at 1.10.4 (0.03s)
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
Creating working copy for https://github.com/Brightify/Cuckoo
Working copy of https://github.com/Brightify/Cuckoo resolved at 1.10.4
Creating working copy for https://github.com/Quick/Nimble
Working copy of https://github.com/Quick/Nimble resolved at 11.2.2
Creating working copy for https://github.com/grype/SwiftAnnouncements
Working copy of https://github.com/grype/SwiftAnnouncements resolved at 1.0.5
Creating working copy for https://github.com/Flight-School/AnyCodable
Working copy of https://github.com/Flight-School/AnyCodable resolved at 0.6.7
Creating working copy for https://github.com/kyouko-taiga/LogicKit
Working copy of https://github.com/kyouko-taiga/LogicKit resolved at 2.1.0
Creating working copy for https://github.com/grype/SwiftBeacon.git
Working copy of https://github.com/grype/SwiftBeacon.git resolved at master (659eccf)
Creating working copy for https://github.com/grype/RWLock-Swift
Working copy of https://github.com/grype/RWLock-Swift resolved at 1.0.0
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
warning: '.resolve-product-dependencies': dependency 'swiftbeacon' is not used by any target
Found 6 product dependencies
- Nimble
- SwiftAnnouncements
- RWLock
- Cuckoo
- AnyCodable
- LogicKit
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/grype/SwiftBeacon.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
Building for debugging...
[0/10] Write sources
[6/10] Write swift-version--7754E27361AE5C74.txt
[8/26] Compiling LogicKit Sequence+Extensions.swift
[9/26] Compiling LogicKit Realizer.swift
[10/26] Compiling LogicKit Logger.swift
[11/26] Compiling LogicKit KnowledgeBase.swift
[12/26] Compiling LogicKit Term.swift
[13/26] Compiling LogicKit EDSL.swift
[14/26] Emitting module LogicKit
[15/26] Compiling LogicKit AnswerSet.swift
[16/26] Compiling LogicKit BindingMap.swift
[17/29] Compiling LogicKitBuiltins List.swift
[18/29] Emitting module LogicKitBuiltins
[19/29] Compiling LogicKitBuiltins Nat.swift
[19/29] Write Objects.LinkFileList
[20/29] Archiving libLogicKit.a
[22/29] Compiling RWLock RWLockedPropertyWrapper.swift
[23/29] Emitting module RWLock
[24/29] Compiling RWLock RWLock.swift
[25/29] Emitting module AnyCodable
[26/29] Compiling AnyCodable AnyDecodable.swift
[27/29] Compiling AnyCodable AnyEncodable.swift
[28/29] Compiling AnyCodable AnyCodable.swift
[29/35] Compiling SwiftAnnouncements Subscription.swift
[30/35] Compiling SwiftAnnouncements Announcer.swift
[31/35] Compiling SwiftAnnouncements Announceable.swift
[32/35] Compiling SwiftAnnouncements Registry.swift
[33/35] Compiling SwiftAnnouncements AnySubscription.swift
[34/35] Emitting module SwiftAnnouncements
[35/72] Compiling Beacon Data+Extensions.swift
[36/72] Compiling Beacon DateFormatter+Extensions.swift
[37/72] Compiling Beacon Foundation+Extensions.swift
[38/72] Compiling Beacon URL+Extensions.swift
[39/75] Compiling Beacon JSONSignalEncoder.swift
[40/75] Compiling Beacon SignalDescriptionEncoder.swift
[41/75] Compiling Beacon SignalEncoder.swift
[42/75] Compiling Beacon Beacon+Constraints.swift
[43/75] Compiling Beacon ConstraintBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Constraints/Constraints.swift:143:13: warning: var 'constraintLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
141 | // MARK: - Variables
142 |
143 | private var constraintLock: RWLock = .init()
| |- warning: var 'constraintLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'constraintLock' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'constraintLock' 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
144 |
145 | // MARK: - Functors
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Constraints/Constraints.swift:147:13: warning: let 'constraint' is not concurrency-safe because non-'Sendable' type 'Functor' may have shared mutable state; this is an error in the Swift 6 language mode
145 | // MARK: - Functors
146 |
147 | private let constraint = "constraint"/4
| `- warning: let 'constraint' is not concurrency-safe because non-'Sendable' type 'Functor' may have shared mutable state; this is an error in the Swift 6 language mode
148 | private let findAllConstraints = "findAllConstraints"/4
149 | private let signalHierarchy = "signalHierarchy"/3
/Users/admin/builder/spi-builder-workspace/.build/checkouts/LogicKit/Sources/LogicKit/EDSL.swift:120:15: note: struct 'Functor' does not conform to the 'Sendable' protocol
118 |
119 | @dynamicCallable
120 | public struct Functor {
| `- note: struct 'Functor' does not conform to the 'Sendable' protocol
121 |
122 | public let name: String
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Constraints/Constraints.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'LogicKit'
8 |
9 | import Foundation
10 | import LogicKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'LogicKit'
11 | import LogicKitBuiltins
12 | import RWLock
:
145 | // MARK: - Functors
146 |
147 | private let constraint = "constraint"/4
| |- note: annotate 'constraint' 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
148 | private let findAllConstraints = "findAllConstraints"/4
149 | private let signalHierarchy = "signalHierarchy"/3
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Constraints/Constraints.swift:148:13: warning: let 'findAllConstraints' is not concurrency-safe because non-'Sendable' type 'Functor' may have shared mutable state; this is an error in the Swift 6 language mode
146 |
147 | private let constraint = "constraint"/4
148 | private let findAllConstraints = "findAllConstraints"/4
| |- warning: let 'findAllConstraints' is not concurrency-safe because non-'Sendable' type 'Functor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'findAllConstraints' 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
149 | private let signalHierarchy = "signalHierarchy"/3
150 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/LogicKit/Sources/LogicKit/EDSL.swift:120:15: note: struct 'Functor' does not conform to the 'Sendable' protocol
118 |
119 | @dynamicCallable
120 | public struct Functor {
| `- note: struct 'Functor' does not conform to the 'Sendable' protocol
121 |
122 | public let name: String
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Constraints/Constraints.swift:149:13: warning: let 'signalHierarchy' is not concurrency-safe because non-'Sendable' type 'Functor' may have shared mutable state; this is an error in the Swift 6 language mode
147 | private let constraint = "constraint"/4
148 | private let findAllConstraints = "findAllConstraints"/4
149 | private let signalHierarchy = "signalHierarchy"/3
| |- warning: let 'signalHierarchy' is not concurrency-safe because non-'Sendable' type 'Functor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'signalHierarchy' 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
150 |
151 | @inline(__always)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/LogicKit/Sources/LogicKit/EDSL.swift:120:15: note: struct 'Functor' does not conform to the 'Sendable' protocol
118 |
119 | @dynamicCallable
120 | public struct Functor {
| `- note: struct 'Functor' does not conform to the 'Sendable' protocol
121 |
122 | public let name: String
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Constraints/Constraints.swift:158:13: warning: var 'axioms' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
156 | // MARK: - Rules & Axioms
157 |
158 | private var axioms: [Term] = Signal.withAllSubclasses.map { aClass in
| |- warning: var 'axioms' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'axioms' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'axioms' 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
159 | let nsClass = aClass as! NSObject.Type
160 | let superClasses = nsClass.withAllSuperclasses
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Constraints/Constraints.swift:165:13: warning: var 'constraints' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
163 | }
164 |
165 | private var constraints: [Term] = [constraint(.signal(Signal.self), .signalState(.enabled), .any, .any)]
| |- warning: var 'constraints' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'constraints' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'constraints' 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
166 |
167 | private var rules: [Term] = [
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Constraints/Term+Constraints.swift:17:16: warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'Term' may have shared mutable state; this is an error in the Swift 6 language mode
15 | extension Term {
16 | /// Used to match any beacon or logger object.
17 | static let any: Term = "any"
| `- warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'Term' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | /// Term that captures a specific type of a signal.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/LogicKit/Sources/LogicKit/Term.swift:1:13: note: enum 'Term' does not conform to the 'Sendable' protocol
1 | public enum Term {
| `- note: enum 'Term' does not conform to the 'Sendable' protocol
2 |
3 | /// A logic variable.
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Constraints/Term+Constraints.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'LogicKit'
8 |
9 | import Foundation
10 | import LogicKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'LogicKit'
11 |
12 | /**
:
15 | extension Term {
16 | /// Used to match any beacon or logger object.
17 | static let any: Term = "any"
| |- 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
18 |
19 | /// Term that captures a specific type of a signal.
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Constraints/Constraints.swift:167:13: warning: var 'rules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
165 | private var constraints: [Term] = [constraint(.signal(Signal.self), .signalState(.enabled), .any, .any)]
166 |
167 | private var rules: [Term] = [
| |- warning: var 'rules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rules' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rules' 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
168 | findAllConstraints(.var("state"), .var("signal"), .var("logger"), .var("beacon")) |-
169 | constraint(.var("signal"), .var("state"), .var("logger"), .var("beacon"))
[44/75] Compiling Beacon Constraints+Sugar.swift
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Constraints/Constraints.swift:143:13: warning: var 'constraintLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
141 | // MARK: - Variables
142 |
143 | private var constraintLock: RWLock = .init()
| |- warning: var 'constraintLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'constraintLock' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'constraintLock' 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
144 |
145 | // MARK: - Functors
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Constraints/Constraints.swift:147:13: warning: let 'constraint' is not concurrency-safe because non-'Sendable' type 'Functor' may have shared mutable state; this is an error in the Swift 6 language mode
145 | // MARK: - Functors
146 |
147 | private let constraint = "constraint"/4
| `- warning: let 'constraint' is not concurrency-safe because non-'Sendable' type 'Functor' may have shared mutable state; this is an error in the Swift 6 language mode
148 | private let findAllConstraints = "findAllConstraints"/4
149 | private let signalHierarchy = "signalHierarchy"/3
/Users/admin/builder/spi-builder-workspace/.build/checkouts/LogicKit/Sources/LogicKit/EDSL.swift:120:15: note: struct 'Functor' does not conform to the 'Sendable' protocol
118 |
119 | @dynamicCallable
120 | public struct Functor {
| `- note: struct 'Functor' does not conform to the 'Sendable' protocol
121 |
122 | public let name: String
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Constraints/Constraints.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'LogicKit'
8 |
9 | import Foundation
10 | import LogicKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'LogicKit'
11 | import LogicKitBuiltins
12 | import RWLock
:
145 | // MARK: - Functors
146 |
147 | private let constraint = "constraint"/4
| |- note: annotate 'constraint' 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
148 | private let findAllConstraints = "findAllConstraints"/4
149 | private let signalHierarchy = "signalHierarchy"/3
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Constraints/Constraints.swift:148:13: warning: let 'findAllConstraints' is not concurrency-safe because non-'Sendable' type 'Functor' may have shared mutable state; this is an error in the Swift 6 language mode
146 |
147 | private let constraint = "constraint"/4
148 | private let findAllConstraints = "findAllConstraints"/4
| |- warning: let 'findAllConstraints' is not concurrency-safe because non-'Sendable' type 'Functor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'findAllConstraints' 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
149 | private let signalHierarchy = "signalHierarchy"/3
150 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/LogicKit/Sources/LogicKit/EDSL.swift:120:15: note: struct 'Functor' does not conform to the 'Sendable' protocol
118 |
119 | @dynamicCallable
120 | public struct Functor {
| `- note: struct 'Functor' does not conform to the 'Sendable' protocol
121 |
122 | public let name: String
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Constraints/Constraints.swift:149:13: warning: let 'signalHierarchy' is not concurrency-safe because non-'Sendable' type 'Functor' may have shared mutable state; this is an error in the Swift 6 language mode
147 | private let constraint = "constraint"/4
148 | private let findAllConstraints = "findAllConstraints"/4
149 | private let signalHierarchy = "signalHierarchy"/3
| |- warning: let 'signalHierarchy' is not concurrency-safe because non-'Sendable' type 'Functor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'signalHierarchy' 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
150 |
151 | @inline(__always)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/LogicKit/Sources/LogicKit/EDSL.swift:120:15: note: struct 'Functor' does not conform to the 'Sendable' protocol
118 |
119 | @dynamicCallable
120 | public struct Functor {
| `- note: struct 'Functor' does not conform to the 'Sendable' protocol
121 |
122 | public let name: String
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Constraints/Constraints.swift:158:13: warning: var 'axioms' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
156 | // MARK: - Rules & Axioms
157 |
158 | private var axioms: [Term] = Signal.withAllSubclasses.map { aClass in
| |- warning: var 'axioms' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'axioms' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'axioms' 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
159 | let nsClass = aClass as! NSObject.Type
160 | let superClasses = nsClass.withAllSuperclasses
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Constraints/Constraints.swift:165:13: warning: var 'constraints' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
163 | }
164 |
165 | private var constraints: [Term] = [constraint(.signal(Signal.self), .signalState(.enabled), .any, .any)]
| |- warning: var 'constraints' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'constraints' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'constraints' 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
166 |
167 | private var rules: [Term] = [
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Constraints/Term+Constraints.swift:17:16: warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'Term' may have shared mutable state; this is an error in the Swift 6 language mode
15 | extension Term {
16 | /// Used to match any beacon or logger object.
17 | static let any: Term = "any"
| `- warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'Term' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | /// Term that captures a specific type of a signal.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/LogicKit/Sources/LogicKit/Term.swift:1:13: note: enum 'Term' does not conform to the 'Sendable' protocol
1 | public enum Term {
| `- note: enum 'Term' does not conform to the 'Sendable' protocol
2 |
3 | /// A logic variable.
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Constraints/Term+Constraints.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'LogicKit'
8 |
9 | import Foundation
10 | import LogicKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'LogicKit'
11 |
12 | /**
:
15 | extension Term {
16 | /// Used to match any beacon or logger object.
17 | static let any: Term = "any"
| |- 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
18 |
19 | /// Term that captures a specific type of a signal.
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Constraints/Constraints.swift:167:13: warning: var 'rules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
165 | private var constraints: [Term] = [constraint(.signal(Signal.self), .signalState(.enabled), .any, .any)]
166 |
167 | private var rules: [Term] = [
| |- warning: var 'rules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rules' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rules' 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
168 | findAllConstraints(.var("state"), .var("signal"), .var("logger"), .var("beacon")) |-
169 | constraint(.var("signal"), .var("state"), .var("logger"), .var("beacon"))
[45/75] Compiling Beacon Constraints.swift
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Constraints/Constraints.swift:143:13: warning: var 'constraintLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
141 | // MARK: - Variables
142 |
143 | private var constraintLock: RWLock = .init()
| |- warning: var 'constraintLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'constraintLock' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'constraintLock' 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
144 |
145 | // MARK: - Functors
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Constraints/Constraints.swift:147:13: warning: let 'constraint' is not concurrency-safe because non-'Sendable' type 'Functor' may have shared mutable state; this is an error in the Swift 6 language mode
145 | // MARK: - Functors
146 |
147 | private let constraint = "constraint"/4
| `- warning: let 'constraint' is not concurrency-safe because non-'Sendable' type 'Functor' may have shared mutable state; this is an error in the Swift 6 language mode
148 | private let findAllConstraints = "findAllConstraints"/4
149 | private let signalHierarchy = "signalHierarchy"/3
/Users/admin/builder/spi-builder-workspace/.build/checkouts/LogicKit/Sources/LogicKit/EDSL.swift:120:15: note: struct 'Functor' does not conform to the 'Sendable' protocol
118 |
119 | @dynamicCallable
120 | public struct Functor {
| `- note: struct 'Functor' does not conform to the 'Sendable' protocol
121 |
122 | public let name: String
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Constraints/Constraints.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'LogicKit'
8 |
9 | import Foundation
10 | import LogicKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'LogicKit'
11 | import LogicKitBuiltins
12 | import RWLock
:
145 | // MARK: - Functors
146 |
147 | private let constraint = "constraint"/4
| |- note: annotate 'constraint' 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
148 | private let findAllConstraints = "findAllConstraints"/4
149 | private let signalHierarchy = "signalHierarchy"/3
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Constraints/Constraints.swift:148:13: warning: let 'findAllConstraints' is not concurrency-safe because non-'Sendable' type 'Functor' may have shared mutable state; this is an error in the Swift 6 language mode
146 |
147 | private let constraint = "constraint"/4
148 | private let findAllConstraints = "findAllConstraints"/4
| |- warning: let 'findAllConstraints' is not concurrency-safe because non-'Sendable' type 'Functor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'findAllConstraints' 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
149 | private let signalHierarchy = "signalHierarchy"/3
150 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/LogicKit/Sources/LogicKit/EDSL.swift:120:15: note: struct 'Functor' does not conform to the 'Sendable' protocol
118 |
119 | @dynamicCallable
120 | public struct Functor {
| `- note: struct 'Functor' does not conform to the 'Sendable' protocol
121 |
122 | public let name: String
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Constraints/Constraints.swift:149:13: warning: let 'signalHierarchy' is not concurrency-safe because non-'Sendable' type 'Functor' may have shared mutable state; this is an error in the Swift 6 language mode
147 | private let constraint = "constraint"/4
148 | private let findAllConstraints = "findAllConstraints"/4
149 | private let signalHierarchy = "signalHierarchy"/3
| |- warning: let 'signalHierarchy' is not concurrency-safe because non-'Sendable' type 'Functor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'signalHierarchy' 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
150 |
151 | @inline(__always)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/LogicKit/Sources/LogicKit/EDSL.swift:120:15: note: struct 'Functor' does not conform to the 'Sendable' protocol
118 |
119 | @dynamicCallable
120 | public struct Functor {
| `- note: struct 'Functor' does not conform to the 'Sendable' protocol
121 |
122 | public let name: String
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Constraints/Constraints.swift:158:13: warning: var 'axioms' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
156 | // MARK: - Rules & Axioms
157 |
158 | private var axioms: [Term] = Signal.withAllSubclasses.map { aClass in
| |- warning: var 'axioms' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'axioms' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'axioms' 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
159 | let nsClass = aClass as! NSObject.Type
160 | let superClasses = nsClass.withAllSuperclasses
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Constraints/Constraints.swift:165:13: warning: var 'constraints' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
163 | }
164 |
165 | private var constraints: [Term] = [constraint(.signal(Signal.self), .signalState(.enabled), .any, .any)]
| |- warning: var 'constraints' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'constraints' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'constraints' 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
166 |
167 | private var rules: [Term] = [
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Constraints/Term+Constraints.swift:17:16: warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'Term' may have shared mutable state; this is an error in the Swift 6 language mode
15 | extension Term {
16 | /// Used to match any beacon or logger object.
17 | static let any: Term = "any"
| `- warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'Term' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | /// Term that captures a specific type of a signal.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/LogicKit/Sources/LogicKit/Term.swift:1:13: note: enum 'Term' does not conform to the 'Sendable' protocol
1 | public enum Term {
| `- note: enum 'Term' does not conform to the 'Sendable' protocol
2 |
3 | /// A logic variable.
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Constraints/Term+Constraints.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'LogicKit'
8 |
9 | import Foundation
10 | import LogicKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'LogicKit'
11 |
12 | /**
:
15 | extension Term {
16 | /// Used to match any beacon or logger object.
17 | static let any: Term = "any"
| |- 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
18 |
19 | /// Term that captures a specific type of a signal.
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Constraints/Constraints.swift:167:13: warning: var 'rules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
165 | private var constraints: [Term] = [constraint(.signal(Signal.self), .signalState(.enabled), .any, .any)]
166 |
167 | private var rules: [Term] = [
| |- warning: var 'rules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rules' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rules' 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
168 | findAllConstraints(.var("state"), .var("signal"), .var("logger"), .var("beacon")) |-
169 | constraint(.var("signal"), .var("state"), .var("logger"), .var("beacon"))
[46/75] Compiling Beacon Signal+Constraints.swift
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Constraints/Constraints.swift:143:13: warning: var 'constraintLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
141 | // MARK: - Variables
142 |
143 | private var constraintLock: RWLock = .init()
| |- warning: var 'constraintLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'constraintLock' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'constraintLock' 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
144 |
145 | // MARK: - Functors
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Constraints/Constraints.swift:147:13: warning: let 'constraint' is not concurrency-safe because non-'Sendable' type 'Functor' may have shared mutable state; this is an error in the Swift 6 language mode
145 | // MARK: - Functors
146 |
147 | private let constraint = "constraint"/4
| `- warning: let 'constraint' is not concurrency-safe because non-'Sendable' type 'Functor' may have shared mutable state; this is an error in the Swift 6 language mode
148 | private let findAllConstraints = "findAllConstraints"/4
149 | private let signalHierarchy = "signalHierarchy"/3
/Users/admin/builder/spi-builder-workspace/.build/checkouts/LogicKit/Sources/LogicKit/EDSL.swift:120:15: note: struct 'Functor' does not conform to the 'Sendable' protocol
118 |
119 | @dynamicCallable
120 | public struct Functor {
| `- note: struct 'Functor' does not conform to the 'Sendable' protocol
121 |
122 | public let name: String
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Constraints/Constraints.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'LogicKit'
8 |
9 | import Foundation
10 | import LogicKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'LogicKit'
11 | import LogicKitBuiltins
12 | import RWLock
:
145 | // MARK: - Functors
146 |
147 | private let constraint = "constraint"/4
| |- note: annotate 'constraint' 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
148 | private let findAllConstraints = "findAllConstraints"/4
149 | private let signalHierarchy = "signalHierarchy"/3
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Constraints/Constraints.swift:148:13: warning: let 'findAllConstraints' is not concurrency-safe because non-'Sendable' type 'Functor' may have shared mutable state; this is an error in the Swift 6 language mode
146 |
147 | private let constraint = "constraint"/4
148 | private let findAllConstraints = "findAllConstraints"/4
| |- warning: let 'findAllConstraints' is not concurrency-safe because non-'Sendable' type 'Functor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'findAllConstraints' 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
149 | private let signalHierarchy = "signalHierarchy"/3
150 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/LogicKit/Sources/LogicKit/EDSL.swift:120:15: note: struct 'Functor' does not conform to the 'Sendable' protocol
118 |
119 | @dynamicCallable
120 | public struct Functor {
| `- note: struct 'Functor' does not conform to the 'Sendable' protocol
121 |
122 | public let name: String
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Constraints/Constraints.swift:149:13: warning: let 'signalHierarchy' is not concurrency-safe because non-'Sendable' type 'Functor' may have shared mutable state; this is an error in the Swift 6 language mode
147 | private let constraint = "constraint"/4
148 | private let findAllConstraints = "findAllConstraints"/4
149 | private let signalHierarchy = "signalHierarchy"/3
| |- warning: let 'signalHierarchy' is not concurrency-safe because non-'Sendable' type 'Functor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'signalHierarchy' 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
150 |
151 | @inline(__always)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/LogicKit/Sources/LogicKit/EDSL.swift:120:15: note: struct 'Functor' does not conform to the 'Sendable' protocol
118 |
119 | @dynamicCallable
120 | public struct Functor {
| `- note: struct 'Functor' does not conform to the 'Sendable' protocol
121 |
122 | public let name: String
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Constraints/Constraints.swift:158:13: warning: var 'axioms' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
156 | // MARK: - Rules & Axioms
157 |
158 | private var axioms: [Term] = Signal.withAllSubclasses.map { aClass in
| |- warning: var 'axioms' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'axioms' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'axioms' 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
159 | let nsClass = aClass as! NSObject.Type
160 | let superClasses = nsClass.withAllSuperclasses
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Constraints/Constraints.swift:165:13: warning: var 'constraints' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
163 | }
164 |
165 | private var constraints: [Term] = [constraint(.signal(Signal.self), .signalState(.enabled), .any, .any)]
| |- warning: var 'constraints' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'constraints' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'constraints' 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
166 |
167 | private var rules: [Term] = [
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Constraints/Term+Constraints.swift:17:16: warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'Term' may have shared mutable state; this is an error in the Swift 6 language mode
15 | extension Term {
16 | /// Used to match any beacon or logger object.
17 | static let any: Term = "any"
| `- warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'Term' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | /// Term that captures a specific type of a signal.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/LogicKit/Sources/LogicKit/Term.swift:1:13: note: enum 'Term' does not conform to the 'Sendable' protocol
1 | public enum Term {
| `- note: enum 'Term' does not conform to the 'Sendable' protocol
2 |
3 | /// A logic variable.
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Constraints/Term+Constraints.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'LogicKit'
8 |
9 | import Foundation
10 | import LogicKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'LogicKit'
11 |
12 | /**
:
15 | extension Term {
16 | /// Used to match any beacon or logger object.
17 | static let any: Term = "any"
| |- 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
18 |
19 | /// Term that captures a specific type of a signal.
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Constraints/Constraints.swift:167:13: warning: var 'rules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
165 | private var constraints: [Term] = [constraint(.signal(Signal.self), .signalState(.enabled), .any, .any)]
166 |
167 | private var rules: [Term] = [
| |- warning: var 'rules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rules' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rules' 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
168 | findAllConstraints(.var("state"), .var("signal"), .var("logger"), .var("beacon")) |-
169 | constraint(.var("signal"), .var("state"), .var("logger"), .var("beacon"))
[47/75] Compiling Beacon MachImage.swift
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Core/MachImageMonitor.swift:23:23: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | // MARK: - API
22 |
23 | public static var shared = MachImageMonitor()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
24 |
25 | @RWLocked private(set) static var isRunning = false
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Core/MachImageMonitor.swift:25:39: warning: static property 'isRunning' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | public static var shared = MachImageMonitor()
24 |
25 | @RWLocked private(set) static var isRunning = false
| |- warning: static property 'isRunning' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isRunning' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'isRunning' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | public static func startMonitoring() {
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Core/Beacon.swift:47:29: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
45 |
46 | /// Shared general-purpose instance
47 | @objc public static var shared = Beacon()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
48 |
49 | // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Core/SystemInfo.swift:20:23: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 | var arch: String?
19 |
20 | public static var current: SystemInfo = {
| |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'current' 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
21 | let info = NXGetLocalArchInfo()
22 |
[48/75] Compiling Beacon MachImageMonitor.swift
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Core/MachImageMonitor.swift:23:23: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | // MARK: - API
22 |
23 | public static var shared = MachImageMonitor()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
24 |
25 | @RWLocked private(set) static var isRunning = false
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Core/MachImageMonitor.swift:25:39: warning: static property 'isRunning' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | public static var shared = MachImageMonitor()
24 |
25 | @RWLocked private(set) static var isRunning = false
| |- warning: static property 'isRunning' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isRunning' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'isRunning' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | public static func startMonitoring() {
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Core/Beacon.swift:47:29: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
45 |
46 | /// Shared general-purpose instance
47 | @objc public static var shared = Beacon()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
48 |
49 | // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Core/SystemInfo.swift:20:23: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 | var arch: String?
19 |
20 | public static var current: SystemInfo = {
| |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'current' 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
21 | let info = NXGetLocalArchInfo()
22 |
[49/75] Compiling Beacon Signaling.swift
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Core/MachImageMonitor.swift:23:23: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | // MARK: - API
22 |
23 | public static var shared = MachImageMonitor()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
24 |
25 | @RWLocked private(set) static var isRunning = false
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Core/MachImageMonitor.swift:25:39: warning: static property 'isRunning' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | public static var shared = MachImageMonitor()
24 |
25 | @RWLocked private(set) static var isRunning = false
| |- warning: static property 'isRunning' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isRunning' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'isRunning' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | public static func startMonitoring() {
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Core/Beacon.swift:47:29: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
45 |
46 | /// Shared general-purpose instance
47 | @objc public static var shared = Beacon()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
48 |
49 | // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Core/SystemInfo.swift:20:23: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 | var arch: String?
19 |
20 | public static var current: SystemInfo = {
| |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'current' 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
21 | let info = NXGetLocalArchInfo()
22 |
[50/75] Compiling Beacon SystemInfo.swift
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Core/MachImageMonitor.swift:23:23: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | // MARK: - API
22 |
23 | public static var shared = MachImageMonitor()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
24 |
25 | @RWLocked private(set) static var isRunning = false
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Core/MachImageMonitor.swift:25:39: warning: static property 'isRunning' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | public static var shared = MachImageMonitor()
24 |
25 | @RWLocked private(set) static var isRunning = false
| |- warning: static property 'isRunning' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isRunning' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'isRunning' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | public static func startMonitoring() {
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Core/Beacon.swift:47:29: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
45 |
46 | /// Shared general-purpose instance
47 | @objc public static var shared = Beacon()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
48 |
49 | // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Core/SystemInfo.swift:20:23: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 | var arch: String?
19 |
20 | public static var current: SystemInfo = {
| |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'current' 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
21 | let info = NXGetLocalArchInfo()
22 |
[51/75] Emitting module Beacon
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Constraints/Constraints.swift:143:13: warning: var 'constraintLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
141 | // MARK: - Variables
142 |
143 | private var constraintLock: RWLock = .init()
| |- warning: var 'constraintLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'constraintLock' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'constraintLock' 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
144 |
145 | // MARK: - Functors
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Constraints/Constraints.swift:147:13: warning: let 'constraint' is not concurrency-safe because non-'Sendable' type 'Functor' may have shared mutable state; this is an error in the Swift 6 language mode
145 | // MARK: - Functors
146 |
147 | private let constraint = "constraint"/4
| `- warning: let 'constraint' is not concurrency-safe because non-'Sendable' type 'Functor' may have shared mutable state; this is an error in the Swift 6 language mode
148 | private let findAllConstraints = "findAllConstraints"/4
149 | private let signalHierarchy = "signalHierarchy"/3
/Users/admin/builder/spi-builder-workspace/.build/checkouts/LogicKit/Sources/LogicKit/EDSL.swift:120:15: note: struct 'Functor' does not conform to the 'Sendable' protocol
118 |
119 | @dynamicCallable
120 | public struct Functor {
| `- note: struct 'Functor' does not conform to the 'Sendable' protocol
121 |
122 | public let name: String
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Constraints/Constraints.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'LogicKit'
8 |
9 | import Foundation
10 | import LogicKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'LogicKit'
11 | import LogicKitBuiltins
12 | import RWLock
:
145 | // MARK: - Functors
146 |
147 | private let constraint = "constraint"/4
| |- note: annotate 'constraint' 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
148 | private let findAllConstraints = "findAllConstraints"/4
149 | private let signalHierarchy = "signalHierarchy"/3
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Constraints/Constraints.swift:148:13: warning: let 'findAllConstraints' is not concurrency-safe because non-'Sendable' type 'Functor' may have shared mutable state; this is an error in the Swift 6 language mode
146 |
147 | private let constraint = "constraint"/4
148 | private let findAllConstraints = "findAllConstraints"/4
| |- warning: let 'findAllConstraints' is not concurrency-safe because non-'Sendable' type 'Functor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'findAllConstraints' 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
149 | private let signalHierarchy = "signalHierarchy"/3
150 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/LogicKit/Sources/LogicKit/EDSL.swift:120:15: note: struct 'Functor' does not conform to the 'Sendable' protocol
118 |
119 | @dynamicCallable
120 | public struct Functor {
| `- note: struct 'Functor' does not conform to the 'Sendable' protocol
121 |
122 | public let name: String
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Constraints/Constraints.swift:149:13: warning: let 'signalHierarchy' is not concurrency-safe because non-'Sendable' type 'Functor' may have shared mutable state; this is an error in the Swift 6 language mode
147 | private let constraint = "constraint"/4
148 | private let findAllConstraints = "findAllConstraints"/4
149 | private let signalHierarchy = "signalHierarchy"/3
| |- warning: let 'signalHierarchy' is not concurrency-safe because non-'Sendable' type 'Functor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'signalHierarchy' 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
150 |
151 | @inline(__always)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/LogicKit/Sources/LogicKit/EDSL.swift:120:15: note: struct 'Functor' does not conform to the 'Sendable' protocol
118 |
119 | @dynamicCallable
120 | public struct Functor {
| `- note: struct 'Functor' does not conform to the 'Sendable' protocol
121 |
122 | public let name: String
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Constraints/Constraints.swift:158:13: warning: var 'axioms' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
156 | // MARK: - Rules & Axioms
157 |
158 | private var axioms: [Term] = Signal.withAllSubclasses.map { aClass in
| |- warning: var 'axioms' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'axioms' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'axioms' 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
159 | let nsClass = aClass as! NSObject.Type
160 | let superClasses = nsClass.withAllSuperclasses
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Constraints/Constraints.swift:165:13: warning: var 'constraints' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
163 | }
164 |
165 | private var constraints: [Term] = [constraint(.signal(Signal.self), .signalState(.enabled), .any, .any)]
| |- warning: var 'constraints' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'constraints' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'constraints' 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
166 |
167 | private var rules: [Term] = [
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Constraints/Term+Constraints.swift:17:16: warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'Term' may have shared mutable state; this is an error in the Swift 6 language mode
15 | extension Term {
16 | /// Used to match any beacon or logger object.
17 | static let any: Term = "any"
| `- warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'Term' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | /// Term that captures a specific type of a signal.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/LogicKit/Sources/LogicKit/Term.swift:1:13: note: enum 'Term' does not conform to the 'Sendable' protocol
1 | public enum Term {
| `- note: enum 'Term' does not conform to the 'Sendable' protocol
2 |
3 | /// A logic variable.
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Constraints/Term+Constraints.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'LogicKit'
8 |
9 | import Foundation
10 | import LogicKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'LogicKit'
11 |
12 | /**
:
15 | extension Term {
16 | /// Used to match any beacon or logger object.
17 | static let any: Term = "any"
| |- 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
18 |
19 | /// Term that captures a specific type of a signal.
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Constraints/Constraints.swift:167:13: warning: var 'rules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
165 | private var constraints: [Term] = [constraint(.signal(Signal.self), .signalState(.enabled), .any, .any)]
166 |
167 | private var rules: [Term] = [
| |- warning: var 'rules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rules' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rules' 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
168 | findAllConstraints(.var("state"), .var("signal"), .var("logger"), .var("beacon")) |-
169 | constraint(.var("signal"), .var("state"), .var("logger"), .var("beacon"))
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Core/Beacon.swift:44:29: warning: static property 'beaconVersion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | open class Beacon: NSObject {
44 | @objc public static var beaconVersion = "2.1.4"
| |- warning: static property 'beaconVersion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'beaconVersion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'beaconVersion' 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
45 |
46 | /// Shared general-purpose instance
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Core/Beacon.swift:47:29: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
45 |
46 | /// Shared general-purpose instance
47 | @objc public static var shared = Beacon()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
48 |
49 | // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Core/MachImageMonitor.swift:23:23: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | // MARK: - API
22 |
23 | public static var shared = MachImageMonitor()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
24 |
25 | @RWLocked private(set) static var isRunning = false
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Core/MachImageMonitor.swift:25:39: warning: static property 'isRunning' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | public static var shared = MachImageMonitor()
24 |
25 | @RWLocked private(set) static var isRunning = false
| |- warning: static property 'isRunning' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isRunning' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'isRunning' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | public static func startMonitoring() {
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Core/SystemInfo.swift:20:23: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 | var arch: String?
19 |
20 | public static var current: SystemInfo = {
| |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'current' 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
21 | let info = NXGetLocalArchInfo()
22 |
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Loggers/ConsoleLogger.swift:21:29: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ConsoleLogger' may have shared mutable state; this is an error in the Swift 6 language mode
16 | */
17 |
18 | open class ConsoleLogger: SignalLogger {
| `- note: class 'ConsoleLogger' does not conform to the 'Sendable' protocol
19 | // MARK: - Instance Creation
20 |
21 | @objc public static let shared = ConsoleLogger(name: "Shared Console Logger")
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ConsoleLogger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
22 |
23 | // MARK: - Variables
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Loggers/JRPCLogger.swift:42:28: warning: static property 'counter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
40 |
41 | private struct Method: Encodable {
42 | private static var counter: Int = 0
| |- warning: static property 'counter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'counter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'counter' 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
43 | private static func nextId() -> Int {
44 | counter += 1
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Loggers/MemoryLogger.swift:21:29: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | open class MemoryLogger: SignalLogger {
21 | @objc public static var shared = MemoryLogger(name: "MemoryLogger")
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
22 |
23 | @objc @RWLocked open private(set) var recordings = [Signal]()
[52/75] Compiling Beacon Term+Constraints.swift
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Constraints/Term+Constraints.swift:17:16: warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'Term' may have shared mutable state; this is an error in the Swift 6 language mode
15 | extension Term {
16 | /// Used to match any beacon or logger object.
17 | static let any: Term = "any"
| `- warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'Term' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | /// Term that captures a specific type of a signal.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/LogicKit/Sources/LogicKit/Term.swift:1:13: note: enum 'Term' does not conform to the 'Sendable' protocol
1 | public enum Term {
| `- note: enum 'Term' does not conform to the 'Sendable' protocol
2 |
3 | /// A logic variable.
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Constraints/Term+Constraints.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'LogicKit'
8 |
9 | import Foundation
10 | import LogicKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'LogicKit'
11 |
12 | /**
:
15 | extension Term {
16 | /// Used to match any beacon or logger object.
17 | static let any: Term = "any"
| |- 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
18 |
19 | /// Term that captures a specific type of a signal.
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Core/Beacon.swift:44:29: warning: static property 'beaconVersion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | open class Beacon: NSObject {
44 | @objc public static var beaconVersion = "2.1.4"
| |- warning: static property 'beaconVersion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'beaconVersion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'beaconVersion' 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
45 |
46 | /// Shared general-purpose instance
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Core/Beacon.swift:47:29: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
45 |
46 | /// Shared general-purpose instance
47 | @objc public static var shared = Beacon()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
48 |
49 | // MARK: - Properties
[53/75] Compiling Beacon Beacon.swift
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Constraints/Term+Constraints.swift:17:16: warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'Term' may have shared mutable state; this is an error in the Swift 6 language mode
15 | extension Term {
16 | /// Used to match any beacon or logger object.
17 | static let any: Term = "any"
| `- warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'Term' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | /// Term that captures a specific type of a signal.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/LogicKit/Sources/LogicKit/Term.swift:1:13: note: enum 'Term' does not conform to the 'Sendable' protocol
1 | public enum Term {
| `- note: enum 'Term' does not conform to the 'Sendable' protocol
2 |
3 | /// A logic variable.
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Constraints/Term+Constraints.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'LogicKit'
8 |
9 | import Foundation
10 | import LogicKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'LogicKit'
11 |
12 | /**
:
15 | extension Term {
16 | /// Used to match any beacon or logger object.
17 | static let any: Term = "any"
| |- 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
18 |
19 | /// Term that captures a specific type of a signal.
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Core/Beacon.swift:44:29: warning: static property 'beaconVersion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | open class Beacon: NSObject {
44 | @objc public static var beaconVersion = "2.1.4"
| |- warning: static property 'beaconVersion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'beaconVersion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'beaconVersion' 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
45 |
46 | /// Shared general-purpose instance
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Core/Beacon.swift:47:29: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
45 |
46 | /// Shared general-purpose instance
47 | @objc public static var shared = Beacon()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
48 |
49 | // MARK: - Properties
[54/75] Compiling Beacon CallStackFrame.swift
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Constraints/Term+Constraints.swift:17:16: warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'Term' may have shared mutable state; this is an error in the Swift 6 language mode
15 | extension Term {
16 | /// Used to match any beacon or logger object.
17 | static let any: Term = "any"
| `- warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'Term' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | /// Term that captures a specific type of a signal.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/LogicKit/Sources/LogicKit/Term.swift:1:13: note: enum 'Term' does not conform to the 'Sendable' protocol
1 | public enum Term {
| `- note: enum 'Term' does not conform to the 'Sendable' protocol
2 |
3 | /// A logic variable.
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Constraints/Term+Constraints.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'LogicKit'
8 |
9 | import Foundation
10 | import LogicKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'LogicKit'
11 |
12 | /**
:
15 | extension Term {
16 | /// Used to match any beacon or logger object.
17 | static let any: Term = "any"
| |- 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
18 |
19 | /// Term that captures a specific type of a signal.
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Core/Beacon.swift:44:29: warning: static property 'beaconVersion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | open class Beacon: NSObject {
44 | @objc public static var beaconVersion = "2.1.4"
| |- warning: static property 'beaconVersion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'beaconVersion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'beaconVersion' 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
45 |
46 | /// Shared general-purpose instance
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Core/Beacon.swift:47:29: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
45 |
46 | /// Shared general-purpose instance
47 | @objc public static var shared = Beacon()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
48 |
49 | // MARK: - Properties
[55/75] Compiling Beacon Device.swift
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Constraints/Term+Constraints.swift:17:16: warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'Term' may have shared mutable state; this is an error in the Swift 6 language mode
15 | extension Term {
16 | /// Used to match any beacon or logger object.
17 | static let any: Term = "any"
| `- warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'Term' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | /// Term that captures a specific type of a signal.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/LogicKit/Sources/LogicKit/Term.swift:1:13: note: enum 'Term' does not conform to the 'Sendable' protocol
1 | public enum Term {
| `- note: enum 'Term' does not conform to the 'Sendable' protocol
2 |
3 | /// A logic variable.
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Constraints/Term+Constraints.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'LogicKit'
8 |
9 | import Foundation
10 | import LogicKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'LogicKit'
11 |
12 | /**
:
15 | extension Term {
16 | /// Used to match any beacon or logger object.
17 | static let any: Term = "any"
| |- 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
18 |
19 | /// Term that captures a specific type of a signal.
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Core/Beacon.swift:44:29: warning: static property 'beaconVersion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | open class Beacon: NSObject {
44 | @objc public static var beaconVersion = "2.1.4"
| |- warning: static property 'beaconVersion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'beaconVersion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'beaconVersion' 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
45 |
46 | /// Shared general-purpose instance
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Core/Beacon.swift:47:29: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
45 |
46 | /// Shared general-purpose instance
47 | @objc public static var shared = Beacon()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
48 |
49 | // MARK: - Properties
[56/75] Compiling Beacon FileBackupWheel.swift
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Loggers/ConsoleLogger.swift:21:29: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ConsoleLogger' may have shared mutable state; this is an error in the Swift 6 language mode
16 | */
17 |
18 | open class ConsoleLogger: SignalLogger {
| `- note: class 'ConsoleLogger' does not conform to the 'Sendable' protocol
19 | // MARK: - Instance Creation
20 |
21 | @objc public static let shared = ConsoleLogger(name: "Shared Console Logger")
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ConsoleLogger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
22 |
23 | // MARK: - Variables
[57/75] Compiling Beacon FileRotation.swift
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Loggers/ConsoleLogger.swift:21:29: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ConsoleLogger' may have shared mutable state; this is an error in the Swift 6 language mode
16 | */
17 |
18 | open class ConsoleLogger: SignalLogger {
| `- note: class 'ConsoleLogger' does not conform to the 'Sendable' protocol
19 | // MARK: - Instance Creation
20 |
21 | @objc public static let shared = ConsoleLogger(name: "Shared Console Logger")
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ConsoleLogger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
22 |
23 | // MARK: - Variables
[58/75] Compiling Beacon FileWheel.swift
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Loggers/ConsoleLogger.swift:21:29: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ConsoleLogger' may have shared mutable state; this is an error in the Swift 6 language mode
16 | */
17 |
18 | open class ConsoleLogger: SignalLogger {
| `- note: class 'ConsoleLogger' does not conform to the 'Sendable' protocol
19 | // MARK: - Instance Creation
20 |
21 | @objc public static let shared = ConsoleLogger(name: "Shared Console Logger")
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ConsoleLogger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
22 |
23 | // MARK: - Variables
[59/75] Compiling Beacon ConsoleLogger.swift
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Loggers/ConsoleLogger.swift:21:29: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ConsoleLogger' may have shared mutable state; this is an error in the Swift 6 language mode
16 | */
17 |
18 | open class ConsoleLogger: SignalLogger {
| `- note: class 'ConsoleLogger' does not conform to the 'Sendable' protocol
19 | // MARK: - Instance Creation
20 |
21 | @objc public static let shared = ConsoleLogger(name: "Shared Console Logger")
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ConsoleLogger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
22 |
23 | // MARK: - Variables
[60/75] Compiling Beacon SignalLogger.swift
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Core/Beacon.swift:47:29: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
45 |
46 | /// Shared general-purpose instance
47 | @objc public static var shared = Beacon()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
48 |
49 | // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Core/MachImageMonitor.swift:23:23: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | // MARK: - API
22 |
23 | public static var shared = MachImageMonitor()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
24 |
25 | @RWLocked private(set) static var isRunning = false
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Core/Beacon.swift:44:29: warning: static property 'beaconVersion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | open class Beacon: NSObject {
44 | @objc public static var beaconVersion = "2.1.4"
| |- warning: static property 'beaconVersion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'beaconVersion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'beaconVersion' 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
45 |
46 | /// Shared general-purpose instance
[61/75] Compiling Beacon StreamLogger.swift
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Core/Beacon.swift:47:29: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
45 |
46 | /// Shared general-purpose instance
47 | @objc public static var shared = Beacon()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
48 |
49 | // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Core/MachImageMonitor.swift:23:23: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | // MARK: - API
22 |
23 | public static var shared = MachImageMonitor()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
24 |
25 | @RWLocked private(set) static var isRunning = false
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Core/Beacon.swift:44:29: warning: static property 'beaconVersion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | open class Beacon: NSObject {
44 | @objc public static var beaconVersion = "2.1.4"
| |- warning: static property 'beaconVersion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'beaconVersion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'beaconVersion' 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
45 |
46 | /// Shared general-purpose instance
[62/75] Compiling Beacon ContextSignal.swift
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Core/Beacon.swift:47:29: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
45 |
46 | /// Shared general-purpose instance
47 | @objc public static var shared = Beacon()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
48 |
49 | // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Core/MachImageMonitor.swift:23:23: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | // MARK: - API
22 |
23 | public static var shared = MachImageMonitor()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
24 |
25 | @RWLocked private(set) static var isRunning = false
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Core/Beacon.swift:44:29: warning: static property 'beaconVersion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | open class Beacon: NSObject {
44 | @objc public static var beaconVersion = "2.1.4"
| |- warning: static property 'beaconVersion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'beaconVersion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'beaconVersion' 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
45 |
46 | /// Shared general-purpose instance
[63/75] Compiling Beacon ErrorSignal.swift
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Core/Beacon.swift:47:29: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
45 |
46 | /// Shared general-purpose instance
47 | @objc public static var shared = Beacon()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
48 |
49 | // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Core/MachImageMonitor.swift:23:23: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | // MARK: - API
22 |
23 | public static var shared = MachImageMonitor()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
24 |
25 | @RWLocked private(set) static var isRunning = false
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Core/Beacon.swift:44:29: warning: static property 'beaconVersion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | open class Beacon: NSObject {
44 | @objc public static var beaconVersion = "2.1.4"
| |- warning: static property 'beaconVersion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'beaconVersion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'beaconVersion' 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
45 |
46 | /// Shared general-purpose instance
[64/75] Compiling Beacon WrapperSignal.swift
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Core/Beacon.swift:47:29: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
45 |
46 | /// Shared general-purpose instance
47 | @objc public static var shared = Beacon()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
48 |
49 | // MARK: - Properties
[65/75] Compiling Beacon EncodedStreamSignalWriter.swift
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Core/Beacon.swift:47:29: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
45 |
46 | /// Shared general-purpose instance
47 | @objc public static var shared = Beacon()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
48 |
49 | // MARK: - Properties
[66/75] Compiling Beacon SignalWriter.swift
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Core/Beacon.swift:47:29: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
45 |
46 | /// Shared general-purpose instance
47 | @objc public static var shared = Beacon()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
48 |
49 | // MARK: - Properties
[67/75] Compiling Beacon IdentitySignal.swift
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Core/SystemInfo.swift:20:23: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 | var arch: String?
19 |
20 | public static var current: SystemInfo = {
| |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'current' 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
21 | let info = NXGetLocalArchInfo()
22 |
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Core/Beacon.swift:47:29: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
45 |
46 | /// Shared general-purpose instance
47 | @objc public static var shared = Beacon()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
48 |
49 | // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Core/Beacon.swift:44:29: warning: static property 'beaconVersion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | open class Beacon: NSObject {
44 | @objc public static var beaconVersion = "2.1.4"
| |- warning: static property 'beaconVersion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'beaconVersion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'beaconVersion' 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
45 |
46 | /// Shared general-purpose instance
[68/75] Compiling Beacon MachImageImportsSignal.swift
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Core/SystemInfo.swift:20:23: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 | var arch: String?
19 |
20 | public static var current: SystemInfo = {
| |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'current' 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
21 | let info = NXGetLocalArchInfo()
22 |
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Core/Beacon.swift:47:29: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
45 |
46 | /// Shared general-purpose instance
47 | @objc public static var shared = Beacon()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
48 |
49 | // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Core/Beacon.swift:44:29: warning: static property 'beaconVersion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | open class Beacon: NSObject {
44 | @objc public static var beaconVersion = "2.1.4"
| |- warning: static property 'beaconVersion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'beaconVersion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'beaconVersion' 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
45 |
46 | /// Shared general-purpose instance
[69/75] Compiling Beacon Signal.swift
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Core/SystemInfo.swift:20:23: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 | var arch: String?
19 |
20 | public static var current: SystemInfo = {
| |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'current' 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
21 | let info = NXGetLocalArchInfo()
22 |
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Core/Beacon.swift:47:29: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
45 |
46 | /// Shared general-purpose instance
47 | @objc public static var shared = Beacon()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
48 |
49 | // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Core/Beacon.swift:44:29: warning: static property 'beaconVersion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | open class Beacon: NSObject {
44 | @objc public static var beaconVersion = "2.1.4"
| |- warning: static property 'beaconVersion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'beaconVersion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'beaconVersion' 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
45 |
46 | /// Shared general-purpose instance
[70/75] Compiling Beacon StringSignal.swift
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Core/SystemInfo.swift:20:23: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 | var arch: String?
19 |
20 | public static var current: SystemInfo = {
| |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'current' 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
21 | let info = NXGetLocalArchInfo()
22 |
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Core/Beacon.swift:47:29: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
45 |
46 | /// Shared general-purpose instance
47 | @objc public static var shared = Beacon()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
48 |
49 | // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Core/Beacon.swift:44:29: warning: static property 'beaconVersion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | open class Beacon: NSObject {
44 | @objc public static var beaconVersion = "2.1.4"
| |- warning: static property 'beaconVersion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'beaconVersion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'beaconVersion' 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
45 |
46 | /// Shared general-purpose instance
[71/75] Compiling Beacon FileLogger.swift
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Core/Beacon.swift:47:29: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
45 |
46 | /// Shared general-purpose instance
47 | @objc public static var shared = Beacon()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
48 |
49 | // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Loggers/IntervalLogger.swift:58:30: warning: capture of 'self' with non-sendable type 'IntervalLogger' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | */
25 |
26 | open class IntervalLogger: SignalLogger {
| `- note: class 'IntervalLogger' does not conform to the 'Sendable' protocol
27 | // MARK: - Variables
28 |
:
56 | override open func nextPut(_ aSignal: Signal) {
57 | queue.async {
58 | guard let data = self.encodeSignal(aSignal) else {
| `- warning: capture of 'self' with non-sendable type 'IntervalLogger' in a `@Sendable` closure; this is an error in the Swift 6 language mode
59 | return
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Loggers/IntervalLogger.swift:58:48: warning: capture of 'aSignal' with non-sendable type 'Signal' in a `@Sendable` closure; this is an error in the Swift 6 language mode
56 | override open func nextPut(_ aSignal: Signal) {
57 | queue.async {
58 | guard let data = self.encodeSignal(aSignal) else {
| `- warning: capture of 'aSignal' with non-sendable type 'Signal' in a `@Sendable` closure; this is an error in the Swift 6 language mode
59 | return
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Signals/Signal.swift:25:12: note: class 'Signal' does not conform to the 'Sendable' protocol
23 | */
24 |
25 | open class Signal: NSObject, Encodable {
| `- note: class 'Signal' does not conform to the 'Sendable' protocol
26 | // MARK: - Structs
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Loggers/IntervalLogger.swift:68:13: warning: capture of 'self' with non-sendable type 'IntervalLogger' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | */
25 |
26 | open class IntervalLogger: SignalLogger {
| `- note: class 'IntervalLogger' does not conform to the 'Sendable' protocol
27 | // MARK: - Variables
28 |
:
66 | override open func nextPutAll(_ signals: [Signal]) {
67 | queue.async {
68 | self.buffer.append(contentsOf: signals.compactMap { aSignal -> Data? in
| `- warning: capture of 'self' with non-sendable type 'IntervalLogger' in a `@Sendable` closure; this is an error in the Swift 6 language mode
69 | self.encodeSignal(aSignal)
70 | })
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Loggers/IntervalLogger.swift:68:44: warning: capture of 'signals' with non-sendable type '[Signal]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
66 | override open func nextPutAll(_ signals: [Signal]) {
67 | queue.async {
68 | self.buffer.append(contentsOf: signals.compactMap { aSignal -> Data? in
| `- warning: capture of 'signals' with non-sendable type '[Signal]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
69 | self.encodeSignal(aSignal)
70 | })
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Signals/Signal.swift:25:12: note: class 'Signal' does not conform to the 'Sendable' protocol
23 | */
24 |
25 | open class Signal: NSObject, Encodable {
| `- note: class 'Signal' does not conform to the 'Sendable' protocol
26 | // MARK: - Structs
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Loggers/IntervalLogger.swift:69:17: warning: capture of 'self' with non-sendable type 'IntervalLogger' in an isolated closure; this is an error in the Swift 6 language mode
24 | */
25 |
26 | open class IntervalLogger: SignalLogger {
| `- note: class 'IntervalLogger' does not conform to the 'Sendable' protocol
27 | // MARK: - Variables
28 |
:
67 | queue.async {
68 | self.buffer.append(contentsOf: signals.compactMap { aSignal -> Data? in
69 | self.encodeSignal(aSignal)
| `- warning: capture of 'self' with non-sendable type 'IntervalLogger' in an isolated closure; this is an error in the Swift 6 language mode
70 | })
71 | self.fixBuffer()
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Loggers/IntervalLogger.swift:118:13: warning: capture of 'self' with non-sendable type 'IntervalLogger' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | */
25 |
26 | open class IntervalLogger: SignalLogger {
| `- note: class 'IntervalLogger' does not conform to the 'Sendable' protocol
27 | // MARK: - Variables
28 |
:
116 | guard flushTimer == nil else { return }
117 | flushTimer = Timer.scheduledTimer(withTimeInterval: flushInterval, repeats: true, block: { _ in
118 | self.queue.async {
| `- warning: capture of 'self' with non-sendable type 'IntervalLogger' in a `@Sendable` closure; this is an error in the Swift 6 language mode
119 | self.flushIfPossible()
120 | }
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Loggers/IntervalLogger.swift:119:17: warning: capture of 'self' with non-sendable type 'IntervalLogger' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | */
25 |
26 | open class IntervalLogger: SignalLogger {
| `- note: class 'IntervalLogger' does not conform to the 'Sendable' protocol
27 | // MARK: - Variables
28 |
:
117 | flushTimer = Timer.scheduledTimer(withTimeInterval: flushInterval, repeats: true, block: { _ in
118 | self.queue.async {
119 | self.flushIfPossible()
| `- warning: capture of 'self' with non-sendable type 'IntervalLogger' in a `@Sendable` closure; this is an error in the Swift 6 language mode
120 | }
121 | })
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Loggers/JRPCLogger.swift:42:28: warning: static property 'counter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
40 |
41 | private struct Method: Encodable {
42 | private static var counter: Int = 0
| |- warning: static property 'counter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'counter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'counter' 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
43 | private static func nextId() -> Int {
44 | counter += 1
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Loggers/JRPCLogger.swift:147:21: warning: capture of 'completion' with non-sendable type '((Bool) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
145 | let task = URLSession.shared.dataTask(with: urlRequest) { _, response, error in
146 | var success = false
147 | defer { completion?(success) }
| |- warning: capture of 'completion' with non-sendable type '((Bool) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
148 | self.lastCompletionDate = Date()
149 | if let error = error {
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Loggers/JRPCLogger.swift:148:13: warning: capture of 'self' with non-sendable type 'JRPCLogger' in a `@Sendable` closure; this is an error in the Swift 6 language mode
19 | */
20 |
21 | open class JRPCLogger: IntervalLogger {
| `- note: class 'JRPCLogger' does not conform to the 'Sendable' protocol
22 | // MARK: - Variables
23 |
:
146 | var success = false
147 | defer { completion?(success) }
148 | self.lastCompletionDate = Date()
| `- warning: capture of 'self' with non-sendable type 'JRPCLogger' in a `@Sendable` closure; this is an error in the Swift 6 language mode
149 | if let error = error {
150 | print("Error calling jrpc method: '\(String(describing: self.method))': \(error)")
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Loggers/JRPCLogger.swift:147:21: warning: capture of 'completion' with non-sendable type '((Bool) -> Void)?' in an isolated local function; this is an error in the Swift 6 language mode
145 | let task = URLSession.shared.dataTask(with: urlRequest) { _, response, error in
146 | var success = false
147 | defer { completion?(success) }
| |- warning: capture of 'completion' with non-sendable type '((Bool) -> Void)?' in an isolated local function; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
148 | self.lastCompletionDate = Date()
149 | if let error = error {
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Loggers/MemoryLogger.swift:21:29: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | open class MemoryLogger: SignalLogger {
21 | @objc public static var shared = MemoryLogger(name: "MemoryLogger")
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
22 |
23 | @objc @RWLocked open private(set) var recordings = [Signal]()
[72/75] Compiling Beacon IntervalLogger.swift
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Core/Beacon.swift:47:29: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
45 |
46 | /// Shared general-purpose instance
47 | @objc public static var shared = Beacon()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
48 |
49 | // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Loggers/IntervalLogger.swift:58:30: warning: capture of 'self' with non-sendable type 'IntervalLogger' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | */
25 |
26 | open class IntervalLogger: SignalLogger {
| `- note: class 'IntervalLogger' does not conform to the 'Sendable' protocol
27 | // MARK: - Variables
28 |
:
56 | override open func nextPut(_ aSignal: Signal) {
57 | queue.async {
58 | guard let data = self.encodeSignal(aSignal) else {
| `- warning: capture of 'self' with non-sendable type 'IntervalLogger' in a `@Sendable` closure; this is an error in the Swift 6 language mode
59 | return
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Loggers/IntervalLogger.swift:58:48: warning: capture of 'aSignal' with non-sendable type 'Signal' in a `@Sendable` closure; this is an error in the Swift 6 language mode
56 | override open func nextPut(_ aSignal: Signal) {
57 | queue.async {
58 | guard let data = self.encodeSignal(aSignal) else {
| `- warning: capture of 'aSignal' with non-sendable type 'Signal' in a `@Sendable` closure; this is an error in the Swift 6 language mode
59 | return
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Signals/Signal.swift:25:12: note: class 'Signal' does not conform to the 'Sendable' protocol
23 | */
24 |
25 | open class Signal: NSObject, Encodable {
| `- note: class 'Signal' does not conform to the 'Sendable' protocol
26 | // MARK: - Structs
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Loggers/IntervalLogger.swift:68:13: warning: capture of 'self' with non-sendable type 'IntervalLogger' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | */
25 |
26 | open class IntervalLogger: SignalLogger {
| `- note: class 'IntervalLogger' does not conform to the 'Sendable' protocol
27 | // MARK: - Variables
28 |
:
66 | override open func nextPutAll(_ signals: [Signal]) {
67 | queue.async {
68 | self.buffer.append(contentsOf: signals.compactMap { aSignal -> Data? in
| `- warning: capture of 'self' with non-sendable type 'IntervalLogger' in a `@Sendable` closure; this is an error in the Swift 6 language mode
69 | self.encodeSignal(aSignal)
70 | })
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Loggers/IntervalLogger.swift:68:44: warning: capture of 'signals' with non-sendable type '[Signal]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
66 | override open func nextPutAll(_ signals: [Signal]) {
67 | queue.async {
68 | self.buffer.append(contentsOf: signals.compactMap { aSignal -> Data? in
| `- warning: capture of 'signals' with non-sendable type '[Signal]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
69 | self.encodeSignal(aSignal)
70 | })
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Signals/Signal.swift:25:12: note: class 'Signal' does not conform to the 'Sendable' protocol
23 | */
24 |
25 | open class Signal: NSObject, Encodable {
| `- note: class 'Signal' does not conform to the 'Sendable' protocol
26 | // MARK: - Structs
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Loggers/IntervalLogger.swift:69:17: warning: capture of 'self' with non-sendable type 'IntervalLogger' in an isolated closure; this is an error in the Swift 6 language mode
24 | */
25 |
26 | open class IntervalLogger: SignalLogger {
| `- note: class 'IntervalLogger' does not conform to the 'Sendable' protocol
27 | // MARK: - Variables
28 |
:
67 | queue.async {
68 | self.buffer.append(contentsOf: signals.compactMap { aSignal -> Data? in
69 | self.encodeSignal(aSignal)
| `- warning: capture of 'self' with non-sendable type 'IntervalLogger' in an isolated closure; this is an error in the Swift 6 language mode
70 | })
71 | self.fixBuffer()
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Loggers/IntervalLogger.swift:118:13: warning: capture of 'self' with non-sendable type 'IntervalLogger' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | */
25 |
26 | open class IntervalLogger: SignalLogger {
| `- note: class 'IntervalLogger' does not conform to the 'Sendable' protocol
27 | // MARK: - Variables
28 |
:
116 | guard flushTimer == nil else { return }
117 | flushTimer = Timer.scheduledTimer(withTimeInterval: flushInterval, repeats: true, block: { _ in
118 | self.queue.async {
| `- warning: capture of 'self' with non-sendable type 'IntervalLogger' in a `@Sendable` closure; this is an error in the Swift 6 language mode
119 | self.flushIfPossible()
120 | }
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Loggers/IntervalLogger.swift:119:17: warning: capture of 'self' with non-sendable type 'IntervalLogger' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | */
25 |
26 | open class IntervalLogger: SignalLogger {
| `- note: class 'IntervalLogger' does not conform to the 'Sendable' protocol
27 | // MARK: - Variables
28 |
:
117 | flushTimer = Timer.scheduledTimer(withTimeInterval: flushInterval, repeats: true, block: { _ in
118 | self.queue.async {
119 | self.flushIfPossible()
| `- warning: capture of 'self' with non-sendable type 'IntervalLogger' in a `@Sendable` closure; this is an error in the Swift 6 language mode
120 | }
121 | })
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Loggers/JRPCLogger.swift:42:28: warning: static property 'counter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
40 |
41 | private struct Method: Encodable {
42 | private static var counter: Int = 0
| |- warning: static property 'counter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'counter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'counter' 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
43 | private static func nextId() -> Int {
44 | counter += 1
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Loggers/JRPCLogger.swift:147:21: warning: capture of 'completion' with non-sendable type '((Bool) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
145 | let task = URLSession.shared.dataTask(with: urlRequest) { _, response, error in
146 | var success = false
147 | defer { completion?(success) }
| |- warning: capture of 'completion' with non-sendable type '((Bool) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
148 | self.lastCompletionDate = Date()
149 | if let error = error {
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Loggers/JRPCLogger.swift:148:13: warning: capture of 'self' with non-sendable type 'JRPCLogger' in a `@Sendable` closure; this is an error in the Swift 6 language mode
19 | */
20 |
21 | open class JRPCLogger: IntervalLogger {
| `- note: class 'JRPCLogger' does not conform to the 'Sendable' protocol
22 | // MARK: - Variables
23 |
:
146 | var success = false
147 | defer { completion?(success) }
148 | self.lastCompletionDate = Date()
| `- warning: capture of 'self' with non-sendable type 'JRPCLogger' in a `@Sendable` closure; this is an error in the Swift 6 language mode
149 | if let error = error {
150 | print("Error calling jrpc method: '\(String(describing: self.method))': \(error)")
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Loggers/JRPCLogger.swift:147:21: warning: capture of 'completion' with non-sendable type '((Bool) -> Void)?' in an isolated local function; this is an error in the Swift 6 language mode
145 | let task = URLSession.shared.dataTask(with: urlRequest) { _, response, error in
146 | var success = false
147 | defer { completion?(success) }
| |- warning: capture of 'completion' with non-sendable type '((Bool) -> Void)?' in an isolated local function; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
148 | self.lastCompletionDate = Date()
149 | if let error = error {
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Loggers/MemoryLogger.swift:21:29: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | open class MemoryLogger: SignalLogger {
21 | @objc public static var shared = MemoryLogger(name: "MemoryLogger")
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
22 |
23 | @objc @RWLocked open private(set) var recordings = [Signal]()
[73/75] Compiling Beacon JRPCLogger.swift
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Core/Beacon.swift:47:29: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
45 |
46 | /// Shared general-purpose instance
47 | @objc public static var shared = Beacon()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
48 |
49 | // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Loggers/IntervalLogger.swift:58:30: warning: capture of 'self' with non-sendable type 'IntervalLogger' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | */
25 |
26 | open class IntervalLogger: SignalLogger {
| `- note: class 'IntervalLogger' does not conform to the 'Sendable' protocol
27 | // MARK: - Variables
28 |
:
56 | override open func nextPut(_ aSignal: Signal) {
57 | queue.async {
58 | guard let data = self.encodeSignal(aSignal) else {
| `- warning: capture of 'self' with non-sendable type 'IntervalLogger' in a `@Sendable` closure; this is an error in the Swift 6 language mode
59 | return
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Loggers/IntervalLogger.swift:58:48: warning: capture of 'aSignal' with non-sendable type 'Signal' in a `@Sendable` closure; this is an error in the Swift 6 language mode
56 | override open func nextPut(_ aSignal: Signal) {
57 | queue.async {
58 | guard let data = self.encodeSignal(aSignal) else {
| `- warning: capture of 'aSignal' with non-sendable type 'Signal' in a `@Sendable` closure; this is an error in the Swift 6 language mode
59 | return
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Signals/Signal.swift:25:12: note: class 'Signal' does not conform to the 'Sendable' protocol
23 | */
24 |
25 | open class Signal: NSObject, Encodable {
| `- note: class 'Signal' does not conform to the 'Sendable' protocol
26 | // MARK: - Structs
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Loggers/IntervalLogger.swift:68:13: warning: capture of 'self' with non-sendable type 'IntervalLogger' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | */
25 |
26 | open class IntervalLogger: SignalLogger {
| `- note: class 'IntervalLogger' does not conform to the 'Sendable' protocol
27 | // MARK: - Variables
28 |
:
66 | override open func nextPutAll(_ signals: [Signal]) {
67 | queue.async {
68 | self.buffer.append(contentsOf: signals.compactMap { aSignal -> Data? in
| `- warning: capture of 'self' with non-sendable type 'IntervalLogger' in a `@Sendable` closure; this is an error in the Swift 6 language mode
69 | self.encodeSignal(aSignal)
70 | })
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Loggers/IntervalLogger.swift:68:44: warning: capture of 'signals' with non-sendable type '[Signal]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
66 | override open func nextPutAll(_ signals: [Signal]) {
67 | queue.async {
68 | self.buffer.append(contentsOf: signals.compactMap { aSignal -> Data? in
| `- warning: capture of 'signals' with non-sendable type '[Signal]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
69 | self.encodeSignal(aSignal)
70 | })
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Signals/Signal.swift:25:12: note: class 'Signal' does not conform to the 'Sendable' protocol
23 | */
24 |
25 | open class Signal: NSObject, Encodable {
| `- note: class 'Signal' does not conform to the 'Sendable' protocol
26 | // MARK: - Structs
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Loggers/IntervalLogger.swift:69:17: warning: capture of 'self' with non-sendable type 'IntervalLogger' in an isolated closure; this is an error in the Swift 6 language mode
24 | */
25 |
26 | open class IntervalLogger: SignalLogger {
| `- note: class 'IntervalLogger' does not conform to the 'Sendable' protocol
27 | // MARK: - Variables
28 |
:
67 | queue.async {
68 | self.buffer.append(contentsOf: signals.compactMap { aSignal -> Data? in
69 | self.encodeSignal(aSignal)
| `- warning: capture of 'self' with non-sendable type 'IntervalLogger' in an isolated closure; this is an error in the Swift 6 language mode
70 | })
71 | self.fixBuffer()
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Loggers/IntervalLogger.swift:118:13: warning: capture of 'self' with non-sendable type 'IntervalLogger' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | */
25 |
26 | open class IntervalLogger: SignalLogger {
| `- note: class 'IntervalLogger' does not conform to the 'Sendable' protocol
27 | // MARK: - Variables
28 |
:
116 | guard flushTimer == nil else { return }
117 | flushTimer = Timer.scheduledTimer(withTimeInterval: flushInterval, repeats: true, block: { _ in
118 | self.queue.async {
| `- warning: capture of 'self' with non-sendable type 'IntervalLogger' in a `@Sendable` closure; this is an error in the Swift 6 language mode
119 | self.flushIfPossible()
120 | }
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Loggers/IntervalLogger.swift:119:17: warning: capture of 'self' with non-sendable type 'IntervalLogger' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | */
25 |
26 | open class IntervalLogger: SignalLogger {
| `- note: class 'IntervalLogger' does not conform to the 'Sendable' protocol
27 | // MARK: - Variables
28 |
:
117 | flushTimer = Timer.scheduledTimer(withTimeInterval: flushInterval, repeats: true, block: { _ in
118 | self.queue.async {
119 | self.flushIfPossible()
| `- warning: capture of 'self' with non-sendable type 'IntervalLogger' in a `@Sendable` closure; this is an error in the Swift 6 language mode
120 | }
121 | })
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Loggers/JRPCLogger.swift:42:28: warning: static property 'counter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
40 |
41 | private struct Method: Encodable {
42 | private static var counter: Int = 0
| |- warning: static property 'counter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'counter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'counter' 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
43 | private static func nextId() -> Int {
44 | counter += 1
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Loggers/JRPCLogger.swift:147:21: warning: capture of 'completion' with non-sendable type '((Bool) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
145 | let task = URLSession.shared.dataTask(with: urlRequest) { _, response, error in
146 | var success = false
147 | defer { completion?(success) }
| |- warning: capture of 'completion' with non-sendable type '((Bool) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
148 | self.lastCompletionDate = Date()
149 | if let error = error {
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Loggers/JRPCLogger.swift:148:13: warning: capture of 'self' with non-sendable type 'JRPCLogger' in a `@Sendable` closure; this is an error in the Swift 6 language mode
19 | */
20 |
21 | open class JRPCLogger: IntervalLogger {
| `- note: class 'JRPCLogger' does not conform to the 'Sendable' protocol
22 | // MARK: - Variables
23 |
:
146 | var success = false
147 | defer { completion?(success) }
148 | self.lastCompletionDate = Date()
| `- warning: capture of 'self' with non-sendable type 'JRPCLogger' in a `@Sendable` closure; this is an error in the Swift 6 language mode
149 | if let error = error {
150 | print("Error calling jrpc method: '\(String(describing: self.method))': \(error)")
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Loggers/JRPCLogger.swift:147:21: warning: capture of 'completion' with non-sendable type '((Bool) -> Void)?' in an isolated local function; this is an error in the Swift 6 language mode
145 | let task = URLSession.shared.dataTask(with: urlRequest) { _, response, error in
146 | var success = false
147 | defer { completion?(success) }
| |- warning: capture of 'completion' with non-sendable type '((Bool) -> Void)?' in an isolated local function; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
148 | self.lastCompletionDate = Date()
149 | if let error = error {
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Loggers/MemoryLogger.swift:21:29: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | open class MemoryLogger: SignalLogger {
21 | @objc public static var shared = MemoryLogger(name: "MemoryLogger")
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
22 |
23 | @objc @RWLocked open private(set) var recordings = [Signal]()
[74/75] Compiling Beacon MemoryLogger.swift
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Core/Beacon.swift:47:29: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
45 |
46 | /// Shared general-purpose instance
47 | @objc public static var shared = Beacon()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
48 |
49 | // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Loggers/IntervalLogger.swift:58:30: warning: capture of 'self' with non-sendable type 'IntervalLogger' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | */
25 |
26 | open class IntervalLogger: SignalLogger {
| `- note: class 'IntervalLogger' does not conform to the 'Sendable' protocol
27 | // MARK: - Variables
28 |
:
56 | override open func nextPut(_ aSignal: Signal) {
57 | queue.async {
58 | guard let data = self.encodeSignal(aSignal) else {
| `- warning: capture of 'self' with non-sendable type 'IntervalLogger' in a `@Sendable` closure; this is an error in the Swift 6 language mode
59 | return
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Loggers/IntervalLogger.swift:58:48: warning: capture of 'aSignal' with non-sendable type 'Signal' in a `@Sendable` closure; this is an error in the Swift 6 language mode
56 | override open func nextPut(_ aSignal: Signal) {
57 | queue.async {
58 | guard let data = self.encodeSignal(aSignal) else {
| `- warning: capture of 'aSignal' with non-sendable type 'Signal' in a `@Sendable` closure; this is an error in the Swift 6 language mode
59 | return
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Signals/Signal.swift:25:12: note: class 'Signal' does not conform to the 'Sendable' protocol
23 | */
24 |
25 | open class Signal: NSObject, Encodable {
| `- note: class 'Signal' does not conform to the 'Sendable' protocol
26 | // MARK: - Structs
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Loggers/IntervalLogger.swift:68:13: warning: capture of 'self' with non-sendable type 'IntervalLogger' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | */
25 |
26 | open class IntervalLogger: SignalLogger {
| `- note: class 'IntervalLogger' does not conform to the 'Sendable' protocol
27 | // MARK: - Variables
28 |
:
66 | override open func nextPutAll(_ signals: [Signal]) {
67 | queue.async {
68 | self.buffer.append(contentsOf: signals.compactMap { aSignal -> Data? in
| `- warning: capture of 'self' with non-sendable type 'IntervalLogger' in a `@Sendable` closure; this is an error in the Swift 6 language mode
69 | self.encodeSignal(aSignal)
70 | })
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Loggers/IntervalLogger.swift:68:44: warning: capture of 'signals' with non-sendable type '[Signal]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
66 | override open func nextPutAll(_ signals: [Signal]) {
67 | queue.async {
68 | self.buffer.append(contentsOf: signals.compactMap { aSignal -> Data? in
| `- warning: capture of 'signals' with non-sendable type '[Signal]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
69 | self.encodeSignal(aSignal)
70 | })
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Signals/Signal.swift:25:12: note: class 'Signal' does not conform to the 'Sendable' protocol
23 | */
24 |
25 | open class Signal: NSObject, Encodable {
| `- note: class 'Signal' does not conform to the 'Sendable' protocol
26 | // MARK: - Structs
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Loggers/IntervalLogger.swift:69:17: warning: capture of 'self' with non-sendable type 'IntervalLogger' in an isolated closure; this is an error in the Swift 6 language mode
24 | */
25 |
26 | open class IntervalLogger: SignalLogger {
| `- note: class 'IntervalLogger' does not conform to the 'Sendable' protocol
27 | // MARK: - Variables
28 |
:
67 | queue.async {
68 | self.buffer.append(contentsOf: signals.compactMap { aSignal -> Data? in
69 | self.encodeSignal(aSignal)
| `- warning: capture of 'self' with non-sendable type 'IntervalLogger' in an isolated closure; this is an error in the Swift 6 language mode
70 | })
71 | self.fixBuffer()
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Loggers/IntervalLogger.swift:118:13: warning: capture of 'self' with non-sendable type 'IntervalLogger' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | */
25 |
26 | open class IntervalLogger: SignalLogger {
| `- note: class 'IntervalLogger' does not conform to the 'Sendable' protocol
27 | // MARK: - Variables
28 |
:
116 | guard flushTimer == nil else { return }
117 | flushTimer = Timer.scheduledTimer(withTimeInterval: flushInterval, repeats: true, block: { _ in
118 | self.queue.async {
| `- warning: capture of 'self' with non-sendable type 'IntervalLogger' in a `@Sendable` closure; this is an error in the Swift 6 language mode
119 | self.flushIfPossible()
120 | }
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Loggers/IntervalLogger.swift:119:17: warning: capture of 'self' with non-sendable type 'IntervalLogger' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | */
25 |
26 | open class IntervalLogger: SignalLogger {
| `- note: class 'IntervalLogger' does not conform to the 'Sendable' protocol
27 | // MARK: - Variables
28 |
:
117 | flushTimer = Timer.scheduledTimer(withTimeInterval: flushInterval, repeats: true, block: { _ in
118 | self.queue.async {
119 | self.flushIfPossible()
| `- warning: capture of 'self' with non-sendable type 'IntervalLogger' in a `@Sendable` closure; this is an error in the Swift 6 language mode
120 | }
121 | })
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Loggers/JRPCLogger.swift:42:28: warning: static property 'counter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
40 |
41 | private struct Method: Encodable {
42 | private static var counter: Int = 0
| |- warning: static property 'counter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'counter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'counter' 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
43 | private static func nextId() -> Int {
44 | counter += 1
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Loggers/JRPCLogger.swift:147:21: warning: capture of 'completion' with non-sendable type '((Bool) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
145 | let task = URLSession.shared.dataTask(with: urlRequest) { _, response, error in
146 | var success = false
147 | defer { completion?(success) }
| |- warning: capture of 'completion' with non-sendable type '((Bool) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
148 | self.lastCompletionDate = Date()
149 | if let error = error {
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Loggers/JRPCLogger.swift:148:13: warning: capture of 'self' with non-sendable type 'JRPCLogger' in a `@Sendable` closure; this is an error in the Swift 6 language mode
19 | */
20 |
21 | open class JRPCLogger: IntervalLogger {
| `- note: class 'JRPCLogger' does not conform to the 'Sendable' protocol
22 | // MARK: - Variables
23 |
:
146 | var success = false
147 | defer { completion?(success) }
148 | self.lastCompletionDate = Date()
| `- warning: capture of 'self' with non-sendable type 'JRPCLogger' in a `@Sendable` closure; this is an error in the Swift 6 language mode
149 | if let error = error {
150 | print("Error calling jrpc method: '\(String(describing: self.method))': \(error)")
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Loggers/JRPCLogger.swift:147:21: warning: capture of 'completion' with non-sendable type '((Bool) -> Void)?' in an isolated local function; this is an error in the Swift 6 language mode
145 | let task = URLSession.shared.dataTask(with: urlRequest) { _, response, error in
146 | var success = false
147 | defer { completion?(success) }
| |- warning: capture of 'completion' with non-sendable type '((Bool) -> Void)?' in an isolated local function; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
148 | self.lastCompletionDate = Date()
149 | if let error = error {
/Users/admin/builder/spi-builder-workspace/Sources/Beacon/Loggers/MemoryLogger.swift:21:29: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | open class MemoryLogger: SignalLogger {
21 | @objc public static var shared = MemoryLogger(name: "MemoryLogger")
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
22 |
23 | @objc @RWLocked open private(set) var recordings = [Signal]()
[74/75] Compiling BeaconObjcRuntime BeaconObjcRuntime.m
Build complete! (19.01s)
Build complete.
{
"dependencies" : [
{
"identity" : "nimble",
"requirement" : {
"range" : [
{
"lower_bound" : "11.2.0",
"upper_bound" : "12.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Quick/Nimble"
},
{
"identity" : "swiftannouncements",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.3",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/grype/SwiftAnnouncements"
},
{
"identity" : "rwlock-swift",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/grype/RWLock-Swift"
},
{
"identity" : "cuckoo",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Brightify/Cuckoo"
},
{
"identity" : "anycodable",
"requirement" : {
"range" : [
{
"lower_bound" : "0.5.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Flight-School/AnyCodable"
},
{
"identity" : "logickit",
"requirement" : {
"range" : [
{
"lower_bound" : "2.1.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/kyouko-taiga/LogicKit"
}
],
"manifest_display_name" : "Beacon",
"name" : "Beacon",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.12"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "10.0"
},
{
"name" : "watchos",
"version" : "3.0"
}
],
"products" : [
{
"name" : "Beacon",
"targets" : [
"Beacon"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "BeaconObjcRuntime",
"targets" : [
"BeaconObjcRuntime"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "BeaconTests",
"module_type" : "SwiftTarget",
"name" : "BeaconTests",
"path" : "Tests/BeaconTests",
"product_dependencies" : [
"Nimble",
"SwiftAnnouncements",
"Cuckoo",
"AnyCodable"
],
"sources" : [
"Extensions/SignalLogger+Extensions.swift",
"Extensions/String+Error.swift",
"Mocks/Codecs/MockJSONSignalEncoder.swift",
"Mocks/Codecs/MockSignalDescriptionEncoder.swift",
"Mocks/Core/MockBeacon.swift",
"Mocks/File/MockFileBackupWheel.swift",
"Mocks/File/MockFileWheel.swift",
"Mocks/Loggers/MockConsoleLogger.swift",
"Mocks/Loggers/MockFileLogger.swift",
"Mocks/Loggers/MockIntervalLogger.swift",
"Mocks/Loggers/MockJRPCLogger.swift",
"Mocks/Loggers/MockMemoryLogger.swift",
"Mocks/Loggers/MockStreamLogger.swift",
"Mocks/SampleObject.swift",
"Mocks/Signals/MockContextSignal.swift",
"Mocks/Signals/MockErrorSignal.swift",
"Mocks/Signals/MockIdentitySignal.swift",
"Mocks/Signals/MockMachImageImportsSignal.swift",
"Mocks/Signals/MockSignal.swift",
"Mocks/Signals/MockStringSignal.swift",
"Mocks/Signals/MockWrapperSignal.swift",
"Mocks/Writers/MockEncodedStreamSignalWriter.swift",
"Test Cases/BeaconTests.swift",
"Test Cases/ContextSignalTests.swift",
"Test Cases/EncodedSignalWriterTests.swift",
"Test Cases/FileBackupWheelTests.swift",
"Test Cases/FileLoggerTests.swift",
"Test Cases/FileWheelTests.swift",
"Test Cases/IdentitySignalTests.swift",
"Test Cases/IntervalLoggerTests.swift",
"Test Cases/JRPCLoggerTests.swift",
"Test Cases/MachDumpSignalTests.swift",
"Test Cases/MemoryLoggerTests.swift",
"Test Cases/SignalFilteringTests.swift",
"Test Cases/SignalLoggerTests.swift",
"Test Cases/SignalTests.swift",
"Test Cases/StreamLoggerTests.swift",
"Test Cases/StringSignalTests.swift",
"Test Cases/WrapperSignalTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Beacon"
],
"type" : "test"
},
{
"c99name" : "BeaconObjcRuntime",
"module_type" : "ClangTarget",
"name" : "BeaconObjcRuntime",
"path" : "Sources/BeaconObjcRuntime",
"product_memberships" : [
"BeaconObjcRuntime"
],
"sources" : [
"BeaconObjcRuntime.m"
],
"target_dependencies" : [
"Beacon"
],
"type" : "library"
},
{
"c99name" : "Beacon",
"module_type" : "SwiftTarget",
"name" : "Beacon",
"path" : "Sources/Beacon",
"product_dependencies" : [
"SwiftAnnouncements",
"RWLock",
"AnyCodable",
"LogicKit"
],
"product_memberships" : [
"Beacon",
"BeaconObjcRuntime"
],
"sources" : [
"Codecs/JSONSignalEncoder.swift",
"Codecs/SignalDescriptionEncoder.swift",
"Codecs/SignalEncoder.swift",
"Constraints/Beacon+Constraints.swift",
"Constraints/ConstraintBuilder.swift",
"Constraints/Constraints+Sugar.swift",
"Constraints/Constraints.swift",
"Constraints/Signal+Constraints.swift",
"Constraints/Term+Constraints.swift",
"Core/Beacon.swift",
"Core/CallStackFrame.swift",
"Core/Device.swift",
"Core/MachImage.swift",
"Core/MachImageMonitor.swift",
"Core/Signaling.swift",
"Core/SystemInfo.swift",
"Extensions/Data+Extensions.swift",
"Extensions/DateFormatter+Extensions.swift",
"Extensions/Foundation+Extensions.swift",
"Extensions/URL+Extensions.swift",
"File/FileBackupWheel.swift",
"File/FileRotation.swift",
"File/FileWheel.swift",
"Loggers/ConsoleLogger.swift",
"Loggers/FileLogger.swift",
"Loggers/IntervalLogger.swift",
"Loggers/JRPCLogger.swift",
"Loggers/MemoryLogger.swift",
"Loggers/SignalLogger.swift",
"Loggers/StreamLogger.swift",
"Signals/ContextSignal.swift",
"Signals/ErrorSignal.swift",
"Signals/IdentitySignal.swift",
"Signals/MachImageImportsSignal.swift",
"Signals/Signal.swift",
"Signals/StringSignal.swift",
"Signals/WrapperSignal.swift",
"Writers/EncodedStreamSignalWriter.swift",
"Writers/SignalWriter.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Done.