The Swift Package Index logo.Swift Package Index

Build Information

Successful build of LuaSwift, reference v1.7.0 (cde1fd), with Swift 6.1 for macOS (SPM) on 6 Apr 2026 22:19:42 UTC.

Swift 6 data race errors: 172

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/GeometryModule.swift:487:24: warning: static property 'quatFromAxisAngleCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
 485 |     }
 486 |
 487 |     private static let quatFromAxisAngleCallback: ([LuaValue]) -> LuaValue = { args in
     |                        |- warning: static property 'quatFromAxisAngleCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: add '@MainActor' to make static property 'quatFromAxisAngleCallback' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 488 |         guard args.count >= 2,
 489 |               let axis = extractVec3(args[0]),
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/GeometryModule.swift:494:24: warning: static property 'quatNormalizeCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
 492 |     }
 493 |
 494 |     private static let quatNormalizeCallback: ([LuaValue]) -> LuaValue = { args in
     |                        |- warning: static property 'quatNormalizeCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: add '@MainActor' to make static property 'quatNormalizeCallback' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 495 |         guard let q = extractQuat(args[0]) else { return .nil }
 496 |         return quatToLua(simd_normalize(q))
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/GeometryModule.swift:499:24: warning: static property 'quatConjugateCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
 497 |     }
 498 |
 499 |     private static let quatConjugateCallback: ([LuaValue]) -> LuaValue = { args in
     |                        |- warning: static property 'quatConjugateCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: add '@MainActor' to make static property 'quatConjugateCallback' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 500 |         guard let q = extractQuat(args[0]) else { return .nil }
 501 |         return quatToLua(q.conjugate)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/GeometryModule.swift:504:24: warning: static property 'quatInverseCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
 502 |     }
 503 |
 504 |     private static let quatInverseCallback: ([LuaValue]) -> LuaValue = { args in
     |                        |- warning: static property 'quatInverseCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: add '@MainActor' to make static property 'quatInverseCallback' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 505 |         guard let q = extractQuat(args[0]) else { return .nil }
 506 |         return quatToLua(q.inverse)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/GeometryModule.swift:509:24: warning: static property 'quatMulCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
 507 |     }
 508 |
 509 |     private static let quatMulCallback: ([LuaValue]) -> LuaValue = { args in
     |                        |- warning: static property 'quatMulCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: add '@MainActor' to make static property 'quatMulCallback' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 510 |         guard args.count >= 2,
 511 |               let q1 = extractQuat(args[0]),
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/GeometryModule.swift:516:24: warning: static property 'quatRotateCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
 514 |     }
 515 |
 516 |     private static let quatRotateCallback: ([LuaValue]) -> LuaValue = { args in
     |                        |- warning: static property 'quatRotateCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: add '@MainActor' to make static property 'quatRotateCallback' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 517 |         guard args.count >= 2,
 518 |               let q = extractQuat(args[0]),
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/GeometryModule.swift:523:24: warning: static property 'quatSlerpCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
 521 |     }
 522 |
 523 |     private static let quatSlerpCallback: ([LuaValue]) -> LuaValue = { args in
     |                        |- warning: static property 'quatSlerpCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: add '@MainActor' to make static property 'quatSlerpCallback' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 524 |         guard args.count >= 3,
 525 |               let q1 = extractQuat(args[0]),
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/GeometryModule.swift:531:24: warning: static property 'quatToEulerCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
 529 |     }
 530 |
 531 |     private static let quatToEulerCallback: ([LuaValue]) -> LuaValue = { args in
     |                        |- warning: static property 'quatToEulerCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: add '@MainActor' to make static property 'quatToEulerCallback' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 532 |         guard let q = extractQuat(args[0]) else { return .nil }
 533 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/GeometryModule.swift:554:24: warning: static property 'quatToAxisAngleCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
 552 |     }
 553 |
 554 |     private static let quatToAxisAngleCallback: ([LuaValue]) -> LuaValue = { args in
     |                        |- warning: static property 'quatToAxisAngleCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: add '@MainActor' to make static property 'quatToAxisAngleCallback' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 555 |         guard let q = extractQuat(args[0]) else { return .nil }
 556 |         let angle: Double = 2.0 * acos(q.real)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/GeometryModule.swift:567:24: warning: static property 'quatToMatrixCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
 565 |     }
 566 |
 567 |     private static let quatToMatrixCallback: ([LuaValue]) -> LuaValue = { args in
     |                        |- warning: static property 'quatToMatrixCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: add '@MainActor' to make static property 'quatToMatrixCallback' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 568 |         guard let q = extractQuat(args[0]) else { return .nil }
 569 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/GeometryModule.swift:584:24: warning: static property 'quatDotCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
 582 |     }
 583 |
 584 |     private static let quatDotCallback: ([LuaValue]) -> LuaValue = { args in
     |                        |- warning: static property 'quatDotCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: add '@MainActor' to make static property 'quatDotCallback' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 585 |         guard args.count >= 2,
 586 |               let q1 = extractQuat(args[0]),
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/GeometryModule.swift:591:24: warning: static property 'quatLengthCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
 589 |     }
 590 |
 591 |     private static let quatLengthCallback: ([LuaValue]) -> LuaValue = { args in
     |                        |- warning: static property 'quatLengthCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: add '@MainActor' to make static property 'quatLengthCallback' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 592 |         guard let q = extractQuat(args[0]) else { return .nil }
 593 |         return .number(q.length)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/GeometryModule.swift:598:24: warning: static property 'mat4IdentityCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
 596 |     // MARK: - Matrix 4x4 Callbacks
 597 |
 598 |     private static let mat4IdentityCallback: ([LuaValue]) -> LuaValue = { _ in
     |                        |- warning: static property 'mat4IdentityCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: add '@MainActor' to make static property 'mat4IdentityCallback' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 599 |         return mat4ToLua(matrix_identity_double4x4)
 600 |     }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/GeometryModule.swift:602:24: warning: static property 'mat4TranslateCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
 600 |     }
 601 |
 602 |     private static let mat4TranslateCallback: ([LuaValue]) -> LuaValue = { args in
     |                        |- warning: static property 'mat4TranslateCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: add '@MainActor' to make static property 'mat4TranslateCallback' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 603 |         guard args.count >= 4,
 604 |               let m = extractMat4(args[0]),
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/GeometryModule.swift:614:24: warning: static property 'mat4RotateXCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
 612 |     }
 613 |
 614 |     private static let mat4RotateXCallback: ([LuaValue]) -> LuaValue = { args in
     |                        |- warning: static property 'mat4RotateXCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: add '@MainActor' to make static property 'mat4RotateXCallback' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 615 |         guard args.count >= 2,
 616 |               let m = extractMat4(args[0]),
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/GeometryModule.swift:626:24: warning: static property 'mat4RotateYCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
 624 |     }
 625 |
 626 |     private static let mat4RotateYCallback: ([LuaValue]) -> LuaValue = { args in
     |                        |- warning: static property 'mat4RotateYCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: add '@MainActor' to make static property 'mat4RotateYCallback' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 627 |         guard args.count >= 2,
 628 |               let m = extractMat4(args[0]),
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/GeometryModule.swift:638:24: warning: static property 'mat4RotateZCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
 636 |     }
 637 |
 638 |     private static let mat4RotateZCallback: ([LuaValue]) -> LuaValue = { args in
     |                        |- warning: static property 'mat4RotateZCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: add '@MainActor' to make static property 'mat4RotateZCallback' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 639 |         guard args.count >= 2,
 640 |               let m = extractMat4(args[0]),
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/GeometryModule.swift:650:24: warning: static property 'mat4RotateAxisCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
 648 |     }
 649 |
 650 |     private static let mat4RotateAxisCallback: ([LuaValue]) -> LuaValue = { args in
     |                        |- warning: static property 'mat4RotateAxisCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: add '@MainActor' to make static property 'mat4RotateAxisCallback' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 651 |         guard args.count >= 3,
 652 |               let m = extractMat4(args[0]),
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/GeometryModule.swift:673:24: warning: static property 'mat4ScaleCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
 671 |     }
 672 |
 673 |     private static let mat4ScaleCallback: ([LuaValue]) -> LuaValue = { args in
     |                        |- warning: static property 'mat4ScaleCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: add '@MainActor' to make static property 'mat4ScaleCallback' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 674 |         guard args.count >= 2,
 675 |               let m = extractMat4(args[0]) else { return .nil }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/GeometryModule.swift:686:24: warning: static property 'mat4MultiplyCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
 684 |     }
 685 |
 686 |     private static let mat4MultiplyCallback: ([LuaValue]) -> LuaValue = { args in
     |                        |- warning: static property 'mat4MultiplyCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: add '@MainActor' to make static property 'mat4MultiplyCallback' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 687 |         guard args.count >= 2,
 688 |               let m1 = extractMat4(args[0]),
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/GeometryModule.swift:693:24: warning: static property 'mat4ApplyCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
 691 |     }
 692 |
 693 |     private static let mat4ApplyCallback: ([LuaValue]) -> LuaValue = { args in
     |                        |- warning: static property 'mat4ApplyCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: add '@MainActor' to make static property 'mat4ApplyCallback' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 694 |         guard args.count >= 2,
 695 |               let m = extractMat4(args[0]),
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/GeometryModule.swift:705:24: warning: static property 'distanceCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
 703 |     // MARK: - Geometric Calculation Callbacks
 704 |
 705 |     private static let distanceCallback: ([LuaValue]) -> LuaValue = { args in
     |                        |- warning: static property 'distanceCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: add '@MainActor' to make static property 'distanceCallback' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 706 |         guard args.count >= 2 else { return .nil }
 707 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/GeometryModule.swift:725:24: warning: static property 'angleBetweenCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
 723 |
 724 |     /// Angle between two vectors (implicit origin translation)
 725 |     private static let angleBetweenCallback: ([LuaValue]) -> LuaValue = { args in
     |                        |- warning: static property 'angleBetweenCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: add '@MainActor' to make static property 'angleBetweenCallback' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 726 |         guard args.count >= 2 else { return .nil }
 727 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/GeometryModule.swift:750:24: warning: static property 'convexHullCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
 748 |
 749 |     /// Compute convex hull of 2D points via NumericSwift
 750 |     private static let convexHullCallback: ([LuaValue]) -> LuaValue = { args in
     |                        |- warning: static property 'convexHullCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: add '@MainActor' to make static property 'convexHullCallback' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 751 |         guard let arr = args[0].arrayValue else { return .nil }
 752 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/GeometryModule.swift:771:24: warning: static property 'inPolygonCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
 769 |
 770 |     /// Point-in-polygon test via NumericSwift
 771 |     private static let inPolygonCallback: ([LuaValue]) -> LuaValue = { args in
     |                        |- warning: static property 'inPolygonCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: add '@MainActor' to make static property 'inPolygonCallback' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 772 |         guard args.count >= 2,
 773 |               let point = extractVec2(args[0]),
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/GeometryModule.swift:788:24: warning: static property 'lineIntersectionCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
 786 |
 787 |     /// Line-line intersection via NumericSwift
 788 |     private static let lineIntersectionCallback: ([LuaValue]) -> LuaValue = { args in
     |                        |- warning: static property 'lineIntersectionCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: add '@MainActor' to make static property 'lineIntersectionCallback' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 789 |         guard args.count >= 2,
 790 |               let l1 = args[0].arrayValue, l1.count >= 2,
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/GeometryModule.swift:802:24: warning: static property 'areaTriangleCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
 800 |
 801 |     /// Triangle area via NumericSwift
 802 |     private static let areaTriangleCallback: ([LuaValue]) -> LuaValue = { args in
     |                        |- warning: static property 'areaTriangleCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: add '@MainActor' to make static property 'areaTriangleCallback' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 803 |         guard args.count >= 3,
 804 |               let p1 = extractVec2(args[0]),
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/GeometryModule.swift:812:24: warning: static property 'centroidCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
 810 |
 811 |     /// Centroid calculation via NumericSwift
 812 |     private static let centroidCallback: ([LuaValue]) -> LuaValue = { args in
     |                        |- warning: static property 'centroidCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: add '@MainActor' to make static property 'centroidCallback' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 813 |         guard let arr = args[0].arrayValue, !arr.isEmpty else { return .nil }
 814 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/GeometryModule.swift:843:24: warning: static property 'circleFrom3PointsCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
 841 |
 842 |     /// Circle through 3 points via NumericSwift
 843 |     private static let circleFrom3PointsCallback: ([LuaValue]) -> LuaValue = { args in
     |                        |- warning: static property 'circleFrom3PointsCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: add '@MainActor' to make static property 'circleFrom3PointsCallback' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 844 |         guard args.count >= 3,
 845 |               let p1 = extractVec2(args[0]),
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/GeometryModule.swift:859:24: warning: static property 'planeFrom3PointsCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
 857 |     }
 858 |
 859 |     private static let planeFrom3PointsCallback: ([LuaValue]) -> LuaValue = { args in
     |                        |- warning: static property 'planeFrom3PointsCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: add '@MainActor' to make static property 'planeFrom3PointsCallback' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 860 |         guard args.count >= 3,
 861 |               let p1 = extractVec3(args[0]),
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/GeometryModule.swift:876:24: warning: static property 'pointPlaneDistanceCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
 874 |     }
 875 |
 876 |     private static let pointPlaneDistanceCallback: ([LuaValue]) -> LuaValue = { args in
     |                        |- warning: static property 'pointPlaneDistanceCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: add '@MainActor' to make static property 'pointPlaneDistanceCallback' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 877 |         guard args.count >= 2,
 878 |               let point = extractVec3(args[0]),
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/GeometryModule.swift:886:24: warning: static property 'linePlaneIntersectionCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
 884 |     }
 885 |
 886 |     private static let linePlaneIntersectionCallback: ([LuaValue]) -> LuaValue = { args in
     |                        |- warning: static property 'linePlaneIntersectionCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: add '@MainActor' to make static property 'linePlaneIntersectionCallback' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 887 |         guard args.count >= 2,
 888 |               let line = args[0].tableValue,
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/GeometryModule.swift:903:24: warning: static property 'planePlaneIntersectionCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
 901 |
 902 |     /// Plane-plane intersection returns a line (origin + direction)
 903 |     private static let planePlaneIntersectionCallback: ([LuaValue]) -> LuaValue = { args in
     |                        |- warning: static property 'planePlaneIntersectionCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: add '@MainActor' to make static property 'planePlaneIntersectionCallback' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 904 |         guard args.count >= 2,
 905 |               let plane1 = args[0].tableValue,
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/GeometryModule.swift:929:24: warning: static property 'intersectionCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
 927 |
 928 |     /// Polymorphic intersection: line-line, line-plane, or plane-plane
 929 |     private static let intersectionCallback: ([LuaValue]) -> LuaValue = { args in
     |                        |- warning: static property 'intersectionCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: add '@MainActor' to make static property 'intersectionCallback' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 930 |         guard args.count >= 2 else { return .nil }
 931 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/GeometryModule.swift:957:24: warning: static property 'sphereFrom4PointsCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
 955 |
 956 |     /// Compute sphere through 4 points via NumericSwift
 957 |     private static let sphereFrom4PointsCallback: ([LuaValue]) -> LuaValue = { args in
     |                        |- warning: static property 'sphereFrom4PointsCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: add '@MainActor' to make static property 'sphereFrom4PointsCallback' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 958 |         guard args.count >= 4,
 959 |               let p1 = extractVec3(args[0]),
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/GeometryModule.swift:979:24: warning: static property 'cubicSplineCoeffsCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) throws -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
 977 |     /// Input: either array of {x, y} points OR two arrays (xs, ys)
 978 |     /// Output: {knots, values, coeffs} where coeffs[i] = {a, b, c, d} for each segment
 979 |     private static let cubicSplineCoeffsCallback: ([LuaValue]) throws -> LuaValue = { args in
     |                        |- warning: static property 'cubicSplineCoeffsCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) throws -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: add '@MainActor' to make static property 'cubicSplineCoeffsCallback' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 980 |         var points: [(x: Double, y: Double)] = []
 981 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/GeometryModule.swift:1027:24: warning: static property 'bsplineEvaluateCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) throws -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
1025 |
1026 |     /// Evaluate B-spline curve via NumericSwift
1027 |     private static let bsplineEvaluateCallback: ([LuaValue]) throws -> LuaValue = { args in
     |                        |- warning: static property 'bsplineEvaluateCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) throws -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: add '@MainActor' to make static property 'bsplineEvaluateCallback' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1028 |         guard args.count >= 4,
1029 |               let controlPointsArray = args[0].arrayValue,
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/GeometryModule.swift:1070:24: warning: static property 'bsplineBasisCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) throws -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
1068 |
1069 |     /// Compute B-spline basis function N_{i,p}(t) via NumericSwift
1070 |     private static let bsplineBasisCallback: ([LuaValue]) throws -> LuaValue = { args in
     |                        |- warning: static property 'bsplineBasisCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) throws -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: add '@MainActor' to make static property 'bsplineBasisCallback' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1071 |         guard args.count >= 4,
1072 |               let knotsArray = args[0].arrayValue,
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/GeometryModule.swift:1088:24: warning: static property 'bsplineUniformKnotsCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) throws -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
1086 |
1087 |     /// Generate uniform knot vector for B-spline via NumericSwift
1088 |     private static let bsplineUniformKnotsCallback: ([LuaValue]) throws -> LuaValue = { args in
     |                        |- warning: static property 'bsplineUniformKnotsCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) throws -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: add '@MainActor' to make static property 'bsplineUniformKnotsCallback' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1089 |         guard args.count >= 2,
1090 |               let n = args[0].numberValue.map({ Int($0) }),
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/GeometryModule.swift:1100:24: warning: static property 'bsplineDerivativeCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) throws -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
1098 |
1099 |     /// Evaluate B-spline derivative via NumericSwift
1100 |     private static let bsplineDerivativeCallback: ([LuaValue]) throws -> LuaValue = { args in
     |                        |- warning: static property 'bsplineDerivativeCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) throws -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: add '@MainActor' to make static property 'bsplineDerivativeCallback' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1101 |         guard args.count >= 4,
1102 |               let controlPointsArray = args[0].arrayValue,
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/GeometryModule.swift:1149:24: warning: static property 'circleFitAlgebraicCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) throws -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
1147 |     /// Input: array of points [{x, y}, ...]
1148 |     /// Output: {cx, cy, r, residuals, method}
1149 |     private static let circleFitAlgebraicCallback: ([LuaValue]) throws -> LuaValue = { args in
     |                        |- warning: static property 'circleFitAlgebraicCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) throws -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: add '@MainActor' to make static property 'circleFitAlgebraicCallback' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1150 |         guard let pointsArray = args.first?.arrayValue else {
1151 |             throw LuaError.callbackError("circle_fit requires array of points")
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/GeometryModule.swift:1188:24: warning: static property 'circleFitTaubinCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) throws -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
1186 |     /// Fit circle using Taubin's method (modified algebraic with normalization)
1187 |     /// More accurate than Kåsa for noisy data
1188 |     private static let circleFitTaubinCallback: ([LuaValue]) throws -> LuaValue = { args in
     |                        |- warning: static property 'circleFitTaubinCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) throws -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: add '@MainActor' to make static property 'circleFitTaubinCallback' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1189 |         guard let pointsArray = args.first?.arrayValue else {
1190 |             throw LuaError.callbackError("circle_fit requires array of points")
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/GeometryModule.swift:1228:24: warning: static property 'vec2ToPolarCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
1226 |
1227 |     /// Convert vec2 (x, y) to polar (r, theta)
1228 |     private static let vec2ToPolarCallback: ([LuaValue]) -> LuaValue = { args in
     |                        |- warning: static property 'vec2ToPolarCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: add '@MainActor' to make static property 'vec2ToPolarCallback' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1229 |         guard let v = extractVec2(args[0]) else { return .nil }
1230 |         let r = simd_length(v)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/GeometryModule.swift:1236:24: warning: static property 'vec2FromPolarCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
1234 |
1235 |     /// Create vec2 from polar (r, theta)
1236 |     private static let vec2FromPolarCallback: ([LuaValue]) -> LuaValue = { args in
     |                        |- warning: static property 'vec2FromPolarCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: add '@MainActor' to make static property 'vec2FromPolarCallback' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1237 |         guard args.count >= 2,
1238 |               let r = args[0].numberValue,
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/GeometryModule.swift:1248:24: warning: static property 'vec3ToSphericalCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
1246 |     /// theta = azimuthal angle (from x-axis in xy-plane)
1247 |     /// phi = polar angle (from z-axis)
1248 |     private static let vec3ToSphericalCallback: ([LuaValue]) -> LuaValue = { args in
     |                        |- warning: static property 'vec3ToSphericalCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: add '@MainActor' to make static property 'vec3ToSphericalCallback' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1249 |         guard let v = extractVec3(args[0]) else { return .nil }
1250 |         let r = simd_length(v)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/GeometryModule.swift:1257:24: warning: static property 'vec3FromSphericalCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
1255 |
1256 |     /// Create vec3 from spherical (r, theta, phi)
1257 |     private static let vec3FromSphericalCallback: ([LuaValue]) -> LuaValue = { args in
     |                        |- warning: static property 'vec3FromSphericalCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: add '@MainActor' to make static property 'vec3FromSphericalCallback' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1258 |         guard args.count >= 3,
1259 |               let r = args[0].numberValue,
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/GeometryModule.swift:1271:24: warning: static property 'vec3ToCylindricalCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
1269 |     /// rho = radial distance in xy-plane
1270 |     /// theta = azimuthal angle (from x-axis)
1271 |     private static let vec3ToCylindricalCallback: ([LuaValue]) -> LuaValue = { args in
     |                        |- warning: static property 'vec3ToCylindricalCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: add '@MainActor' to make static property 'vec3ToCylindricalCallback' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1272 |         guard let v = extractVec3(args[0]) else { return .nil }
1273 |         let rho = sqrt(v.x * v.x + v.y * v.y)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/GeometryModule.swift:1279:24: warning: static property 'vec3FromCylindricalCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
1277 |
1278 |     /// Create vec3 from cylindrical (rho, theta, z)
1279 |     private static let vec3FromCylindricalCallback: ([LuaValue]) -> LuaValue = { args in
     |                        |- warning: static property 'vec3FromCylindricalCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: add '@MainActor' to make static property 'vec3FromCylindricalCallback' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1280 |         guard args.count >= 3,
1281 |               let rho = args[0].numberValue,
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/GeometryModule.swift:1292:24: warning: static property 'ellipseFitDirectCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) throws -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
1290 |
1291 |     /// Fit ellipse using Fitzgibbon's direct least squares method via NumericSwift
1292 |     private static let ellipseFitDirectCallback: ([LuaValue]) throws -> LuaValue = { args in
     |                        |- warning: static property 'ellipseFitDirectCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) throws -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: add '@MainActor' to make static property 'ellipseFitDirectCallback' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1293 |         guard let pointsArray = args.first?.arrayValue else {
1294 |             throw LuaError.callbackError("ellipse_fit requires array of points")
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/GeometryModule.swift:1330:24: warning: static property 'sphereFitAlgebraicCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) throws -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
1328 |
1329 |     /// Fit sphere to 3D points using algebraic least squares via NumericSwift
1330 |     private static let sphereFitAlgebraicCallback: ([LuaValue]) throws -> LuaValue = { args in
     |                        |- warning: static property 'sphereFitAlgebraicCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) throws -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: add '@MainActor' to make static property 'sphereFitAlgebraicCallback' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1331 |         guard let pointsArray = args.first?.arrayValue else {
1332 |             throw LuaError.callbackError("sphere_fit requires array of 3D points")
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/GeometryModule.swift:1373:24: warning: static property 'bsplineFitCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) throws -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
1371 |     /// Input: points (array of {x,y} or {x,y,z}), degree, n_control_points, [parameterization]
1372 |     /// Output: {control_points, knots, degree, residuals, rmse, max_error, parameters}
1373 |     private static let bsplineFitCallback: ([LuaValue]) throws -> LuaValue = { args in
     |                        |- warning: static property 'bsplineFitCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) throws -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: add '@MainActor' to make static property 'bsplineFitCallback' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1374 |         guard args.count >= 3,
1375 |               let pointsArray = args[0].arrayValue,
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/HTTPModule.swift:160:24: warning: static property 'sessionManager' is not concurrency-safe because non-'Sendable' type 'HTTPModule.SessionManager' may have shared mutable state; this is an error in the Swift 6 language mode
 71 |     ///
 72 |     /// Sessions are automatically invalidated when the engine is deallocated.
 73 |     private final class SessionManager {
    |                         `- note: class 'SessionManager' does not conform to the 'Sendable' protocol
 74 |         /// Storage for sessions indexed by engine ObjectIdentifier
 75 |         private struct SessionPair {
    :
158 |
159 |     /// Shared session manager instance
160 |     private static let sessionManager = SessionManager()
    |                        |- warning: static property 'sessionManager' is not concurrency-safe because non-'Sendable' type 'HTTPModule.SessionManager' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'sessionManager' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
161 |
162 |     // MARK: - Redirect Delegate
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/HTTPModule.swift:165:19: warning: non-final class 'RedirectDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
163 |
164 |     /// Delegate that controls redirect behavior for URLSession requests.
165 |     private class RedirectDelegate: NSObject, URLSessionTaskDelegate {
    |                   `- warning: non-final class 'RedirectDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
166 |         let followRedirects: Bool
167 |
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/HTTPModule.swift:320:13: warning: mutation of captured var 'responseData' in concurrently-executing code
318 |
319 |         let task = session.dataTask(with: request) { data, response, error in
320 |             responseData = data
    |             `- warning: mutation of captured var 'responseData' in concurrently-executing code
321 |             httpResponse = response as? HTTPURLResponse
322 |             requestError = error
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/HTTPModule.swift:321:13: warning: mutation of captured var 'httpResponse' in concurrently-executing code
319 |         let task = session.dataTask(with: request) { data, response, error in
320 |             responseData = data
321 |             httpResponse = response as? HTTPURLResponse
    |             `- warning: mutation of captured var 'httpResponse' in concurrently-executing code
322 |             requestError = error
323 |             semaphore.signal()
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/HTTPModule.swift:322:13: warning: mutation of captured var 'requestError' in concurrently-executing code
320 |             responseData = data
321 |             httpResponse = response as? HTTPURLResponse
322 |             requestError = error
    |             `- warning: mutation of captured var 'requestError' in concurrently-executing code
323 |             semaphore.signal()
324 |         }
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/IOModule.swift:557:16: warning: static property 'allowedDirectories' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
555 |
556 | private enum AssociatedKeys {
557 |     static var allowedDirectories: UInt8 = 0
    |                |- warning: static property 'allowedDirectories' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'allowedDirectories' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'allowedDirectories' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
558 | }
559 |
[157/171] Compiling LuaSwift StringXModule.swift
[158/171] Compiling LuaSwift TOMLModule.swift
[159/171] Compiling LuaSwift TableXModule.swift
[160/171] Compiling LuaSwift ClusterModule.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:104:24: warning: static property 'createCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
102 |     // MARK: - Basic Operations Callbacks
103 |
104 |     private static let createCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'createCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'createCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 |         let re = args.first?.numberValue ?? 0
106 |         let im = args.count > 1 ? (args[1].numberValue ?? 0) : 0
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:110:24: warning: static property 'fromPolarCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
108 |     }
109 |
110 |     private static let fromPolarCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'fromPolarCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'fromPolarCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
111 |         guard let r = args.first?.numberValue,
112 |               let theta = args.count > 1 ? args[1].numberValue : nil else {
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:121:24: warning: static property 'addCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
119 |     // MARK: - Arithmetic Callbacks
120 |
121 |     private static let addCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'addCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'addCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 |         guard args.count >= 2,
123 |               let z1 = extractComplex(args[0]),
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:129:24: warning: static property 'subCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
127 |     }
128 |
129 |     private static let subCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'subCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'subCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
130 |         guard args.count >= 2,
131 |               let z1 = extractComplex(args[0]),
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:137:24: warning: static property 'mulCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
135 |     }
136 |
137 |     private static let mulCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'mulCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'mulCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
138 |         guard args.count >= 2,
139 |               let z1 = extractComplex(args[0]),
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:145:24: warning: static property 'divCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
143 |     }
144 |
145 |     private static let divCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'divCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'divCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
146 |         guard args.count >= 2,
147 |               let z1 = extractComplex(args[0]),
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:155:24: warning: static property 'negCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
153 |     }
154 |
155 |     private static let negCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'negCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'negCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
156 |         guard let z = extractComplex(args[0]) else { return .nil }
157 |         let result = -Complex(re: z.re, im: z.im)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:163:24: warning: static property 'absCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
161 |     // MARK: - Properties Callbacks
162 |
163 |     private static let absCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'absCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'absCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
164 |         guard let z = extractComplex(args[0]) else { return .nil }
165 |         return .number(Complex(re: z.re, im: z.im).abs)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:168:24: warning: static property 'argCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
166 |     }
167 |
168 |     private static let argCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'argCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'argCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
169 |         guard let z = extractComplex(args[0]) else { return .nil }
170 |         return .number(Complex(re: z.re, im: z.im).arg)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:173:24: warning: static property 'conjCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
171 |     }
172 |
173 |     private static let conjCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'conjCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'conjCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
174 |         guard let z = extractComplex(args[0]) else { return .nil }
175 |         let result = Complex(re: z.re, im: z.im).conj
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:179:24: warning: static property 'polarCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
177 |     }
178 |
179 |     private static let polarCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'polarCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'polarCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
180 |         guard let z = extractComplex(args[0]) else { return .nil }
181 |         let c = Complex(re: z.re, im: z.im)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:187:24: warning: static property 'powCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
185 |     // MARK: - Powers Callbacks
186 |
187 |     private static let powCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'powCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'powCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
188 |         guard args.count >= 2,
189 |               let z = extractComplex(args[0]),
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:195:24: warning: static property 'sqrtCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
193 |     }
194 |
195 |     private static let sqrtCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'sqrtCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'sqrtCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
196 |         guard let z = extractComplex(args[0]) else { return .nil }
197 |         let result = Complex(re: z.re, im: z.im).sqrt
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:203:24: warning: static property 'expCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
201 |     // MARK: - Exponential and Logarithmic Callbacks
202 |
203 |     private static let expCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'expCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'expCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
204 |         guard let z = extractComplex(args[0]) else { return .nil }
205 |         let result = Complex(re: z.re, im: z.im).exp
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:209:24: warning: static property 'logCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
207 |     }
208 |
209 |     private static let logCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'logCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'logCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
210 |         guard let z = extractComplex(args[0]) else { return .nil }
211 |         let c = Complex(re: z.re, im: z.im)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:219:24: warning: static property 'sinCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
217 |     // MARK: - Trigonometric Callbacks
218 |
219 |     private static let sinCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'sinCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'sinCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
220 |         guard let z = extractComplex(args[0]) else { return .nil }
221 |         let result = Complex(re: z.re, im: z.im).sin
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:225:24: warning: static property 'cosCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
223 |     }
224 |
225 |     private static let cosCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'cosCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'cosCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
226 |         guard let z = extractComplex(args[0]) else { return .nil }
227 |         let result = Complex(re: z.re, im: z.im).cos
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:231:24: warning: static property 'tanCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
229 |     }
230 |
231 |     private static let tanCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'tanCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'tanCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
232 |         guard let z = extractComplex(args[0]) else { return .nil }
233 |         let c = Complex(re: z.re, im: z.im)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:241:24: warning: static property 'asinCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
239 |     }
240 |
241 |     private static let asinCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'asinCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'asinCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
242 |         guard let z = extractComplex(args[0]) else { return .nil }
243 |         let result = Complex(re: z.re, im: z.im).asin
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:249:24: warning: static property 'acosCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
247 |     }
248 |
249 |     private static let acosCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'acosCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'acosCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
250 |         guard let z = extractComplex(args[0]) else { return .nil }
251 |         let result = Complex(re: z.re, im: z.im).acos
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:256:24: warning: static property 'atanCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
254 |     }
255 |
256 |     private static let atanCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'atanCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'atanCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
257 |         guard let z = extractComplex(args[0]) else { return .nil }
258 |         let result = Complex(re: z.re, im: z.im).atan
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:265:24: warning: static property 'sinhCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
263 |     // MARK: - Hyperbolic Callbacks
264 |
265 |     private static let sinhCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'sinhCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'sinhCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
266 |         guard let z = extractComplex(args[0]) else { return .nil }
267 |         let result = Complex(re: z.re, im: z.im).sinh
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:271:24: warning: static property 'coshCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
269 |     }
270 |
271 |     private static let coshCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'coshCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'coshCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
272 |         guard let z = extractComplex(args[0]) else { return .nil }
273 |         let result = Complex(re: z.re, im: z.im).cosh
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:277:24: warning: static property 'tanhCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
275 |     }
276 |
277 |     private static let tanhCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'tanhCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'tanhCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
278 |         guard let z = extractComplex(args[0]) else { return .nil }
279 |         let c = Complex(re: z.re, im: z.im)
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/DebugModule.swift:50:24: warning: static property 'logLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 48 |
 49 |     /// Current minimum log level
 50 |     private static var logLevel: LogLevel = .debug
    |                        |- warning: static property 'logLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'logLevel' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'logLevel' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 51 |
 52 |     /// Performance timer storage
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/DebugModule.swift:53:24: warning: static property 'timers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 51 |
 52 |     /// Performance timer storage
 53 |     private static var timers: [String: Date] = [:]
    |                        |- warning: static property 'timers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'timers' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'timers' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 54 |
 55 |     /// Lock for thread-safe timer access
[161/171] Compiling LuaSwift ComplexHelper.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:104:24: warning: static property 'createCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
102 |     // MARK: - Basic Operations Callbacks
103 |
104 |     private static let createCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'createCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'createCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 |         let re = args.first?.numberValue ?? 0
106 |         let im = args.count > 1 ? (args[1].numberValue ?? 0) : 0
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:110:24: warning: static property 'fromPolarCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
108 |     }
109 |
110 |     private static let fromPolarCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'fromPolarCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'fromPolarCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
111 |         guard let r = args.first?.numberValue,
112 |               let theta = args.count > 1 ? args[1].numberValue : nil else {
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:121:24: warning: static property 'addCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
119 |     // MARK: - Arithmetic Callbacks
120 |
121 |     private static let addCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'addCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'addCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 |         guard args.count >= 2,
123 |               let z1 = extractComplex(args[0]),
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:129:24: warning: static property 'subCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
127 |     }
128 |
129 |     private static let subCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'subCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'subCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
130 |         guard args.count >= 2,
131 |               let z1 = extractComplex(args[0]),
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:137:24: warning: static property 'mulCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
135 |     }
136 |
137 |     private static let mulCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'mulCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'mulCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
138 |         guard args.count >= 2,
139 |               let z1 = extractComplex(args[0]),
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:145:24: warning: static property 'divCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
143 |     }
144 |
145 |     private static let divCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'divCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'divCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
146 |         guard args.count >= 2,
147 |               let z1 = extractComplex(args[0]),
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:155:24: warning: static property 'negCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
153 |     }
154 |
155 |     private static let negCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'negCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'negCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
156 |         guard let z = extractComplex(args[0]) else { return .nil }
157 |         let result = -Complex(re: z.re, im: z.im)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:163:24: warning: static property 'absCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
161 |     // MARK: - Properties Callbacks
162 |
163 |     private static let absCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'absCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'absCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
164 |         guard let z = extractComplex(args[0]) else { return .nil }
165 |         return .number(Complex(re: z.re, im: z.im).abs)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:168:24: warning: static property 'argCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
166 |     }
167 |
168 |     private static let argCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'argCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'argCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
169 |         guard let z = extractComplex(args[0]) else { return .nil }
170 |         return .number(Complex(re: z.re, im: z.im).arg)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:173:24: warning: static property 'conjCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
171 |     }
172 |
173 |     private static let conjCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'conjCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'conjCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
174 |         guard let z = extractComplex(args[0]) else { return .nil }
175 |         let result = Complex(re: z.re, im: z.im).conj
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:179:24: warning: static property 'polarCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
177 |     }
178 |
179 |     private static let polarCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'polarCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'polarCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
180 |         guard let z = extractComplex(args[0]) else { return .nil }
181 |         let c = Complex(re: z.re, im: z.im)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:187:24: warning: static property 'powCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
185 |     // MARK: - Powers Callbacks
186 |
187 |     private static let powCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'powCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'powCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
188 |         guard args.count >= 2,
189 |               let z = extractComplex(args[0]),
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:195:24: warning: static property 'sqrtCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
193 |     }
194 |
195 |     private static let sqrtCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'sqrtCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'sqrtCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
196 |         guard let z = extractComplex(args[0]) else { return .nil }
197 |         let result = Complex(re: z.re, im: z.im).sqrt
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:203:24: warning: static property 'expCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
201 |     // MARK: - Exponential and Logarithmic Callbacks
202 |
203 |     private static let expCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'expCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'expCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
204 |         guard let z = extractComplex(args[0]) else { return .nil }
205 |         let result = Complex(re: z.re, im: z.im).exp
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:209:24: warning: static property 'logCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
207 |     }
208 |
209 |     private static let logCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'logCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'logCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
210 |         guard let z = extractComplex(args[0]) else { return .nil }
211 |         let c = Complex(re: z.re, im: z.im)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:219:24: warning: static property 'sinCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
217 |     // MARK: - Trigonometric Callbacks
218 |
219 |     private static let sinCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'sinCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'sinCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
220 |         guard let z = extractComplex(args[0]) else { return .nil }
221 |         let result = Complex(re: z.re, im: z.im).sin
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:225:24: warning: static property 'cosCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
223 |     }
224 |
225 |     private static let cosCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'cosCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'cosCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
226 |         guard let z = extractComplex(args[0]) else { return .nil }
227 |         let result = Complex(re: z.re, im: z.im).cos
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:231:24: warning: static property 'tanCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
229 |     }
230 |
231 |     private static let tanCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'tanCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'tanCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
232 |         guard let z = extractComplex(args[0]) else { return .nil }
233 |         let c = Complex(re: z.re, im: z.im)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:241:24: warning: static property 'asinCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
239 |     }
240 |
241 |     private static let asinCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'asinCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'asinCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
242 |         guard let z = extractComplex(args[0]) else { return .nil }
243 |         let result = Complex(re: z.re, im: z.im).asin
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:249:24: warning: static property 'acosCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
247 |     }
248 |
249 |     private static let acosCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'acosCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'acosCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
250 |         guard let z = extractComplex(args[0]) else { return .nil }
251 |         let result = Complex(re: z.re, im: z.im).acos
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:256:24: warning: static property 'atanCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
254 |     }
255 |
256 |     private static let atanCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'atanCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'atanCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
257 |         guard let z = extractComplex(args[0]) else { return .nil }
258 |         let result = Complex(re: z.re, im: z.im).atan
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:265:24: warning: static property 'sinhCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
263 |     // MARK: - Hyperbolic Callbacks
264 |
265 |     private static let sinhCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'sinhCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'sinhCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
266 |         guard let z = extractComplex(args[0]) else { return .nil }
267 |         let result = Complex(re: z.re, im: z.im).sinh
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:271:24: warning: static property 'coshCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
269 |     }
270 |
271 |     private static let coshCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'coshCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'coshCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
272 |         guard let z = extractComplex(args[0]) else { return .nil }
273 |         let result = Complex(re: z.re, im: z.im).cosh
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:277:24: warning: static property 'tanhCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
275 |     }
276 |
277 |     private static let tanhCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'tanhCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'tanhCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
278 |         guard let z = extractComplex(args[0]) else { return .nil }
279 |         let c = Complex(re: z.re, im: z.im)
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/DebugModule.swift:50:24: warning: static property 'logLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 48 |
 49 |     /// Current minimum log level
 50 |     private static var logLevel: LogLevel = .debug
    |                        |- warning: static property 'logLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'logLevel' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'logLevel' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 51 |
 52 |     /// Performance timer storage
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/DebugModule.swift:53:24: warning: static property 'timers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 51 |
 52 |     /// Performance timer storage
 53 |     private static var timers: [String: Date] = [:]
    |                        |- warning: static property 'timers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'timers' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'timers' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 54 |
 55 |     /// Lock for thread-safe timer access
[162/171] Compiling LuaSwift ComplexModule.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:104:24: warning: static property 'createCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
102 |     // MARK: - Basic Operations Callbacks
103 |
104 |     private static let createCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'createCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'createCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 |         let re = args.first?.numberValue ?? 0
106 |         let im = args.count > 1 ? (args[1].numberValue ?? 0) : 0
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:110:24: warning: static property 'fromPolarCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
108 |     }
109 |
110 |     private static let fromPolarCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'fromPolarCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'fromPolarCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
111 |         guard let r = args.first?.numberValue,
112 |               let theta = args.count > 1 ? args[1].numberValue : nil else {
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:121:24: warning: static property 'addCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
119 |     // MARK: - Arithmetic Callbacks
120 |
121 |     private static let addCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'addCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'addCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 |         guard args.count >= 2,
123 |               let z1 = extractComplex(args[0]),
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:129:24: warning: static property 'subCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
127 |     }
128 |
129 |     private static let subCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'subCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'subCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
130 |         guard args.count >= 2,
131 |               let z1 = extractComplex(args[0]),
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:137:24: warning: static property 'mulCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
135 |     }
136 |
137 |     private static let mulCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'mulCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'mulCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
138 |         guard args.count >= 2,
139 |               let z1 = extractComplex(args[0]),
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:145:24: warning: static property 'divCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
143 |     }
144 |
145 |     private static let divCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'divCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'divCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
146 |         guard args.count >= 2,
147 |               let z1 = extractComplex(args[0]),
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:155:24: warning: static property 'negCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
153 |     }
154 |
155 |     private static let negCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'negCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'negCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
156 |         guard let z = extractComplex(args[0]) else { return .nil }
157 |         let result = -Complex(re: z.re, im: z.im)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:163:24: warning: static property 'absCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
161 |     // MARK: - Properties Callbacks
162 |
163 |     private static let absCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'absCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'absCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
164 |         guard let z = extractComplex(args[0]) else { return .nil }
165 |         return .number(Complex(re: z.re, im: z.im).abs)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:168:24: warning: static property 'argCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
166 |     }
167 |
168 |     private static let argCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'argCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'argCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
169 |         guard let z = extractComplex(args[0]) else { return .nil }
170 |         return .number(Complex(re: z.re, im: z.im).arg)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:173:24: warning: static property 'conjCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
171 |     }
172 |
173 |     private static let conjCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'conjCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'conjCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
174 |         guard let z = extractComplex(args[0]) else { return .nil }
175 |         let result = Complex(re: z.re, im: z.im).conj
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:179:24: warning: static property 'polarCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
177 |     }
178 |
179 |     private static let polarCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'polarCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'polarCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
180 |         guard let z = extractComplex(args[0]) else { return .nil }
181 |         let c = Complex(re: z.re, im: z.im)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:187:24: warning: static property 'powCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
185 |     // MARK: - Powers Callbacks
186 |
187 |     private static let powCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'powCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'powCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
188 |         guard args.count >= 2,
189 |               let z = extractComplex(args[0]),
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:195:24: warning: static property 'sqrtCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
193 |     }
194 |
195 |     private static let sqrtCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'sqrtCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'sqrtCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
196 |         guard let z = extractComplex(args[0]) else { return .nil }
197 |         let result = Complex(re: z.re, im: z.im).sqrt
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:203:24: warning: static property 'expCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
201 |     // MARK: - Exponential and Logarithmic Callbacks
202 |
203 |     private static let expCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'expCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'expCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
204 |         guard let z = extractComplex(args[0]) else { return .nil }
205 |         let result = Complex(re: z.re, im: z.im).exp
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:209:24: warning: static property 'logCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
207 |     }
208 |
209 |     private static let logCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'logCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'logCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
210 |         guard let z = extractComplex(args[0]) else { return .nil }
211 |         let c = Complex(re: z.re, im: z.im)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:219:24: warning: static property 'sinCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
217 |     // MARK: - Trigonometric Callbacks
218 |
219 |     private static let sinCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'sinCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'sinCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
220 |         guard let z = extractComplex(args[0]) else { return .nil }
221 |         let result = Complex(re: z.re, im: z.im).sin
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:225:24: warning: static property 'cosCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
223 |     }
224 |
225 |     private static let cosCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'cosCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'cosCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
226 |         guard let z = extractComplex(args[0]) else { return .nil }
227 |         let result = Complex(re: z.re, im: z.im).cos
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:231:24: warning: static property 'tanCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
229 |     }
230 |
231 |     private static let tanCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'tanCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'tanCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
232 |         guard let z = extractComplex(args[0]) else { return .nil }
233 |         let c = Complex(re: z.re, im: z.im)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:241:24: warning: static property 'asinCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
239 |     }
240 |
241 |     private static let asinCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'asinCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'asinCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
242 |         guard let z = extractComplex(args[0]) else { return .nil }
243 |         let result = Complex(re: z.re, im: z.im).asin
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:249:24: warning: static property 'acosCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
247 |     }
248 |
249 |     private static let acosCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'acosCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'acosCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
250 |         guard let z = extractComplex(args[0]) else { return .nil }
251 |         let result = Complex(re: z.re, im: z.im).acos
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:256:24: warning: static property 'atanCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
254 |     }
255 |
256 |     private static let atanCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'atanCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'atanCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
257 |         guard let z = extractComplex(args[0]) else { return .nil }
258 |         let result = Complex(re: z.re, im: z.im).atan
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:265:24: warning: static property 'sinhCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
263 |     // MARK: - Hyperbolic Callbacks
264 |
265 |     private static let sinhCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'sinhCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'sinhCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
266 |         guard let z = extractComplex(args[0]) else { return .nil }
267 |         let result = Complex(re: z.re, im: z.im).sinh
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:271:24: warning: static property 'coshCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
269 |     }
270 |
271 |     private static let coshCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'coshCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'coshCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
272 |         guard let z = extractComplex(args[0]) else { return .nil }
273 |         let result = Complex(re: z.re, im: z.im).cosh
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:277:24: warning: static property 'tanhCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
275 |     }
276 |
277 |     private static let tanhCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'tanhCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'tanhCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
278 |         guard let z = extractComplex(args[0]) else { return .nil }
279 |         let c = Complex(re: z.re, im: z.im)
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/DebugModule.swift:50:24: warning: static property 'logLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 48 |
 49 |     /// Current minimum log level
 50 |     private static var logLevel: LogLevel = .debug
    |                        |- warning: static property 'logLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'logLevel' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'logLevel' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 51 |
 52 |     /// Performance timer storage
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/DebugModule.swift:53:24: warning: static property 'timers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 51 |
 52 |     /// Performance timer storage
 53 |     private static var timers: [String: Date] = [:]
    |                        |- warning: static property 'timers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'timers' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'timers' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 54 |
 55 |     /// Lock for thread-safe timer access
[163/171] Compiling LuaSwift DebugModule.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:104:24: warning: static property 'createCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
102 |     // MARK: - Basic Operations Callbacks
103 |
104 |     private static let createCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'createCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'createCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 |         let re = args.first?.numberValue ?? 0
106 |         let im = args.count > 1 ? (args[1].numberValue ?? 0) : 0
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:110:24: warning: static property 'fromPolarCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
108 |     }
109 |
110 |     private static let fromPolarCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'fromPolarCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'fromPolarCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
111 |         guard let r = args.first?.numberValue,
112 |               let theta = args.count > 1 ? args[1].numberValue : nil else {
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:121:24: warning: static property 'addCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
119 |     // MARK: - Arithmetic Callbacks
120 |
121 |     private static let addCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'addCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'addCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 |         guard args.count >= 2,
123 |               let z1 = extractComplex(args[0]),
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:129:24: warning: static property 'subCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
127 |     }
128 |
129 |     private static let subCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'subCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'subCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
130 |         guard args.count >= 2,
131 |               let z1 = extractComplex(args[0]),
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:137:24: warning: static property 'mulCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
135 |     }
136 |
137 |     private static let mulCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'mulCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'mulCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
138 |         guard args.count >= 2,
139 |               let z1 = extractComplex(args[0]),
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:145:24: warning: static property 'divCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
143 |     }
144 |
145 |     private static let divCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'divCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'divCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
146 |         guard args.count >= 2,
147 |               let z1 = extractComplex(args[0]),
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:155:24: warning: static property 'negCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
153 |     }
154 |
155 |     private static let negCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'negCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'negCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
156 |         guard let z = extractComplex(args[0]) else { return .nil }
157 |         let result = -Complex(re: z.re, im: z.im)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:163:24: warning: static property 'absCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
161 |     // MARK: - Properties Callbacks
162 |
163 |     private static let absCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'absCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'absCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
164 |         guard let z = extractComplex(args[0]) else { return .nil }
165 |         return .number(Complex(re: z.re, im: z.im).abs)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:168:24: warning: static property 'argCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
166 |     }
167 |
168 |     private static let argCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'argCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'argCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
169 |         guard let z = extractComplex(args[0]) else { return .nil }
170 |         return .number(Complex(re: z.re, im: z.im).arg)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:173:24: warning: static property 'conjCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
171 |     }
172 |
173 |     private static let conjCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'conjCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'conjCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
174 |         guard let z = extractComplex(args[0]) else { return .nil }
175 |         let result = Complex(re: z.re, im: z.im).conj
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:179:24: warning: static property 'polarCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
177 |     }
178 |
179 |     private static let polarCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'polarCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'polarCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
180 |         guard let z = extractComplex(args[0]) else { return .nil }
181 |         let c = Complex(re: z.re, im: z.im)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:187:24: warning: static property 'powCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
185 |     // MARK: - Powers Callbacks
186 |
187 |     private static let powCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'powCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'powCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
188 |         guard args.count >= 2,
189 |               let z = extractComplex(args[0]),
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:195:24: warning: static property 'sqrtCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
193 |     }
194 |
195 |     private static let sqrtCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'sqrtCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'sqrtCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
196 |         guard let z = extractComplex(args[0]) else { return .nil }
197 |         let result = Complex(re: z.re, im: z.im).sqrt
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:203:24: warning: static property 'expCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
201 |     // MARK: - Exponential and Logarithmic Callbacks
202 |
203 |     private static let expCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'expCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'expCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
204 |         guard let z = extractComplex(args[0]) else { return .nil }
205 |         let result = Complex(re: z.re, im: z.im).exp
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:209:24: warning: static property 'logCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
207 |     }
208 |
209 |     private static let logCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'logCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'logCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
210 |         guard let z = extractComplex(args[0]) else { return .nil }
211 |         let c = Complex(re: z.re, im: z.im)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:219:24: warning: static property 'sinCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
217 |     // MARK: - Trigonometric Callbacks
218 |
219 |     private static let sinCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'sinCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'sinCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
220 |         guard let z = extractComplex(args[0]) else { return .nil }
221 |         let result = Complex(re: z.re, im: z.im).sin
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:225:24: warning: static property 'cosCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
223 |     }
224 |
225 |     private static let cosCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'cosCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'cosCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
226 |         guard let z = extractComplex(args[0]) else { return .nil }
227 |         let result = Complex(re: z.re, im: z.im).cos
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:231:24: warning: static property 'tanCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
229 |     }
230 |
231 |     private static let tanCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'tanCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'tanCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
232 |         guard let z = extractComplex(args[0]) else { return .nil }
233 |         let c = Complex(re: z.re, im: z.im)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:241:24: warning: static property 'asinCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
239 |     }
240 |
241 |     private static let asinCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'asinCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'asinCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
242 |         guard let z = extractComplex(args[0]) else { return .nil }
243 |         let result = Complex(re: z.re, im: z.im).asin
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:249:24: warning: static property 'acosCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
247 |     }
248 |
249 |     private static let acosCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'acosCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'acosCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
250 |         guard let z = extractComplex(args[0]) else { return .nil }
251 |         let result = Complex(re: z.re, im: z.im).acos
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:256:24: warning: static property 'atanCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
254 |     }
255 |
256 |     private static let atanCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'atanCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'atanCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
257 |         guard let z = extractComplex(args[0]) else { return .nil }
258 |         let result = Complex(re: z.re, im: z.im).atan
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:265:24: warning: static property 'sinhCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
263 |     // MARK: - Hyperbolic Callbacks
264 |
265 |     private static let sinhCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'sinhCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'sinhCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
266 |         guard let z = extractComplex(args[0]) else { return .nil }
267 |         let result = Complex(re: z.re, im: z.im).sinh
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:271:24: warning: static property 'coshCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
269 |     }
270 |
271 |     private static let coshCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'coshCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'coshCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
272 |         guard let z = extractComplex(args[0]) else { return .nil }
273 |         let result = Complex(re: z.re, im: z.im).cosh
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/ComplexModule.swift:277:24: warning: static property 'tanhCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
275 |     }
276 |
277 |     private static let tanhCallback: ([LuaValue]) -> LuaValue = { args in
    |                        |- warning: static property 'tanhCallback' is not concurrency-safe because non-'Sendable' type '([LuaValue]) -> LuaValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'tanhCallback' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
278 |         guard let z = extractComplex(args[0]) else { return .nil }
279 |         let c = Complex(re: z.re, im: z.im)
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/DebugModule.swift:50:24: warning: static property 'logLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 48 |
 49 |     /// Current minimum log level
 50 |     private static var logLevel: LogLevel = .debug
    |                        |- warning: static property 'logLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'logLevel' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'logLevel' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 51 |
 52 |     /// Performance timer storage
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/Modules/Swift/DebugModule.swift:53:24: warning: static property 'timers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 51 |
 52 |     /// Performance timer storage
 53 |     private static var timers: [String: Date] = [:]
    |                        |- warning: static property 'timers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'timers' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'timers' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 54 |
 55 |     /// Lock for thread-safe timer access
[164/171] Compiling LuaSwift CoroutineHandle.swift
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/LuaEngine.swift:94:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'LuaEngineConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
  48 | ///
  49 | /// Safe libraries remain available: `math`, `string`, `table`, `coroutine`, `utf8`
  50 | public struct LuaEngineConfiguration {
     |               `- note: consider making struct 'LuaEngineConfiguration' conform to the 'Sendable' protocol
  51 |     /// Whether to remove dangerous functions (os.execute, io.*, etc.)
  52 |     ///
     :
  92 |     /// Dangerous functions are disabled but all safe standard libraries
  93 |     /// are available.
  94 |     public static let `default` = LuaEngineConfiguration(
     |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'LuaEngineConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
     |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  95 |         sandboxed: true,
  96 |         packagePath: nil,
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/LuaEngine.swift:105:23: warning: static property 'unrestricted' is not concurrency-safe because non-'Sendable' type 'LuaEngineConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
  48 | ///
  49 | /// Safe libraries remain available: `math`, `string`, `table`, `coroutine`, `utf8`
  50 | public struct LuaEngineConfiguration {
     |               `- note: consider making struct 'LuaEngineConfiguration' conform to the 'Sendable' protocol
  51 |     /// Whether to remove dangerous functions (os.execute, io.*, etc.)
  52 |     ///
     :
 103 |     ///   Unrestricted access allows file operations, system commands,
 104 |     ///   and other potentially dangerous operations.
 105 |     public static let unrestricted = LuaEngineConfiguration(
     |                       |- warning: static property 'unrestricted' is not concurrency-safe because non-'Sendable' type 'LuaEngineConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: add '@MainActor' to make static property 'unrestricted' part of global actor 'MainActor'
     |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 106 |         sandboxed: false,
 107 |         packagePath: nil,
[165/171] Compiling LuaSwift LuaEngine.swift
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/LuaEngine.swift:94:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'LuaEngineConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
  48 | ///
  49 | /// Safe libraries remain available: `math`, `string`, `table`, `coroutine`, `utf8`
  50 | public struct LuaEngineConfiguration {
     |               `- note: consider making struct 'LuaEngineConfiguration' conform to the 'Sendable' protocol
  51 |     /// Whether to remove dangerous functions (os.execute, io.*, etc.)
  52 |     ///
     :
  92 |     /// Dangerous functions are disabled but all safe standard libraries
  93 |     /// are available.
  94 |     public static let `default` = LuaEngineConfiguration(
     |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'LuaEngineConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
     |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  95 |         sandboxed: true,
  96 |         packagePath: nil,
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/LuaEngine.swift:105:23: warning: static property 'unrestricted' is not concurrency-safe because non-'Sendable' type 'LuaEngineConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
  48 | ///
  49 | /// Safe libraries remain available: `math`, `string`, `table`, `coroutine`, `utf8`
  50 | public struct LuaEngineConfiguration {
     |               `- note: consider making struct 'LuaEngineConfiguration' conform to the 'Sendable' protocol
  51 |     /// Whether to remove dangerous functions (os.execute, io.*, etc.)
  52 |     ///
     :
 103 |     ///   Unrestricted access allows file operations, system commands,
 104 |     ///   and other potentially dangerous operations.
 105 |     public static let unrestricted = LuaEngineConfiguration(
     |                       |- warning: static property 'unrestricted' is not concurrency-safe because non-'Sendable' type 'LuaEngineConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: add '@MainActor' to make static property 'unrestricted' part of global actor 'MainActor'
     |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 106 |         sandboxed: false,
 107 |         packagePath: nil,
[166/171] Compiling LuaSwift LuaError.swift
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/LuaEngine.swift:94:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'LuaEngineConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
  48 | ///
  49 | /// Safe libraries remain available: `math`, `string`, `table`, `coroutine`, `utf8`
  50 | public struct LuaEngineConfiguration {
     |               `- note: consider making struct 'LuaEngineConfiguration' conform to the 'Sendable' protocol
  51 |     /// Whether to remove dangerous functions (os.execute, io.*, etc.)
  52 |     ///
     :
  92 |     /// Dangerous functions are disabled but all safe standard libraries
  93 |     /// are available.
  94 |     public static let `default` = LuaEngineConfiguration(
     |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'LuaEngineConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
     |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  95 |         sandboxed: true,
  96 |         packagePath: nil,
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/LuaEngine.swift:105:23: warning: static property 'unrestricted' is not concurrency-safe because non-'Sendable' type 'LuaEngineConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
  48 | ///
  49 | /// Safe libraries remain available: `math`, `string`, `table`, `coroutine`, `utf8`
  50 | public struct LuaEngineConfiguration {
     |               `- note: consider making struct 'LuaEngineConfiguration' conform to the 'Sendable' protocol
  51 |     /// Whether to remove dangerous functions (os.execute, io.*, etc.)
  52 |     ///
     :
 103 |     ///   Unrestricted access allows file operations, system commands,
 104 |     ///   and other potentially dangerous operations.
 105 |     public static let unrestricted = LuaEngineConfiguration(
     |                       |- warning: static property 'unrestricted' is not concurrency-safe because non-'Sendable' type 'LuaEngineConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: add '@MainActor' to make static property 'unrestricted' part of global actor 'MainActor'
     |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 106 |         sandboxed: false,
 107 |         packagePath: nil,
[167/171] Compiling LuaSwift LuaHelpers.swift
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/LuaEngine.swift:94:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'LuaEngineConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
  48 | ///
  49 | /// Safe libraries remain available: `math`, `string`, `table`, `coroutine`, `utf8`
  50 | public struct LuaEngineConfiguration {
     |               `- note: consider making struct 'LuaEngineConfiguration' conform to the 'Sendable' protocol
  51 |     /// Whether to remove dangerous functions (os.execute, io.*, etc.)
  52 |     ///
     :
  92 |     /// Dangerous functions are disabled but all safe standard libraries
  93 |     /// are available.
  94 |     public static let `default` = LuaEngineConfiguration(
     |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'LuaEngineConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
     |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  95 |         sandboxed: true,
  96 |         packagePath: nil,
/Users/admin/builder/spi-builder-workspace/Sources/LuaSwift/LuaEngine.swift:105:23: warning: static property 'unrestricted' is not concurrency-safe because non-'Sendable' type 'LuaEngineConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
  48 | ///
  49 | /// Safe libraries remain available: `math`, `string`, `table`, `coroutine`, `utf8`
  50 | public struct LuaEngineConfiguration {
     |               `- note: consider making struct 'LuaEngineConfiguration' conform to the 'Sendable' protocol
  51 |     /// Whether to remove dangerous functions (os.execute, io.*, etc.)
  52 |     ///
     :
 103 |     ///   Unrestricted access allows file operations, system commands,
 104 |     ///   and other potentially dangerous operations.
 105 |     public static let unrestricted = LuaEngineConfiguration(
     |                       |- warning: static property 'unrestricted' is not concurrency-safe because non-'Sendable' type 'LuaEngineConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: add '@MainActor' to make static property 'unrestricted' part of global actor 'MainActor'
     |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 106 |         sandboxed: false,
 107 |         packagePath: nil,
[168/171] Compiling LuaSwift LuaValue.swift
[169/171] Compiling LuaSwift LuaValueServer.swift
[170/171] Compiling LuaSwift ModuleRegistry.swift
[171/171] Compiling LuaSwift ArrayModule.swift
Build complete! (32.39s)
Fetching https://github.com/ChrisGVE/PlotSwift.git
Fetching https://github.com/LebJe/TOMLKit.git
Fetching https://github.com/ChrisGVE/NumericSwift.git
Fetching https://github.com/ChrisGVE/ArraySwift.git
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/jpsim/Yams.git from cache
[1/145] Fetching arrayswift
[44/23559] Fetching arrayswift, tomlkit
[45/24023] Fetching arrayswift, tomlkit, numericswift
[80/27665] Fetching arrayswift, tomlkit, numericswift, plotswift
[153/29887] Fetching arrayswift, tomlkit, numericswift, plotswift, swift-docc-plugin
Fetched https://github.com/LebJe/TOMLKit.git from cache (1.43s)
[2904/6473] Fetching arrayswift, numericswift, plotswift, swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (2.74s)
Fetched https://github.com/ChrisGVE/NumericSwift.git from cache (2.74s)
Fetched https://github.com/ChrisGVE/ArraySwift.git from cache (2.74s)
Fetched https://github.com/ChrisGVE/PlotSwift.git from cache (2.74s)
Fetched https://github.com/jpsim/Yams.git from cache (2.76s)
Computing version for https://github.com/ChrisGVE/ArraySwift.git
Computed https://github.com/ChrisGVE/ArraySwift.git at 0.1.0 (3.27s)
Computing version for https://github.com/ChrisGVE/PlotSwift.git
Computed https://github.com/ChrisGVE/PlotSwift.git at 0.1.0 (0.45s)
Computing version for https://github.com/LebJe/TOMLKit.git
Computed https://github.com/LebJe/TOMLKit.git at 0.6.0 (0.60s)
Computing version for https://github.com/ChrisGVE/NumericSwift.git
Computed https://github.com/ChrisGVE/NumericSwift.git at 0.1.4 (0.60s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.6 (0.61s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit from cache
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.93s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.63s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.59s)
Creating working copy for https://github.com/ChrisGVE/ArraySwift.git
Working copy of https://github.com/ChrisGVE/ArraySwift.git resolved at 0.1.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.6
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/LebJe/TOMLKit.git
Working copy of https://github.com/LebJe/TOMLKit.git resolved at 0.6.0
Creating working copy for https://github.com/ChrisGVE/PlotSwift.git
Working copy of https://github.com/ChrisGVE/PlotSwift.git resolved at 0.1.0
Creating working copy for https://github.com/ChrisGVE/NumericSwift.git
Working copy of https://github.com/ChrisGVE/NumericSwift.git resolved at 0.1.4
Build complete.
{
  "dependencies" : [
    {
      "identity" : "yams",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.0.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jpsim/Yams.git"
    },
    {
      "identity" : "tomlkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.6.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/LebJe/TOMLKit.git"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    },
    {
      "identity" : "plotswift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/ChrisGVE/PlotSwift.git"
    },
    {
      "identity" : "arrayswift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/ChrisGVE/ArraySwift.git"
    },
    {
      "identity" : "numericswift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.4",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/ChrisGVE/NumericSwift.git"
    }
  ],
  "manifest_display_name" : "LuaSwift",
  "name" : "LuaSwift",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "LuaSwift",
      "targets" : [
        "LuaSwift"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "LuaSwiftTests",
      "module_type" : "SwiftTarget",
      "name" : "LuaSwiftTests",
      "path" : "Tests/LuaSwiftTests",
      "sources" : [
        "ArrayModuleTests.swift",
        "BenchmarkTests.swift",
        "ClusterModuleTests.swift",
        "ComplexArrayTests.swift",
        "ComplexHelperTests.swift",
        "ComplexModuleTests.swift",
        "DebugModuleTests.swift",
        "DistributionsModuleTests.swift",
        "GeometryModuleTests.swift",
        "HTTPModuleTests.swift",
        "IOModuleTests.swift",
        "IntegrateModuleTests.swift",
        "InterpolateModuleTests.swift",
        "JSONModuleTests.swift",
        "LinAlgExtrasTests.swift",
        "LinAlgModuleTests.swift",
        "LuaCallbackTests.swift",
        "LuaCoroutineTests.swift",
        "LuaEngineTests.swift",
        "LuaModuleTests.swift",
        "LuaTestRunnerTests.swift",
        "LuaValueTests.swift",
        "LuaVersionTests.swift",
        "MathExprModuleTests.swift",
        "MathSciModuleTests.swift",
        "MathXModuleTests.swift",
        "MemoryLimitTests.swift",
        "NumberTheoryModuleTests.swift",
        "OptimizeModuleTests.swift",
        "OptionalDependencyTests.swift",
        "PlotModuleTests.swift",
        "RegexModuleTests.swift",
        "RegressModuleTests.swift",
        "SVGModuleTests.swift",
        "SandboxTests.swift",
        "SerializeModuleTests.swift",
        "SeriesModuleTests.swift",
        "SpatialModuleTests.swift",
        "SpecialModuleTests.swift",
        "StringXModuleTests.swift",
        "TOMLModuleTests.swift",
        "TableXModuleTests.swift",
        "TypesModuleTests.swift",
        "UTF8XModuleTests.swift",
        "YAMLModuleTests.swift"
      ],
      "target_dependencies" : [
        "LuaSwift"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LuaSwift",
      "module_type" : "SwiftTarget",
      "name" : "LuaSwift",
      "path" : "Sources/LuaSwift",
      "product_dependencies" : [
        "Yams",
        "TOMLKit",
        "PlotSwift",
        "ArraySwift",
        "NumericSwift"
      ],
      "product_memberships" : [
        "LuaSwift"
      ],
      "sources" : [
        "CoroutineHandle.swift",
        "LuaEngine.swift",
        "LuaError.swift",
        "LuaHelpers.swift",
        "LuaValue.swift",
        "LuaValueServer.swift",
        "Modules/ModuleRegistry.swift",
        "Modules/Swift/ArrayModule.swift",
        "Modules/Swift/ClusterModule.swift",
        "Modules/Swift/ComplexHelper.swift",
        "Modules/Swift/ComplexModule.swift",
        "Modules/Swift/DebugModule.swift",
        "Modules/Swift/DistributionsModule.swift",
        "Modules/Swift/GeometryModule.swift",
        "Modules/Swift/HTTPModule.swift",
        "Modules/Swift/IOModule.swift",
        "Modules/Swift/IntegrateModule.swift",
        "Modules/Swift/InterpolateModule.swift",
        "Modules/Swift/JSONModule.swift",
        "Modules/Swift/LinAlgModule.swift",
        "Modules/Swift/MathExprModule.swift",
        "Modules/Swift/MathSciModule.swift",
        "Modules/Swift/MathXModule.swift",
        "Modules/Swift/NumberTheoryModule.swift",
        "Modules/Swift/OptimizeModule.swift",
        "Modules/Swift/PlotModule.swift",
        "Modules/Swift/RegexModule.swift",
        "Modules/Swift/RegressModule.swift",
        "Modules/Swift/SVGModule.swift",
        "Modules/Swift/SeriesModule.swift",
        "Modules/Swift/SpatialModule.swift",
        "Modules/Swift/SpecialModule.swift",
        "Modules/Swift/StringXModule.swift",
        "Modules/Swift/TOMLModule.swift",
        "Modules/Swift/TableXModule.swift",
        "Modules/Swift/TypesModule.swift",
        "Modules/Swift/UTF8XModule.swift",
        "Modules/Swift/YAMLModule.swift"
      ],
      "target_dependencies" : [
        "CLua"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CLua",
      "module_type" : "ClangTarget",
      "name" : "CLua",
      "path" : "Sources/CLua",
      "product_memberships" : [
        "LuaSwift"
      ],
      "sources" : [
        "lapi.c",
        "lauxlib.c",
        "lbaselib.c",
        "lcode.c",
        "lcorolib.c",
        "lctype.c",
        "ldblib.c",
        "ldebug.c",
        "ldo.c",
        "ldump.c",
        "lfunc.c",
        "lgc.c",
        "linit.c",
        "liolib.c",
        "llex.c",
        "lmathlib.c",
        "lmem.c",
        "loadlib.c",
        "lobject.c",
        "lopcodes.c",
        "loslib.c",
        "lparser.c",
        "lstate.c",
        "lstring.c",
        "lstrlib.c",
        "ltable.c",
        "ltablib.c",
        "ltm.c",
        "lundump.c",
        "lutf8lib.c",
        "lvm.c",
        "lzio.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.