The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of Sisyphos, reference 0.1.0 (63c644), with Swift 6.1 for macOS (SPM) on 20 Nov 2025 03:08:39 UTC.

Swift 6 data race errors: 7

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

1 | class XCUICoordinate {
2 | @MainActor open func withOffset(_ offsetVector: CGVector) -> XCUICoordinate}
  |                      `- note: calls to instance method 'withOffset' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/PageElement.swift:173:87: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
152 |     ///   - line: Line number that will be displayed if it fails.
153 |     // TODO: Add PageBuilder argument to make the function more generic
154 |     public func scrollUntilVisibleOnScreen(
    |                 `- note: add '@MainActor' to make instance method 'scrollUntilVisibleOnScreen(direction:maxTryCount:file:line:)' part of global actor 'MainActor'
155 |         direction: ScrollDirection,
156 |         maxTryCount: Int = 5,
    :
171 |                 startCoordinate.press(forDuration: 0.05, thenDragTo: endCoordinate)
172 |             case .up:
173 |                 endCoordinate = startCoordinate.withOffset(CGVector(dx: 0, dy: window.frame.height/3))
    |                                                                                       `- warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
174 |                 startCoordinate.press(forDuration: 0.05, thenDragTo: endCoordinate)
175 |             case .left:
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIElementAttributes.h:38:29: note: property declared here
 36 |
 37 | /*! The frame of the element in the screen coordinate space. */
 38 | @property (readonly) CGRect frame;
    |                             `- note: property declared here
 39 |
 40 | /*! The raw value attribute of the element. Depending on the element, the actual type can vary. */
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/PageElement.swift:174:33: warning: call to main actor-isolated instance method 'press(forDuration:thenDragTo:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
152 |     ///   - line: Line number that will be displayed if it fails.
153 |     // TODO: Add PageBuilder argument to make the function more generic
154 |     public func scrollUntilVisibleOnScreen(
    |                 `- note: add '@MainActor' to make instance method 'scrollUntilVisibleOnScreen(direction:maxTryCount:file:line:)' part of global actor 'MainActor'
155 |         direction: ScrollDirection,
156 |         maxTryCount: Int = 5,
    :
172 |             case .up:
173 |                 endCoordinate = startCoordinate.withOffset(CGVector(dx: 0, dy: window.frame.height/3))
174 |                 startCoordinate.press(forDuration: 0.05, thenDragTo: endCoordinate)
    |                                 `- warning: call to main actor-isolated instance method 'press(forDuration:thenDragTo:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
175 |             case .left:
176 |                 endCoordinate = startCoordinate.withOffset(CGVector(dx: window.frame.width/3, dy: 0))
XCUIAutomation.XCUICoordinate.press:2:22: note: calls to instance method 'press(forDuration:thenDragTo:)' from outside of its actor context are implicitly asynchronous
1 | class XCUICoordinate {
2 | @MainActor open func press(forDuration duration: TimeInterval, thenDragTo otherCoordinate: XCUICoordinate)}
  |                      `- note: calls to instance method 'press(forDuration:thenDragTo:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/PageElement.swift:176:49: warning: call to main actor-isolated instance method 'withOffset' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
152 |     ///   - line: Line number that will be displayed if it fails.
153 |     // TODO: Add PageBuilder argument to make the function more generic
154 |     public func scrollUntilVisibleOnScreen(
    |                 `- note: add '@MainActor' to make instance method 'scrollUntilVisibleOnScreen(direction:maxTryCount:file:line:)' part of global actor 'MainActor'
155 |         direction: ScrollDirection,
156 |         maxTryCount: Int = 5,
    :
174 |                 startCoordinate.press(forDuration: 0.05, thenDragTo: endCoordinate)
175 |             case .left:
176 |                 endCoordinate = startCoordinate.withOffset(CGVector(dx: window.frame.width/3, dy: 0))
    |                                                 `- warning: call to main actor-isolated instance method 'withOffset' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
177 |                 startCoordinate.press(forDuration: 0.05, thenDragTo: endCoordinate)
178 |             case .right:
XCUIAutomation.XCUICoordinate.withOffset:2:22: note: calls to instance method 'withOffset' from outside of its actor context are implicitly asynchronous
1 | class XCUICoordinate {
2 | @MainActor open func withOffset(_ offsetVector: CGVector) -> XCUICoordinate}
  |                      `- note: calls to instance method 'withOffset' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/PageElement.swift:176:80: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
152 |     ///   - line: Line number that will be displayed if it fails.
153 |     // TODO: Add PageBuilder argument to make the function more generic
154 |     public func scrollUntilVisibleOnScreen(
    |                 `- note: add '@MainActor' to make instance method 'scrollUntilVisibleOnScreen(direction:maxTryCount:file:line:)' part of global actor 'MainActor'
155 |         direction: ScrollDirection,
156 |         maxTryCount: Int = 5,
    :
174 |                 startCoordinate.press(forDuration: 0.05, thenDragTo: endCoordinate)
175 |             case .left:
176 |                 endCoordinate = startCoordinate.withOffset(CGVector(dx: window.frame.width/3, dy: 0))
    |                                                                                `- warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
177 |                 startCoordinate.press(forDuration: 0.05, thenDragTo: endCoordinate)
178 |             case .right:
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIElementAttributes.h:38:29: note: property declared here
 36 |
 37 | /*! The frame of the element in the screen coordinate space. */
 38 | @property (readonly) CGRect frame;
    |                             `- note: property declared here
 39 |
 40 | /*! The raw value attribute of the element. Depending on the element, the actual type can vary. */
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/PageElement.swift:177:33: warning: call to main actor-isolated instance method 'press(forDuration:thenDragTo:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
152 |     ///   - line: Line number that will be displayed if it fails.
153 |     // TODO: Add PageBuilder argument to make the function more generic
154 |     public func scrollUntilVisibleOnScreen(
    |                 `- note: add '@MainActor' to make instance method 'scrollUntilVisibleOnScreen(direction:maxTryCount:file:line:)' part of global actor 'MainActor'
155 |         direction: ScrollDirection,
156 |         maxTryCount: Int = 5,
    :
175 |             case .left:
176 |                 endCoordinate = startCoordinate.withOffset(CGVector(dx: window.frame.width/3, dy: 0))
177 |                 startCoordinate.press(forDuration: 0.05, thenDragTo: endCoordinate)
    |                                 `- warning: call to main actor-isolated instance method 'press(forDuration:thenDragTo:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
178 |             case .right:
179 |                 endCoordinate = startCoordinate.withOffset(CGVector(dx: -window.frame.width/3, dy: 0))
XCUIAutomation.XCUICoordinate.press:2:22: note: calls to instance method 'press(forDuration:thenDragTo:)' from outside of its actor context are implicitly asynchronous
1 | class XCUICoordinate {
2 | @MainActor open func press(forDuration duration: TimeInterval, thenDragTo otherCoordinate: XCUICoordinate)}
  |                      `- note: calls to instance method 'press(forDuration:thenDragTo:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/PageElement.swift:179:49: warning: call to main actor-isolated instance method 'withOffset' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
152 |     ///   - line: Line number that will be displayed if it fails.
153 |     // TODO: Add PageBuilder argument to make the function more generic
154 |     public func scrollUntilVisibleOnScreen(
    |                 `- note: add '@MainActor' to make instance method 'scrollUntilVisibleOnScreen(direction:maxTryCount:file:line:)' part of global actor 'MainActor'
155 |         direction: ScrollDirection,
156 |         maxTryCount: Int = 5,
    :
177 |                 startCoordinate.press(forDuration: 0.05, thenDragTo: endCoordinate)
178 |             case .right:
179 |                 endCoordinate = startCoordinate.withOffset(CGVector(dx: -window.frame.width/3, dy: 0))
    |                                                 `- warning: call to main actor-isolated instance method 'withOffset' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
180 |                 startCoordinate.press(forDuration: 0.05, thenDragTo: endCoordinate)
181 |             }
XCUIAutomation.XCUICoordinate.withOffset:2:22: note: calls to instance method 'withOffset' from outside of its actor context are implicitly asynchronous
1 | class XCUICoordinate {
2 | @MainActor open func withOffset(_ offsetVector: CGVector) -> XCUICoordinate}
  |                      `- note: calls to instance method 'withOffset' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/PageElement.swift:179:81: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
152 |     ///   - line: Line number that will be displayed if it fails.
153 |     // TODO: Add PageBuilder argument to make the function more generic
154 |     public func scrollUntilVisibleOnScreen(
    |                 `- note: add '@MainActor' to make instance method 'scrollUntilVisibleOnScreen(direction:maxTryCount:file:line:)' part of global actor 'MainActor'
155 |         direction: ScrollDirection,
156 |         maxTryCount: Int = 5,
    :
177 |                 startCoordinate.press(forDuration: 0.05, thenDragTo: endCoordinate)
178 |             case .right:
179 |                 endCoordinate = startCoordinate.withOffset(CGVector(dx: -window.frame.width/3, dy: 0))
    |                                                                                 `- warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
180 |                 startCoordinate.press(forDuration: 0.05, thenDragTo: endCoordinate)
181 |             }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIElementAttributes.h:38:29: note: property declared here
 36 |
 37 | /*! The frame of the element in the screen coordinate space. */
 38 | @property (readonly) CGRect frame;
    |                             `- note: property declared here
 39 |
 40 | /*! The raw value attribute of the element. Depending on the element, the actual type can vary. */
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/PageElement.swift:180:33: warning: call to main actor-isolated instance method 'press(forDuration:thenDragTo:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
152 |     ///   - line: Line number that will be displayed if it fails.
153 |     // TODO: Add PageBuilder argument to make the function more generic
154 |     public func scrollUntilVisibleOnScreen(
    |                 `- note: add '@MainActor' to make instance method 'scrollUntilVisibleOnScreen(direction:maxTryCount:file:line:)' part of global actor 'MainActor'
155 |         direction: ScrollDirection,
156 |         maxTryCount: Int = 5,
    :
178 |             case .right:
179 |                 endCoordinate = startCoordinate.withOffset(CGVector(dx: -window.frame.width/3, dy: 0))
180 |                 startCoordinate.press(forDuration: 0.05, thenDragTo: endCoordinate)
    |                                 `- warning: call to main actor-isolated instance method 'press(forDuration:thenDragTo:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
181 |             }
182 |             element.waitUntilStablePosition()
XCUIAutomation.XCUICoordinate.press:2:22: note: calls to instance method 'press(forDuration:thenDragTo:)' from outside of its actor context are implicitly asynchronous
1 | class XCUICoordinate {
2 | @MainActor open func press(forDuration duration: TimeInterval, thenDragTo otherCoordinate: XCUICoordinate)}
  |                      `- note: calls to instance method 'press(forDuration:thenDragTo:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/PageElement.swift:182:21: warning: call to main actor-isolated instance method 'waitUntilStablePosition(timeout:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
152 |     ///   - line: Line number that will be displayed if it fails.
153 |     // TODO: Add PageBuilder argument to make the function more generic
154 |     public func scrollUntilVisibleOnScreen(
    |                 `- note: add '@MainActor' to make instance method 'scrollUntilVisibleOnScreen(direction:maxTryCount:file:line:)' part of global actor 'MainActor'
155 |         direction: ScrollDirection,
156 |         maxTryCount: Int = 5,
    :
180 |                 startCoordinate.press(forDuration: 0.05, thenDragTo: endCoordinate)
181 |             }
182 |             element.waitUntilStablePosition()
    |                     `- warning: call to main actor-isolated instance method 'waitUntilStablePosition(timeout:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
183 |             tryCounter -= 1
184 |             startCoordinate = endCoordinate
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Extensions/XCUIElement+Extensions.swift:11:10: note: calls to instance method 'waitUntilStablePosition(timeout:)' from outside of its actor context are implicitly asynchronous
 9 |     ///
10 |     /// - Parameter timeout: The maximal time to wait until the element is not moving anymore in seconds.
11 |     func waitUntilStablePosition(timeout: CFTimeInterval = 2) {
   |          `- note: calls to instance method 'waitUntilStablePosition(timeout:)' from outside of its actor context are implicitly asynchronous
12 |         XCTContext.runActivity(named: "Wait for element to have a stable position") { activity in
13 |             let timeout = Date(timeIntervalSinceNow: timeout)
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/PageElement.swift:185:46: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
152 |     ///   - line: Line number that will be displayed if it fails.
153 |     // TODO: Add PageBuilder argument to make the function more generic
154 |     public func scrollUntilVisibleOnScreen(
    |                 `- note: add '@MainActor' to make instance method 'scrollUntilVisibleOnScreen(direction:maxTryCount:file:line:)' part of global actor 'MainActor'
155 |         direction: ScrollDirection,
156 |         maxTryCount: Int = 5,
    :
183 |             tryCounter -= 1
184 |             startCoordinate = endCoordinate
185 |             guard !CGRectContainsRect(window.frame, element.frame) else { return }
    |                                              `- warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
186 |         } while tryCounter > 0
187 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIElementAttributes.h:38:29: note: property declared here
 36 |
 37 | /*! The frame of the element in the screen coordinate space. */
 38 | @property (readonly) CGRect frame;
    |                             `- note: property declared here
 39 |
 40 | /*! The raw value attribute of the element. Depending on the element, the actual type can vary. */
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/PageElement.swift:185:61: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
152 |     ///   - line: Line number that will be displayed if it fails.
153 |     // TODO: Add PageBuilder argument to make the function more generic
154 |     public func scrollUntilVisibleOnScreen(
    |                 `- note: add '@MainActor' to make instance method 'scrollUntilVisibleOnScreen(direction:maxTryCount:file:line:)' part of global actor 'MainActor'
155 |         direction: ScrollDirection,
156 |         maxTryCount: Int = 5,
    :
183 |             tryCounter -= 1
184 |             startCoordinate = endCoordinate
185 |             guard !CGRectContainsRect(window.frame, element.frame) else { return }
    |                                                             `- warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
186 |         } while tryCounter > 0
187 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIElementAttributes.h:38:29: note: property declared here
 36 |
 37 | /*! The frame of the element in the screen coordinate space. */
 38 | @property (readonly) CGRect frame;
    |                             `- note: property declared here
 39 |
 40 | /*! The raw value attribute of the element. Depending on the element, the actual type can vary. */
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/PageElementIdentifier.swift:15:16: warning: static property 'dynamic' is not concurrency-safe because non-'Sendable' type 'PageElementIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
 3 | /// Elements are identified by their position in the source code. This has the additional benefit that the identifer
 4 | /// can be used for helpful debug information.
 5 | public struct PageElementIdentifier: Hashable {
   |               `- note: consider making struct 'PageElementIdentifier' conform to the 'Sendable' protocol
 6 |     /// The source file in which the element is defined.
 7 |     let file: String
   :
13 |     /// A special identifier which is used when page elements are created dynamically, e.g. in a automatically created
14 |     /// page description of a running app.
15 |     static let dynamic: Self = .init(file: "", line: 0, column: 0)
   |                |- warning: static property 'dynamic' is not concurrency-safe because non-'Sendable' type 'PageElementIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'dynamic' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/PageElement.swift:31:77: warning: sending value of non-Sendable type 'NSPredicate' risks causing data races; this is an error in the Swift 6 language mode
 29 |
 30 |         let application = cacheEntry.page.xcuiapplication
 31 |         let query = application.descendants(matching: snapshot.elementType).matching(NSPredicate(snapshot: snapshot))
    |                                                                             |- warning: sending value of non-Sendable type 'NSPredicate' risks causing data races; this is an error in the Swift 6 language mode
    |                                                                             `- note: sending task-isolated value of non-Sendable type 'NSPredicate' to main actor-isolated instance method 'matching' risks causing races in between task-isolated and main actor-isolated uses
 32 |
 33 |         return query.firstMatch
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/PageElement.swift:51:41: warning: sending value of non-Sendable type 'NSPredicate' risks causing data races; this is an error in the Swift 6 language mode
 49 |         }
 50 |         let application = cacheEntry.page.xcuiapplication
 51 |         let query = application.windows.containing(NSPredicate(snapshot: snapshot))
    |                                         |- warning: sending value of non-Sendable type 'NSPredicate' risks causing data races; this is an error in the Swift 6 language mode
    |                                         `- note: sending task-isolated value of non-Sendable type 'NSPredicate' to main actor-isolated instance method 'containing' risks causing races in between task-isolated and main actor-isolated uses
 52 |
 53 |         return query.firstMatch
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/PageElement.swift:98:33: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
 96 |         // TODO: better activity description
 97 |         XCTContext.runActivity(named: "Typing text \(text.debugDescription)") { activity in
 98 |             guard let element = getXCUIElement(forAction: "type(text: \(text.debugDescription)") else { return }
    |                                 |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                                 `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
 99 |             element.waitUntilStablePosition()
100 |             element.coordinate(withNormalizedOffset: CGVector(dx: 0.5, dy: 0.5)).tap()
[19/36] Compiling Sisyphos PageElementIdentifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/PageElement.swift:31:77: warning: call to main actor-isolated instance method 'matching' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 15 | extension PageElement {
 16 |
 17 |     func getXCUIElement(forAction action: String) -> XCUIElement? {
    |          `- note: add '@MainActor' to make instance method 'getXCUIElement(forAction:)' part of global actor 'MainActor'
 18 |         handleInterruptions()
 19 |
    :
 29 |
 30 |         let application = cacheEntry.page.xcuiapplication
 31 |         let query = application.descendants(matching: snapshot.elementType).matching(NSPredicate(snapshot: snapshot))
    |                                                                             `- warning: call to main actor-isolated instance method 'matching' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 32 |
 33 |         return query.firstMatch
XCUIAutomation.XCUIElementQuery.matching:2:22: note: calls to instance method 'matching' from outside of its actor context are implicitly asynchronous
1 | class XCUIElementQuery {
2 | @MainActor open func matching(_ predicate: NSPredicate) -> XCUIElementQuery}
  |                      |- note: calls to instance method 'matching' from outside of its actor context are implicitly asynchronous
  |                      `- note: main actor isolation inferred from conformance to protocol 'XCUIElementTypeQueryProvider'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/PageElement.swift:31:33: warning: call to main actor-isolated instance method 'descendants(matching:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 15 | extension PageElement {
 16 |
 17 |     func getXCUIElement(forAction action: String) -> XCUIElement? {
    |          `- note: add '@MainActor' to make instance method 'getXCUIElement(forAction:)' part of global actor 'MainActor'
 18 |         handleInterruptions()
 19 |
    :
 29 |
 30 |         let application = cacheEntry.page.xcuiapplication
 31 |         let query = application.descendants(matching: snapshot.elementType).matching(NSPredicate(snapshot: snapshot))
    |                                 `- warning: call to main actor-isolated instance method 'descendants(matching:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 32 |
 33 |         return query.firstMatch
XCUIAutomation.XCUIElement.descendants:2:22: note: calls to instance method 'descendants(matching:)' from outside of its actor context are implicitly asynchronous
1 | class XCUIElement {
2 | @MainActor open func descendants(matching type: XCUIElement.ElementType) -> XCUIElementQuery}
  |                      `- note: calls to instance method 'descendants(matching:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/PageElement.swift:31:64: warning: main actor-isolated property 'elementType' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 15 | extension PageElement {
 16 |
 17 |     func getXCUIElement(forAction action: String) -> XCUIElement? {
    |          `- note: add '@MainActor' to make instance method 'getXCUIElement(forAction:)' part of global actor 'MainActor'
 18 |         handleInterruptions()
 19 |
    :
 29 |
 30 |         let application = cacheEntry.page.xcuiapplication
 31 |         let query = application.descendants(matching: snapshot.elementType).matching(NSPredicate(snapshot: snapshot))
    |                                                                `- warning: main actor-isolated property 'elementType' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 32 |
 33 |         return query.firstMatch
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIElementAttributes.h:50:38: note: property declared here
 48 |
 49 | /*! The type of the element. /seealso XCUIElementType. */
 50 | @property (readonly) XCUIElementType elementType;
    |                                      `- note: property declared here
 51 |
 52 | /*! Whether or not the element is enabled for user interaction. */
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/PageElement.swift:33:22: warning: main actor-isolated property 'firstMatch' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 15 | extension PageElement {
 16 |
 17 |     func getXCUIElement(forAction action: String) -> XCUIElement? {
    |          `- note: add '@MainActor' to make instance method 'getXCUIElement(forAction:)' part of global actor 'MainActor'
 18 |         handleInterruptions()
 19 |
    :
 31 |         let query = application.descendants(matching: snapshot.elementType).matching(NSPredicate(snapshot: snapshot))
 32 |
 33 |         return query.firstMatch
    |                      `- warning: main actor-isolated property 'firstMatch' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 34 |     }
 35 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIElementTypeQueryProvider.h:105:35: note: property declared here
103 |  * matches will not be detected.
104 |  */
105 | @property (readonly) XCUIElement *firstMatch;
    |                                   `- note: property declared here
106 |
107 | @end
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/PageElement.swift:51:41: warning: call to main actor-isolated instance method 'containing' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 36 |     /// It is used for getting the window that contains the element
 37 |     /// - Returns: Corresponding window
 38 |     func getXCUIWindow(forAction action: String) -> XCUIElement? {
    |          `- note: add '@MainActor' to make instance method 'getXCUIWindow(forAction:)' part of global actor 'MainActor'
 39 |         handleInterruptions()
 40 |
    :
 49 |         }
 50 |         let application = cacheEntry.page.xcuiapplication
 51 |         let query = application.windows.containing(NSPredicate(snapshot: snapshot))
    |                                         `- warning: call to main actor-isolated instance method 'containing' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 52 |
 53 |         return query.firstMatch
XCUIAutomation.XCUIElementQuery.containing:2:22: note: calls to instance method 'containing' from outside of its actor context are implicitly asynchronous
1 | class XCUIElementQuery {
2 | @MainActor open func containing(_ predicate: NSPredicate) -> XCUIElementQuery}
  |                      |- note: calls to instance method 'containing' from outside of its actor context are implicitly asynchronous
  |                      `- note: main actor isolation inferred from conformance to protocol 'XCUIElementTypeQueryProvider'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/PageElement.swift:51:33: warning: main actor-isolated property 'windows' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 36 |     /// It is used for getting the window that contains the element
 37 |     /// - Returns: Corresponding window
 38 |     func getXCUIWindow(forAction action: String) -> XCUIElement? {
    |          `- note: add '@MainActor' to make instance method 'getXCUIWindow(forAction:)' part of global actor 'MainActor'
 39 |         handleInterruptions()
 40 |
    :
 49 |         }
 50 |         let application = cacheEntry.page.xcuiapplication
 51 |         let query = application.windows.containing(NSPredicate(snapshot: snapshot))
    |                                 `- warning: main actor-isolated property 'windows' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 52 |
 53 |         return query.firstMatch
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIElementTypeQueryProvider.h:17:46: note: property declared here
 15 | @property (readonly, copy) XCUIElementQuery *touchBars;
 16 | @property (readonly, copy) XCUIElementQuery *groups;
 17 | @property (readonly, copy) XCUIElementQuery *windows;
    |                                              `- note: property declared here
 18 | @property (readonly, copy) XCUIElementQuery *sheets;
 19 | @property (readonly, copy) XCUIElementQuery *drawers;
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/PageElement.swift:53:22: warning: main actor-isolated property 'firstMatch' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 36 |     /// It is used for getting the window that contains the element
 37 |     /// - Returns: Corresponding window
 38 |     func getXCUIWindow(forAction action: String) -> XCUIElement? {
    |          `- note: add '@MainActor' to make instance method 'getXCUIWindow(forAction:)' part of global actor 'MainActor'
 39 |         handleInterruptions()
 40 |
    :
 51 |         let query = application.windows.containing(NSPredicate(snapshot: snapshot))
 52 |
 53 |         return query.firstMatch
    |                      `- warning: main actor-isolated property 'firstMatch' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 54 |     }
 55 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIElementTypeQueryProvider.h:105:35: note: property declared here
103 |  * matches will not be detected.
104 |  */
105 | @property (readonly) XCUIElement *firstMatch;
    |                                   `- note: property declared here
106 |
107 | @end
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/PageElement.swift:67:17: warning: call to main actor-isolated instance method 'waitUntilStablePosition(timeout:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 63 |
 64 |     /// Sends a tap event to a hittable point the system computes for the element.
 65 |     public func tap() {
    |                 `- note: add '@MainActor' to make instance method 'tap()' part of global actor 'MainActor'
 66 |         guard let element = getXCUIElement(forAction: "tap()") else { return }
 67 |         element.waitUntilStablePosition()
    |                 `- warning: call to main actor-isolated instance method 'waitUntilStablePosition(timeout:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 68 |         element.tap()
 69 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Extensions/XCUIElement+Extensions.swift:11:10: note: calls to instance method 'waitUntilStablePosition(timeout:)' from outside of its actor context are implicitly asynchronous
 9 |     ///
10 |     /// - Parameter timeout: The maximal time to wait until the element is not moving anymore in seconds.
11 |     func waitUntilStablePosition(timeout: CFTimeInterval = 2) {
   |          `- note: calls to instance method 'waitUntilStablePosition(timeout:)' from outside of its actor context are implicitly asynchronous
12 |         XCTContext.runActivity(named: "Wait for element to have a stable position") { activity in
13 |             let timeout = Date(timeIntervalSinceNow: timeout)
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/PageElement.swift:68:17: warning: call to main actor-isolated instance method 'tap()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 63 |
 64 |     /// Sends a tap event to a hittable point the system computes for the element.
 65 |     public func tap() {
    |                 `- note: add '@MainActor' to make instance method 'tap()' part of global actor 'MainActor'
 66 |         guard let element = getXCUIElement(forAction: "tap()") else { return }
 67 |         element.waitUntilStablePosition()
 68 |         element.tap()
    |                 `- warning: call to main actor-isolated instance method 'tap()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 69 |     }
 70 |
XCUIAutomation.XCUIElement.tap:2:22: note: calls to instance method 'tap()' from outside of its actor context are implicitly asynchronous
1 | class XCUIElement {
2 | @MainActor open func tap()}
  |                      `- note: calls to instance method 'tap()' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/PageElement.swift:80:17: warning: call to main actor-isolated instance method 'waitUntilStablePosition(timeout:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 76 |     /// coordinates.
 77 |     /// - Parameter coordinates: Normalized offset coordinates to specify tap position.
 78 |     public func tap(usingCoordinates coordinates: CGVector) {
    |                 `- note: add '@MainActor' to make instance method 'tap(usingCoordinates:)' part of global actor 'MainActor'
 79 |         guard let element = getXCUIElement(forAction: "tap()") else { return }
 80 |         element.waitUntilStablePosition()
    |                 `- warning: call to main actor-isolated instance method 'waitUntilStablePosition(timeout:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 81 |         element.coordinate(withNormalizedOffset: coordinates).tap()
 82 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Extensions/XCUIElement+Extensions.swift:11:10: note: calls to instance method 'waitUntilStablePosition(timeout:)' from outside of its actor context are implicitly asynchronous
 9 |     ///
10 |     /// - Parameter timeout: The maximal time to wait until the element is not moving anymore in seconds.
11 |     func waitUntilStablePosition(timeout: CFTimeInterval = 2) {
   |          `- note: calls to instance method 'waitUntilStablePosition(timeout:)' from outside of its actor context are implicitly asynchronous
12 |         XCTContext.runActivity(named: "Wait for element to have a stable position") { activity in
13 |             let timeout = Date(timeIntervalSinceNow: timeout)
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/PageElement.swift:81:63: warning: call to main actor-isolated instance method 'tap()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 76 |     /// coordinates.
 77 |     /// - Parameter coordinates: Normalized offset coordinates to specify tap position.
 78 |     public func tap(usingCoordinates coordinates: CGVector) {
    |                 `- note: add '@MainActor' to make instance method 'tap(usingCoordinates:)' part of global actor 'MainActor'
 79 |         guard let element = getXCUIElement(forAction: "tap()") else { return }
 80 |         element.waitUntilStablePosition()
 81 |         element.coordinate(withNormalizedOffset: coordinates).tap()
    |                                                               `- warning: call to main actor-isolated instance method 'tap()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 82 |     }
 83 |
XCUIAutomation.XCUICoordinate.tap:2:22: note: calls to instance method 'tap()' from outside of its actor context are implicitly asynchronous
1 | class XCUICoordinate {
2 | @MainActor open func tap()}
  |                      `- note: calls to instance method 'tap()' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/PageElement.swift:81:17: warning: call to main actor-isolated instance method 'coordinate(withNormalizedOffset:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 76 |     /// coordinates.
 77 |     /// - Parameter coordinates: Normalized offset coordinates to specify tap position.
 78 |     public func tap(usingCoordinates coordinates: CGVector) {
    |                 `- note: add '@MainActor' to make instance method 'tap(usingCoordinates:)' part of global actor 'MainActor'
 79 |         guard let element = getXCUIElement(forAction: "tap()") else { return }
 80 |         element.waitUntilStablePosition()
 81 |         element.coordinate(withNormalizedOffset: coordinates).tap()
    |                 `- warning: call to main actor-isolated instance method 'coordinate(withNormalizedOffset:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 82 |     }
 83 |
XCUIAutomation.XCUIElement.coordinate:2:22: note: calls to instance method 'coordinate(withNormalizedOffset:)' from outside of its actor context are implicitly asynchronous
1 | class XCUIElement {
2 | @MainActor open func coordinate(withNormalizedOffset normalizedOffset: CGVector) -> XCUICoordinate}
  |                      `- note: calls to instance method 'coordinate(withNormalizedOffset:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/PageElement.swift:97:20: warning: call to main actor-isolated class method 'runActivity(named:block:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 93 |     ///       Whether or not the keyboard should be dismissed after typing the text has finished. If the keyboard should
 94 |     ///       be dismissed, it's dismissed by tapping the `Done` button on the keyboard.
 95 |     public func type(text: String, dismissKeyboard: Bool = true) {
    |                 `- note: add '@MainActor' to make instance method 'type(text:dismissKeyboard:)' part of global actor 'MainActor'
 96 |         // TODO: better activity description
 97 |         XCTContext.runActivity(named: "Typing text \(text.debugDescription)") { activity in
    |                    `- warning: call to main actor-isolated class method 'runActivity(named:block:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 98 |             guard let element = getXCUIElement(forAction: "type(text: \(text.debugDescription)") else { return }
 99 |             element.waitUntilStablePosition()
XCTest.XCTContext.runActivity:2:46: note: calls to class method 'runActivity(named:block:)' from outside of its actor context are implicitly asynchronous
1 | class XCTContext {
2 | @MainActor @preconcurrency public class func runActivity<Result>(named name: String, block: @MainActor (any XCTActivity) throws -> Result) rethrows -> Result}
  |                                              `- note: calls to class method 'runActivity(named:block:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/PageElement.swift:136:28: warning: main actor-isolated property 'isHittable' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
126 |     }
127 |
128 |     public func waitUntilIsHittable(
    |                 `- note: add '@MainActor' to make instance method 'waitUntilIsHittable(timeout:file:line:)' part of global actor 'MainActor'
129 |         timeout: CFTimeInterval = 10,
130 |         file: StaticString = #file,
    :
134 |         let deadline = Date(timeIntervalSinceNow: timeout)
135 |         repeat {
136 |             guard !element.isHittable else { return }
    |                            `- warning: main actor-isolated property 'isHittable' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
137 |             _ = RunLoop.current.run(mode: .default, before: Date(timeIntervalSinceNow: 1))
138 |         } while Date() < deadline
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIElement.h:63:48: note: property declared here
 61 |
 62 | /*! Whether or not a hit point can be computed for the element for the purpose of synthesizing events. */
 63 | @property (readonly, getter = isHittable) BOOL hittable;
    |                                                `- note: property declared here
 64 |
 65 | /*! Returns a query for all descendants of the element matching the specified type. */
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/PageElement.swift:163:42: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
152 |     ///   - line: Line number that will be displayed if it fails.
153 |     // TODO: Add PageBuilder argument to make the function more generic
154 |     public func scrollUntilVisibleOnScreen(
    |                 `- note: add '@MainActor' to make instance method 'scrollUntilVisibleOnScreen(direction:maxTryCount:file:line:)' part of global actor 'MainActor'
155 |         direction: ScrollDirection,
156 |         maxTryCount: Int = 5,
    :
161 |         guard let app = getPage()?.xcuiapplication else { return }
162 |         guard let window = getXCUIWindow(forAction: "scroll until visible") else { return }
163 |         guard !CGRectContainsRect(window.frame, element.frame) else { return }
    |                                          `- warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
164 |         var tryCounter = maxTryCount
165 |         var startCoordinate = app.coordinate(withNormalizedOffset: CGVector(dx: 0.5, dy: 0.5))
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIElementAttributes.h:38:29: note: property declared here
 36 |
 37 | /*! The frame of the element in the screen coordinate space. */
 38 | @property (readonly) CGRect frame;
    |                             `- note: property declared here
 39 |
 40 | /*! The raw value attribute of the element. Depending on the element, the actual type can vary. */
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/PageElement.swift:163:57: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
152 |     ///   - line: Line number that will be displayed if it fails.
153 |     // TODO: Add PageBuilder argument to make the function more generic
154 |     public func scrollUntilVisibleOnScreen(
    |                 `- note: add '@MainActor' to make instance method 'scrollUntilVisibleOnScreen(direction:maxTryCount:file:line:)' part of global actor 'MainActor'
155 |         direction: ScrollDirection,
156 |         maxTryCount: Int = 5,
    :
161 |         guard let app = getPage()?.xcuiapplication else { return }
162 |         guard let window = getXCUIWindow(forAction: "scroll until visible") else { return }
163 |         guard !CGRectContainsRect(window.frame, element.frame) else { return }
    |                                                         `- warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
164 |         var tryCounter = maxTryCount
165 |         var startCoordinate = app.coordinate(withNormalizedOffset: CGVector(dx: 0.5, dy: 0.5))
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIElementAttributes.h:38:29: note: property declared here
 36 |
 37 | /*! The frame of the element in the screen coordinate space. */
 38 | @property (readonly) CGRect frame;
    |                             `- note: property declared here
 39 |
 40 | /*! The raw value attribute of the element. Depending on the element, the actual type can vary. */
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/PageElement.swift:165:35: warning: call to main actor-isolated instance method 'coordinate(withNormalizedOffset:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
152 |     ///   - line: Line number that will be displayed if it fails.
153 |     // TODO: Add PageBuilder argument to make the function more generic
154 |     public func scrollUntilVisibleOnScreen(
    |                 `- note: add '@MainActor' to make instance method 'scrollUntilVisibleOnScreen(direction:maxTryCount:file:line:)' part of global actor 'MainActor'
155 |         direction: ScrollDirection,
156 |         maxTryCount: Int = 5,
    :
163 |         guard !CGRectContainsRect(window.frame, element.frame) else { return }
164 |         var tryCounter = maxTryCount
165 |         var startCoordinate = app.coordinate(withNormalizedOffset: CGVector(dx: 0.5, dy: 0.5))
    |                                   `- warning: call to main actor-isolated instance method 'coordinate(withNormalizedOffset:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
166 |         repeat {
167 |             var endCoordinate = startCoordinate
XCUIAutomation.XCUIElement.coordinate:2:22: note: calls to instance method 'coordinate(withNormalizedOffset:)' from outside of its actor context are implicitly asynchronous
1 | class XCUIElement {
2 | @MainActor open func coordinate(withNormalizedOffset normalizedOffset: CGVector) -> XCUICoordinate}
  |                      `- note: calls to instance method 'coordinate(withNormalizedOffset:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/PageElement.swift:170:49: warning: call to main actor-isolated instance method 'withOffset' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
152 |     ///   - line: Line number that will be displayed if it fails.
153 |     // TODO: Add PageBuilder argument to make the function more generic
154 |     public func scrollUntilVisibleOnScreen(
    |                 `- note: add '@MainActor' to make instance method 'scrollUntilVisibleOnScreen(direction:maxTryCount:file:line:)' part of global actor 'MainActor'
155 |         direction: ScrollDirection,
156 |         maxTryCount: Int = 5,
    :
168 |             switch direction {
169 |             case .down:
170 |                 endCoordinate = startCoordinate.withOffset(CGVector(dx: 0, dy: -window.frame.height/3))
    |                                                 `- warning: call to main actor-isolated instance method 'withOffset' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
171 |                 startCoordinate.press(forDuration: 0.05, thenDragTo: endCoordinate)
172 |             case .up:
XCUIAutomation.XCUICoordinate.withOffset:2:22: note: calls to instance method 'withOffset' from outside of its actor context are implicitly asynchronous
1 | class XCUICoordinate {
2 | @MainActor open func withOffset(_ offsetVector: CGVector) -> XCUICoordinate}
  |                      `- note: calls to instance method 'withOffset' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/PageElement.swift:170:88: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
152 |     ///   - line: Line number that will be displayed if it fails.
153 |     // TODO: Add PageBuilder argument to make the function more generic
154 |     public func scrollUntilVisibleOnScreen(
    |                 `- note: add '@MainActor' to make instance method 'scrollUntilVisibleOnScreen(direction:maxTryCount:file:line:)' part of global actor 'MainActor'
155 |         direction: ScrollDirection,
156 |         maxTryCount: Int = 5,
    :
168 |             switch direction {
169 |             case .down:
170 |                 endCoordinate = startCoordinate.withOffset(CGVector(dx: 0, dy: -window.frame.height/3))
    |                                                                                        `- warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
171 |                 startCoordinate.press(forDuration: 0.05, thenDragTo: endCoordinate)
172 |             case .up:
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIElementAttributes.h:38:29: note: property declared here
 36 |
 37 | /*! The frame of the element in the screen coordinate space. */
 38 | @property (readonly) CGRect frame;
    |                             `- note: property declared here
 39 |
 40 | /*! The raw value attribute of the element. Depending on the element, the actual type can vary. */
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/PageElement.swift:171:33: warning: call to main actor-isolated instance method 'press(forDuration:thenDragTo:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
152 |     ///   - line: Line number that will be displayed if it fails.
153 |     // TODO: Add PageBuilder argument to make the function more generic
154 |     public func scrollUntilVisibleOnScreen(
    |                 `- note: add '@MainActor' to make instance method 'scrollUntilVisibleOnScreen(direction:maxTryCount:file:line:)' part of global actor 'MainActor'
155 |         direction: ScrollDirection,
156 |         maxTryCount: Int = 5,
    :
169 |             case .down:
170 |                 endCoordinate = startCoordinate.withOffset(CGVector(dx: 0, dy: -window.frame.height/3))
171 |                 startCoordinate.press(forDuration: 0.05, thenDragTo: endCoordinate)
    |                                 `- warning: call to main actor-isolated instance method 'press(forDuration:thenDragTo:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
172 |             case .up:
173 |                 endCoordinate = startCoordinate.withOffset(CGVector(dx: 0, dy: window.frame.height/3))
XCUIAutomation.XCUICoordinate.press:2:22: note: calls to instance method 'press(forDuration:thenDragTo:)' from outside of its actor context are implicitly asynchronous
1 | class XCUICoordinate {
2 | @MainActor open func press(forDuration duration: TimeInterval, thenDragTo otherCoordinate: XCUICoordinate)}
  |                      `- note: calls to instance method 'press(forDuration:thenDragTo:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/PageElement.swift:173:49: warning: call to main actor-isolated instance method 'withOffset' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
152 |     ///   - line: Line number that will be displayed if it fails.
153 |     // TODO: Add PageBuilder argument to make the function more generic
154 |     public func scrollUntilVisibleOnScreen(
    |                 `- note: add '@MainActor' to make instance method 'scrollUntilVisibleOnScreen(direction:maxTryCount:file:line:)' part of global actor 'MainActor'
155 |         direction: ScrollDirection,
156 |         maxTryCount: Int = 5,
    :
171 |                 startCoordinate.press(forDuration: 0.05, thenDragTo: endCoordinate)
172 |             case .up:
173 |                 endCoordinate = startCoordinate.withOffset(CGVector(dx: 0, dy: window.frame.height/3))
    |                                                 `- warning: call to main actor-isolated instance method 'withOffset' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
174 |                 startCoordinate.press(forDuration: 0.05, thenDragTo: endCoordinate)
175 |             case .left:
XCUIAutomation.XCUICoordinate.withOffset:2:22: note: calls to instance method 'withOffset' from outside of its actor context are implicitly asynchronous
1 | class XCUICoordinate {
2 | @MainActor open func withOffset(_ offsetVector: CGVector) -> XCUICoordinate}
  |                      `- note: calls to instance method 'withOffset' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/PageElement.swift:173:87: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
152 |     ///   - line: Line number that will be displayed if it fails.
153 |     // TODO: Add PageBuilder argument to make the function more generic
154 |     public func scrollUntilVisibleOnScreen(
    |                 `- note: add '@MainActor' to make instance method 'scrollUntilVisibleOnScreen(direction:maxTryCount:file:line:)' part of global actor 'MainActor'
155 |         direction: ScrollDirection,
156 |         maxTryCount: Int = 5,
    :
171 |                 startCoordinate.press(forDuration: 0.05, thenDragTo: endCoordinate)
172 |             case .up:
173 |                 endCoordinate = startCoordinate.withOffset(CGVector(dx: 0, dy: window.frame.height/3))
    |                                                                                       `- warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
174 |                 startCoordinate.press(forDuration: 0.05, thenDragTo: endCoordinate)
175 |             case .left:
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIElementAttributes.h:38:29: note: property declared here
 36 |
 37 | /*! The frame of the element in the screen coordinate space. */
 38 | @property (readonly) CGRect frame;
    |                             `- note: property declared here
 39 |
 40 | /*! The raw value attribute of the element. Depending on the element, the actual type can vary. */
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/PageElement.swift:174:33: warning: call to main actor-isolated instance method 'press(forDuration:thenDragTo:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
152 |     ///   - line: Line number that will be displayed if it fails.
153 |     // TODO: Add PageBuilder argument to make the function more generic
154 |     public func scrollUntilVisibleOnScreen(
    |                 `- note: add '@MainActor' to make instance method 'scrollUntilVisibleOnScreen(direction:maxTryCount:file:line:)' part of global actor 'MainActor'
155 |         direction: ScrollDirection,
156 |         maxTryCount: Int = 5,
    :
172 |             case .up:
173 |                 endCoordinate = startCoordinate.withOffset(CGVector(dx: 0, dy: window.frame.height/3))
174 |                 startCoordinate.press(forDuration: 0.05, thenDragTo: endCoordinate)
    |                                 `- warning: call to main actor-isolated instance method 'press(forDuration:thenDragTo:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
175 |             case .left:
176 |                 endCoordinate = startCoordinate.withOffset(CGVector(dx: window.frame.width/3, dy: 0))
XCUIAutomation.XCUICoordinate.press:2:22: note: calls to instance method 'press(forDuration:thenDragTo:)' from outside of its actor context are implicitly asynchronous
1 | class XCUICoordinate {
2 | @MainActor open func press(forDuration duration: TimeInterval, thenDragTo otherCoordinate: XCUICoordinate)}
  |                      `- note: calls to instance method 'press(forDuration:thenDragTo:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/PageElement.swift:176:49: warning: call to main actor-isolated instance method 'withOffset' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
152 |     ///   - line: Line number that will be displayed if it fails.
153 |     // TODO: Add PageBuilder argument to make the function more generic
154 |     public func scrollUntilVisibleOnScreen(
    |                 `- note: add '@MainActor' to make instance method 'scrollUntilVisibleOnScreen(direction:maxTryCount:file:line:)' part of global actor 'MainActor'
155 |         direction: ScrollDirection,
156 |         maxTryCount: Int = 5,
    :
174 |                 startCoordinate.press(forDuration: 0.05, thenDragTo: endCoordinate)
175 |             case .left:
176 |                 endCoordinate = startCoordinate.withOffset(CGVector(dx: window.frame.width/3, dy: 0))
    |                                                 `- warning: call to main actor-isolated instance method 'withOffset' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
177 |                 startCoordinate.press(forDuration: 0.05, thenDragTo: endCoordinate)
178 |             case .right:
XCUIAutomation.XCUICoordinate.withOffset:2:22: note: calls to instance method 'withOffset' from outside of its actor context are implicitly asynchronous
1 | class XCUICoordinate {
2 | @MainActor open func withOffset(_ offsetVector: CGVector) -> XCUICoordinate}
  |                      `- note: calls to instance method 'withOffset' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/PageElement.swift:176:80: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
152 |     ///   - line: Line number that will be displayed if it fails.
153 |     // TODO: Add PageBuilder argument to make the function more generic
154 |     public func scrollUntilVisibleOnScreen(
    |                 `- note: add '@MainActor' to make instance method 'scrollUntilVisibleOnScreen(direction:maxTryCount:file:line:)' part of global actor 'MainActor'
155 |         direction: ScrollDirection,
156 |         maxTryCount: Int = 5,
    :
174 |                 startCoordinate.press(forDuration: 0.05, thenDragTo: endCoordinate)
175 |             case .left:
176 |                 endCoordinate = startCoordinate.withOffset(CGVector(dx: window.frame.width/3, dy: 0))
    |                                                                                `- warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
177 |                 startCoordinate.press(forDuration: 0.05, thenDragTo: endCoordinate)
178 |             case .right:
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIElementAttributes.h:38:29: note: property declared here
 36 |
 37 | /*! The frame of the element in the screen coordinate space. */
 38 | @property (readonly) CGRect frame;
    |                             `- note: property declared here
 39 |
 40 | /*! The raw value attribute of the element. Depending on the element, the actual type can vary. */
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/PageElement.swift:177:33: warning: call to main actor-isolated instance method 'press(forDuration:thenDragTo:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
152 |     ///   - line: Line number that will be displayed if it fails.
153 |     // TODO: Add PageBuilder argument to make the function more generic
154 |     public func scrollUntilVisibleOnScreen(
    |                 `- note: add '@MainActor' to make instance method 'scrollUntilVisibleOnScreen(direction:maxTryCount:file:line:)' part of global actor 'MainActor'
155 |         direction: ScrollDirection,
156 |         maxTryCount: Int = 5,
    :
175 |             case .left:
176 |                 endCoordinate = startCoordinate.withOffset(CGVector(dx: window.frame.width/3, dy: 0))
177 |                 startCoordinate.press(forDuration: 0.05, thenDragTo: endCoordinate)
    |                                 `- warning: call to main actor-isolated instance method 'press(forDuration:thenDragTo:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
178 |             case .right:
179 |                 endCoordinate = startCoordinate.withOffset(CGVector(dx: -window.frame.width/3, dy: 0))
XCUIAutomation.XCUICoordinate.press:2:22: note: calls to instance method 'press(forDuration:thenDragTo:)' from outside of its actor context are implicitly asynchronous
1 | class XCUICoordinate {
2 | @MainActor open func press(forDuration duration: TimeInterval, thenDragTo otherCoordinate: XCUICoordinate)}
  |                      `- note: calls to instance method 'press(forDuration:thenDragTo:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/PageElement.swift:179:49: warning: call to main actor-isolated instance method 'withOffset' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
152 |     ///   - line: Line number that will be displayed if it fails.
153 |     // TODO: Add PageBuilder argument to make the function more generic
154 |     public func scrollUntilVisibleOnScreen(
    |                 `- note: add '@MainActor' to make instance method 'scrollUntilVisibleOnScreen(direction:maxTryCount:file:line:)' part of global actor 'MainActor'
155 |         direction: ScrollDirection,
156 |         maxTryCount: Int = 5,
    :
177 |                 startCoordinate.press(forDuration: 0.05, thenDragTo: endCoordinate)
178 |             case .right:
179 |                 endCoordinate = startCoordinate.withOffset(CGVector(dx: -window.frame.width/3, dy: 0))
    |                                                 `- warning: call to main actor-isolated instance method 'withOffset' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
180 |                 startCoordinate.press(forDuration: 0.05, thenDragTo: endCoordinate)
181 |             }
XCUIAutomation.XCUICoordinate.withOffset:2:22: note: calls to instance method 'withOffset' from outside of its actor context are implicitly asynchronous
1 | class XCUICoordinate {
2 | @MainActor open func withOffset(_ offsetVector: CGVector) -> XCUICoordinate}
  |                      `- note: calls to instance method 'withOffset' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/PageElement.swift:179:81: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
152 |     ///   - line: Line number that will be displayed if it fails.
153 |     // TODO: Add PageBuilder argument to make the function more generic
154 |     public func scrollUntilVisibleOnScreen(
    |                 `- note: add '@MainActor' to make instance method 'scrollUntilVisibleOnScreen(direction:maxTryCount:file:line:)' part of global actor 'MainActor'
155 |         direction: ScrollDirection,
156 |         maxTryCount: Int = 5,
    :
177 |                 startCoordinate.press(forDuration: 0.05, thenDragTo: endCoordinate)
178 |             case .right:
179 |                 endCoordinate = startCoordinate.withOffset(CGVector(dx: -window.frame.width/3, dy: 0))
    |                                                                                 `- warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
180 |                 startCoordinate.press(forDuration: 0.05, thenDragTo: endCoordinate)
181 |             }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIElementAttributes.h:38:29: note: property declared here
 36 |
 37 | /*! The frame of the element in the screen coordinate space. */
 38 | @property (readonly) CGRect frame;
    |                             `- note: property declared here
 39 |
 40 | /*! The raw value attribute of the element. Depending on the element, the actual type can vary. */
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/PageElement.swift:180:33: warning: call to main actor-isolated instance method 'press(forDuration:thenDragTo:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
152 |     ///   - line: Line number that will be displayed if it fails.
153 |     // TODO: Add PageBuilder argument to make the function more generic
154 |     public func scrollUntilVisibleOnScreen(
    |                 `- note: add '@MainActor' to make instance method 'scrollUntilVisibleOnScreen(direction:maxTryCount:file:line:)' part of global actor 'MainActor'
155 |         direction: ScrollDirection,
156 |         maxTryCount: Int = 5,
    :
178 |             case .right:
179 |                 endCoordinate = startCoordinate.withOffset(CGVector(dx: -window.frame.width/3, dy: 0))
180 |                 startCoordinate.press(forDuration: 0.05, thenDragTo: endCoordinate)
    |                                 `- warning: call to main actor-isolated instance method 'press(forDuration:thenDragTo:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
181 |             }
182 |             element.waitUntilStablePosition()
XCUIAutomation.XCUICoordinate.press:2:22: note: calls to instance method 'press(forDuration:thenDragTo:)' from outside of its actor context are implicitly asynchronous
1 | class XCUICoordinate {
2 | @MainActor open func press(forDuration duration: TimeInterval, thenDragTo otherCoordinate: XCUICoordinate)}
  |                      `- note: calls to instance method 'press(forDuration:thenDragTo:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/PageElement.swift:182:21: warning: call to main actor-isolated instance method 'waitUntilStablePosition(timeout:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
152 |     ///   - line: Line number that will be displayed if it fails.
153 |     // TODO: Add PageBuilder argument to make the function more generic
154 |     public func scrollUntilVisibleOnScreen(
    |                 `- note: add '@MainActor' to make instance method 'scrollUntilVisibleOnScreen(direction:maxTryCount:file:line:)' part of global actor 'MainActor'
155 |         direction: ScrollDirection,
156 |         maxTryCount: Int = 5,
    :
180 |                 startCoordinate.press(forDuration: 0.05, thenDragTo: endCoordinate)
181 |             }
182 |             element.waitUntilStablePosition()
    |                     `- warning: call to main actor-isolated instance method 'waitUntilStablePosition(timeout:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
183 |             tryCounter -= 1
184 |             startCoordinate = endCoordinate
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Extensions/XCUIElement+Extensions.swift:11:10: note: calls to instance method 'waitUntilStablePosition(timeout:)' from outside of its actor context are implicitly asynchronous
 9 |     ///
10 |     /// - Parameter timeout: The maximal time to wait until the element is not moving anymore in seconds.
11 |     func waitUntilStablePosition(timeout: CFTimeInterval = 2) {
   |          `- note: calls to instance method 'waitUntilStablePosition(timeout:)' from outside of its actor context are implicitly asynchronous
12 |         XCTContext.runActivity(named: "Wait for element to have a stable position") { activity in
13 |             let timeout = Date(timeIntervalSinceNow: timeout)
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/PageElement.swift:185:46: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
152 |     ///   - line: Line number that will be displayed if it fails.
153 |     // TODO: Add PageBuilder argument to make the function more generic
154 |     public func scrollUntilVisibleOnScreen(
    |                 `- note: add '@MainActor' to make instance method 'scrollUntilVisibleOnScreen(direction:maxTryCount:file:line:)' part of global actor 'MainActor'
155 |         direction: ScrollDirection,
156 |         maxTryCount: Int = 5,
    :
183 |             tryCounter -= 1
184 |             startCoordinate = endCoordinate
185 |             guard !CGRectContainsRect(window.frame, element.frame) else { return }
    |                                              `- warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
186 |         } while tryCounter > 0
187 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIElementAttributes.h:38:29: note: property declared here
 36 |
 37 | /*! The frame of the element in the screen coordinate space. */
 38 | @property (readonly) CGRect frame;
    |                             `- note: property declared here
 39 |
 40 | /*! The raw value attribute of the element. Depending on the element, the actual type can vary. */
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/PageElement.swift:185:61: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
152 |     ///   - line: Line number that will be displayed if it fails.
153 |     // TODO: Add PageBuilder argument to make the function more generic
154 |     public func scrollUntilVisibleOnScreen(
    |                 `- note: add '@MainActor' to make instance method 'scrollUntilVisibleOnScreen(direction:maxTryCount:file:line:)' part of global actor 'MainActor'
155 |         direction: ScrollDirection,
156 |         maxTryCount: Int = 5,
    :
183 |             tryCounter -= 1
184 |             startCoordinate = endCoordinate
185 |             guard !CGRectContainsRect(window.frame, element.frame) else { return }
    |                                                             `- warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
186 |         } while tryCounter > 0
187 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIElementAttributes.h:38:29: note: property declared here
 36 |
 37 | /*! The frame of the element in the screen coordinate space. */
 38 | @property (readonly) CGRect frame;
    |                             `- note: property declared here
 39 |
 40 | /*! The raw value attribute of the element. Depending on the element, the actual type can vary. */
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/PageElementIdentifier.swift:15:16: warning: static property 'dynamic' is not concurrency-safe because non-'Sendable' type 'PageElementIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
 3 | /// Elements are identified by their position in the source code. This has the additional benefit that the identifer
 4 | /// can be used for helpful debug information.
 5 | public struct PageElementIdentifier: Hashable {
   |               `- note: consider making struct 'PageElementIdentifier' conform to the 'Sendable' protocol
 6 |     /// The source file in which the element is defined.
 7 |     let file: String
   :
13 |     /// A special identifier which is used when page elements are created dynamically, e.g. in a automatically created
14 |     /// page description of a running app.
15 |     static let dynamic: Self = .init(file: "", line: 0, column: 0)
   |                |- warning: static property 'dynamic' is not concurrency-safe because non-'Sendable' type 'PageElementIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'dynamic' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/PageElement.swift:31:77: warning: sending value of non-Sendable type 'NSPredicate' risks causing data races; this is an error in the Swift 6 language mode
 29 |
 30 |         let application = cacheEntry.page.xcuiapplication
 31 |         let query = application.descendants(matching: snapshot.elementType).matching(NSPredicate(snapshot: snapshot))
    |                                                                             |- warning: sending value of non-Sendable type 'NSPredicate' risks causing data races; this is an error in the Swift 6 language mode
    |                                                                             `- note: sending task-isolated value of non-Sendable type 'NSPredicate' to main actor-isolated instance method 'matching' risks causing races in between task-isolated and main actor-isolated uses
 32 |
 33 |         return query.firstMatch
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/PageElement.swift:51:41: warning: sending value of non-Sendable type 'NSPredicate' risks causing data races; this is an error in the Swift 6 language mode
 49 |         }
 50 |         let application = cacheEntry.page.xcuiapplication
 51 |         let query = application.windows.containing(NSPredicate(snapshot: snapshot))
    |                                         |- warning: sending value of non-Sendable type 'NSPredicate' risks causing data races; this is an error in the Swift 6 language mode
    |                                         `- note: sending task-isolated value of non-Sendable type 'NSPredicate' to main actor-isolated instance method 'containing' risks causing races in between task-isolated and main actor-isolated uses
 52 |
 53 |         return query.firstMatch
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/PageElement.swift:98:33: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
 96 |         // TODO: better activity description
 97 |         XCTContext.runActivity(named: "Typing text \(text.debugDescription)") { activity in
 98 |             guard let element = getXCUIElement(forAction: "type(text: \(text.debugDescription)") else { return }
    |                                 |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                                 `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
 99 |             element.waitUntilStablePosition()
100 |             element.coordinate(withNormalizedOffset: CGVector(dx: 0.5, dy: 0.5)).tap()
[20/36] Compiling Sisyphos TextField.swift
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Page.swift:144:5: warning: var 'elementPathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
142 | }
143 |
144 | var elementPathCache: [PageElementIdentifier: CacheEntry] = [:]
    |     |- warning: var 'elementPathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: convert 'elementPathCache' to a 'let' constant to make 'Sendable' shared state immutable
    |     |- note: add '@MainActor' to make var 'elementPathCache' part of global actor 'MainActor'
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
145 |
146 | struct CacheEntry {
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Page.swift:39:20: warning: call to main actor-isolated initializer 'init(bundleIdentifier:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 37 |     var xcuiapplication: XCUIApplication {
 38 |         if !application.isEmpty {
 39 |             return XCUIApplication(bundleIdentifier: application)
    |                    `- warning: call to main actor-isolated initializer 'init(bundleIdentifier:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 40 |         } else {
 41 |             return XCUIApplication()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIApplication.h:35:1: note: calls to initializer 'init(bundleIdentifier:)' from outside of its actor context are implicitly asynchronous
 33 |  * Returns a proxy for an application associated with the specified bundle identifier.
 34 |  */
 35 | - (instancetype)initWithBundleIdentifier:(NSString *)bundleIdentifier NS_DESIGNATED_INITIALIZER;
    | `- note: calls to initializer 'init(bundleIdentifier:)' from outside of its actor context are implicitly asynchronous
 36 |
 37 | #if TARGET_OS_OSX || TARGET_OS_MACCATALYST
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Page.swift:41:20: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 39 |             return XCUIApplication(bundleIdentifier: application)
 40 |         } else {
 41 |             return XCUIApplication()
    |                    `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 42 |         }
 43 |     }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIApplication.h:29:1: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
 27 |  * Returns a proxy for the application specified by the "Target Application" target setting.
 28 |  */
 29 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
    | `- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
 30 | + (instancetype)new;
 31 |
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Page.swift:52:20: warning: call to main actor-isolated class method 'runActivity(named:block:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 49 |     /// Checks if the given page exists, that means it's currently visible on the screen as described in the page
 50 |     /// description.
 51 |     func exists() -> PageExistsResults {
    |          `- note: add '@MainActor' to make instance method 'exists()' part of global actor 'MainActor'
 52 |         XCTContext.runActivity(named: "Check if page \(debugName) exists") { activity in
    |                    `- warning: call to main actor-isolated class method 'runActivity(named:block:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 53 |             UIInterruptionsObserver.shared.checkForInterruptions()
 54 |
XCTest.XCTContext.runActivity:2:46: note: calls to class method 'runActivity(named:block:)' from outside of its actor context are implicitly asynchronous
1 | class XCTContext {
2 | @MainActor @preconcurrency public class func runActivity<Result>(named name: String, block: @MainActor (any XCTActivity) throws -> Result) rethrows -> Result}
  |                                              `- note: calls to class method 'runActivity(named:block:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Page.swift:103:20: warning: call to main actor-isolated class method 'runActivity(named:block:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 96 |     ///    ``exists()`` method. It will not fail the test and give a result that you can introspect to find out which
 97 |     ///    elements of a page are missing.
 98 |     func waitForExistence(
    |          `- note: add '@MainActor' to make instance method 'waitForExistence(timeout:file:line:)' part of global actor 'MainActor'
 99 |         timeout: CFTimeInterval = 15,
100 |         file: StaticString = #file,
101 |         line: UInt = #line
102 |     ) {
103 |         XCTContext.runActivity(named: "Wait max \(timeout)s for page \(debugName) to exist") { activity in
    |                    `- warning: call to main actor-isolated class method 'runActivity(named:block:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
104 |             let runLoop = RunLoop.current
105 |             let deadline = Date(timeIntervalSinceNow: timeout)
XCTest.XCTContext.runActivity:2:46: note: calls to class method 'runActivity(named:block:)' from outside of its actor context are implicitly asynchronous
1 | class XCTContext {
2 | @MainActor @preconcurrency public class func runActivity<Result>(named name: String, block: @MainActor (any XCTActivity) throws -> Result) rethrows -> Result}
  |                                              `- note: calls to class method 'runActivity(named:block:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Page.swift:136:51: warning: call to main actor-isolated instance method 'snapshot()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
133 |
134 | extension Page {
135 |     func refreshElementCache() {
    |          `- note: add '@MainActor' to make instance method 'refreshElementCache()' part of global actor 'MainActor'
136 |         guard let snapshot = try? xcuiapplication.snapshot() else {
    |                                                   `- warning: call to main actor-isolated instance method 'snapshot()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
137 |             return
138 |         }
XCUIAutomation.XCUIElement.snapshot:2:22: note: calls to instance method 'snapshot()' from outside of its actor context are implicitly asynchronous
1 | class XCUIElement {
2 | @MainActor open func snapshot() throws -> any XCUIElementSnapshot}
  |                      `- note: calls to instance method 'snapshot()' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Page.swift:55:66: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
 53 |             UIInterruptionsObserver.shared.checkForInterruptions()
 54 |
 55 |             let screenshotAttachment = XCTAttachment(screenshot: xcuiapplication.screenshot())
    |                                                                  |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                                                                  `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
 56 |             screenshotAttachment.lifetime = .deleteOnSuccess
 57 |             activity.add(screenshotAttachment)
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Page.swift:108:38: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
106 |             var results: PageExistsResults?
107 |             repeat {
108 |                 let currentResults = exists()
    |                                      |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
109 |                 guard !currentResults.isExisting else { return }
110 |                 results = currentResults
[21/36] Compiling Sisyphos Page.swift
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Page.swift:144:5: warning: var 'elementPathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
142 | }
143 |
144 | var elementPathCache: [PageElementIdentifier: CacheEntry] = [:]
    |     |- warning: var 'elementPathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: convert 'elementPathCache' to a 'let' constant to make 'Sendable' shared state immutable
    |     |- note: add '@MainActor' to make var 'elementPathCache' part of global actor 'MainActor'
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
145 |
146 | struct CacheEntry {
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Page.swift:39:20: warning: call to main actor-isolated initializer 'init(bundleIdentifier:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 37 |     var xcuiapplication: XCUIApplication {
 38 |         if !application.isEmpty {
 39 |             return XCUIApplication(bundleIdentifier: application)
    |                    `- warning: call to main actor-isolated initializer 'init(bundleIdentifier:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 40 |         } else {
 41 |             return XCUIApplication()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIApplication.h:35:1: note: calls to initializer 'init(bundleIdentifier:)' from outside of its actor context are implicitly asynchronous
 33 |  * Returns a proxy for an application associated with the specified bundle identifier.
 34 |  */
 35 | - (instancetype)initWithBundleIdentifier:(NSString *)bundleIdentifier NS_DESIGNATED_INITIALIZER;
    | `- note: calls to initializer 'init(bundleIdentifier:)' from outside of its actor context are implicitly asynchronous
 36 |
 37 | #if TARGET_OS_OSX || TARGET_OS_MACCATALYST
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Page.swift:41:20: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 39 |             return XCUIApplication(bundleIdentifier: application)
 40 |         } else {
 41 |             return XCUIApplication()
    |                    `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 42 |         }
 43 |     }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIApplication.h:29:1: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
 27 |  * Returns a proxy for the application specified by the "Target Application" target setting.
 28 |  */
 29 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
    | `- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
 30 | + (instancetype)new;
 31 |
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Page.swift:52:20: warning: call to main actor-isolated class method 'runActivity(named:block:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 49 |     /// Checks if the given page exists, that means it's currently visible on the screen as described in the page
 50 |     /// description.
 51 |     func exists() -> PageExistsResults {
    |          `- note: add '@MainActor' to make instance method 'exists()' part of global actor 'MainActor'
 52 |         XCTContext.runActivity(named: "Check if page \(debugName) exists") { activity in
    |                    `- warning: call to main actor-isolated class method 'runActivity(named:block:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 53 |             UIInterruptionsObserver.shared.checkForInterruptions()
 54 |
XCTest.XCTContext.runActivity:2:46: note: calls to class method 'runActivity(named:block:)' from outside of its actor context are implicitly asynchronous
1 | class XCTContext {
2 | @MainActor @preconcurrency public class func runActivity<Result>(named name: String, block: @MainActor (any XCTActivity) throws -> Result) rethrows -> Result}
  |                                              `- note: calls to class method 'runActivity(named:block:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Page.swift:103:20: warning: call to main actor-isolated class method 'runActivity(named:block:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 96 |     ///    ``exists()`` method. It will not fail the test and give a result that you can introspect to find out which
 97 |     ///    elements of a page are missing.
 98 |     func waitForExistence(
    |          `- note: add '@MainActor' to make instance method 'waitForExistence(timeout:file:line:)' part of global actor 'MainActor'
 99 |         timeout: CFTimeInterval = 15,
100 |         file: StaticString = #file,
101 |         line: UInt = #line
102 |     ) {
103 |         XCTContext.runActivity(named: "Wait max \(timeout)s for page \(debugName) to exist") { activity in
    |                    `- warning: call to main actor-isolated class method 'runActivity(named:block:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
104 |             let runLoop = RunLoop.current
105 |             let deadline = Date(timeIntervalSinceNow: timeout)
XCTest.XCTContext.runActivity:2:46: note: calls to class method 'runActivity(named:block:)' from outside of its actor context are implicitly asynchronous
1 | class XCTContext {
2 | @MainActor @preconcurrency public class func runActivity<Result>(named name: String, block: @MainActor (any XCTActivity) throws -> Result) rethrows -> Result}
  |                                              `- note: calls to class method 'runActivity(named:block:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Page.swift:136:51: warning: call to main actor-isolated instance method 'snapshot()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
133 |
134 | extension Page {
135 |     func refreshElementCache() {
    |          `- note: add '@MainActor' to make instance method 'refreshElementCache()' part of global actor 'MainActor'
136 |         guard let snapshot = try? xcuiapplication.snapshot() else {
    |                                                   `- warning: call to main actor-isolated instance method 'snapshot()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
137 |             return
138 |         }
XCUIAutomation.XCUIElement.snapshot:2:22: note: calls to instance method 'snapshot()' from outside of its actor context are implicitly asynchronous
1 | class XCUIElement {
2 | @MainActor open func snapshot() throws -> any XCUIElementSnapshot}
  |                      `- note: calls to instance method 'snapshot()' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Page.swift:55:66: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
 53 |             UIInterruptionsObserver.shared.checkForInterruptions()
 54 |
 55 |             let screenshotAttachment = XCTAttachment(screenshot: xcuiapplication.screenshot())
    |                                                                  |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                                                                  `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
 56 |             screenshotAttachment.lifetime = .deleteOnSuccess
 57 |             activity.add(screenshotAttachment)
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Page.swift:108:38: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
106 |             var results: PageExistsResults?
107 |             repeat {
108 |                 let currentResults = exists()
    |                                      |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
109 |                 guard !currentResults.isExisting else { return }
110 |                 results = currentResults
[22/36] Compiling Sisyphos PageBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Page.swift:144:5: warning: var 'elementPathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
142 | }
143 |
144 | var elementPathCache: [PageElementIdentifier: CacheEntry] = [:]
    |     |- warning: var 'elementPathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: convert 'elementPathCache' to a 'let' constant to make 'Sendable' shared state immutable
    |     |- note: add '@MainActor' to make var 'elementPathCache' part of global actor 'MainActor'
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
145 |
146 | struct CacheEntry {
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Page.swift:39:20: warning: call to main actor-isolated initializer 'init(bundleIdentifier:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 37 |     var xcuiapplication: XCUIApplication {
 38 |         if !application.isEmpty {
 39 |             return XCUIApplication(bundleIdentifier: application)
    |                    `- warning: call to main actor-isolated initializer 'init(bundleIdentifier:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 40 |         } else {
 41 |             return XCUIApplication()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIApplication.h:35:1: note: calls to initializer 'init(bundleIdentifier:)' from outside of its actor context are implicitly asynchronous
 33 |  * Returns a proxy for an application associated with the specified bundle identifier.
 34 |  */
 35 | - (instancetype)initWithBundleIdentifier:(NSString *)bundleIdentifier NS_DESIGNATED_INITIALIZER;
    | `- note: calls to initializer 'init(bundleIdentifier:)' from outside of its actor context are implicitly asynchronous
 36 |
 37 | #if TARGET_OS_OSX || TARGET_OS_MACCATALYST
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Page.swift:41:20: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 39 |             return XCUIApplication(bundleIdentifier: application)
 40 |         } else {
 41 |             return XCUIApplication()
    |                    `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 42 |         }
 43 |     }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIApplication.h:29:1: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
 27 |  * Returns a proxy for the application specified by the "Target Application" target setting.
 28 |  */
 29 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
    | `- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
 30 | + (instancetype)new;
 31 |
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Page.swift:52:20: warning: call to main actor-isolated class method 'runActivity(named:block:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 49 |     /// Checks if the given page exists, that means it's currently visible on the screen as described in the page
 50 |     /// description.
 51 |     func exists() -> PageExistsResults {
    |          `- note: add '@MainActor' to make instance method 'exists()' part of global actor 'MainActor'
 52 |         XCTContext.runActivity(named: "Check if page \(debugName) exists") { activity in
    |                    `- warning: call to main actor-isolated class method 'runActivity(named:block:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 53 |             UIInterruptionsObserver.shared.checkForInterruptions()
 54 |
XCTest.XCTContext.runActivity:2:46: note: calls to class method 'runActivity(named:block:)' from outside of its actor context are implicitly asynchronous
1 | class XCTContext {
2 | @MainActor @preconcurrency public class func runActivity<Result>(named name: String, block: @MainActor (any XCTActivity) throws -> Result) rethrows -> Result}
  |                                              `- note: calls to class method 'runActivity(named:block:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Page.swift:103:20: warning: call to main actor-isolated class method 'runActivity(named:block:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 96 |     ///    ``exists()`` method. It will not fail the test and give a result that you can introspect to find out which
 97 |     ///    elements of a page are missing.
 98 |     func waitForExistence(
    |          `- note: add '@MainActor' to make instance method 'waitForExistence(timeout:file:line:)' part of global actor 'MainActor'
 99 |         timeout: CFTimeInterval = 15,
100 |         file: StaticString = #file,
101 |         line: UInt = #line
102 |     ) {
103 |         XCTContext.runActivity(named: "Wait max \(timeout)s for page \(debugName) to exist") { activity in
    |                    `- warning: call to main actor-isolated class method 'runActivity(named:block:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
104 |             let runLoop = RunLoop.current
105 |             let deadline = Date(timeIntervalSinceNow: timeout)
XCTest.XCTContext.runActivity:2:46: note: calls to class method 'runActivity(named:block:)' from outside of its actor context are implicitly asynchronous
1 | class XCTContext {
2 | @MainActor @preconcurrency public class func runActivity<Result>(named name: String, block: @MainActor (any XCTActivity) throws -> Result) rethrows -> Result}
  |                                              `- note: calls to class method 'runActivity(named:block:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Page.swift:136:51: warning: call to main actor-isolated instance method 'snapshot()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
133 |
134 | extension Page {
135 |     func refreshElementCache() {
    |          `- note: add '@MainActor' to make instance method 'refreshElementCache()' part of global actor 'MainActor'
136 |         guard let snapshot = try? xcuiapplication.snapshot() else {
    |                                                   `- warning: call to main actor-isolated instance method 'snapshot()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
137 |             return
138 |         }
XCUIAutomation.XCUIElement.snapshot:2:22: note: calls to instance method 'snapshot()' from outside of its actor context are implicitly asynchronous
1 | class XCUIElement {
2 | @MainActor open func snapshot() throws -> any XCUIElementSnapshot}
  |                      `- note: calls to instance method 'snapshot()' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Page.swift:55:66: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
 53 |             UIInterruptionsObserver.shared.checkForInterruptions()
 54 |
 55 |             let screenshotAttachment = XCTAttachment(screenshot: xcuiapplication.screenshot())
    |                                                                  |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                                                                  `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
 56 |             screenshotAttachment.lifetime = .deleteOnSuccess
 57 |             activity.add(screenshotAttachment)
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Page.swift:108:38: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
106 |             var results: PageExistsResults?
107 |             repeat {
108 |                 let currentResults = exists()
    |                                      |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
109 |                 guard !currentResults.isExisting else { return }
110 |                 results = currentResults
[23/36] Compiling Sisyphos XCUITestCase+CodeGeneration.swift
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Extensions/XCUITestCase+CodeGeneration.swift:53:13: warning: var 'usedPageNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 51 |
 52 |
 53 | private var usedPageNames: Set<String> = []
    |             |- warning: var 'usedPageNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'usedPageNames' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: add '@MainActor' to make var 'usedPageNames' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 54 |
 55 | private extension String {
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Extensions/XCUITestCase+CodeGeneration.swift:28:19: warning: call to main actor-isolated initializer 'init(bundleIdentifier:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
  3 |
  4 | extension XCTestCase {
  5 |     public func startCodeGeneration(
    |                 `- note: add '@MainActor' to make instance method 'startCodeGeneration(application:file:line:)' part of global actor 'MainActor'
  6 |         application: String? = nil,
  7 |         file: String = #file,
    :
 26 |         let app: XCUIApplication
 27 |         if let application {
 28 |             app = XCUIApplication(bundleIdentifier: application)
    |                   `- warning: call to main actor-isolated initializer 'init(bundleIdentifier:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 29 |         } else {
 30 |             app = XCUIApplication()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIApplication.h:35:1: note: calls to initializer 'init(bundleIdentifier:)' from outside of its actor context are implicitly asynchronous
 33 |  * Returns a proxy for an application associated with the specified bundle identifier.
 34 |  */
 35 | - (instancetype)initWithBundleIdentifier:(NSString *)bundleIdentifier NS_DESIGNATED_INITIALIZER;
    | `- note: calls to initializer 'init(bundleIdentifier:)' from outside of its actor context are implicitly asynchronous
 36 |
 37 | #if TARGET_OS_OSX || TARGET_OS_MACCATALYST
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Extensions/XCUITestCase+CodeGeneration.swift:30:19: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
  3 |
  4 | extension XCTestCase {
  5 |     public func startCodeGeneration(
    |                 `- note: add '@MainActor' to make instance method 'startCodeGeneration(application:file:line:)' part of global actor 'MainActor'
  6 |         application: String? = nil,
  7 |         file: String = #file,
    :
 28 |             app = XCUIApplication(bundleIdentifier: application)
 29 |         } else {
 30 |             app = XCUIApplication()
    |                   `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 31 |         }
 32 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIApplication.h:29:1: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
 27 |  * Returns a proxy for the application specified by the "Target Application" target setting.
 28 |  */
 29 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
    | `- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
 30 | + (instancetype)new;
 31 |
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Extensions/XCUITestCase+CodeGeneration.swift:37:41: warning: call to main actor-isolated instance method 'snapshot()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
  3 |
  4 | extension XCTestCase {
  5 |     public func startCodeGeneration(
    |                 `- note: add '@MainActor' to make instance method 'startCodeGeneration(application:file:line:)' part of global actor 'MainActor'
  6 |         application: String? = nil,
  7 |         file: String = #file,
    :
 35 |             RunLoop.current.run(until: Date(timeIntervalSinceNow: 1))
 36 |             guard
 37 |                 let snapshot = try? app.snapshot(),
    |                                         `- warning: call to main actor-isolated instance method 'snapshot()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 38 |                 let page = app.currentPage
 39 |             else { continue }
XCUIAutomation.XCUIElement.snapshot:2:22: note: calls to instance method 'snapshot()' from outside of its actor context are implicitly asynchronous
1 | class XCUIElement {
2 | @MainActor open func snapshot() throws -> any XCUIElementSnapshot}
  |                      `- note: calls to instance method 'snapshot()' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Extensions/XCUITestCase+CodeGeneration.swift:38:32: warning: main actor-isolated property 'currentPage' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
  3 |
  4 | extension XCTestCase {
  5 |     public func startCodeGeneration(
    |                 `- note: add '@MainActor' to make instance method 'startCodeGeneration(application:file:line:)' part of global actor 'MainActor'
  6 |         application: String? = nil,
  7 |         file: String = #file,
    :
 36 |             guard
 37 |                 let snapshot = try? app.snapshot(),
 38 |                 let page = app.currentPage
    |                                `- warning: main actor-isolated property 'currentPage' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 39 |             else { continue }
 40 |
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Extensions/XCUIApplication+CurrentPage.swift:5:9: note: property declared here
 3 |
 4 | public extension XCUIApplication {
 5 |     var currentPage: PageDescription? {
   |         `- note: property declared here
 6 |         guard let snapshot = try? snapshot() else { return nil }
 7 |         return snapshot.toPage()
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Extensions/XCUITestCase+CodeGeneration.swift:41:39: warning: call to main actor-isolated instance method 'findFirstIdentifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
  3 |
  4 | extension XCTestCase {
  5 |     public func startCodeGeneration(
    |                 `- note: add '@MainActor' to make instance method 'startCodeGeneration(application:file:line:)' part of global actor 'MainActor'
  6 |         application: String? = nil,
  7 |         file: String = #file,
    :
 39 |             else { continue }
 40 |
 41 |             let identifier = snapshot.findFirstIdentifier() ?? "GeneratedPage"
    |                                       `- warning: call to main actor-isolated instance method 'findFirstIdentifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 42 |             let sourceWithoutUniqueName = page.generatePageSource(pageName: identifier, applicationName: application)
 43 |             guard lastSource != sourceWithoutUniqueName else { continue }
    :
 87 |     /// Tries to find the first identifier in the element hierarchy that could be used as and identifier for the
 88 |     /// page that is currently displayed.
 89 |     func findFirstIdentifier() -> String? {
    |          `- note: calls to instance method 'findFirstIdentifier()' from outside of its actor context are implicitly asynchronous
 90 |         if let identifier = find(elementType: .navigationBar)?.identifier, !identifier.isEmpty {
 91 |             return identifier
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Internal/Snapshot.swift:10:22: warning: main actor-isolated property 'elementType' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 8 |
 9 |     var elementType: XCUIElement.ElementType {
10 |         xcuisnapshot.elementType
   |                      `- warning: main actor-isolated property 'elementType' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
11 |     }
12 |     var identifier: String {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIElementAttributes.h:50:38: note: property declared here
 48 |
 49 | /*! The type of the element. /seealso XCUIElementType. */
 50 | @property (readonly) XCUIElementType elementType;
    |                                      `- note: property declared here
 51 |
 52 | /*! Whether or not the element is enabled for user interaction. */
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Internal/Snapshot.swift:13:22: warning: main actor-isolated property 'identifier' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
11 |     }
12 |     var identifier: String {
13 |         xcuisnapshot.identifier
   |                      `- warning: main actor-isolated property 'identifier' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
14 |     }
15 |     var label: String {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIElementAttributes.h:35:32: note: property declared here
 33 |
 34 | /*! The accessibility identifier. */
 35 | @property (readonly) NSString *identifier;
    |                                `- note: property declared here
 36 |
 37 | /*! The frame of the element in the screen coordinate space. */
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Internal/Snapshot.swift:16:22: warning: main actor-isolated property 'label' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
14 |     }
15 |     var label: String {
16 |         xcuisnapshot.label
   |                      `- warning: main actor-isolated property 'label' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
17 |     }
18 |     var value: String? {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIElementAttributes.h:47:38: note: property declared here
 45 |
 46 | /*! The label attribute of the element. */
 47 | @property (readonly, copy) NSString *label;
    |                                      `- note: property declared here
 48 |
 49 | /*! The type of the element. /seealso XCUIElementType. */
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Internal/Snapshot.swift:19:22: warning: main actor-isolated property 'value' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
17 |     }
18 |     var value: String? {
19 |         xcuisnapshot.value as? String
   |                      `- warning: main actor-isolated property 'value' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
20 |     }
21 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIElementAttributes.h:41:35: note: property declared here
 39 |
 40 | /*! The raw value attribute of the element. Depending on the element, the actual type can vary. */
 41 | @property (readonly, nullable) id value;
    |                                   `- note: property declared here
 42 |
 43 | /*! The title attribute of the element. */
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Internal/Snapshot.swift:27:33: warning: main actor-isolated property 'children' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
25 |         index = counter.next()
26 |         self.xcuisnapshot = xcuisnapshot
27 |         children = xcuisnapshot.children.map { child in
   |                                 `- warning: main actor-isolated property 'children' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
28 |             Snapshot(
29 |                 xcuisnapshot: child,
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIElement.h:341:56: note: property declared here
339 | @protocol XCUIElementSnapshot <XCUIElementAttributes>
340 |
341 | @property (readonly) NSArray<id<XCUIElementSnapshot>> *children;
    |                                                        `- note: property declared here
342 |
343 | /*!
[24/36] Compiling Sisyphos XCUITestCase+InterruptionMonitor.swift
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Extensions/XCUITestCase+CodeGeneration.swift:53:13: warning: var 'usedPageNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 51 |
 52 |
 53 | private var usedPageNames: Set<String> = []
    |             |- warning: var 'usedPageNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'usedPageNames' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: add '@MainActor' to make var 'usedPageNames' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 54 |
 55 | private extension String {
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Extensions/XCUITestCase+CodeGeneration.swift:28:19: warning: call to main actor-isolated initializer 'init(bundleIdentifier:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
  3 |
  4 | extension XCTestCase {
  5 |     public func startCodeGeneration(
    |                 `- note: add '@MainActor' to make instance method 'startCodeGeneration(application:file:line:)' part of global actor 'MainActor'
  6 |         application: String? = nil,
  7 |         file: String = #file,
    :
 26 |         let app: XCUIApplication
 27 |         if let application {
 28 |             app = XCUIApplication(bundleIdentifier: application)
    |                   `- warning: call to main actor-isolated initializer 'init(bundleIdentifier:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 29 |         } else {
 30 |             app = XCUIApplication()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIApplication.h:35:1: note: calls to initializer 'init(bundleIdentifier:)' from outside of its actor context are implicitly asynchronous
 33 |  * Returns a proxy for an application associated with the specified bundle identifier.
 34 |  */
 35 | - (instancetype)initWithBundleIdentifier:(NSString *)bundleIdentifier NS_DESIGNATED_INITIALIZER;
    | `- note: calls to initializer 'init(bundleIdentifier:)' from outside of its actor context are implicitly asynchronous
 36 |
 37 | #if TARGET_OS_OSX || TARGET_OS_MACCATALYST
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Extensions/XCUITestCase+CodeGeneration.swift:30:19: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
  3 |
  4 | extension XCTestCase {
  5 |     public func startCodeGeneration(
    |                 `- note: add '@MainActor' to make instance method 'startCodeGeneration(application:file:line:)' part of global actor 'MainActor'
  6 |         application: String? = nil,
  7 |         file: String = #file,
    :
 28 |             app = XCUIApplication(bundleIdentifier: application)
 29 |         } else {
 30 |             app = XCUIApplication()
    |                   `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 31 |         }
 32 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIApplication.h:29:1: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
 27 |  * Returns a proxy for the application specified by the "Target Application" target setting.
 28 |  */
 29 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
    | `- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
 30 | + (instancetype)new;
 31 |
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Extensions/XCUITestCase+CodeGeneration.swift:37:41: warning: call to main actor-isolated instance method 'snapshot()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
  3 |
  4 | extension XCTestCase {
  5 |     public func startCodeGeneration(
    |                 `- note: add '@MainActor' to make instance method 'startCodeGeneration(application:file:line:)' part of global actor 'MainActor'
  6 |         application: String? = nil,
  7 |         file: String = #file,
    :
 35 |             RunLoop.current.run(until: Date(timeIntervalSinceNow: 1))
 36 |             guard
 37 |                 let snapshot = try? app.snapshot(),
    |                                         `- warning: call to main actor-isolated instance method 'snapshot()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 38 |                 let page = app.currentPage
 39 |             else { continue }
XCUIAutomation.XCUIElement.snapshot:2:22: note: calls to instance method 'snapshot()' from outside of its actor context are implicitly asynchronous
1 | class XCUIElement {
2 | @MainActor open func snapshot() throws -> any XCUIElementSnapshot}
  |                      `- note: calls to instance method 'snapshot()' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Extensions/XCUITestCase+CodeGeneration.swift:38:32: warning: main actor-isolated property 'currentPage' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
  3 |
  4 | extension XCTestCase {
  5 |     public func startCodeGeneration(
    |                 `- note: add '@MainActor' to make instance method 'startCodeGeneration(application:file:line:)' part of global actor 'MainActor'
  6 |         application: String? = nil,
  7 |         file: String = #file,
    :
 36 |             guard
 37 |                 let snapshot = try? app.snapshot(),
 38 |                 let page = app.currentPage
    |                                `- warning: main actor-isolated property 'currentPage' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 39 |             else { continue }
 40 |
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Extensions/XCUIApplication+CurrentPage.swift:5:9: note: property declared here
 3 |
 4 | public extension XCUIApplication {
 5 |     var currentPage: PageDescription? {
   |         `- note: property declared here
 6 |         guard let snapshot = try? snapshot() else { return nil }
 7 |         return snapshot.toPage()
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Extensions/XCUITestCase+CodeGeneration.swift:41:39: warning: call to main actor-isolated instance method 'findFirstIdentifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
  3 |
  4 | extension XCTestCase {
  5 |     public func startCodeGeneration(
    |                 `- note: add '@MainActor' to make instance method 'startCodeGeneration(application:file:line:)' part of global actor 'MainActor'
  6 |         application: String? = nil,
  7 |         file: String = #file,
    :
 39 |             else { continue }
 40 |
 41 |             let identifier = snapshot.findFirstIdentifier() ?? "GeneratedPage"
    |                                       `- warning: call to main actor-isolated instance method 'findFirstIdentifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 42 |             let sourceWithoutUniqueName = page.generatePageSource(pageName: identifier, applicationName: application)
 43 |             guard lastSource != sourceWithoutUniqueName else { continue }
    :
 87 |     /// Tries to find the first identifier in the element hierarchy that could be used as and identifier for the
 88 |     /// page that is currently displayed.
 89 |     func findFirstIdentifier() -> String? {
    |          `- note: calls to instance method 'findFirstIdentifier()' from outside of its actor context are implicitly asynchronous
 90 |         if let identifier = find(elementType: .navigationBar)?.identifier, !identifier.isEmpty {
 91 |             return identifier
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Internal/Snapshot.swift:10:22: warning: main actor-isolated property 'elementType' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 8 |
 9 |     var elementType: XCUIElement.ElementType {
10 |         xcuisnapshot.elementType
   |                      `- warning: main actor-isolated property 'elementType' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
11 |     }
12 |     var identifier: String {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIElementAttributes.h:50:38: note: property declared here
 48 |
 49 | /*! The type of the element. /seealso XCUIElementType. */
 50 | @property (readonly) XCUIElementType elementType;
    |                                      `- note: property declared here
 51 |
 52 | /*! Whether or not the element is enabled for user interaction. */
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Internal/Snapshot.swift:13:22: warning: main actor-isolated property 'identifier' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
11 |     }
12 |     var identifier: String {
13 |         xcuisnapshot.identifier
   |                      `- warning: main actor-isolated property 'identifier' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
14 |     }
15 |     var label: String {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIElementAttributes.h:35:32: note: property declared here
 33 |
 34 | /*! The accessibility identifier. */
 35 | @property (readonly) NSString *identifier;
    |                                `- note: property declared here
 36 |
 37 | /*! The frame of the element in the screen coordinate space. */
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Internal/Snapshot.swift:16:22: warning: main actor-isolated property 'label' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
14 |     }
15 |     var label: String {
16 |         xcuisnapshot.label
   |                      `- warning: main actor-isolated property 'label' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
17 |     }
18 |     var value: String? {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIElementAttributes.h:47:38: note: property declared here
 45 |
 46 | /*! The label attribute of the element. */
 47 | @property (readonly, copy) NSString *label;
    |                                      `- note: property declared here
 48 |
 49 | /*! The type of the element. /seealso XCUIElementType. */
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Internal/Snapshot.swift:19:22: warning: main actor-isolated property 'value' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
17 |     }
18 |     var value: String? {
19 |         xcuisnapshot.value as? String
   |                      `- warning: main actor-isolated property 'value' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
20 |     }
21 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIElementAttributes.h:41:35: note: property declared here
 39 |
 40 | /*! The raw value attribute of the element. Depending on the element, the actual type can vary. */
 41 | @property (readonly, nullable) id value;
    |                                   `- note: property declared here
 42 |
 43 | /*! The title attribute of the element. */
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Internal/Snapshot.swift:27:33: warning: main actor-isolated property 'children' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
25 |         index = counter.next()
26 |         self.xcuisnapshot = xcuisnapshot
27 |         children = xcuisnapshot.children.map { child in
   |                                 `- warning: main actor-isolated property 'children' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
28 |             Snapshot(
29 |                 xcuisnapshot: child,
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIElement.h:341:56: note: property declared here
339 | @protocol XCUIElementSnapshot <XCUIElementAttributes>
340 |
341 | @property (readonly) NSArray<id<XCUIElementSnapshot>> *children;
    |                                                        `- note: property declared here
342 |
343 | /*!
[25/36] Compiling Sisyphos ElementFinder.swift
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Extensions/XCUITestCase+CodeGeneration.swift:53:13: warning: var 'usedPageNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 51 |
 52 |
 53 | private var usedPageNames: Set<String> = []
    |             |- warning: var 'usedPageNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'usedPageNames' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: add '@MainActor' to make var 'usedPageNames' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 54 |
 55 | private extension String {
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Extensions/XCUITestCase+CodeGeneration.swift:28:19: warning: call to main actor-isolated initializer 'init(bundleIdentifier:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
  3 |
  4 | extension XCTestCase {
  5 |     public func startCodeGeneration(
    |                 `- note: add '@MainActor' to make instance method 'startCodeGeneration(application:file:line:)' part of global actor 'MainActor'
  6 |         application: String? = nil,
  7 |         file: String = #file,
    :
 26 |         let app: XCUIApplication
 27 |         if let application {
 28 |             app = XCUIApplication(bundleIdentifier: application)
    |                   `- warning: call to main actor-isolated initializer 'init(bundleIdentifier:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 29 |         } else {
 30 |             app = XCUIApplication()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIApplication.h:35:1: note: calls to initializer 'init(bundleIdentifier:)' from outside of its actor context are implicitly asynchronous
 33 |  * Returns a proxy for an application associated with the specified bundle identifier.
 34 |  */
 35 | - (instancetype)initWithBundleIdentifier:(NSString *)bundleIdentifier NS_DESIGNATED_INITIALIZER;
    | `- note: calls to initializer 'init(bundleIdentifier:)' from outside of its actor context are implicitly asynchronous
 36 |
 37 | #if TARGET_OS_OSX || TARGET_OS_MACCATALYST
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Extensions/XCUITestCase+CodeGeneration.swift:30:19: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
  3 |
  4 | extension XCTestCase {
  5 |     public func startCodeGeneration(
    |                 `- note: add '@MainActor' to make instance method 'startCodeGeneration(application:file:line:)' part of global actor 'MainActor'
  6 |         application: String? = nil,
  7 |         file: String = #file,
    :
 28 |             app = XCUIApplication(bundleIdentifier: application)
 29 |         } else {
 30 |             app = XCUIApplication()
    |                   `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 31 |         }
 32 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIApplication.h:29:1: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
 27 |  * Returns a proxy for the application specified by the "Target Application" target setting.
 28 |  */
 29 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
    | `- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
 30 | + (instancetype)new;
 31 |
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Extensions/XCUITestCase+CodeGeneration.swift:37:41: warning: call to main actor-isolated instance method 'snapshot()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
  3 |
  4 | extension XCTestCase {
  5 |     public func startCodeGeneration(
    |                 `- note: add '@MainActor' to make instance method 'startCodeGeneration(application:file:line:)' part of global actor 'MainActor'
  6 |         application: String? = nil,
  7 |         file: String = #file,
    :
 35 |             RunLoop.current.run(until: Date(timeIntervalSinceNow: 1))
 36 |             guard
 37 |                 let snapshot = try? app.snapshot(),
    |                                         `- warning: call to main actor-isolated instance method 'snapshot()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 38 |                 let page = app.currentPage
 39 |             else { continue }
XCUIAutomation.XCUIElement.snapshot:2:22: note: calls to instance method 'snapshot()' from outside of its actor context are implicitly asynchronous
1 | class XCUIElement {
2 | @MainActor open func snapshot() throws -> any XCUIElementSnapshot}
  |                      `- note: calls to instance method 'snapshot()' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Extensions/XCUITestCase+CodeGeneration.swift:38:32: warning: main actor-isolated property 'currentPage' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
  3 |
  4 | extension XCTestCase {
  5 |     public func startCodeGeneration(
    |                 `- note: add '@MainActor' to make instance method 'startCodeGeneration(application:file:line:)' part of global actor 'MainActor'
  6 |         application: String? = nil,
  7 |         file: String = #file,
    :
 36 |             guard
 37 |                 let snapshot = try? app.snapshot(),
 38 |                 let page = app.currentPage
    |                                `- warning: main actor-isolated property 'currentPage' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 39 |             else { continue }
 40 |
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Extensions/XCUIApplication+CurrentPage.swift:5:9: note: property declared here
 3 |
 4 | public extension XCUIApplication {
 5 |     var currentPage: PageDescription? {
   |         `- note: property declared here
 6 |         guard let snapshot = try? snapshot() else { return nil }
 7 |         return snapshot.toPage()
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Extensions/XCUITestCase+CodeGeneration.swift:41:39: warning: call to main actor-isolated instance method 'findFirstIdentifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
  3 |
  4 | extension XCTestCase {
  5 |     public func startCodeGeneration(
    |                 `- note: add '@MainActor' to make instance method 'startCodeGeneration(application:file:line:)' part of global actor 'MainActor'
  6 |         application: String? = nil,
  7 |         file: String = #file,
    :
 39 |             else { continue }
 40 |
 41 |             let identifier = snapshot.findFirstIdentifier() ?? "GeneratedPage"
    |                                       `- warning: call to main actor-isolated instance method 'findFirstIdentifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 42 |             let sourceWithoutUniqueName = page.generatePageSource(pageName: identifier, applicationName: application)
 43 |             guard lastSource != sourceWithoutUniqueName else { continue }
    :
 87 |     /// Tries to find the first identifier in the element hierarchy that could be used as and identifier for the
 88 |     /// page that is currently displayed.
 89 |     func findFirstIdentifier() -> String? {
    |          `- note: calls to instance method 'findFirstIdentifier()' from outside of its actor context are implicitly asynchronous
 90 |         if let identifier = find(elementType: .navigationBar)?.identifier, !identifier.isEmpty {
 91 |             return identifier
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Internal/Snapshot.swift:10:22: warning: main actor-isolated property 'elementType' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 8 |
 9 |     var elementType: XCUIElement.ElementType {
10 |         xcuisnapshot.elementType
   |                      `- warning: main actor-isolated property 'elementType' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
11 |     }
12 |     var identifier: String {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIElementAttributes.h:50:38: note: property declared here
 48 |
 49 | /*! The type of the element. /seealso XCUIElementType. */
 50 | @property (readonly) XCUIElementType elementType;
    |                                      `- note: property declared here
 51 |
 52 | /*! Whether or not the element is enabled for user interaction. */
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Internal/Snapshot.swift:13:22: warning: main actor-isolated property 'identifier' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
11 |     }
12 |     var identifier: String {
13 |         xcuisnapshot.identifier
   |                      `- warning: main actor-isolated property 'identifier' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
14 |     }
15 |     var label: String {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIElementAttributes.h:35:32: note: property declared here
 33 |
 34 | /*! The accessibility identifier. */
 35 | @property (readonly) NSString *identifier;
    |                                `- note: property declared here
 36 |
 37 | /*! The frame of the element in the screen coordinate space. */
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Internal/Snapshot.swift:16:22: warning: main actor-isolated property 'label' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
14 |     }
15 |     var label: String {
16 |         xcuisnapshot.label
   |                      `- warning: main actor-isolated property 'label' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
17 |     }
18 |     var value: String? {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIElementAttributes.h:47:38: note: property declared here
 45 |
 46 | /*! The label attribute of the element. */
 47 | @property (readonly, copy) NSString *label;
    |                                      `- note: property declared here
 48 |
 49 | /*! The type of the element. /seealso XCUIElementType. */
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Internal/Snapshot.swift:19:22: warning: main actor-isolated property 'value' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
17 |     }
18 |     var value: String? {
19 |         xcuisnapshot.value as? String
   |                      `- warning: main actor-isolated property 'value' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
20 |     }
21 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIElementAttributes.h:41:35: note: property declared here
 39 |
 40 | /*! The raw value attribute of the element. Depending on the element, the actual type can vary. */
 41 | @property (readonly, nullable) id value;
    |                                   `- note: property declared here
 42 |
 43 | /*! The title attribute of the element. */
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Internal/Snapshot.swift:27:33: warning: main actor-isolated property 'children' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
25 |         index = counter.next()
26 |         self.xcuisnapshot = xcuisnapshot
27 |         children = xcuisnapshot.children.map { child in
   |                                 `- warning: main actor-isolated property 'children' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
28 |             Snapshot(
29 |                 xcuisnapshot: child,
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIElement.h:341:56: note: property declared here
339 | @protocol XCUIElementSnapshot <XCUIElementAttributes>
340 |
341 | @property (readonly) NSArray<id<XCUIElementSnapshot>> *children;
    |                                                        `- note: property declared here
342 |
343 | /*!
[26/36] Compiling Sisyphos Snapshot.swift
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Extensions/XCUITestCase+CodeGeneration.swift:53:13: warning: var 'usedPageNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 51 |
 52 |
 53 | private var usedPageNames: Set<String> = []
    |             |- warning: var 'usedPageNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'usedPageNames' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: add '@MainActor' to make var 'usedPageNames' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 54 |
 55 | private extension String {
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Extensions/XCUITestCase+CodeGeneration.swift:28:19: warning: call to main actor-isolated initializer 'init(bundleIdentifier:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
  3 |
  4 | extension XCTestCase {
  5 |     public func startCodeGeneration(
    |                 `- note: add '@MainActor' to make instance method 'startCodeGeneration(application:file:line:)' part of global actor 'MainActor'
  6 |         application: String? = nil,
  7 |         file: String = #file,
    :
 26 |         let app: XCUIApplication
 27 |         if let application {
 28 |             app = XCUIApplication(bundleIdentifier: application)
    |                   `- warning: call to main actor-isolated initializer 'init(bundleIdentifier:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 29 |         } else {
 30 |             app = XCUIApplication()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIApplication.h:35:1: note: calls to initializer 'init(bundleIdentifier:)' from outside of its actor context are implicitly asynchronous
 33 |  * Returns a proxy for an application associated with the specified bundle identifier.
 34 |  */
 35 | - (instancetype)initWithBundleIdentifier:(NSString *)bundleIdentifier NS_DESIGNATED_INITIALIZER;
    | `- note: calls to initializer 'init(bundleIdentifier:)' from outside of its actor context are implicitly asynchronous
 36 |
 37 | #if TARGET_OS_OSX || TARGET_OS_MACCATALYST
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Extensions/XCUITestCase+CodeGeneration.swift:30:19: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
  3 |
  4 | extension XCTestCase {
  5 |     public func startCodeGeneration(
    |                 `- note: add '@MainActor' to make instance method 'startCodeGeneration(application:file:line:)' part of global actor 'MainActor'
  6 |         application: String? = nil,
  7 |         file: String = #file,
    :
 28 |             app = XCUIApplication(bundleIdentifier: application)
 29 |         } else {
 30 |             app = XCUIApplication()
    |                   `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 31 |         }
 32 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIApplication.h:29:1: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
 27 |  * Returns a proxy for the application specified by the "Target Application" target setting.
 28 |  */
 29 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
    | `- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
 30 | + (instancetype)new;
 31 |
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Extensions/XCUITestCase+CodeGeneration.swift:37:41: warning: call to main actor-isolated instance method 'snapshot()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
  3 |
  4 | extension XCTestCase {
  5 |     public func startCodeGeneration(
    |                 `- note: add '@MainActor' to make instance method 'startCodeGeneration(application:file:line:)' part of global actor 'MainActor'
  6 |         application: String? = nil,
  7 |         file: String = #file,
    :
 35 |             RunLoop.current.run(until: Date(timeIntervalSinceNow: 1))
 36 |             guard
 37 |                 let snapshot = try? app.snapshot(),
    |                                         `- warning: call to main actor-isolated instance method 'snapshot()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 38 |                 let page = app.currentPage
 39 |             else { continue }
XCUIAutomation.XCUIElement.snapshot:2:22: note: calls to instance method 'snapshot()' from outside of its actor context are implicitly asynchronous
1 | class XCUIElement {
2 | @MainActor open func snapshot() throws -> any XCUIElementSnapshot}
  |                      `- note: calls to instance method 'snapshot()' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Extensions/XCUITestCase+CodeGeneration.swift:38:32: warning: main actor-isolated property 'currentPage' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
  3 |
  4 | extension XCTestCase {
  5 |     public func startCodeGeneration(
    |                 `- note: add '@MainActor' to make instance method 'startCodeGeneration(application:file:line:)' part of global actor 'MainActor'
  6 |         application: String? = nil,
  7 |         file: String = #file,
    :
 36 |             guard
 37 |                 let snapshot = try? app.snapshot(),
 38 |                 let page = app.currentPage
    |                                `- warning: main actor-isolated property 'currentPage' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 39 |             else { continue }
 40 |
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Extensions/XCUIApplication+CurrentPage.swift:5:9: note: property declared here
 3 |
 4 | public extension XCUIApplication {
 5 |     var currentPage: PageDescription? {
   |         `- note: property declared here
 6 |         guard let snapshot = try? snapshot() else { return nil }
 7 |         return snapshot.toPage()
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Extensions/XCUITestCase+CodeGeneration.swift:41:39: warning: call to main actor-isolated instance method 'findFirstIdentifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
  3 |
  4 | extension XCTestCase {
  5 |     public func startCodeGeneration(
    |                 `- note: add '@MainActor' to make instance method 'startCodeGeneration(application:file:line:)' part of global actor 'MainActor'
  6 |         application: String? = nil,
  7 |         file: String = #file,
    :
 39 |             else { continue }
 40 |
 41 |             let identifier = snapshot.findFirstIdentifier() ?? "GeneratedPage"
    |                                       `- warning: call to main actor-isolated instance method 'findFirstIdentifier()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 42 |             let sourceWithoutUniqueName = page.generatePageSource(pageName: identifier, applicationName: application)
 43 |             guard lastSource != sourceWithoutUniqueName else { continue }
    :
 87 |     /// Tries to find the first identifier in the element hierarchy that could be used as and identifier for the
 88 |     /// page that is currently displayed.
 89 |     func findFirstIdentifier() -> String? {
    |          `- note: calls to instance method 'findFirstIdentifier()' from outside of its actor context are implicitly asynchronous
 90 |         if let identifier = find(elementType: .navigationBar)?.identifier, !identifier.isEmpty {
 91 |             return identifier
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Internal/Snapshot.swift:10:22: warning: main actor-isolated property 'elementType' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 8 |
 9 |     var elementType: XCUIElement.ElementType {
10 |         xcuisnapshot.elementType
   |                      `- warning: main actor-isolated property 'elementType' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
11 |     }
12 |     var identifier: String {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIElementAttributes.h:50:38: note: property declared here
 48 |
 49 | /*! The type of the element. /seealso XCUIElementType. */
 50 | @property (readonly) XCUIElementType elementType;
    |                                      `- note: property declared here
 51 |
 52 | /*! Whether or not the element is enabled for user interaction. */
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Internal/Snapshot.swift:13:22: warning: main actor-isolated property 'identifier' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
11 |     }
12 |     var identifier: String {
13 |         xcuisnapshot.identifier
   |                      `- warning: main actor-isolated property 'identifier' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
14 |     }
15 |     var label: String {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIElementAttributes.h:35:32: note: property declared here
 33 |
 34 | /*! The accessibility identifier. */
 35 | @property (readonly) NSString *identifier;
    |                                `- note: property declared here
 36 |
 37 | /*! The frame of the element in the screen coordinate space. */
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Internal/Snapshot.swift:16:22: warning: main actor-isolated property 'label' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
14 |     }
15 |     var label: String {
16 |         xcuisnapshot.label
   |                      `- warning: main actor-isolated property 'label' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
17 |     }
18 |     var value: String? {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIElementAttributes.h:47:38: note: property declared here
 45 |
 46 | /*! The label attribute of the element. */
 47 | @property (readonly, copy) NSString *label;
    |                                      `- note: property declared here
 48 |
 49 | /*! The type of the element. /seealso XCUIElementType. */
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Internal/Snapshot.swift:19:22: warning: main actor-isolated property 'value' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
17 |     }
18 |     var value: String? {
19 |         xcuisnapshot.value as? String
   |                      `- warning: main actor-isolated property 'value' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
20 |     }
21 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIElementAttributes.h:41:35: note: property declared here
 39 |
 40 | /*! The raw value attribute of the element. Depending on the element, the actual type can vary. */
 41 | @property (readonly, nullable) id value;
    |                                   `- note: property declared here
 42 |
 43 | /*! The title attribute of the element. */
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Internal/Snapshot.swift:27:33: warning: main actor-isolated property 'children' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
25 |         index = counter.next()
26 |         self.xcuisnapshot = xcuisnapshot
27 |         children = xcuisnapshot.children.map { child in
   |                                 `- warning: main actor-isolated property 'children' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
28 |             Snapshot(
29 |                 xcuisnapshot: child,
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIElement.h:341:56: note: property declared here
339 | @protocol XCUIElementSnapshot <XCUIElementAttributes>
340 |
341 | @property (readonly) NSArray<id<XCUIElementSnapshot>> *children;
    |                                                        `- note: property declared here
342 |
343 | /*!
[27/36] Compiling Sisyphos NavigationBar.swift
[28/36] Compiling Sisyphos Other.swift
[29/36] Compiling Sisyphos SecureTextField.swift
[30/36] Compiling Sisyphos StaticText.swift
[31/36] Compiling Sisyphos Switch.swift
[32/36] Compiling Sisyphos TabBar.swift
[33/36] Compiling Sisyphos DefaultAlert.swift
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Extensions/NSPredicate+Description.swift:20:13: warning: var 'snapshotByPredicate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 | /// snapshot that is used for matching in the predicate. This is needed so we can provide useful output in the test
19 | /// reports.
20 | private var snapshotByPredicate: NSMapTable<NSPredicate, XCUIElementSnapshot> = NSMapTable.weakToStrongObjects()
   |             |- warning: var 'snapshotByPredicate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert 'snapshotByPredicate' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make var 'snapshotByPredicate' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 |
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Extensions/NSPredicate+Description.swift:10:29: warning: call to main actor-isolated instance method 'matches(snapshot:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 8 |         self.init(block: { element, _ in
 9 |             guard let elementSnapshot = element as? XCUIElementSnapshot else { return false }
10 |             return snapshot.matches(snapshot: elementSnapshot)
   |                             `- warning: call to main actor-isolated instance method 'matches(snapshot:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
11 |         })
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Extensions/XCUIElementSnapshot+Matching.swift:24:10: note: calls to instance method 'matches(snapshot:)' from outside of its actor context are implicitly asynchronous
22 |
23 |     /// Checks if the given snapshot matches this element snapshot, so both snapshots are snapshots of the same element.
24 |     func matches(snapshot: XCUIElementSnapshot) -> Bool {
   |          `- note: calls to instance method 'matches(snapshot:)' from outside of its actor context are implicitly asynchronous
25 |         // The private Apple API crashes if elements have different types. That's why we check upfront.
26 |         guard snapshot.elementType == self.elementType else { return false }
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Extensions/NSPredicate+Description.swift:43:33: warning: main actor-isolated property 'elementType' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
41 |         guard let snapshot = snapshotByPredicate.object(forKey: self) else { return super.description }
42 |         var attributes: [String] = [
43 |             "element=\(snapshot.elementType)",
   |                                 `- warning: main actor-isolated property 'elementType' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
44 |         ]
45 |         if !snapshot.identifier.isEmpty {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIElementAttributes.h:50:38: note: property declared here
 48 |
 49 | /*! The type of the element. /seealso XCUIElementType. */
 50 | @property (readonly) XCUIElementType elementType;
    |                                      `- note: property declared here
 51 |
 52 | /*! Whether or not the element is enabled for user interaction. */
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Extensions/NSPredicate+Description.swift:45:22: warning: main actor-isolated property 'identifier' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
43 |             "element=\(snapshot.elementType)",
44 |         ]
45 |         if !snapshot.identifier.isEmpty {
   |                      `- warning: main actor-isolated property 'identifier' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
46 |             attributes.append("identifier=\(snapshot.identifier.debugDescription)")
47 |         }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIElementAttributes.h:35:32: note: property declared here
 33 |
 34 | /*! The accessibility identifier. */
 35 | @property (readonly) NSString *identifier;
    |                                `- note: property declared here
 36 |
 37 | /*! The frame of the element in the screen coordinate space. */
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Extensions/NSPredicate+Description.swift:46:54: warning: main actor-isolated property 'identifier' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
44 |         ]
45 |         if !snapshot.identifier.isEmpty {
46 |             attributes.append("identifier=\(snapshot.identifier.debugDescription)")
   |                                                      `- warning: main actor-isolated property 'identifier' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
47 |         }
48 |         if !snapshot.label.isEmpty {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIElementAttributes.h:35:32: note: property declared here
 33 |
 34 | /*! The accessibility identifier. */
 35 | @property (readonly) NSString *identifier;
    |                                `- note: property declared here
 36 |
 37 | /*! The frame of the element in the screen coordinate space. */
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Extensions/NSPredicate+Description.swift:48:22: warning: main actor-isolated property 'label' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
46 |             attributes.append("identifier=\(snapshot.identifier.debugDescription)")
47 |         }
48 |         if !snapshot.label.isEmpty {
   |                      `- warning: main actor-isolated property 'label' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
49 |             attributes.append("label=\(snapshot.label.debugDescription)")
50 |         }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIElementAttributes.h:47:38: note: property declared here
 45 |
 46 | /*! The label attribute of the element. */
 47 | @property (readonly, copy) NSString *label;
    |                                      `- note: property declared here
 48 |
 49 | /*! The type of the element. /seealso XCUIElementType. */
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Extensions/NSPredicate+Description.swift:49:49: warning: main actor-isolated property 'label' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
47 |         }
48 |         if !snapshot.label.isEmpty {
49 |             attributes.append("label=\(snapshot.label.debugDescription)")
   |                                                 `- warning: main actor-isolated property 'label' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
50 |         }
51 |         if let value = snapshot.value as? String {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIElementAttributes.h:47:38: note: property declared here
 45 |
 46 | /*! The label attribute of the element. */
 47 | @property (readonly, copy) NSString *label;
    |                                      `- note: property declared here
 48 |
 49 | /*! The type of the element. /seealso XCUIElementType. */
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Extensions/NSPredicate+Description.swift:51:33: warning: main actor-isolated property 'value' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
49 |             attributes.append("label=\(snapshot.label.debugDescription)")
50 |         }
51 |         if let value = snapshot.value as? String {
   |                                 `- warning: main actor-isolated property 'value' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
52 |             attributes.append("value=\(value.debugDescription)")
53 |         }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIElementAttributes.h:41:35: note: property declared here
 39 |
 40 | /*! The raw value attribute of the element. Depending on the element, the actual type can vary. */
 41 | @property (readonly, nullable) id value;
    |                                   `- note: property declared here
 42 |
 43 | /*! The title attribute of the element. */
[34/36] Compiling Sisyphos DefaultPermissionAlert.swift
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Extensions/NSPredicate+Description.swift:20:13: warning: var 'snapshotByPredicate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 | /// snapshot that is used for matching in the predicate. This is needed so we can provide useful output in the test
19 | /// reports.
20 | private var snapshotByPredicate: NSMapTable<NSPredicate, XCUIElementSnapshot> = NSMapTable.weakToStrongObjects()
   |             |- warning: var 'snapshotByPredicate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert 'snapshotByPredicate' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make var 'snapshotByPredicate' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 |
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Extensions/NSPredicate+Description.swift:10:29: warning: call to main actor-isolated instance method 'matches(snapshot:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 8 |         self.init(block: { element, _ in
 9 |             guard let elementSnapshot = element as? XCUIElementSnapshot else { return false }
10 |             return snapshot.matches(snapshot: elementSnapshot)
   |                             `- warning: call to main actor-isolated instance method 'matches(snapshot:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
11 |         })
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Extensions/XCUIElementSnapshot+Matching.swift:24:10: note: calls to instance method 'matches(snapshot:)' from outside of its actor context are implicitly asynchronous
22 |
23 |     /// Checks if the given snapshot matches this element snapshot, so both snapshots are snapshots of the same element.
24 |     func matches(snapshot: XCUIElementSnapshot) -> Bool {
   |          `- note: calls to instance method 'matches(snapshot:)' from outside of its actor context are implicitly asynchronous
25 |         // The private Apple API crashes if elements have different types. That's why we check upfront.
26 |         guard snapshot.elementType == self.elementType else { return false }
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Extensions/NSPredicate+Description.swift:43:33: warning: main actor-isolated property 'elementType' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
41 |         guard let snapshot = snapshotByPredicate.object(forKey: self) else { return super.description }
42 |         var attributes: [String] = [
43 |             "element=\(snapshot.elementType)",
   |                                 `- warning: main actor-isolated property 'elementType' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
44 |         ]
45 |         if !snapshot.identifier.isEmpty {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIElementAttributes.h:50:38: note: property declared here
 48 |
 49 | /*! The type of the element. /seealso XCUIElementType. */
 50 | @property (readonly) XCUIElementType elementType;
    |                                      `- note: property declared here
 51 |
 52 | /*! Whether or not the element is enabled for user interaction. */
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Extensions/NSPredicate+Description.swift:45:22: warning: main actor-isolated property 'identifier' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
43 |             "element=\(snapshot.elementType)",
44 |         ]
45 |         if !snapshot.identifier.isEmpty {
   |                      `- warning: main actor-isolated property 'identifier' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
46 |             attributes.append("identifier=\(snapshot.identifier.debugDescription)")
47 |         }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIElementAttributes.h:35:32: note: property declared here
 33 |
 34 | /*! The accessibility identifier. */
 35 | @property (readonly) NSString *identifier;
    |                                `- note: property declared here
 36 |
 37 | /*! The frame of the element in the screen coordinate space. */
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Extensions/NSPredicate+Description.swift:46:54: warning: main actor-isolated property 'identifier' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
44 |         ]
45 |         if !snapshot.identifier.isEmpty {
46 |             attributes.append("identifier=\(snapshot.identifier.debugDescription)")
   |                                                      `- warning: main actor-isolated property 'identifier' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
47 |         }
48 |         if !snapshot.label.isEmpty {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIElementAttributes.h:35:32: note: property declared here
 33 |
 34 | /*! The accessibility identifier. */
 35 | @property (readonly) NSString *identifier;
    |                                `- note: property declared here
 36 |
 37 | /*! The frame of the element in the screen coordinate space. */
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Extensions/NSPredicate+Description.swift:48:22: warning: main actor-isolated property 'label' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
46 |             attributes.append("identifier=\(snapshot.identifier.debugDescription)")
47 |         }
48 |         if !snapshot.label.isEmpty {
   |                      `- warning: main actor-isolated property 'label' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
49 |             attributes.append("label=\(snapshot.label.debugDescription)")
50 |         }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIElementAttributes.h:47:38: note: property declared here
 45 |
 46 | /*! The label attribute of the element. */
 47 | @property (readonly, copy) NSString *label;
    |                                      `- note: property declared here
 48 |
 49 | /*! The type of the element. /seealso XCUIElementType. */
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Extensions/NSPredicate+Description.swift:49:49: warning: main actor-isolated property 'label' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
47 |         }
48 |         if !snapshot.label.isEmpty {
49 |             attributes.append("label=\(snapshot.label.debugDescription)")
   |                                                 `- warning: main actor-isolated property 'label' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
50 |         }
51 |         if let value = snapshot.value as? String {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIElementAttributes.h:47:38: note: property declared here
 45 |
 46 | /*! The label attribute of the element. */
 47 | @property (readonly, copy) NSString *label;
    |                                      `- note: property declared here
 48 |
 49 | /*! The type of the element. /seealso XCUIElementType. */
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Extensions/NSPredicate+Description.swift:51:33: warning: main actor-isolated property 'value' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
49 |             attributes.append("label=\(snapshot.label.debugDescription)")
50 |         }
51 |         if let value = snapshot.value as? String {
   |                                 `- warning: main actor-isolated property 'value' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
52 |             attributes.append("value=\(value.debugDescription)")
53 |         }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIElementAttributes.h:41:35: note: property declared here
 39 |
 40 | /*! The raw value attribute of the element. Depending on the element, the actual type can vary. */
 41 | @property (readonly, nullable) id value;
    |                                   `- note: property declared here
 42 |
 43 | /*! The title attribute of the element. */
[35/36] Compiling Sisyphos NSPredicate+Description.swift
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Extensions/NSPredicate+Description.swift:20:13: warning: var 'snapshotByPredicate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 | /// snapshot that is used for matching in the predicate. This is needed so we can provide useful output in the test
19 | /// reports.
20 | private var snapshotByPredicate: NSMapTable<NSPredicate, XCUIElementSnapshot> = NSMapTable.weakToStrongObjects()
   |             |- warning: var 'snapshotByPredicate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert 'snapshotByPredicate' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make var 'snapshotByPredicate' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 |
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Extensions/NSPredicate+Description.swift:10:29: warning: call to main actor-isolated instance method 'matches(snapshot:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 8 |         self.init(block: { element, _ in
 9 |             guard let elementSnapshot = element as? XCUIElementSnapshot else { return false }
10 |             return snapshot.matches(snapshot: elementSnapshot)
   |                             `- warning: call to main actor-isolated instance method 'matches(snapshot:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
11 |         })
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Extensions/XCUIElementSnapshot+Matching.swift:24:10: note: calls to instance method 'matches(snapshot:)' from outside of its actor context are implicitly asynchronous
22 |
23 |     /// Checks if the given snapshot matches this element snapshot, so both snapshots are snapshots of the same element.
24 |     func matches(snapshot: XCUIElementSnapshot) -> Bool {
   |          `- note: calls to instance method 'matches(snapshot:)' from outside of its actor context are implicitly asynchronous
25 |         // The private Apple API crashes if elements have different types. That's why we check upfront.
26 |         guard snapshot.elementType == self.elementType else { return false }
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Extensions/NSPredicate+Description.swift:43:33: warning: main actor-isolated property 'elementType' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
41 |         guard let snapshot = snapshotByPredicate.object(forKey: self) else { return super.description }
42 |         var attributes: [String] = [
43 |             "element=\(snapshot.elementType)",
   |                                 `- warning: main actor-isolated property 'elementType' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
44 |         ]
45 |         if !snapshot.identifier.isEmpty {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIElementAttributes.h:50:38: note: property declared here
 48 |
 49 | /*! The type of the element. /seealso XCUIElementType. */
 50 | @property (readonly) XCUIElementType elementType;
    |                                      `- note: property declared here
 51 |
 52 | /*! Whether or not the element is enabled for user interaction. */
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Extensions/NSPredicate+Description.swift:45:22: warning: main actor-isolated property 'identifier' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
43 |             "element=\(snapshot.elementType)",
44 |         ]
45 |         if !snapshot.identifier.isEmpty {
   |                      `- warning: main actor-isolated property 'identifier' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
46 |             attributes.append("identifier=\(snapshot.identifier.debugDescription)")
47 |         }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIElementAttributes.h:35:32: note: property declared here
 33 |
 34 | /*! The accessibility identifier. */
 35 | @property (readonly) NSString *identifier;
    |                                `- note: property declared here
 36 |
 37 | /*! The frame of the element in the screen coordinate space. */
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Extensions/NSPredicate+Description.swift:46:54: warning: main actor-isolated property 'identifier' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
44 |         ]
45 |         if !snapshot.identifier.isEmpty {
46 |             attributes.append("identifier=\(snapshot.identifier.debugDescription)")
   |                                                      `- warning: main actor-isolated property 'identifier' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
47 |         }
48 |         if !snapshot.label.isEmpty {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIElementAttributes.h:35:32: note: property declared here
 33 |
 34 | /*! The accessibility identifier. */
 35 | @property (readonly) NSString *identifier;
    |                                `- note: property declared here
 36 |
 37 | /*! The frame of the element in the screen coordinate space. */
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Extensions/NSPredicate+Description.swift:48:22: warning: main actor-isolated property 'label' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
46 |             attributes.append("identifier=\(snapshot.identifier.debugDescription)")
47 |         }
48 |         if !snapshot.label.isEmpty {
   |                      `- warning: main actor-isolated property 'label' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
49 |             attributes.append("label=\(snapshot.label.debugDescription)")
50 |         }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIElementAttributes.h:47:38: note: property declared here
 45 |
 46 | /*! The label attribute of the element. */
 47 | @property (readonly, copy) NSString *label;
    |                                      `- note: property declared here
 48 |
 49 | /*! The type of the element. /seealso XCUIElementType. */
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Extensions/NSPredicate+Description.swift:49:49: warning: main actor-isolated property 'label' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
47 |         }
48 |         if !snapshot.label.isEmpty {
49 |             attributes.append("label=\(snapshot.label.debugDescription)")
   |                                                 `- warning: main actor-isolated property 'label' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
50 |         }
51 |         if let value = snapshot.value as? String {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIElementAttributes.h:47:38: note: property declared here
 45 |
 46 | /*! The label attribute of the element. */
 47 | @property (readonly, copy) NSString *label;
    |                                      `- note: property declared here
 48 |
 49 | /*! The type of the element. /seealso XCUIElementType. */
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Extensions/NSPredicate+Description.swift:51:33: warning: main actor-isolated property 'value' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
49 |             attributes.append("label=\(snapshot.label.debugDescription)")
50 |         }
51 |         if let value = snapshot.value as? String {
   |                                 `- warning: main actor-isolated property 'value' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
52 |             attributes.append("value=\(value.debugDescription)")
53 |         }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIElementAttributes.h:41:35: note: property declared here
 39 |
 40 | /*! The raw value attribute of the element. Depending on the element, the actual type can vary. */
 41 | @property (readonly, nullable) id value;
    |                                   `- note: property declared here
 42 |
 43 | /*! The title attribute of the element. */
[36/36] Compiling Sisyphos String+Localized.swift
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Extensions/NSPredicate+Description.swift:20:13: warning: var 'snapshotByPredicate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 | /// snapshot that is used for matching in the predicate. This is needed so we can provide useful output in the test
19 | /// reports.
20 | private var snapshotByPredicate: NSMapTable<NSPredicate, XCUIElementSnapshot> = NSMapTable.weakToStrongObjects()
   |             |- warning: var 'snapshotByPredicate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert 'snapshotByPredicate' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make var 'snapshotByPredicate' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 |
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Extensions/NSPredicate+Description.swift:10:29: warning: call to main actor-isolated instance method 'matches(snapshot:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 8 |         self.init(block: { element, _ in
 9 |             guard let elementSnapshot = element as? XCUIElementSnapshot else { return false }
10 |             return snapshot.matches(snapshot: elementSnapshot)
   |                             `- warning: call to main actor-isolated instance method 'matches(snapshot:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
11 |         })
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Extensions/XCUIElementSnapshot+Matching.swift:24:10: note: calls to instance method 'matches(snapshot:)' from outside of its actor context are implicitly asynchronous
22 |
23 |     /// Checks if the given snapshot matches this element snapshot, so both snapshots are snapshots of the same element.
24 |     func matches(snapshot: XCUIElementSnapshot) -> Bool {
   |          `- note: calls to instance method 'matches(snapshot:)' from outside of its actor context are implicitly asynchronous
25 |         // The private Apple API crashes if elements have different types. That's why we check upfront.
26 |         guard snapshot.elementType == self.elementType else { return false }
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Extensions/NSPredicate+Description.swift:43:33: warning: main actor-isolated property 'elementType' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
41 |         guard let snapshot = snapshotByPredicate.object(forKey: self) else { return super.description }
42 |         var attributes: [String] = [
43 |             "element=\(snapshot.elementType)",
   |                                 `- warning: main actor-isolated property 'elementType' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
44 |         ]
45 |         if !snapshot.identifier.isEmpty {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIElementAttributes.h:50:38: note: property declared here
 48 |
 49 | /*! The type of the element. /seealso XCUIElementType. */
 50 | @property (readonly) XCUIElementType elementType;
    |                                      `- note: property declared here
 51 |
 52 | /*! Whether or not the element is enabled for user interaction. */
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Extensions/NSPredicate+Description.swift:45:22: warning: main actor-isolated property 'identifier' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
43 |             "element=\(snapshot.elementType)",
44 |         ]
45 |         if !snapshot.identifier.isEmpty {
   |                      `- warning: main actor-isolated property 'identifier' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
46 |             attributes.append("identifier=\(snapshot.identifier.debugDescription)")
47 |         }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIElementAttributes.h:35:32: note: property declared here
 33 |
 34 | /*! The accessibility identifier. */
 35 | @property (readonly) NSString *identifier;
    |                                `- note: property declared here
 36 |
 37 | /*! The frame of the element in the screen coordinate space. */
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Extensions/NSPredicate+Description.swift:46:54: warning: main actor-isolated property 'identifier' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
44 |         ]
45 |         if !snapshot.identifier.isEmpty {
46 |             attributes.append("identifier=\(snapshot.identifier.debugDescription)")
   |                                                      `- warning: main actor-isolated property 'identifier' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
47 |         }
48 |         if !snapshot.label.isEmpty {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIElementAttributes.h:35:32: note: property declared here
 33 |
 34 | /*! The accessibility identifier. */
 35 | @property (readonly) NSString *identifier;
    |                                `- note: property declared here
 36 |
 37 | /*! The frame of the element in the screen coordinate space. */
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Extensions/NSPredicate+Description.swift:48:22: warning: main actor-isolated property 'label' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
46 |             attributes.append("identifier=\(snapshot.identifier.debugDescription)")
47 |         }
48 |         if !snapshot.label.isEmpty {
   |                      `- warning: main actor-isolated property 'label' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
49 |             attributes.append("label=\(snapshot.label.debugDescription)")
50 |         }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIElementAttributes.h:47:38: note: property declared here
 45 |
 46 | /*! The label attribute of the element. */
 47 | @property (readonly, copy) NSString *label;
    |                                      `- note: property declared here
 48 |
 49 | /*! The type of the element. /seealso XCUIElementType. */
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Extensions/NSPredicate+Description.swift:49:49: warning: main actor-isolated property 'label' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
47 |         }
48 |         if !snapshot.label.isEmpty {
49 |             attributes.append("label=\(snapshot.label.debugDescription)")
   |                                                 `- warning: main actor-isolated property 'label' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
50 |         }
51 |         if let value = snapshot.value as? String {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIElementAttributes.h:47:38: note: property declared here
 45 |
 46 | /*! The label attribute of the element. */
 47 | @property (readonly, copy) NSString *label;
    |                                      `- note: property declared here
 48 |
 49 | /*! The type of the element. /seealso XCUIElementType. */
/Users/admin/builder/spi-builder-workspace/Sources/Sisyphos/Extensions/NSPredicate+Description.swift:51:33: warning: main actor-isolated property 'value' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
49 |             attributes.append("label=\(snapshot.label.debugDescription)")
50 |         }
51 |         if let value = snapshot.value as? String {
   |                                 `- warning: main actor-isolated property 'value' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
52 |             attributes.append("value=\(value.debugDescription)")
53 |         }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIElementAttributes.h:41:35: note: property declared here
 39 |
 40 | /*! The raw value attribute of the element. Depending on the element, the actual type can vary. */
 41 | @property (readonly, nullable) id value;
    |                                   `- note: property declared here
 42 |
 43 | /*! The title attribute of the element. */
Build complete! (10.78s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Sisyphos",
  "name" : "Sisyphos",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "Sisyphos",
      "targets" : [
        "Sisyphos"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SisyphosTests",
      "module_type" : "SwiftTarget",
      "name" : "SisyphosTests",
      "path" : "Tests/SisyphosTests",
      "sources" : [
        "Internal/NSPredicateTests.swift",
        "PageBuilderTests.swift",
        "SisyphosTests.swift"
      ],
      "target_dependencies" : [
        "Sisyphos"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Sisyphos",
      "module_type" : "SwiftTarget",
      "name" : "Sisyphos",
      "path" : "Sources/Sisyphos",
      "product_memberships" : [
        "Sisyphos"
      ],
      "sources" : [
        "DefaultAlert.swift",
        "DefaultPermissionAlert.swift",
        "Extensions/NSPredicate+Description.swift",
        "Extensions/String+Localized.swift",
        "Extensions/XCUIApplication+CurrentPage.swift",
        "Extensions/XCUIElement+Extensions.swift",
        "Extensions/XCUIElementSnapshot+Matching.swift",
        "Extensions/XCUIElementType+BetterCustomDebugString.swift",
        "Extensions/XCUITestCase+CodeGeneration.swift",
        "Extensions/XCUITestCase+InterruptionMonitor.swift",
        "Internal/ElementFinder.swift",
        "Internal/Snapshot.swift",
        "Internal/UIInterruptionsObserver.swift",
        "InterruptionMonitor.swift",
        "Page Elements/Alert.swift",
        "Page Elements/Button.swift",
        "Page Elements/Cell.swift",
        "Page Elements/CollectionView.swift",
        "Page Elements/NavigationBar.swift",
        "Page Elements/Other.swift",
        "Page Elements/SecureTextField.swift",
        "Page Elements/StaticText.swift",
        "Page Elements/Switch.swift",
        "Page Elements/TabBar.swift",
        "Page Elements/TextField.swift",
        "Page.swift",
        "PageBuilder.swift",
        "PageDescription.swift",
        "PageElement.swift",
        "PageElementIdentifier.swift",
        "PageExistsResults.swift",
        "QueryIdentifier.swift",
        "TestData.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
Done.