Build Information
Successful build of ViewInspector, reference 0.10.1 (788e78
), with Swift 6.0 for macOS (SPM) on 8 Dec 2024 22:58:04 UTC.
Swift 6 data race errors: 3
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
64 | DispatchQueue.main.async {
65 | let request = ASAuthorizationAppleIDProvider().createRequest()
66 | button.onRequest(request)
| |- warning: sending 'button' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'button' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
67 | let result: Result<ASAuthorization, Error>
68 | switch outcome {
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/SignInWithAppleButton.swift:68:20: warning: sending 'outcome' risks causing data races; this is an error in the Swift 6 language mode
66 | button.onRequest(request)
67 | let result: Result<ASAuthorization, Error>
68 | switch outcome {
| |- warning: sending 'outcome' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'outcome' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
69 | case .appleIDCredential(let credential):
70 | let surrogate = VIASAuthorization(
[80/127] Compiling ViewInspector RadialGradient.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/Sheet.swift:65:45: warning: converting function value of type '@MainActor (Any) -> Bool' to '(any ModifierNameProvider) -> Bool' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
63 | func sheet(parent: UnwrappedView, index: Int?, name: String = "Sheet") throws -> InspectableView<ViewType.Sheet> {
64 | return try popup(parent: parent, index: index, name: name,
65 | modifierPredicate: isSheetBuilder(modifier:),
| `- warning: converting function value of type '@MainActor (Any) -> Bool' to '(any ModifierNameProvider) -> Bool' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
66 | standardPredicate: standardSheetModifier)
67 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/SignInWithAppleButton.swift:98:1: warning: extension declares a conformance of imported type 'Label' to imported protocol 'Equatable'; this will not behave correctly if the owners of '_AuthenticationServices_SwiftUI' introduce this conformance in the future
96 |
97 | @available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *)
98 | extension SignInWithAppleButton.Label: BinaryEquatable {
| |- warning: extension declares a conformance of imported type 'Label' to imported protocol 'Equatable'; this will not behave correctly if the owners of '_AuthenticationServices_SwiftUI' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
99 | init(type: ASAuthorizationAppleIDButton.ButtonType) {
100 | switch type {
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/SignInWithAppleButton.swift:66:13: warning: sending 'button' risks causing data races; this is an error in the Swift 6 language mode
64 | DispatchQueue.main.async {
65 | let request = ASAuthorizationAppleIDProvider().createRequest()
66 | button.onRequest(request)
| |- warning: sending 'button' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'button' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
67 | let result: Result<ASAuthorization, Error>
68 | switch outcome {
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/SignInWithAppleButton.swift:68:20: warning: sending 'outcome' risks causing data races; this is an error in the Swift 6 language mode
66 | button.onRequest(request)
67 | let result: Result<ASAuthorization, Error>
68 | switch outcome {
| |- warning: sending 'outcome' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'outcome' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
69 | case .appleIDCredential(let credential):
70 | let surrogate = VIASAuthorization(
[81/127] Compiling ViewInspector SafeAreaInset.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/Sheet.swift:65:45: warning: converting function value of type '@MainActor (Any) -> Bool' to '(any ModifierNameProvider) -> Bool' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
63 | func sheet(parent: UnwrappedView, index: Int?, name: String = "Sheet") throws -> InspectableView<ViewType.Sheet> {
64 | return try popup(parent: parent, index: index, name: name,
65 | modifierPredicate: isSheetBuilder(modifier:),
| `- warning: converting function value of type '@MainActor (Any) -> Bool' to '(any ModifierNameProvider) -> Bool' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
66 | standardPredicate: standardSheetModifier)
67 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/SignInWithAppleButton.swift:98:1: warning: extension declares a conformance of imported type 'Label' to imported protocol 'Equatable'; this will not behave correctly if the owners of '_AuthenticationServices_SwiftUI' introduce this conformance in the future
96 |
97 | @available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *)
98 | extension SignInWithAppleButton.Label: BinaryEquatable {
| |- warning: extension declares a conformance of imported type 'Label' to imported protocol 'Equatable'; this will not behave correctly if the owners of '_AuthenticationServices_SwiftUI' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
99 | init(type: ASAuthorizationAppleIDButton.ButtonType) {
100 | switch type {
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/SignInWithAppleButton.swift:66:13: warning: sending 'button' risks causing data races; this is an error in the Swift 6 language mode
64 | DispatchQueue.main.async {
65 | let request = ASAuthorizationAppleIDProvider().createRequest()
66 | button.onRequest(request)
| |- warning: sending 'button' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'button' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
67 | let result: Result<ASAuthorization, Error>
68 | switch outcome {
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/SignInWithAppleButton.swift:68:20: warning: sending 'outcome' risks causing data races; this is an error in the Swift 6 language mode
66 | button.onRequest(request)
67 | let result: Result<ASAuthorization, Error>
68 | switch outcome {
| |- warning: sending 'outcome' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'outcome' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
69 | case .appleIDCredential(let credential):
70 | let surrogate = VIASAuthorization(
[82/127] Compiling ViewInspector ScrollView.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/Sheet.swift:65:45: warning: converting function value of type '@MainActor (Any) -> Bool' to '(any ModifierNameProvider) -> Bool' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
63 | func sheet(parent: UnwrappedView, index: Int?, name: String = "Sheet") throws -> InspectableView<ViewType.Sheet> {
64 | return try popup(parent: parent, index: index, name: name,
65 | modifierPredicate: isSheetBuilder(modifier:),
| `- warning: converting function value of type '@MainActor (Any) -> Bool' to '(any ModifierNameProvider) -> Bool' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
66 | standardPredicate: standardSheetModifier)
67 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/SignInWithAppleButton.swift:98:1: warning: extension declares a conformance of imported type 'Label' to imported protocol 'Equatable'; this will not behave correctly if the owners of '_AuthenticationServices_SwiftUI' introduce this conformance in the future
96 |
97 | @available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *)
98 | extension SignInWithAppleButton.Label: BinaryEquatable {
| |- warning: extension declares a conformance of imported type 'Label' to imported protocol 'Equatable'; this will not behave correctly if the owners of '_AuthenticationServices_SwiftUI' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
99 | init(type: ASAuthorizationAppleIDButton.ButtonType) {
100 | switch type {
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/SignInWithAppleButton.swift:66:13: warning: sending 'button' risks causing data races; this is an error in the Swift 6 language mode
64 | DispatchQueue.main.async {
65 | let request = ASAuthorizationAppleIDProvider().createRequest()
66 | button.onRequest(request)
| |- warning: sending 'button' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'button' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
67 | let result: Result<ASAuthorization, Error>
68 | switch outcome {
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/SignInWithAppleButton.swift:68:20: warning: sending 'outcome' risks causing data races; this is an error in the Swift 6 language mode
66 | button.onRequest(request)
67 | let result: Result<ASAuthorization, Error>
68 | switch outcome {
| |- warning: sending 'outcome' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'outcome' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
69 | case .appleIDCredential(let credential):
70 | let surrogate = VIASAuthorization(
[83/127] Compiling ViewInspector ScrollViewReader.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/Sheet.swift:65:45: warning: converting function value of type '@MainActor (Any) -> Bool' to '(any ModifierNameProvider) -> Bool' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
63 | func sheet(parent: UnwrappedView, index: Int?, name: String = "Sheet") throws -> InspectableView<ViewType.Sheet> {
64 | return try popup(parent: parent, index: index, name: name,
65 | modifierPredicate: isSheetBuilder(modifier:),
| `- warning: converting function value of type '@MainActor (Any) -> Bool' to '(any ModifierNameProvider) -> Bool' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
66 | standardPredicate: standardSheetModifier)
67 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/SignInWithAppleButton.swift:98:1: warning: extension declares a conformance of imported type 'Label' to imported protocol 'Equatable'; this will not behave correctly if the owners of '_AuthenticationServices_SwiftUI' introduce this conformance in the future
96 |
97 | @available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *)
98 | extension SignInWithAppleButton.Label: BinaryEquatable {
| |- warning: extension declares a conformance of imported type 'Label' to imported protocol 'Equatable'; this will not behave correctly if the owners of '_AuthenticationServices_SwiftUI' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
99 | init(type: ASAuthorizationAppleIDButton.ButtonType) {
100 | switch type {
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/SignInWithAppleButton.swift:66:13: warning: sending 'button' risks causing data races; this is an error in the Swift 6 language mode
64 | DispatchQueue.main.async {
65 | let request = ASAuthorizationAppleIDProvider().createRequest()
66 | button.onRequest(request)
| |- warning: sending 'button' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'button' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
67 | let result: Result<ASAuthorization, Error>
68 | switch outcome {
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/SignInWithAppleButton.swift:68:20: warning: sending 'outcome' risks causing data races; this is an error in the Swift 6 language mode
66 | button.onRequest(request)
67 | let result: Result<ASAuthorization, Error>
68 | switch outcome {
| |- warning: sending 'outcome' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'outcome' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
69 | case .appleIDCredential(let credential):
70 | let surrogate = VIASAuthorization(
[84/127] Compiling ViewInspector Section.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/Sheet.swift:65:45: warning: converting function value of type '@MainActor (Any) -> Bool' to '(any ModifierNameProvider) -> Bool' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
63 | func sheet(parent: UnwrappedView, index: Int?, name: String = "Sheet") throws -> InspectableView<ViewType.Sheet> {
64 | return try popup(parent: parent, index: index, name: name,
65 | modifierPredicate: isSheetBuilder(modifier:),
| `- warning: converting function value of type '@MainActor (Any) -> Bool' to '(any ModifierNameProvider) -> Bool' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
66 | standardPredicate: standardSheetModifier)
67 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/SignInWithAppleButton.swift:98:1: warning: extension declares a conformance of imported type 'Label' to imported protocol 'Equatable'; this will not behave correctly if the owners of '_AuthenticationServices_SwiftUI' introduce this conformance in the future
96 |
97 | @available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *)
98 | extension SignInWithAppleButton.Label: BinaryEquatable {
| |- warning: extension declares a conformance of imported type 'Label' to imported protocol 'Equatable'; this will not behave correctly if the owners of '_AuthenticationServices_SwiftUI' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
99 | init(type: ASAuthorizationAppleIDButton.ButtonType) {
100 | switch type {
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/SignInWithAppleButton.swift:66:13: warning: sending 'button' risks causing data races; this is an error in the Swift 6 language mode
64 | DispatchQueue.main.async {
65 | let request = ASAuthorizationAppleIDProvider().createRequest()
66 | button.onRequest(request)
| |- warning: sending 'button' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'button' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
67 | let result: Result<ASAuthorization, Error>
68 | switch outcome {
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/SignInWithAppleButton.swift:68:20: warning: sending 'outcome' risks causing data races; this is an error in the Swift 6 language mode
66 | button.onRequest(request)
67 | let result: Result<ASAuthorization, Error>
68 | switch outcome {
| |- warning: sending 'outcome' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'outcome' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
69 | case .appleIDCredential(let credential):
70 | let surrogate = VIASAuthorization(
[85/127] Compiling ViewInspector SecureField.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/Sheet.swift:65:45: warning: converting function value of type '@MainActor (Any) -> Bool' to '(any ModifierNameProvider) -> Bool' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
63 | func sheet(parent: UnwrappedView, index: Int?, name: String = "Sheet") throws -> InspectableView<ViewType.Sheet> {
64 | return try popup(parent: parent, index: index, name: name,
65 | modifierPredicate: isSheetBuilder(modifier:),
| `- warning: converting function value of type '@MainActor (Any) -> Bool' to '(any ModifierNameProvider) -> Bool' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
66 | standardPredicate: standardSheetModifier)
67 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/SignInWithAppleButton.swift:98:1: warning: extension declares a conformance of imported type 'Label' to imported protocol 'Equatable'; this will not behave correctly if the owners of '_AuthenticationServices_SwiftUI' introduce this conformance in the future
96 |
97 | @available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *)
98 | extension SignInWithAppleButton.Label: BinaryEquatable {
| |- warning: extension declares a conformance of imported type 'Label' to imported protocol 'Equatable'; this will not behave correctly if the owners of '_AuthenticationServices_SwiftUI' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
99 | init(type: ASAuthorizationAppleIDButton.ButtonType) {
100 | switch type {
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/SignInWithAppleButton.swift:66:13: warning: sending 'button' risks causing data races; this is an error in the Swift 6 language mode
64 | DispatchQueue.main.async {
65 | let request = ASAuthorizationAppleIDProvider().createRequest()
66 | button.onRequest(request)
| |- warning: sending 'button' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'button' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
67 | let result: Result<ASAuthorization, Error>
68 | switch outcome {
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/SignInWithAppleButton.swift:68:20: warning: sending 'outcome' risks causing data races; this is an error in the Swift 6 language mode
66 | button.onRequest(request)
67 | let result: Result<ASAuthorization, Error>
68 | switch outcome {
| |- warning: sending 'outcome' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'outcome' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
69 | case .appleIDCredential(let credential):
70 | let surrogate = VIASAuthorization(
[86/127] Compiling ViewInspector Shape.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/Sheet.swift:65:45: warning: converting function value of type '@MainActor (Any) -> Bool' to '(any ModifierNameProvider) -> Bool' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
63 | func sheet(parent: UnwrappedView, index: Int?, name: String = "Sheet") throws -> InspectableView<ViewType.Sheet> {
64 | return try popup(parent: parent, index: index, name: name,
65 | modifierPredicate: isSheetBuilder(modifier:),
| `- warning: converting function value of type '@MainActor (Any) -> Bool' to '(any ModifierNameProvider) -> Bool' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
66 | standardPredicate: standardSheetModifier)
67 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/SignInWithAppleButton.swift:98:1: warning: extension declares a conformance of imported type 'Label' to imported protocol 'Equatable'; this will not behave correctly if the owners of '_AuthenticationServices_SwiftUI' introduce this conformance in the future
96 |
97 | @available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *)
98 | extension SignInWithAppleButton.Label: BinaryEquatable {
| |- warning: extension declares a conformance of imported type 'Label' to imported protocol 'Equatable'; this will not behave correctly if the owners of '_AuthenticationServices_SwiftUI' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
99 | init(type: ASAuthorizationAppleIDButton.ButtonType) {
100 | switch type {
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/SignInWithAppleButton.swift:66:13: warning: sending 'button' risks causing data races; this is an error in the Swift 6 language mode
64 | DispatchQueue.main.async {
65 | let request = ASAuthorizationAppleIDProvider().createRequest()
66 | button.onRequest(request)
| |- warning: sending 'button' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'button' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
67 | let result: Result<ASAuthorization, Error>
68 | switch outcome {
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/SignInWithAppleButton.swift:68:20: warning: sending 'outcome' risks causing data races; this is an error in the Swift 6 language mode
66 | button.onRequest(request)
67 | let result: Result<ASAuthorization, Error>
68 | switch outcome {
| |- warning: sending 'outcome' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'outcome' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
69 | case .appleIDCredential(let credential):
70 | let surrogate = VIASAuthorization(
[87/127] Compiling ViewInspector ShareLink.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/Sheet.swift:65:45: warning: converting function value of type '@MainActor (Any) -> Bool' to '(any ModifierNameProvider) -> Bool' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
63 | func sheet(parent: UnwrappedView, index: Int?, name: String = "Sheet") throws -> InspectableView<ViewType.Sheet> {
64 | return try popup(parent: parent, index: index, name: name,
65 | modifierPredicate: isSheetBuilder(modifier:),
| `- warning: converting function value of type '@MainActor (Any) -> Bool' to '(any ModifierNameProvider) -> Bool' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
66 | standardPredicate: standardSheetModifier)
67 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/SignInWithAppleButton.swift:98:1: warning: extension declares a conformance of imported type 'Label' to imported protocol 'Equatable'; this will not behave correctly if the owners of '_AuthenticationServices_SwiftUI' introduce this conformance in the future
96 |
97 | @available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *)
98 | extension SignInWithAppleButton.Label: BinaryEquatable {
| |- warning: extension declares a conformance of imported type 'Label' to imported protocol 'Equatable'; this will not behave correctly if the owners of '_AuthenticationServices_SwiftUI' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
99 | init(type: ASAuthorizationAppleIDButton.ButtonType) {
100 | switch type {
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/SignInWithAppleButton.swift:66:13: warning: sending 'button' risks causing data races; this is an error in the Swift 6 language mode
64 | DispatchQueue.main.async {
65 | let request = ASAuthorizationAppleIDProvider().createRequest()
66 | button.onRequest(request)
| |- warning: sending 'button' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'button' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
67 | let result: Result<ASAuthorization, Error>
68 | switch outcome {
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/SignInWithAppleButton.swift:68:20: warning: sending 'outcome' risks causing data races; this is an error in the Swift 6 language mode
66 | button.onRequest(request)
67 | let result: Result<ASAuthorization, Error>
68 | switch outcome {
| |- warning: sending 'outcome' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'outcome' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
69 | case .appleIDCredential(let credential):
70 | let surrogate = VIASAuthorization(
[88/127] Compiling ViewInspector Sheet.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/Sheet.swift:65:45: warning: converting function value of type '@MainActor (Any) -> Bool' to '(any ModifierNameProvider) -> Bool' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
63 | func sheet(parent: UnwrappedView, index: Int?, name: String = "Sheet") throws -> InspectableView<ViewType.Sheet> {
64 | return try popup(parent: parent, index: index, name: name,
65 | modifierPredicate: isSheetBuilder(modifier:),
| `- warning: converting function value of type '@MainActor (Any) -> Bool' to '(any ModifierNameProvider) -> Bool' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
66 | standardPredicate: standardSheetModifier)
67 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/SignInWithAppleButton.swift:98:1: warning: extension declares a conformance of imported type 'Label' to imported protocol 'Equatable'; this will not behave correctly if the owners of '_AuthenticationServices_SwiftUI' introduce this conformance in the future
96 |
97 | @available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *)
98 | extension SignInWithAppleButton.Label: BinaryEquatable {
| |- warning: extension declares a conformance of imported type 'Label' to imported protocol 'Equatable'; this will not behave correctly if the owners of '_AuthenticationServices_SwiftUI' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
99 | init(type: ASAuthorizationAppleIDButton.ButtonType) {
100 | switch type {
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/SignInWithAppleButton.swift:66:13: warning: sending 'button' risks causing data races; this is an error in the Swift 6 language mode
64 | DispatchQueue.main.async {
65 | let request = ASAuthorizationAppleIDProvider().createRequest()
66 | button.onRequest(request)
| |- warning: sending 'button' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'button' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
67 | let result: Result<ASAuthorization, Error>
68 | switch outcome {
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/SignInWithAppleButton.swift:68:20: warning: sending 'outcome' risks causing data races; this is an error in the Swift 6 language mode
66 | button.onRequest(request)
67 | let result: Result<ASAuthorization, Error>
68 | switch outcome {
| |- warning: sending 'outcome' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'outcome' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
69 | case .appleIDCredential(let credential):
70 | let surrogate = VIASAuthorization(
[89/127] Compiling ViewInspector SignInWithAppleButton.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/Sheet.swift:65:45: warning: converting function value of type '@MainActor (Any) -> Bool' to '(any ModifierNameProvider) -> Bool' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
63 | func sheet(parent: UnwrappedView, index: Int?, name: String = "Sheet") throws -> InspectableView<ViewType.Sheet> {
64 | return try popup(parent: parent, index: index, name: name,
65 | modifierPredicate: isSheetBuilder(modifier:),
| `- warning: converting function value of type '@MainActor (Any) -> Bool' to '(any ModifierNameProvider) -> Bool' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
66 | standardPredicate: standardSheetModifier)
67 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/SignInWithAppleButton.swift:98:1: warning: extension declares a conformance of imported type 'Label' to imported protocol 'Equatable'; this will not behave correctly if the owners of '_AuthenticationServices_SwiftUI' introduce this conformance in the future
96 |
97 | @available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *)
98 | extension SignInWithAppleButton.Label: BinaryEquatable {
| |- warning: extension declares a conformance of imported type 'Label' to imported protocol 'Equatable'; this will not behave correctly if the owners of '_AuthenticationServices_SwiftUI' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
99 | init(type: ASAuthorizationAppleIDButton.ButtonType) {
100 | switch type {
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/SignInWithAppleButton.swift:66:13: warning: sending 'button' risks causing data races; this is an error in the Swift 6 language mode
64 | DispatchQueue.main.async {
65 | let request = ASAuthorizationAppleIDProvider().createRequest()
66 | button.onRequest(request)
| |- warning: sending 'button' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'button' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
67 | let result: Result<ASAuthorization, Error>
68 | switch outcome {
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/SignInWithAppleButton.swift:68:20: warning: sending 'outcome' risks causing data races; this is an error in the Swift 6 language mode
66 | button.onRequest(request)
67 | let result: Result<ASAuthorization, Error>
68 | switch outcome {
| |- warning: sending 'outcome' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'outcome' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
69 | case .appleIDCredential(let credential):
70 | let surrogate = VIASAuthorization(
[90/127] Compiling ViewInspector Slider.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/Sheet.swift:65:45: warning: converting function value of type '@MainActor (Any) -> Bool' to '(any ModifierNameProvider) -> Bool' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
63 | func sheet(parent: UnwrappedView, index: Int?, name: String = "Sheet") throws -> InspectableView<ViewType.Sheet> {
64 | return try popup(parent: parent, index: index, name: name,
65 | modifierPredicate: isSheetBuilder(modifier:),
| `- warning: converting function value of type '@MainActor (Any) -> Bool' to '(any ModifierNameProvider) -> Bool' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
66 | standardPredicate: standardSheetModifier)
67 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/SignInWithAppleButton.swift:98:1: warning: extension declares a conformance of imported type 'Label' to imported protocol 'Equatable'; this will not behave correctly if the owners of '_AuthenticationServices_SwiftUI' introduce this conformance in the future
96 |
97 | @available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *)
98 | extension SignInWithAppleButton.Label: BinaryEquatable {
| |- warning: extension declares a conformance of imported type 'Label' to imported protocol 'Equatable'; this will not behave correctly if the owners of '_AuthenticationServices_SwiftUI' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
99 | init(type: ASAuthorizationAppleIDButton.ButtonType) {
100 | switch type {
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/SignInWithAppleButton.swift:66:13: warning: sending 'button' risks causing data races; this is an error in the Swift 6 language mode
64 | DispatchQueue.main.async {
65 | let request = ASAuthorizationAppleIDProvider().createRequest()
66 | button.onRequest(request)
| |- warning: sending 'button' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'button' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
67 | let result: Result<ASAuthorization, Error>
68 | switch outcome {
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/SignInWithAppleButton.swift:68:20: warning: sending 'outcome' risks causing data races; this is an error in the Swift 6 language mode
66 | button.onRequest(request)
67 | let result: Result<ASAuthorization, Error>
68 | switch outcome {
| |- warning: sending 'outcome' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'outcome' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
69 | case .appleIDCredential(let credential):
70 | let surrogate = VIASAuthorization(
[91/127] Compiling ViewInspector Alert.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/Alert.swift:36:49: warning: converting function value of type '@MainActor (Any) -> Bool' to '(any ModifierNameProvider) -> Bool' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
34 | do {
35 | return try popup(parent: parent, index: index,
36 | modifierPredicate: isDeprecatedAlertPresenter(modifier:),
| `- warning: converting function value of type '@MainActor (Any) -> Bool' to '(any ModifierNameProvider) -> Bool' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
37 | standardPredicate: deprecatedStandardAlertModifier)
38 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/Alert.swift:274:13: warning: sending 'presenter' risks causing data races; this is an error in the Swift 6 language mode
272 | else { throw InspectionError.parentViewNotFound(view: "Alert.Button") }
273 | MainActor.assumeIsolated {
274 | presenter.dismissPopup()
| |- warning: sending 'presenter' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'presenter' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
275 | }
276 | typealias Callback = () -> Void
[92/127] Compiling ViewInspector AngularGradient.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/Alert.swift:36:49: warning: converting function value of type '@MainActor (Any) -> Bool' to '(any ModifierNameProvider) -> Bool' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
34 | do {
35 | return try popup(parent: parent, index: index,
36 | modifierPredicate: isDeprecatedAlertPresenter(modifier:),
| `- warning: converting function value of type '@MainActor (Any) -> Bool' to '(any ModifierNameProvider) -> Bool' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
37 | standardPredicate: deprecatedStandardAlertModifier)
38 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/Alert.swift:274:13: warning: sending 'presenter' risks causing data races; this is an error in the Swift 6 language mode
272 | else { throw InspectionError.parentViewNotFound(view: "Alert.Button") }
273 | MainActor.assumeIsolated {
274 | presenter.dismissPopup()
| |- warning: sending 'presenter' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'presenter' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
275 | }
276 | typealias Callback = () -> Void
[93/127] Compiling ViewInspector AnyView.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/Alert.swift:36:49: warning: converting function value of type '@MainActor (Any) -> Bool' to '(any ModifierNameProvider) -> Bool' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
34 | do {
35 | return try popup(parent: parent, index: index,
36 | modifierPredicate: isDeprecatedAlertPresenter(modifier:),
| `- warning: converting function value of type '@MainActor (Any) -> Bool' to '(any ModifierNameProvider) -> Bool' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
37 | standardPredicate: deprecatedStandardAlertModifier)
38 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/Alert.swift:274:13: warning: sending 'presenter' risks causing data races; this is an error in the Swift 6 language mode
272 | else { throw InspectionError.parentViewNotFound(view: "Alert.Button") }
273 | MainActor.assumeIsolated {
274 | presenter.dismissPopup()
| |- warning: sending 'presenter' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'presenter' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
275 | }
276 | typealias Callback = () -> Void
[94/127] Compiling ViewInspector AsyncImage.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/Alert.swift:36:49: warning: converting function value of type '@MainActor (Any) -> Bool' to '(any ModifierNameProvider) -> Bool' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
34 | do {
35 | return try popup(parent: parent, index: index,
36 | modifierPredicate: isDeprecatedAlertPresenter(modifier:),
| `- warning: converting function value of type '@MainActor (Any) -> Bool' to '(any ModifierNameProvider) -> Bool' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
37 | standardPredicate: deprecatedStandardAlertModifier)
38 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/Alert.swift:274:13: warning: sending 'presenter' risks causing data races; this is an error in the Swift 6 language mode
272 | else { throw InspectionError.parentViewNotFound(view: "Alert.Button") }
273 | MainActor.assumeIsolated {
274 | presenter.dismissPopup()
| |- warning: sending 'presenter' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'presenter' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
275 | }
276 | typealias Callback = () -> Void
[95/127] Compiling ViewInspector Button.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/Alert.swift:36:49: warning: converting function value of type '@MainActor (Any) -> Bool' to '(any ModifierNameProvider) -> Bool' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
34 | do {
35 | return try popup(parent: parent, index: index,
36 | modifierPredicate: isDeprecatedAlertPresenter(modifier:),
| `- warning: converting function value of type '@MainActor (Any) -> Bool' to '(any ModifierNameProvider) -> Bool' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
37 | standardPredicate: deprecatedStandardAlertModifier)
38 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/Alert.swift:274:13: warning: sending 'presenter' risks causing data races; this is an error in the Swift 6 language mode
272 | else { throw InspectionError.parentViewNotFound(view: "Alert.Button") }
273 | MainActor.assumeIsolated {
274 | presenter.dismissPopup()
| |- warning: sending 'presenter' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'presenter' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
275 | }
276 | typealias Callback = () -> Void
[96/127] Compiling ViewInspector Canvas.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/Alert.swift:36:49: warning: converting function value of type '@MainActor (Any) -> Bool' to '(any ModifierNameProvider) -> Bool' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
34 | do {
35 | return try popup(parent: parent, index: index,
36 | modifierPredicate: isDeprecatedAlertPresenter(modifier:),
| `- warning: converting function value of type '@MainActor (Any) -> Bool' to '(any ModifierNameProvider) -> Bool' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
37 | standardPredicate: deprecatedStandardAlertModifier)
38 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/Alert.swift:274:13: warning: sending 'presenter' risks causing data races; this is an error in the Swift 6 language mode
272 | else { throw InspectionError.parentViewNotFound(view: "Alert.Button") }
273 | MainActor.assumeIsolated {
274 | presenter.dismissPopup()
| |- warning: sending 'presenter' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'presenter' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
275 | }
276 | typealias Callback = () -> Void
[97/127] Compiling ViewInspector ClassifiedView.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/Alert.swift:36:49: warning: converting function value of type '@MainActor (Any) -> Bool' to '(any ModifierNameProvider) -> Bool' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
34 | do {
35 | return try popup(parent: parent, index: index,
36 | modifierPredicate: isDeprecatedAlertPresenter(modifier:),
| `- warning: converting function value of type '@MainActor (Any) -> Bool' to '(any ModifierNameProvider) -> Bool' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
37 | standardPredicate: deprecatedStandardAlertModifier)
38 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/Alert.swift:274:13: warning: sending 'presenter' risks causing data races; this is an error in the Swift 6 language mode
272 | else { throw InspectionError.parentViewNotFound(view: "Alert.Button") }
273 | MainActor.assumeIsolated {
274 | presenter.dismissPopup()
| |- warning: sending 'presenter' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'presenter' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
275 | }
276 | typealias Callback = () -> Void
[98/127] Compiling ViewInspector Color.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/Alert.swift:36:49: warning: converting function value of type '@MainActor (Any) -> Bool' to '(any ModifierNameProvider) -> Bool' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
34 | do {
35 | return try popup(parent: parent, index: index,
36 | modifierPredicate: isDeprecatedAlertPresenter(modifier:),
| `- warning: converting function value of type '@MainActor (Any) -> Bool' to '(any ModifierNameProvider) -> Bool' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
37 | standardPredicate: deprecatedStandardAlertModifier)
38 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/Alert.swift:274:13: warning: sending 'presenter' risks causing data races; this is an error in the Swift 6 language mode
272 | else { throw InspectionError.parentViewNotFound(view: "Alert.Button") }
273 | MainActor.assumeIsolated {
274 | presenter.dismissPopup()
| |- warning: sending 'presenter' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'presenter' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
275 | }
276 | typealias Callback = () -> Void
[99/127] Compiling ViewInspector ColorPicker.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/Alert.swift:36:49: warning: converting function value of type '@MainActor (Any) -> Bool' to '(any ModifierNameProvider) -> Bool' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
34 | do {
35 | return try popup(parent: parent, index: index,
36 | modifierPredicate: isDeprecatedAlertPresenter(modifier:),
| `- warning: converting function value of type '@MainActor (Any) -> Bool' to '(any ModifierNameProvider) -> Bool' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
37 | standardPredicate: deprecatedStandardAlertModifier)
38 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/Alert.swift:274:13: warning: sending 'presenter' risks causing data races; this is an error in the Swift 6 language mode
272 | else { throw InspectionError.parentViewNotFound(view: "Alert.Button") }
273 | MainActor.assumeIsolated {
274 | presenter.dismissPopup()
| |- warning: sending 'presenter' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'presenter' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
275 | }
276 | typealias Callback = () -> Void
[100/127] Compiling ViewInspector ConditionalContent.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/Alert.swift:36:49: warning: converting function value of type '@MainActor (Any) -> Bool' to '(any ModifierNameProvider) -> Bool' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
34 | do {
35 | return try popup(parent: parent, index: index,
36 | modifierPredicate: isDeprecatedAlertPresenter(modifier:),
| `- warning: converting function value of type '@MainActor (Any) -> Bool' to '(any ModifierNameProvider) -> Bool' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
37 | standardPredicate: deprecatedStandardAlertModifier)
38 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/Alert.swift:274:13: warning: sending 'presenter' risks causing data races; this is an error in the Swift 6 language mode
272 | else { throw InspectionError.parentViewNotFound(view: "Alert.Button") }
273 | MainActor.assumeIsolated {
274 | presenter.dismissPopup()
| |- warning: sending 'presenter' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'presenter' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
275 | }
276 | typealias Callback = () -> Void
[101/127] Compiling ViewInspector ConfirmationDialog.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/Alert.swift:36:49: warning: converting function value of type '@MainActor (Any) -> Bool' to '(any ModifierNameProvider) -> Bool' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
34 | do {
35 | return try popup(parent: parent, index: index,
36 | modifierPredicate: isDeprecatedAlertPresenter(modifier:),
| `- warning: converting function value of type '@MainActor (Any) -> Bool' to '(any ModifierNameProvider) -> Bool' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
37 | standardPredicate: deprecatedStandardAlertModifier)
38 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/Alert.swift:274:13: warning: sending 'presenter' risks causing data races; this is an error in the Swift 6 language mode
272 | else { throw InspectionError.parentViewNotFound(view: "Alert.Button") }
273 | MainActor.assumeIsolated {
274 | presenter.dismissPopup()
| |- warning: sending 'presenter' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'presenter' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
275 | }
276 | typealias Callback = () -> Void
[102/127] Compiling ViewInspector ContentUnavailableView.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/Alert.swift:36:49: warning: converting function value of type '@MainActor (Any) -> Bool' to '(any ModifierNameProvider) -> Bool' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
34 | do {
35 | return try popup(parent: parent, index: index,
36 | modifierPredicate: isDeprecatedAlertPresenter(modifier:),
| `- warning: converting function value of type '@MainActor (Any) -> Bool' to '(any ModifierNameProvider) -> Bool' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
37 | standardPredicate: deprecatedStandardAlertModifier)
38 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/Alert.swift:274:13: warning: sending 'presenter' risks causing data races; this is an error in the Swift 6 language mode
272 | else { throw InspectionError.parentViewNotFound(view: "Alert.Button") }
273 | MainActor.assumeIsolated {
274 | presenter.dismissPopup()
| |- warning: sending 'presenter' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'presenter' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
275 | }
276 | typealias Callback = () -> Void
[103/127] Compiling ViewInspector ControlGroup.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/Alert.swift:36:49: warning: converting function value of type '@MainActor (Any) -> Bool' to '(any ModifierNameProvider) -> Bool' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
34 | do {
35 | return try popup(parent: parent, index: index,
36 | modifierPredicate: isDeprecatedAlertPresenter(modifier:),
| `- warning: converting function value of type '@MainActor (Any) -> Bool' to '(any ModifierNameProvider) -> Bool' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
37 | standardPredicate: deprecatedStandardAlertModifier)
38 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/Alert.swift:274:13: warning: sending 'presenter' risks causing data races; this is an error in the Swift 6 language mode
272 | else { throw InspectionError.parentViewNotFound(view: "Alert.Button") }
273 | MainActor.assumeIsolated {
274 | presenter.dismissPopup()
| |- warning: sending 'presenter' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'presenter' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
275 | }
276 | typealias Callback = () -> Void
[104/127] Compiling ViewInspector LazyHStack.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/Map.swift:137:10: warning: main actor-isolated instance method 'contains' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
130 | @available(iOS 14.0, tvOS 14.0, macOS 11.0, *)
131 | internal protocol IdentifiableItemsContainer {
132 | func contains<T: Identifiable>(_ item: T) -> Bool
| `- note: mark the protocol requirement 'contains' 'async' to allow actor-isolated conformances
133 | }
134 |
135 | @available(iOS 14.0, tvOS 14.0, macOS 11.0, watchOS 7.0, *)
136 | extension _DefaultAnnotatedMapContent: IdentifiableItemsContainer {
| `- note: add '@preconcurrency' to the 'IdentifiableItemsContainer' conformance to defer isolation checking to run time
137 | func contains<T: Identifiable>(_ item: T) -> Bool {
| |- warning: main actor-isolated instance method 'contains' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'contains' to make this instance method not isolated to the actor
138 | guard let item = item as? Items.Element,
139 | let items = try? Inspector.attribute(label: "items", value: self, type: Items?.self)
[105/127] Compiling ViewInspector LazyVGrid.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/Map.swift:137:10: warning: main actor-isolated instance method 'contains' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
130 | @available(iOS 14.0, tvOS 14.0, macOS 11.0, *)
131 | internal protocol IdentifiableItemsContainer {
132 | func contains<T: Identifiable>(_ item: T) -> Bool
| `- note: mark the protocol requirement 'contains' 'async' to allow actor-isolated conformances
133 | }
134 |
135 | @available(iOS 14.0, tvOS 14.0, macOS 11.0, watchOS 7.0, *)
136 | extension _DefaultAnnotatedMapContent: IdentifiableItemsContainer {
| `- note: add '@preconcurrency' to the 'IdentifiableItemsContainer' conformance to defer isolation checking to run time
137 | func contains<T: Identifiable>(_ item: T) -> Bool {
| |- warning: main actor-isolated instance method 'contains' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'contains' to make this instance method not isolated to the actor
138 | guard let item = item as? Items.Element,
139 | let items = try? Inspector.attribute(label: "items", value: self, type: Items?.self)
[106/127] Compiling ViewInspector LazyVStack.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/Map.swift:137:10: warning: main actor-isolated instance method 'contains' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
130 | @available(iOS 14.0, tvOS 14.0, macOS 11.0, *)
131 | internal protocol IdentifiableItemsContainer {
132 | func contains<T: Identifiable>(_ item: T) -> Bool
| `- note: mark the protocol requirement 'contains' 'async' to allow actor-isolated conformances
133 | }
134 |
135 | @available(iOS 14.0, tvOS 14.0, macOS 11.0, watchOS 7.0, *)
136 | extension _DefaultAnnotatedMapContent: IdentifiableItemsContainer {
| `- note: add '@preconcurrency' to the 'IdentifiableItemsContainer' conformance to defer isolation checking to run time
137 | func contains<T: Identifiable>(_ item: T) -> Bool {
| |- warning: main actor-isolated instance method 'contains' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'contains' to make this instance method not isolated to the actor
138 | guard let item = item as? Items.Element,
139 | let items = try? Inspector.attribute(label: "items", value: self, type: Items?.self)
[107/127] Compiling ViewInspector LinearGradient.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/Map.swift:137:10: warning: main actor-isolated instance method 'contains' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
130 | @available(iOS 14.0, tvOS 14.0, macOS 11.0, *)
131 | internal protocol IdentifiableItemsContainer {
132 | func contains<T: Identifiable>(_ item: T) -> Bool
| `- note: mark the protocol requirement 'contains' 'async' to allow actor-isolated conformances
133 | }
134 |
135 | @available(iOS 14.0, tvOS 14.0, macOS 11.0, watchOS 7.0, *)
136 | extension _DefaultAnnotatedMapContent: IdentifiableItemsContainer {
| `- note: add '@preconcurrency' to the 'IdentifiableItemsContainer' conformance to defer isolation checking to run time
137 | func contains<T: Identifiable>(_ item: T) -> Bool {
| |- warning: main actor-isolated instance method 'contains' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'contains' to make this instance method not isolated to the actor
138 | guard let item = item as? Items.Element,
139 | let items = try? Inspector.attribute(label: "items", value: self, type: Items?.self)
[108/127] Compiling ViewInspector Link.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/Map.swift:137:10: warning: main actor-isolated instance method 'contains' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
130 | @available(iOS 14.0, tvOS 14.0, macOS 11.0, *)
131 | internal protocol IdentifiableItemsContainer {
132 | func contains<T: Identifiable>(_ item: T) -> Bool
| `- note: mark the protocol requirement 'contains' 'async' to allow actor-isolated conformances
133 | }
134 |
135 | @available(iOS 14.0, tvOS 14.0, macOS 11.0, watchOS 7.0, *)
136 | extension _DefaultAnnotatedMapContent: IdentifiableItemsContainer {
| `- note: add '@preconcurrency' to the 'IdentifiableItemsContainer' conformance to defer isolation checking to run time
137 | func contains<T: Identifiable>(_ item: T) -> Bool {
| |- warning: main actor-isolated instance method 'contains' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'contains' to make this instance method not isolated to the actor
138 | guard let item = item as? Items.Element,
139 | let items = try? Inspector.attribute(label: "items", value: self, type: Items?.self)
[109/127] Compiling ViewInspector List.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/Map.swift:137:10: warning: main actor-isolated instance method 'contains' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
130 | @available(iOS 14.0, tvOS 14.0, macOS 11.0, *)
131 | internal protocol IdentifiableItemsContainer {
132 | func contains<T: Identifiable>(_ item: T) -> Bool
| `- note: mark the protocol requirement 'contains' 'async' to allow actor-isolated conformances
133 | }
134 |
135 | @available(iOS 14.0, tvOS 14.0, macOS 11.0, watchOS 7.0, *)
136 | extension _DefaultAnnotatedMapContent: IdentifiableItemsContainer {
| `- note: add '@preconcurrency' to the 'IdentifiableItemsContainer' conformance to defer isolation checking to run time
137 | func contains<T: Identifiable>(_ item: T) -> Bool {
| |- warning: main actor-isolated instance method 'contains' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'contains' to make this instance method not isolated to the actor
138 | guard let item = item as? Items.Element,
139 | let items = try? Inspector.attribute(label: "items", value: self, type: Items?.self)
[110/127] Compiling ViewInspector LocationButton.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/Map.swift:137:10: warning: main actor-isolated instance method 'contains' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
130 | @available(iOS 14.0, tvOS 14.0, macOS 11.0, *)
131 | internal protocol IdentifiableItemsContainer {
132 | func contains<T: Identifiable>(_ item: T) -> Bool
| `- note: mark the protocol requirement 'contains' 'async' to allow actor-isolated conformances
133 | }
134 |
135 | @available(iOS 14.0, tvOS 14.0, macOS 11.0, watchOS 7.0, *)
136 | extension _DefaultAnnotatedMapContent: IdentifiableItemsContainer {
| `- note: add '@preconcurrency' to the 'IdentifiableItemsContainer' conformance to defer isolation checking to run time
137 | func contains<T: Identifiable>(_ item: T) -> Bool {
| |- warning: main actor-isolated instance method 'contains' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'contains' to make this instance method not isolated to the actor
138 | guard let item = item as? Items.Element,
139 | let items = try? Inspector.attribute(label: "items", value: self, type: Items?.self)
[111/127] Compiling ViewInspector Map.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/Map.swift:137:10: warning: main actor-isolated instance method 'contains' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
130 | @available(iOS 14.0, tvOS 14.0, macOS 11.0, *)
131 | internal protocol IdentifiableItemsContainer {
132 | func contains<T: Identifiable>(_ item: T) -> Bool
| `- note: mark the protocol requirement 'contains' 'async' to allow actor-isolated conformances
133 | }
134 |
135 | @available(iOS 14.0, tvOS 14.0, macOS 11.0, watchOS 7.0, *)
136 | extension _DefaultAnnotatedMapContent: IdentifiableItemsContainer {
| `- note: add '@preconcurrency' to the 'IdentifiableItemsContainer' conformance to defer isolation checking to run time
137 | func contains<T: Identifiable>(_ item: T) -> Bool {
| |- warning: main actor-isolated instance method 'contains' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'contains' to make this instance method not isolated to the actor
138 | guard let item = item as? Items.Element,
139 | let items = try? Inspector.attribute(label: "items", value: self, type: Items?.self)
[112/127] Compiling ViewInspector MapAnnotation.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/Map.swift:137:10: warning: main actor-isolated instance method 'contains' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
130 | @available(iOS 14.0, tvOS 14.0, macOS 11.0, *)
131 | internal protocol IdentifiableItemsContainer {
132 | func contains<T: Identifiable>(_ item: T) -> Bool
| `- note: mark the protocol requirement 'contains' 'async' to allow actor-isolated conformances
133 | }
134 |
135 | @available(iOS 14.0, tvOS 14.0, macOS 11.0, watchOS 7.0, *)
136 | extension _DefaultAnnotatedMapContent: IdentifiableItemsContainer {
| `- note: add '@preconcurrency' to the 'IdentifiableItemsContainer' conformance to defer isolation checking to run time
137 | func contains<T: Identifiable>(_ item: T) -> Bool {
| |- warning: main actor-isolated instance method 'contains' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'contains' to make this instance method not isolated to the actor
138 | guard let item = item as? Items.Element,
139 | let items = try? Inspector.attribute(label: "items", value: self, type: Items?.self)
[113/127] Compiling ViewInspector Menu.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/Map.swift:137:10: warning: main actor-isolated instance method 'contains' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
130 | @available(iOS 14.0, tvOS 14.0, macOS 11.0, *)
131 | internal protocol IdentifiableItemsContainer {
132 | func contains<T: Identifiable>(_ item: T) -> Bool
| `- note: mark the protocol requirement 'contains' 'async' to allow actor-isolated conformances
133 | }
134 |
135 | @available(iOS 14.0, tvOS 14.0, macOS 11.0, watchOS 7.0, *)
136 | extension _DefaultAnnotatedMapContent: IdentifiableItemsContainer {
| `- note: add '@preconcurrency' to the 'IdentifiableItemsContainer' conformance to defer isolation checking to run time
137 | func contains<T: Identifiable>(_ item: T) -> Bool {
| |- warning: main actor-isolated instance method 'contains' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'contains' to make this instance method not isolated to the actor
138 | guard let item = item as? Items.Element,
139 | let items = try? Inspector.attribute(label: "items", value: self, type: Items?.self)
[114/127] Compiling ViewInspector MenuButton.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/Map.swift:137:10: warning: main actor-isolated instance method 'contains' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
130 | @available(iOS 14.0, tvOS 14.0, macOS 11.0, *)
131 | internal protocol IdentifiableItemsContainer {
132 | func contains<T: Identifiable>(_ item: T) -> Bool
| `- note: mark the protocol requirement 'contains' 'async' to allow actor-isolated conformances
133 | }
134 |
135 | @available(iOS 14.0, tvOS 14.0, macOS 11.0, watchOS 7.0, *)
136 | extension _DefaultAnnotatedMapContent: IdentifiableItemsContainer {
| `- note: add '@preconcurrency' to the 'IdentifiableItemsContainer' conformance to defer isolation checking to run time
137 | func contains<T: Identifiable>(_ item: T) -> Bool {
| |- warning: main actor-isolated instance method 'contains' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'contains' to make this instance method not isolated to the actor
138 | guard let item = item as? Items.Element,
139 | let items = try? Inspector.attribute(label: "items", value: self, type: Items?.self)
[115/127] Compiling ViewInspector MultiDatePicker.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/Map.swift:137:10: warning: main actor-isolated instance method 'contains' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
130 | @available(iOS 14.0, tvOS 14.0, macOS 11.0, *)
131 | internal protocol IdentifiableItemsContainer {
132 | func contains<T: Identifiable>(_ item: T) -> Bool
| `- note: mark the protocol requirement 'contains' 'async' to allow actor-isolated conformances
133 | }
134 |
135 | @available(iOS 14.0, tvOS 14.0, macOS 11.0, watchOS 7.0, *)
136 | extension _DefaultAnnotatedMapContent: IdentifiableItemsContainer {
| `- note: add '@preconcurrency' to the 'IdentifiableItemsContainer' conformance to defer isolation checking to run time
137 | func contains<T: Identifiable>(_ item: T) -> Bool {
| |- warning: main actor-isolated instance method 'contains' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'contains' to make this instance method not isolated to the actor
138 | guard let item = item as? Items.Element,
139 | let items = try? Inspector.attribute(label: "items", value: self, type: Items?.self)
[116/127] Compiling ViewInspector TouchBar.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/VideoPlayer.swift:86:10: warning: main actor-isolated instance method 'view()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
83 |
84 | @available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *)
85 | extension VideoPlayer: SingleViewProvider {
| `- note: add '@preconcurrency' to the 'SingleViewProvider' conformance to defer isolation checking to run time
86 | func view() throws -> Any {
| |- warning: main actor-isolated instance method 'view()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'view()' to make this instance method not isolated to the actor
87 | return try Inspector.attribute(
88 | path: "configuration|videoOverlay", value: self)
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/BaseTypes.swift:308:10: note: mark the protocol requirement 'view()' 'async' to allow actor-isolated conformances
306 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, *)
307 | internal protocol SingleViewProvider {
308 | func view() throws -> Any
| `- note: mark the protocol requirement 'view()' 'async' to allow actor-isolated conformances
309 | }
310 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewHosting.swift:38:19: warning: 'host(_:size:function:whileHosted:)' is deprecated: Use `host` version that doesn't supply the view in the `whileHosted` closure. See: https://github.com/nalexn/ViewInspector/discussions/354
36 | whileHosted: @MainActor () async throws -> Void
37 | ) async throws where V: View {
38 | try await host(view, function: function, whileHosted: { _ in
| `- warning: 'host(_:size:function:whileHosted:)' is deprecated: Use `host` version that doesn't supply the view in the `whileHosted` closure. See: https://github.com/nalexn/ViewInspector/discussions/354
39 | try await whileHosted()
40 | })
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewHosting.swift:139:26: warning: type 'Content.Medium' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
137 | return hosted[viewId]?.medium ?? .empty
138 | #else
139 | return MainActor.assumeIsolated {
| `- warning: type 'Content.Medium' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
140 | hosted[viewId]?.medium ?? .empty
141 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/BaseTypes.swift:165:12: note: consider making struct 'Medium' conform to the 'Sendable' protocol
163 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, *)
164 | internal extension Content {
165 | struct Medium {
| `- note: consider making struct 'Medium' conform to the 'Sendable' protocol
166 | let viewModifiers: [Any]
167 | let transitiveViewModifiers: [Any]
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewSearch.swift:272:30: warning: type 'InspectableView<ViewType.ClassifiedView>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
270 | ) throws -> InspectableView<ViewType.ClassifiedView> {
271 | precondition(skipFound >= 0)
272 | return try MainActor.assumeIsolated {
| `- warning: type 'InspectableView<ViewType.ClassifiedView>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
273 | try isolatedFind(relation: relation, traversal: traversal, skipFound: skipFound, where: condition)
274 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/InspectableView.swift:8:15: note: consider making generic struct 'InspectableView' conform to the 'Sendable' protocol
6 | @MainActor
7 | #endif
8 | public struct InspectableView<View> where View: BaseViewType {
| `- note: consider making generic struct 'InspectableView' conform to the 'Sendable' protocol
9 |
10 | internal let content: Content
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewSearch.swift:338:26: warning: type 'InspectableView<ViewType.ClassifiedView>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
336 | */
337 | func findAll(where condition: ViewSearch.Condition) -> [InspectableView<ViewType.ClassifiedView>] {
338 | return MainActor.assumeIsolated {
| `- warning: type 'InspectableView<ViewType.ClassifiedView>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
339 | isolatedFindAll(where: condition)
340 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/InspectableView.swift:8:15: note: consider making generic struct 'InspectableView' conform to the 'Sendable' protocol
6 | @MainActor
7 | #endif
8 | public struct InspectableView<View> where View: BaseViewType {
| `- note: consider making generic struct 'InspectableView' conform to the 'Sendable' protocol
9 |
10 | internal let content: Content
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewHosting.swift:46:24: warning: sending 'view' risks causing data races; this is an error in the Swift 6 language mode
44 | let viewId = ViewId(function: function)
45 | MainActor.assumeIsolated {
46 | host(view: view, size: size, viewId: viewId)
| |- warning: sending 'view' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'view' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
47 | }
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewSearch.swift:273:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
271 | precondition(skipFound >= 0)
272 | return try MainActor.assumeIsolated {
273 | try isolatedFind(relation: relation, traversal: traversal, skipFound: skipFound, where: condition)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
274 | }
275 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewSearch.swift:273:101: warning: sending 'condition' risks causing data races; this is an error in the Swift 6 language mode
271 | precondition(skipFound >= 0)
272 | return try MainActor.assumeIsolated {
273 | try isolatedFind(relation: relation, traversal: traversal, skipFound: skipFound, where: condition)
| |- warning: sending 'condition' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'condition' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
274 | }
275 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewSearch.swift:339:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
337 | func findAll(where condition: ViewSearch.Condition) -> [InspectableView<ViewType.ClassifiedView>] {
338 | return MainActor.assumeIsolated {
339 | isolatedFindAll(where: condition)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
340 | }
341 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewSearch.swift:339:36: warning: sending 'condition' risks causing data races; this is an error in the Swift 6 language mode
337 | func findAll(where condition: ViewSearch.Condition) -> [InspectableView<ViewType.ClassifiedView>] {
338 | return MainActor.assumeIsolated {
339 | isolatedFindAll(where: condition)
| |- warning: sending 'condition' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'condition' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
340 | }
341 | }
[117/127] Compiling ViewInspector TreeView.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/VideoPlayer.swift:86:10: warning: main actor-isolated instance method 'view()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
83 |
84 | @available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *)
85 | extension VideoPlayer: SingleViewProvider {
| `- note: add '@preconcurrency' to the 'SingleViewProvider' conformance to defer isolation checking to run time
86 | func view() throws -> Any {
| |- warning: main actor-isolated instance method 'view()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'view()' to make this instance method not isolated to the actor
87 | return try Inspector.attribute(
88 | path: "configuration|videoOverlay", value: self)
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/BaseTypes.swift:308:10: note: mark the protocol requirement 'view()' 'async' to allow actor-isolated conformances
306 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, *)
307 | internal protocol SingleViewProvider {
308 | func view() throws -> Any
| `- note: mark the protocol requirement 'view()' 'async' to allow actor-isolated conformances
309 | }
310 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewHosting.swift:38:19: warning: 'host(_:size:function:whileHosted:)' is deprecated: Use `host` version that doesn't supply the view in the `whileHosted` closure. See: https://github.com/nalexn/ViewInspector/discussions/354
36 | whileHosted: @MainActor () async throws -> Void
37 | ) async throws where V: View {
38 | try await host(view, function: function, whileHosted: { _ in
| `- warning: 'host(_:size:function:whileHosted:)' is deprecated: Use `host` version that doesn't supply the view in the `whileHosted` closure. See: https://github.com/nalexn/ViewInspector/discussions/354
39 | try await whileHosted()
40 | })
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewHosting.swift:139:26: warning: type 'Content.Medium' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
137 | return hosted[viewId]?.medium ?? .empty
138 | #else
139 | return MainActor.assumeIsolated {
| `- warning: type 'Content.Medium' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
140 | hosted[viewId]?.medium ?? .empty
141 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/BaseTypes.swift:165:12: note: consider making struct 'Medium' conform to the 'Sendable' protocol
163 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, *)
164 | internal extension Content {
165 | struct Medium {
| `- note: consider making struct 'Medium' conform to the 'Sendable' protocol
166 | let viewModifiers: [Any]
167 | let transitiveViewModifiers: [Any]
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewSearch.swift:272:30: warning: type 'InspectableView<ViewType.ClassifiedView>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
270 | ) throws -> InspectableView<ViewType.ClassifiedView> {
271 | precondition(skipFound >= 0)
272 | return try MainActor.assumeIsolated {
| `- warning: type 'InspectableView<ViewType.ClassifiedView>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
273 | try isolatedFind(relation: relation, traversal: traversal, skipFound: skipFound, where: condition)
274 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/InspectableView.swift:8:15: note: consider making generic struct 'InspectableView' conform to the 'Sendable' protocol
6 | @MainActor
7 | #endif
8 | public struct InspectableView<View> where View: BaseViewType {
| `- note: consider making generic struct 'InspectableView' conform to the 'Sendable' protocol
9 |
10 | internal let content: Content
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewSearch.swift:338:26: warning: type 'InspectableView<ViewType.ClassifiedView>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
336 | */
337 | func findAll(where condition: ViewSearch.Condition) -> [InspectableView<ViewType.ClassifiedView>] {
338 | return MainActor.assumeIsolated {
| `- warning: type 'InspectableView<ViewType.ClassifiedView>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
339 | isolatedFindAll(where: condition)
340 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/InspectableView.swift:8:15: note: consider making generic struct 'InspectableView' conform to the 'Sendable' protocol
6 | @MainActor
7 | #endif
8 | public struct InspectableView<View> where View: BaseViewType {
| `- note: consider making generic struct 'InspectableView' conform to the 'Sendable' protocol
9 |
10 | internal let content: Content
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewHosting.swift:46:24: warning: sending 'view' risks causing data races; this is an error in the Swift 6 language mode
44 | let viewId = ViewId(function: function)
45 | MainActor.assumeIsolated {
46 | host(view: view, size: size, viewId: viewId)
| |- warning: sending 'view' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'view' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
47 | }
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewSearch.swift:273:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
271 | precondition(skipFound >= 0)
272 | return try MainActor.assumeIsolated {
273 | try isolatedFind(relation: relation, traversal: traversal, skipFound: skipFound, where: condition)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
274 | }
275 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewSearch.swift:273:101: warning: sending 'condition' risks causing data races; this is an error in the Swift 6 language mode
271 | precondition(skipFound >= 0)
272 | return try MainActor.assumeIsolated {
273 | try isolatedFind(relation: relation, traversal: traversal, skipFound: skipFound, where: condition)
| |- warning: sending 'condition' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'condition' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
274 | }
275 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewSearch.swift:339:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
337 | func findAll(where condition: ViewSearch.Condition) -> [InspectableView<ViewType.ClassifiedView>] {
338 | return MainActor.assumeIsolated {
339 | isolatedFindAll(where: condition)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
340 | }
341 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewSearch.swift:339:36: warning: sending 'condition' risks causing data races; this is an error in the Swift 6 language mode
337 | func findAll(where condition: ViewSearch.Condition) -> [InspectableView<ViewType.ClassifiedView>] {
338 | return MainActor.assumeIsolated {
339 | isolatedFindAll(where: condition)
| |- warning: sending 'condition' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'condition' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
340 | }
341 | }
[118/127] Compiling ViewInspector TupleView.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/VideoPlayer.swift:86:10: warning: main actor-isolated instance method 'view()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
83 |
84 | @available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *)
85 | extension VideoPlayer: SingleViewProvider {
| `- note: add '@preconcurrency' to the 'SingleViewProvider' conformance to defer isolation checking to run time
86 | func view() throws -> Any {
| |- warning: main actor-isolated instance method 'view()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'view()' to make this instance method not isolated to the actor
87 | return try Inspector.attribute(
88 | path: "configuration|videoOverlay", value: self)
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/BaseTypes.swift:308:10: note: mark the protocol requirement 'view()' 'async' to allow actor-isolated conformances
306 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, *)
307 | internal protocol SingleViewProvider {
308 | func view() throws -> Any
| `- note: mark the protocol requirement 'view()' 'async' to allow actor-isolated conformances
309 | }
310 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewHosting.swift:38:19: warning: 'host(_:size:function:whileHosted:)' is deprecated: Use `host` version that doesn't supply the view in the `whileHosted` closure. See: https://github.com/nalexn/ViewInspector/discussions/354
36 | whileHosted: @MainActor () async throws -> Void
37 | ) async throws where V: View {
38 | try await host(view, function: function, whileHosted: { _ in
| `- warning: 'host(_:size:function:whileHosted:)' is deprecated: Use `host` version that doesn't supply the view in the `whileHosted` closure. See: https://github.com/nalexn/ViewInspector/discussions/354
39 | try await whileHosted()
40 | })
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewHosting.swift:139:26: warning: type 'Content.Medium' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
137 | return hosted[viewId]?.medium ?? .empty
138 | #else
139 | return MainActor.assumeIsolated {
| `- warning: type 'Content.Medium' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
140 | hosted[viewId]?.medium ?? .empty
141 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/BaseTypes.swift:165:12: note: consider making struct 'Medium' conform to the 'Sendable' protocol
163 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, *)
164 | internal extension Content {
165 | struct Medium {
| `- note: consider making struct 'Medium' conform to the 'Sendable' protocol
166 | let viewModifiers: [Any]
167 | let transitiveViewModifiers: [Any]
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewSearch.swift:272:30: warning: type 'InspectableView<ViewType.ClassifiedView>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
270 | ) throws -> InspectableView<ViewType.ClassifiedView> {
271 | precondition(skipFound >= 0)
272 | return try MainActor.assumeIsolated {
| `- warning: type 'InspectableView<ViewType.ClassifiedView>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
273 | try isolatedFind(relation: relation, traversal: traversal, skipFound: skipFound, where: condition)
274 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/InspectableView.swift:8:15: note: consider making generic struct 'InspectableView' conform to the 'Sendable' protocol
6 | @MainActor
7 | #endif
8 | public struct InspectableView<View> where View: BaseViewType {
| `- note: consider making generic struct 'InspectableView' conform to the 'Sendable' protocol
9 |
10 | internal let content: Content
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewSearch.swift:338:26: warning: type 'InspectableView<ViewType.ClassifiedView>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
336 | */
337 | func findAll(where condition: ViewSearch.Condition) -> [InspectableView<ViewType.ClassifiedView>] {
338 | return MainActor.assumeIsolated {
| `- warning: type 'InspectableView<ViewType.ClassifiedView>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
339 | isolatedFindAll(where: condition)
340 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/InspectableView.swift:8:15: note: consider making generic struct 'InspectableView' conform to the 'Sendable' protocol
6 | @MainActor
7 | #endif
8 | public struct InspectableView<View> where View: BaseViewType {
| `- note: consider making generic struct 'InspectableView' conform to the 'Sendable' protocol
9 |
10 | internal let content: Content
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewHosting.swift:46:24: warning: sending 'view' risks causing data races; this is an error in the Swift 6 language mode
44 | let viewId = ViewId(function: function)
45 | MainActor.assumeIsolated {
46 | host(view: view, size: size, viewId: viewId)
| |- warning: sending 'view' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'view' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
47 | }
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewSearch.swift:273:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
271 | precondition(skipFound >= 0)
272 | return try MainActor.assumeIsolated {
273 | try isolatedFind(relation: relation, traversal: traversal, skipFound: skipFound, where: condition)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
274 | }
275 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewSearch.swift:273:101: warning: sending 'condition' risks causing data races; this is an error in the Swift 6 language mode
271 | precondition(skipFound >= 0)
272 | return try MainActor.assumeIsolated {
273 | try isolatedFind(relation: relation, traversal: traversal, skipFound: skipFound, where: condition)
| |- warning: sending 'condition' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'condition' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
274 | }
275 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewSearch.swift:339:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
337 | func findAll(where condition: ViewSearch.Condition) -> [InspectableView<ViewType.ClassifiedView>] {
338 | return MainActor.assumeIsolated {
339 | isolatedFindAll(where: condition)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
340 | }
341 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewSearch.swift:339:36: warning: sending 'condition' risks causing data races; this is an error in the Swift 6 language mode
337 | func findAll(where condition: ViewSearch.Condition) -> [InspectableView<ViewType.ClassifiedView>] {
338 | return MainActor.assumeIsolated {
339 | isolatedFindAll(where: condition)
| |- warning: sending 'condition' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'condition' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
340 | }
341 | }
[119/127] Compiling ViewInspector UnaryViewAdaptor.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/VideoPlayer.swift:86:10: warning: main actor-isolated instance method 'view()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
83 |
84 | @available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *)
85 | extension VideoPlayer: SingleViewProvider {
| `- note: add '@preconcurrency' to the 'SingleViewProvider' conformance to defer isolation checking to run time
86 | func view() throws -> Any {
| |- warning: main actor-isolated instance method 'view()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'view()' to make this instance method not isolated to the actor
87 | return try Inspector.attribute(
88 | path: "configuration|videoOverlay", value: self)
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/BaseTypes.swift:308:10: note: mark the protocol requirement 'view()' 'async' to allow actor-isolated conformances
306 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, *)
307 | internal protocol SingleViewProvider {
308 | func view() throws -> Any
| `- note: mark the protocol requirement 'view()' 'async' to allow actor-isolated conformances
309 | }
310 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewHosting.swift:38:19: warning: 'host(_:size:function:whileHosted:)' is deprecated: Use `host` version that doesn't supply the view in the `whileHosted` closure. See: https://github.com/nalexn/ViewInspector/discussions/354
36 | whileHosted: @MainActor () async throws -> Void
37 | ) async throws where V: View {
38 | try await host(view, function: function, whileHosted: { _ in
| `- warning: 'host(_:size:function:whileHosted:)' is deprecated: Use `host` version that doesn't supply the view in the `whileHosted` closure. See: https://github.com/nalexn/ViewInspector/discussions/354
39 | try await whileHosted()
40 | })
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewHosting.swift:139:26: warning: type 'Content.Medium' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
137 | return hosted[viewId]?.medium ?? .empty
138 | #else
139 | return MainActor.assumeIsolated {
| `- warning: type 'Content.Medium' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
140 | hosted[viewId]?.medium ?? .empty
141 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/BaseTypes.swift:165:12: note: consider making struct 'Medium' conform to the 'Sendable' protocol
163 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, *)
164 | internal extension Content {
165 | struct Medium {
| `- note: consider making struct 'Medium' conform to the 'Sendable' protocol
166 | let viewModifiers: [Any]
167 | let transitiveViewModifiers: [Any]
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewSearch.swift:272:30: warning: type 'InspectableView<ViewType.ClassifiedView>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
270 | ) throws -> InspectableView<ViewType.ClassifiedView> {
271 | precondition(skipFound >= 0)
272 | return try MainActor.assumeIsolated {
| `- warning: type 'InspectableView<ViewType.ClassifiedView>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
273 | try isolatedFind(relation: relation, traversal: traversal, skipFound: skipFound, where: condition)
274 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/InspectableView.swift:8:15: note: consider making generic struct 'InspectableView' conform to the 'Sendable' protocol
6 | @MainActor
7 | #endif
8 | public struct InspectableView<View> where View: BaseViewType {
| `- note: consider making generic struct 'InspectableView' conform to the 'Sendable' protocol
9 |
10 | internal let content: Content
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewSearch.swift:338:26: warning: type 'InspectableView<ViewType.ClassifiedView>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
336 | */
337 | func findAll(where condition: ViewSearch.Condition) -> [InspectableView<ViewType.ClassifiedView>] {
338 | return MainActor.assumeIsolated {
| `- warning: type 'InspectableView<ViewType.ClassifiedView>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
339 | isolatedFindAll(where: condition)
340 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/InspectableView.swift:8:15: note: consider making generic struct 'InspectableView' conform to the 'Sendable' protocol
6 | @MainActor
7 | #endif
8 | public struct InspectableView<View> where View: BaseViewType {
| `- note: consider making generic struct 'InspectableView' conform to the 'Sendable' protocol
9 |
10 | internal let content: Content
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewHosting.swift:46:24: warning: sending 'view' risks causing data races; this is an error in the Swift 6 language mode
44 | let viewId = ViewId(function: function)
45 | MainActor.assumeIsolated {
46 | host(view: view, size: size, viewId: viewId)
| |- warning: sending 'view' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'view' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
47 | }
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewSearch.swift:273:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
271 | precondition(skipFound >= 0)
272 | return try MainActor.assumeIsolated {
273 | try isolatedFind(relation: relation, traversal: traversal, skipFound: skipFound, where: condition)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
274 | }
275 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewSearch.swift:273:101: warning: sending 'condition' risks causing data races; this is an error in the Swift 6 language mode
271 | precondition(skipFound >= 0)
272 | return try MainActor.assumeIsolated {
273 | try isolatedFind(relation: relation, traversal: traversal, skipFound: skipFound, where: condition)
| |- warning: sending 'condition' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'condition' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
274 | }
275 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewSearch.swift:339:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
337 | func findAll(where condition: ViewSearch.Condition) -> [InspectableView<ViewType.ClassifiedView>] {
338 | return MainActor.assumeIsolated {
339 | isolatedFindAll(where: condition)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
340 | }
341 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewSearch.swift:339:36: warning: sending 'condition' risks causing data races; this is an error in the Swift 6 language mode
337 | func findAll(where condition: ViewSearch.Condition) -> [InspectableView<ViewType.ClassifiedView>] {
338 | return MainActor.assumeIsolated {
339 | isolatedFindAll(where: condition)
| |- warning: sending 'condition' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'condition' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
340 | }
341 | }
[120/127] Compiling ViewInspector VSplitView.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/VideoPlayer.swift:86:10: warning: main actor-isolated instance method 'view()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
83 |
84 | @available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *)
85 | extension VideoPlayer: SingleViewProvider {
| `- note: add '@preconcurrency' to the 'SingleViewProvider' conformance to defer isolation checking to run time
86 | func view() throws -> Any {
| |- warning: main actor-isolated instance method 'view()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'view()' to make this instance method not isolated to the actor
87 | return try Inspector.attribute(
88 | path: "configuration|videoOverlay", value: self)
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/BaseTypes.swift:308:10: note: mark the protocol requirement 'view()' 'async' to allow actor-isolated conformances
306 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, *)
307 | internal protocol SingleViewProvider {
308 | func view() throws -> Any
| `- note: mark the protocol requirement 'view()' 'async' to allow actor-isolated conformances
309 | }
310 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewHosting.swift:38:19: warning: 'host(_:size:function:whileHosted:)' is deprecated: Use `host` version that doesn't supply the view in the `whileHosted` closure. See: https://github.com/nalexn/ViewInspector/discussions/354
36 | whileHosted: @MainActor () async throws -> Void
37 | ) async throws where V: View {
38 | try await host(view, function: function, whileHosted: { _ in
| `- warning: 'host(_:size:function:whileHosted:)' is deprecated: Use `host` version that doesn't supply the view in the `whileHosted` closure. See: https://github.com/nalexn/ViewInspector/discussions/354
39 | try await whileHosted()
40 | })
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewHosting.swift:139:26: warning: type 'Content.Medium' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
137 | return hosted[viewId]?.medium ?? .empty
138 | #else
139 | return MainActor.assumeIsolated {
| `- warning: type 'Content.Medium' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
140 | hosted[viewId]?.medium ?? .empty
141 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/BaseTypes.swift:165:12: note: consider making struct 'Medium' conform to the 'Sendable' protocol
163 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, *)
164 | internal extension Content {
165 | struct Medium {
| `- note: consider making struct 'Medium' conform to the 'Sendable' protocol
166 | let viewModifiers: [Any]
167 | let transitiveViewModifiers: [Any]
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewSearch.swift:272:30: warning: type 'InspectableView<ViewType.ClassifiedView>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
270 | ) throws -> InspectableView<ViewType.ClassifiedView> {
271 | precondition(skipFound >= 0)
272 | return try MainActor.assumeIsolated {
| `- warning: type 'InspectableView<ViewType.ClassifiedView>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
273 | try isolatedFind(relation: relation, traversal: traversal, skipFound: skipFound, where: condition)
274 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/InspectableView.swift:8:15: note: consider making generic struct 'InspectableView' conform to the 'Sendable' protocol
6 | @MainActor
7 | #endif
8 | public struct InspectableView<View> where View: BaseViewType {
| `- note: consider making generic struct 'InspectableView' conform to the 'Sendable' protocol
9 |
10 | internal let content: Content
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewSearch.swift:338:26: warning: type 'InspectableView<ViewType.ClassifiedView>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
336 | */
337 | func findAll(where condition: ViewSearch.Condition) -> [InspectableView<ViewType.ClassifiedView>] {
338 | return MainActor.assumeIsolated {
| `- warning: type 'InspectableView<ViewType.ClassifiedView>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
339 | isolatedFindAll(where: condition)
340 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/InspectableView.swift:8:15: note: consider making generic struct 'InspectableView' conform to the 'Sendable' protocol
6 | @MainActor
7 | #endif
8 | public struct InspectableView<View> where View: BaseViewType {
| `- note: consider making generic struct 'InspectableView' conform to the 'Sendable' protocol
9 |
10 | internal let content: Content
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewHosting.swift:46:24: warning: sending 'view' risks causing data races; this is an error in the Swift 6 language mode
44 | let viewId = ViewId(function: function)
45 | MainActor.assumeIsolated {
46 | host(view: view, size: size, viewId: viewId)
| |- warning: sending 'view' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'view' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
47 | }
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewSearch.swift:273:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
271 | precondition(skipFound >= 0)
272 | return try MainActor.assumeIsolated {
273 | try isolatedFind(relation: relation, traversal: traversal, skipFound: skipFound, where: condition)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
274 | }
275 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewSearch.swift:273:101: warning: sending 'condition' risks causing data races; this is an error in the Swift 6 language mode
271 | precondition(skipFound >= 0)
272 | return try MainActor.assumeIsolated {
273 | try isolatedFind(relation: relation, traversal: traversal, skipFound: skipFound, where: condition)
| |- warning: sending 'condition' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'condition' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
274 | }
275 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewSearch.swift:339:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
337 | func findAll(where condition: ViewSearch.Condition) -> [InspectableView<ViewType.ClassifiedView>] {
338 | return MainActor.assumeIsolated {
339 | isolatedFindAll(where: condition)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
340 | }
341 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewSearch.swift:339:36: warning: sending 'condition' risks causing data races; this is an error in the Swift 6 language mode
337 | func findAll(where condition: ViewSearch.Condition) -> [InspectableView<ViewType.ClassifiedView>] {
338 | return MainActor.assumeIsolated {
339 | isolatedFindAll(where: condition)
| |- warning: sending 'condition' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'condition' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
340 | }
341 | }
[121/127] Compiling ViewInspector VStack.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/VideoPlayer.swift:86:10: warning: main actor-isolated instance method 'view()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
83 |
84 | @available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *)
85 | extension VideoPlayer: SingleViewProvider {
| `- note: add '@preconcurrency' to the 'SingleViewProvider' conformance to defer isolation checking to run time
86 | func view() throws -> Any {
| |- warning: main actor-isolated instance method 'view()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'view()' to make this instance method not isolated to the actor
87 | return try Inspector.attribute(
88 | path: "configuration|videoOverlay", value: self)
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/BaseTypes.swift:308:10: note: mark the protocol requirement 'view()' 'async' to allow actor-isolated conformances
306 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, *)
307 | internal protocol SingleViewProvider {
308 | func view() throws -> Any
| `- note: mark the protocol requirement 'view()' 'async' to allow actor-isolated conformances
309 | }
310 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewHosting.swift:38:19: warning: 'host(_:size:function:whileHosted:)' is deprecated: Use `host` version that doesn't supply the view in the `whileHosted` closure. See: https://github.com/nalexn/ViewInspector/discussions/354
36 | whileHosted: @MainActor () async throws -> Void
37 | ) async throws where V: View {
38 | try await host(view, function: function, whileHosted: { _ in
| `- warning: 'host(_:size:function:whileHosted:)' is deprecated: Use `host` version that doesn't supply the view in the `whileHosted` closure. See: https://github.com/nalexn/ViewInspector/discussions/354
39 | try await whileHosted()
40 | })
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewHosting.swift:139:26: warning: type 'Content.Medium' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
137 | return hosted[viewId]?.medium ?? .empty
138 | #else
139 | return MainActor.assumeIsolated {
| `- warning: type 'Content.Medium' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
140 | hosted[viewId]?.medium ?? .empty
141 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/BaseTypes.swift:165:12: note: consider making struct 'Medium' conform to the 'Sendable' protocol
163 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, *)
164 | internal extension Content {
165 | struct Medium {
| `- note: consider making struct 'Medium' conform to the 'Sendable' protocol
166 | let viewModifiers: [Any]
167 | let transitiveViewModifiers: [Any]
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewSearch.swift:272:30: warning: type 'InspectableView<ViewType.ClassifiedView>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
270 | ) throws -> InspectableView<ViewType.ClassifiedView> {
271 | precondition(skipFound >= 0)
272 | return try MainActor.assumeIsolated {
| `- warning: type 'InspectableView<ViewType.ClassifiedView>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
273 | try isolatedFind(relation: relation, traversal: traversal, skipFound: skipFound, where: condition)
274 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/InspectableView.swift:8:15: note: consider making generic struct 'InspectableView' conform to the 'Sendable' protocol
6 | @MainActor
7 | #endif
8 | public struct InspectableView<View> where View: BaseViewType {
| `- note: consider making generic struct 'InspectableView' conform to the 'Sendable' protocol
9 |
10 | internal let content: Content
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewSearch.swift:338:26: warning: type 'InspectableView<ViewType.ClassifiedView>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
336 | */
337 | func findAll(where condition: ViewSearch.Condition) -> [InspectableView<ViewType.ClassifiedView>] {
338 | return MainActor.assumeIsolated {
| `- warning: type 'InspectableView<ViewType.ClassifiedView>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
339 | isolatedFindAll(where: condition)
340 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/InspectableView.swift:8:15: note: consider making generic struct 'InspectableView' conform to the 'Sendable' protocol
6 | @MainActor
7 | #endif
8 | public struct InspectableView<View> where View: BaseViewType {
| `- note: consider making generic struct 'InspectableView' conform to the 'Sendable' protocol
9 |
10 | internal let content: Content
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewHosting.swift:46:24: warning: sending 'view' risks causing data races; this is an error in the Swift 6 language mode
44 | let viewId = ViewId(function: function)
45 | MainActor.assumeIsolated {
46 | host(view: view, size: size, viewId: viewId)
| |- warning: sending 'view' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'view' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
47 | }
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewSearch.swift:273:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
271 | precondition(skipFound >= 0)
272 | return try MainActor.assumeIsolated {
273 | try isolatedFind(relation: relation, traversal: traversal, skipFound: skipFound, where: condition)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
274 | }
275 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewSearch.swift:273:101: warning: sending 'condition' risks causing data races; this is an error in the Swift 6 language mode
271 | precondition(skipFound >= 0)
272 | return try MainActor.assumeIsolated {
273 | try isolatedFind(relation: relation, traversal: traversal, skipFound: skipFound, where: condition)
| |- warning: sending 'condition' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'condition' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
274 | }
275 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewSearch.swift:339:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
337 | func findAll(where condition: ViewSearch.Condition) -> [InspectableView<ViewType.ClassifiedView>] {
338 | return MainActor.assumeIsolated {
339 | isolatedFindAll(where: condition)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
340 | }
341 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewSearch.swift:339:36: warning: sending 'condition' risks causing data races; this is an error in the Swift 6 language mode
337 | func findAll(where condition: ViewSearch.Condition) -> [InspectableView<ViewType.ClassifiedView>] {
338 | return MainActor.assumeIsolated {
339 | isolatedFindAll(where: condition)
| |- warning: sending 'condition' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'condition' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
340 | }
341 | }
[122/127] Compiling ViewInspector VideoPlayer.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/VideoPlayer.swift:86:10: warning: main actor-isolated instance method 'view()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
83 |
84 | @available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *)
85 | extension VideoPlayer: SingleViewProvider {
| `- note: add '@preconcurrency' to the 'SingleViewProvider' conformance to defer isolation checking to run time
86 | func view() throws -> Any {
| |- warning: main actor-isolated instance method 'view()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'view()' to make this instance method not isolated to the actor
87 | return try Inspector.attribute(
88 | path: "configuration|videoOverlay", value: self)
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/BaseTypes.swift:308:10: note: mark the protocol requirement 'view()' 'async' to allow actor-isolated conformances
306 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, *)
307 | internal protocol SingleViewProvider {
308 | func view() throws -> Any
| `- note: mark the protocol requirement 'view()' 'async' to allow actor-isolated conformances
309 | }
310 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewHosting.swift:38:19: warning: 'host(_:size:function:whileHosted:)' is deprecated: Use `host` version that doesn't supply the view in the `whileHosted` closure. See: https://github.com/nalexn/ViewInspector/discussions/354
36 | whileHosted: @MainActor () async throws -> Void
37 | ) async throws where V: View {
38 | try await host(view, function: function, whileHosted: { _ in
| `- warning: 'host(_:size:function:whileHosted:)' is deprecated: Use `host` version that doesn't supply the view in the `whileHosted` closure. See: https://github.com/nalexn/ViewInspector/discussions/354
39 | try await whileHosted()
40 | })
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewHosting.swift:139:26: warning: type 'Content.Medium' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
137 | return hosted[viewId]?.medium ?? .empty
138 | #else
139 | return MainActor.assumeIsolated {
| `- warning: type 'Content.Medium' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
140 | hosted[viewId]?.medium ?? .empty
141 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/BaseTypes.swift:165:12: note: consider making struct 'Medium' conform to the 'Sendable' protocol
163 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, *)
164 | internal extension Content {
165 | struct Medium {
| `- note: consider making struct 'Medium' conform to the 'Sendable' protocol
166 | let viewModifiers: [Any]
167 | let transitiveViewModifiers: [Any]
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewSearch.swift:272:30: warning: type 'InspectableView<ViewType.ClassifiedView>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
270 | ) throws -> InspectableView<ViewType.ClassifiedView> {
271 | precondition(skipFound >= 0)
272 | return try MainActor.assumeIsolated {
| `- warning: type 'InspectableView<ViewType.ClassifiedView>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
273 | try isolatedFind(relation: relation, traversal: traversal, skipFound: skipFound, where: condition)
274 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/InspectableView.swift:8:15: note: consider making generic struct 'InspectableView' conform to the 'Sendable' protocol
6 | @MainActor
7 | #endif
8 | public struct InspectableView<View> where View: BaseViewType {
| `- note: consider making generic struct 'InspectableView' conform to the 'Sendable' protocol
9 |
10 | internal let content: Content
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewSearch.swift:338:26: warning: type 'InspectableView<ViewType.ClassifiedView>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
336 | */
337 | func findAll(where condition: ViewSearch.Condition) -> [InspectableView<ViewType.ClassifiedView>] {
338 | return MainActor.assumeIsolated {
| `- warning: type 'InspectableView<ViewType.ClassifiedView>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
339 | isolatedFindAll(where: condition)
340 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/InspectableView.swift:8:15: note: consider making generic struct 'InspectableView' conform to the 'Sendable' protocol
6 | @MainActor
7 | #endif
8 | public struct InspectableView<View> where View: BaseViewType {
| `- note: consider making generic struct 'InspectableView' conform to the 'Sendable' protocol
9 |
10 | internal let content: Content
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewHosting.swift:46:24: warning: sending 'view' risks causing data races; this is an error in the Swift 6 language mode
44 | let viewId = ViewId(function: function)
45 | MainActor.assumeIsolated {
46 | host(view: view, size: size, viewId: viewId)
| |- warning: sending 'view' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'view' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
47 | }
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewSearch.swift:273:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
271 | precondition(skipFound >= 0)
272 | return try MainActor.assumeIsolated {
273 | try isolatedFind(relation: relation, traversal: traversal, skipFound: skipFound, where: condition)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
274 | }
275 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewSearch.swift:273:101: warning: sending 'condition' risks causing data races; this is an error in the Swift 6 language mode
271 | precondition(skipFound >= 0)
272 | return try MainActor.assumeIsolated {
273 | try isolatedFind(relation: relation, traversal: traversal, skipFound: skipFound, where: condition)
| |- warning: sending 'condition' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'condition' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
274 | }
275 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewSearch.swift:339:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
337 | func findAll(where condition: ViewSearch.Condition) -> [InspectableView<ViewType.ClassifiedView>] {
338 | return MainActor.assumeIsolated {
339 | isolatedFindAll(where: condition)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
340 | }
341 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewSearch.swift:339:36: warning: sending 'condition' risks causing data races; this is an error in the Swift 6 language mode
337 | func findAll(where condition: ViewSearch.Condition) -> [InspectableView<ViewType.ClassifiedView>] {
338 | return MainActor.assumeIsolated {
339 | isolatedFindAll(where: condition)
| |- warning: sending 'condition' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'condition' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
340 | }
341 | }
[123/127] Compiling ViewInspector ViewThatFits.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/VideoPlayer.swift:86:10: warning: main actor-isolated instance method 'view()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
83 |
84 | @available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *)
85 | extension VideoPlayer: SingleViewProvider {
| `- note: add '@preconcurrency' to the 'SingleViewProvider' conformance to defer isolation checking to run time
86 | func view() throws -> Any {
| |- warning: main actor-isolated instance method 'view()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'view()' to make this instance method not isolated to the actor
87 | return try Inspector.attribute(
88 | path: "configuration|videoOverlay", value: self)
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/BaseTypes.swift:308:10: note: mark the protocol requirement 'view()' 'async' to allow actor-isolated conformances
306 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, *)
307 | internal protocol SingleViewProvider {
308 | func view() throws -> Any
| `- note: mark the protocol requirement 'view()' 'async' to allow actor-isolated conformances
309 | }
310 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewHosting.swift:38:19: warning: 'host(_:size:function:whileHosted:)' is deprecated: Use `host` version that doesn't supply the view in the `whileHosted` closure. See: https://github.com/nalexn/ViewInspector/discussions/354
36 | whileHosted: @MainActor () async throws -> Void
37 | ) async throws where V: View {
38 | try await host(view, function: function, whileHosted: { _ in
| `- warning: 'host(_:size:function:whileHosted:)' is deprecated: Use `host` version that doesn't supply the view in the `whileHosted` closure. See: https://github.com/nalexn/ViewInspector/discussions/354
39 | try await whileHosted()
40 | })
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewHosting.swift:139:26: warning: type 'Content.Medium' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
137 | return hosted[viewId]?.medium ?? .empty
138 | #else
139 | return MainActor.assumeIsolated {
| `- warning: type 'Content.Medium' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
140 | hosted[viewId]?.medium ?? .empty
141 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/BaseTypes.swift:165:12: note: consider making struct 'Medium' conform to the 'Sendable' protocol
163 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, *)
164 | internal extension Content {
165 | struct Medium {
| `- note: consider making struct 'Medium' conform to the 'Sendable' protocol
166 | let viewModifiers: [Any]
167 | let transitiveViewModifiers: [Any]
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewSearch.swift:272:30: warning: type 'InspectableView<ViewType.ClassifiedView>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
270 | ) throws -> InspectableView<ViewType.ClassifiedView> {
271 | precondition(skipFound >= 0)
272 | return try MainActor.assumeIsolated {
| `- warning: type 'InspectableView<ViewType.ClassifiedView>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
273 | try isolatedFind(relation: relation, traversal: traversal, skipFound: skipFound, where: condition)
274 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/InspectableView.swift:8:15: note: consider making generic struct 'InspectableView' conform to the 'Sendable' protocol
6 | @MainActor
7 | #endif
8 | public struct InspectableView<View> where View: BaseViewType {
| `- note: consider making generic struct 'InspectableView' conform to the 'Sendable' protocol
9 |
10 | internal let content: Content
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewSearch.swift:338:26: warning: type 'InspectableView<ViewType.ClassifiedView>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
336 | */
337 | func findAll(where condition: ViewSearch.Condition) -> [InspectableView<ViewType.ClassifiedView>] {
338 | return MainActor.assumeIsolated {
| `- warning: type 'InspectableView<ViewType.ClassifiedView>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
339 | isolatedFindAll(where: condition)
340 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/InspectableView.swift:8:15: note: consider making generic struct 'InspectableView' conform to the 'Sendable' protocol
6 | @MainActor
7 | #endif
8 | public struct InspectableView<View> where View: BaseViewType {
| `- note: consider making generic struct 'InspectableView' conform to the 'Sendable' protocol
9 |
10 | internal let content: Content
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewHosting.swift:46:24: warning: sending 'view' risks causing data races; this is an error in the Swift 6 language mode
44 | let viewId = ViewId(function: function)
45 | MainActor.assumeIsolated {
46 | host(view: view, size: size, viewId: viewId)
| |- warning: sending 'view' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'view' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
47 | }
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewSearch.swift:273:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
271 | precondition(skipFound >= 0)
272 | return try MainActor.assumeIsolated {
273 | try isolatedFind(relation: relation, traversal: traversal, skipFound: skipFound, where: condition)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
274 | }
275 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewSearch.swift:273:101: warning: sending 'condition' risks causing data races; this is an error in the Swift 6 language mode
271 | precondition(skipFound >= 0)
272 | return try MainActor.assumeIsolated {
273 | try isolatedFind(relation: relation, traversal: traversal, skipFound: skipFound, where: condition)
| |- warning: sending 'condition' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'condition' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
274 | }
275 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewSearch.swift:339:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
337 | func findAll(where condition: ViewSearch.Condition) -> [InspectableView<ViewType.ClassifiedView>] {
338 | return MainActor.assumeIsolated {
339 | isolatedFindAll(where: condition)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
340 | }
341 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewSearch.swift:339:36: warning: sending 'condition' risks causing data races; this is an error in the Swift 6 language mode
337 | func findAll(where condition: ViewSearch.Condition) -> [InspectableView<ViewType.ClassifiedView>] {
338 | return MainActor.assumeIsolated {
339 | isolatedFindAll(where: condition)
| |- warning: sending 'condition' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'condition' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
340 | }
341 | }
[124/127] Compiling ViewInspector ZStack.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/VideoPlayer.swift:86:10: warning: main actor-isolated instance method 'view()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
83 |
84 | @available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *)
85 | extension VideoPlayer: SingleViewProvider {
| `- note: add '@preconcurrency' to the 'SingleViewProvider' conformance to defer isolation checking to run time
86 | func view() throws -> Any {
| |- warning: main actor-isolated instance method 'view()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'view()' to make this instance method not isolated to the actor
87 | return try Inspector.attribute(
88 | path: "configuration|videoOverlay", value: self)
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/BaseTypes.swift:308:10: note: mark the protocol requirement 'view()' 'async' to allow actor-isolated conformances
306 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, *)
307 | internal protocol SingleViewProvider {
308 | func view() throws -> Any
| `- note: mark the protocol requirement 'view()' 'async' to allow actor-isolated conformances
309 | }
310 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewHosting.swift:38:19: warning: 'host(_:size:function:whileHosted:)' is deprecated: Use `host` version that doesn't supply the view in the `whileHosted` closure. See: https://github.com/nalexn/ViewInspector/discussions/354
36 | whileHosted: @MainActor () async throws -> Void
37 | ) async throws where V: View {
38 | try await host(view, function: function, whileHosted: { _ in
| `- warning: 'host(_:size:function:whileHosted:)' is deprecated: Use `host` version that doesn't supply the view in the `whileHosted` closure. See: https://github.com/nalexn/ViewInspector/discussions/354
39 | try await whileHosted()
40 | })
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewHosting.swift:139:26: warning: type 'Content.Medium' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
137 | return hosted[viewId]?.medium ?? .empty
138 | #else
139 | return MainActor.assumeIsolated {
| `- warning: type 'Content.Medium' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
140 | hosted[viewId]?.medium ?? .empty
141 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/BaseTypes.swift:165:12: note: consider making struct 'Medium' conform to the 'Sendable' protocol
163 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, *)
164 | internal extension Content {
165 | struct Medium {
| `- note: consider making struct 'Medium' conform to the 'Sendable' protocol
166 | let viewModifiers: [Any]
167 | let transitiveViewModifiers: [Any]
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewSearch.swift:272:30: warning: type 'InspectableView<ViewType.ClassifiedView>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
270 | ) throws -> InspectableView<ViewType.ClassifiedView> {
271 | precondition(skipFound >= 0)
272 | return try MainActor.assumeIsolated {
| `- warning: type 'InspectableView<ViewType.ClassifiedView>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
273 | try isolatedFind(relation: relation, traversal: traversal, skipFound: skipFound, where: condition)
274 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/InspectableView.swift:8:15: note: consider making generic struct 'InspectableView' conform to the 'Sendable' protocol
6 | @MainActor
7 | #endif
8 | public struct InspectableView<View> where View: BaseViewType {
| `- note: consider making generic struct 'InspectableView' conform to the 'Sendable' protocol
9 |
10 | internal let content: Content
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewSearch.swift:338:26: warning: type 'InspectableView<ViewType.ClassifiedView>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
336 | */
337 | func findAll(where condition: ViewSearch.Condition) -> [InspectableView<ViewType.ClassifiedView>] {
338 | return MainActor.assumeIsolated {
| `- warning: type 'InspectableView<ViewType.ClassifiedView>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
339 | isolatedFindAll(where: condition)
340 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/InspectableView.swift:8:15: note: consider making generic struct 'InspectableView' conform to the 'Sendable' protocol
6 | @MainActor
7 | #endif
8 | public struct InspectableView<View> where View: BaseViewType {
| `- note: consider making generic struct 'InspectableView' conform to the 'Sendable' protocol
9 |
10 | internal let content: Content
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewHosting.swift:46:24: warning: sending 'view' risks causing data races; this is an error in the Swift 6 language mode
44 | let viewId = ViewId(function: function)
45 | MainActor.assumeIsolated {
46 | host(view: view, size: size, viewId: viewId)
| |- warning: sending 'view' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'view' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
47 | }
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewSearch.swift:273:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
271 | precondition(skipFound >= 0)
272 | return try MainActor.assumeIsolated {
273 | try isolatedFind(relation: relation, traversal: traversal, skipFound: skipFound, where: condition)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
274 | }
275 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewSearch.swift:273:101: warning: sending 'condition' risks causing data races; this is an error in the Swift 6 language mode
271 | precondition(skipFound >= 0)
272 | return try MainActor.assumeIsolated {
273 | try isolatedFind(relation: relation, traversal: traversal, skipFound: skipFound, where: condition)
| |- warning: sending 'condition' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'condition' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
274 | }
275 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewSearch.swift:339:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
337 | func findAll(where condition: ViewSearch.Condition) -> [InspectableView<ViewType.ClassifiedView>] {
338 | return MainActor.assumeIsolated {
339 | isolatedFindAll(where: condition)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
340 | }
341 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewSearch.swift:339:36: warning: sending 'condition' risks causing data races; this is an error in the Swift 6 language mode
337 | func findAll(where condition: ViewSearch.Condition) -> [InspectableView<ViewType.ClassifiedView>] {
338 | return MainActor.assumeIsolated {
339 | isolatedFindAll(where: condition)
| |- warning: sending 'condition' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'condition' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
340 | }
341 | }
[125/127] Compiling ViewInspector ViewHosting.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/VideoPlayer.swift:86:10: warning: main actor-isolated instance method 'view()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
83 |
84 | @available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *)
85 | extension VideoPlayer: SingleViewProvider {
| `- note: add '@preconcurrency' to the 'SingleViewProvider' conformance to defer isolation checking to run time
86 | func view() throws -> Any {
| |- warning: main actor-isolated instance method 'view()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'view()' to make this instance method not isolated to the actor
87 | return try Inspector.attribute(
88 | path: "configuration|videoOverlay", value: self)
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/BaseTypes.swift:308:10: note: mark the protocol requirement 'view()' 'async' to allow actor-isolated conformances
306 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, *)
307 | internal protocol SingleViewProvider {
308 | func view() throws -> Any
| `- note: mark the protocol requirement 'view()' 'async' to allow actor-isolated conformances
309 | }
310 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewHosting.swift:38:19: warning: 'host(_:size:function:whileHosted:)' is deprecated: Use `host` version that doesn't supply the view in the `whileHosted` closure. See: https://github.com/nalexn/ViewInspector/discussions/354
36 | whileHosted: @MainActor () async throws -> Void
37 | ) async throws where V: View {
38 | try await host(view, function: function, whileHosted: { _ in
| `- warning: 'host(_:size:function:whileHosted:)' is deprecated: Use `host` version that doesn't supply the view in the `whileHosted` closure. See: https://github.com/nalexn/ViewInspector/discussions/354
39 | try await whileHosted()
40 | })
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewHosting.swift:139:26: warning: type 'Content.Medium' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
137 | return hosted[viewId]?.medium ?? .empty
138 | #else
139 | return MainActor.assumeIsolated {
| `- warning: type 'Content.Medium' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
140 | hosted[viewId]?.medium ?? .empty
141 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/BaseTypes.swift:165:12: note: consider making struct 'Medium' conform to the 'Sendable' protocol
163 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, *)
164 | internal extension Content {
165 | struct Medium {
| `- note: consider making struct 'Medium' conform to the 'Sendable' protocol
166 | let viewModifiers: [Any]
167 | let transitiveViewModifiers: [Any]
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewSearch.swift:272:30: warning: type 'InspectableView<ViewType.ClassifiedView>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
270 | ) throws -> InspectableView<ViewType.ClassifiedView> {
271 | precondition(skipFound >= 0)
272 | return try MainActor.assumeIsolated {
| `- warning: type 'InspectableView<ViewType.ClassifiedView>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
273 | try isolatedFind(relation: relation, traversal: traversal, skipFound: skipFound, where: condition)
274 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/InspectableView.swift:8:15: note: consider making generic struct 'InspectableView' conform to the 'Sendable' protocol
6 | @MainActor
7 | #endif
8 | public struct InspectableView<View> where View: BaseViewType {
| `- note: consider making generic struct 'InspectableView' conform to the 'Sendable' protocol
9 |
10 | internal let content: Content
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewSearch.swift:338:26: warning: type 'InspectableView<ViewType.ClassifiedView>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
336 | */
337 | func findAll(where condition: ViewSearch.Condition) -> [InspectableView<ViewType.ClassifiedView>] {
338 | return MainActor.assumeIsolated {
| `- warning: type 'InspectableView<ViewType.ClassifiedView>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
339 | isolatedFindAll(where: condition)
340 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/InspectableView.swift:8:15: note: consider making generic struct 'InspectableView' conform to the 'Sendable' protocol
6 | @MainActor
7 | #endif
8 | public struct InspectableView<View> where View: BaseViewType {
| `- note: consider making generic struct 'InspectableView' conform to the 'Sendable' protocol
9 |
10 | internal let content: Content
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewHosting.swift:46:24: warning: sending 'view' risks causing data races; this is an error in the Swift 6 language mode
44 | let viewId = ViewId(function: function)
45 | MainActor.assumeIsolated {
46 | host(view: view, size: size, viewId: viewId)
| |- warning: sending 'view' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'view' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
47 | }
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewSearch.swift:273:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
271 | precondition(skipFound >= 0)
272 | return try MainActor.assumeIsolated {
273 | try isolatedFind(relation: relation, traversal: traversal, skipFound: skipFound, where: condition)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
274 | }
275 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewSearch.swift:273:101: warning: sending 'condition' risks causing data races; this is an error in the Swift 6 language mode
271 | precondition(skipFound >= 0)
272 | return try MainActor.assumeIsolated {
273 | try isolatedFind(relation: relation, traversal: traversal, skipFound: skipFound, where: condition)
| |- warning: sending 'condition' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'condition' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
274 | }
275 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewSearch.swift:339:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
337 | func findAll(where condition: ViewSearch.Condition) -> [InspectableView<ViewType.ClassifiedView>] {
338 | return MainActor.assumeIsolated {
339 | isolatedFindAll(where: condition)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
340 | }
341 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewSearch.swift:339:36: warning: sending 'condition' risks causing data races; this is an error in the Swift 6 language mode
337 | func findAll(where condition: ViewSearch.Condition) -> [InspectableView<ViewType.ClassifiedView>] {
338 | return MainActor.assumeIsolated {
339 | isolatedFindAll(where: condition)
| |- warning: sending 'condition' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'condition' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
340 | }
341 | }
[126/127] Compiling ViewInspector ViewSearch.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/VideoPlayer.swift:86:10: warning: main actor-isolated instance method 'view()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
83 |
84 | @available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *)
85 | extension VideoPlayer: SingleViewProvider {
| `- note: add '@preconcurrency' to the 'SingleViewProvider' conformance to defer isolation checking to run time
86 | func view() throws -> Any {
| |- warning: main actor-isolated instance method 'view()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'view()' to make this instance method not isolated to the actor
87 | return try Inspector.attribute(
88 | path: "configuration|videoOverlay", value: self)
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/BaseTypes.swift:308:10: note: mark the protocol requirement 'view()' 'async' to allow actor-isolated conformances
306 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, *)
307 | internal protocol SingleViewProvider {
308 | func view() throws -> Any
| `- note: mark the protocol requirement 'view()' 'async' to allow actor-isolated conformances
309 | }
310 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewHosting.swift:38:19: warning: 'host(_:size:function:whileHosted:)' is deprecated: Use `host` version that doesn't supply the view in the `whileHosted` closure. See: https://github.com/nalexn/ViewInspector/discussions/354
36 | whileHosted: @MainActor () async throws -> Void
37 | ) async throws where V: View {
38 | try await host(view, function: function, whileHosted: { _ in
| `- warning: 'host(_:size:function:whileHosted:)' is deprecated: Use `host` version that doesn't supply the view in the `whileHosted` closure. See: https://github.com/nalexn/ViewInspector/discussions/354
39 | try await whileHosted()
40 | })
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewHosting.swift:139:26: warning: type 'Content.Medium' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
137 | return hosted[viewId]?.medium ?? .empty
138 | #else
139 | return MainActor.assumeIsolated {
| `- warning: type 'Content.Medium' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
140 | hosted[viewId]?.medium ?? .empty
141 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/BaseTypes.swift:165:12: note: consider making struct 'Medium' conform to the 'Sendable' protocol
163 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, *)
164 | internal extension Content {
165 | struct Medium {
| `- note: consider making struct 'Medium' conform to the 'Sendable' protocol
166 | let viewModifiers: [Any]
167 | let transitiveViewModifiers: [Any]
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewSearch.swift:272:30: warning: type 'InspectableView<ViewType.ClassifiedView>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
270 | ) throws -> InspectableView<ViewType.ClassifiedView> {
271 | precondition(skipFound >= 0)
272 | return try MainActor.assumeIsolated {
| `- warning: type 'InspectableView<ViewType.ClassifiedView>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
273 | try isolatedFind(relation: relation, traversal: traversal, skipFound: skipFound, where: condition)
274 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/InspectableView.swift:8:15: note: consider making generic struct 'InspectableView' conform to the 'Sendable' protocol
6 | @MainActor
7 | #endif
8 | public struct InspectableView<View> where View: BaseViewType {
| `- note: consider making generic struct 'InspectableView' conform to the 'Sendable' protocol
9 |
10 | internal let content: Content
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewSearch.swift:338:26: warning: type 'InspectableView<ViewType.ClassifiedView>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
336 | */
337 | func findAll(where condition: ViewSearch.Condition) -> [InspectableView<ViewType.ClassifiedView>] {
338 | return MainActor.assumeIsolated {
| `- warning: type 'InspectableView<ViewType.ClassifiedView>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
339 | isolatedFindAll(where: condition)
340 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/InspectableView.swift:8:15: note: consider making generic struct 'InspectableView' conform to the 'Sendable' protocol
6 | @MainActor
7 | #endif
8 | public struct InspectableView<View> where View: BaseViewType {
| `- note: consider making generic struct 'InspectableView' conform to the 'Sendable' protocol
9 |
10 | internal let content: Content
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewHosting.swift:46:24: warning: sending 'view' risks causing data races; this is an error in the Swift 6 language mode
44 | let viewId = ViewId(function: function)
45 | MainActor.assumeIsolated {
46 | host(view: view, size: size, viewId: viewId)
| |- warning: sending 'view' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'view' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
47 | }
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewSearch.swift:273:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
271 | precondition(skipFound >= 0)
272 | return try MainActor.assumeIsolated {
273 | try isolatedFind(relation: relation, traversal: traversal, skipFound: skipFound, where: condition)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
274 | }
275 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewSearch.swift:273:101: warning: sending 'condition' risks causing data races; this is an error in the Swift 6 language mode
271 | precondition(skipFound >= 0)
272 | return try MainActor.assumeIsolated {
273 | try isolatedFind(relation: relation, traversal: traversal, skipFound: skipFound, where: condition)
| |- warning: sending 'condition' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'condition' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
274 | }
275 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewSearch.swift:339:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
337 | func findAll(where condition: ViewSearch.Condition) -> [InspectableView<ViewType.ClassifiedView>] {
338 | return MainActor.assumeIsolated {
339 | isolatedFindAll(where: condition)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
340 | }
341 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewSearch.swift:339:36: warning: sending 'condition' risks causing data races; this is an error in the Swift 6 language mode
337 | func findAll(where condition: ViewSearch.Condition) -> [InspectableView<ViewType.ClassifiedView>] {
338 | return MainActor.assumeIsolated {
339 | isolatedFindAll(where: condition)
| |- warning: sending 'condition' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'condition' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
340 | }
341 | }
[127/127] Compiling ViewInspector ViewSearchIndex.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/SwiftUI/VideoPlayer.swift:86:10: warning: main actor-isolated instance method 'view()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
83 |
84 | @available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *)
85 | extension VideoPlayer: SingleViewProvider {
| `- note: add '@preconcurrency' to the 'SingleViewProvider' conformance to defer isolation checking to run time
86 | func view() throws -> Any {
| |- warning: main actor-isolated instance method 'view()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'view()' to make this instance method not isolated to the actor
87 | return try Inspector.attribute(
88 | path: "configuration|videoOverlay", value: self)
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/BaseTypes.swift:308:10: note: mark the protocol requirement 'view()' 'async' to allow actor-isolated conformances
306 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, *)
307 | internal protocol SingleViewProvider {
308 | func view() throws -> Any
| `- note: mark the protocol requirement 'view()' 'async' to allow actor-isolated conformances
309 | }
310 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewHosting.swift:38:19: warning: 'host(_:size:function:whileHosted:)' is deprecated: Use `host` version that doesn't supply the view in the `whileHosted` closure. See: https://github.com/nalexn/ViewInspector/discussions/354
36 | whileHosted: @MainActor () async throws -> Void
37 | ) async throws where V: View {
38 | try await host(view, function: function, whileHosted: { _ in
| `- warning: 'host(_:size:function:whileHosted:)' is deprecated: Use `host` version that doesn't supply the view in the `whileHosted` closure. See: https://github.com/nalexn/ViewInspector/discussions/354
39 | try await whileHosted()
40 | })
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewHosting.swift:139:26: warning: type 'Content.Medium' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
137 | return hosted[viewId]?.medium ?? .empty
138 | #else
139 | return MainActor.assumeIsolated {
| `- warning: type 'Content.Medium' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
140 | hosted[viewId]?.medium ?? .empty
141 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/BaseTypes.swift:165:12: note: consider making struct 'Medium' conform to the 'Sendable' protocol
163 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, *)
164 | internal extension Content {
165 | struct Medium {
| `- note: consider making struct 'Medium' conform to the 'Sendable' protocol
166 | let viewModifiers: [Any]
167 | let transitiveViewModifiers: [Any]
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewSearch.swift:272:30: warning: type 'InspectableView<ViewType.ClassifiedView>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
270 | ) throws -> InspectableView<ViewType.ClassifiedView> {
271 | precondition(skipFound >= 0)
272 | return try MainActor.assumeIsolated {
| `- warning: type 'InspectableView<ViewType.ClassifiedView>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
273 | try isolatedFind(relation: relation, traversal: traversal, skipFound: skipFound, where: condition)
274 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/InspectableView.swift:8:15: note: consider making generic struct 'InspectableView' conform to the 'Sendable' protocol
6 | @MainActor
7 | #endif
8 | public struct InspectableView<View> where View: BaseViewType {
| `- note: consider making generic struct 'InspectableView' conform to the 'Sendable' protocol
9 |
10 | internal let content: Content
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewSearch.swift:338:26: warning: type 'InspectableView<ViewType.ClassifiedView>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
336 | */
337 | func findAll(where condition: ViewSearch.Condition) -> [InspectableView<ViewType.ClassifiedView>] {
338 | return MainActor.assumeIsolated {
| `- warning: type 'InspectableView<ViewType.ClassifiedView>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
339 | isolatedFindAll(where: condition)
340 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/InspectableView.swift:8:15: note: consider making generic struct 'InspectableView' conform to the 'Sendable' protocol
6 | @MainActor
7 | #endif
8 | public struct InspectableView<View> where View: BaseViewType {
| `- note: consider making generic struct 'InspectableView' conform to the 'Sendable' protocol
9 |
10 | internal let content: Content
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewHosting.swift:46:24: warning: sending 'view' risks causing data races; this is an error in the Swift 6 language mode
44 | let viewId = ViewId(function: function)
45 | MainActor.assumeIsolated {
46 | host(view: view, size: size, viewId: viewId)
| |- warning: sending 'view' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'view' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
47 | }
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewSearch.swift:273:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
271 | precondition(skipFound >= 0)
272 | return try MainActor.assumeIsolated {
273 | try isolatedFind(relation: relation, traversal: traversal, skipFound: skipFound, where: condition)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
274 | }
275 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewSearch.swift:273:101: warning: sending 'condition' risks causing data races; this is an error in the Swift 6 language mode
271 | precondition(skipFound >= 0)
272 | return try MainActor.assumeIsolated {
273 | try isolatedFind(relation: relation, traversal: traversal, skipFound: skipFound, where: condition)
| |- warning: sending 'condition' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'condition' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
274 | }
275 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewSearch.swift:339:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
337 | func findAll(where condition: ViewSearch.Condition) -> [InspectableView<ViewType.ClassifiedView>] {
338 | return MainActor.assumeIsolated {
339 | isolatedFindAll(where: condition)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
340 | }
341 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewInspector/ViewSearch.swift:339:36: warning: sending 'condition' risks causing data races; this is an error in the Swift 6 language mode
337 | func findAll(where condition: ViewSearch.Condition) -> [InspectableView<ViewType.ClassifiedView>] {
338 | return MainActor.assumeIsolated {
339 | isolatedFindAll(where: condition)
| |- warning: sending 'condition' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'condition' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
340 | }
341 | }
Build complete! (41.31s)
Build complete.
{
"default_localization" : "en",
"dependencies" : [
],
"manifest_display_name" : "ViewInspector",
"name" : "ViewInspector",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "7.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "ViewInspector",
"targets" : [
"ViewInspector"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ViewInspectorTests",
"module_type" : "SwiftTarget",
"name" : "ViewInspectorTests",
"path" : "Tests/ViewInspectorTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/ViewInspectorTests/TestResources/en-AU.lproj/Test.strings",
"rule" : {
"process" : {
"localization" : "en-au"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/ViewInspectorTests/TestResources/en.lproj/Test.strings",
"rule" : {
"process" : {
"localization" : "en"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/ViewInspectorTests/TestResources/ru.lproj/Test.strings",
"rule" : {
"process" : {
"localization" : "ru"
}
}
}
],
"sources" : [
"BaseTypesTests.swift",
"CustomInspectableTests.swift",
"Gestures/CommonComposedGestureChangedTests.swift",
"Gestures/CommonComposedGestureEndedTests.swift",
"Gestures/CommonComposedGestureTests.swift",
"Gestures/CommonComposedGestureUpdatingTests.swift",
"Gestures/CommonGestureTests.swift",
"Gestures/ComposedGestureExampleTests.swift",
"Gestures/DragGestureTests.swift",
"Gestures/ExclusiveGestureChildrenTests.swift",
"Gestures/ExclusiveGestureTests.swift",
"Gestures/GestureExampleTests.swift",
"Gestures/GestureModifiers/GestureActionTests.swift",
"Gestures/GestureModifiers/GestureModifierTests.swift",
"Gestures/GestureModifiers/HighPriorityGestureModifierTests.swift",
"Gestures/GestureModifiers/HitTestingTests.swift",
"Gestures/GestureModifiers/SimultaneousGestureModifierTests.swift",
"Gestures/LongPressGestureTests.swift",
"Gestures/MagnificationGestureTests.swift",
"Gestures/RotationGestureTests.swift",
"Gestures/SequenceGestureChildrenTests.swift",
"Gestures/SequenceGestureTests.swift",
"Gestures/SimultaneousGestureChildrenTests.swift",
"Gestures/SimultaneousGestureTests.swift",
"Gestures/SpatialTapGestureTests.swift",
"Gestures/TapGestureTests.swift",
"InspectableViewTests.swift",
"InspectionEmissaryTests.swift",
"InspectorTests.swift",
"LazyGroupTests.swift",
"SwiftUI/ActionSheetTests.swift",
"SwiftUI/AlertTests.swift",
"SwiftUI/AngularGradientTests.swift",
"SwiftUI/AnyViewTests.swift",
"SwiftUI/AsyncImageTests.swift",
"SwiftUI/ButtonTests.swift",
"SwiftUI/CanvasTests.swift",
"SwiftUI/ColorPickerTests.swift",
"SwiftUI/ColorTests.swift",
"SwiftUI/ConditionalContentTests.swift",
"SwiftUI/ConfirmationDialogTests.swift",
"SwiftUI/ContentUnavailableViewTests.swift",
"SwiftUI/ControlGroupTests.swift",
"SwiftUI/CustomViewBuilderTests.swift",
"SwiftUI/CustomViewModifierTests.swift",
"SwiftUI/CustomViewTests.swift",
"SwiftUI/DatePickerTests.swift",
"SwiftUI/DisclosureGroupTests.swift",
"SwiftUI/DividerTests.swift",
"SwiftUI/EditButtonTests.swift",
"SwiftUI/EllipticalGradientTests.swift",
"SwiftUI/EmptyViewTests.swift",
"SwiftUI/EnvironmentObjectInjectionTests.swift",
"SwiftUI/EquatableViewTests.swift",
"SwiftUI/ForEachTests.swift",
"SwiftUI/FormTests.swift",
"SwiftUI/FullScreenCoverTests.swift",
"SwiftUI/GeometryReaderTests.swift",
"SwiftUI/GridTests.swift",
"SwiftUI/GroupBoxTests.swift",
"SwiftUI/GroupTests.swift",
"SwiftUI/HSplitViewTests.swift",
"SwiftUI/HStackTests.swift",
"SwiftUI/HelpTests.swift",
"SwiftUI/IDViewTests.swift",
"SwiftUI/ImageTests.swift",
"SwiftUI/LabelTests.swift",
"SwiftUI/LabeledContentTests.swift",
"SwiftUI/LazyHGridTests.swift",
"SwiftUI/LazyHStackTests.swift",
"SwiftUI/LazyVGridTests.swift",
"SwiftUI/LazyVStackTests.swift",
"SwiftUI/LinearGradientTests.swift",
"SwiftUI/LinkTests.swift",
"SwiftUI/ListTests.swift",
"SwiftUI/LocationButtonTests.swift",
"SwiftUI/MapAnnotationTests.swift",
"SwiftUI/MapTests.swift",
"SwiftUI/MenuButtonTests.swift",
"SwiftUI/MenuTests.swift",
"SwiftUI/MultiDatePickerTests.swift",
"SwiftUI/NavigationDestinationTests.swift",
"SwiftUI/NavigationLinkTests.swift",
"SwiftUI/NavigationSplitViewTests.swift",
"SwiftUI/NavigationStackTests.swift",
"SwiftUI/NavigationViewTests.swift",
"SwiftUI/OpaqueViewTests.swift",
"SwiftUI/OptionalViewTests.swift",
"SwiftUI/OutlineGroupTests.swift",
"SwiftUI/PasteButtonTests.swift",
"SwiftUI/PickerTests.swift",
"SwiftUI/PopoverContentTests.swift",
"SwiftUI/PopoverTests.swift",
"SwiftUI/PreferenceTests.swift",
"SwiftUI/ProgressViewTests.swift",
"SwiftUI/RadialGradientTests.swift",
"SwiftUI/SafeAreaInsetTests.swift",
"SwiftUI/ScrollViewReaderTests.swift",
"SwiftUI/ScrollViewTests.swift",
"SwiftUI/SectionTests.swift",
"SwiftUI/SecureFieldTests.swift",
"SwiftUI/ShapeTests.swift",
"SwiftUI/ShareLinkTests.swift",
"SwiftUI/SheetTests.swift",
"SwiftUI/SignInWithAppleButtonTests.swift",
"SwiftUI/SliderTests.swift",
"SwiftUI/SpacerTests.swift",
"SwiftUI/StepperTests.swift",
"SwiftUI/SubscriptionViewTests.swift",
"SwiftUI/TabViewTests.swift",
"SwiftUI/TextAttributesTests.swift",
"SwiftUI/TextEditorTests.swift",
"SwiftUI/TextFieldTests.swift",
"SwiftUI/TextTests.swift",
"SwiftUI/TimelineViewTests.swift",
"SwiftUI/ToggleTests.swift",
"SwiftUI/ToolbarTests.swift",
"SwiftUI/TouchBarTests.swift",
"SwiftUI/TreeViewTests.swift",
"SwiftUI/TupleViewTests.swift",
"SwiftUI/VSplitViewTests.swift",
"SwiftUI/VStackTests.swift",
"SwiftUI/VideoPlayerTests.swift",
"SwiftUI/ViewThatFitsTests.swift",
"SwiftUI/ZStackTests.swift",
"ViewHostingTests.swift",
"ViewModifiers/AccessibilityModifiersTests.swift",
"ViewModifiers/AnimationModifiersTests.swift",
"ViewModifiers/ConfigurationModifiersTests.swift",
"ViewModifiers/CustomStyleModifiersTests.swift",
"ViewModifiers/EnvironmentModifiersTests.swift",
"ViewModifiers/EventsModifiersTests.swift",
"ViewModifiers/InteractionModifiersTests.swift",
"ViewModifiers/NavigationBarModifiersTests.swift",
"ViewModifiers/NestedModifiersTests.swift",
"ViewModifiers/PositioningModifiersTests.swift",
"ViewModifiers/PresentationModifiersTests.swift",
"ViewModifiers/SizingModifiersTests.swift",
"ViewModifiers/TextInputModifiersTests.swift",
"ViewModifiers/TransformingModifiersTests.swift",
"ViewModifiers/TransitiveModifiersTests.swift",
"ViewModifiers/ViewPaddingTests.swift",
"ViewModifiers/VisualEffectModifiersTests.swift",
"ViewSearchTests.swift"
],
"target_dependencies" : [
"ViewInspector"
],
"type" : "test"
},
{
"c99name" : "ViewInspector",
"module_type" : "SwiftTarget",
"name" : "ViewInspector",
"path" : "Sources/ViewInspector",
"product_memberships" : [
"ViewInspector"
],
"sources" : [
"BaseTypes.swift",
"ContentExtraction.swift",
"EnvironmentInjection.swift",
"InspectableView+RandomAccessCollection.swift",
"InspectableView.swift",
"InspectionEmissary.swift",
"Inspector.swift",
"LazyGroup.swift",
"Modifiers/AccessibilityModifiers.swift",
"Modifiers/AnimationModifiers.swift",
"Modifiers/ConfigurationModifiers.swift",
"Modifiers/CustomStyleModifiers.swift",
"Modifiers/EnvironmentModifiers.swift",
"Modifiers/EventsModifiers.swift",
"Modifiers/GestureModifiers.swift",
"Modifiers/InteractionModifiers.swift",
"Modifiers/NavigationBarModifiers.swift",
"Modifiers/PositioningModifiers.swift",
"Modifiers/PreviewModifiers.swift",
"Modifiers/SizingModifiers.swift",
"Modifiers/TextInputModifiers.swift",
"Modifiers/TransformingModifiers.swift",
"Modifiers/TransitiveModifiers.swift",
"Modifiers/VisualEffectModifiers.swift",
"PopupPresenter.swift",
"SwiftUI/ActionSheet.swift",
"SwiftUI/Alert.swift",
"SwiftUI/AngularGradient.swift",
"SwiftUI/AnyView.swift",
"SwiftUI/AsyncImage.swift",
"SwiftUI/Button.swift",
"SwiftUI/Canvas.swift",
"SwiftUI/ClassifiedView.swift",
"SwiftUI/Color.swift",
"SwiftUI/ColorPicker.swift",
"SwiftUI/ConditionalContent.swift",
"SwiftUI/ConfirmationDialog.swift",
"SwiftUI/ContentUnavailableView.swift",
"SwiftUI/ControlGroup.swift",
"SwiftUI/CustomView.swift",
"SwiftUI/CustomViewModifier.swift",
"SwiftUI/DatePicker.swift",
"SwiftUI/DelayedPreferenceView.swift",
"SwiftUI/DisclosureGroup.swift",
"SwiftUI/Divider.swift",
"SwiftUI/EditButton.swift",
"SwiftUI/EllipticalGradient.swift",
"SwiftUI/EmptyView.swift",
"SwiftUI/EquatableView.swift",
"SwiftUI/ForEach.swift",
"SwiftUI/Form.swift",
"SwiftUI/GeometryReader.swift",
"SwiftUI/Gesture.swift",
"SwiftUI/Grid.swift",
"SwiftUI/Group.swift",
"SwiftUI/GroupBox.swift",
"SwiftUI/HSplitView.swift",
"SwiftUI/HStack.swift",
"SwiftUI/HelpView.swift",
"SwiftUI/IDView.swift",
"SwiftUI/Image.swift",
"SwiftUI/Label.swift",
"SwiftUI/LabeledContent.swift",
"SwiftUI/LazyHGrid.swift",
"SwiftUI/LazyHStack.swift",
"SwiftUI/LazyVGrid.swift",
"SwiftUI/LazyVStack.swift",
"SwiftUI/LinearGradient.swift",
"SwiftUI/Link.swift",
"SwiftUI/List.swift",
"SwiftUI/LocationButton.swift",
"SwiftUI/Map.swift",
"SwiftUI/MapAnnotation.swift",
"SwiftUI/Menu.swift",
"SwiftUI/MenuButton.swift",
"SwiftUI/MultiDatePicker.swift",
"SwiftUI/NavigationDestination.swift",
"SwiftUI/NavigationLink.swift",
"SwiftUI/NavigationSplitView.swift",
"SwiftUI/NavigationStack.swift",
"SwiftUI/NavigationView.swift",
"SwiftUI/OptionalContent.swift",
"SwiftUI/OutlineGroup.swift",
"SwiftUI/Overlay.swift",
"SwiftUI/PasteButton.swift",
"SwiftUI/Picker.swift",
"SwiftUI/Popover.swift",
"SwiftUI/PopoverContent.swift",
"SwiftUI/ProgressView.swift",
"SwiftUI/RadialGradient.swift",
"SwiftUI/SafeAreaInset.swift",
"SwiftUI/ScrollView.swift",
"SwiftUI/ScrollViewReader.swift",
"SwiftUI/Section.swift",
"SwiftUI/SecureField.swift",
"SwiftUI/Shape.swift",
"SwiftUI/ShareLink.swift",
"SwiftUI/Sheet.swift",
"SwiftUI/SignInWithAppleButton.swift",
"SwiftUI/Slider.swift",
"SwiftUI/Spacer.swift",
"SwiftUI/Stepper.swift",
"SwiftUI/StyleConfiguration.swift",
"SwiftUI/SubscriptionView.swift",
"SwiftUI/TabView.swift",
"SwiftUI/Text.swift",
"SwiftUI/TextAttributes.swift",
"SwiftUI/TextEditor.swift",
"SwiftUI/TextField.swift",
"SwiftUI/TimelineView.swift",
"SwiftUI/Toggle.swift",
"SwiftUI/Toolbar.swift",
"SwiftUI/TouchBar.swift",
"SwiftUI/TreeView.swift",
"SwiftUI/TupleView.swift",
"SwiftUI/UnaryViewAdaptor.swift",
"SwiftUI/VSplitView.swift",
"SwiftUI/VStack.swift",
"SwiftUI/VideoPlayer.swift",
"SwiftUI/ViewThatFits.swift",
"SwiftUI/ZStack.swift",
"ViewHosting.swift",
"ViewSearch.swift",
"ViewSearchIndex.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.