Build Information
Failed to build XCTestExtensions, reference main (3b44aa
), with Swift 6.1 for Linux on 30 Apr 2025 13:44:26 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/StanfordBDHG/XCTestExtensions.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/StanfordBDHG/XCTestExtensions
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 3b44aad capture via autoclosures in more cases; allow throwing expressions (#32)
Cloned https://github.com/StanfordBDHG/XCTestExtensions.git
Revision (git rev-parse @):
3b44aad358897cf85139b46f32902cd60d9e5cb4
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/StanfordBDHG/XCTestExtensions.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/StanfordBDHG/XCTestExtensions.git
https://github.com/StanfordBDHG/XCTestExtensions.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "XCTestExtensions",
"name" : "XCTestExtensions",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "watchos",
"version" : "9.0"
},
{
"name" : "visionos",
"version" : "1.0"
},
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "XCTestApp",
"targets" : [
"XCTestApp"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "XCTestExtensions",
"targets" : [
"XCTestExtensions"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "XCTestExtensionsTests",
"module_type" : "SwiftTarget",
"name" : "XCTestExtensionsTests",
"path" : "Tests/XCTestExtensionsTests",
"sources" : [
"XCTestExtensionsTests.swift"
],
"target_dependencies" : [
"XCTestExtensions"
],
"type" : "test"
},
{
"c99name" : "XCTestExtensions",
"module_type" : "SwiftTarget",
"name" : "XCTestExtensions",
"path" : "Sources/XCTestExtensions",
"product_memberships" : [
"XCTestExtensions"
],
"sources" : [
"XCTAssertThrowsErrorAsync.swift",
"XCUIApplication+DeleteAndLaunch.swift",
"XCUIApplication+Keyboard.swift",
"XCUIApplication+VisionOS.swift",
"XCUIElement+TextEntry.swift"
],
"type" : "library"
},
{
"c99name" : "XCTestApp",
"module_type" : "SwiftTarget",
"name" : "XCTestApp",
"path" : "Sources/XCTestApp",
"product_memberships" : [
"XCTestApp"
],
"sources" : [
"TestAppTestCase.swift",
"TestAppTests.swift",
"TestAppTestsView.swift",
"TestAppView.swift",
"XCTest.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/15] Compiling XCTestApp TestAppTests.swift
/host/spi-builder-workspace/Sources/XCTestApp/TestAppTests.swift:9:8: error: no such module 'SwiftUI'
7 | //
8 |
9 | import SwiftUI
| `- error: no such module 'SwiftUI'
10 |
11 |
[5/15] Compiling XCTestApp TestAppTestsView.swift
/host/spi-builder-workspace/Sources/XCTestApp/TestAppTests.swift:9:8: error: no such module 'SwiftUI'
7 | //
8 |
9 | import SwiftUI
| `- error: no such module 'SwiftUI'
10 |
11 |
[6/15] Compiling XCTestApp XCTest.swift
/host/spi-builder-workspace/Sources/XCTestApp/TestAppTests.swift:9:8: error: no such module 'SwiftUI'
7 | //
8 |
9 | import SwiftUI
| `- error: no such module 'SwiftUI'
10 |
11 |
[7/15] Compiling XCTestApp TestAppView.swift
/host/spi-builder-workspace/Sources/XCTestApp/TestAppTests.swift:9:8: error: no such module 'SwiftUI'
7 | //
8 |
9 | import SwiftUI
| `- error: no such module 'SwiftUI'
10 |
11 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/15] Emitting module XCTestApp
/host/spi-builder-workspace/Sources/XCTestApp/TestAppTests.swift:9:8: error: no such module 'SwiftUI'
7 | //
8 |
9 | import SwiftUI
| `- error: no such module 'SwiftUI'
10 |
11 |
[9/15] Compiling XCTestApp TestAppTestCase.swift
/host/spi-builder-workspace/Sources/XCTestApp/TestAppTests.swift:9:8: error: no such module 'SwiftUI'
7 | //
8 |
9 | import SwiftUI
| `- error: no such module 'SwiftUI'
10 |
11 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/13] Compiling XCTestApp TestAppTests.swift
/host/spi-builder-workspace/Sources/XCTestApp/TestAppTests.swift:9:8: error: no such module 'SwiftUI'
7 | //
8 |
9 | import SwiftUI
| `- error: no such module 'SwiftUI'
10 |
11 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/13] Emitting module XCTestApp
/host/spi-builder-workspace/Sources/XCTestApp/TestAppTests.swift:9:8: error: no such module 'SwiftUI'
7 | //
8 |
9 | import SwiftUI
| `- error: no such module 'SwiftUI'
10 |
11 |
[4/13] Compiling XCTestApp TestAppView.swift
/host/spi-builder-workspace/Sources/XCTestApp/TestAppTests.swift:9:8: error: no such module 'SwiftUI'
7 | //
8 |
9 | import SwiftUI
| `- error: no such module 'SwiftUI'
10 |
11 |
[5/13] Compiling XCTestApp TestAppTestsView.swift
/host/spi-builder-workspace/Sources/XCTestApp/TestAppTests.swift:9:8: error: no such module 'SwiftUI'
7 | //
8 |
9 | import SwiftUI
| `- error: no such module 'SwiftUI'
10 |
11 |
[6/13] Compiling XCTestApp TestAppTestCase.swift
/host/spi-builder-workspace/Sources/XCTestApp/TestAppTests.swift:9:8: error: no such module 'SwiftUI'
7 | //
8 |
9 | import SwiftUI
| `- error: no such module 'SwiftUI'
10 |
11 |
[7/13] Compiling XCTestApp XCTest.swift
/host/spi-builder-workspace/Sources/XCTestApp/TestAppTests.swift:9:8: error: no such module 'SwiftUI'
7 | //
8 |
9 | import SwiftUI
| `- error: no such module 'SwiftUI'
10 |
11 |
BUILD FAILURE 6.1 linux