Build Information
Failed to build XCAppTest, reference main (28ceff
), with Swift 5.9 for Linux on 3 Sep 2024 19:48:35 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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.52.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: 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-1":/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:907758cf9691f0f77ca4e2d6f778ef6c038667a789e74bf575a4b60f864d6863
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/11] Emitting module XCAppTest
/host/spi-builder-workspace/Sources/XCAppTest/AssertionUtils.swift:3:11: error: cannot find type 'XCUIElement' in scope
extension XCUIElement {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/AssertionUtils.swift:18:11: error: cannot find type 'XCUIElementQuery' in scope
extension XCUIElementQuery {
^~~~~~~~~~~~~~~~
/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 {
^~~~~~~~~~~~~~~~
[2/11] 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
^~~~~~~~~~
[3/11] 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
^~~~~~~~~~
[4/11] Compiling XCAppTest AssertionUtils.swift
/host/spi-builder-workspace/Sources/XCAppTest/AssertionUtils.swift:3:11: error: cannot find type 'XCUIElement' in scope
extension XCUIElement {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/AssertionUtils.swift:18:11: error: cannot find type 'XCUIElementQuery' in scope
extension XCUIElementQuery {
^~~~~~~~~~~~~~~~
/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/AssertionUtils.swift:6:31: error: cannot find type 'XCUIElement' in scope
condition: @escaping (XCUIElement) -> Bool,
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/AssertionUtils.swift:21:31: error: cannot find type 'XCUIElementQuery' in scope
condition: @escaping (XCUIElementQuery) -> Bool,
^~~~~~~~~~~~~~~~
/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 {
^~~~~~~~
[5/11] Compiling XCAppTest CGVector+Util.swift
/host/spi-builder-workspace/Sources/XCAppTest/AssertionUtils.swift:3:11: error: cannot find type 'XCUIElement' in scope
extension XCUIElement {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/AssertionUtils.swift:18:11: error: cannot find type 'XCUIElementQuery' in scope
extension XCUIElementQuery {
^~~~~~~~~~~~~~~~
/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/AssertionUtils.swift:6:31: error: cannot find type 'XCUIElement' in scope
condition: @escaping (XCUIElement) -> Bool,
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/AssertionUtils.swift:21:31: error: cannot find type 'XCUIElementQuery' in scope
condition: @escaping (XCUIElementQuery) -> Bool,
^~~~~~~~~~~~~~~~
/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 {
^~~~~~~~
[6/11] 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:11: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:14: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:17: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:116:60: error: cannot find type 'CGVector' in scope
public func tap(withNormalizedOffset normalizedOffset: CGVector) -> Self {
^~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Actions.swift:130:26: error: cannot find type 'CGVector' in scope
from startPoint: CGVector,
^~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Actions.swift:131:22: error: cannot find type 'CGVector' in scope
to endPoint: CGVector,
^~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Actions.swift:148:98: error: cannot find type 'CGVector' in scope
public func press(forDuration duration: TimeInterval, withNormalizedOffset normalizedOffset: CGVector) -> Self {
^~~~~~~~
[7/11] 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:11: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:14: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:17: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:116:60: error: cannot find type 'CGVector' in scope
public func tap(withNormalizedOffset normalizedOffset: CGVector) -> Self {
^~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Actions.swift:130:26: error: cannot find type 'CGVector' in scope
from startPoint: CGVector,
^~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Actions.swift:131:22: error: cannot find type 'CGVector' in scope
to endPoint: CGVector,
^~~~~~~~
/host/spi-builder-workspace/Sources/XCAppTest/XCUIElement+Actions.swift:148:98: error: cannot find type 'CGVector' in scope
public func press(forDuration duration: TimeInterval, withNormalizedOffset normalizedOffset: CGVector) -> Self {
^~~~~~~~
[8/11] 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 {
^~~~~~~~~~~
[9/12] 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 {
^~~~~~~~~~~~~~~~
[10/12] 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 {
^~~~~~~~~~~
[11/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? {
^~~~~~~~~~~
[12/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: fatalError
BUILD FAILURE 5.9 linux