Build Information
Failed to build Light-Swift-Untar, reference main (0facd9), with Swift 6.1 for Android on 14 Feb 2026 06:55:52 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/UInt2048/Light-Swift-Untar.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/UInt2048/Light-Swift-Untar
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 0facd92 Fix URL unwrap fatal error in xcode preview (#4)
Cloned https://github.com/UInt2048/Light-Swift-Untar.git
Revision (git rev-parse @):
0facd92faa289d38beb0401361557c6d53129788
SUCCESS checkout https://github.com/UInt2048/Light-Swift-Untar.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/UInt2048/Light-Swift-Untar.git
https://github.com/UInt2048/Light-Swift-Untar.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "Light-Swift-Untar",
"name" : "Light-Swift-Untar",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Light-Swift-Untar",
"targets" : [
"Light-Swift-Untar"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "Light_Swift_Untar",
"module_type" : "SwiftTarget",
"name" : "Light-Swift-Untar",
"path" : ".",
"product_memberships" : [
"Light-Swift-Untar"
],
"sources" : [
"Light-Swift-Untar.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:08fa5f1bd27c53c71ebe7c2842e29d52715d90da2c5b8f52513c9039c232613d
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/4] Emitting module Light_Swift_Untar
/host/spi-builder-workspace/Light-Swift-Untar.swift:17:22: warning: static property 'tarBlockSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | public extension FileManager {
16 | // MARK: - Definitions
17 | private static var tarBlockSize: UInt64 = 512
| |- warning: static property 'tarBlockSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'tarBlockSize' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'tarBlockSize' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | private static var tarTypePosition: UInt64 = 156
19 | private static var tarNamePosition: UInt64 = 0
/host/spi-builder-workspace/Light-Swift-Untar.swift:18:22: warning: static property 'tarTypePosition' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | // MARK: - Definitions
17 | private static var tarBlockSize: UInt64 = 512
18 | private static var tarTypePosition: UInt64 = 156
| |- warning: static property 'tarTypePosition' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'tarTypePosition' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'tarTypePosition' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | private static var tarNamePosition: UInt64 = 0
20 | private static var tarNameSize: UInt64 = 100
/host/spi-builder-workspace/Light-Swift-Untar.swift:19:22: warning: static property 'tarNamePosition' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | private static var tarBlockSize: UInt64 = 512
18 | private static var tarTypePosition: UInt64 = 156
19 | private static var tarNamePosition: UInt64 = 0
| |- warning: static property 'tarNamePosition' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'tarNamePosition' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'tarNamePosition' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | private static var tarNameSize: UInt64 = 100
21 | private static var tarSizePosition: UInt64 = 124
/host/spi-builder-workspace/Light-Swift-Untar.swift:20:22: warning: static property 'tarNameSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 | private static var tarTypePosition: UInt64 = 156
19 | private static var tarNamePosition: UInt64 = 0
20 | private static var tarNameSize: UInt64 = 100
| |- warning: static property 'tarNameSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'tarNameSize' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'tarNameSize' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | private static var tarSizePosition: UInt64 = 124
22 | private static var tarSizeSize: UInt64 = 12
/host/spi-builder-workspace/Light-Swift-Untar.swift:21:22: warning: static property 'tarSizePosition' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | private static var tarNamePosition: UInt64 = 0
20 | private static var tarNameSize: UInt64 = 100
21 | private static var tarSizePosition: UInt64 = 124
| |- warning: static property 'tarSizePosition' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'tarSizePosition' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'tarSizePosition' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | private static var tarSizeSize: UInt64 = 12
23 | private static var tarMaxBlockLoadInMemory: UInt64 = 100
/host/spi-builder-workspace/Light-Swift-Untar.swift:22:22: warning: static property 'tarSizeSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | private static var tarNameSize: UInt64 = 100
21 | private static var tarSizePosition: UInt64 = 124
22 | private static var tarSizeSize: UInt64 = 12
| |- warning: static property 'tarSizeSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'tarSizeSize' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'tarSizeSize' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | private static var tarMaxBlockLoadInMemory: UInt64 = 100
24 |
/host/spi-builder-workspace/Light-Swift-Untar.swift:23:22: warning: static property 'tarMaxBlockLoadInMemory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | private static var tarSizePosition: UInt64 = 124
22 | private static var tarSizeSize: UInt64 = 12
23 | private static var tarMaxBlockLoadInMemory: UInt64 = 100
| |- warning: static property 'tarMaxBlockLoadInMemory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'tarMaxBlockLoadInMemory' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'tarMaxBlockLoadInMemory' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | // MARK: - Private Methods
[4/4] Compiling Light_Swift_Untar Light-Swift-Untar.swift
/host/spi-builder-workspace/Light-Swift-Untar.swift:17:22: warning: static property 'tarBlockSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | public extension FileManager {
16 | // MARK: - Definitions
17 | private static var tarBlockSize: UInt64 = 512
| |- warning: static property 'tarBlockSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'tarBlockSize' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'tarBlockSize' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | private static var tarTypePosition: UInt64 = 156
19 | private static var tarNamePosition: UInt64 = 0
/host/spi-builder-workspace/Light-Swift-Untar.swift:18:22: warning: static property 'tarTypePosition' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | // MARK: - Definitions
17 | private static var tarBlockSize: UInt64 = 512
18 | private static var tarTypePosition: UInt64 = 156
| |- warning: static property 'tarTypePosition' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'tarTypePosition' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'tarTypePosition' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | private static var tarNamePosition: UInt64 = 0
20 | private static var tarNameSize: UInt64 = 100
/host/spi-builder-workspace/Light-Swift-Untar.swift:19:22: warning: static property 'tarNamePosition' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | private static var tarBlockSize: UInt64 = 512
18 | private static var tarTypePosition: UInt64 = 156
19 | private static var tarNamePosition: UInt64 = 0
| |- warning: static property 'tarNamePosition' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'tarNamePosition' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'tarNamePosition' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | private static var tarNameSize: UInt64 = 100
21 | private static var tarSizePosition: UInt64 = 124
/host/spi-builder-workspace/Light-Swift-Untar.swift:20:22: warning: static property 'tarNameSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 | private static var tarTypePosition: UInt64 = 156
19 | private static var tarNamePosition: UInt64 = 0
20 | private static var tarNameSize: UInt64 = 100
| |- warning: static property 'tarNameSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'tarNameSize' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'tarNameSize' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | private static var tarSizePosition: UInt64 = 124
22 | private static var tarSizeSize: UInt64 = 12
/host/spi-builder-workspace/Light-Swift-Untar.swift:21:22: warning: static property 'tarSizePosition' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | private static var tarNamePosition: UInt64 = 0
20 | private static var tarNameSize: UInt64 = 100
21 | private static var tarSizePosition: UInt64 = 124
| |- warning: static property 'tarSizePosition' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'tarSizePosition' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'tarSizePosition' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | private static var tarSizeSize: UInt64 = 12
23 | private static var tarMaxBlockLoadInMemory: UInt64 = 100
/host/spi-builder-workspace/Light-Swift-Untar.swift:22:22: warning: static property 'tarSizeSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | private static var tarNameSize: UInt64 = 100
21 | private static var tarSizePosition: UInt64 = 124
22 | private static var tarSizeSize: UInt64 = 12
| |- warning: static property 'tarSizeSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'tarSizeSize' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'tarSizeSize' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | private static var tarMaxBlockLoadInMemory: UInt64 = 100
24 |
/host/spi-builder-workspace/Light-Swift-Untar.swift:23:22: warning: static property 'tarMaxBlockLoadInMemory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | private static var tarSizePosition: UInt64 = 124
22 | private static var tarSizeSize: UInt64 = 12
23 | private static var tarMaxBlockLoadInMemory: UInt64 = 100
| |- warning: static property 'tarMaxBlockLoadInMemory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'tarMaxBlockLoadInMemory' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'tarMaxBlockLoadInMemory' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | // MARK: - Private Methods
/host/spi-builder-workspace/Light-Swift-Untar.swift:96:7: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
94 | path: String) {
95 | if let data = object as? Data {
96 | createFile(atPath: path, contents: data.subdata(in: Int(_loc) ..< Int(_loc + _len)),
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
97 | attributes: nil)
98 | } else if let fileHandle = object as? FileHandle {
/host/spi-builder-workspace/Light-Swift-Untar.swift:106:11: error: cannot find 'autoreleasepool' in scope
104 | var length = _len, location = _loc
105 | while length > maxSize {
106 | autoreleasepool { // Needed to prevent heap overflow when reading large files
| `- error: cannot find 'autoreleasepool' in scope
107 | destinationFile.write(fileHandle.readData(ofLength: Int(maxSize)))
108 | }
/host/spi-builder-workspace/Light-Swift-Untar.swift:112:9: error: cannot find 'autoreleasepool' in scope
110 | length -= maxSize
111 | }
112 | autoreleasepool { // Needed to prevent heap overflow when reading large files
| `- error: cannot find 'autoreleasepool' in scope
113 | destinationFile.write(fileHandle.readData(ofLength: Int(length)))
114 | }
/host/spi-builder-workspace/Light-Swift-Untar.swift:125:14: error: cannot find 'autoreleasepool' in scope
123 | } else if let fileHandle = object as? FileHandle {
124 | fileHandle.seek(toFileOffset: location)
125 | return autoreleasepool { // Needed to prevent heap overflow when reading large files
| `- error: cannot find 'autoreleasepool' in scope
126 | fileHandle.readData(ofLength: Int(length))
127 | }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:08fa5f1bd27c53c71ebe7c2842e29d52715d90da2c5b8f52513c9039c232613d
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/3] Emitting module Light_Swift_Untar
[3/3] Compiling Light_Swift_Untar Light-Swift-Untar.swift
/host/spi-builder-workspace/Light-Swift-Untar.swift:96:7: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
94 | path: String) {
95 | if let data = object as? Data {
96 | createFile(atPath: path, contents: data.subdata(in: Int(_loc) ..< Int(_loc + _len)),
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
97 | attributes: nil)
98 | } else if let fileHandle = object as? FileHandle {
/host/spi-builder-workspace/Light-Swift-Untar.swift:106:11: error: cannot find 'autoreleasepool' in scope
104 | var length = _len, location = _loc
105 | while length > maxSize {
106 | autoreleasepool { // Needed to prevent heap overflow when reading large files
| `- error: cannot find 'autoreleasepool' in scope
107 | destinationFile.write(fileHandle.readData(ofLength: Int(maxSize)))
108 | }
/host/spi-builder-workspace/Light-Swift-Untar.swift:112:9: error: cannot find 'autoreleasepool' in scope
110 | length -= maxSize
111 | }
112 | autoreleasepool { // Needed to prevent heap overflow when reading large files
| `- error: cannot find 'autoreleasepool' in scope
113 | destinationFile.write(fileHandle.readData(ofLength: Int(length)))
114 | }
/host/spi-builder-workspace/Light-Swift-Untar.swift:125:14: error: cannot find 'autoreleasepool' in scope
123 | } else if let fileHandle = object as? FileHandle {
124 | fileHandle.seek(toFileOffset: location)
125 | return autoreleasepool { // Needed to prevent heap overflow when reading large files
| `- error: cannot find 'autoreleasepool' in scope
126 | fileHandle.readData(ofLength: Int(length))
127 | }
BUILD FAILURE 6.1 android