The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-log-playground, reference 0.3.0 (248ae9), with Swift 6.3 for Android on 17 Apr 2026 18:03:54 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kkebo/swift-log-playground.git
Reference: 0.3.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/kkebo/swift-log-playground
 * tag               0.3.0      -> FETCH_HEAD
HEAD is now at 248ae97 Merge pull request #34 from kkebo/update-package-resolved
Cloned https://github.com/kkebo/swift-log-playground.git
Revision (git rev-parse @):
248ae97fa5d2687ed80d8cdd5c6b9b0c3ac4ff2c
SUCCESS checkout https://github.com/kkebo/swift-log-playground.git at 0.3.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.3
Building package at path:  $PWD
https://github.com/kkebo/swift-log-playground.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest
Fetching https://github.com/apple/swift-log
[1/6635] Fetching swift-log
Fetched https://github.com/apple/swift-log from cache (1.30s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.7.0 (2.22s)
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.7.0
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--4F562202D5529B1.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/8] Compiling Logging MetadataProvider.swift
[5/8] Emitting module Logging
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1360:36: error: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
1358 |         let systemStderr = Glibc.stderr!
1359 |         #elseif canImport(Android)
1360 |         let systemStderr = Android.stderr
     |                                    `- error: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
1361 |         #elseif canImport(Musl)
1362 |         let systemStderr = Musl.stderr!
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_android.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/swift-log/Sources/Logging/Logging.swift:1380:36: error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
1378 |         let systemStdout = Glibc.stdout!
1379 |         #elseif canImport(Android)
1380 |         let systemStdout = Android.stdout
     |                                    `- error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
1381 |         #elseif canImport(Musl)
1382 |         let systemStdout = Musl.stdout!
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_android.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 |
[6/8] Compiling Logging LogHandler.swift
[7/8] Compiling Logging Locks.swift
[8/8] Compiling Logging Logging.swift
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1360:36: error: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
1358 |         let systemStderr = Glibc.stderr!
1359 |         #elseif canImport(Android)
1360 |         let systemStderr = Android.stderr
     |                                    `- error: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
1361 |         #elseif canImport(Musl)
1362 |         let systemStderr = Musl.stderr!
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_android.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/swift-log/Sources/Logging/Logging.swift:1380:36: error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
1378 |         let systemStdout = Glibc.stdout!
1379 |         #elseif canImport(Android)
1380 |         let systemStdout = Android.stdout
     |                                    `- error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
1381 |         #elseif canImport(Musl)
1382 |         let systemStdout = Musl.stdout!
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_android.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 |
BUILD FAILURE 6.3 android