Build Information
Failed to build SwiftRewriter, reference 0.2.0 (5a14df
), with Swift 6.0 for Linux on 31 Oct 2024 15:07:18 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
277 | setter: { $0.withBody($1) },
278 | getter: { $0.body }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:287:16: warning: static property 'input' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionSignatureSyntax, ParameterClauseSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
285 | {
286 | /// Cursor 0
287 | static let input = Lens(
| |- warning: static property 'input' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionSignatureSyntax, ParameterClauseSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'input' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
288 | setter: { $0.withInput($1) },
289 | getter: { $0.input }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:296:16: warning: static property 'throwsOrRethrowsKeyword' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionSignatureSyntax, TokenSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
294 | {
295 | /// Cursor 1
296 | static let throwsOrRethrowsKeyword = Lens(
| |- warning: static property 'throwsOrRethrowsKeyword' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionSignatureSyntax, TokenSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'throwsOrRethrowsKeyword' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
297 | setter: { $0.withThrowsOrRethrowsKeyword($1) },
298 | getter: { $0.throwsOrRethrowsKeyword }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:305:16: warning: static property 'output' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionSignatureSyntax, ReturnClauseSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
303 | {
304 | /// Cursor 2
305 | static let output = Lens(
| |- warning: static property 'output' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionSignatureSyntax, ReturnClauseSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'output' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
306 | setter: { $0.withOutput($1) },
307 | getter: { $0.output }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:419:16: warning: static property 'elseKeyword' is not concurrency-safe because non-'Sendable' type 'Lens<GuardStmtSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
417 | extension Lens where Whole == GuardStmtSyntax, Part == TokenSyntax
418 | {
419 | static let elseKeyword = Lens(
| |- warning: static property 'elseKeyword' is not concurrency-safe because non-'Sendable' type 'Lens<GuardStmtSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'elseKeyword' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
420 | setter: { $0.withElseKeyword($1) },
421 | getter: { $0.elseKeyword }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:427:16: warning: static property 'body' is not concurrency-safe because non-'Sendable' type 'Lens<GuardStmtSyntax, CodeBlockSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
425 | extension Lens where Whole == GuardStmtSyntax, Part == CodeBlockSyntax
426 | {
427 | static let body = Lens(
| |- warning: static property 'body' is not concurrency-safe because non-'Sendable' type 'Lens<GuardStmtSyntax, CodeBlockSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'body' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
428 | setter: { $0.withBody($1) },
429 | getter: { $0.body }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:342:16: warning: static property 'equal' is not concurrency-safe because non-'Sendable' type 'Lens<InitializerClauseSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
340 | {
341 | /// Cursor 0
342 | static let equal = Lens(
| |- warning: static property 'equal' is not concurrency-safe because non-'Sendable' type 'Lens<InitializerClauseSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'equal' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
343 | setter: { $0.withEqual($1) },
344 | getter: { $0.equal }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:351:16: warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Lens<InitializerClauseSyntax, any ExprSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
349 | {
350 | /// Cursor 1
351 | static let value = Lens(
| |- warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Lens<InitializerClauseSyntax, any ExprSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'value' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
352 | setter: { $0.withValue($1) },
353 | getter: { $0.value }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:362:16: warning: static property 'whereKeyword' is not concurrency-safe because non-'Sendable' type 'Lens<WhereClauseSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
360 | {
361 | /// Cursor 0
362 | static let whereKeyword = Lens(
| |- warning: static property 'whereKeyword' is not concurrency-safe because non-'Sendable' type 'Lens<WhereClauseSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'whereKeyword' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
363 | setter: { $0.withWhereKeyword($1) },
364 | getter: { $0.whereKeyword }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:371:16: warning: static property 'guardResult' is not concurrency-safe because non-'Sendable' type 'Lens<WhereClauseSyntax, any ExprSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
369 | {
370 | /// Cursor 1
371 | static let guardResult = Lens(
| |- warning: static property 'guardResult' is not concurrency-safe because non-'Sendable' type 'Lens<WhereClauseSyntax, any ExprSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'guardResult' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
372 | setter: { $0.withGuardResult($1) },
373 | getter: { $0.guardResult }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:459:16: warning: static property 'questionMark' is not concurrency-safe because non-'Sendable' type 'Lens<TernaryExprSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
457 | {
458 | /// Cursor 1
459 | static let questionMark = Lens(
| |- warning: static property 'questionMark' is not concurrency-safe because non-'Sendable' type 'Lens<TernaryExprSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'questionMark' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
460 | setter: { $0.withQuestionMark($1) },
461 | getter: { $0.questionMark }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:444:16: warning: static property 'firstChoice' is not concurrency-safe because non-'Sendable' type 'Lens<TernaryExprSyntax, any ExprSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
442 |
443 | /// Cursor 2
444 | static let firstChoice = Lens(
| |- warning: static property 'firstChoice' is not concurrency-safe because non-'Sendable' type 'Lens<TernaryExprSyntax, any ExprSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'firstChoice' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
445 | setter: { $0.withFirstChoice($1) },
446 | getter: { $0.firstChoice }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:465:16: warning: static property 'colonMark' is not concurrency-safe because non-'Sendable' type 'Lens<TernaryExprSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
463 |
464 | /// Cursor 3
465 | static let colonMark = Lens(
| |- warning: static property 'colonMark' is not concurrency-safe because non-'Sendable' type 'Lens<TernaryExprSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'colonMark' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
466 | setter: { $0.withColonMark($1) },
467 | getter: { $0.colonMark }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:450:16: warning: static property 'secondChoice' is not concurrency-safe because non-'Sendable' type 'Lens<TernaryExprSyntax, any ExprSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
448 |
449 | /// Cursor 4
450 | static let secondChoice = Lens(
| |- warning: static property 'secondChoice' is not concurrency-safe because non-'Sendable' type 'Lens<TernaryExprSyntax, any ExprSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'secondChoice' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
451 | setter: { $0.withSecondChoice($1) },
452 | getter: { $0.secondChoice }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:503:16: warning: static property 'leftParen' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionCallExprSyntax, TokenSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
501 | {
502 | /// Cursor 1
503 | static let leftParen = Lens(
| |- warning: static property 'leftParen' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionCallExprSyntax, TokenSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'leftParen' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
504 | setter: { $0.withLeftParen($1) },
505 | getter: { $0.leftParen }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:485:16: warning: static property 'argumentList' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionCallExprSyntax, FunctionCallArgumentListSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
483 | {
484 | /// Cursor 2
485 | static let argumentList = Lens(
| |- warning: static property 'argumentList' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionCallExprSyntax, FunctionCallArgumentListSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'argumentList' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
486 | setter: { $0.withArgumentList($1) },
487 | getter: { $0.argumentList }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:509:16: warning: static property 'rightParen' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionCallExprSyntax, TokenSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
507 |
508 | /// Cursor 3
509 | static let rightParen = Lens(
| |- warning: static property 'rightParen' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionCallExprSyntax, TokenSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'rightParen' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
510 | setter: { $0.withRightParen($1) },
511 | getter: { $0.rightParen }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:494:16: warning: static property 'trailingClosure' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionCallExprSyntax, ClosureExprSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
492 | {
493 | /// Cursor 4
494 | static let trailingClosure = Lens(
| |- warning: static property 'trailingClosure' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionCallExprSyntax, ClosureExprSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'trailingClosure' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
495 | setter: { $0.withTrailingClosure($1) },
496 | getter: { $0.trailingClosure }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:555:16: warning: static property 'leftBrace' is not concurrency-safe because non-'Sendable' type 'Lens<ClosureExprSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
553 | {
554 | /// Cursor 0
555 | static let leftBrace = Lens(
| |- warning: static property 'leftBrace' is not concurrency-safe because non-'Sendable' type 'Lens<ClosureExprSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'leftBrace' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
556 | setter: { $0.withLeftBrace($1) },
557 | getter: { $0.leftBrace }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:570:16: warning: static property 'signature' is not concurrency-safe because non-'Sendable' type 'Lens<ClosureExprSyntax, ClosureSignatureSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
568 | {
569 | /// Cursor 1
570 | static let signature = Lens(
| |- warning: static property 'signature' is not concurrency-safe because non-'Sendable' type 'Lens<ClosureExprSyntax, ClosureSignatureSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'signature' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
571 | setter: { $0.withSignature($1) },
572 | getter: { $0.signature }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:579:16: warning: static property 'statements' is not concurrency-safe because non-'Sendable' type 'Lens<ClosureExprSyntax, CodeBlockItemListSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
577 | {
578 | /// Cursor 2
579 | static let statements = Lens(
| |- warning: static property 'statements' is not concurrency-safe because non-'Sendable' type 'Lens<ClosureExprSyntax, CodeBlockItemListSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'statements' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
580 | setter: { $0.withStatements($1) },
581 | getter: { $0.statements }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:561:16: warning: static property 'rightBrace' is not concurrency-safe because non-'Sendable' type 'Lens<ClosureExprSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
559 |
560 | /// Cursor 3
561 | static let rightBrace = Lens(
| |- warning: static property 'rightBrace' is not concurrency-safe because non-'Sendable' type 'Lens<ClosureExprSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'rightBrace' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
562 | setter: { $0.withRightBrace($1) },
563 | getter: { $0.rightBrace }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:529:16: warning: static property 'dot' is not concurrency-safe because non-'Sendable' type 'Lens<MemberAccessExprSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
527 | {
528 | /// Cursor 1
529 | static let dot = Lens(
| |- warning: static property 'dot' is not concurrency-safe because non-'Sendable' type 'Lens<MemberAccessExprSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dot' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
530 | setter: { $0.withDot($1) },
531 | getter: { $0.dot }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:535:16: warning: static property 'name' is not concurrency-safe because non-'Sendable' type 'Lens<MemberAccessExprSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
533 |
534 | /// Cursor 2
535 | static let name = Lens(
| |- warning: static property 'name' is not concurrency-safe because non-'Sendable' type 'Lens<MemberAccessExprSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'name' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
536 | setter: { $0.withName($1) },
537 | getter: { $0.name }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:544:16: warning: static property 'declNameArguments' is not concurrency-safe because non-'Sendable' type 'Lens<MemberAccessExprSyntax, DeclNameArgumentsSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
542 | {
543 | /// Cursor 3
544 | static let declNameArguments = Lens(
| |- warning: static property 'declNameArguments' is not concurrency-safe because non-'Sendable' type 'Lens<MemberAccessExprSyntax, DeclNameArgumentsSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'declNameArguments' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
545 | setter: { $0.withDeclNameArguments($1) },
546 | getter: { $0.declNameArguments }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:520:16: warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'Lens<MemberAccessExprSyntax, (any ExprSyntax)?>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
518 | {
519 | /// Cursor 0
520 | static let base = Lens(
| |- warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'Lens<MemberAccessExprSyntax, (any ExprSyntax)?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'base' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
521 | setter: { $0.withBase($1) },
522 | getter: { $0.base }
[85/99] Compiling SwiftRewriter ExtensionIniter.swift
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:136:16: warning: static property 'attributes' is not concurrency-safe because non-'Sendable' type 'Lens<InitializerDeclSyntax, AttributeListSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
134 | {
135 | /// Cursor 0
136 | static let attributes = Lens(
| |- warning: static property 'attributes' is not concurrency-safe because non-'Sendable' type 'Lens<InitializerDeclSyntax, AttributeListSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attributes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
137 | setter: { $0.withAttributes($1) },
138 | getter: { $0.attributes }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:145:16: warning: static property 'modifiers' is not concurrency-safe because non-'Sendable' type 'Lens<InitializerDeclSyntax, ModifierListSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
143 | {
144 | /// Cursor 1
145 | static let modifiers = Lens(
| |- warning: static property 'modifiers' is not concurrency-safe because non-'Sendable' type 'Lens<InitializerDeclSyntax, ModifierListSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'modifiers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
146 | setter: { $0.withModifiers($1) },
147 | getter: { $0.modifiers }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:154:16: warning: static property 'initKeyword' is not concurrency-safe because non-'Sendable' type 'Lens<InitializerDeclSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
152 | {
153 | /// Cursor 2
154 | static let initKeyword = Lens(
| |- warning: static property 'initKeyword' is not concurrency-safe because non-'Sendable' type 'Lens<InitializerDeclSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'initKeyword' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
155 | setter: { $0.withInitKeyword($1) },
156 | getter: { $0.initKeyword }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:163:16: warning: static property 'optionalMark' is not concurrency-safe because non-'Sendable' type 'Lens<InitializerDeclSyntax, TokenSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
161 | {
162 | /// Cursor 3
163 | static let optionalMark = Lens(
| |- warning: static property 'optionalMark' is not concurrency-safe because non-'Sendable' type 'Lens<InitializerDeclSyntax, TokenSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'optionalMark' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
164 | setter: { $0.withOptionalMark($1) },
165 | getter: { $0.optionalMark }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:178:16: warning: static property 'genericParameterClause' is not concurrency-safe because non-'Sendable' type 'Lens<InitializerDeclSyntax, GenericParameterClauseSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
176 | {
177 | /// Cursor 4
178 | static let genericParameterClause = Lens(
| |- warning: static property 'genericParameterClause' is not concurrency-safe because non-'Sendable' type 'Lens<InitializerDeclSyntax, GenericParameterClauseSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'genericParameterClause' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
179 | setter: { $0.withGenericParameterClause($1) },
180 | getter: { $0.genericParameterClause }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:187:16: warning: static property 'parameters' is not concurrency-safe because non-'Sendable' type 'Lens<InitializerDeclSyntax, ParameterClauseSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
185 | {
186 | /// Cursor 5
187 | static let parameters = Lens(
| |- warning: static property 'parameters' is not concurrency-safe because non-'Sendable' type 'Lens<InitializerDeclSyntax, ParameterClauseSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'parameters' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
188 | setter: { $0.withParameters($1) },
189 | getter: { $0.parameters }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:316:16: warning: static property 'leftParen' is not concurrency-safe because non-'Sendable' type 'Lens<ParameterClauseSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
314 | {
315 | /// Cursor 0
316 | static let leftParen = Lens(
| |- warning: static property 'leftParen' is not concurrency-safe because non-'Sendable' type 'Lens<ParameterClauseSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'leftParen' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
317 | setter: { $0.withLeftParen($1) },
318 | getter: { $0.leftParen }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:331:16: warning: static property 'parameterList' is not concurrency-safe because non-'Sendable' type 'Lens<ParameterClauseSyntax, FunctionParameterListSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
329 | {
330 | /// Cursor 1
331 | static let parameterList = Lens(
| |- warning: static property 'parameterList' is not concurrency-safe because non-'Sendable' type 'Lens<ParameterClauseSyntax, FunctionParameterListSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'parameterList' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
332 | setter: { $0.withParameterList($1) },
333 | getter: { $0.parameterList }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:322:16: warning: static property 'rightParen' is not concurrency-safe because non-'Sendable' type 'Lens<ParameterClauseSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
320 |
321 | /// Cursor 2
322 | static let rightParen = Lens(
| |- warning: static property 'rightParen' is not concurrency-safe because non-'Sendable' type 'Lens<ParameterClauseSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'rightParen' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
323 | setter: { $0.withRightParen($1) },
324 | getter: { $0.rightParen }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:169:16: warning: static property 'throwsOrRethrowsKeyword' is not concurrency-safe because non-'Sendable' type 'Lens<InitializerDeclSyntax, TokenSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
167 |
168 | /// Cursor 6
169 | static let throwsOrRethrowsKeyword = Lens(
| |- warning: static property 'throwsOrRethrowsKeyword' is not concurrency-safe because non-'Sendable' type 'Lens<InitializerDeclSyntax, TokenSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'throwsOrRethrowsKeyword' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
170 | setter: { $0.withThrowsOrRethrowsKeyword($1) },
171 | getter: { $0.throwsOrRethrowsKeyword }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:196:16: warning: static property 'genericWhereClause' is not concurrency-safe because non-'Sendable' type 'Lens<InitializerDeclSyntax, GenericWhereClauseSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
194 | {
195 | /// Cursor 7
196 | static let genericWhereClause = Lens(
| |- warning: static property 'genericWhereClause' is not concurrency-safe because non-'Sendable' type 'Lens<InitializerDeclSyntax, GenericWhereClauseSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'genericWhereClause' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
197 | setter: { $0.withGenericWhereClause($1) },
198 | getter: { $0.genericWhereClause }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:205:16: warning: static property 'body' is not concurrency-safe because non-'Sendable' type 'Lens<InitializerDeclSyntax, CodeBlockSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
203 | {
204 | /// Cursor 8
205 | static let body = Lens(
| |- warning: static property 'body' is not concurrency-safe because non-'Sendable' type 'Lens<InitializerDeclSyntax, CodeBlockSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'body' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
206 | setter: { $0.withBody($1) },
207 | getter: { $0.body }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:216:16: warning: static property 'attributes' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionDeclSyntax, AttributeListSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
214 | {
215 | /// Cursor 0
216 | static let attributes = Lens(
| |- warning: static property 'attributes' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionDeclSyntax, AttributeListSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attributes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
217 | setter: { $0.withAttributes($1) },
218 | getter: { $0.attributes }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:225:16: warning: static property 'modifiers' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionDeclSyntax, ModifierListSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
223 | {
224 | /// Cursor 1
225 | static let modifiers = Lens(
| |- warning: static property 'modifiers' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionDeclSyntax, ModifierListSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'modifiers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
226 | setter: { $0.withModifiers($1) },
227 | getter: { $0.modifiers }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:234:16: warning: static property 'funcKeyword' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionDeclSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
232 | {
233 | /// Cursor 2
234 | static let funcKeyword = Lens(
| |- warning: static property 'funcKeyword' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionDeclSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'funcKeyword' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
235 | setter: { $0.withFuncKeyword($1) },
236 | getter: { $0.funcKeyword }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:240:16: warning: static property 'identifier' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionDeclSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
238 |
239 | /// Cursor 3
240 | static let identifier = Lens(
| |- warning: static property 'identifier' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionDeclSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'identifier' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
241 | setter: { $0.withIdentifier($1) },
242 | getter: { $0.identifier }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:249:16: warning: static property 'genericParameterClause' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionDeclSyntax, GenericParameterClauseSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
247 | {
248 | /// Cursor 4
249 | static let genericParameterClause = Lens(
| |- warning: static property 'genericParameterClause' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionDeclSyntax, GenericParameterClauseSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'genericParameterClause' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
250 | setter: { $0.withGenericParameterClause($1) },
251 | getter: { $0.genericParameterClause }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:258:16: warning: static property 'signature' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionDeclSyntax, FunctionSignatureSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
256 | {
257 | /// Cursor 5
258 | static let signature = Lens(
| |- warning: static property 'signature' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionDeclSyntax, FunctionSignatureSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'signature' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
259 | setter: { $0.withSignature($1) },
260 | getter: { $0.signature }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:267:16: warning: static property 'genericWhereClause' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionDeclSyntax, GenericWhereClauseSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
265 | {
266 | /// Cursor 6
267 | static let genericWhereClause = Lens(
| |- warning: static property 'genericWhereClause' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionDeclSyntax, GenericWhereClauseSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'genericWhereClause' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
268 | setter: { $0.withGenericWhereClause($1) },
269 | getter: { $0.genericWhereClause }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:276:16: warning: static property 'body' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionDeclSyntax, CodeBlockSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
274 | {
275 | /// Cursor 7
276 | static let body = Lens(
| |- warning: static property 'body' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionDeclSyntax, CodeBlockSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'body' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
277 | setter: { $0.withBody($1) },
278 | getter: { $0.body }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:287:16: warning: static property 'input' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionSignatureSyntax, ParameterClauseSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
285 | {
286 | /// Cursor 0
287 | static let input = Lens(
| |- warning: static property 'input' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionSignatureSyntax, ParameterClauseSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'input' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
288 | setter: { $0.withInput($1) },
289 | getter: { $0.input }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:296:16: warning: static property 'throwsOrRethrowsKeyword' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionSignatureSyntax, TokenSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
294 | {
295 | /// Cursor 1
296 | static let throwsOrRethrowsKeyword = Lens(
| |- warning: static property 'throwsOrRethrowsKeyword' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionSignatureSyntax, TokenSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'throwsOrRethrowsKeyword' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
297 | setter: { $0.withThrowsOrRethrowsKeyword($1) },
298 | getter: { $0.throwsOrRethrowsKeyword }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:305:16: warning: static property 'output' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionSignatureSyntax, ReturnClauseSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
303 | {
304 | /// Cursor 2
305 | static let output = Lens(
| |- warning: static property 'output' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionSignatureSyntax, ReturnClauseSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'output' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
306 | setter: { $0.withOutput($1) },
307 | getter: { $0.output }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:419:16: warning: static property 'elseKeyword' is not concurrency-safe because non-'Sendable' type 'Lens<GuardStmtSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
417 | extension Lens where Whole == GuardStmtSyntax, Part == TokenSyntax
418 | {
419 | static let elseKeyword = Lens(
| |- warning: static property 'elseKeyword' is not concurrency-safe because non-'Sendable' type 'Lens<GuardStmtSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'elseKeyword' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
420 | setter: { $0.withElseKeyword($1) },
421 | getter: { $0.elseKeyword }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:427:16: warning: static property 'body' is not concurrency-safe because non-'Sendable' type 'Lens<GuardStmtSyntax, CodeBlockSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
425 | extension Lens where Whole == GuardStmtSyntax, Part == CodeBlockSyntax
426 | {
427 | static let body = Lens(
| |- warning: static property 'body' is not concurrency-safe because non-'Sendable' type 'Lens<GuardStmtSyntax, CodeBlockSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'body' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
428 | setter: { $0.withBody($1) },
429 | getter: { $0.body }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:342:16: warning: static property 'equal' is not concurrency-safe because non-'Sendable' type 'Lens<InitializerClauseSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
340 | {
341 | /// Cursor 0
342 | static let equal = Lens(
| |- warning: static property 'equal' is not concurrency-safe because non-'Sendable' type 'Lens<InitializerClauseSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'equal' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
343 | setter: { $0.withEqual($1) },
344 | getter: { $0.equal }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:351:16: warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Lens<InitializerClauseSyntax, any ExprSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
349 | {
350 | /// Cursor 1
351 | static let value = Lens(
| |- warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Lens<InitializerClauseSyntax, any ExprSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'value' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
352 | setter: { $0.withValue($1) },
353 | getter: { $0.value }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:362:16: warning: static property 'whereKeyword' is not concurrency-safe because non-'Sendable' type 'Lens<WhereClauseSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
360 | {
361 | /// Cursor 0
362 | static let whereKeyword = Lens(
| |- warning: static property 'whereKeyword' is not concurrency-safe because non-'Sendable' type 'Lens<WhereClauseSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'whereKeyword' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
363 | setter: { $0.withWhereKeyword($1) },
364 | getter: { $0.whereKeyword }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:371:16: warning: static property 'guardResult' is not concurrency-safe because non-'Sendable' type 'Lens<WhereClauseSyntax, any ExprSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
369 | {
370 | /// Cursor 1
371 | static let guardResult = Lens(
| |- warning: static property 'guardResult' is not concurrency-safe because non-'Sendable' type 'Lens<WhereClauseSyntax, any ExprSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'guardResult' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
372 | setter: { $0.withGuardResult($1) },
373 | getter: { $0.guardResult }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:459:16: warning: static property 'questionMark' is not concurrency-safe because non-'Sendable' type 'Lens<TernaryExprSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
457 | {
458 | /// Cursor 1
459 | static let questionMark = Lens(
| |- warning: static property 'questionMark' is not concurrency-safe because non-'Sendable' type 'Lens<TernaryExprSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'questionMark' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
460 | setter: { $0.withQuestionMark($1) },
461 | getter: { $0.questionMark }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:444:16: warning: static property 'firstChoice' is not concurrency-safe because non-'Sendable' type 'Lens<TernaryExprSyntax, any ExprSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
442 |
443 | /// Cursor 2
444 | static let firstChoice = Lens(
| |- warning: static property 'firstChoice' is not concurrency-safe because non-'Sendable' type 'Lens<TernaryExprSyntax, any ExprSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'firstChoice' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
445 | setter: { $0.withFirstChoice($1) },
446 | getter: { $0.firstChoice }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:465:16: warning: static property 'colonMark' is not concurrency-safe because non-'Sendable' type 'Lens<TernaryExprSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
463 |
464 | /// Cursor 3
465 | static let colonMark = Lens(
| |- warning: static property 'colonMark' is not concurrency-safe because non-'Sendable' type 'Lens<TernaryExprSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'colonMark' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
466 | setter: { $0.withColonMark($1) },
467 | getter: { $0.colonMark }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:450:16: warning: static property 'secondChoice' is not concurrency-safe because non-'Sendable' type 'Lens<TernaryExprSyntax, any ExprSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
448 |
449 | /// Cursor 4
450 | static let secondChoice = Lens(
| |- warning: static property 'secondChoice' is not concurrency-safe because non-'Sendable' type 'Lens<TernaryExprSyntax, any ExprSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'secondChoice' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
451 | setter: { $0.withSecondChoice($1) },
452 | getter: { $0.secondChoice }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:503:16: warning: static property 'leftParen' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionCallExprSyntax, TokenSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
501 | {
502 | /// Cursor 1
503 | static let leftParen = Lens(
| |- warning: static property 'leftParen' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionCallExprSyntax, TokenSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'leftParen' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
504 | setter: { $0.withLeftParen($1) },
505 | getter: { $0.leftParen }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:485:16: warning: static property 'argumentList' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionCallExprSyntax, FunctionCallArgumentListSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
483 | {
484 | /// Cursor 2
485 | static let argumentList = Lens(
| |- warning: static property 'argumentList' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionCallExprSyntax, FunctionCallArgumentListSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'argumentList' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
486 | setter: { $0.withArgumentList($1) },
487 | getter: { $0.argumentList }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:509:16: warning: static property 'rightParen' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionCallExprSyntax, TokenSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
507 |
508 | /// Cursor 3
509 | static let rightParen = Lens(
| |- warning: static property 'rightParen' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionCallExprSyntax, TokenSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'rightParen' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
510 | setter: { $0.withRightParen($1) },
511 | getter: { $0.rightParen }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:494:16: warning: static property 'trailingClosure' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionCallExprSyntax, ClosureExprSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
492 | {
493 | /// Cursor 4
494 | static let trailingClosure = Lens(
| |- warning: static property 'trailingClosure' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionCallExprSyntax, ClosureExprSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'trailingClosure' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
495 | setter: { $0.withTrailingClosure($1) },
496 | getter: { $0.trailingClosure }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:555:16: warning: static property 'leftBrace' is not concurrency-safe because non-'Sendable' type 'Lens<ClosureExprSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
553 | {
554 | /// Cursor 0
555 | static let leftBrace = Lens(
| |- warning: static property 'leftBrace' is not concurrency-safe because non-'Sendable' type 'Lens<ClosureExprSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'leftBrace' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
556 | setter: { $0.withLeftBrace($1) },
557 | getter: { $0.leftBrace }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:570:16: warning: static property 'signature' is not concurrency-safe because non-'Sendable' type 'Lens<ClosureExprSyntax, ClosureSignatureSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
568 | {
569 | /// Cursor 1
570 | static let signature = Lens(
| |- warning: static property 'signature' is not concurrency-safe because non-'Sendable' type 'Lens<ClosureExprSyntax, ClosureSignatureSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'signature' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
571 | setter: { $0.withSignature($1) },
572 | getter: { $0.signature }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:579:16: warning: static property 'statements' is not concurrency-safe because non-'Sendable' type 'Lens<ClosureExprSyntax, CodeBlockItemListSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
577 | {
578 | /// Cursor 2
579 | static let statements = Lens(
| |- warning: static property 'statements' is not concurrency-safe because non-'Sendable' type 'Lens<ClosureExprSyntax, CodeBlockItemListSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'statements' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
580 | setter: { $0.withStatements($1) },
581 | getter: { $0.statements }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:561:16: warning: static property 'rightBrace' is not concurrency-safe because non-'Sendable' type 'Lens<ClosureExprSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
559 |
560 | /// Cursor 3
561 | static let rightBrace = Lens(
| |- warning: static property 'rightBrace' is not concurrency-safe because non-'Sendable' type 'Lens<ClosureExprSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'rightBrace' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
562 | setter: { $0.withRightBrace($1) },
563 | getter: { $0.rightBrace }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:529:16: warning: static property 'dot' is not concurrency-safe because non-'Sendable' type 'Lens<MemberAccessExprSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
527 | {
528 | /// Cursor 1
529 | static let dot = Lens(
| |- warning: static property 'dot' is not concurrency-safe because non-'Sendable' type 'Lens<MemberAccessExprSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dot' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
530 | setter: { $0.withDot($1) },
531 | getter: { $0.dot }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:535:16: warning: static property 'name' is not concurrency-safe because non-'Sendable' type 'Lens<MemberAccessExprSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
533 |
534 | /// Cursor 2
535 | static let name = Lens(
| |- warning: static property 'name' is not concurrency-safe because non-'Sendable' type 'Lens<MemberAccessExprSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'name' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
536 | setter: { $0.withName($1) },
537 | getter: { $0.name }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:544:16: warning: static property 'declNameArguments' is not concurrency-safe because non-'Sendable' type 'Lens<MemberAccessExprSyntax, DeclNameArgumentsSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
542 | {
543 | /// Cursor 3
544 | static let declNameArguments = Lens(
| |- warning: static property 'declNameArguments' is not concurrency-safe because non-'Sendable' type 'Lens<MemberAccessExprSyntax, DeclNameArgumentsSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'declNameArguments' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
545 | setter: { $0.withDeclNameArguments($1) },
546 | getter: { $0.declNameArguments }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:520:16: warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'Lens<MemberAccessExprSyntax, (any ExprSyntax)?>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
518 | {
519 | /// Cursor 0
520 | static let base = Lens(
| |- warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'Lens<MemberAccessExprSyntax, (any ExprSyntax)?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'base' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
521 | setter: { $0.withBase($1) },
522 | getter: { $0.base }
[86/99] Compiling SwiftRewriter ImportSorter.swift
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:136:16: warning: static property 'attributes' is not concurrency-safe because non-'Sendable' type 'Lens<InitializerDeclSyntax, AttributeListSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
134 | {
135 | /// Cursor 0
136 | static let attributes = Lens(
| |- warning: static property 'attributes' is not concurrency-safe because non-'Sendable' type 'Lens<InitializerDeclSyntax, AttributeListSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attributes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
137 | setter: { $0.withAttributes($1) },
138 | getter: { $0.attributes }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:145:16: warning: static property 'modifiers' is not concurrency-safe because non-'Sendable' type 'Lens<InitializerDeclSyntax, ModifierListSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
143 | {
144 | /// Cursor 1
145 | static let modifiers = Lens(
| |- warning: static property 'modifiers' is not concurrency-safe because non-'Sendable' type 'Lens<InitializerDeclSyntax, ModifierListSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'modifiers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
146 | setter: { $0.withModifiers($1) },
147 | getter: { $0.modifiers }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:154:16: warning: static property 'initKeyword' is not concurrency-safe because non-'Sendable' type 'Lens<InitializerDeclSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
152 | {
153 | /// Cursor 2
154 | static let initKeyword = Lens(
| |- warning: static property 'initKeyword' is not concurrency-safe because non-'Sendable' type 'Lens<InitializerDeclSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'initKeyword' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
155 | setter: { $0.withInitKeyword($1) },
156 | getter: { $0.initKeyword }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:163:16: warning: static property 'optionalMark' is not concurrency-safe because non-'Sendable' type 'Lens<InitializerDeclSyntax, TokenSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
161 | {
162 | /// Cursor 3
163 | static let optionalMark = Lens(
| |- warning: static property 'optionalMark' is not concurrency-safe because non-'Sendable' type 'Lens<InitializerDeclSyntax, TokenSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'optionalMark' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
164 | setter: { $0.withOptionalMark($1) },
165 | getter: { $0.optionalMark }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:178:16: warning: static property 'genericParameterClause' is not concurrency-safe because non-'Sendable' type 'Lens<InitializerDeclSyntax, GenericParameterClauseSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
176 | {
177 | /// Cursor 4
178 | static let genericParameterClause = Lens(
| |- warning: static property 'genericParameterClause' is not concurrency-safe because non-'Sendable' type 'Lens<InitializerDeclSyntax, GenericParameterClauseSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'genericParameterClause' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
179 | setter: { $0.withGenericParameterClause($1) },
180 | getter: { $0.genericParameterClause }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:187:16: warning: static property 'parameters' is not concurrency-safe because non-'Sendable' type 'Lens<InitializerDeclSyntax, ParameterClauseSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
185 | {
186 | /// Cursor 5
187 | static let parameters = Lens(
| |- warning: static property 'parameters' is not concurrency-safe because non-'Sendable' type 'Lens<InitializerDeclSyntax, ParameterClauseSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'parameters' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
188 | setter: { $0.withParameters($1) },
189 | getter: { $0.parameters }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:316:16: warning: static property 'leftParen' is not concurrency-safe because non-'Sendable' type 'Lens<ParameterClauseSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
314 | {
315 | /// Cursor 0
316 | static let leftParen = Lens(
| |- warning: static property 'leftParen' is not concurrency-safe because non-'Sendable' type 'Lens<ParameterClauseSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'leftParen' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
317 | setter: { $0.withLeftParen($1) },
318 | getter: { $0.leftParen }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:331:16: warning: static property 'parameterList' is not concurrency-safe because non-'Sendable' type 'Lens<ParameterClauseSyntax, FunctionParameterListSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
329 | {
330 | /// Cursor 1
331 | static let parameterList = Lens(
| |- warning: static property 'parameterList' is not concurrency-safe because non-'Sendable' type 'Lens<ParameterClauseSyntax, FunctionParameterListSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'parameterList' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
332 | setter: { $0.withParameterList($1) },
333 | getter: { $0.parameterList }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:322:16: warning: static property 'rightParen' is not concurrency-safe because non-'Sendable' type 'Lens<ParameterClauseSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
320 |
321 | /// Cursor 2
322 | static let rightParen = Lens(
| |- warning: static property 'rightParen' is not concurrency-safe because non-'Sendable' type 'Lens<ParameterClauseSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'rightParen' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
323 | setter: { $0.withRightParen($1) },
324 | getter: { $0.rightParen }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:169:16: warning: static property 'throwsOrRethrowsKeyword' is not concurrency-safe because non-'Sendable' type 'Lens<InitializerDeclSyntax, TokenSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
167 |
168 | /// Cursor 6
169 | static let throwsOrRethrowsKeyword = Lens(
| |- warning: static property 'throwsOrRethrowsKeyword' is not concurrency-safe because non-'Sendable' type 'Lens<InitializerDeclSyntax, TokenSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'throwsOrRethrowsKeyword' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
170 | setter: { $0.withThrowsOrRethrowsKeyword($1) },
171 | getter: { $0.throwsOrRethrowsKeyword }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:196:16: warning: static property 'genericWhereClause' is not concurrency-safe because non-'Sendable' type 'Lens<InitializerDeclSyntax, GenericWhereClauseSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
194 | {
195 | /// Cursor 7
196 | static let genericWhereClause = Lens(
| |- warning: static property 'genericWhereClause' is not concurrency-safe because non-'Sendable' type 'Lens<InitializerDeclSyntax, GenericWhereClauseSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'genericWhereClause' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
197 | setter: { $0.withGenericWhereClause($1) },
198 | getter: { $0.genericWhereClause }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:205:16: warning: static property 'body' is not concurrency-safe because non-'Sendable' type 'Lens<InitializerDeclSyntax, CodeBlockSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
203 | {
204 | /// Cursor 8
205 | static let body = Lens(
| |- warning: static property 'body' is not concurrency-safe because non-'Sendable' type 'Lens<InitializerDeclSyntax, CodeBlockSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'body' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
206 | setter: { $0.withBody($1) },
207 | getter: { $0.body }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:216:16: warning: static property 'attributes' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionDeclSyntax, AttributeListSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
214 | {
215 | /// Cursor 0
216 | static let attributes = Lens(
| |- warning: static property 'attributes' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionDeclSyntax, AttributeListSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attributes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
217 | setter: { $0.withAttributes($1) },
218 | getter: { $0.attributes }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:225:16: warning: static property 'modifiers' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionDeclSyntax, ModifierListSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
223 | {
224 | /// Cursor 1
225 | static let modifiers = Lens(
| |- warning: static property 'modifiers' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionDeclSyntax, ModifierListSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'modifiers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
226 | setter: { $0.withModifiers($1) },
227 | getter: { $0.modifiers }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:234:16: warning: static property 'funcKeyword' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionDeclSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
232 | {
233 | /// Cursor 2
234 | static let funcKeyword = Lens(
| |- warning: static property 'funcKeyword' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionDeclSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'funcKeyword' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
235 | setter: { $0.withFuncKeyword($1) },
236 | getter: { $0.funcKeyword }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:240:16: warning: static property 'identifier' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionDeclSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
238 |
239 | /// Cursor 3
240 | static let identifier = Lens(
| |- warning: static property 'identifier' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionDeclSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'identifier' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
241 | setter: { $0.withIdentifier($1) },
242 | getter: { $0.identifier }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:249:16: warning: static property 'genericParameterClause' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionDeclSyntax, GenericParameterClauseSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
247 | {
248 | /// Cursor 4
249 | static let genericParameterClause = Lens(
| |- warning: static property 'genericParameterClause' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionDeclSyntax, GenericParameterClauseSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'genericParameterClause' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
250 | setter: { $0.withGenericParameterClause($1) },
251 | getter: { $0.genericParameterClause }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:258:16: warning: static property 'signature' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionDeclSyntax, FunctionSignatureSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
256 | {
257 | /// Cursor 5
258 | static let signature = Lens(
| |- warning: static property 'signature' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionDeclSyntax, FunctionSignatureSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'signature' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
259 | setter: { $0.withSignature($1) },
260 | getter: { $0.signature }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:267:16: warning: static property 'genericWhereClause' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionDeclSyntax, GenericWhereClauseSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
265 | {
266 | /// Cursor 6
267 | static let genericWhereClause = Lens(
| |- warning: static property 'genericWhereClause' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionDeclSyntax, GenericWhereClauseSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'genericWhereClause' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
268 | setter: { $0.withGenericWhereClause($1) },
269 | getter: { $0.genericWhereClause }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:276:16: warning: static property 'body' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionDeclSyntax, CodeBlockSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
274 | {
275 | /// Cursor 7
276 | static let body = Lens(
| |- warning: static property 'body' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionDeclSyntax, CodeBlockSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'body' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
277 | setter: { $0.withBody($1) },
278 | getter: { $0.body }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:287:16: warning: static property 'input' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionSignatureSyntax, ParameterClauseSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
285 | {
286 | /// Cursor 0
287 | static let input = Lens(
| |- warning: static property 'input' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionSignatureSyntax, ParameterClauseSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'input' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
288 | setter: { $0.withInput($1) },
289 | getter: { $0.input }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:296:16: warning: static property 'throwsOrRethrowsKeyword' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionSignatureSyntax, TokenSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
294 | {
295 | /// Cursor 1
296 | static let throwsOrRethrowsKeyword = Lens(
| |- warning: static property 'throwsOrRethrowsKeyword' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionSignatureSyntax, TokenSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'throwsOrRethrowsKeyword' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
297 | setter: { $0.withThrowsOrRethrowsKeyword($1) },
298 | getter: { $0.throwsOrRethrowsKeyword }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:305:16: warning: static property 'output' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionSignatureSyntax, ReturnClauseSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
303 | {
304 | /// Cursor 2
305 | static let output = Lens(
| |- warning: static property 'output' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionSignatureSyntax, ReturnClauseSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'output' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
306 | setter: { $0.withOutput($1) },
307 | getter: { $0.output }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:419:16: warning: static property 'elseKeyword' is not concurrency-safe because non-'Sendable' type 'Lens<GuardStmtSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
417 | extension Lens where Whole == GuardStmtSyntax, Part == TokenSyntax
418 | {
419 | static let elseKeyword = Lens(
| |- warning: static property 'elseKeyword' is not concurrency-safe because non-'Sendable' type 'Lens<GuardStmtSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'elseKeyword' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
420 | setter: { $0.withElseKeyword($1) },
421 | getter: { $0.elseKeyword }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:427:16: warning: static property 'body' is not concurrency-safe because non-'Sendable' type 'Lens<GuardStmtSyntax, CodeBlockSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
425 | extension Lens where Whole == GuardStmtSyntax, Part == CodeBlockSyntax
426 | {
427 | static let body = Lens(
| |- warning: static property 'body' is not concurrency-safe because non-'Sendable' type 'Lens<GuardStmtSyntax, CodeBlockSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'body' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
428 | setter: { $0.withBody($1) },
429 | getter: { $0.body }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:342:16: warning: static property 'equal' is not concurrency-safe because non-'Sendable' type 'Lens<InitializerClauseSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
340 | {
341 | /// Cursor 0
342 | static let equal = Lens(
| |- warning: static property 'equal' is not concurrency-safe because non-'Sendable' type 'Lens<InitializerClauseSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'equal' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
343 | setter: { $0.withEqual($1) },
344 | getter: { $0.equal }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:351:16: warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Lens<InitializerClauseSyntax, any ExprSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
349 | {
350 | /// Cursor 1
351 | static let value = Lens(
| |- warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Lens<InitializerClauseSyntax, any ExprSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'value' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
352 | setter: { $0.withValue($1) },
353 | getter: { $0.value }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:362:16: warning: static property 'whereKeyword' is not concurrency-safe because non-'Sendable' type 'Lens<WhereClauseSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
360 | {
361 | /// Cursor 0
362 | static let whereKeyword = Lens(
| |- warning: static property 'whereKeyword' is not concurrency-safe because non-'Sendable' type 'Lens<WhereClauseSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'whereKeyword' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
363 | setter: { $0.withWhereKeyword($1) },
364 | getter: { $0.whereKeyword }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:371:16: warning: static property 'guardResult' is not concurrency-safe because non-'Sendable' type 'Lens<WhereClauseSyntax, any ExprSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
369 | {
370 | /// Cursor 1
371 | static let guardResult = Lens(
| |- warning: static property 'guardResult' is not concurrency-safe because non-'Sendable' type 'Lens<WhereClauseSyntax, any ExprSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'guardResult' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
372 | setter: { $0.withGuardResult($1) },
373 | getter: { $0.guardResult }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:459:16: warning: static property 'questionMark' is not concurrency-safe because non-'Sendable' type 'Lens<TernaryExprSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
457 | {
458 | /// Cursor 1
459 | static let questionMark = Lens(
| |- warning: static property 'questionMark' is not concurrency-safe because non-'Sendable' type 'Lens<TernaryExprSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'questionMark' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
460 | setter: { $0.withQuestionMark($1) },
461 | getter: { $0.questionMark }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:444:16: warning: static property 'firstChoice' is not concurrency-safe because non-'Sendable' type 'Lens<TernaryExprSyntax, any ExprSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
442 |
443 | /// Cursor 2
444 | static let firstChoice = Lens(
| |- warning: static property 'firstChoice' is not concurrency-safe because non-'Sendable' type 'Lens<TernaryExprSyntax, any ExprSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'firstChoice' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
445 | setter: { $0.withFirstChoice($1) },
446 | getter: { $0.firstChoice }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:465:16: warning: static property 'colonMark' is not concurrency-safe because non-'Sendable' type 'Lens<TernaryExprSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
463 |
464 | /// Cursor 3
465 | static let colonMark = Lens(
| |- warning: static property 'colonMark' is not concurrency-safe because non-'Sendable' type 'Lens<TernaryExprSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'colonMark' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
466 | setter: { $0.withColonMark($1) },
467 | getter: { $0.colonMark }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:450:16: warning: static property 'secondChoice' is not concurrency-safe because non-'Sendable' type 'Lens<TernaryExprSyntax, any ExprSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
448 |
449 | /// Cursor 4
450 | static let secondChoice = Lens(
| |- warning: static property 'secondChoice' is not concurrency-safe because non-'Sendable' type 'Lens<TernaryExprSyntax, any ExprSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'secondChoice' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
451 | setter: { $0.withSecondChoice($1) },
452 | getter: { $0.secondChoice }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:503:16: warning: static property 'leftParen' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionCallExprSyntax, TokenSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
501 | {
502 | /// Cursor 1
503 | static let leftParen = Lens(
| |- warning: static property 'leftParen' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionCallExprSyntax, TokenSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'leftParen' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
504 | setter: { $0.withLeftParen($1) },
505 | getter: { $0.leftParen }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:485:16: warning: static property 'argumentList' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionCallExprSyntax, FunctionCallArgumentListSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
483 | {
484 | /// Cursor 2
485 | static let argumentList = Lens(
| |- warning: static property 'argumentList' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionCallExprSyntax, FunctionCallArgumentListSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'argumentList' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
486 | setter: { $0.withArgumentList($1) },
487 | getter: { $0.argumentList }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:509:16: warning: static property 'rightParen' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionCallExprSyntax, TokenSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
507 |
508 | /// Cursor 3
509 | static let rightParen = Lens(
| |- warning: static property 'rightParen' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionCallExprSyntax, TokenSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'rightParen' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
510 | setter: { $0.withRightParen($1) },
511 | getter: { $0.rightParen }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:494:16: warning: static property 'trailingClosure' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionCallExprSyntax, ClosureExprSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
492 | {
493 | /// Cursor 4
494 | static let trailingClosure = Lens(
| |- warning: static property 'trailingClosure' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionCallExprSyntax, ClosureExprSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'trailingClosure' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
495 | setter: { $0.withTrailingClosure($1) },
496 | getter: { $0.trailingClosure }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:555:16: warning: static property 'leftBrace' is not concurrency-safe because non-'Sendable' type 'Lens<ClosureExprSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
553 | {
554 | /// Cursor 0
555 | static let leftBrace = Lens(
| |- warning: static property 'leftBrace' is not concurrency-safe because non-'Sendable' type 'Lens<ClosureExprSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'leftBrace' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
556 | setter: { $0.withLeftBrace($1) },
557 | getter: { $0.leftBrace }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:570:16: warning: static property 'signature' is not concurrency-safe because non-'Sendable' type 'Lens<ClosureExprSyntax, ClosureSignatureSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
568 | {
569 | /// Cursor 1
570 | static let signature = Lens(
| |- warning: static property 'signature' is not concurrency-safe because non-'Sendable' type 'Lens<ClosureExprSyntax, ClosureSignatureSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'signature' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
571 | setter: { $0.withSignature($1) },
572 | getter: { $0.signature }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:579:16: warning: static property 'statements' is not concurrency-safe because non-'Sendable' type 'Lens<ClosureExprSyntax, CodeBlockItemListSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
577 | {
578 | /// Cursor 2
579 | static let statements = Lens(
| |- warning: static property 'statements' is not concurrency-safe because non-'Sendable' type 'Lens<ClosureExprSyntax, CodeBlockItemListSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'statements' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
580 | setter: { $0.withStatements($1) },
581 | getter: { $0.statements }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:561:16: warning: static property 'rightBrace' is not concurrency-safe because non-'Sendable' type 'Lens<ClosureExprSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
559 |
560 | /// Cursor 3
561 | static let rightBrace = Lens(
| |- warning: static property 'rightBrace' is not concurrency-safe because non-'Sendable' type 'Lens<ClosureExprSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'rightBrace' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
562 | setter: { $0.withRightBrace($1) },
563 | getter: { $0.rightBrace }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:529:16: warning: static property 'dot' is not concurrency-safe because non-'Sendable' type 'Lens<MemberAccessExprSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
527 | {
528 | /// Cursor 1
529 | static let dot = Lens(
| |- warning: static property 'dot' is not concurrency-safe because non-'Sendable' type 'Lens<MemberAccessExprSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dot' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
530 | setter: { $0.withDot($1) },
531 | getter: { $0.dot }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:535:16: warning: static property 'name' is not concurrency-safe because non-'Sendable' type 'Lens<MemberAccessExprSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
533 |
534 | /// Cursor 2
535 | static let name = Lens(
| |- warning: static property 'name' is not concurrency-safe because non-'Sendable' type 'Lens<MemberAccessExprSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'name' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
536 | setter: { $0.withName($1) },
537 | getter: { $0.name }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:544:16: warning: static property 'declNameArguments' is not concurrency-safe because non-'Sendable' type 'Lens<MemberAccessExprSyntax, DeclNameArgumentsSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
542 | {
543 | /// Cursor 3
544 | static let declNameArguments = Lens(
| |- warning: static property 'declNameArguments' is not concurrency-safe because non-'Sendable' type 'Lens<MemberAccessExprSyntax, DeclNameArgumentsSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'declNameArguments' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
545 | setter: { $0.withDeclNameArguments($1) },
546 | getter: { $0.declNameArguments }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:520:16: warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'Lens<MemberAccessExprSyntax, (any ExprSyntax)?>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
518 | {
519 | /// Cursor 0
520 | static let base = Lens(
| |- warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'Lens<MemberAccessExprSyntax, (any ExprSyntax)?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'base' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
521 | setter: { $0.withBase($1) },
522 | getter: { $0.base }
[87/99] Compiling SwiftRewriter ElseNewliner.swift
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:136:16: warning: static property 'attributes' is not concurrency-safe because non-'Sendable' type 'Lens<InitializerDeclSyntax, AttributeListSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
134 | {
135 | /// Cursor 0
136 | static let attributes = Lens(
| |- warning: static property 'attributes' is not concurrency-safe because non-'Sendable' type 'Lens<InitializerDeclSyntax, AttributeListSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attributes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
137 | setter: { $0.withAttributes($1) },
138 | getter: { $0.attributes }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:145:16: warning: static property 'modifiers' is not concurrency-safe because non-'Sendable' type 'Lens<InitializerDeclSyntax, ModifierListSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
143 | {
144 | /// Cursor 1
145 | static let modifiers = Lens(
| |- warning: static property 'modifiers' is not concurrency-safe because non-'Sendable' type 'Lens<InitializerDeclSyntax, ModifierListSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'modifiers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
146 | setter: { $0.withModifiers($1) },
147 | getter: { $0.modifiers }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:154:16: warning: static property 'initKeyword' is not concurrency-safe because non-'Sendable' type 'Lens<InitializerDeclSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
152 | {
153 | /// Cursor 2
154 | static let initKeyword = Lens(
| |- warning: static property 'initKeyword' is not concurrency-safe because non-'Sendable' type 'Lens<InitializerDeclSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'initKeyword' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
155 | setter: { $0.withInitKeyword($1) },
156 | getter: { $0.initKeyword }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:163:16: warning: static property 'optionalMark' is not concurrency-safe because non-'Sendable' type 'Lens<InitializerDeclSyntax, TokenSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
161 | {
162 | /// Cursor 3
163 | static let optionalMark = Lens(
| |- warning: static property 'optionalMark' is not concurrency-safe because non-'Sendable' type 'Lens<InitializerDeclSyntax, TokenSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'optionalMark' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
164 | setter: { $0.withOptionalMark($1) },
165 | getter: { $0.optionalMark }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:178:16: warning: static property 'genericParameterClause' is not concurrency-safe because non-'Sendable' type 'Lens<InitializerDeclSyntax, GenericParameterClauseSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
176 | {
177 | /// Cursor 4
178 | static let genericParameterClause = Lens(
| |- warning: static property 'genericParameterClause' is not concurrency-safe because non-'Sendable' type 'Lens<InitializerDeclSyntax, GenericParameterClauseSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'genericParameterClause' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
179 | setter: { $0.withGenericParameterClause($1) },
180 | getter: { $0.genericParameterClause }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:187:16: warning: static property 'parameters' is not concurrency-safe because non-'Sendable' type 'Lens<InitializerDeclSyntax, ParameterClauseSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
185 | {
186 | /// Cursor 5
187 | static let parameters = Lens(
| |- warning: static property 'parameters' is not concurrency-safe because non-'Sendable' type 'Lens<InitializerDeclSyntax, ParameterClauseSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'parameters' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
188 | setter: { $0.withParameters($1) },
189 | getter: { $0.parameters }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:316:16: warning: static property 'leftParen' is not concurrency-safe because non-'Sendable' type 'Lens<ParameterClauseSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
314 | {
315 | /// Cursor 0
316 | static let leftParen = Lens(
| |- warning: static property 'leftParen' is not concurrency-safe because non-'Sendable' type 'Lens<ParameterClauseSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'leftParen' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
317 | setter: { $0.withLeftParen($1) },
318 | getter: { $0.leftParen }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:331:16: warning: static property 'parameterList' is not concurrency-safe because non-'Sendable' type 'Lens<ParameterClauseSyntax, FunctionParameterListSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
329 | {
330 | /// Cursor 1
331 | static let parameterList = Lens(
| |- warning: static property 'parameterList' is not concurrency-safe because non-'Sendable' type 'Lens<ParameterClauseSyntax, FunctionParameterListSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'parameterList' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
332 | setter: { $0.withParameterList($1) },
333 | getter: { $0.parameterList }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:322:16: warning: static property 'rightParen' is not concurrency-safe because non-'Sendable' type 'Lens<ParameterClauseSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
320 |
321 | /// Cursor 2
322 | static let rightParen = Lens(
| |- warning: static property 'rightParen' is not concurrency-safe because non-'Sendable' type 'Lens<ParameterClauseSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'rightParen' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
323 | setter: { $0.withRightParen($1) },
324 | getter: { $0.rightParen }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:169:16: warning: static property 'throwsOrRethrowsKeyword' is not concurrency-safe because non-'Sendable' type 'Lens<InitializerDeclSyntax, TokenSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
167 |
168 | /// Cursor 6
169 | static let throwsOrRethrowsKeyword = Lens(
| |- warning: static property 'throwsOrRethrowsKeyword' is not concurrency-safe because non-'Sendable' type 'Lens<InitializerDeclSyntax, TokenSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'throwsOrRethrowsKeyword' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
170 | setter: { $0.withThrowsOrRethrowsKeyword($1) },
171 | getter: { $0.throwsOrRethrowsKeyword }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:196:16: warning: static property 'genericWhereClause' is not concurrency-safe because non-'Sendable' type 'Lens<InitializerDeclSyntax, GenericWhereClauseSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
194 | {
195 | /// Cursor 7
196 | static let genericWhereClause = Lens(
| |- warning: static property 'genericWhereClause' is not concurrency-safe because non-'Sendable' type 'Lens<InitializerDeclSyntax, GenericWhereClauseSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'genericWhereClause' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
197 | setter: { $0.withGenericWhereClause($1) },
198 | getter: { $0.genericWhereClause }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:205:16: warning: static property 'body' is not concurrency-safe because non-'Sendable' type 'Lens<InitializerDeclSyntax, CodeBlockSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
203 | {
204 | /// Cursor 8
205 | static let body = Lens(
| |- warning: static property 'body' is not concurrency-safe because non-'Sendable' type 'Lens<InitializerDeclSyntax, CodeBlockSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'body' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
206 | setter: { $0.withBody($1) },
207 | getter: { $0.body }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:216:16: warning: static property 'attributes' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionDeclSyntax, AttributeListSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
214 | {
215 | /// Cursor 0
216 | static let attributes = Lens(
| |- warning: static property 'attributes' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionDeclSyntax, AttributeListSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attributes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
217 | setter: { $0.withAttributes($1) },
218 | getter: { $0.attributes }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:225:16: warning: static property 'modifiers' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionDeclSyntax, ModifierListSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
223 | {
224 | /// Cursor 1
225 | static let modifiers = Lens(
| |- warning: static property 'modifiers' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionDeclSyntax, ModifierListSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'modifiers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
226 | setter: { $0.withModifiers($1) },
227 | getter: { $0.modifiers }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:234:16: warning: static property 'funcKeyword' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionDeclSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
232 | {
233 | /// Cursor 2
234 | static let funcKeyword = Lens(
| |- warning: static property 'funcKeyword' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionDeclSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'funcKeyword' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
235 | setter: { $0.withFuncKeyword($1) },
236 | getter: { $0.funcKeyword }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:240:16: warning: static property 'identifier' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionDeclSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
238 |
239 | /// Cursor 3
240 | static let identifier = Lens(
| |- warning: static property 'identifier' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionDeclSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'identifier' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
241 | setter: { $0.withIdentifier($1) },
242 | getter: { $0.identifier }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:249:16: warning: static property 'genericParameterClause' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionDeclSyntax, GenericParameterClauseSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
247 | {
248 | /// Cursor 4
249 | static let genericParameterClause = Lens(
| |- warning: static property 'genericParameterClause' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionDeclSyntax, GenericParameterClauseSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'genericParameterClause' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
250 | setter: { $0.withGenericParameterClause($1) },
251 | getter: { $0.genericParameterClause }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:258:16: warning: static property 'signature' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionDeclSyntax, FunctionSignatureSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
256 | {
257 | /// Cursor 5
258 | static let signature = Lens(
| |- warning: static property 'signature' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionDeclSyntax, FunctionSignatureSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'signature' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
259 | setter: { $0.withSignature($1) },
260 | getter: { $0.signature }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:267:16: warning: static property 'genericWhereClause' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionDeclSyntax, GenericWhereClauseSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
265 | {
266 | /// Cursor 6
267 | static let genericWhereClause = Lens(
| |- warning: static property 'genericWhereClause' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionDeclSyntax, GenericWhereClauseSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'genericWhereClause' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
268 | setter: { $0.withGenericWhereClause($1) },
269 | getter: { $0.genericWhereClause }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:276:16: warning: static property 'body' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionDeclSyntax, CodeBlockSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
274 | {
275 | /// Cursor 7
276 | static let body = Lens(
| |- warning: static property 'body' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionDeclSyntax, CodeBlockSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'body' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
277 | setter: { $0.withBody($1) },
278 | getter: { $0.body }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:287:16: warning: static property 'input' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionSignatureSyntax, ParameterClauseSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
285 | {
286 | /// Cursor 0
287 | static let input = Lens(
| |- warning: static property 'input' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionSignatureSyntax, ParameterClauseSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'input' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
288 | setter: { $0.withInput($1) },
289 | getter: { $0.input }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:296:16: warning: static property 'throwsOrRethrowsKeyword' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionSignatureSyntax, TokenSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
294 | {
295 | /// Cursor 1
296 | static let throwsOrRethrowsKeyword = Lens(
| |- warning: static property 'throwsOrRethrowsKeyword' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionSignatureSyntax, TokenSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'throwsOrRethrowsKeyword' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
297 | setter: { $0.withThrowsOrRethrowsKeyword($1) },
298 | getter: { $0.throwsOrRethrowsKeyword }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:305:16: warning: static property 'output' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionSignatureSyntax, ReturnClauseSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
303 | {
304 | /// Cursor 2
305 | static let output = Lens(
| |- warning: static property 'output' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionSignatureSyntax, ReturnClauseSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'output' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
306 | setter: { $0.withOutput($1) },
307 | getter: { $0.output }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:419:16: warning: static property 'elseKeyword' is not concurrency-safe because non-'Sendable' type 'Lens<GuardStmtSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
417 | extension Lens where Whole == GuardStmtSyntax, Part == TokenSyntax
418 | {
419 | static let elseKeyword = Lens(
| |- warning: static property 'elseKeyword' is not concurrency-safe because non-'Sendable' type 'Lens<GuardStmtSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'elseKeyword' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
420 | setter: { $0.withElseKeyword($1) },
421 | getter: { $0.elseKeyword }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:427:16: warning: static property 'body' is not concurrency-safe because non-'Sendable' type 'Lens<GuardStmtSyntax, CodeBlockSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
425 | extension Lens where Whole == GuardStmtSyntax, Part == CodeBlockSyntax
426 | {
427 | static let body = Lens(
| |- warning: static property 'body' is not concurrency-safe because non-'Sendable' type 'Lens<GuardStmtSyntax, CodeBlockSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'body' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
428 | setter: { $0.withBody($1) },
429 | getter: { $0.body }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:342:16: warning: static property 'equal' is not concurrency-safe because non-'Sendable' type 'Lens<InitializerClauseSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
340 | {
341 | /// Cursor 0
342 | static let equal = Lens(
| |- warning: static property 'equal' is not concurrency-safe because non-'Sendable' type 'Lens<InitializerClauseSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'equal' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
343 | setter: { $0.withEqual($1) },
344 | getter: { $0.equal }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:351:16: warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Lens<InitializerClauseSyntax, any ExprSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
349 | {
350 | /// Cursor 1
351 | static let value = Lens(
| |- warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Lens<InitializerClauseSyntax, any ExprSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'value' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
352 | setter: { $0.withValue($1) },
353 | getter: { $0.value }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:362:16: warning: static property 'whereKeyword' is not concurrency-safe because non-'Sendable' type 'Lens<WhereClauseSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
360 | {
361 | /// Cursor 0
362 | static let whereKeyword = Lens(
| |- warning: static property 'whereKeyword' is not concurrency-safe because non-'Sendable' type 'Lens<WhereClauseSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'whereKeyword' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
363 | setter: { $0.withWhereKeyword($1) },
364 | getter: { $0.whereKeyword }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:371:16: warning: static property 'guardResult' is not concurrency-safe because non-'Sendable' type 'Lens<WhereClauseSyntax, any ExprSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
369 | {
370 | /// Cursor 1
371 | static let guardResult = Lens(
| |- warning: static property 'guardResult' is not concurrency-safe because non-'Sendable' type 'Lens<WhereClauseSyntax, any ExprSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'guardResult' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
372 | setter: { $0.withGuardResult($1) },
373 | getter: { $0.guardResult }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:459:16: warning: static property 'questionMark' is not concurrency-safe because non-'Sendable' type 'Lens<TernaryExprSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
457 | {
458 | /// Cursor 1
459 | static let questionMark = Lens(
| |- warning: static property 'questionMark' is not concurrency-safe because non-'Sendable' type 'Lens<TernaryExprSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'questionMark' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
460 | setter: { $0.withQuestionMark($1) },
461 | getter: { $0.questionMark }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:444:16: warning: static property 'firstChoice' is not concurrency-safe because non-'Sendable' type 'Lens<TernaryExprSyntax, any ExprSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
442 |
443 | /// Cursor 2
444 | static let firstChoice = Lens(
| |- warning: static property 'firstChoice' is not concurrency-safe because non-'Sendable' type 'Lens<TernaryExprSyntax, any ExprSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'firstChoice' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
445 | setter: { $0.withFirstChoice($1) },
446 | getter: { $0.firstChoice }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:465:16: warning: static property 'colonMark' is not concurrency-safe because non-'Sendable' type 'Lens<TernaryExprSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
463 |
464 | /// Cursor 3
465 | static let colonMark = Lens(
| |- warning: static property 'colonMark' is not concurrency-safe because non-'Sendable' type 'Lens<TernaryExprSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'colonMark' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
466 | setter: { $0.withColonMark($1) },
467 | getter: { $0.colonMark }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:450:16: warning: static property 'secondChoice' is not concurrency-safe because non-'Sendable' type 'Lens<TernaryExprSyntax, any ExprSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
448 |
449 | /// Cursor 4
450 | static let secondChoice = Lens(
| |- warning: static property 'secondChoice' is not concurrency-safe because non-'Sendable' type 'Lens<TernaryExprSyntax, any ExprSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'secondChoice' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
451 | setter: { $0.withSecondChoice($1) },
452 | getter: { $0.secondChoice }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:503:16: warning: static property 'leftParen' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionCallExprSyntax, TokenSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
501 | {
502 | /// Cursor 1
503 | static let leftParen = Lens(
| |- warning: static property 'leftParen' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionCallExprSyntax, TokenSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'leftParen' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
504 | setter: { $0.withLeftParen($1) },
505 | getter: { $0.leftParen }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:485:16: warning: static property 'argumentList' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionCallExprSyntax, FunctionCallArgumentListSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
483 | {
484 | /// Cursor 2
485 | static let argumentList = Lens(
| |- warning: static property 'argumentList' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionCallExprSyntax, FunctionCallArgumentListSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'argumentList' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
486 | setter: { $0.withArgumentList($1) },
487 | getter: { $0.argumentList }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:509:16: warning: static property 'rightParen' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionCallExprSyntax, TokenSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
507 |
508 | /// Cursor 3
509 | static let rightParen = Lens(
| |- warning: static property 'rightParen' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionCallExprSyntax, TokenSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'rightParen' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
510 | setter: { $0.withRightParen($1) },
511 | getter: { $0.rightParen }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:494:16: warning: static property 'trailingClosure' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionCallExprSyntax, ClosureExprSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
492 | {
493 | /// Cursor 4
494 | static let trailingClosure = Lens(
| |- warning: static property 'trailingClosure' is not concurrency-safe because non-'Sendable' type 'Lens<FunctionCallExprSyntax, ClosureExprSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'trailingClosure' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
495 | setter: { $0.withTrailingClosure($1) },
496 | getter: { $0.trailingClosure }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:555:16: warning: static property 'leftBrace' is not concurrency-safe because non-'Sendable' type 'Lens<ClosureExprSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
553 | {
554 | /// Cursor 0
555 | static let leftBrace = Lens(
| |- warning: static property 'leftBrace' is not concurrency-safe because non-'Sendable' type 'Lens<ClosureExprSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'leftBrace' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
556 | setter: { $0.withLeftBrace($1) },
557 | getter: { $0.leftBrace }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:570:16: warning: static property 'signature' is not concurrency-safe because non-'Sendable' type 'Lens<ClosureExprSyntax, ClosureSignatureSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
568 | {
569 | /// Cursor 1
570 | static let signature = Lens(
| |- warning: static property 'signature' is not concurrency-safe because non-'Sendable' type 'Lens<ClosureExprSyntax, ClosureSignatureSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'signature' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
571 | setter: { $0.withSignature($1) },
572 | getter: { $0.signature }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:579:16: warning: static property 'statements' is not concurrency-safe because non-'Sendable' type 'Lens<ClosureExprSyntax, CodeBlockItemListSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
577 | {
578 | /// Cursor 2
579 | static let statements = Lens(
| |- warning: static property 'statements' is not concurrency-safe because non-'Sendable' type 'Lens<ClosureExprSyntax, CodeBlockItemListSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'statements' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
580 | setter: { $0.withStatements($1) },
581 | getter: { $0.statements }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:561:16: warning: static property 'rightBrace' is not concurrency-safe because non-'Sendable' type 'Lens<ClosureExprSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
559 |
560 | /// Cursor 3
561 | static let rightBrace = Lens(
| |- warning: static property 'rightBrace' is not concurrency-safe because non-'Sendable' type 'Lens<ClosureExprSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'rightBrace' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
562 | setter: { $0.withRightBrace($1) },
563 | getter: { $0.rightBrace }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:529:16: warning: static property 'dot' is not concurrency-safe because non-'Sendable' type 'Lens<MemberAccessExprSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
527 | {
528 | /// Cursor 1
529 | static let dot = Lens(
| |- warning: static property 'dot' is not concurrency-safe because non-'Sendable' type 'Lens<MemberAccessExprSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dot' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
530 | setter: { $0.withDot($1) },
531 | getter: { $0.dot }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:535:16: warning: static property 'name' is not concurrency-safe because non-'Sendable' type 'Lens<MemberAccessExprSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
533 |
534 | /// Cursor 2
535 | static let name = Lens(
| |- warning: static property 'name' is not concurrency-safe because non-'Sendable' type 'Lens<MemberAccessExprSyntax, TokenSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'name' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
536 | setter: { $0.withName($1) },
537 | getter: { $0.name }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:544:16: warning: static property 'declNameArguments' is not concurrency-safe because non-'Sendable' type 'Lens<MemberAccessExprSyntax, DeclNameArgumentsSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
542 | {
543 | /// Cursor 3
544 | static let declNameArguments = Lens(
| |- warning: static property 'declNameArguments' is not concurrency-safe because non-'Sendable' type 'Lens<MemberAccessExprSyntax, DeclNameArgumentsSyntax?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'declNameArguments' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
545 | setter: { $0.withDeclNameArguments($1) },
546 | getter: { $0.declNameArguments }
/host/spi-builder-workspace/Sources/SwiftRewriter/Utilities/Lens.swift:520:16: warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'Lens<MemberAccessExprSyntax, (any ExprSyntax)?>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Functional getter & seter.
7 | /// An optic used to zoom inside a product-type.
8 | struct Lens<Whole, Part>
| `- note: consider making generic struct 'Lens' conform to the 'Sendable' protocol
9 | {
10 | let setter: (Whole, Part) -> Whole
:
518 | {
519 | /// Cursor 0
520 | static let base = Lens(
| |- warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'Lens<MemberAccessExprSyntax, (any ExprSyntax)?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'base' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
521 | setter: { $0.withBase($1) },
522 | getter: { $0.base }
[88/99] Compiling SwiftRewriter SyntaxRewriterProtocol.swift
[89/99] Compiling SwiftRewriter BugFixer.swift
[90/99] Compiling SwiftRewriter HeaderCopyrightTrimmer.swift
[91/99] Compiling SwiftRewriter FirstTokenRewriter.swift
[92/99] Compiling SwiftRewriter Indenter.swift
[93/100] Wrapping AST for SwiftRewriter for debugging
[95/100] Emitting module Curry
[96/100] Compiling Curry Curry.swift
[97/101] Wrapping AST for Curry for debugging
[99/109] Compiling swift_rewriter rewriter.swift
/host/spi-builder-workspace/Sources/swift-rewriter/main.swift:2:8: error: no such module 'Result'
1 | import Foundation
2 | import Result
| `- error: no such module 'Result'
3 | import Commandant
4 |
[100/109] Compiling swift_rewriter VersionCommand.swift
/host/spi-builder-workspace/Sources/swift-rewriter/main.swift:2:8: error: no such module 'Result'
1 | import Foundation
2 | import Result
| `- error: no such module 'Result'
3 | import Commandant
4 |
[101/109] Compiling swift_rewriter CommonOptions.swift
/host/spi-builder-workspace/Sources/swift-rewriter/main.swift:2:8: error: no such module 'Result'
1 | import Foundation
2 | import Result
| `- error: no such module 'Result'
3 | import Commandant
4 |
[102/109] Compiling swift_rewriter main.swift
/host/spi-builder-workspace/Sources/swift-rewriter/main.swift:2:8: error: no such module 'Result'
1 | import Foundation
2 | import Result
| `- error: no such module 'Result'
3 | import Commandant
4 |
[103/109] Compiling swift_rewriter CommandProtocol.swift
/host/spi-builder-workspace/Sources/swift-rewriter/main.swift:2:8: error: no such module 'Result'
1 | import Foundation
2 | import Result
| `- error: no such module 'Result'
3 | import Commandant
4 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[104/109] Compiling swift_rewriter PrintASTCommand.swift
/host/spi-builder-workspace/Sources/swift-rewriter/main.swift:2:8: error: no such module 'Result'
1 | import Foundation
2 | import Result
| `- error: no such module 'Result'
3 | import Commandant
4 |
[105/109] Emitting module swift_rewriter
/host/spi-builder-workspace/Sources/swift-rewriter/main.swift:2:8: error: no such module 'Result'
1 | import Foundation
2 | import Result
| `- error: no such module 'Result'
3 | import Commandant
4 |
[106/109] Compiling swift_rewriter RunCommand.swift
/host/spi-builder-workspace/Sources/swift-rewriter/main.swift:2:8: error: no such module 'Result'
1 | import Foundation
2 | import Result
| `- error: no such module 'Result'
3 | import Commandant
4 |
BUILD FAILURE 6.0 linux