Build Information
Successful build of Vexil, reference v2.2.4 (c1ecf1), with Swift 6.1 for macOS (SPM) on 18 Nov 2026 15:34:01 UTC.
Swift 6 data race errors: 8
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCapturesBuild Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/unsignedapps/Vexil.git
Reference: v2.2.4
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/unsignedapps/Vexil
* tag v2.2.4 -> FETCH_HEAD
HEAD is now at c1ecf14 Merge pull request #156 from vascoorey/vascoorey/vexillographer-performance
Cloned https://github.com/unsignedapps/Vexil.git
Revision (git rev-parse @):
c1ecf1489f8c87873286011e3d09151b530a5cc2
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/unsignedapps/Vexil.git at v2.2.4
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/unsignedapps/Vexil.git
https://github.com/unsignedapps/Vexil.git
{
"dependencies" : [
{
"identity" : "swiftformat",
"requirement" : {
"range" : [
{
"lower_bound" : "0.51.2",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/nicklockwood/SwiftFormat"
}
],
"manifest_display_name" : "Vexil",
"name" : "Vexil",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "Vexil",
"targets" : [
"Vexil"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Vexillographer",
"targets" : [
"Vexillographer"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "Vexillographer",
"module_type" : "SwiftTarget",
"name" : "Vexillographer",
"path" : "Sources/Vexillographer",
"product_memberships" : [
"Vexillographer"
],
"sources" : [
"Bindings/Binding.swift",
"Bindings/EditableBoxedFlagValues.swift",
"Bindings/LosslessStringTransformer.swift",
"Bindings/OptionalTransformer.swift",
"Bindings/PassthroughTransformer.swift",
"CopyButton.swift",
"DetailButton.swift",
"Extensions/NSApplication+Sidebar.swift",
"Flag Value Controls/BooleanFlagControl.swift",
"Flag Value Controls/CaseIterableFlagControl.swift",
"Flag Value Controls/OptionalCaseIterableFlagControl.swift",
"Flag Value Controls/StringFlagControl.swift",
"FlagDetailSection.swift",
"FlagDetailView.swift",
"FlagDisplayValueView.swift",
"FlagGroupView.swift",
"FlagSectionView.swift",
"FlagValueManager.swift",
"FlagView.swift",
"Unfurling/Unfurlable.swift",
"Unfurling/UnfurledFlag.swift",
"Unfurling/UnfurledFlagGroup.swift",
"Unfurling/UnfurledFlagInfo.swift",
"Unfurling/UnfurledFlagItem.swift",
"Utilities/AnyView.swift",
"Utilities/DisplayName.swift",
"Utilities/OptionalFlagValues.swift",
"Utilities/Pasteboard.swift",
"Vexillographer.swift"
],
"target_dependencies" : [
"Vexil"
],
"type" : "library"
},
{
"c99name" : "VexilTests",
"module_type" : "SwiftTarget",
"name" : "VexilTests",
"path" : "Tests/VexilTests",
"sources" : [
"BoxedFlagValueDecodingTests.swift",
"BoxedFlagValueEncodingTests.swift",
"DiagnosticsTests.swift",
"EquatableTests.swift",
"FlagPoleTests.swift",
"FlagValueBoxingTests.swift",
"FlagValueCompilationTests.swift",
"FlagValueDictionaryTests.swift",
"FlagValueSourceTests.swift",
"FlagValueUnboxingTests.swift",
"KeyEncodingTests.swift",
"PublisherTests.swift",
"SnapshotTests.swift",
"TestHelpers.swift",
"UserDefaultPublisherTests.swift",
"UserDefaultsDecodingTests.swift",
"UserDefaultsEncodingTests.swift"
],
"target_dependencies" : [
"Vexil"
],
"type" : "test"
},
{
"c99name" : "Vexil",
"module_type" : "SwiftTarget",
"name" : "Vexil",
"path" : "Sources/Vexil",
"product_memberships" : [
"Vexil",
"Vexillographer"
],
"sources" : [
"Configuration.swift",
"Container.swift",
"Decorator.swift",
"Diagnostics.swift",
"Flag.swift",
"FlagInfo.swift",
"Group.swift",
"Lookup.swift",
"Pole.swift",
"Snapshots/AnyFlag.swift",
"Snapshots/LocatedFlagValue.swift",
"Snapshots/MutableFlagGroup.swift",
"Snapshots/Snapshot+Extensions.swift",
"Snapshots/Snapshot+FlagValueSource.swift",
"Snapshots/Snapshot+Lookup.swift",
"Snapshots/Snapshot.swift",
"Sources/BoxedFlagValue+NSObject.swift",
"Sources/FlagValueDictionary+Collection.swift",
"Sources/FlagValueDictionary+FlagValueSource.swift",
"Sources/FlagValueDictionary.swift",
"Sources/FlagValueSource.swift",
"Sources/NSUbiquitousKeyValueStore+FlagValueSource.swift",
"Sources/UserDefaults+FlagValueSource.swift",
"Utilities/BoxedFlagValue+Codable.swift",
"Utilities/CollectionDifference.Change+Element.swift",
"Utilities/Locks.swift",
"Value.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
[1/1] Compiling plugin SwiftFormatPlugin
Building for debugging...
[1/4] Write sources
[3/4] Write swift-version-2F0A5646E1D333AE.txt
[5/30] Emitting module Vexil
/Users/admin/builder/spi-builder-workspace/Sources/Vexil/FlagInfo.swift:58:16: warning: static property 'hidden' is not concurrency-safe because non-'Sendable' type 'FlagInfo' may have shared mutable state; this is an error in the Swift 6 language mode
16 | /// This is mostly used by flag editors like Vexillographer.
17 | ///
18 | public struct FlagInfo {
| `- note: consider making struct 'FlagInfo' conform to the 'Sendable' protocol
19 |
20 | // MARK: - Properties
:
56 |
57 | /// Hides the `Flag` or `FlagGroup` from flag editors like Vexillographer
58 | static let hidden = FlagInfo(name: nil, description: "", shouldDisplay: false)
| |- warning: static property 'hidden' is not concurrency-safe because non-'Sendable' type 'FlagInfo' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hidden' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | }
60 |
[6/32] Compiling Vexil Locks.swift
[7/32] Compiling Vexil Value.swift
[8/32] Compiling Vexil Configuration.swift
[9/32] Compiling Vexil Container.swift
[10/32] Compiling Vexil Decorator.swift
[11/32] Compiling Vexil Snapshot.swift
[12/32] Compiling Vexil BoxedFlagValue+NSObject.swift
[13/32] Compiling Vexil FlagValueDictionary+Collection.swift
[14/32] Compiling Vexil FlagValueDictionary+FlagValueSource.swift
[15/32] Compiling Vexil FlagValueDictionary.swift
[16/32] Compiling Vexil FlagValueSource.swift
[17/32] Compiling Vexil Group.swift
[18/32] Compiling Vexil Lookup.swift
[19/32] Compiling Vexil Pole.swift
[20/32] Compiling Vexil Snapshot+Extensions.swift
[21/32] Compiling Vexil Snapshot+FlagValueSource.swift
[22/32] Compiling Vexil Snapshot+Lookup.swift
[23/32] Compiling Vexil AnyFlag.swift
[24/32] Compiling Vexil LocatedFlagValue.swift
[25/32] Compiling Vexil MutableFlagGroup.swift
[26/32] Compiling Vexil BoxedFlagValue+Codable.swift
[27/32] Compiling Vexil CollectionDifference.Change+Element.swift
[28/32] Compiling Vexil NSUbiquitousKeyValueStore+FlagValueSource.swift
[29/32] Compiling Vexil UserDefaults+FlagValueSource.swift
[30/32] Compiling Vexil Diagnostics.swift
/Users/admin/builder/spi-builder-workspace/Sources/Vexil/FlagInfo.swift:58:16: warning: static property 'hidden' is not concurrency-safe because non-'Sendable' type 'FlagInfo' may have shared mutable state; this is an error in the Swift 6 language mode
16 | /// This is mostly used by flag editors like Vexillographer.
17 | ///
18 | public struct FlagInfo {
| `- note: consider making struct 'FlagInfo' conform to the 'Sendable' protocol
19 |
20 | // MARK: - Properties
:
56 |
57 | /// Hides the `Flag` or `FlagGroup` from flag editors like Vexillographer
58 | static let hidden = FlagInfo(name: nil, description: "", shouldDisplay: false)
| |- warning: static property 'hidden' is not concurrency-safe because non-'Sendable' type 'FlagInfo' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hidden' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | }
60 |
[31/32] Compiling Vexil Flag.swift
/Users/admin/builder/spi-builder-workspace/Sources/Vexil/FlagInfo.swift:58:16: warning: static property 'hidden' is not concurrency-safe because non-'Sendable' type 'FlagInfo' may have shared mutable state; this is an error in the Swift 6 language mode
16 | /// This is mostly used by flag editors like Vexillographer.
17 | ///
18 | public struct FlagInfo {
| `- note: consider making struct 'FlagInfo' conform to the 'Sendable' protocol
19 |
20 | // MARK: - Properties
:
56 |
57 | /// Hides the `Flag` or `FlagGroup` from flag editors like Vexillographer
58 | static let hidden = FlagInfo(name: nil, description: "", shouldDisplay: false)
| |- warning: static property 'hidden' is not concurrency-safe because non-'Sendable' type 'FlagInfo' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hidden' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | }
60 |
[32/32] Compiling Vexil FlagInfo.swift
/Users/admin/builder/spi-builder-workspace/Sources/Vexil/FlagInfo.swift:58:16: warning: static property 'hidden' is not concurrency-safe because non-'Sendable' type 'FlagInfo' may have shared mutable state; this is an error in the Swift 6 language mode
16 | /// This is mostly used by flag editors like Vexillographer.
17 | ///
18 | public struct FlagInfo {
| `- note: consider making struct 'FlagInfo' conform to the 'Sendable' protocol
19 |
20 | // MARK: - Properties
:
56 |
57 | /// Hides the `Flag` or `FlagGroup` from flag editors like Vexillographer
58 | static let hidden = FlagInfo(name: nil, description: "", shouldDisplay: false)
| |- warning: static property 'hidden' is not concurrency-safe because non-'Sendable' type 'FlagInfo' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hidden' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | }
60 |
[33/60] Emitting module Vexillographer
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/DetailButton.swift:85:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
83 | typealias Value = CGSize
84 |
85 | static var defaultValue: Value = .zero
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 |
87 | static func reduce(value: inout Value, nextValue: () -> Value) {
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Flag Value Controls/BooleanFlagControl.swift:71:18: warning: generic parameter 'RootGroup' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
69 | @available(OSX 11.0, iOS 13.0, watchOS 7.0, tvOS 13.0, *)
70 | extension UnfurledFlag: BooleanEditableFlag where Value.BoxedValueType == Bool {
71 | func control<RootGroup>(label: String, manager: FlagValueManager<RootGroup>, showDetail: Binding<Bool>) -> AnyView where RootGroup: FlagContainer {
| `- warning: generic parameter 'RootGroup' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
72 | return BooleanFlagControl(
73 | label: label,
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Unfurling/UnfurledFlag.swift:21:28: note: 'RootGroup' previously declared here
19 |
20 | @available(OSX 11.0, iOS 13.0, watchOS 7.0, tvOS 13.0, *)
21 | struct UnfurledFlag<Value, RootGroup>: UnfurledFlagItem, Identifiable where Value: FlagValue, RootGroup: FlagContainer {
| `- note: 'RootGroup' previously declared here
22 |
23 | // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Flag Value Controls/BooleanFlagControl.swift:99:18: warning: generic parameter 'RootGroup' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
97 | @available(OSX 11.0, iOS 13.0, watchOS 7.0, tvOS 13.0, *)
98 | extension UnfurledFlag: OptionalBooleanEditableFlag where Value: FlagValue, Value.BoxedValueType: OptionalFlagValue, Value.BoxedValueType.WrappedFlagValue == Bool {
99 | func control<RootGroup>(label: String, manager: FlagValueManager<RootGroup>, showDetail: Binding<Bool>) -> AnyView where RootGroup: FlagContainer {
| `- warning: generic parameter 'RootGroup' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
100 | return BooleanFlagControl(
101 | label: label,
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Unfurling/UnfurledFlag.swift:21:28: note: 'RootGroup' previously declared here
19 |
20 | @available(OSX 11.0, iOS 13.0, watchOS 7.0, tvOS 13.0, *)
21 | struct UnfurledFlag<Value, RootGroup>: UnfurledFlagItem, Identifiable where Value: FlagValue, RootGroup: FlagContainer {
| `- note: 'RootGroup' previously declared here
22 |
23 | // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Flag Value Controls/CaseIterableFlagControl.swift:163:18: warning: generic parameter 'RootGroup' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
161 | Value: RawRepresentable, Value.RawValue: FlagValue, Value: Hashable
162 | {
163 | func control<RootGroup>(label: String, manager: FlagValueManager<RootGroup>, showDetail: Binding<Bool>) -> AnyView where RootGroup: FlagContainer {
| `- warning: generic parameter 'RootGroup' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
164 | return CaseIterableFlagControl<Value>(
165 | label: label,
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Unfurling/UnfurledFlag.swift:21:28: note: 'RootGroup' previously declared here
19 |
20 | @available(OSX 11.0, iOS 13.0, watchOS 7.0, tvOS 13.0, *)
21 | struct UnfurledFlag<Value, RootGroup>: UnfurledFlagItem, Identifiable where Value: FlagValue, RootGroup: FlagContainer {
| `- note: 'RootGroup' previously declared here
22 |
23 | // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Flag Value Controls/OptionalCaseIterableFlagControl.swift:160:18: warning: generic parameter 'RootGroup' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
158 | Value.WrappedFlagValue.RawValue: FlagValue, Value.WrappedFlagValue: Hashable
159 | {
160 | func control<RootGroup>(label: String, manager: FlagValueManager<RootGroup>, showDetail: Binding<Bool>) -> AnyView where RootGroup: FlagContainer {
| `- warning: generic parameter 'RootGroup' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
161 | let key = info.key
162 | let flag = self.flag
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Unfurling/UnfurledFlag.swift:21:28: note: 'RootGroup' previously declared here
19 |
20 | @available(OSX 11.0, iOS 13.0, watchOS 7.0, tvOS 13.0, *)
21 | struct UnfurledFlag<Value, RootGroup>: UnfurledFlagItem, Identifiable where Value: FlagValue, RootGroup: FlagContainer {
| `- note: 'RootGroup' previously declared here
22 |
23 | // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Flag Value Controls/StringFlagControl.swift:66:18: warning: generic parameter 'RootGroup' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
64 | extension UnfurledFlag: StringEditableFlag where Value.BoxedValueType: LosslessStringConvertible {
65 |
66 | func control<RootGroup>(label: String, manager: FlagValueManager<RootGroup>, showDetail: Binding<Bool>) -> AnyView where RootGroup: FlagContainer {
| `- warning: generic parameter 'RootGroup' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
67 | return StringFlagControl(
68 | label: label,
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Unfurling/UnfurledFlag.swift:21:28: note: 'RootGroup' previously declared here
19 |
20 | @available(OSX 11.0, iOS 13.0, watchOS 7.0, tvOS 13.0, *)
21 | struct UnfurledFlag<Value, RootGroup>: UnfurledFlagItem, Identifiable where Value: FlagValue, RootGroup: FlagContainer {
| `- note: 'RootGroup' previously declared here
22 |
23 | // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Flag Value Controls/StringFlagControl.swift:98:18: warning: generic parameter 'RootGroup' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
96 | {
97 |
98 | func control<RootGroup>(label: String, manager: FlagValueManager<RootGroup>, showDetail: Binding<Bool>) -> AnyView where RootGroup: FlagContainer {
| `- warning: generic parameter 'RootGroup' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
99 | return StringFlagControl(
100 | label: label,
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Unfurling/UnfurledFlag.swift:21:28: note: 'RootGroup' previously declared here
19 |
20 | @available(OSX 11.0, iOS 13.0, watchOS 7.0, tvOS 13.0, *)
21 | struct UnfurledFlag<Value, RootGroup>: UnfurledFlagItem, Identifiable where Value: FlagValue, RootGroup: FlagContainer {
| `- note: 'RootGroup' previously declared here
22 |
23 | // MARK: - Properties
[34/62] Compiling Vexillographer Pasteboard.swift
[35/62] Compiling Vexillographer Vexillographer.swift
[36/62] Compiling Vexillographer AnyView.swift
[37/62] Compiling Vexillographer DisplayName.swift
[38/62] Compiling Vexillographer OptionalFlagValues.swift
[39/62] Compiling Vexillographer UnfurledFlagGroup.swift
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Unfurling/UnfurledFlagGroup.swift:84:18: warning: call to main actor-isolated instance method 'eraseToAnyView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
82 | case .section:
83 | return UnfurledFlagSectionView(group: self, manager: manager)
84 | .eraseToAnyView()
| `- warning: call to main actor-isolated instance method 'eraseToAnyView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
85 | }
86 | }
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Utilities/AnyView.swift:19:10: note: calls to instance method 'eraseToAnyView()' from outside of its actor context are implicitly asynchronous
17 |
18 | extension View {
19 | func eraseToAnyView() -> AnyView {
| `- note: calls to instance method 'eraseToAnyView()' from outside of its actor context are implicitly asynchronous
20 | return AnyView(self)
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Unfurling/UnfurledFlagGroup.swift:83:20: warning: call to main actor-isolated initializer 'init(group:manager:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
81 |
82 | case .section:
83 | return UnfurledFlagSectionView(group: self, manager: manager)
| `- warning: call to main actor-isolated initializer 'init(group:manager:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
84 | .eraseToAnyView()
85 | }
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/FlagSectionView.swift:31:5: note: calls to initializer 'init(group:manager:)' from outside of its actor context are implicitly asynchronous
29 | // MARK: - Initialisation
30 |
31 | init(group: UnfurledFlagGroup<Group, Root>, manager: FlagValueManager<Root>) {
| |- note: calls to initializer 'init(group:manager:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
32 | self.group = group
33 | self.manager = manager
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Unfurling/UnfurledFlagGroup.swift:89:80: warning: call to main actor-isolated instance method 'eraseToAnyView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
87 |
88 | private var unfurledNavigationLink: AnyView {
89 | var destination = UnfurledFlagGroupView(group: self, manager: manager).eraseToAnyView()
| `- warning: call to main actor-isolated instance method 'eraseToAnyView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
90 |
91 | #if os(iOS) || os(visionOS)
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Utilities/AnyView.swift:19:10: note: calls to instance method 'eraseToAnyView()' from outside of its actor context are implicitly asynchronous
17 |
18 | extension View {
19 | func eraseToAnyView() -> AnyView {
| `- note: calls to instance method 'eraseToAnyView()' from outside of its actor context are implicitly asynchronous
20 | return AnyView(self)
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Unfurling/UnfurledFlagGroup.swift:89:27: warning: call to main actor-isolated initializer 'init(group:manager:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
87 |
88 | private var unfurledNavigationLink: AnyView {
89 | var destination = UnfurledFlagGroupView(group: self, manager: manager).eraseToAnyView()
| `- warning: call to main actor-isolated initializer 'init(group:manager:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
90 |
91 | #if os(iOS) || os(visionOS)
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/FlagGroupView.swift:31:5: note: calls to initializer 'init(group:manager:)' from outside of its actor context are implicitly asynchronous
29 | // MARK: - Initialisation
30 |
31 | init(group: UnfurledFlagGroup<Group, Root>, manager: FlagValueManager<Root>) {
| |- note: calls to initializer 'init(group:manager:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
32 | self.group = group
33 | self.manager = manager
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Unfurling/UnfurledFlagGroup.swift:101:14: warning: call to main actor-isolated instance method 'eraseToAnyView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
99 | destination = destination
100 | .navigationTitle(info.name)
101 | .eraseToAnyView()
| `- warning: call to main actor-isolated instance method 'eraseToAnyView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
102 |
103 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Utilities/AnyView.swift:19:10: note: calls to instance method 'eraseToAnyView()' from outside of its actor context are implicitly asynchronous
17 |
18 | extension View {
19 | func eraseToAnyView() -> AnyView {
| `- note: calls to instance method 'eraseToAnyView()' from outside of its actor context are implicitly asynchronous
20 | return AnyView(self)
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Unfurling/UnfurledFlagGroup.swift:110:11: warning: call to main actor-isolated instance method 'eraseToAnyView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
108 | .font(.headline)
109 | }
110 | }.eraseToAnyView()
| `- warning: call to main actor-isolated instance method 'eraseToAnyView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
111 | }
112 |
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Utilities/AnyView.swift:19:10: note: calls to instance method 'eraseToAnyView()' from outside of its actor context are implicitly asynchronous
17 |
18 | extension View {
19 | func eraseToAnyView() -> AnyView {
| `- note: calls to instance method 'eraseToAnyView()' from outside of its actor context are implicitly asynchronous
20 | return AnyView(self)
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Unfurling/UnfurledFlagGroup.swift:89:27: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
87 |
88 | private var unfurledNavigationLink: AnyView {
89 | var destination = UnfurledFlagGroupView(group: self, manager: manager).eraseToAnyView()
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
90 |
91 | #if os(iOS) || os(visionOS)
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Unfurling/UnfurledFlagGroup.swift:89:27: warning: sending 'self.manager' risks causing data races; this is an error in the Swift 6 language mode
87 |
88 | private var unfurledNavigationLink: AnyView {
89 | var destination = UnfurledFlagGroupView(group: self, manager: manager).eraseToAnyView()
| |- warning: sending 'self.manager' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.manager' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
90 |
91 | #if os(iOS) || os(visionOS)
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Unfurling/UnfurledFlagGroup.swift:83:20: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
81 |
82 | case .section:
83 | return UnfurledFlagSectionView(group: self, manager: manager)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
84 | .eraseToAnyView()
85 | }
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Unfurling/UnfurledFlagGroup.swift:83:20: warning: sending 'self.manager' risks causing data races; this is an error in the Swift 6 language mode
81 |
82 | case .section:
83 | return UnfurledFlagSectionView(group: self, manager: manager)
| |- warning: sending 'self.manager' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.manager' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
84 | .eraseToAnyView()
85 | }
[40/62] Compiling Vexillographer UnfurledFlagInfo.swift
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Unfurling/UnfurledFlagGroup.swift:84:18: warning: call to main actor-isolated instance method 'eraseToAnyView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
82 | case .section:
83 | return UnfurledFlagSectionView(group: self, manager: manager)
84 | .eraseToAnyView()
| `- warning: call to main actor-isolated instance method 'eraseToAnyView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
85 | }
86 | }
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Utilities/AnyView.swift:19:10: note: calls to instance method 'eraseToAnyView()' from outside of its actor context are implicitly asynchronous
17 |
18 | extension View {
19 | func eraseToAnyView() -> AnyView {
| `- note: calls to instance method 'eraseToAnyView()' from outside of its actor context are implicitly asynchronous
20 | return AnyView(self)
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Unfurling/UnfurledFlagGroup.swift:83:20: warning: call to main actor-isolated initializer 'init(group:manager:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
81 |
82 | case .section:
83 | return UnfurledFlagSectionView(group: self, manager: manager)
| `- warning: call to main actor-isolated initializer 'init(group:manager:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
84 | .eraseToAnyView()
85 | }
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/FlagSectionView.swift:31:5: note: calls to initializer 'init(group:manager:)' from outside of its actor context are implicitly asynchronous
29 | // MARK: - Initialisation
30 |
31 | init(group: UnfurledFlagGroup<Group, Root>, manager: FlagValueManager<Root>) {
| |- note: calls to initializer 'init(group:manager:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
32 | self.group = group
33 | self.manager = manager
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Unfurling/UnfurledFlagGroup.swift:89:80: warning: call to main actor-isolated instance method 'eraseToAnyView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
87 |
88 | private var unfurledNavigationLink: AnyView {
89 | var destination = UnfurledFlagGroupView(group: self, manager: manager).eraseToAnyView()
| `- warning: call to main actor-isolated instance method 'eraseToAnyView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
90 |
91 | #if os(iOS) || os(visionOS)
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Utilities/AnyView.swift:19:10: note: calls to instance method 'eraseToAnyView()' from outside of its actor context are implicitly asynchronous
17 |
18 | extension View {
19 | func eraseToAnyView() -> AnyView {
| `- note: calls to instance method 'eraseToAnyView()' from outside of its actor context are implicitly asynchronous
20 | return AnyView(self)
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Unfurling/UnfurledFlagGroup.swift:89:27: warning: call to main actor-isolated initializer 'init(group:manager:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
87 |
88 | private var unfurledNavigationLink: AnyView {
89 | var destination = UnfurledFlagGroupView(group: self, manager: manager).eraseToAnyView()
| `- warning: call to main actor-isolated initializer 'init(group:manager:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
90 |
91 | #if os(iOS) || os(visionOS)
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/FlagGroupView.swift:31:5: note: calls to initializer 'init(group:manager:)' from outside of its actor context are implicitly asynchronous
29 | // MARK: - Initialisation
30 |
31 | init(group: UnfurledFlagGroup<Group, Root>, manager: FlagValueManager<Root>) {
| |- note: calls to initializer 'init(group:manager:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
32 | self.group = group
33 | self.manager = manager
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Unfurling/UnfurledFlagGroup.swift:101:14: warning: call to main actor-isolated instance method 'eraseToAnyView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
99 | destination = destination
100 | .navigationTitle(info.name)
101 | .eraseToAnyView()
| `- warning: call to main actor-isolated instance method 'eraseToAnyView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
102 |
103 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Utilities/AnyView.swift:19:10: note: calls to instance method 'eraseToAnyView()' from outside of its actor context are implicitly asynchronous
17 |
18 | extension View {
19 | func eraseToAnyView() -> AnyView {
| `- note: calls to instance method 'eraseToAnyView()' from outside of its actor context are implicitly asynchronous
20 | return AnyView(self)
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Unfurling/UnfurledFlagGroup.swift:110:11: warning: call to main actor-isolated instance method 'eraseToAnyView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
108 | .font(.headline)
109 | }
110 | }.eraseToAnyView()
| `- warning: call to main actor-isolated instance method 'eraseToAnyView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
111 | }
112 |
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Utilities/AnyView.swift:19:10: note: calls to instance method 'eraseToAnyView()' from outside of its actor context are implicitly asynchronous
17 |
18 | extension View {
19 | func eraseToAnyView() -> AnyView {
| `- note: calls to instance method 'eraseToAnyView()' from outside of its actor context are implicitly asynchronous
20 | return AnyView(self)
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Unfurling/UnfurledFlagGroup.swift:89:27: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
87 |
88 | private var unfurledNavigationLink: AnyView {
89 | var destination = UnfurledFlagGroupView(group: self, manager: manager).eraseToAnyView()
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
90 |
91 | #if os(iOS) || os(visionOS)
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Unfurling/UnfurledFlagGroup.swift:89:27: warning: sending 'self.manager' risks causing data races; this is an error in the Swift 6 language mode
87 |
88 | private var unfurledNavigationLink: AnyView {
89 | var destination = UnfurledFlagGroupView(group: self, manager: manager).eraseToAnyView()
| |- warning: sending 'self.manager' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.manager' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
90 |
91 | #if os(iOS) || os(visionOS)
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Unfurling/UnfurledFlagGroup.swift:83:20: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
81 |
82 | case .section:
83 | return UnfurledFlagSectionView(group: self, manager: manager)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
84 | .eraseToAnyView()
85 | }
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Unfurling/UnfurledFlagGroup.swift:83:20: warning: sending 'self.manager' risks causing data races; this is an error in the Swift 6 language mode
81 |
82 | case .section:
83 | return UnfurledFlagSectionView(group: self, manager: manager)
| |- warning: sending 'self.manager' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.manager' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
84 | .eraseToAnyView()
85 | }
[41/62] Compiling Vexillographer UnfurledFlagItem.swift
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Unfurling/UnfurledFlagGroup.swift:84:18: warning: call to main actor-isolated instance method 'eraseToAnyView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
82 | case .section:
83 | return UnfurledFlagSectionView(group: self, manager: manager)
84 | .eraseToAnyView()
| `- warning: call to main actor-isolated instance method 'eraseToAnyView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
85 | }
86 | }
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Utilities/AnyView.swift:19:10: note: calls to instance method 'eraseToAnyView()' from outside of its actor context are implicitly asynchronous
17 |
18 | extension View {
19 | func eraseToAnyView() -> AnyView {
| `- note: calls to instance method 'eraseToAnyView()' from outside of its actor context are implicitly asynchronous
20 | return AnyView(self)
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Unfurling/UnfurledFlagGroup.swift:83:20: warning: call to main actor-isolated initializer 'init(group:manager:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
81 |
82 | case .section:
83 | return UnfurledFlagSectionView(group: self, manager: manager)
| `- warning: call to main actor-isolated initializer 'init(group:manager:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
84 | .eraseToAnyView()
85 | }
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/FlagSectionView.swift:31:5: note: calls to initializer 'init(group:manager:)' from outside of its actor context are implicitly asynchronous
29 | // MARK: - Initialisation
30 |
31 | init(group: UnfurledFlagGroup<Group, Root>, manager: FlagValueManager<Root>) {
| |- note: calls to initializer 'init(group:manager:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
32 | self.group = group
33 | self.manager = manager
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Unfurling/UnfurledFlagGroup.swift:89:80: warning: call to main actor-isolated instance method 'eraseToAnyView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
87 |
88 | private var unfurledNavigationLink: AnyView {
89 | var destination = UnfurledFlagGroupView(group: self, manager: manager).eraseToAnyView()
| `- warning: call to main actor-isolated instance method 'eraseToAnyView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
90 |
91 | #if os(iOS) || os(visionOS)
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Utilities/AnyView.swift:19:10: note: calls to instance method 'eraseToAnyView()' from outside of its actor context are implicitly asynchronous
17 |
18 | extension View {
19 | func eraseToAnyView() -> AnyView {
| `- note: calls to instance method 'eraseToAnyView()' from outside of its actor context are implicitly asynchronous
20 | return AnyView(self)
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Unfurling/UnfurledFlagGroup.swift:89:27: warning: call to main actor-isolated initializer 'init(group:manager:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
87 |
88 | private var unfurledNavigationLink: AnyView {
89 | var destination = UnfurledFlagGroupView(group: self, manager: manager).eraseToAnyView()
| `- warning: call to main actor-isolated initializer 'init(group:manager:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
90 |
91 | #if os(iOS) || os(visionOS)
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/FlagGroupView.swift:31:5: note: calls to initializer 'init(group:manager:)' from outside of its actor context are implicitly asynchronous
29 | // MARK: - Initialisation
30 |
31 | init(group: UnfurledFlagGroup<Group, Root>, manager: FlagValueManager<Root>) {
| |- note: calls to initializer 'init(group:manager:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
32 | self.group = group
33 | self.manager = manager
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Unfurling/UnfurledFlagGroup.swift:101:14: warning: call to main actor-isolated instance method 'eraseToAnyView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
99 | destination = destination
100 | .navigationTitle(info.name)
101 | .eraseToAnyView()
| `- warning: call to main actor-isolated instance method 'eraseToAnyView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
102 |
103 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Utilities/AnyView.swift:19:10: note: calls to instance method 'eraseToAnyView()' from outside of its actor context are implicitly asynchronous
17 |
18 | extension View {
19 | func eraseToAnyView() -> AnyView {
| `- note: calls to instance method 'eraseToAnyView()' from outside of its actor context are implicitly asynchronous
20 | return AnyView(self)
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Unfurling/UnfurledFlagGroup.swift:110:11: warning: call to main actor-isolated instance method 'eraseToAnyView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
108 | .font(.headline)
109 | }
110 | }.eraseToAnyView()
| `- warning: call to main actor-isolated instance method 'eraseToAnyView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
111 | }
112 |
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Utilities/AnyView.swift:19:10: note: calls to instance method 'eraseToAnyView()' from outside of its actor context are implicitly asynchronous
17 |
18 | extension View {
19 | func eraseToAnyView() -> AnyView {
| `- note: calls to instance method 'eraseToAnyView()' from outside of its actor context are implicitly asynchronous
20 | return AnyView(self)
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Unfurling/UnfurledFlagGroup.swift:89:27: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
87 |
88 | private var unfurledNavigationLink: AnyView {
89 | var destination = UnfurledFlagGroupView(group: self, manager: manager).eraseToAnyView()
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
90 |
91 | #if os(iOS) || os(visionOS)
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Unfurling/UnfurledFlagGroup.swift:89:27: warning: sending 'self.manager' risks causing data races; this is an error in the Swift 6 language mode
87 |
88 | private var unfurledNavigationLink: AnyView {
89 | var destination = UnfurledFlagGroupView(group: self, manager: manager).eraseToAnyView()
| |- warning: sending 'self.manager' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.manager' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
90 |
91 | #if os(iOS) || os(visionOS)
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Unfurling/UnfurledFlagGroup.swift:83:20: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
81 |
82 | case .section:
83 | return UnfurledFlagSectionView(group: self, manager: manager)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
84 | .eraseToAnyView()
85 | }
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Unfurling/UnfurledFlagGroup.swift:83:20: warning: sending 'self.manager' risks causing data races; this is an error in the Swift 6 language mode
81 |
82 | case .section:
83 | return UnfurledFlagSectionView(group: self, manager: manager)
| |- warning: sending 'self.manager' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.manager' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
84 | .eraseToAnyView()
85 | }
[42/62] Compiling Vexillographer OptionalTransformer.swift
[43/62] Compiling Vexillographer PassthroughTransformer.swift
[44/62] Compiling Vexillographer CopyButton.swift
[45/62] Compiling Vexillographer FlagView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Unfurling/UnfurledFlag.swift:64:24: warning: call to main actor-isolated initializer 'init(flag:manager:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
62 |
63 | var unfurledView: AnyView {
64 | return AnyView(UnfurledFlagView(flag: self, manager: manager))
| `- warning: call to main actor-isolated initializer 'init(flag:manager:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
65 | }
66 |
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/FlagView.swift:34:5: note: calls to initializer 'init(flag:manager:)' from outside of its actor context are implicitly asynchronous
32 | // MARK: - Initialisation
33 |
34 | init(flag: UnfurledFlag<Value, RootGroup>, manager: FlagValueManager<RootGroup>) {
| |- note: calls to initializer 'init(flag:manager:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
35 | self.flag = flag
36 | self.manager = manager
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Unfurling/UnfurledFlag.swift:64:24: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
62 |
63 | var unfurledView: AnyView {
64 | return AnyView(UnfurledFlagView(flag: self, manager: manager))
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
65 | }
66 |
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Unfurling/UnfurledFlag.swift:64:24: warning: sending 'self.manager' risks causing data races; this is an error in the Swift 6 language mode
62 |
63 | var unfurledView: AnyView {
64 | return AnyView(UnfurledFlagView(flag: self, manager: manager))
| |- warning: sending 'self.manager' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.manager' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
65 | }
66 |
[46/62] Compiling Vexillographer Unfurlable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Unfurling/UnfurledFlag.swift:64:24: warning: call to main actor-isolated initializer 'init(flag:manager:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
62 |
63 | var unfurledView: AnyView {
64 | return AnyView(UnfurledFlagView(flag: self, manager: manager))
| `- warning: call to main actor-isolated initializer 'init(flag:manager:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
65 | }
66 |
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/FlagView.swift:34:5: note: calls to initializer 'init(flag:manager:)' from outside of its actor context are implicitly asynchronous
32 | // MARK: - Initialisation
33 |
34 | init(flag: UnfurledFlag<Value, RootGroup>, manager: FlagValueManager<RootGroup>) {
| |- note: calls to initializer 'init(flag:manager:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
35 | self.flag = flag
36 | self.manager = manager
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Unfurling/UnfurledFlag.swift:64:24: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
62 |
63 | var unfurledView: AnyView {
64 | return AnyView(UnfurledFlagView(flag: self, manager: manager))
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
65 | }
66 |
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Unfurling/UnfurledFlag.swift:64:24: warning: sending 'self.manager' risks causing data races; this is an error in the Swift 6 language mode
62 |
63 | var unfurledView: AnyView {
64 | return AnyView(UnfurledFlagView(flag: self, manager: manager))
| |- warning: sending 'self.manager' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.manager' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
65 | }
66 |
[47/62] Compiling Vexillographer UnfurledFlag.swift
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Unfurling/UnfurledFlag.swift:64:24: warning: call to main actor-isolated initializer 'init(flag:manager:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
62 |
63 | var unfurledView: AnyView {
64 | return AnyView(UnfurledFlagView(flag: self, manager: manager))
| `- warning: call to main actor-isolated initializer 'init(flag:manager:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
65 | }
66 |
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/FlagView.swift:34:5: note: calls to initializer 'init(flag:manager:)' from outside of its actor context are implicitly asynchronous
32 | // MARK: - Initialisation
33 |
34 | init(flag: UnfurledFlag<Value, RootGroup>, manager: FlagValueManager<RootGroup>) {
| |- note: calls to initializer 'init(flag:manager:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
35 | self.flag = flag
36 | self.manager = manager
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Unfurling/UnfurledFlag.swift:64:24: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
62 |
63 | var unfurledView: AnyView {
64 | return AnyView(UnfurledFlagView(flag: self, manager: manager))
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
65 | }
66 |
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Unfurling/UnfurledFlag.swift:64:24: warning: sending 'self.manager' risks causing data races; this is an error in the Swift 6 language mode
62 |
63 | var unfurledView: AnyView {
64 | return AnyView(UnfurledFlagView(flag: self, manager: manager))
| |- warning: sending 'self.manager' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.manager' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
65 | }
66 |
[48/62] Compiling Vexillographer FlagGroupView.swift
[49/62] Compiling Vexillographer FlagSectionView.swift
[50/62] Compiling Vexillographer FlagValueManager.swift
[51/62] Compiling Vexillographer DetailButton.swift
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/DetailButton.swift:85:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
83 | typealias Value = CGSize
84 |
85 | static var defaultValue: Value = .zero
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 |
87 | static func reduce(value: inout Value, nextValue: () -> Value) {
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Flag Value Controls/BooleanFlagControl.swift:71:18: warning: generic parameter 'RootGroup' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
69 | @available(OSX 11.0, iOS 13.0, watchOS 7.0, tvOS 13.0, *)
70 | extension UnfurledFlag: BooleanEditableFlag where Value.BoxedValueType == Bool {
71 | func control<RootGroup>(label: String, manager: FlagValueManager<RootGroup>, showDetail: Binding<Bool>) -> AnyView where RootGroup: FlagContainer {
| `- warning: generic parameter 'RootGroup' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
72 | return BooleanFlagControl(
73 | label: label,
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Unfurling/UnfurledFlag.swift:21:28: note: 'RootGroup' previously declared here
19 |
20 | @available(OSX 11.0, iOS 13.0, watchOS 7.0, tvOS 13.0, *)
21 | struct UnfurledFlag<Value, RootGroup>: UnfurledFlagItem, Identifiable where Value: FlagValue, RootGroup: FlagContainer {
| `- note: 'RootGroup' previously declared here
22 |
23 | // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Flag Value Controls/BooleanFlagControl.swift:99:18: warning: generic parameter 'RootGroup' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
97 | @available(OSX 11.0, iOS 13.0, watchOS 7.0, tvOS 13.0, *)
98 | extension UnfurledFlag: OptionalBooleanEditableFlag where Value: FlagValue, Value.BoxedValueType: OptionalFlagValue, Value.BoxedValueType.WrappedFlagValue == Bool {
99 | func control<RootGroup>(label: String, manager: FlagValueManager<RootGroup>, showDetail: Binding<Bool>) -> AnyView where RootGroup: FlagContainer {
| `- warning: generic parameter 'RootGroup' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
100 | return BooleanFlagControl(
101 | label: label,
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Unfurling/UnfurledFlag.swift:21:28: note: 'RootGroup' previously declared here
19 |
20 | @available(OSX 11.0, iOS 13.0, watchOS 7.0, tvOS 13.0, *)
21 | struct UnfurledFlag<Value, RootGroup>: UnfurledFlagItem, Identifiable where Value: FlagValue, RootGroup: FlagContainer {
| `- note: 'RootGroup' previously declared here
22 |
23 | // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Flag Value Controls/BooleanFlagControl.swift:84:10: warning: call to main actor-isolated instance method 'eraseToAnyView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
69 | @available(OSX 11.0, iOS 13.0, watchOS 7.0, tvOS 13.0, *)
70 | extension UnfurledFlag: BooleanEditableFlag where Value.BoxedValueType == Bool {
71 | func control<RootGroup>(label: String, manager: FlagValueManager<RootGroup>, showDetail: Binding<Bool>) -> AnyView where RootGroup: FlagContainer {
| `- note: add '@MainActor' to make instance method 'control(label:manager:showDetail:)' part of global actor 'MainActor'
72 | return BooleanFlagControl(
73 | label: label,
:
82 | showDetail: showDetail
83 | )
84 | .eraseToAnyView()
| `- warning: call to main actor-isolated instance method 'eraseToAnyView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
85 | }
86 | }
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Utilities/AnyView.swift:19:10: note: calls to instance method 'eraseToAnyView()' from outside of its actor context are implicitly asynchronous
17 |
18 | extension View {
19 | func eraseToAnyView() -> AnyView {
| `- note: calls to instance method 'eraseToAnyView()' from outside of its actor context are implicitly asynchronous
20 | return AnyView(self)
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Flag Value Controls/BooleanFlagControl.swift:112:10: warning: call to main actor-isolated instance method 'eraseToAnyView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
97 | @available(OSX 11.0, iOS 13.0, watchOS 7.0, tvOS 13.0, *)
98 | extension UnfurledFlag: OptionalBooleanEditableFlag where Value: FlagValue, Value.BoxedValueType: OptionalFlagValue, Value.BoxedValueType.WrappedFlagValue == Bool {
99 | func control<RootGroup>(label: String, manager: FlagValueManager<RootGroup>, showDetail: Binding<Bool>) -> AnyView where RootGroup: FlagContainer {
| `- note: add '@MainActor' to make instance method 'control(label:manager:showDetail:)' part of global actor 'MainActor'
100 | return BooleanFlagControl(
101 | label: label,
:
110 | showDetail: showDetail
111 | )
112 | .eraseToAnyView()
| `- warning: call to main actor-isolated instance method 'eraseToAnyView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
113 | }
114 | }
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Utilities/AnyView.swift:19:10: note: calls to instance method 'eraseToAnyView()' from outside of its actor context are implicitly asynchronous
17 |
18 | extension View {
19 | func eraseToAnyView() -> AnyView {
| `- note: calls to instance method 'eraseToAnyView()' from outside of its actor context are implicitly asynchronous
20 | return AnyView(self)
21 | }
[52/62] Compiling Vexillographer NSApplication+Sidebar.swift
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/DetailButton.swift:85:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
83 | typealias Value = CGSize
84 |
85 | static var defaultValue: Value = .zero
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 |
87 | static func reduce(value: inout Value, nextValue: () -> Value) {
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Flag Value Controls/BooleanFlagControl.swift:71:18: warning: generic parameter 'RootGroup' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
69 | @available(OSX 11.0, iOS 13.0, watchOS 7.0, tvOS 13.0, *)
70 | extension UnfurledFlag: BooleanEditableFlag where Value.BoxedValueType == Bool {
71 | func control<RootGroup>(label: String, manager: FlagValueManager<RootGroup>, showDetail: Binding<Bool>) -> AnyView where RootGroup: FlagContainer {
| `- warning: generic parameter 'RootGroup' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
72 | return BooleanFlagControl(
73 | label: label,
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Unfurling/UnfurledFlag.swift:21:28: note: 'RootGroup' previously declared here
19 |
20 | @available(OSX 11.0, iOS 13.0, watchOS 7.0, tvOS 13.0, *)
21 | struct UnfurledFlag<Value, RootGroup>: UnfurledFlagItem, Identifiable where Value: FlagValue, RootGroup: FlagContainer {
| `- note: 'RootGroup' previously declared here
22 |
23 | // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Flag Value Controls/BooleanFlagControl.swift:99:18: warning: generic parameter 'RootGroup' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
97 | @available(OSX 11.0, iOS 13.0, watchOS 7.0, tvOS 13.0, *)
98 | extension UnfurledFlag: OptionalBooleanEditableFlag where Value: FlagValue, Value.BoxedValueType: OptionalFlagValue, Value.BoxedValueType.WrappedFlagValue == Bool {
99 | func control<RootGroup>(label: String, manager: FlagValueManager<RootGroup>, showDetail: Binding<Bool>) -> AnyView where RootGroup: FlagContainer {
| `- warning: generic parameter 'RootGroup' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
100 | return BooleanFlagControl(
101 | label: label,
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Unfurling/UnfurledFlag.swift:21:28: note: 'RootGroup' previously declared here
19 |
20 | @available(OSX 11.0, iOS 13.0, watchOS 7.0, tvOS 13.0, *)
21 | struct UnfurledFlag<Value, RootGroup>: UnfurledFlagItem, Identifiable where Value: FlagValue, RootGroup: FlagContainer {
| `- note: 'RootGroup' previously declared here
22 |
23 | // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Flag Value Controls/BooleanFlagControl.swift:84:10: warning: call to main actor-isolated instance method 'eraseToAnyView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
69 | @available(OSX 11.0, iOS 13.0, watchOS 7.0, tvOS 13.0, *)
70 | extension UnfurledFlag: BooleanEditableFlag where Value.BoxedValueType == Bool {
71 | func control<RootGroup>(label: String, manager: FlagValueManager<RootGroup>, showDetail: Binding<Bool>) -> AnyView where RootGroup: FlagContainer {
| `- note: add '@MainActor' to make instance method 'control(label:manager:showDetail:)' part of global actor 'MainActor'
72 | return BooleanFlagControl(
73 | label: label,
:
82 | showDetail: showDetail
83 | )
84 | .eraseToAnyView()
| `- warning: call to main actor-isolated instance method 'eraseToAnyView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
85 | }
86 | }
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Utilities/AnyView.swift:19:10: note: calls to instance method 'eraseToAnyView()' from outside of its actor context are implicitly asynchronous
17 |
18 | extension View {
19 | func eraseToAnyView() -> AnyView {
| `- note: calls to instance method 'eraseToAnyView()' from outside of its actor context are implicitly asynchronous
20 | return AnyView(self)
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Flag Value Controls/BooleanFlagControl.swift:112:10: warning: call to main actor-isolated instance method 'eraseToAnyView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
97 | @available(OSX 11.0, iOS 13.0, watchOS 7.0, tvOS 13.0, *)
98 | extension UnfurledFlag: OptionalBooleanEditableFlag where Value: FlagValue, Value.BoxedValueType: OptionalFlagValue, Value.BoxedValueType.WrappedFlagValue == Bool {
99 | func control<RootGroup>(label: String, manager: FlagValueManager<RootGroup>, showDetail: Binding<Bool>) -> AnyView where RootGroup: FlagContainer {
| `- note: add '@MainActor' to make instance method 'control(label:manager:showDetail:)' part of global actor 'MainActor'
100 | return BooleanFlagControl(
101 | label: label,
:
110 | showDetail: showDetail
111 | )
112 | .eraseToAnyView()
| `- warning: call to main actor-isolated instance method 'eraseToAnyView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
113 | }
114 | }
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Utilities/AnyView.swift:19:10: note: calls to instance method 'eraseToAnyView()' from outside of its actor context are implicitly asynchronous
17 |
18 | extension View {
19 | func eraseToAnyView() -> AnyView {
| `- note: calls to instance method 'eraseToAnyView()' from outside of its actor context are implicitly asynchronous
20 | return AnyView(self)
21 | }
[53/62] Compiling Vexillographer BooleanFlagControl.swift
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/DetailButton.swift:85:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
83 | typealias Value = CGSize
84 |
85 | static var defaultValue: Value = .zero
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 |
87 | static func reduce(value: inout Value, nextValue: () -> Value) {
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Flag Value Controls/BooleanFlagControl.swift:71:18: warning: generic parameter 'RootGroup' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
69 | @available(OSX 11.0, iOS 13.0, watchOS 7.0, tvOS 13.0, *)
70 | extension UnfurledFlag: BooleanEditableFlag where Value.BoxedValueType == Bool {
71 | func control<RootGroup>(label: String, manager: FlagValueManager<RootGroup>, showDetail: Binding<Bool>) -> AnyView where RootGroup: FlagContainer {
| `- warning: generic parameter 'RootGroup' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
72 | return BooleanFlagControl(
73 | label: label,
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Unfurling/UnfurledFlag.swift:21:28: note: 'RootGroup' previously declared here
19 |
20 | @available(OSX 11.0, iOS 13.0, watchOS 7.0, tvOS 13.0, *)
21 | struct UnfurledFlag<Value, RootGroup>: UnfurledFlagItem, Identifiable where Value: FlagValue, RootGroup: FlagContainer {
| `- note: 'RootGroup' previously declared here
22 |
23 | // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Flag Value Controls/BooleanFlagControl.swift:99:18: warning: generic parameter 'RootGroup' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
97 | @available(OSX 11.0, iOS 13.0, watchOS 7.0, tvOS 13.0, *)
98 | extension UnfurledFlag: OptionalBooleanEditableFlag where Value: FlagValue, Value.BoxedValueType: OptionalFlagValue, Value.BoxedValueType.WrappedFlagValue == Bool {
99 | func control<RootGroup>(label: String, manager: FlagValueManager<RootGroup>, showDetail: Binding<Bool>) -> AnyView where RootGroup: FlagContainer {
| `- warning: generic parameter 'RootGroup' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
100 | return BooleanFlagControl(
101 | label: label,
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Unfurling/UnfurledFlag.swift:21:28: note: 'RootGroup' previously declared here
19 |
20 | @available(OSX 11.0, iOS 13.0, watchOS 7.0, tvOS 13.0, *)
21 | struct UnfurledFlag<Value, RootGroup>: UnfurledFlagItem, Identifiable where Value: FlagValue, RootGroup: FlagContainer {
| `- note: 'RootGroup' previously declared here
22 |
23 | // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Flag Value Controls/BooleanFlagControl.swift:84:10: warning: call to main actor-isolated instance method 'eraseToAnyView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
69 | @available(OSX 11.0, iOS 13.0, watchOS 7.0, tvOS 13.0, *)
70 | extension UnfurledFlag: BooleanEditableFlag where Value.BoxedValueType == Bool {
71 | func control<RootGroup>(label: String, manager: FlagValueManager<RootGroup>, showDetail: Binding<Bool>) -> AnyView where RootGroup: FlagContainer {
| `- note: add '@MainActor' to make instance method 'control(label:manager:showDetail:)' part of global actor 'MainActor'
72 | return BooleanFlagControl(
73 | label: label,
:
82 | showDetail: showDetail
83 | )
84 | .eraseToAnyView()
| `- warning: call to main actor-isolated instance method 'eraseToAnyView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
85 | }
86 | }
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Utilities/AnyView.swift:19:10: note: calls to instance method 'eraseToAnyView()' from outside of its actor context are implicitly asynchronous
17 |
18 | extension View {
19 | func eraseToAnyView() -> AnyView {
| `- note: calls to instance method 'eraseToAnyView()' from outside of its actor context are implicitly asynchronous
20 | return AnyView(self)
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Flag Value Controls/BooleanFlagControl.swift:112:10: warning: call to main actor-isolated instance method 'eraseToAnyView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
97 | @available(OSX 11.0, iOS 13.0, watchOS 7.0, tvOS 13.0, *)
98 | extension UnfurledFlag: OptionalBooleanEditableFlag where Value: FlagValue, Value.BoxedValueType: OptionalFlagValue, Value.BoxedValueType.WrappedFlagValue == Bool {
99 | func control<RootGroup>(label: String, manager: FlagValueManager<RootGroup>, showDetail: Binding<Bool>) -> AnyView where RootGroup: FlagContainer {
| `- note: add '@MainActor' to make instance method 'control(label:manager:showDetail:)' part of global actor 'MainActor'
100 | return BooleanFlagControl(
101 | label: label,
:
110 | showDetail: showDetail
111 | )
112 | .eraseToAnyView()
| `- warning: call to main actor-isolated instance method 'eraseToAnyView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
113 | }
114 | }
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Utilities/AnyView.swift:19:10: note: calls to instance method 'eraseToAnyView()' from outside of its actor context are implicitly asynchronous
17 |
18 | extension View {
19 | func eraseToAnyView() -> AnyView {
| `- note: calls to instance method 'eraseToAnyView()' from outside of its actor context are implicitly asynchronous
20 | return AnyView(self)
21 | }
[54/62] Compiling Vexillographer FlagDetailSection.swift
[55/62] Compiling Vexillographer FlagDetailView.swift
[56/62] Compiling Vexillographer FlagDisplayValueView.swift
[57/62] Compiling Vexillographer CaseIterableFlagControl.swift
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Flag Value Controls/CaseIterableFlagControl.swift:163:18: warning: generic parameter 'RootGroup' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
161 | Value: RawRepresentable, Value.RawValue: FlagValue, Value: Hashable
162 | {
163 | func control<RootGroup>(label: String, manager: FlagValueManager<RootGroup>, showDetail: Binding<Bool>) -> AnyView where RootGroup: FlagContainer {
| `- warning: generic parameter 'RootGroup' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
164 | return CaseIterableFlagControl<Value>(
165 | label: label,
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Unfurling/UnfurledFlag.swift:21:28: note: 'RootGroup' previously declared here
19 |
20 | @available(OSX 11.0, iOS 13.0, watchOS 7.0, tvOS 13.0, *)
21 | struct UnfurledFlag<Value, RootGroup>: UnfurledFlagItem, Identifiable where Value: FlagValue, RootGroup: FlagContainer {
| `- note: 'RootGroup' previously declared here
22 |
23 | // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Flag Value Controls/CaseIterableFlagControl.swift:176:10: warning: call to main actor-isolated instance method 'eraseToAnyView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
161 | Value: RawRepresentable, Value.RawValue: FlagValue, Value: Hashable
162 | {
163 | func control<RootGroup>(label: String, manager: FlagValueManager<RootGroup>, showDetail: Binding<Bool>) -> AnyView where RootGroup: FlagContainer {
| `- note: add '@MainActor' to make instance method 'control(label:manager:showDetail:)' part of global actor 'MainActor'
164 | return CaseIterableFlagControl<Value>(
165 | label: label,
:
174 | showDetail: showDetail
175 | )
176 | .eraseToAnyView()
| `- warning: call to main actor-isolated instance method 'eraseToAnyView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
177 | }
178 | }
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Utilities/AnyView.swift:19:10: note: calls to instance method 'eraseToAnyView()' from outside of its actor context are implicitly asynchronous
17 |
18 | extension View {
19 | func eraseToAnyView() -> AnyView {
| `- note: calls to instance method 'eraseToAnyView()' from outside of its actor context are implicitly asynchronous
20 | return AnyView(self)
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Flag Value Controls/CaseIterableFlagControl.swift:164:45: warning: call to main actor-isolated initializer 'init(label:value:hasChanges:isEditable:showDetail:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
22 |
23 | @available(OSX 11.0, iOS 13.0, watchOS 7.0, tvOS 13.0, *)
24 | struct CaseIterableFlagControl<Value>: View where Value: FlagValue, Value: CaseIterable, Value: Hashable, Value.AllCases: RandomAccessCollection {
| |- note: calls to initializer 'init(label:value:hasChanges:isEditable:showDetail:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
25 |
26 | // MARK: - Properties
:
161 | Value: RawRepresentable, Value.RawValue: FlagValue, Value: Hashable
162 | {
163 | func control<RootGroup>(label: String, manager: FlagValueManager<RootGroup>, showDetail: Binding<Bool>) -> AnyView where RootGroup: FlagContainer {
| `- note: add '@MainActor' to make instance method 'control(label:manager:showDetail:)' part of global actor 'MainActor'
164 | return CaseIterableFlagControl<Value>(
| `- warning: call to main actor-isolated initializer 'init(label:value:hasChanges:isEditable:showDetail:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
165 | label: label,
166 | value: Binding(
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Flag Value Controls/OptionalCaseIterableFlagControl.swift:160:18: warning: generic parameter 'RootGroup' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
158 | Value.WrappedFlagValue.RawValue: FlagValue, Value.WrappedFlagValue: Hashable
159 | {
160 | func control<RootGroup>(label: String, manager: FlagValueManager<RootGroup>, showDetail: Binding<Bool>) -> AnyView where RootGroup: FlagContainer {
| `- warning: generic parameter 'RootGroup' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
161 | let key = info.key
162 | let flag = self.flag
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Unfurling/UnfurledFlag.swift:21:28: note: 'RootGroup' previously declared here
19 |
20 | @available(OSX 11.0, iOS 13.0, watchOS 7.0, tvOS 13.0, *)
21 | struct UnfurledFlag<Value, RootGroup>: UnfurledFlagItem, Identifiable where Value: FlagValue, RootGroup: FlagContainer {
| `- note: 'RootGroup' previously declared here
22 |
23 | // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Flag Value Controls/OptionalCaseIterableFlagControl.swift:184:10: warning: call to main actor-isolated instance method 'eraseToAnyView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
158 | Value.WrappedFlagValue.RawValue: FlagValue, Value.WrappedFlagValue: Hashable
159 | {
160 | func control<RootGroup>(label: String, manager: FlagValueManager<RootGroup>, showDetail: Binding<Bool>) -> AnyView where RootGroup: FlagContainer {
| `- note: add '@MainActor' to make instance method 'control(label:manager:showDetail:)' part of global actor 'MainActor'
161 | let key = info.key
162 | let flag = self.flag
:
182 | showDetail: showDetail
183 | )
184 | .eraseToAnyView()
| `- warning: call to main actor-isolated instance method 'eraseToAnyView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
185 | }
186 | }
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Utilities/AnyView.swift:19:10: note: calls to instance method 'eraseToAnyView()' from outside of its actor context are implicitly asynchronous
17 |
18 | extension View {
19 | func eraseToAnyView() -> AnyView {
| `- note: calls to instance method 'eraseToAnyView()' from outside of its actor context are implicitly asynchronous
20 | return AnyView(self)
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Flag Value Controls/OptionalCaseIterableFlagControl.swift:164:53: warning: call to main actor-isolated initializer 'init(label:value:hasChanges:isEditable:showDetail:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
22 |
23 | @available(OSX 11.0, iOS 13.0, watchOS 7.0, tvOS 13.0, *)
24 | struct OptionalCaseIterableFlagControl<Value>: View
| |- note: calls to initializer 'init(label:value:hasChanges:isEditable:showDetail:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
25 | where Value: OptionalFlagValue, Value.WrappedFlagValue: CaseIterable,
26 | Value.WrappedFlagValue: Hashable, Value.WrappedFlagValue.AllCases: RandomAccessCollection
:
158 | Value.WrappedFlagValue.RawValue: FlagValue, Value.WrappedFlagValue: Hashable
159 | {
160 | func control<RootGroup>(label: String, manager: FlagValueManager<RootGroup>, showDetail: Binding<Bool>) -> AnyView where RootGroup: FlagContainer {
| `- note: add '@MainActor' to make instance method 'control(label:manager:showDetail:)' part of global actor 'MainActor'
161 | let key = info.key
162 | let flag = self.flag
163 |
164 | return OptionalCaseIterableFlagControl<Value>(
| `- warning: call to main actor-isolated initializer 'init(label:value:hasChanges:isEditable:showDetail:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
165 | label: label,
166 | value: Binding(
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Flag Value Controls/OptionalCaseIterableFlagControl.swift:168:41: warning: capture of 'manager' with non-sendable type 'FlagValueManager<RootGroup>' in a '@Sendable' closure
166 | value: Binding(
167 | get: {
168 | let value: Value? = manager.flagValue(key: key)
| `- warning: capture of 'manager' with non-sendable type 'FlagValueManager<RootGroup>' in a '@Sendable' closure
169 | return value ?? flag.defaultValue
170 | },
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/FlagValueManager.swift:22:7: note: generic class 'FlagValueManager' does not conform to the 'Sendable' protocol
20 |
21 | @available(OSX 11.0, iOS 13.0, watchOS 7.0, tvOS 13.0, *)
22 | class FlagValueManager<RootGroup>: ObservableObject where RootGroup: FlagContainer {
| `- note: generic class 'FlagValueManager' does not conform to the 'Sendable' protocol
23 |
24 | // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Flag Value Controls/OptionalCaseIterableFlagControl.swift:169:37: warning: capture of 'flag' with non-sendable type 'Flag<Value>' in a '@Sendable' closure
167 | get: {
168 | let value: Value? = manager.flagValue(key: key)
169 | return value ?? flag.defaultValue
| `- warning: capture of 'flag' with non-sendable type 'Flag<Value>' in a '@Sendable' closure
170 | },
171 | set: { newValue in
/Users/admin/builder/spi-builder-workspace/Sources/Vexil/Flag.swift:35:15: note: generic struct 'Flag' does not conform to the 'Sendable' protocol
33 | ///
34 | @propertyWrapper
35 | public struct Flag<Value>: Decorated, Identifiable where Value: FlagValue {
| `- note: generic struct 'Flag' does not conform to the 'Sendable' protocol
36 |
37 | // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Flag Value Controls/OptionalCaseIterableFlagControl.swift:17:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Vexil'
15 |
16 | import SwiftUI
17 | import Vexil
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Vexil'
18 |
19 | // Optional Case Iterable Flags
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Flag Value Controls/OptionalCaseIterableFlagControl.swift:169:37: warning: implicit capture of 'flag' requires that 'Flag<Value>' conforms to 'Sendable'; this is an error in the Swift 6 language mode
167 | get: {
168 | let value: Value? = manager.flagValue(key: key)
169 | return value ?? flag.defaultValue
| `- warning: implicit capture of 'flag' requires that 'Flag<Value>' conforms to 'Sendable'; this is an error in the Swift 6 language mode
170 | },
171 | set: { newValue in
/Users/admin/builder/spi-builder-workspace/Sources/Vexil/Flag.swift:35:15: note: generic struct 'Flag' does not conform to the 'Sendable' protocol
33 | ///
34 | @propertyWrapper
35 | public struct Flag<Value>: Decorated, Identifiable where Value: FlagValue {
| `- note: generic struct 'Flag' does not conform to the 'Sendable' protocol
36 |
37 | // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Flag Value Controls/OptionalCaseIterableFlagControl.swift:173:29: warning: capture of 'manager' with non-sendable type 'FlagValueManager<RootGroup>' in a '@Sendable' closure
171 | set: { newValue in
172 | do {
173 | try manager.setFlagValue(newValue, key: key)
| `- warning: capture of 'manager' with non-sendable type 'FlagValueManager<RootGroup>' in a '@Sendable' closure
174 |
175 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/FlagValueManager.swift:22:7: note: generic class 'FlagValueManager' does not conform to the 'Sendable' protocol
20 |
21 | @available(OSX 11.0, iOS 13.0, watchOS 7.0, tvOS 13.0, *)
22 | class FlagValueManager<RootGroup>: ObservableObject where RootGroup: FlagContainer {
| `- note: generic class 'FlagValueManager' does not conform to the 'Sendable' protocol
23 |
24 | // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Flag Value Controls/StringFlagControl.swift:66:18: warning: generic parameter 'RootGroup' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
64 | extension UnfurledFlag: StringEditableFlag where Value.BoxedValueType: LosslessStringConvertible {
65 |
66 | func control<RootGroup>(label: String, manager: FlagValueManager<RootGroup>, showDetail: Binding<Bool>) -> AnyView where RootGroup: FlagContainer {
| `- warning: generic parameter 'RootGroup' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
67 | return StringFlagControl(
68 | label: label,
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Unfurling/UnfurledFlag.swift:21:28: note: 'RootGroup' previously declared here
19 |
20 | @available(OSX 11.0, iOS 13.0, watchOS 7.0, tvOS 13.0, *)
21 | struct UnfurledFlag<Value, RootGroup>: UnfurledFlagItem, Identifiable where Value: FlagValue, RootGroup: FlagContainer {
| `- note: 'RootGroup' previously declared here
22 |
23 | // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Flag Value Controls/StringFlagControl.swift:98:18: warning: generic parameter 'RootGroup' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
96 | {
97 |
98 | func control<RootGroup>(label: String, manager: FlagValueManager<RootGroup>, showDetail: Binding<Bool>) -> AnyView where RootGroup: FlagContainer {
| `- warning: generic parameter 'RootGroup' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
99 | return StringFlagControl(
100 | label: label,
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Unfurling/UnfurledFlag.swift:21:28: note: 'RootGroup' previously declared here
19 |
20 | @available(OSX 11.0, iOS 13.0, watchOS 7.0, tvOS 13.0, *)
21 | struct UnfurledFlag<Value, RootGroup>: UnfurledFlagItem, Identifiable where Value: FlagValue, RootGroup: FlagContainer {
| `- note: 'RootGroup' previously declared here
22 |
23 | // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Flag Value Controls/StringFlagControl.swift:80:10: warning: call to main actor-isolated instance method 'eraseToAnyView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
64 | extension UnfurledFlag: StringEditableFlag where Value.BoxedValueType: LosslessStringConvertible {
65 |
66 | func control<RootGroup>(label: String, manager: FlagValueManager<RootGroup>, showDetail: Binding<Bool>) -> AnyView where RootGroup: FlagContainer {
| `- note: add '@MainActor' to make instance method 'control(label:manager:showDetail:)' part of global actor 'MainActor'
67 | return StringFlagControl(
68 | label: label,
:
78 | )
79 | .flagValueKeyboard(type: Value.self)
80 | .eraseToAnyView()
| `- warning: call to main actor-isolated instance method 'eraseToAnyView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
81 | }
82 |
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Utilities/AnyView.swift:19:10: note: calls to instance method 'eraseToAnyView()' from outside of its actor context are implicitly asynchronous
17 |
18 | extension View {
19 | func eraseToAnyView() -> AnyView {
| `- note: calls to instance method 'eraseToAnyView()' from outside of its actor context are implicitly asynchronous
20 | return AnyView(self)
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Flag Value Controls/StringFlagControl.swift:79:10: warning: call to main actor-isolated instance method 'flagValueKeyboard(type:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
64 | extension UnfurledFlag: StringEditableFlag where Value.BoxedValueType: LosslessStringConvertible {
65 |
66 | func control<RootGroup>(label: String, manager: FlagValueManager<RootGroup>, showDetail: Binding<Bool>) -> AnyView where RootGroup: FlagContainer {
| `- note: add '@MainActor' to make instance method 'control(label:manager:showDetail:)' part of global actor 'MainActor'
67 | return StringFlagControl(
68 | label: label,
:
77 | showDetail: showDetail
78 | )
79 | .flagValueKeyboard(type: Value.self)
| `- warning: call to main actor-isolated instance method 'flagValueKeyboard(type:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
80 | .eraseToAnyView()
81 | }
:
156 |
157 | private extension View {
158 | func flagValueKeyboard<Value>(type: Value.Type) -> some View where Value: FlagValue {
| `- note: calls to instance method 'flagValueKeyboard(type:)' from outside of its actor context are implicitly asynchronous
159 | return self
160 | }
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Flag Value Controls/StringFlagControl.swift:112:10: warning: call to main actor-isolated instance method 'eraseToAnyView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
96 | {
97 |
98 | func control<RootGroup>(label: String, manager: FlagValueManager<RootGroup>, showDetail: Binding<Bool>) -> AnyView where RootGroup: FlagContainer {
| `- note: add '@MainActor' to make instance method 'control(label:manager:showDetail:)' part of global actor 'MainActor'
99 | return StringFlagControl(
100 | label: label,
:
110 | )
111 | .flagValueKeyboard(type: Value.self)
112 | .eraseToAnyView()
| `- warning: call to main actor-isolated instance method 'eraseToAnyView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
113 | }
114 |
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Utilities/AnyView.swift:19:10: note: calls to instance method 'eraseToAnyView()' from outside of its actor context are implicitly asynchronous
17 |
18 | extension View {
19 | func eraseToAnyView() -> AnyView {
| `- note: calls to instance method 'eraseToAnyView()' from outside of its actor context are implicitly asynchronous
20 | return AnyView(self)
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Flag Value Controls/StringFlagControl.swift:111:10: warning: call to main actor-isolated instance method 'flagValueKeyboard(type:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
96 | {
97 |
98 | func control<RootGroup>(label: String, manager: FlagValueManager<RootGroup>, showDetail: Binding<Bool>) -> AnyView where RootGroup: FlagContainer {
| `- note: add '@MainActor' to make instance method 'control(label:manager:showDetail:)' part of global actor 'MainActor'
99 | return StringFlagControl(
100 | label: label,
:
109 | showDetail: showDetail
110 | )
111 | .flagValueKeyboard(type: Value.self)
| `- warning: call to main actor-isolated instance method 'flagValueKeyboard(type:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
112 | .eraseToAnyView()
113 | }
:
156 |
157 | private extension View {
158 | func flagValueKeyboard<Value>(type: Value.Type) -> some View where Value: FlagValue {
| `- note: calls to instance method 'flagValueKeyboard(type:)' from outside of its actor context are implicitly asynchronous
159 | return self
160 | }
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Flag Value Controls/CaseIterableFlagControl.swift:164:45: warning: sending value of non-Sendable type 'Binding<Value>' risks causing data races; this is an error in the Swift 6 language mode
162 | {
163 | func control<RootGroup>(label: String, manager: FlagValueManager<RootGroup>, showDetail: Binding<Bool>) -> AnyView where RootGroup: FlagContainer {
164 | return CaseIterableFlagControl<Value>(
| |- warning: sending value of non-Sendable type 'Binding<Value>' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type 'Binding<Value>' to main actor-isolated initializer 'init(label:value:hasChanges:isEditable:showDetail:)' risks causing races in between task-isolated and main actor-isolated uses
165 | label: label,
166 | value: Binding(
[58/62] Compiling Vexillographer OptionalCaseIterableFlagControl.swift
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Flag Value Controls/CaseIterableFlagControl.swift:163:18: warning: generic parameter 'RootGroup' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
161 | Value: RawRepresentable, Value.RawValue: FlagValue, Value: Hashable
162 | {
163 | func control<RootGroup>(label: String, manager: FlagValueManager<RootGroup>, showDetail: Binding<Bool>) -> AnyView where RootGroup: FlagContainer {
| `- warning: generic parameter 'RootGroup' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
164 | return CaseIterableFlagControl<Value>(
165 | label: label,
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Unfurling/UnfurledFlag.swift:21:28: note: 'RootGroup' previously declared here
19 |
20 | @available(OSX 11.0, iOS 13.0, watchOS 7.0, tvOS 13.0, *)
21 | struct UnfurledFlag<Value, RootGroup>: UnfurledFlagItem, Identifiable where Value: FlagValue, RootGroup: FlagContainer {
| `- note: 'RootGroup' previously declared here
22 |
23 | // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Flag Value Controls/CaseIterableFlagControl.swift:176:10: warning: call to main actor-isolated instance method 'eraseToAnyView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
161 | Value: RawRepresentable, Value.RawValue: FlagValue, Value: Hashable
162 | {
163 | func control<RootGroup>(label: String, manager: FlagValueManager<RootGroup>, showDetail: Binding<Bool>) -> AnyView where RootGroup: FlagContainer {
| `- note: add '@MainActor' to make instance method 'control(label:manager:showDetail:)' part of global actor 'MainActor'
164 | return CaseIterableFlagControl<Value>(
165 | label: label,
:
174 | showDetail: showDetail
175 | )
176 | .eraseToAnyView()
| `- warning: call to main actor-isolated instance method 'eraseToAnyView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
177 | }
178 | }
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Utilities/AnyView.swift:19:10: note: calls to instance method 'eraseToAnyView()' from outside of its actor context are implicitly asynchronous
17 |
18 | extension View {
19 | func eraseToAnyView() -> AnyView {
| `- note: calls to instance method 'eraseToAnyView()' from outside of its actor context are implicitly asynchronous
20 | return AnyView(self)
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Flag Value Controls/CaseIterableFlagControl.swift:164:45: warning: call to main actor-isolated initializer 'init(label:value:hasChanges:isEditable:showDetail:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
22 |
23 | @available(OSX 11.0, iOS 13.0, watchOS 7.0, tvOS 13.0, *)
24 | struct CaseIterableFlagControl<Value>: View where Value: FlagValue, Value: CaseIterable, Value: Hashable, Value.AllCases: RandomAccessCollection {
| |- note: calls to initializer 'init(label:value:hasChanges:isEditable:showDetail:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
25 |
26 | // MARK: - Properties
:
161 | Value: RawRepresentable, Value.RawValue: FlagValue, Value: Hashable
162 | {
163 | func control<RootGroup>(label: String, manager: FlagValueManager<RootGroup>, showDetail: Binding<Bool>) -> AnyView where RootGroup: FlagContainer {
| `- note: add '@MainActor' to make instance method 'control(label:manager:showDetail:)' part of global actor 'MainActor'
164 | return CaseIterableFlagControl<Value>(
| `- warning: call to main actor-isolated initializer 'init(label:value:hasChanges:isEditable:showDetail:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
165 | label: label,
166 | value: Binding(
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Flag Value Controls/OptionalCaseIterableFlagControl.swift:160:18: warning: generic parameter 'RootGroup' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
158 | Value.WrappedFlagValue.RawValue: FlagValue, Value.WrappedFlagValue: Hashable
159 | {
160 | func control<RootGroup>(label: String, manager: FlagValueManager<RootGroup>, showDetail: Binding<Bool>) -> AnyView where RootGroup: FlagContainer {
| `- warning: generic parameter 'RootGroup' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
161 | let key = info.key
162 | let flag = self.flag
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Unfurling/UnfurledFlag.swift:21:28: note: 'RootGroup' previously declared here
19 |
20 | @available(OSX 11.0, iOS 13.0, watchOS 7.0, tvOS 13.0, *)
21 | struct UnfurledFlag<Value, RootGroup>: UnfurledFlagItem, Identifiable where Value: FlagValue, RootGroup: FlagContainer {
| `- note: 'RootGroup' previously declared here
22 |
23 | // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Flag Value Controls/OptionalCaseIterableFlagControl.swift:184:10: warning: call to main actor-isolated instance method 'eraseToAnyView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
158 | Value.WrappedFlagValue.RawValue: FlagValue, Value.WrappedFlagValue: Hashable
159 | {
160 | func control<RootGroup>(label: String, manager: FlagValueManager<RootGroup>, showDetail: Binding<Bool>) -> AnyView where RootGroup: FlagContainer {
| `- note: add '@MainActor' to make instance method 'control(label:manager:showDetail:)' part of global actor 'MainActor'
161 | let key = info.key
162 | let flag = self.flag
:
182 | showDetail: showDetail
183 | )
184 | .eraseToAnyView()
| `- warning: call to main actor-isolated instance method 'eraseToAnyView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
185 | }
186 | }
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Utilities/AnyView.swift:19:10: note: calls to instance method 'eraseToAnyView()' from outside of its actor context are implicitly asynchronous
17 |
18 | extension View {
19 | func eraseToAnyView() -> AnyView {
| `- note: calls to instance method 'eraseToAnyView()' from outside of its actor context are implicitly asynchronous
20 | return AnyView(self)
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Flag Value Controls/OptionalCaseIterableFlagControl.swift:164:53: warning: call to main actor-isolated initializer 'init(label:value:hasChanges:isEditable:showDetail:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
22 |
23 | @available(OSX 11.0, iOS 13.0, watchOS 7.0, tvOS 13.0, *)
24 | struct OptionalCaseIterableFlagControl<Value>: View
| |- note: calls to initializer 'init(label:value:hasChanges:isEditable:showDetail:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
25 | where Value: OptionalFlagValue, Value.WrappedFlagValue: CaseIterable,
26 | Value.WrappedFlagValue: Hashable, Value.WrappedFlagValue.AllCases: RandomAccessCollection
:
158 | Value.WrappedFlagValue.RawValue: FlagValue, Value.WrappedFlagValue: Hashable
159 | {
160 | func control<RootGroup>(label: String, manager: FlagValueManager<RootGroup>, showDetail: Binding<Bool>) -> AnyView where RootGroup: FlagContainer {
| `- note: add '@MainActor' to make instance method 'control(label:manager:showDetail:)' part of global actor 'MainActor'
161 | let key = info.key
162 | let flag = self.flag
163 |
164 | return OptionalCaseIterableFlagControl<Value>(
| `- warning: call to main actor-isolated initializer 'init(label:value:hasChanges:isEditable:showDetail:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
165 | label: label,
166 | value: Binding(
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Flag Value Controls/OptionalCaseIterableFlagControl.swift:168:41: warning: capture of 'manager' with non-sendable type 'FlagValueManager<RootGroup>' in a '@Sendable' closure
166 | value: Binding(
167 | get: {
168 | let value: Value? = manager.flagValue(key: key)
| `- warning: capture of 'manager' with non-sendable type 'FlagValueManager<RootGroup>' in a '@Sendable' closure
169 | return value ?? flag.defaultValue
170 | },
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/FlagValueManager.swift:22:7: note: generic class 'FlagValueManager' does not conform to the 'Sendable' protocol
20 |
21 | @available(OSX 11.0, iOS 13.0, watchOS 7.0, tvOS 13.0, *)
22 | class FlagValueManager<RootGroup>: ObservableObject where RootGroup: FlagContainer {
| `- note: generic class 'FlagValueManager' does not conform to the 'Sendable' protocol
23 |
24 | // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Flag Value Controls/OptionalCaseIterableFlagControl.swift:169:37: warning: capture of 'flag' with non-sendable type 'Flag<Value>' in a '@Sendable' closure
167 | get: {
168 | let value: Value? = manager.flagValue(key: key)
169 | return value ?? flag.defaultValue
| `- warning: capture of 'flag' with non-sendable type 'Flag<Value>' in a '@Sendable' closure
170 | },
171 | set: { newValue in
/Users/admin/builder/spi-builder-workspace/Sources/Vexil/Flag.swift:35:15: note: generic struct 'Flag' does not conform to the 'Sendable' protocol
33 | ///
34 | @propertyWrapper
35 | public struct Flag<Value>: Decorated, Identifiable where Value: FlagValue {
| `- note: generic struct 'Flag' does not conform to the 'Sendable' protocol
36 |
37 | // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Flag Value Controls/OptionalCaseIterableFlagControl.swift:17:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Vexil'
15 |
16 | import SwiftUI
17 | import Vexil
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Vexil'
18 |
19 | // Optional Case Iterable Flags
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Flag Value Controls/OptionalCaseIterableFlagControl.swift:169:37: warning: implicit capture of 'flag' requires that 'Flag<Value>' conforms to 'Sendable'; this is an error in the Swift 6 language mode
167 | get: {
168 | let value: Value? = manager.flagValue(key: key)
169 | return value ?? flag.defaultValue
| `- warning: implicit capture of 'flag' requires that 'Flag<Value>' conforms to 'Sendable'; this is an error in the Swift 6 language mode
170 | },
171 | set: { newValue in
/Users/admin/builder/spi-builder-workspace/Sources/Vexil/Flag.swift:35:15: note: generic struct 'Flag' does not conform to the 'Sendable' protocol
33 | ///
34 | @propertyWrapper
35 | public struct Flag<Value>: Decorated, Identifiable where Value: FlagValue {
| `- note: generic struct 'Flag' does not conform to the 'Sendable' protocol
36 |
37 | // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Flag Value Controls/OptionalCaseIterableFlagControl.swift:173:29: warning: capture of 'manager' with non-sendable type 'FlagValueManager<RootGroup>' in a '@Sendable' closure
171 | set: { newValue in
172 | do {
173 | try manager.setFlagValue(newValue, key: key)
| `- warning: capture of 'manager' with non-sendable type 'FlagValueManager<RootGroup>' in a '@Sendable' closure
174 |
175 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/FlagValueManager.swift:22:7: note: generic class 'FlagValueManager' does not conform to the 'Sendable' protocol
20 |
21 | @available(OSX 11.0, iOS 13.0, watchOS 7.0, tvOS 13.0, *)
22 | class FlagValueManager<RootGroup>: ObservableObject where RootGroup: FlagContainer {
| `- note: generic class 'FlagValueManager' does not conform to the 'Sendable' protocol
23 |
24 | // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Flag Value Controls/StringFlagControl.swift:66:18: warning: generic parameter 'RootGroup' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
64 | extension UnfurledFlag: StringEditableFlag where Value.BoxedValueType: LosslessStringConvertible {
65 |
66 | func control<RootGroup>(label: String, manager: FlagValueManager<RootGroup>, showDetail: Binding<Bool>) -> AnyView where RootGroup: FlagContainer {
| `- warning: generic parameter 'RootGroup' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
67 | return StringFlagControl(
68 | label: label,
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Unfurling/UnfurledFlag.swift:21:28: note: 'RootGroup' previously declared here
19 |
20 | @available(OSX 11.0, iOS 13.0, watchOS 7.0, tvOS 13.0, *)
21 | struct UnfurledFlag<Value, RootGroup>: UnfurledFlagItem, Identifiable where Value: FlagValue, RootGroup: FlagContainer {
| `- note: 'RootGroup' previously declared here
22 |
23 | // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Flag Value Controls/StringFlagControl.swift:98:18: warning: generic parameter 'RootGroup' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
96 | {
97 |
98 | func control<RootGroup>(label: String, manager: FlagValueManager<RootGroup>, showDetail: Binding<Bool>) -> AnyView where RootGroup: FlagContainer {
| `- warning: generic parameter 'RootGroup' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
99 | return StringFlagControl(
100 | label: label,
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Unfurling/UnfurledFlag.swift:21:28: note: 'RootGroup' previously declared here
19 |
20 | @available(OSX 11.0, iOS 13.0, watchOS 7.0, tvOS 13.0, *)
21 | struct UnfurledFlag<Value, RootGroup>: UnfurledFlagItem, Identifiable where Value: FlagValue, RootGroup: FlagContainer {
| `- note: 'RootGroup' previously declared here
22 |
23 | // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Flag Value Controls/StringFlagControl.swift:80:10: warning: call to main actor-isolated instance method 'eraseToAnyView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
64 | extension UnfurledFlag: StringEditableFlag where Value.BoxedValueType: LosslessStringConvertible {
65 |
66 | func control<RootGroup>(label: String, manager: FlagValueManager<RootGroup>, showDetail: Binding<Bool>) -> AnyView where RootGroup: FlagContainer {
| `- note: add '@MainActor' to make instance method 'control(label:manager:showDetail:)' part of global actor 'MainActor'
67 | return StringFlagControl(
68 | label: label,
:
78 | )
79 | .flagValueKeyboard(type: Value.self)
80 | .eraseToAnyView()
| `- warning: call to main actor-isolated instance method 'eraseToAnyView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
81 | }
82 |
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Utilities/AnyView.swift:19:10: note: calls to instance method 'eraseToAnyView()' from outside of its actor context are implicitly asynchronous
17 |
18 | extension View {
19 | func eraseToAnyView() -> AnyView {
| `- note: calls to instance method 'eraseToAnyView()' from outside of its actor context are implicitly asynchronous
20 | return AnyView(self)
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Flag Value Controls/StringFlagControl.swift:79:10: warning: call to main actor-isolated instance method 'flagValueKeyboard(type:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
64 | extension UnfurledFlag: StringEditableFlag where Value.BoxedValueType: LosslessStringConvertible {
65 |
66 | func control<RootGroup>(label: String, manager: FlagValueManager<RootGroup>, showDetail: Binding<Bool>) -> AnyView where RootGroup: FlagContainer {
| `- note: add '@MainActor' to make instance method 'control(label:manager:showDetail:)' part of global actor 'MainActor'
67 | return StringFlagControl(
68 | label: label,
:
77 | showDetail: showDetail
78 | )
79 | .flagValueKeyboard(type: Value.self)
| `- warning: call to main actor-isolated instance method 'flagValueKeyboard(type:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
80 | .eraseToAnyView()
81 | }
:
156 |
157 | private extension View {
158 | func flagValueKeyboard<Value>(type: Value.Type) -> some View where Value: FlagValue {
| `- note: calls to instance method 'flagValueKeyboard(type:)' from outside of its actor context are implicitly asynchronous
159 | return self
160 | }
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Flag Value Controls/StringFlagControl.swift:112:10: warning: call to main actor-isolated instance method 'eraseToAnyView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
96 | {
97 |
98 | func control<RootGroup>(label: String, manager: FlagValueManager<RootGroup>, showDetail: Binding<Bool>) -> AnyView where RootGroup: FlagContainer {
| `- note: add '@MainActor' to make instance method 'control(label:manager:showDetail:)' part of global actor 'MainActor'
99 | return StringFlagControl(
100 | label: label,
:
110 | )
111 | .flagValueKeyboard(type: Value.self)
112 | .eraseToAnyView()
| `- warning: call to main actor-isolated instance method 'eraseToAnyView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
113 | }
114 |
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Utilities/AnyView.swift:19:10: note: calls to instance method 'eraseToAnyView()' from outside of its actor context are implicitly asynchronous
17 |
18 | extension View {
19 | func eraseToAnyView() -> AnyView {
| `- note: calls to instance method 'eraseToAnyView()' from outside of its actor context are implicitly asynchronous
20 | return AnyView(self)
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Flag Value Controls/StringFlagControl.swift:111:10: warning: call to main actor-isolated instance method 'flagValueKeyboard(type:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
96 | {
97 |
98 | func control<RootGroup>(label: String, manager: FlagValueManager<RootGroup>, showDetail: Binding<Bool>) -> AnyView where RootGroup: FlagContainer {
| `- note: add '@MainActor' to make instance method 'control(label:manager:showDetail:)' part of global actor 'MainActor'
99 | return StringFlagControl(
100 | label: label,
:
109 | showDetail: showDetail
110 | )
111 | .flagValueKeyboard(type: Value.self)
| `- warning: call to main actor-isolated instance method 'flagValueKeyboard(type:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
112 | .eraseToAnyView()
113 | }
:
156 |
157 | private extension View {
158 | func flagValueKeyboard<Value>(type: Value.Type) -> some View where Value: FlagValue {
| `- note: calls to instance method 'flagValueKeyboard(type:)' from outside of its actor context are implicitly asynchronous
159 | return self
160 | }
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Flag Value Controls/CaseIterableFlagControl.swift:164:45: warning: sending value of non-Sendable type 'Binding<Value>' risks causing data races; this is an error in the Swift 6 language mode
162 | {
163 | func control<RootGroup>(label: String, manager: FlagValueManager<RootGroup>, showDetail: Binding<Bool>) -> AnyView where RootGroup: FlagContainer {
164 | return CaseIterableFlagControl<Value>(
| |- warning: sending value of non-Sendable type 'Binding<Value>' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type 'Binding<Value>' to main actor-isolated initializer 'init(label:value:hasChanges:isEditable:showDetail:)' risks causing races in between task-isolated and main actor-isolated uses
165 | label: label,
166 | value: Binding(
[59/62] Compiling Vexillographer StringFlagControl.swift
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Flag Value Controls/CaseIterableFlagControl.swift:163:18: warning: generic parameter 'RootGroup' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
161 | Value: RawRepresentable, Value.RawValue: FlagValue, Value: Hashable
162 | {
163 | func control<RootGroup>(label: String, manager: FlagValueManager<RootGroup>, showDetail: Binding<Bool>) -> AnyView where RootGroup: FlagContainer {
| `- warning: generic parameter 'RootGroup' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
164 | return CaseIterableFlagControl<Value>(
165 | label: label,
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Unfurling/UnfurledFlag.swift:21:28: note: 'RootGroup' previously declared here
19 |
20 | @available(OSX 11.0, iOS 13.0, watchOS 7.0, tvOS 13.0, *)
21 | struct UnfurledFlag<Value, RootGroup>: UnfurledFlagItem, Identifiable where Value: FlagValue, RootGroup: FlagContainer {
| `- note: 'RootGroup' previously declared here
22 |
23 | // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Flag Value Controls/CaseIterableFlagControl.swift:176:10: warning: call to main actor-isolated instance method 'eraseToAnyView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
161 | Value: RawRepresentable, Value.RawValue: FlagValue, Value: Hashable
162 | {
163 | func control<RootGroup>(label: String, manager: FlagValueManager<RootGroup>, showDetail: Binding<Bool>) -> AnyView where RootGroup: FlagContainer {
| `- note: add '@MainActor' to make instance method 'control(label:manager:showDetail:)' part of global actor 'MainActor'
164 | return CaseIterableFlagControl<Value>(
165 | label: label,
:
174 | showDetail: showDetail
175 | )
176 | .eraseToAnyView()
| `- warning: call to main actor-isolated instance method 'eraseToAnyView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
177 | }
178 | }
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Utilities/AnyView.swift:19:10: note: calls to instance method 'eraseToAnyView()' from outside of its actor context are implicitly asynchronous
17 |
18 | extension View {
19 | func eraseToAnyView() -> AnyView {
| `- note: calls to instance method 'eraseToAnyView()' from outside of its actor context are implicitly asynchronous
20 | return AnyView(self)
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Flag Value Controls/CaseIterableFlagControl.swift:164:45: warning: call to main actor-isolated initializer 'init(label:value:hasChanges:isEditable:showDetail:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
22 |
23 | @available(OSX 11.0, iOS 13.0, watchOS 7.0, tvOS 13.0, *)
24 | struct CaseIterableFlagControl<Value>: View where Value: FlagValue, Value: CaseIterable, Value: Hashable, Value.AllCases: RandomAccessCollection {
| |- note: calls to initializer 'init(label:value:hasChanges:isEditable:showDetail:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
25 |
26 | // MARK: - Properties
:
161 | Value: RawRepresentable, Value.RawValue: FlagValue, Value: Hashable
162 | {
163 | func control<RootGroup>(label: String, manager: FlagValueManager<RootGroup>, showDetail: Binding<Bool>) -> AnyView where RootGroup: FlagContainer {
| `- note: add '@MainActor' to make instance method 'control(label:manager:showDetail:)' part of global actor 'MainActor'
164 | return CaseIterableFlagControl<Value>(
| `- warning: call to main actor-isolated initializer 'init(label:value:hasChanges:isEditable:showDetail:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
165 | label: label,
166 | value: Binding(
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Flag Value Controls/OptionalCaseIterableFlagControl.swift:160:18: warning: generic parameter 'RootGroup' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
158 | Value.WrappedFlagValue.RawValue: FlagValue, Value.WrappedFlagValue: Hashable
159 | {
160 | func control<RootGroup>(label: String, manager: FlagValueManager<RootGroup>, showDetail: Binding<Bool>) -> AnyView where RootGroup: FlagContainer {
| `- warning: generic parameter 'RootGroup' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
161 | let key = info.key
162 | let flag = self.flag
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Unfurling/UnfurledFlag.swift:21:28: note: 'RootGroup' previously declared here
19 |
20 | @available(OSX 11.0, iOS 13.0, watchOS 7.0, tvOS 13.0, *)
21 | struct UnfurledFlag<Value, RootGroup>: UnfurledFlagItem, Identifiable where Value: FlagValue, RootGroup: FlagContainer {
| `- note: 'RootGroup' previously declared here
22 |
23 | // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Flag Value Controls/OptionalCaseIterableFlagControl.swift:184:10: warning: call to main actor-isolated instance method 'eraseToAnyView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
158 | Value.WrappedFlagValue.RawValue: FlagValue, Value.WrappedFlagValue: Hashable
159 | {
160 | func control<RootGroup>(label: String, manager: FlagValueManager<RootGroup>, showDetail: Binding<Bool>) -> AnyView where RootGroup: FlagContainer {
| `- note: add '@MainActor' to make instance method 'control(label:manager:showDetail:)' part of global actor 'MainActor'
161 | let key = info.key
162 | let flag = self.flag
:
182 | showDetail: showDetail
183 | )
184 | .eraseToAnyView()
| `- warning: call to main actor-isolated instance method 'eraseToAnyView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
185 | }
186 | }
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Utilities/AnyView.swift:19:10: note: calls to instance method 'eraseToAnyView()' from outside of its actor context are implicitly asynchronous
17 |
18 | extension View {
19 | func eraseToAnyView() -> AnyView {
| `- note: calls to instance method 'eraseToAnyView()' from outside of its actor context are implicitly asynchronous
20 | return AnyView(self)
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Flag Value Controls/OptionalCaseIterableFlagControl.swift:164:53: warning: call to main actor-isolated initializer 'init(label:value:hasChanges:isEditable:showDetail:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
22 |
23 | @available(OSX 11.0, iOS 13.0, watchOS 7.0, tvOS 13.0, *)
24 | struct OptionalCaseIterableFlagControl<Value>: View
| |- note: calls to initializer 'init(label:value:hasChanges:isEditable:showDetail:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
25 | where Value: OptionalFlagValue, Value.WrappedFlagValue: CaseIterable,
26 | Value.WrappedFlagValue: Hashable, Value.WrappedFlagValue.AllCases: RandomAccessCollection
:
158 | Value.WrappedFlagValue.RawValue: FlagValue, Value.WrappedFlagValue: Hashable
159 | {
160 | func control<RootGroup>(label: String, manager: FlagValueManager<RootGroup>, showDetail: Binding<Bool>) -> AnyView where RootGroup: FlagContainer {
| `- note: add '@MainActor' to make instance method 'control(label:manager:showDetail:)' part of global actor 'MainActor'
161 | let key = info.key
162 | let flag = self.flag
163 |
164 | return OptionalCaseIterableFlagControl<Value>(
| `- warning: call to main actor-isolated initializer 'init(label:value:hasChanges:isEditable:showDetail:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
165 | label: label,
166 | value: Binding(
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Flag Value Controls/OptionalCaseIterableFlagControl.swift:168:41: warning: capture of 'manager' with non-sendable type 'FlagValueManager<RootGroup>' in a '@Sendable' closure
166 | value: Binding(
167 | get: {
168 | let value: Value? = manager.flagValue(key: key)
| `- warning: capture of 'manager' with non-sendable type 'FlagValueManager<RootGroup>' in a '@Sendable' closure
169 | return value ?? flag.defaultValue
170 | },
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/FlagValueManager.swift:22:7: note: generic class 'FlagValueManager' does not conform to the 'Sendable' protocol
20 |
21 | @available(OSX 11.0, iOS 13.0, watchOS 7.0, tvOS 13.0, *)
22 | class FlagValueManager<RootGroup>: ObservableObject where RootGroup: FlagContainer {
| `- note: generic class 'FlagValueManager' does not conform to the 'Sendable' protocol
23 |
24 | // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Flag Value Controls/OptionalCaseIterableFlagControl.swift:169:37: warning: capture of 'flag' with non-sendable type 'Flag<Value>' in a '@Sendable' closure
167 | get: {
168 | let value: Value? = manager.flagValue(key: key)
169 | return value ?? flag.defaultValue
| `- warning: capture of 'flag' with non-sendable type 'Flag<Value>' in a '@Sendable' closure
170 | },
171 | set: { newValue in
/Users/admin/builder/spi-builder-workspace/Sources/Vexil/Flag.swift:35:15: note: generic struct 'Flag' does not conform to the 'Sendable' protocol
33 | ///
34 | @propertyWrapper
35 | public struct Flag<Value>: Decorated, Identifiable where Value: FlagValue {
| `- note: generic struct 'Flag' does not conform to the 'Sendable' protocol
36 |
37 | // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Flag Value Controls/OptionalCaseIterableFlagControl.swift:17:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Vexil'
15 |
16 | import SwiftUI
17 | import Vexil
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Vexil'
18 |
19 | // Optional Case Iterable Flags
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Flag Value Controls/OptionalCaseIterableFlagControl.swift:169:37: warning: implicit capture of 'flag' requires that 'Flag<Value>' conforms to 'Sendable'; this is an error in the Swift 6 language mode
167 | get: {
168 | let value: Value? = manager.flagValue(key: key)
169 | return value ?? flag.defaultValue
| `- warning: implicit capture of 'flag' requires that 'Flag<Value>' conforms to 'Sendable'; this is an error in the Swift 6 language mode
170 | },
171 | set: { newValue in
/Users/admin/builder/spi-builder-workspace/Sources/Vexil/Flag.swift:35:15: note: generic struct 'Flag' does not conform to the 'Sendable' protocol
33 | ///
34 | @propertyWrapper
35 | public struct Flag<Value>: Decorated, Identifiable where Value: FlagValue {
| `- note: generic struct 'Flag' does not conform to the 'Sendable' protocol
36 |
37 | // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Flag Value Controls/OptionalCaseIterableFlagControl.swift:173:29: warning: capture of 'manager' with non-sendable type 'FlagValueManager<RootGroup>' in a '@Sendable' closure
171 | set: { newValue in
172 | do {
173 | try manager.setFlagValue(newValue, key: key)
| `- warning: capture of 'manager' with non-sendable type 'FlagValueManager<RootGroup>' in a '@Sendable' closure
174 |
175 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/FlagValueManager.swift:22:7: note: generic class 'FlagValueManager' does not conform to the 'Sendable' protocol
20 |
21 | @available(OSX 11.0, iOS 13.0, watchOS 7.0, tvOS 13.0, *)
22 | class FlagValueManager<RootGroup>: ObservableObject where RootGroup: FlagContainer {
| `- note: generic class 'FlagValueManager' does not conform to the 'Sendable' protocol
23 |
24 | // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Flag Value Controls/StringFlagControl.swift:66:18: warning: generic parameter 'RootGroup' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
64 | extension UnfurledFlag: StringEditableFlag where Value.BoxedValueType: LosslessStringConvertible {
65 |
66 | func control<RootGroup>(label: String, manager: FlagValueManager<RootGroup>, showDetail: Binding<Bool>) -> AnyView where RootGroup: FlagContainer {
| `- warning: generic parameter 'RootGroup' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
67 | return StringFlagControl(
68 | label: label,
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Unfurling/UnfurledFlag.swift:21:28: note: 'RootGroup' previously declared here
19 |
20 | @available(OSX 11.0, iOS 13.0, watchOS 7.0, tvOS 13.0, *)
21 | struct UnfurledFlag<Value, RootGroup>: UnfurledFlagItem, Identifiable where Value: FlagValue, RootGroup: FlagContainer {
| `- note: 'RootGroup' previously declared here
22 |
23 | // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Flag Value Controls/StringFlagControl.swift:98:18: warning: generic parameter 'RootGroup' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
96 | {
97 |
98 | func control<RootGroup>(label: String, manager: FlagValueManager<RootGroup>, showDetail: Binding<Bool>) -> AnyView where RootGroup: FlagContainer {
| `- warning: generic parameter 'RootGroup' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
99 | return StringFlagControl(
100 | label: label,
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Unfurling/UnfurledFlag.swift:21:28: note: 'RootGroup' previously declared here
19 |
20 | @available(OSX 11.0, iOS 13.0, watchOS 7.0, tvOS 13.0, *)
21 | struct UnfurledFlag<Value, RootGroup>: UnfurledFlagItem, Identifiable where Value: FlagValue, RootGroup: FlagContainer {
| `- note: 'RootGroup' previously declared here
22 |
23 | // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Flag Value Controls/StringFlagControl.swift:80:10: warning: call to main actor-isolated instance method 'eraseToAnyView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
64 | extension UnfurledFlag: StringEditableFlag where Value.BoxedValueType: LosslessStringConvertible {
65 |
66 | func control<RootGroup>(label: String, manager: FlagValueManager<RootGroup>, showDetail: Binding<Bool>) -> AnyView where RootGroup: FlagContainer {
| `- note: add '@MainActor' to make instance method 'control(label:manager:showDetail:)' part of global actor 'MainActor'
67 | return StringFlagControl(
68 | label: label,
:
78 | )
79 | .flagValueKeyboard(type: Value.self)
80 | .eraseToAnyView()
| `- warning: call to main actor-isolated instance method 'eraseToAnyView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
81 | }
82 |
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Utilities/AnyView.swift:19:10: note: calls to instance method 'eraseToAnyView()' from outside of its actor context are implicitly asynchronous
17 |
18 | extension View {
19 | func eraseToAnyView() -> AnyView {
| `- note: calls to instance method 'eraseToAnyView()' from outside of its actor context are implicitly asynchronous
20 | return AnyView(self)
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Flag Value Controls/StringFlagControl.swift:79:10: warning: call to main actor-isolated instance method 'flagValueKeyboard(type:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
64 | extension UnfurledFlag: StringEditableFlag where Value.BoxedValueType: LosslessStringConvertible {
65 |
66 | func control<RootGroup>(label: String, manager: FlagValueManager<RootGroup>, showDetail: Binding<Bool>) -> AnyView where RootGroup: FlagContainer {
| `- note: add '@MainActor' to make instance method 'control(label:manager:showDetail:)' part of global actor 'MainActor'
67 | return StringFlagControl(
68 | label: label,
:
77 | showDetail: showDetail
78 | )
79 | .flagValueKeyboard(type: Value.self)
| `- warning: call to main actor-isolated instance method 'flagValueKeyboard(type:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
80 | .eraseToAnyView()
81 | }
:
156 |
157 | private extension View {
158 | func flagValueKeyboard<Value>(type: Value.Type) -> some View where Value: FlagValue {
| `- note: calls to instance method 'flagValueKeyboard(type:)' from outside of its actor context are implicitly asynchronous
159 | return self
160 | }
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Flag Value Controls/StringFlagControl.swift:112:10: warning: call to main actor-isolated instance method 'eraseToAnyView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
96 | {
97 |
98 | func control<RootGroup>(label: String, manager: FlagValueManager<RootGroup>, showDetail: Binding<Bool>) -> AnyView where RootGroup: FlagContainer {
| `- note: add '@MainActor' to make instance method 'control(label:manager:showDetail:)' part of global actor 'MainActor'
99 | return StringFlagControl(
100 | label: label,
:
110 | )
111 | .flagValueKeyboard(type: Value.self)
112 | .eraseToAnyView()
| `- warning: call to main actor-isolated instance method 'eraseToAnyView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
113 | }
114 |
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Utilities/AnyView.swift:19:10: note: calls to instance method 'eraseToAnyView()' from outside of its actor context are implicitly asynchronous
17 |
18 | extension View {
19 | func eraseToAnyView() -> AnyView {
| `- note: calls to instance method 'eraseToAnyView()' from outside of its actor context are implicitly asynchronous
20 | return AnyView(self)
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Flag Value Controls/StringFlagControl.swift:111:10: warning: call to main actor-isolated instance method 'flagValueKeyboard(type:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
96 | {
97 |
98 | func control<RootGroup>(label: String, manager: FlagValueManager<RootGroup>, showDetail: Binding<Bool>) -> AnyView where RootGroup: FlagContainer {
| `- note: add '@MainActor' to make instance method 'control(label:manager:showDetail:)' part of global actor 'MainActor'
99 | return StringFlagControl(
100 | label: label,
:
109 | showDetail: showDetail
110 | )
111 | .flagValueKeyboard(type: Value.self)
| `- warning: call to main actor-isolated instance method 'flagValueKeyboard(type:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
112 | .eraseToAnyView()
113 | }
:
156 |
157 | private extension View {
158 | func flagValueKeyboard<Value>(type: Value.Type) -> some View where Value: FlagValue {
| `- note: calls to instance method 'flagValueKeyboard(type:)' from outside of its actor context are implicitly asynchronous
159 | return self
160 | }
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Flag Value Controls/CaseIterableFlagControl.swift:164:45: warning: sending value of non-Sendable type 'Binding<Value>' risks causing data races; this is an error in the Swift 6 language mode
162 | {
163 | func control<RootGroup>(label: String, manager: FlagValueManager<RootGroup>, showDetail: Binding<Bool>) -> AnyView where RootGroup: FlagContainer {
164 | return CaseIterableFlagControl<Value>(
| |- warning: sending value of non-Sendable type 'Binding<Value>' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type 'Binding<Value>' to main actor-isolated initializer 'init(label:value:hasChanges:isEditable:showDetail:)' risks causing races in between task-isolated and main actor-isolated uses
165 | label: label,
166 | value: Binding(
[60/62] Compiling Vexillographer Binding.swift
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Bindings/Binding.swift:24:53: warning: capture of 'manager' with non-sendable type 'FlagValueManager<RootGroup>' in a '@Sendable' closure
22 | self.init(
23 | get: {
24 | let value: FValue.BoxedValueType? = manager.boxedValue(key: key, type: FValue.self) ?? defaultValue.unwrappedBoxedValue()
| `- warning: capture of 'manager' with non-sendable type 'FlagValueManager<RootGroup>' in a '@Sendable' closure
25 | return transformer.toEditingValue(value)
26 | },
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/FlagValueManager.swift:22:7: note: generic class 'FlagValueManager' does not conform to the 'Sendable' protocol
20 |
21 | @available(OSX 11.0, iOS 13.0, watchOS 7.0, tvOS 13.0, *)
22 | class FlagValueManager<RootGroup>: ObservableObject where RootGroup: FlagContainer {
| `- note: generic class 'FlagValueManager' does not conform to the 'Sendable' protocol
23 |
24 | // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Bindings/Binding.swift:24:104: warning: capture of 'defaultValue' with non-sendable type 'FValue' in a '@Sendable' closure
19 | extension Binding {
20 | @available(OSX 11.0, iOS 13.0, watchOS 7.0, tvOS 13.0, *)
21 | init<Transformer, RootGroup, FValue>(key: String, manager: FlagValueManager<RootGroup>, defaultValue: FValue, transformer: Transformer.Type) where RootGroup: FlagContainer, Transformer: BoxedFlagValueTransformer, FValue: FlagValue, Transformer.EditingValue == Value, FValue.BoxedValueType == Transformer.OriginalValue {
| `- note: consider making generic parameter 'FValue' conform to the 'Sendable' protocol
22 | self.init(
23 | get: {
24 | let value: FValue.BoxedValueType? = manager.boxedValue(key: key, type: FValue.self) ?? defaultValue.unwrappedBoxedValue()
| `- warning: capture of 'defaultValue' with non-sendable type 'FValue' in a '@Sendable' closure
25 | return transformer.toEditingValue(value)
26 | },
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Bindings/Binding.swift:24:104: warning: implicit capture of 'defaultValue' requires that 'FValue' conforms to 'Sendable'; this is an error in the Swift 6 language mode
19 | extension Binding {
20 | @available(OSX 11.0, iOS 13.0, watchOS 7.0, tvOS 13.0, *)
21 | init<Transformer, RootGroup, FValue>(key: String, manager: FlagValueManager<RootGroup>, defaultValue: FValue, transformer: Transformer.Type) where RootGroup: FlagContainer, Transformer: BoxedFlagValueTransformer, FValue: FlagValue, Transformer.EditingValue == Value, FValue.BoxedValueType == Transformer.OriginalValue {
| `- note: consider making generic parameter 'FValue' conform to the 'Sendable' protocol
22 | self.init(
23 | get: {
24 | let value: FValue.BoxedValueType? = manager.boxedValue(key: key, type: FValue.self) ?? defaultValue.unwrappedBoxedValue()
| `- warning: implicit capture of 'defaultValue' requires that 'FValue' conforms to 'Sendable'; this is an error in the Swift 6 language mode
25 | return transformer.toEditingValue(value)
26 | },
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Bindings/Binding.swift:30:25: warning: capture of 'manager' with non-sendable type 'FlagValueManager<RootGroup>' in a '@Sendable' closure
28 | do {
29 | let value = transformer.toOriginalValue(newValue)
30 | try manager.setBoxedValue(value, type: FValue.self, key: key)
| `- warning: capture of 'manager' with non-sendable type 'FlagValueManager<RootGroup>' in a '@Sendable' closure
31 |
32 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/FlagValueManager.swift:22:7: note: generic class 'FlagValueManager' does not conform to the 'Sendable' protocol
20 |
21 | @available(OSX 11.0, iOS 13.0, watchOS 7.0, tvOS 13.0, *)
22 | class FlagValueManager<RootGroup>: ObservableObject where RootGroup: FlagContainer {
| `- note: generic class 'FlagValueManager' does not conform to the 'Sendable' protocol
23 |
24 | // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Bindings/Binding.swift:43:56: warning: capture of 'manager' with non-sendable type 'FlagValueManager<RootGroup>' in a '@Sendable' closure
41 | self.init(
42 | get: {
43 | let value: Transformer.OriginalValue = manager.flagValue(key: key) ?? defaultValue
| `- warning: capture of 'manager' with non-sendable type 'FlagValueManager<RootGroup>' in a '@Sendable' closure
44 | return transformer.toEditingValue(value)
45 | },
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/FlagValueManager.swift:22:7: note: generic class 'FlagValueManager' does not conform to the 'Sendable' protocol
20 |
21 | @available(OSX 11.0, iOS 13.0, watchOS 7.0, tvOS 13.0, *)
22 | class FlagValueManager<RootGroup>: ObservableObject where RootGroup: FlagContainer {
| `- note: generic class 'FlagValueManager' does not conform to the 'Sendable' protocol
23 |
24 | // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Bindings/Binding.swift:43:87: warning: capture of 'defaultValue' with non-sendable type 'Transformer.OriginalValue' in a '@Sendable' closure
41 | self.init(
42 | get: {
43 | let value: Transformer.OriginalValue = manager.flagValue(key: key) ?? defaultValue
| `- warning: capture of 'defaultValue' with non-sendable type 'Transformer.OriginalValue' in a '@Sendable' closure
44 | return transformer.toEditingValue(value)
45 | },
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Bindings/Binding.swift:43:87: warning: implicit capture of 'defaultValue' requires that 'Transformer.OriginalValue' conforms to 'Sendable'; this is an error in the Swift 6 language mode
41 | self.init(
42 | get: {
43 | let value: Transformer.OriginalValue = manager.flagValue(key: key) ?? defaultValue
| `- warning: implicit capture of 'defaultValue' requires that 'Transformer.OriginalValue' conforms to 'Sendable'; this is an error in the Swift 6 language mode
44 | return transformer.toEditingValue(value)
45 | },
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Bindings/Binding.swift:49:25: warning: capture of 'manager' with non-sendable type 'FlagValueManager<RootGroup>' in a '@Sendable' closure
47 | do {
48 | let value = transformer.toOriginalValue(newValue)
49 | try manager.setFlagValue(value, key: key)
| `- warning: capture of 'manager' with non-sendable type 'FlagValueManager<RootGroup>' in a '@Sendable' closure
50 |
51 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/FlagValueManager.swift:22:7: note: generic class 'FlagValueManager' does not conform to the 'Sendable' protocol
20 |
21 | @available(OSX 11.0, iOS 13.0, watchOS 7.0, tvOS 13.0, *)
22 | class FlagValueManager<RootGroup>: ObservableObject where RootGroup: FlagContainer {
| `- note: generic class 'FlagValueManager' does not conform to the 'Sendable' protocol
23 |
24 | // MARK: - Properties
[61/62] Compiling Vexillographer EditableBoxedFlagValues.swift
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Bindings/Binding.swift:24:53: warning: capture of 'manager' with non-sendable type 'FlagValueManager<RootGroup>' in a '@Sendable' closure
22 | self.init(
23 | get: {
24 | let value: FValue.BoxedValueType? = manager.boxedValue(key: key, type: FValue.self) ?? defaultValue.unwrappedBoxedValue()
| `- warning: capture of 'manager' with non-sendable type 'FlagValueManager<RootGroup>' in a '@Sendable' closure
25 | return transformer.toEditingValue(value)
26 | },
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/FlagValueManager.swift:22:7: note: generic class 'FlagValueManager' does not conform to the 'Sendable' protocol
20 |
21 | @available(OSX 11.0, iOS 13.0, watchOS 7.0, tvOS 13.0, *)
22 | class FlagValueManager<RootGroup>: ObservableObject where RootGroup: FlagContainer {
| `- note: generic class 'FlagValueManager' does not conform to the 'Sendable' protocol
23 |
24 | // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Bindings/Binding.swift:24:104: warning: capture of 'defaultValue' with non-sendable type 'FValue' in a '@Sendable' closure
19 | extension Binding {
20 | @available(OSX 11.0, iOS 13.0, watchOS 7.0, tvOS 13.0, *)
21 | init<Transformer, RootGroup, FValue>(key: String, manager: FlagValueManager<RootGroup>, defaultValue: FValue, transformer: Transformer.Type) where RootGroup: FlagContainer, Transformer: BoxedFlagValueTransformer, FValue: FlagValue, Transformer.EditingValue == Value, FValue.BoxedValueType == Transformer.OriginalValue {
| `- note: consider making generic parameter 'FValue' conform to the 'Sendable' protocol
22 | self.init(
23 | get: {
24 | let value: FValue.BoxedValueType? = manager.boxedValue(key: key, type: FValue.self) ?? defaultValue.unwrappedBoxedValue()
| `- warning: capture of 'defaultValue' with non-sendable type 'FValue' in a '@Sendable' closure
25 | return transformer.toEditingValue(value)
26 | },
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Bindings/Binding.swift:24:104: warning: implicit capture of 'defaultValue' requires that 'FValue' conforms to 'Sendable'; this is an error in the Swift 6 language mode
19 | extension Binding {
20 | @available(OSX 11.0, iOS 13.0, watchOS 7.0, tvOS 13.0, *)
21 | init<Transformer, RootGroup, FValue>(key: String, manager: FlagValueManager<RootGroup>, defaultValue: FValue, transformer: Transformer.Type) where RootGroup: FlagContainer, Transformer: BoxedFlagValueTransformer, FValue: FlagValue, Transformer.EditingValue == Value, FValue.BoxedValueType == Transformer.OriginalValue {
| `- note: consider making generic parameter 'FValue' conform to the 'Sendable' protocol
22 | self.init(
23 | get: {
24 | let value: FValue.BoxedValueType? = manager.boxedValue(key: key, type: FValue.self) ?? defaultValue.unwrappedBoxedValue()
| `- warning: implicit capture of 'defaultValue' requires that 'FValue' conforms to 'Sendable'; this is an error in the Swift 6 language mode
25 | return transformer.toEditingValue(value)
26 | },
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Bindings/Binding.swift:30:25: warning: capture of 'manager' with non-sendable type 'FlagValueManager<RootGroup>' in a '@Sendable' closure
28 | do {
29 | let value = transformer.toOriginalValue(newValue)
30 | try manager.setBoxedValue(value, type: FValue.self, key: key)
| `- warning: capture of 'manager' with non-sendable type 'FlagValueManager<RootGroup>' in a '@Sendable' closure
31 |
32 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/FlagValueManager.swift:22:7: note: generic class 'FlagValueManager' does not conform to the 'Sendable' protocol
20 |
21 | @available(OSX 11.0, iOS 13.0, watchOS 7.0, tvOS 13.0, *)
22 | class FlagValueManager<RootGroup>: ObservableObject where RootGroup: FlagContainer {
| `- note: generic class 'FlagValueManager' does not conform to the 'Sendable' protocol
23 |
24 | // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Bindings/Binding.swift:43:56: warning: capture of 'manager' with non-sendable type 'FlagValueManager<RootGroup>' in a '@Sendable' closure
41 | self.init(
42 | get: {
43 | let value: Transformer.OriginalValue = manager.flagValue(key: key) ?? defaultValue
| `- warning: capture of 'manager' with non-sendable type 'FlagValueManager<RootGroup>' in a '@Sendable' closure
44 | return transformer.toEditingValue(value)
45 | },
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/FlagValueManager.swift:22:7: note: generic class 'FlagValueManager' does not conform to the 'Sendable' protocol
20 |
21 | @available(OSX 11.0, iOS 13.0, watchOS 7.0, tvOS 13.0, *)
22 | class FlagValueManager<RootGroup>: ObservableObject where RootGroup: FlagContainer {
| `- note: generic class 'FlagValueManager' does not conform to the 'Sendable' protocol
23 |
24 | // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Bindings/Binding.swift:43:87: warning: capture of 'defaultValue' with non-sendable type 'Transformer.OriginalValue' in a '@Sendable' closure
41 | self.init(
42 | get: {
43 | let value: Transformer.OriginalValue = manager.flagValue(key: key) ?? defaultValue
| `- warning: capture of 'defaultValue' with non-sendable type 'Transformer.OriginalValue' in a '@Sendable' closure
44 | return transformer.toEditingValue(value)
45 | },
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Bindings/Binding.swift:43:87: warning: implicit capture of 'defaultValue' requires that 'Transformer.OriginalValue' conforms to 'Sendable'; this is an error in the Swift 6 language mode
41 | self.init(
42 | get: {
43 | let value: Transformer.OriginalValue = manager.flagValue(key: key) ?? defaultValue
| `- warning: implicit capture of 'defaultValue' requires that 'Transformer.OriginalValue' conforms to 'Sendable'; this is an error in the Swift 6 language mode
44 | return transformer.toEditingValue(value)
45 | },
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Bindings/Binding.swift:49:25: warning: capture of 'manager' with non-sendable type 'FlagValueManager<RootGroup>' in a '@Sendable' closure
47 | do {
48 | let value = transformer.toOriginalValue(newValue)
49 | try manager.setFlagValue(value, key: key)
| `- warning: capture of 'manager' with non-sendable type 'FlagValueManager<RootGroup>' in a '@Sendable' closure
50 |
51 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/FlagValueManager.swift:22:7: note: generic class 'FlagValueManager' does not conform to the 'Sendable' protocol
20 |
21 | @available(OSX 11.0, iOS 13.0, watchOS 7.0, tvOS 13.0, *)
22 | class FlagValueManager<RootGroup>: ObservableObject where RootGroup: FlagContainer {
| `- note: generic class 'FlagValueManager' does not conform to the 'Sendable' protocol
23 |
24 | // MARK: - Properties
[62/62] Compiling Vexillographer LosslessStringTransformer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Bindings/Binding.swift:24:53: warning: capture of 'manager' with non-sendable type 'FlagValueManager<RootGroup>' in a '@Sendable' closure
22 | self.init(
23 | get: {
24 | let value: FValue.BoxedValueType? = manager.boxedValue(key: key, type: FValue.self) ?? defaultValue.unwrappedBoxedValue()
| `- warning: capture of 'manager' with non-sendable type 'FlagValueManager<RootGroup>' in a '@Sendable' closure
25 | return transformer.toEditingValue(value)
26 | },
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/FlagValueManager.swift:22:7: note: generic class 'FlagValueManager' does not conform to the 'Sendable' protocol
20 |
21 | @available(OSX 11.0, iOS 13.0, watchOS 7.0, tvOS 13.0, *)
22 | class FlagValueManager<RootGroup>: ObservableObject where RootGroup: FlagContainer {
| `- note: generic class 'FlagValueManager' does not conform to the 'Sendable' protocol
23 |
24 | // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Bindings/Binding.swift:24:104: warning: capture of 'defaultValue' with non-sendable type 'FValue' in a '@Sendable' closure
19 | extension Binding {
20 | @available(OSX 11.0, iOS 13.0, watchOS 7.0, tvOS 13.0, *)
21 | init<Transformer, RootGroup, FValue>(key: String, manager: FlagValueManager<RootGroup>, defaultValue: FValue, transformer: Transformer.Type) where RootGroup: FlagContainer, Transformer: BoxedFlagValueTransformer, FValue: FlagValue, Transformer.EditingValue == Value, FValue.BoxedValueType == Transformer.OriginalValue {
| `- note: consider making generic parameter 'FValue' conform to the 'Sendable' protocol
22 | self.init(
23 | get: {
24 | let value: FValue.BoxedValueType? = manager.boxedValue(key: key, type: FValue.self) ?? defaultValue.unwrappedBoxedValue()
| `- warning: capture of 'defaultValue' with non-sendable type 'FValue' in a '@Sendable' closure
25 | return transformer.toEditingValue(value)
26 | },
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Bindings/Binding.swift:24:104: warning: implicit capture of 'defaultValue' requires that 'FValue' conforms to 'Sendable'; this is an error in the Swift 6 language mode
19 | extension Binding {
20 | @available(OSX 11.0, iOS 13.0, watchOS 7.0, tvOS 13.0, *)
21 | init<Transformer, RootGroup, FValue>(key: String, manager: FlagValueManager<RootGroup>, defaultValue: FValue, transformer: Transformer.Type) where RootGroup: FlagContainer, Transformer: BoxedFlagValueTransformer, FValue: FlagValue, Transformer.EditingValue == Value, FValue.BoxedValueType == Transformer.OriginalValue {
| `- note: consider making generic parameter 'FValue' conform to the 'Sendable' protocol
22 | self.init(
23 | get: {
24 | let value: FValue.BoxedValueType? = manager.boxedValue(key: key, type: FValue.self) ?? defaultValue.unwrappedBoxedValue()
| `- warning: implicit capture of 'defaultValue' requires that 'FValue' conforms to 'Sendable'; this is an error in the Swift 6 language mode
25 | return transformer.toEditingValue(value)
26 | },
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Bindings/Binding.swift:30:25: warning: capture of 'manager' with non-sendable type 'FlagValueManager<RootGroup>' in a '@Sendable' closure
28 | do {
29 | let value = transformer.toOriginalValue(newValue)
30 | try manager.setBoxedValue(value, type: FValue.self, key: key)
| `- warning: capture of 'manager' with non-sendable type 'FlagValueManager<RootGroup>' in a '@Sendable' closure
31 |
32 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/FlagValueManager.swift:22:7: note: generic class 'FlagValueManager' does not conform to the 'Sendable' protocol
20 |
21 | @available(OSX 11.0, iOS 13.0, watchOS 7.0, tvOS 13.0, *)
22 | class FlagValueManager<RootGroup>: ObservableObject where RootGroup: FlagContainer {
| `- note: generic class 'FlagValueManager' does not conform to the 'Sendable' protocol
23 |
24 | // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Bindings/Binding.swift:43:56: warning: capture of 'manager' with non-sendable type 'FlagValueManager<RootGroup>' in a '@Sendable' closure
41 | self.init(
42 | get: {
43 | let value: Transformer.OriginalValue = manager.flagValue(key: key) ?? defaultValue
| `- warning: capture of 'manager' with non-sendable type 'FlagValueManager<RootGroup>' in a '@Sendable' closure
44 | return transformer.toEditingValue(value)
45 | },
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/FlagValueManager.swift:22:7: note: generic class 'FlagValueManager' does not conform to the 'Sendable' protocol
20 |
21 | @available(OSX 11.0, iOS 13.0, watchOS 7.0, tvOS 13.0, *)
22 | class FlagValueManager<RootGroup>: ObservableObject where RootGroup: FlagContainer {
| `- note: generic class 'FlagValueManager' does not conform to the 'Sendable' protocol
23 |
24 | // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Bindings/Binding.swift:43:87: warning: capture of 'defaultValue' with non-sendable type 'Transformer.OriginalValue' in a '@Sendable' closure
41 | self.init(
42 | get: {
43 | let value: Transformer.OriginalValue = manager.flagValue(key: key) ?? defaultValue
| `- warning: capture of 'defaultValue' with non-sendable type 'Transformer.OriginalValue' in a '@Sendable' closure
44 | return transformer.toEditingValue(value)
45 | },
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Bindings/Binding.swift:43:87: warning: implicit capture of 'defaultValue' requires that 'Transformer.OriginalValue' conforms to 'Sendable'; this is an error in the Swift 6 language mode
41 | self.init(
42 | get: {
43 | let value: Transformer.OriginalValue = manager.flagValue(key: key) ?? defaultValue
| `- warning: implicit capture of 'defaultValue' requires that 'Transformer.OriginalValue' conforms to 'Sendable'; this is an error in the Swift 6 language mode
44 | return transformer.toEditingValue(value)
45 | },
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/Bindings/Binding.swift:49:25: warning: capture of 'manager' with non-sendable type 'FlagValueManager<RootGroup>' in a '@Sendable' closure
47 | do {
48 | let value = transformer.toOriginalValue(newValue)
49 | try manager.setFlagValue(value, key: key)
| `- warning: capture of 'manager' with non-sendable type 'FlagValueManager<RootGroup>' in a '@Sendable' closure
50 |
51 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Vexillographer/FlagValueManager.swift:22:7: note: generic class 'FlagValueManager' does not conform to the 'Sendable' protocol
20 |
21 | @available(OSX 11.0, iOS 13.0, watchOS 7.0, tvOS 13.0, *)
22 | class FlagValueManager<RootGroup>: ObservableObject where RootGroup: FlagContainer {
| `- note: generic class 'FlagValueManager' does not conform to the 'Sendable' protocol
23 |
24 | // MARK: - Properties
Build complete! (99.34s)
Fetching https://github.com/nicklockwood/SwiftFormat
[1/67459] Fetching swiftformat
Fetched https://github.com/nicklockwood/SwiftFormat from cache (85.37s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.64.7 (86.26s)
Creating working copy for https://github.com/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at 0.64.7
Build complete.
{
"dependencies" : [
{
"identity" : "swiftformat",
"requirement" : {
"range" : [
{
"lower_bound" : "0.51.2",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/nicklockwood/SwiftFormat"
}
],
"manifest_display_name" : "Vexil",
"name" : "Vexil",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "Vexil",
"targets" : [
"Vexil"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Vexillographer",
"targets" : [
"Vexillographer"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "Vexillographer",
"module_type" : "SwiftTarget",
"name" : "Vexillographer",
"path" : "Sources/Vexillographer",
"product_memberships" : [
"Vexillographer"
],
"sources" : [
"Bindings/Binding.swift",
"Bindings/EditableBoxedFlagValues.swift",
"Bindings/LosslessStringTransformer.swift",
"Bindings/OptionalTransformer.swift",
"Bindings/PassthroughTransformer.swift",
"CopyButton.swift",
"DetailButton.swift",
"Extensions/NSApplication+Sidebar.swift",
"Flag Value Controls/BooleanFlagControl.swift",
"Flag Value Controls/CaseIterableFlagControl.swift",
"Flag Value Controls/OptionalCaseIterableFlagControl.swift",
"Flag Value Controls/StringFlagControl.swift",
"FlagDetailSection.swift",
"FlagDetailView.swift",
"FlagDisplayValueView.swift",
"FlagGroupView.swift",
"FlagSectionView.swift",
"FlagValueManager.swift",
"FlagView.swift",
"Unfurling/Unfurlable.swift",
"Unfurling/UnfurledFlag.swift",
"Unfurling/UnfurledFlagGroup.swift",
"Unfurling/UnfurledFlagInfo.swift",
"Unfurling/UnfurledFlagItem.swift",
"Utilities/AnyView.swift",
"Utilities/DisplayName.swift",
"Utilities/OptionalFlagValues.swift",
"Utilities/Pasteboard.swift",
"Vexillographer.swift"
],
"target_dependencies" : [
"Vexil"
],
"type" : "library"
},
{
"c99name" : "VexilTests",
"module_type" : "SwiftTarget",
"name" : "VexilTests",
"path" : "Tests/VexilTests",
"sources" : [
"BoxedFlagValueDecodingTests.swift",
"BoxedFlagValueEncodingTests.swift",
"DiagnosticsTests.swift",
"EquatableTests.swift",
"FlagPoleTests.swift",
"FlagValueBoxingTests.swift",
"FlagValueCompilationTests.swift",
"FlagValueDictionaryTests.swift",
"FlagValueSourceTests.swift",
"FlagValueUnboxingTests.swift",
"KeyEncodingTests.swift",
"PublisherTests.swift",
"SnapshotTests.swift",
"TestHelpers.swift",
"UserDefaultPublisherTests.swift",
"UserDefaultsDecodingTests.swift",
"UserDefaultsEncodingTests.swift"
],
"target_dependencies" : [
"Vexil"
],
"type" : "test"
},
{
"c99name" : "Vexil",
"module_type" : "SwiftTarget",
"name" : "Vexil",
"path" : "Sources/Vexil",
"product_memberships" : [
"Vexil",
"Vexillographer"
],
"sources" : [
"Configuration.swift",
"Container.swift",
"Decorator.swift",
"Diagnostics.swift",
"Flag.swift",
"FlagInfo.swift",
"Group.swift",
"Lookup.swift",
"Pole.swift",
"Snapshots/AnyFlag.swift",
"Snapshots/LocatedFlagValue.swift",
"Snapshots/MutableFlagGroup.swift",
"Snapshots/Snapshot+Extensions.swift",
"Snapshots/Snapshot+FlagValueSource.swift",
"Snapshots/Snapshot+Lookup.swift",
"Snapshots/Snapshot.swift",
"Sources/BoxedFlagValue+NSObject.swift",
"Sources/FlagValueDictionary+Collection.swift",
"Sources/FlagValueDictionary+FlagValueSource.swift",
"Sources/FlagValueDictionary.swift",
"Sources/FlagValueSource.swift",
"Sources/NSUbiquitousKeyValueStore+FlagValueSource.swift",
"Sources/UserDefaults+FlagValueSource.swift",
"Utilities/BoxedFlagValue+Codable.swift",
"Utilities/CollectionDifference.Change+Element.swift",
"Utilities/Locks.swift",
"Value.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.