The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build XCAppTest, reference main (28ceff), with Swift 6.0 for Linux on 5 Nov 2024 23:43:59 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Tunous/XCAppTest.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/Tunous/XCAppTest
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 28ceff8 XCUIElementQuery.assertMatchedElements
Cloned https://github.com/Tunous/XCAppTest.git
Revision (git rev-parse @):
28ceff8ad6ead923b002e929489755b3961f9733
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Tunous/XCAppTest.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/Tunous/XCAppTest.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/13] Compiling XCAppTest XCUIElement+Assertions.swift
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Assertions.swift:3:11: error: cannot find type 'XCUIElement' in scope
  1 | import XCTest
  2 |
  3 | extension XCUIElement {
    |           `- error: cannot find type 'XCUIElement' in scope
  4 |
  5 |     // MARK: - Checking existence
[4/14] Compiling XCAppTest XCUIElementQuery+Assertions.swift
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElementQuery+Assertions.swift:3:11: error: cannot find type 'XCUIElementQuery' in scope
  1 | import XCTest
  2 |
  3 | extension XCUIElementQuery {
    |           `- error: cannot find type 'XCUIElementQuery' in scope
  4 |
  5 |     // MARK: - Checking number of elements
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElementQuery+Assertions.swift:134:66: error: cannot find type 'XCUIElement' in scope
132 |     /// - Returns: Unmodified UI element query.
133 |     @discardableResult
134 |     public func assertMatchedElements(perform: (_ element: () -> XCUIElement) -> Void) -> Self {
    |                                                                  `- error: cannot find type 'XCUIElement' in scope
135 |         XCTContext.runActivity(named: "Assert matched elements of \(self)") { _ in
136 |             var currentIndex = 0
[5/14] Compiling XCAppTest XCUIElement+Types.swift
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Types.swift:11:11: error: cannot find type 'XCUIElement' in scope
 9 | import XCTest
10 |
11 | extension XCUIElement.ElementType {
   |           `- error: cannot find type 'XCUIElement' in scope
12 |     /// A constant that represent an element type for banner notifications.
13 |     public static let bannerNotification = XCUIElement.ElementType(rawValue: 83)!
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Types.swift:16:11: error: cannot find type 'XCUIElement' in scope
14 | }
15 |
16 | extension XCUIElement {
   |           `- error: cannot find type 'XCUIElement' in scope
17 |     /// A query that matches banner notification elements.
18 |     public var bannerNotifications: XCUIElementQuery {
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Types.swift:23:11: error: cannot find type 'XCUIElementQuery' in scope
21 | }
22 |
23 | extension XCUIElementQuery {
   |           `- error: cannot find type 'XCUIElementQuery' in scope
24 |     /// A query that matches banner notification elements.
25 |     public var bannerNotifications: XCUIElementQuery {
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Types.swift:13:44: error: cannot find 'XCUIElement' in scope
11 | extension XCUIElement.ElementType {
12 |     /// A constant that represent an element type for banner notifications.
13 |     public static let bannerNotification = XCUIElement.ElementType(rawValue: 83)!
   |                                            `- error: cannot find 'XCUIElement' in scope
14 | }
15 |
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Types.swift:18:37: error: cannot find type 'XCUIElementQuery' in scope
16 | extension XCUIElement {
17 |     /// A query that matches banner notification elements.
18 |     public var bannerNotifications: XCUIElementQuery {
   |                                     `- error: cannot find type 'XCUIElementQuery' in scope
19 |         descendants(matching: .bannerNotification)
20 |     }
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Types.swift:25:37: error: cannot find type 'XCUIElementQuery' in scope
23 | extension XCUIElementQuery {
24 |     /// A query that matches banner notification elements.
25 |     public var bannerNotifications: XCUIElementQuery {
   |                                     `- error: cannot find type 'XCUIElementQuery' in scope
26 |         descendants(matching: .bannerNotification)
27 |     }
[6/14] Compiling XCAppTest XCUIElement+Properties.swift
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Properties.swift:3:11: error: cannot find type 'XCUIElement' in scope
 1 | import XCTest
 2 |
 3 | extension XCUIElement {
   |           `- error: cannot find type 'XCUIElement' in scope
 4 |
 5 |     /// The raw value attribute of the element cast to `String`.
[7/14] Compiling XCAppTest XCUIElementQuery+Matchers.swift
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElementQuery+Matchers.swift:10:11: error: cannot find type 'XCUIElementQuery' in scope
 8 | import XCTest
 9 |
10 | extension XCUIElementQuery {
   |           `- error: cannot find type 'XCUIElementQuery' in scope
11 |     /// The last element that matches the query.
12 |     public var lastMatch: XCUIElement {
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElementQuery+Matchers.swift:12:27: error: cannot find type 'XCUIElement' in scope
10 | extension XCUIElementQuery {
11 |     /// The last element that matches the query.
12 |     public var lastMatch: XCUIElement {
   |                           `- error: cannot find type 'XCUIElement' in scope
13 |         element(boundBy: count - 1)
14 |     }
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElementQuery+Matchers.swift:20:39: error: cannot find type 'XCUIElement' in scope
18 |     /// - Parameters:
19 |     ///   - index: The index of element to access.
20 |     public subscript(_ index: Int) -> XCUIElement {
   |                                       `- error: cannot find type 'XCUIElement' in scope
21 |         element(boundBy: index)
22 |     }
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElementQuery+Matchers.swift:29:66: error: cannot find type 'XCUIElement' in scope
27 |     ///    - predicate: A closure that takes a matching query element as its argument and returns a Boolean value indicating whether the element is a match.
28 |     /// - Returns: The first matching element that satisfies `predicate`, or `nil` if there is no element that satisfies `predicate`.
29 |     public func first(where predicate: (XCUIElement) -> Bool) -> XCUIElement? {
   |                                                                  `- error: cannot find type 'XCUIElement' in scope
30 |         for index in 0..<count {
31 |             let element = self[index]
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElementQuery+Matchers.swift:29:41: error: cannot find type 'XCUIElement' in scope
27 |     ///    - predicate: A closure that takes a matching query element as its argument and returns a Boolean value indicating whether the element is a match.
28 |     /// - Returns: The first matching element that satisfies `predicate`, or `nil` if there is no element that satisfies `predicate`.
29 |     public func first(where predicate: (XCUIElement) -> Bool) -> XCUIElement? {
   |                                         `- error: cannot find type 'XCUIElement' in scope
30 |         for index in 0..<count {
31 |             let element = self[index]
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/14] Emitting module XCAppTest
/host/spi-builder-workspace/Sources/XCAppTest/AssertionUtils.swift:3:11: error: cannot find type 'XCUIElement' in scope
 1 | import XCTest
 2 |
 3 | extension XCUIElement {
   |           `- error: cannot find type 'XCUIElement' in scope
 4 |     func assert(
 5 |         named assertionName: String,
/host/spi-builder-workspace/Sources/XCAppTest/AssertionUtils.swift:18:11: error: cannot find type 'XCUIElementQuery' in scope
16 | }
17 |
18 | extension XCUIElementQuery {
   |           `- error: cannot find type 'XCUIElementQuery' in scope
19 |     func assert(
20 |         named assertionName: String,
/host/spi-builder-workspace/Sources/XCAppTest/CGVector+Util.swift:3:11: error: cannot find type 'CGVector' in scope
 1 | import Foundation
 2 |
 3 | extension CGVector {
   |           `- error: cannot find type 'CGVector' in scope
 4 |
 5 |     /// Normalized offset to view's top left coordinate.
/host/spi-builder-workspace/Sources/XCAppTest/XCAppTestConfig.swift:13:23: warning: static property 'defaultTimeout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | public enum XCAppTestConfig {
12 |     /// The default number of seconds within which all expectations must be fulfilled.
13 |     public static var defaultTimeout: TimeInterval = 8
   |                       |- warning: static property 'defaultTimeout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'defaultTimeout' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'defaultTimeout' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | }
15 |
/host/spi-builder-workspace/Sources/XCAppTest/XCUIApplication+App.swift:3:11: error: cannot find type 'XCUIApplication' in scope
  1 | import XCTest
  2 |
  3 | extension XCUIApplication {
    |           `- error: cannot find type 'XCUIApplication' in scope
  4 |
  5 |     // MARK: - Other applications
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Actions.swift:4:11: error: cannot find type 'XCUIElement' in scope
  2 | import XCTest
  3 |
  4 | extension XCUIElement {
    |           `- error: cannot find type 'XCUIElement' in scope
  5 |
  6 |     /// Waits for the element to exist, be hittable and enabled.
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Assertions.swift:3:11: error: cannot find type 'XCUIElement' in scope
  1 | import XCTest
  2 |
  3 | extension XCUIElement {
    |           `- error: cannot find type 'XCUIElement' in scope
  4 |
  5 |     // MARK: - Checking existence
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Properties.swift:3:11: error: cannot find type 'XCUIElement' in scope
 1 | import XCTest
 2 |
 3 | extension XCUIElement {
   |           `- error: cannot find type 'XCUIElement' in scope
 4 |
 5 |     /// The raw value attribute of the element cast to `String`.
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Types.swift:11:11: error: cannot find type 'XCUIElement' in scope
 9 | import XCTest
10 |
11 | extension XCUIElement.ElementType {
   |           `- error: cannot find type 'XCUIElement' in scope
12 |     /// A constant that represent an element type for banner notifications.
13 |     public static let bannerNotification = XCUIElement.ElementType(rawValue: 83)!
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Types.swift:16:11: error: cannot find type 'XCUIElement' in scope
14 | }
15 |
16 | extension XCUIElement {
   |           `- error: cannot find type 'XCUIElement' in scope
17 |     /// A query that matches banner notification elements.
18 |     public var bannerNotifications: XCUIElementQuery {
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Types.swift:23:11: error: cannot find type 'XCUIElementQuery' in scope
21 | }
22 |
23 | extension XCUIElementQuery {
   |           `- error: cannot find type 'XCUIElementQuery' in scope
24 |     /// A query that matches banner notification elements.
25 |     public var bannerNotifications: XCUIElementQuery {
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElementQuery+Assertions.swift:3:11: error: cannot find type 'XCUIElementQuery' in scope
  1 | import XCTest
  2 |
  3 | extension XCUIElementQuery {
    |           `- error: cannot find type 'XCUIElementQuery' in scope
  4 |
  5 |     // MARK: - Checking number of elements
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElementQuery+Matchers.swift:10:11: error: cannot find type 'XCUIElementQuery' in scope
 8 | import XCTest
 9 |
10 | extension XCUIElementQuery {
   |           `- error: cannot find type 'XCUIElementQuery' in scope
11 |     /// The last element that matches the query.
12 |     public var lastMatch: XCUIElement {
[9/14] Compiling XCAppTest XCUIApplication+App.swift
/host/spi-builder-workspace/Sources/XCAppTest/XCUIApplication+App.swift:3:11: error: cannot find type 'XCUIApplication' in scope
  1 | import XCTest
  2 |
  3 | extension XCUIApplication {
    |           `- error: cannot find type 'XCUIApplication' in scope
  4 |
  5 |     // MARK: - Other applications
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Actions.swift:4:11: error: cannot find type 'XCUIElement' in scope
  2 | import XCTest
  3 |
  4 | extension XCUIElement {
    |           `- error: cannot find type 'XCUIElement' in scope
  5 |
  6 |     /// Waits for the element to exist, be hittable and enabled.
/host/spi-builder-workspace/Sources/XCAppTest/XCUIApplication+App.swift:8:32: error: cannot find 'XCUIApplication' in scope
  6 |
  7 |     /// Proxy for Safari application.
  8 |     public static let safari = XCUIApplication(bundleIdentifier: "com.apple.mobilesafari")
    |                                `- error: cannot find 'XCUIApplication' in scope
  9 |
 10 |     /// Proxy for Springboard.
/host/spi-builder-workspace/Sources/XCAppTest/XCUIApplication+App.swift:11:37: error: cannot find 'XCUIApplication' in scope
  9 |
 10 |     /// Proxy for Springboard.
 11 |     public static let springboard = XCUIApplication(bundleIdentifier: "com.apple.springboard")
    |                                     `- error: cannot find 'XCUIApplication' in scope
 12 |
 13 |     /// Proxy for Messages application.
/host/spi-builder-workspace/Sources/XCAppTest/XCUIApplication+App.swift:14:34: error: cannot find 'XCUIApplication' in scope
 12 |
 13 |     /// Proxy for Messages application.
 14 |     public static let messages = XCUIApplication(bundleIdentifier: "com.apple.MobileSMS")
    |                                  `- error: cannot find 'XCUIApplication' in scope
 15 |
 16 |     /// Proxy for Settings application.
/host/spi-builder-workspace/Sources/XCAppTest/XCUIApplication+App.swift:17:34: error: cannot find 'XCUIApplication' in scope
 15 |
 16 |     /// Proxy for Settings application.
 17 |     public static let settings = XCUIApplication(bundleIdentifier: "com.apple.Preferences")
    |                                  `- error: cannot find 'XCUIApplication' in scope
 18 |
 19 |     // MARK: - Checking state
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Actions.swift:116:60: error: cannot find type 'CGVector' in scope
114 |     /// - Returns: Unmodified UI element.
115 |     @discardableResult
116 |     public func tap(withNormalizedOffset normalizedOffset: CGVector) -> Self {
    |                                                            `- error: cannot find type 'CGVector' in scope
117 |         self.coordinate(withNormalizedOffset: normalizedOffset).tap()
118 |         return self
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Actions.swift:130:26: error: cannot find type 'CGVector' in scope
128 |     @discardableResult
129 |     public func drag(
130 |         from startPoint: CGVector,
    |                          `- error: cannot find type 'CGVector' in scope
131 |         to endPoint: CGVector,
132 |         pressDuration: TimeInterval = 0
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Actions.swift:131:22: error: cannot find type 'CGVector' in scope
129 |     public func drag(
130 |         from startPoint: CGVector,
131 |         to endPoint: CGVector,
    |                      `- error: cannot find type 'CGVector' in scope
132 |         pressDuration: TimeInterval = 0
133 |     ) -> Self {
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Actions.swift:148:98: error: cannot find type 'CGVector' in scope
146 |     /// - Returns: Unmodified UI element.
147 |     @discardableResult
148 |     public func press(forDuration duration: TimeInterval, withNormalizedOffset normalizedOffset: CGVector) -> Self {
    |                                                                                                  `- error: cannot find type 'CGVector' in scope
149 |         self.coordinate(withNormalizedOffset: normalizedOffset).press(forDuration: duration)
150 |         return self
[10/14] Compiling XCAppTest XCUIElement+Actions.swift
/host/spi-builder-workspace/Sources/XCAppTest/XCUIApplication+App.swift:3:11: error: cannot find type 'XCUIApplication' in scope
  1 | import XCTest
  2 |
  3 | extension XCUIApplication {
    |           `- error: cannot find type 'XCUIApplication' in scope
  4 |
  5 |     // MARK: - Other applications
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Actions.swift:4:11: error: cannot find type 'XCUIElement' in scope
  2 | import XCTest
  3 |
  4 | extension XCUIElement {
    |           `- error: cannot find type 'XCUIElement' in scope
  5 |
  6 |     /// Waits for the element to exist, be hittable and enabled.
/host/spi-builder-workspace/Sources/XCAppTest/XCUIApplication+App.swift:8:32: error: cannot find 'XCUIApplication' in scope
  6 |
  7 |     /// Proxy for Safari application.
  8 |     public static let safari = XCUIApplication(bundleIdentifier: "com.apple.mobilesafari")
    |                                `- error: cannot find 'XCUIApplication' in scope
  9 |
 10 |     /// Proxy for Springboard.
/host/spi-builder-workspace/Sources/XCAppTest/XCUIApplication+App.swift:11:37: error: cannot find 'XCUIApplication' in scope
  9 |
 10 |     /// Proxy for Springboard.
 11 |     public static let springboard = XCUIApplication(bundleIdentifier: "com.apple.springboard")
    |                                     `- error: cannot find 'XCUIApplication' in scope
 12 |
 13 |     /// Proxy for Messages application.
/host/spi-builder-workspace/Sources/XCAppTest/XCUIApplication+App.swift:14:34: error: cannot find 'XCUIApplication' in scope
 12 |
 13 |     /// Proxy for Messages application.
 14 |     public static let messages = XCUIApplication(bundleIdentifier: "com.apple.MobileSMS")
    |                                  `- error: cannot find 'XCUIApplication' in scope
 15 |
 16 |     /// Proxy for Settings application.
/host/spi-builder-workspace/Sources/XCAppTest/XCUIApplication+App.swift:17:34: error: cannot find 'XCUIApplication' in scope
 15 |
 16 |     /// Proxy for Settings application.
 17 |     public static let settings = XCUIApplication(bundleIdentifier: "com.apple.Preferences")
    |                                  `- error: cannot find 'XCUIApplication' in scope
 18 |
 19 |     // MARK: - Checking state
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Actions.swift:116:60: error: cannot find type 'CGVector' in scope
114 |     /// - Returns: Unmodified UI element.
115 |     @discardableResult
116 |     public func tap(withNormalizedOffset normalizedOffset: CGVector) -> Self {
    |                                                            `- error: cannot find type 'CGVector' in scope
117 |         self.coordinate(withNormalizedOffset: normalizedOffset).tap()
118 |         return self
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Actions.swift:130:26: error: cannot find type 'CGVector' in scope
128 |     @discardableResult
129 |     public func drag(
130 |         from startPoint: CGVector,
    |                          `- error: cannot find type 'CGVector' in scope
131 |         to endPoint: CGVector,
132 |         pressDuration: TimeInterval = 0
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Actions.swift:131:22: error: cannot find type 'CGVector' in scope
129 |     public func drag(
130 |         from startPoint: CGVector,
131 |         to endPoint: CGVector,
    |                      `- error: cannot find type 'CGVector' in scope
132 |         pressDuration: TimeInterval = 0
133 |     ) -> Self {
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Actions.swift:148:98: error: cannot find type 'CGVector' in scope
146 |     /// - Returns: Unmodified UI element.
147 |     @discardableResult
148 |     public func press(forDuration duration: TimeInterval, withNormalizedOffset normalizedOffset: CGVector) -> Self {
    |                                                                                                  `- error: cannot find type 'CGVector' in scope
149 |         self.coordinate(withNormalizedOffset: normalizedOffset).press(forDuration: duration)
150 |         return self
[11/14] Compiling XCAppTest XCAppTestConfig.swift
/host/spi-builder-workspace/Sources/XCAppTest/XCAppTestConfig.swift:13:23: warning: static property 'defaultTimeout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | public enum XCAppTestConfig {
12 |     /// The default number of seconds within which all expectations must be fulfilled.
13 |     public static var defaultTimeout: TimeInterval = 8
   |                       |- warning: static property 'defaultTimeout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'defaultTimeout' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'defaultTimeout' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | }
15 |
/host/spi-builder-workspace/Sources/XCAppTest/XCTestCase+Activity.swift:28:20: error: cannot find 'XCTContext' in scope
26 |     ) rethrows -> Result {
27 |         let name = name ?? activityName(from: function)
28 |         return try XCTContext.runActivity(named: name) { _ in
   |                    `- error: cannot find 'XCTContext' in scope
29 |             try block()
30 |         }
[12/14] Compiling XCAppTest XCTestCase+Activity.swift
/host/spi-builder-workspace/Sources/XCAppTest/XCAppTestConfig.swift:13:23: warning: static property 'defaultTimeout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | public enum XCAppTestConfig {
12 |     /// The default number of seconds within which all expectations must be fulfilled.
13 |     public static var defaultTimeout: TimeInterval = 8
   |                       |- warning: static property 'defaultTimeout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'defaultTimeout' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'defaultTimeout' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | }
15 |
/host/spi-builder-workspace/Sources/XCAppTest/XCTestCase+Activity.swift:28:20: error: cannot find 'XCTContext' in scope
26 |     ) rethrows -> Result {
27 |         let name = name ?? activityName(from: function)
28 |         return try XCTContext.runActivity(named: name) { _ in
   |                    `- error: cannot find 'XCTContext' in scope
29 |             try block()
30 |         }
[13/14] Compiling XCAppTest AssertionUtils.swift
/host/spi-builder-workspace/Sources/XCAppTest/AssertionUtils.swift:3:11: error: cannot find type 'XCUIElement' in scope
 1 | import XCTest
 2 |
 3 | extension XCUIElement {
   |           `- error: cannot find type 'XCUIElement' in scope
 4 |     func assert(
 5 |         named assertionName: String,
/host/spi-builder-workspace/Sources/XCAppTest/AssertionUtils.swift:18:11: error: cannot find type 'XCUIElementQuery' in scope
16 | }
17 |
18 | extension XCUIElementQuery {
   |           `- error: cannot find type 'XCUIElementQuery' in scope
19 |     func assert(
20 |         named assertionName: String,
/host/spi-builder-workspace/Sources/XCAppTest/CGVector+Util.swift:3:11: error: cannot find type 'CGVector' in scope
 1 | import Foundation
 2 |
 3 | extension CGVector {
   |           `- error: cannot find type 'CGVector' in scope
 4 |
 5 |     /// Normalized offset to view's top left coordinate.
/host/spi-builder-workspace/Sources/XCAppTest/AssertionUtils.swift:6:31: error: cannot find type 'XCUIElement' in scope
 4 |     func assert(
 5 |         named assertionName: String,
 6 |         condition: @escaping (XCUIElement) -> Bool,
   |                               `- error: cannot find type 'XCUIElement' in scope
 7 |         timeout: TimeInterval,
 8 |         _ message: @autoclosure () -> String,
/host/spi-builder-workspace/Sources/XCAppTest/AssertionUtils.swift:21:31: error: cannot find type 'XCUIElementQuery' in scope
19 |     func assert(
20 |         named assertionName: String,
21 |         condition: @escaping (XCUIElementQuery) -> Bool,
   |                               `- error: cannot find type 'XCUIElementQuery' in scope
22 |         timeout: TimeInterval,
23 |         _ message: @autoclosure () -> String,
/host/spi-builder-workspace/Sources/XCAppTest/CGVector+Util.swift:6:32: error: cannot find type 'CGVector' in scope
 4 |
 5 |     /// Normalized offset to view's top left coordinate.
 6 |     public static let topLeft: CGVector = CGVector(dx: 0, dy: 0)
   |                                `- error: cannot find type 'CGVector' in scope
 7 |
 8 |     /// Normalized offset to view's top center coordinate.
/host/spi-builder-workspace/Sources/XCAppTest/CGVector+Util.swift:9:28: error: cannot find type 'CGVector' in scope
 7 |
 8 |     /// Normalized offset to view's top center coordinate.
 9 |     public static let top: CGVector = CGVector(dx: 0.5, dy: 0)
   |                            `- error: cannot find type 'CGVector' in scope
10 |
11 |     /// Normalized offset to view's top right coordinate.
/host/spi-builder-workspace/Sources/XCAppTest/CGVector+Util.swift:12:33: error: cannot find type 'CGVector' in scope
10 |
11 |     /// Normalized offset to view's top right coordinate.
12 |     public static let topRight: CGVector = CGVector(dx: 1, dy: 0)
   |                                 `- error: cannot find type 'CGVector' in scope
13 |
14 |     /// Normalized offset to view's center left coordinate.
/host/spi-builder-workspace/Sources/XCAppTest/CGVector+Util.swift:15:29: error: cannot find type 'CGVector' in scope
13 |
14 |     /// Normalized offset to view's center left coordinate.
15 |     public static let left: CGVector = CGVector(dx: 0, dy: 0.5)
   |                             `- error: cannot find type 'CGVector' in scope
16 |
17 |     /// Normalized offset to view's center coordinate.
/host/spi-builder-workspace/Sources/XCAppTest/CGVector+Util.swift:18:31: error: cannot find type 'CGVector' in scope
16 |
17 |     /// Normalized offset to view's center coordinate.
18 |     public static let center: CGVector = CGVector(dx: 0.5, dy: 0.5)
   |                               `- error: cannot find type 'CGVector' in scope
19 |
20 |     /// Normalized offset to view's center right coordinate.
/host/spi-builder-workspace/Sources/XCAppTest/CGVector+Util.swift:21:30: error: cannot find type 'CGVector' in scope
19 |
20 |     /// Normalized offset to view's center right coordinate.
21 |     public static let right: CGVector = CGVector(dx: 1, dy: 0.5)
   |                              `- error: cannot find type 'CGVector' in scope
22 |
23 |     /// Normalized offset to view's bottom left coordinate.
/host/spi-builder-workspace/Sources/XCAppTest/CGVector+Util.swift:24:35: error: cannot find type 'CGVector' in scope
22 |
23 |     /// Normalized offset to view's bottom left coordinate.
24 |     public static let bottomLeft: CGVector = CGVector(dx: 0, dy: 1)
   |                                   `- error: cannot find type 'CGVector' in scope
25 |
26 |     /// Normalized offset to view's bottom center coordinate.
/host/spi-builder-workspace/Sources/XCAppTest/CGVector+Util.swift:27:31: error: cannot find type 'CGVector' in scope
25 |
26 |     /// Normalized offset to view's bottom center coordinate.
27 |     public static let bottom: CGVector = CGVector(dx: 0.5, dy: 1)
   |                               `- error: cannot find type 'CGVector' in scope
28 |
29 |     /// Normalized offset to view's bottom right coordinate.
/host/spi-builder-workspace/Sources/XCAppTest/CGVector+Util.swift:30:36: error: cannot find type 'CGVector' in scope
28 |
29 |     /// Normalized offset to view's bottom right coordinate.
30 |     public static let bottomRight: CGVector = CGVector(dx: 1, dy: 1)
   |                                    `- error: cannot find type 'CGVector' in scope
31 |
32 |     /// Vector with x and y components offset by given values.
/host/spi-builder-workspace/Sources/XCAppTest/CGVector+Util.swift:38:59: error: cannot find type 'CGVector' in scope
36 |     ///   - y: Offset to apply to y component.
37 |     /// - Returns: Vector with offset x and y components.
38 |     public func offset(x: CGFloat = 0, y: CGFloat = 0) -> CGVector {
   |                                                           `- error: cannot find type 'CGVector' in scope
39 |         return CGVector(dx: dx + x, dy: dy + y)
40 |     }
[14/14] Compiling XCAppTest CGVector+Util.swift
/host/spi-builder-workspace/Sources/XCAppTest/AssertionUtils.swift:3:11: error: cannot find type 'XCUIElement' in scope
 1 | import XCTest
 2 |
 3 | extension XCUIElement {
   |           `- error: cannot find type 'XCUIElement' in scope
 4 |     func assert(
 5 |         named assertionName: String,
/host/spi-builder-workspace/Sources/XCAppTest/AssertionUtils.swift:18:11: error: cannot find type 'XCUIElementQuery' in scope
16 | }
17 |
18 | extension XCUIElementQuery {
   |           `- error: cannot find type 'XCUIElementQuery' in scope
19 |     func assert(
20 |         named assertionName: String,
/host/spi-builder-workspace/Sources/XCAppTest/CGVector+Util.swift:3:11: error: cannot find type 'CGVector' in scope
 1 | import Foundation
 2 |
 3 | extension CGVector {
   |           `- error: cannot find type 'CGVector' in scope
 4 |
 5 |     /// Normalized offset to view's top left coordinate.
/host/spi-builder-workspace/Sources/XCAppTest/AssertionUtils.swift:6:31: error: cannot find type 'XCUIElement' in scope
 4 |     func assert(
 5 |         named assertionName: String,
 6 |         condition: @escaping (XCUIElement) -> Bool,
   |                               `- error: cannot find type 'XCUIElement' in scope
 7 |         timeout: TimeInterval,
 8 |         _ message: @autoclosure () -> String,
/host/spi-builder-workspace/Sources/XCAppTest/AssertionUtils.swift:21:31: error: cannot find type 'XCUIElementQuery' in scope
19 |     func assert(
20 |         named assertionName: String,
21 |         condition: @escaping (XCUIElementQuery) -> Bool,
   |                               `- error: cannot find type 'XCUIElementQuery' in scope
22 |         timeout: TimeInterval,
23 |         _ message: @autoclosure () -> String,
/host/spi-builder-workspace/Sources/XCAppTest/CGVector+Util.swift:6:32: error: cannot find type 'CGVector' in scope
 4 |
 5 |     /// Normalized offset to view's top left coordinate.
 6 |     public static let topLeft: CGVector = CGVector(dx: 0, dy: 0)
   |                                `- error: cannot find type 'CGVector' in scope
 7 |
 8 |     /// Normalized offset to view's top center coordinate.
/host/spi-builder-workspace/Sources/XCAppTest/CGVector+Util.swift:9:28: error: cannot find type 'CGVector' in scope
 7 |
 8 |     /// Normalized offset to view's top center coordinate.
 9 |     public static let top: CGVector = CGVector(dx: 0.5, dy: 0)
   |                            `- error: cannot find type 'CGVector' in scope
10 |
11 |     /// Normalized offset to view's top right coordinate.
/host/spi-builder-workspace/Sources/XCAppTest/CGVector+Util.swift:12:33: error: cannot find type 'CGVector' in scope
10 |
11 |     /// Normalized offset to view's top right coordinate.
12 |     public static let topRight: CGVector = CGVector(dx: 1, dy: 0)
   |                                 `- error: cannot find type 'CGVector' in scope
13 |
14 |     /// Normalized offset to view's center left coordinate.
/host/spi-builder-workspace/Sources/XCAppTest/CGVector+Util.swift:15:29: error: cannot find type 'CGVector' in scope
13 |
14 |     /// Normalized offset to view's center left coordinate.
15 |     public static let left: CGVector = CGVector(dx: 0, dy: 0.5)
   |                             `- error: cannot find type 'CGVector' in scope
16 |
17 |     /// Normalized offset to view's center coordinate.
/host/spi-builder-workspace/Sources/XCAppTest/CGVector+Util.swift:18:31: error: cannot find type 'CGVector' in scope
16 |
17 |     /// Normalized offset to view's center coordinate.
18 |     public static let center: CGVector = CGVector(dx: 0.5, dy: 0.5)
   |                               `- error: cannot find type 'CGVector' in scope
19 |
20 |     /// Normalized offset to view's center right coordinate.
/host/spi-builder-workspace/Sources/XCAppTest/CGVector+Util.swift:21:30: error: cannot find type 'CGVector' in scope
19 |
20 |     /// Normalized offset to view's center right coordinate.
21 |     public static let right: CGVector = CGVector(dx: 1, dy: 0.5)
   |                              `- error: cannot find type 'CGVector' in scope
22 |
23 |     /// Normalized offset to view's bottom left coordinate.
/host/spi-builder-workspace/Sources/XCAppTest/CGVector+Util.swift:24:35: error: cannot find type 'CGVector' in scope
22 |
23 |     /// Normalized offset to view's bottom left coordinate.
24 |     public static let bottomLeft: CGVector = CGVector(dx: 0, dy: 1)
   |                                   `- error: cannot find type 'CGVector' in scope
25 |
26 |     /// Normalized offset to view's bottom center coordinate.
/host/spi-builder-workspace/Sources/XCAppTest/CGVector+Util.swift:27:31: error: cannot find type 'CGVector' in scope
25 |
26 |     /// Normalized offset to view's bottom center coordinate.
27 |     public static let bottom: CGVector = CGVector(dx: 0.5, dy: 1)
   |                               `- error: cannot find type 'CGVector' in scope
28 |
29 |     /// Normalized offset to view's bottom right coordinate.
/host/spi-builder-workspace/Sources/XCAppTest/CGVector+Util.swift:30:36: error: cannot find type 'CGVector' in scope
28 |
29 |     /// Normalized offset to view's bottom right coordinate.
30 |     public static let bottomRight: CGVector = CGVector(dx: 1, dy: 1)
   |                                    `- error: cannot find type 'CGVector' in scope
31 |
32 |     /// Vector with x and y components offset by given values.
/host/spi-builder-workspace/Sources/XCAppTest/CGVector+Util.swift:38:59: error: cannot find type 'CGVector' in scope
36 |     ///   - y: Offset to apply to y component.
37 |     /// - Returns: Vector with offset x and y components.
38 |     public func offset(x: CGFloat = 0, y: CGFloat = 0) -> CGVector {
   |                                                           `- error: cannot find type 'CGVector' in scope
39 |         return CGVector(dx: dx + x, dy: dy + y)
40 |     }
BUILD FAILURE 6.0 linux