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 SourceMapper, reference 3.0.0 (6caa27), with Swift 6.2 (beta) for Android on 22 Jun 2025 03:16:58 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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/johnfairh/SourceMapper.git
Reference: 3.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/johnfairh/SourceMapper
 * tag               3.0.0      -> FETCH_HEAD
HEAD is now at 6caa27e Move test suite to Swift Testing (#7)
Cloned https://github.com/johnfairh/SourceMapper.git
Revision (git rev-parse @):
6caa27efd77e2ced74b5eddecf9bff83bfc44d66
SUCCESS checkout https://github.com/johnfairh/SourceMapper.git at 3.0.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/johnfairh/SourceMapper.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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
Building for debugging...
[0/7] Write sources
[2/7] Write swift-version-8C5A4AE7A8CE2BA.txt
[4/14] Compiling SourceMapper VLQ.swift
[5/14] Compiling SourceMapper UnpackedSourceMap.swift
[6/14] Emitting module SourceMapper
[7/14] Compiling SourceMapper JSON.swift
[8/14] Compiling SourceMapper Errors.swift
[9/14] Compiling SourceMapper Mappings.swift
[10/14] Compiling SourceMapper SourceMap.swift
[11/15] Wrapping AST for SourceMapper for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/17] Emitting module Cli
/host/spi-builder-workspace/Sources/Cli/main.swift:17:48: error: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
15 | let args = ProcessInfo.processInfo.arguments
16 | guard args.count == 2 else {
17 |     fputs("Syntax: srcmapcat <srcmap file>\n", stderr)
   |                                                `- error: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
18 |     exit(1)
19 | }
/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/Sources/Cli/main.swift:31:32: error: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
29 |     print(unpacked.segmentsDescription)
30 | } catch {
31 |     fputs("Error: \(error)\n", stderr)
   |                                `- error: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
32 |     exit(2)
33 | }
/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. */
[14/17] Compiling Cli main.swift
/host/spi-builder-workspace/Sources/Cli/main.swift:17:48: error: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
15 | let args = ProcessInfo.processInfo.arguments
16 | guard args.count == 2 else {
17 |     fputs("Syntax: srcmapcat <srcmap file>\n", stderr)
   |                                                `- error: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
18 |     exit(1)
19 | }
/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/Sources/Cli/main.swift:31:32: error: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
29 |     print(unpacked.segmentsDescription)
30 | } catch {
31 |     fputs("Error: \(error)\n", stderr)
   |                                `- error: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
32 |     exit(2)
33 | }
/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. */
BUILD FAILURE 6.2 android