Build Information
Failed to build SwiftTestUtils, reference 1.0.1 (76b498), with Swift 6.1 for Android on 27 May 2025 18:45:19 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Appsaurus/SwiftTestUtils.git
Reference: 1.0.1
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/Appsaurus/SwiftTestUtils
* tag 1.0.1 -> FETCH_HEAD
HEAD is now at 76b498f Swift 4.2
Cloned https://github.com/Appsaurus/SwiftTestUtils.git
Revision (git rev-parse @):
76b498f338b4249898656947fa2713747fa429f7
SUCCESS checkout https://github.com/Appsaurus/SwiftTestUtils.git at 1.0.1
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/Appsaurus/SwiftTestUtils.git
https://github.com/Appsaurus/SwiftTestUtils.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "SwiftTestUtils",
"name" : "SwiftTestUtils",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SwiftTestUtils",
"targets" : [
"SwiftTestUtils"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftTestUtilsTests",
"module_type" : "SwiftTarget",
"name" : "SwiftTestUtilsTests",
"path" : "SwiftTestUtilsTests/Shared",
"sources" : [
"SharedTests.swift"
],
"target_dependencies" : [
"SwiftTestUtils"
],
"type" : "test"
},
{
"c99name" : "SwiftTestUtils",
"module_type" : "SwiftTarget",
"name" : "SwiftTestUtils",
"path" : "Sources/Shared",
"product_memberships" : [
"SwiftTestUtils"
],
"sources" : [
"BaseTestCase.swift",
"LinuxTestable.swift",
"XCAssertions.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/6] Emitting module SwiftTestUtils
/host/spi-builder-workspace/Sources/Shared/BaseTestCase.swift:14:20: warning: static property 'hasSetup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |
13 |
14 | public static var hasSetup: Bool = false
| |- warning: static property 'hasSetup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'hasSetup' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'hasSetup' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | public var hasSetup: Bool {
16 | get{
[4/6] Compiling SwiftTestUtils XCAssertions.swift
[5/6] Compiling SwiftTestUtils BaseTestCase.swift
/host/spi-builder-workspace/Sources/Shared/BaseTestCase.swift:14:20: warning: static property 'hasSetup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |
13 |
14 | public static var hasSetup: Bool = false
| |- warning: static property 'hasSetup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'hasSetup' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'hasSetup' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | public var hasSetup: Bool {
16 | get{
[6/6] Compiling SwiftTestUtils LinuxTestable.swift
/host/spi-builder-workspace/Sources/Shared/LinuxTestable.swift:21:35: error: type 'Self' has no member 'defaultTestSuite'
19 | let thisClass = type(of: self)
20 | let linuxCount = tests.count
21 | let darwinCount = Int(thisClass.defaultTestSuite.testCaseCount)
| `- error: type 'Self' has no member 'defaultTestSuite'
22 | let failureMessage = "\(darwinCount - linuxCount) tests are missing from allTests in \(thisClass)."
23 | XCTAssertEqual(linuxCount, darwinCount,failureMessage)
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/5] Compiling SwiftTestUtils LinuxTestable.swift
/host/spi-builder-workspace/Sources/Shared/LinuxTestable.swift:21:35: error: type 'Self' has no member 'defaultTestSuite'
19 | let thisClass = type(of: self)
20 | let linuxCount = tests.count
21 | let darwinCount = Int(thisClass.defaultTestSuite.testCaseCount)
| `- error: type 'Self' has no member 'defaultTestSuite'
22 | let failureMessage = "\(darwinCount - linuxCount) tests are missing from allTests in \(thisClass)."
23 | XCTAssertEqual(linuxCount, darwinCount,failureMessage)
[3/5] Emitting module SwiftTestUtils
[4/5] Compiling SwiftTestUtils BaseTestCase.swift
[5/5] Compiling SwiftTestUtils XCAssertions.swift
BUILD FAILURE 6.1 android