Build Information
Failed to build RuntimeAssertions, reference 2.1.0 (d3394b
), with Swift 6.1 for Android on 31 May 2025 05:41:31 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Reference: 2.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/StanfordBDHG/XCTRuntimeAssertions
* tag 2.1.0 -> FETCH_HEAD
HEAD is now at d3394b8 negative assertions (#21)
Cloned https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Revision (git rev-parse @):
d3394b8c432f4e3d30cdf14cb5892695e923b06d
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/StanfordBDHG/XCTRuntimeAssertions.git at 2.1.0
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "RuntimeAssertions",
"name" : "RuntimeAssertions",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "visionos",
"version" : "1.0"
},
{
"name" : "watchos",
"version" : "9.0"
},
{
"name" : "tvos",
"version" : "16.0"
},
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "RuntimeAssertions",
"targets" : [
"RuntimeAssertions"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "RuntimeAssertionsTesting",
"targets" : [
"RuntimeAssertionsTesting"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "XCTRuntimeAssertions",
"targets" : [
"XCTRuntimeAssertions"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "XCTRuntimeAssertionsTests",
"module_type" : "SwiftTarget",
"name" : "XCTRuntimeAssertionsTests",
"path" : "Tests/XCTRuntimeAssertionsTests",
"sources" : [
"XCTRuntimeAssertionsTests.swift",
"XCTRuntimePreconditionsTests.swift"
],
"target_dependencies" : [
"XCTRuntimeAssertions"
],
"type" : "test"
},
{
"c99name" : "XCTRuntimeAssertions",
"module_type" : "SwiftTarget",
"name" : "XCTRuntimeAssertions",
"path" : "Sources/XCTRuntimeAssertions",
"product_memberships" : [
"XCTRuntimeAssertions"
],
"sources" : [
"Deprecations.swift",
"XCTRuntimeAssertion.swift",
"XCTRuntimePrecondition.swift"
],
"target_dependencies" : [
"RuntimeAssertions"
],
"type" : "library"
},
{
"c99name" : "RuntimeAssertionsTests",
"module_type" : "SwiftTarget",
"name" : "RuntimeAssertionsTests",
"path" : "Tests/RuntimeAssertionsTests",
"sources" : [
"RuntimeAssertionsTests.swift",
"RuntimePreconditionsTests.swift"
],
"target_dependencies" : [
"RuntimeAssertions",
"RuntimeAssertionsTesting"
],
"type" : "test"
},
{
"c99name" : "RuntimeAssertionsTesting",
"module_type" : "SwiftTarget",
"name" : "RuntimeAssertionsTesting",
"path" : "Sources/RuntimeAssertionsTesting",
"product_memberships" : [
"RuntimeAssertionsTesting"
],
"sources" : [
"RuntimeAssertion.swift",
"RuntimePrecondition.swift"
],
"target_dependencies" : [
"RuntimeAssertions"
],
"type" : "library"
},
{
"c99name" : "RuntimeAssertions",
"module_type" : "SwiftTarget",
"name" : "RuntimeAssertions",
"path" : "Sources/RuntimeAssertions",
"product_memberships" : [
"RuntimeAssertions",
"RuntimeAssertionsTesting",
"XCTRuntimeAssertions"
],
"sources" : [
"Assert.swift",
"Counter.swift",
"DebugOnly.swift",
"NeverReturn.swift",
"Precondition.swift",
"RuntimeAssertion.swift",
"RuntimeAssertionInjection.swift",
"RuntimePrecondition.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/12] Compiling RuntimeAssertions DebugOnly.swift
[6/12] Compiling RuntimeAssertions Precondition.swift
[7/13] Compiling RuntimeAssertions RuntimePrecondition.swift
/host/spi-builder-workspace/Sources/RuntimeAssertions/RuntimePrecondition.swift:41:5: error: cannot find 'usleep' in scope
39 | // `wait(for: [expectation], timeout: timeout)`
40 | // here as we need to make the method independent of XCTestCase to also use it in our TestApp UITest target which fails if you import XCTest.
41 | usleep(useconds_t(1_000_000 * timeout))
| `- error: cannot find 'usleep' in scope
42 | expressionWorkItem.cancel()
43 | }
/host/spi-builder-workspace/Sources/RuntimeAssertions/RuntimePrecondition.swift:67:5: error: cannot find 'usleep' in scope
65 | // `wait(for: [expectation], timeout: timeout)`
66 | // here as we need to make the method independent of XCTestCase to also use it in our TestApp UITest target which fails if you import XCTest.
67 | usleep(useconds_t(1_000_000 * timeout))
| `- error: cannot find 'usleep' in scope
68 | task.cancel()
69 | }
[8/13] Compiling RuntimeAssertions RuntimeAssertionInjection.swift
[9/13] Compiling RuntimeAssertions RuntimeAssertion.swift
[10/13] Compiling RuntimeAssertions NeverReturn.swift
[11/13] Compiling RuntimeAssertions Assert.swift
[12/13] Emitting module RuntimeAssertions
[13/13] Compiling RuntimeAssertions Counter.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/9] Compiling RuntimeAssertions NeverReturn.swift
[3/10] Compiling RuntimeAssertions Precondition.swift
[4/10] Compiling RuntimeAssertions DebugOnly.swift
[5/10] Compiling RuntimeAssertions Counter.swift
[6/10] Compiling RuntimeAssertions Assert.swift
[7/10] Emitting module RuntimeAssertions
[8/10] Compiling RuntimeAssertions RuntimeAssertion.swift
[9/10] Compiling RuntimeAssertions RuntimePrecondition.swift
/host/spi-builder-workspace/Sources/RuntimeAssertions/RuntimePrecondition.swift:41:5: error: cannot find 'usleep' in scope
39 | // `wait(for: [expectation], timeout: timeout)`
40 | // here as we need to make the method independent of XCTestCase to also use it in our TestApp UITest target which fails if you import XCTest.
41 | usleep(useconds_t(1_000_000 * timeout))
| `- error: cannot find 'usleep' in scope
42 | expressionWorkItem.cancel()
43 | }
/host/spi-builder-workspace/Sources/RuntimeAssertions/RuntimePrecondition.swift:67:5: error: cannot find 'usleep' in scope
65 | // `wait(for: [expectation], timeout: timeout)`
66 | // here as we need to make the method independent of XCTestCase to also use it in our TestApp UITest target which fails if you import XCTest.
67 | usleep(useconds_t(1_000_000 * timeout))
| `- error: cannot find 'usleep' in scope
68 | task.cancel()
69 | }
[10/10] Compiling RuntimeAssertions RuntimeAssertionInjection.swift
BUILD FAILURE 6.1 android