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

Failed to build XCAppTest, reference 1.1.0 (ecc265), with Swift 5.9 for Linux on 3 Jun 2025 20:07:15 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Tunous/XCAppTest.git
Reference: 1.1.0
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
 * tag               1.1.0      -> FETCH_HEAD
HEAD is now at ecc265c Mark springboard as not available on macOS
Cloned https://github.com/Tunous/XCAppTest.git
Revision (git rev-parse @):
ecc265c39c5757d169d046cb97464b23f5a39186
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Tunous/XCAppTest.git at 1.1.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $PWD
https://github.com/Tunous/XCAppTest.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:943c57f5f023c04804daf623375860c13f93d33d0cb4f0a89054871e5f11529c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Building for debugging...
[1/11] Compiling XCAppTest XCUIElementQuery+Assertions.swift
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElementQuery+Assertions.swift:3:11: error: cannot find type 'XCUIElementQuery' in scope
extension XCUIElementQuery {
          ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElementQuery+Assertions.swift:134:66: error: cannot find type 'XCUIElement' in scope
    public func assertMatchedElements(perform: (_ element: () -> XCUIElement) -> Void) -> Self {
                                                                 ^~~~~~~~~~~
[2/11] Compiling XCAppTest XCUIElement+Types.swift
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Types.swift:11:11: error: cannot find type 'XCUIElement' in scope
extension XCUIElement.ElementType {
          ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Types.swift:16:11: error: cannot find type 'XCUIElement' in scope
extension XCUIElement {
          ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Types.swift:23:11: error: cannot find type 'XCUIElementQuery' in scope
extension XCUIElementQuery {
          ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Types.swift:13:44: error: cannot find 'XCUIElement' in scope
    public static let bannerNotification = XCUIElement.ElementType(rawValue: 83)!
                                           ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Types.swift:18:37: error: cannot find type 'XCUIElementQuery' in scope
    public var bannerNotifications: XCUIElementQuery {
                                    ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Types.swift:25:37: error: cannot find type 'XCUIElementQuery' in scope
    public var bannerNotifications: XCUIElementQuery {
                                    ^~~~~~~~~~~~~~~~
[3/12] Compiling XCAppTest XCUIElement+Properties.swift
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Properties.swift:3:11: error: cannot find type 'XCUIElement' in scope
extension XCUIElement {
          ^~~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/12] Emitting module XCAppTest
/host/spi-builder-workspace/Sources/XCAppTest/AssertionUtils.swift:3:11: error: cannot find type 'XCUIElementTypeQueryProvider' in scope
extension XCUIElementTypeQueryProvider {
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/CGVector+Util.swift:3:11: error: cannot find type 'CGVector' in scope
extension CGVector {
          ^~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIApplication+App.swift:3:11: error: cannot find type 'XCUIApplication' in scope
extension XCUIApplication {
          ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Actions.swift:4:11: error: cannot find type 'XCUIElement' in scope
extension XCUIElement {
          ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Assertions.swift:3:11: error: cannot find type 'XCUIElement' in scope
extension XCUIElement {
          ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Properties.swift:3:11: error: cannot find type 'XCUIElement' in scope
extension XCUIElement {
          ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Types.swift:11:11: error: cannot find type 'XCUIElement' in scope
extension XCUIElement.ElementType {
          ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Types.swift:16:11: error: cannot find type 'XCUIElement' in scope
extension XCUIElement {
          ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Types.swift:23:11: error: cannot find type 'XCUIElementQuery' in scope
extension XCUIElementQuery {
          ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElementQuery+Assertions.swift:3:11: error: cannot find type 'XCUIElementQuery' in scope
extension XCUIElementQuery {
          ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElementQuery+Matchers.swift:10:11: error: cannot find type 'XCUIElementQuery' in scope
extension XCUIElementQuery {
          ^~~~~~~~~~~~~~~~
[5/12] Compiling XCAppTest XCUIElementQuery+Matchers.swift
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElementQuery+Matchers.swift:10:11: error: cannot find type 'XCUIElementQuery' in scope
extension XCUIElementQuery {
          ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElementQuery+Matchers.swift:12:27: error: cannot find type 'XCUIElement' in scope
    public var lastMatch: XCUIElement {
                          ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElementQuery+Matchers.swift:20:39: error: cannot find type 'XCUIElement' in scope
    public subscript(_ index: Int) -> XCUIElement {
                                      ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElementQuery+Matchers.swift:29:66: error: cannot find type 'XCUIElement' in scope
    public func first(where predicate: (XCUIElement) -> Bool) -> XCUIElement? {
                                                                 ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElementQuery+Matchers.swift:29:41: error: cannot find type 'XCUIElement' in scope
    public func first(where predicate: (XCUIElement) -> Bool) -> XCUIElement? {
                                        ^~~~~~~~~~~
[6/12] Compiling XCAppTest XCAppTestConfig.swift
/host/spi-builder-workspace/Sources/XCAppTest/XCTestCase+Activity.swift:28:20: error: cannot find 'XCTContext' in scope
        return try XCTContext.runActivity(named: name) { _ in
                   ^~~~~~~~~~
[7/12] Compiling XCAppTest XCTestCase+Activity.swift
/host/spi-builder-workspace/Sources/XCAppTest/XCTestCase+Activity.swift:28:20: error: cannot find 'XCTContext' in scope
        return try XCTContext.runActivity(named: name) { _ in
                   ^~~~~~~~~~
[8/12] Compiling XCAppTest AssertionUtils.swift
/host/spi-builder-workspace/Sources/XCAppTest/AssertionUtils.swift:3:11: error: cannot find type 'XCUIElementTypeQueryProvider' in scope
extension XCUIElementTypeQueryProvider {
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/CGVector+Util.swift:3:11: error: cannot find type 'CGVector' in scope
extension CGVector {
          ^~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/CGVector+Util.swift:6:32: error: cannot find type 'CGVector' in scope
    public static let topLeft: CGVector = CGVector(dx: 0, dy: 0)
                               ^~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/CGVector+Util.swift:9:28: error: cannot find type 'CGVector' in scope
    public static let top: CGVector = CGVector(dx: 0.5, dy: 0)
                           ^~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/CGVector+Util.swift:12:33: error: cannot find type 'CGVector' in scope
    public static let topRight: CGVector = CGVector(dx: 1, dy: 0)
                                ^~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/CGVector+Util.swift:15:29: error: cannot find type 'CGVector' in scope
    public static let left: CGVector = CGVector(dx: 0, dy: 0.5)
                            ^~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/CGVector+Util.swift:18:31: error: cannot find type 'CGVector' in scope
    public static let center: CGVector = CGVector(dx: 0.5, dy: 0.5)
                              ^~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/CGVector+Util.swift:21:30: error: cannot find type 'CGVector' in scope
    public static let right: CGVector = CGVector(dx: 1, dy: 0.5)
                             ^~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/CGVector+Util.swift:24:35: error: cannot find type 'CGVector' in scope
    public static let bottomLeft: CGVector = CGVector(dx: 0, dy: 1)
                                  ^~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/CGVector+Util.swift:27:31: error: cannot find type 'CGVector' in scope
    public static let bottom: CGVector = CGVector(dx: 0.5, dy: 1)
                              ^~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/CGVector+Util.swift:30:36: error: cannot find type 'CGVector' in scope
    public static let bottomRight: CGVector = CGVector(dx: 1, dy: 1)
                                   ^~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/CGVector+Util.swift:38:59: error: cannot find type 'CGVector' in scope
    public func offset(x: CGFloat = 0, y: CGFloat = 0) -> CGVector {
                                                          ^~~~~~~~
[9/12] Compiling XCAppTest CGVector+Util.swift
/host/spi-builder-workspace/Sources/XCAppTest/AssertionUtils.swift:3:11: error: cannot find type 'XCUIElementTypeQueryProvider' in scope
extension XCUIElementTypeQueryProvider {
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/CGVector+Util.swift:3:11: error: cannot find type 'CGVector' in scope
extension CGVector {
          ^~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/CGVector+Util.swift:6:32: error: cannot find type 'CGVector' in scope
    public static let topLeft: CGVector = CGVector(dx: 0, dy: 0)
                               ^~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/CGVector+Util.swift:9:28: error: cannot find type 'CGVector' in scope
    public static let top: CGVector = CGVector(dx: 0.5, dy: 0)
                           ^~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/CGVector+Util.swift:12:33: error: cannot find type 'CGVector' in scope
    public static let topRight: CGVector = CGVector(dx: 1, dy: 0)
                                ^~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/CGVector+Util.swift:15:29: error: cannot find type 'CGVector' in scope
    public static let left: CGVector = CGVector(dx: 0, dy: 0.5)
                            ^~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/CGVector+Util.swift:18:31: error: cannot find type 'CGVector' in scope
    public static let center: CGVector = CGVector(dx: 0.5, dy: 0.5)
                              ^~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/CGVector+Util.swift:21:30: error: cannot find type 'CGVector' in scope
    public static let right: CGVector = CGVector(dx: 1, dy: 0.5)
                             ^~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/CGVector+Util.swift:24:35: error: cannot find type 'CGVector' in scope
    public static let bottomLeft: CGVector = CGVector(dx: 0, dy: 1)
                                  ^~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/CGVector+Util.swift:27:31: error: cannot find type 'CGVector' in scope
    public static let bottom: CGVector = CGVector(dx: 0.5, dy: 1)
                              ^~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/CGVector+Util.swift:30:36: error: cannot find type 'CGVector' in scope
    public static let bottomRight: CGVector = CGVector(dx: 1, dy: 1)
                                   ^~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/CGVector+Util.swift:38:59: error: cannot find type 'CGVector' in scope
    public func offset(x: CGFloat = 0, y: CGFloat = 0) -> CGVector {
                                                          ^~~~~~~~
[10/12] Compiling XCAppTest XCUIElement+Assertions.swift
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Assertions.swift:3:11: error: cannot find type 'XCUIElement' in scope
extension XCUIElement {
          ^~~~~~~~~~~
[11/12] Compiling XCAppTest XCUIApplication+App.swift
/host/spi-builder-workspace/Sources/XCAppTest/XCUIApplication+App.swift:3:11: error: cannot find type 'XCUIApplication' in scope
extension XCUIApplication {
          ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Actions.swift:4:11: error: cannot find type 'XCUIElement' in scope
extension XCUIElement {
          ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIApplication+App.swift:8:32: error: cannot find 'XCUIApplication' in scope
    public static let safari = XCUIApplication(bundleIdentifier: "com.apple.mobilesafari")
                               ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIApplication+App.swift:12:37: error: cannot find 'XCUIApplication' in scope
    public static let springboard = XCUIApplication(bundleIdentifier: "com.apple.springboard")
                                    ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIApplication+App.swift:15:34: error: cannot find 'XCUIApplication' in scope
    public static let messages = XCUIApplication(bundleIdentifier: "com.apple.MobileSMS")
                                 ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIApplication+App.swift:18:34: error: cannot find 'XCUIApplication' in scope
    public static let settings = XCUIApplication(bundleIdentifier: "com.apple.Preferences")
                                 ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Actions.swift:142:60: error: cannot find type 'CGVector' in scope
    public func tap(withNormalizedOffset normalizedOffset: CGVector) -> Self {
                                                           ^~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Actions.swift:164:26: error: cannot find type 'CGVector' in scope
        from startPoint: CGVector,
                         ^~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Actions.swift:165:22: error: cannot find type 'CGVector' in scope
        to endPoint: CGVector,
                     ^~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Actions.swift:182:98: error: cannot find type 'CGVector' in scope
    public func press(forDuration duration: TimeInterval, withNormalizedOffset normalizedOffset: CGVector) -> Self {
                                                                                                 ^~~~~~~~
[12/12] Compiling XCAppTest XCUIElement+Actions.swift
/host/spi-builder-workspace/Sources/XCAppTest/XCUIApplication+App.swift:3:11: error: cannot find type 'XCUIApplication' in scope
extension XCUIApplication {
          ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Actions.swift:4:11: error: cannot find type 'XCUIElement' in scope
extension XCUIElement {
          ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIApplication+App.swift:8:32: error: cannot find 'XCUIApplication' in scope
    public static let safari = XCUIApplication(bundleIdentifier: "com.apple.mobilesafari")
                               ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIApplication+App.swift:12:37: error: cannot find 'XCUIApplication' in scope
    public static let springboard = XCUIApplication(bundleIdentifier: "com.apple.springboard")
                                    ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIApplication+App.swift:15:34: error: cannot find 'XCUIApplication' in scope
    public static let messages = XCUIApplication(bundleIdentifier: "com.apple.MobileSMS")
                                 ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIApplication+App.swift:18:34: error: cannot find 'XCUIApplication' in scope
    public static let settings = XCUIApplication(bundleIdentifier: "com.apple.Preferences")
                                 ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Actions.swift:142:60: error: cannot find type 'CGVector' in scope
    public func tap(withNormalizedOffset normalizedOffset: CGVector) -> Self {
                                                           ^~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Actions.swift:164:26: error: cannot find type 'CGVector' in scope
        from startPoint: CGVector,
                         ^~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Actions.swift:165:22: error: cannot find type 'CGVector' in scope
        to endPoint: CGVector,
                     ^~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Actions.swift:182:98: error: cannot find type 'CGVector' in scope
    public func press(forDuration duration: TimeInterval, withNormalizedOffset normalizedOffset: CGVector) -> Self {
                                                                                                 ^~~~~~~~
error: fatalError
BUILD FAILURE 5.9 linux