The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build iCloudSyncStatusKit, reference 0.1.2 (8f32a4), with Swift 6.2 (beta) for Android on 22 Jun 2025 09:47:33 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.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/fatbobman/iCloudSyncStatusKit.git
Reference: 0.1.2
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/fatbobman/iCloudSyncStatusKit
 * tag               0.1.2      -> FETCH_HEAD
HEAD is now at 8f32a45 remove Observation support
Cloned https://github.com/fatbobman/iCloudSyncStatusKit.git
Revision (git rev-parse @):
8f32a45b258ccb338a62623452fbf9b2002d0a2f
SUCCESS checkout https://github.com/fatbobman/iCloudSyncStatusKit.git at 0.1.2
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/fatbobman/iCloudSyncStatusKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/fatbobman/SimpleLogger.git
[1/114] Fetching simplelogger
Fetched https://github.com/fatbobman/SimpleLogger.git from cache (2.59s)
Computing version for https://github.com/fatbobman/SimpleLogger.git
Computed https://github.com/fatbobman/SimpleLogger.git at 0.5.1 (2.92s)
Creating working copy for https://github.com/fatbobman/SimpleLogger.git
Working copy of https://github.com/fatbobman/SimpleLogger.git resolved at 0.5.1
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-8C5A4AE7A8CE2BA.txt
[4/11] Emitting module SimpleLogger
[5/11] Compiling SimpleLogger LoggerManager.swift
[6/11] Compiling SimpleLogger LogLevel.swift
[7/11] Compiling SimpleLogger LoggerManagerProtocol.swift
[8/11] Compiling SimpleLogger ConsoleVerbosity.swift
[9/11] Compiling SimpleLogger LoggerBackendProtocol.swift
[10/11] Compiling SimpleLogger OSLogBackend.swift
[11/11] Compiling SimpleLogger ConsoleBackend.swift
/host/spi-builder-workspace/.build/checkouts/SimpleLogger/Sources/SimpleLogger/Backend/ConsoleBackend.swift:105:20: error: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
103 |             FileHandle.standardError.write(data)
104 |             try? FileHandle.standardError.synchronize()  // Force flush
105 |             fflush(stderr)
    |                    `- error: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
106 |         } else {
107 |             FileHandle.standardOutput.write(data)
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/stdio.h:64:23: note: var declared here
 62 | extern FILE* _Nonnull stdin __INTRODUCED_IN(23);
 63 | extern FILE* _Nonnull stdout __INTRODUCED_IN(23);
 64 | extern FILE* _Nonnull stderr __INTRODUCED_IN(23);
    |                       `- note: var declared here
 65 |
 66 | /* C99 and earlier plus current C++ standards say these must be macros. */
/host/spi-builder-workspace/.build/checkouts/SimpleLogger/Sources/SimpleLogger/Backend/ConsoleBackend.swift:109:20: error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
107 |             FileHandle.standardOutput.write(data)
108 |             try? FileHandle.standardOutput.synchronize()  // Force flush
109 |             fflush(stdout)
    |                    `- error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
110 |         }
111 |     }
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/stdio.h:63:23: note: var declared here
 61 | #if __ANDROID_API__ >= 23
 62 | extern FILE* _Nonnull stdin __INTRODUCED_IN(23);
 63 | extern FILE* _Nonnull stdout __INTRODUCED_IN(23);
    |                       `- note: var declared here
 64 | extern FILE* _Nonnull stderr __INTRODUCED_IN(23);
 65 |
/host/spi-builder-workspace/.build/checkouts/SimpleLogger/Sources/SimpleLogger/Backend/ConsoleBackend.swift:116:15: error: cannot find 'isatty' in scope
114 |     private func colorizeMessage(_ message: String) -> String {
115 |         // Check if we're in a terminal that supports colors
116 |         guard isatty(STDERR_FILENO) != 0 || isatty(STDOUT_FILENO) != 0 else {
    |               `- error: cannot find 'isatty' in scope
117 |             return message
118 |         }
/host/spi-builder-workspace/.build/checkouts/SimpleLogger/Sources/SimpleLogger/Backend/ConsoleBackend.swift:116:22: error: cannot find 'STDERR_FILENO' in scope
114 |     private func colorizeMessage(_ message: String) -> String {
115 |         // Check if we're in a terminal that supports colors
116 |         guard isatty(STDERR_FILENO) != 0 || isatty(STDOUT_FILENO) != 0 else {
    |                      `- error: cannot find 'STDERR_FILENO' in scope
117 |             return message
118 |         }
/host/spi-builder-workspace/.build/checkouts/SimpleLogger/Sources/SimpleLogger/Backend/ConsoleBackend.swift:116:45: error: cannot find 'isatty' in scope
114 |     private func colorizeMessage(_ message: String) -> String {
115 |         // Check if we're in a terminal that supports colors
116 |         guard isatty(STDERR_FILENO) != 0 || isatty(STDOUT_FILENO) != 0 else {
    |                                             `- error: cannot find 'isatty' in scope
117 |             return message
118 |         }
/host/spi-builder-workspace/.build/checkouts/SimpleLogger/Sources/SimpleLogger/Backend/ConsoleBackend.swift:116:52: error: cannot find 'STDOUT_FILENO' in scope
114 |     private func colorizeMessage(_ message: String) -> String {
115 |         // Check if we're in a terminal that supports colors
116 |         guard isatty(STDERR_FILENO) != 0 || isatty(STDOUT_FILENO) != 0 else {
    |                                                    `- error: cannot find 'STDOUT_FILENO' in scope
117 |             return message
118 |         }
BUILD FAILURE 6.2 android