Build Information
Failed to build XCTAssertUnrecoverable, reference 1.0.0 (6f5b67), with Swift 6.1 for Android on 27 May 2025 06:24:05 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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ukitaka/XCTAssertUnrecoverable.git
Reference: 1.0.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/ukitaka/XCTAssertUnrecoverable
* tag 1.0.0 -> FETCH_HEAD
HEAD is now at 6f5b67d Update to 1.0.0
Cloned https://github.com/ukitaka/XCTAssertUnrecoverable.git
Revision (git rev-parse @):
6f5b67d149203155149d7ed7456444ec33156673
SUCCESS checkout https://github.com/ukitaka/XCTAssertUnrecoverable.git at 1.0.0
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/ukitaka/XCTAssertUnrecoverable.git
https://github.com/ukitaka/XCTAssertUnrecoverable.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "XCTAssertUnrecoverable",
"name" : "XCTAssertUnrecoverable",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "XCTAssertUnrecoverable",
"targets" : [
"XCTAssertUnrecoverable"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "XCTAssertUnrecoverableTests",
"module_type" : "SwiftTarget",
"name" : "XCTAssertUnrecoverableTests",
"path" : "Tests/XCTAssertUnrecoverableTests",
"sources" : [
"XCTAssertUnrecoverableTests.swift"
],
"target_dependencies" : [
"XCTAssertUnrecoverable"
],
"type" : "test"
},
{
"c99name" : "XCTAssertUnrecoverable",
"module_type" : "SwiftTarget",
"name" : "XCTAssertUnrecoverable",
"path" : "Sources",
"product_memberships" : [
"XCTAssertUnrecoverable"
],
"sources" : [
"Fortify.swift",
"XCTAssertUnrecoverable.swift"
],
"type" : "library"
}
],
"tools_version" : "4.1"
}
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:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
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/5] Emitting module XCTAssertUnrecoverable
/host/spi-builder-workspace/Sources/Fortify.swift:44:14: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
42 | }
43 |
44 | @_silgen_name ("setjmp")
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
45 | public func setjump(_: UnsafeMutablePointer<jmp_buf>!) -> Int32
46 |
/host/spi-builder-workspace/Sources/Fortify.swift:47:14: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
45 | public func setjump(_: UnsafeMutablePointer<jmp_buf>!) -> Int32
46 |
47 | @_silgen_name ("longjmp")
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
48 | public func longjump(_: UnsafeMutablePointer<jmp_buf>!, _: Int32) -> Never
49 |
/host/spi-builder-workspace/Sources/Fortify.swift:54:24: warning: static property 'pthreadKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
52 | open class Fortify: ThreadLocal {
53 |
54 | static private var pthreadKey: pthread_key_t = 0
| |- warning: static property 'pthreadKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pthreadKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'pthreadKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 |
56 | open class var threadLocal: Fortify {
[4/5] Compiling XCTAssertUnrecoverable XCTAssertUnrecoverable.swift
[5/5] Compiling XCTAssertUnrecoverable Fortify.swift
/host/spi-builder-workspace/Sources/Fortify.swift:44:14: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
42 | }
43 |
44 | @_silgen_name ("setjmp")
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
45 | public func setjump(_: UnsafeMutablePointer<jmp_buf>!) -> Int32
46 |
/host/spi-builder-workspace/Sources/Fortify.swift:47:14: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
45 | public func setjump(_: UnsafeMutablePointer<jmp_buf>!) -> Int32
46 |
47 | @_silgen_name ("longjmp")
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
48 | public func longjump(_: UnsafeMutablePointer<jmp_buf>!, _: Int32) -> Never
49 |
/host/spi-builder-workspace/Sources/Fortify.swift:54:24: warning: static property 'pthreadKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
52 | open class Fortify: ThreadLocal {
53 |
54 | static private var pthreadKey: pthread_key_t = 0
| |- warning: static property 'pthreadKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pthreadKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'pthreadKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 |
56 | open class var threadLocal: Fortify {
/host/spi-builder-workspace/Sources/Fortify.swift:70:31: error: cannot find 'dlopen' in scope
68 | let libName: String? = nil
69 | #endif
70 | if let stdlibHandle = dlopen(libName, Int32(RTLD_LAZY | RTLD_NOLOAD)),
| `- error: cannot find 'dlopen' in scope
71 | let disableExclusivity = dlsym(stdlibHandle, "_swift_disableExclusivityChecking") {
72 | disableExclusivity.assumingMemoryBound(to: Bool.self).pointee = true
/host/spi-builder-workspace/Sources/Fortify.swift:70:53: error: cannot find 'RTLD_LAZY' in scope
68 | let libName: String? = nil
69 | #endif
70 | if let stdlibHandle = dlopen(libName, Int32(RTLD_LAZY | RTLD_NOLOAD)),
| `- error: cannot find 'RTLD_LAZY' in scope
71 | let disableExclusivity = dlsym(stdlibHandle, "_swift_disableExclusivityChecking") {
72 | disableExclusivity.assumingMemoryBound(to: Bool.self).pointee = true
/host/spi-builder-workspace/Sources/Fortify.swift:70:65: error: cannot find 'RTLD_NOLOAD' in scope
68 | let libName: String? = nil
69 | #endif
70 | if let stdlibHandle = dlopen(libName, Int32(RTLD_LAZY | RTLD_NOLOAD)),
| `- error: cannot find 'RTLD_NOLOAD' in scope
71 | let disableExclusivity = dlsym(stdlibHandle, "_swift_disableExclusivityChecking") {
72 | disableExclusivity.assumingMemoryBound(to: Bool.self).pointee = true
/host/spi-builder-workspace/Sources/Fortify.swift:71:38: error: cannot find 'dlsym' in scope
69 | #endif
70 | if let stdlibHandle = dlopen(libName, Int32(RTLD_LAZY | RTLD_NOLOAD)),
71 | let disableExclusivity = dlsym(stdlibHandle, "_swift_disableExclusivityChecking") {
| `- error: cannot find 'dlsym' in scope
72 | disableExclusivity.assumingMemoryBound(to: Bool.self).pointee = true
73 | }
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:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
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/4] Compiling XCTAssertUnrecoverable XCTAssertUnrecoverable.swift
[3/4] Emitting module XCTAssertUnrecoverable
/host/spi-builder-workspace/Sources/Fortify.swift:44:14: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
42 | }
43 |
44 | @_silgen_name ("setjmp")
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
45 | public func setjump(_: UnsafeMutablePointer<jmp_buf>!) -> Int32
46 |
/host/spi-builder-workspace/Sources/Fortify.swift:47:14: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
45 | public func setjump(_: UnsafeMutablePointer<jmp_buf>!) -> Int32
46 |
47 | @_silgen_name ("longjmp")
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
48 | public func longjump(_: UnsafeMutablePointer<jmp_buf>!, _: Int32) -> Never
49 |
[4/4] Compiling XCTAssertUnrecoverable Fortify.swift
/host/spi-builder-workspace/Sources/Fortify.swift:44:14: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
42 | }
43 |
44 | @_silgen_name ("setjmp")
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
45 | public func setjump(_: UnsafeMutablePointer<jmp_buf>!) -> Int32
46 |
/host/spi-builder-workspace/Sources/Fortify.swift:47:14: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
45 | public func setjump(_: UnsafeMutablePointer<jmp_buf>!) -> Int32
46 |
47 | @_silgen_name ("longjmp")
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
48 | public func longjump(_: UnsafeMutablePointer<jmp_buf>!, _: Int32) -> Never
49 |
/host/spi-builder-workspace/Sources/Fortify.swift:70:31: error: cannot find 'dlopen' in scope
68 | let libName: String? = nil
69 | #endif
70 | if let stdlibHandle = dlopen(libName, Int32(RTLD_LAZY | RTLD_NOLOAD)),
| `- error: cannot find 'dlopen' in scope
71 | let disableExclusivity = dlsym(stdlibHandle, "_swift_disableExclusivityChecking") {
72 | disableExclusivity.assumingMemoryBound(to: Bool.self).pointee = true
/host/spi-builder-workspace/Sources/Fortify.swift:70:53: error: cannot find 'RTLD_LAZY' in scope
68 | let libName: String? = nil
69 | #endif
70 | if let stdlibHandle = dlopen(libName, Int32(RTLD_LAZY | RTLD_NOLOAD)),
| `- error: cannot find 'RTLD_LAZY' in scope
71 | let disableExclusivity = dlsym(stdlibHandle, "_swift_disableExclusivityChecking") {
72 | disableExclusivity.assumingMemoryBound(to: Bool.self).pointee = true
/host/spi-builder-workspace/Sources/Fortify.swift:70:65: error: cannot find 'RTLD_NOLOAD' in scope
68 | let libName: String? = nil
69 | #endif
70 | if let stdlibHandle = dlopen(libName, Int32(RTLD_LAZY | RTLD_NOLOAD)),
| `- error: cannot find 'RTLD_NOLOAD' in scope
71 | let disableExclusivity = dlsym(stdlibHandle, "_swift_disableExclusivityChecking") {
72 | disableExclusivity.assumingMemoryBound(to: Bool.self).pointee = true
/host/spi-builder-workspace/Sources/Fortify.swift:71:38: error: cannot find 'dlsym' in scope
69 | #endif
70 | if let stdlibHandle = dlopen(libName, Int32(RTLD_LAZY | RTLD_NOLOAD)),
71 | let disableExclusivity = dlsym(stdlibHandle, "_swift_disableExclusivityChecking") {
| `- error: cannot find 'dlsym' in scope
72 | disableExclusivity.assumingMemoryBound(to: Bool.self).pointee = true
73 | }
BUILD FAILURE 6.1 android