The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SourceMapper, reference 3.0.0 (6caa27), with Swift 6.1 for Android on 29 May 2025 17:42:03 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
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.1
Building package at path:  $PWD
https://github.com/johnfairh/SourceMapper.git
https://github.com/johnfairh/SourceMapper.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SourceMapper",
  "name" : "SourceMapper",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SourceMapper",
      "targets" : [
        "SourceMapper"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "srcmapcat",
      "targets" : [
        "Cli"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SourceMapperTests",
      "module_type" : "SwiftTarget",
      "name" : "SourceMapperTests",
      "path" : "Tests/SourceMapperTests",
      "sources" : [
        "TestBasics.swift",
        "TestHelpers.swift",
        "TestJSON.swift",
        "TestMappings.swift",
        "TestVLQ.swift"
      ],
      "target_dependencies" : [
        "SourceMapper"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SourceMapper",
      "module_type" : "SwiftTarget",
      "name" : "SourceMapper",
      "path" : "Sources/SourceMapper",
      "product_memberships" : [
        "SourceMapper",
        "srcmapcat"
      ],
      "sources" : [
        "Errors.swift",
        "JSON.swift",
        "Mappings.swift",
        "SourceMap.swift",
        "UnpackedSourceMap.swift",
        "VLQ.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Cli",
      "module_type" : "SwiftTarget",
      "name" : "Cli",
      "path" : "Sources/Cli",
      "product_memberships" : [
        "srcmapcat"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "SourceMapper"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Building for debugging...
[0/7] Write sources
[2/7] Write swift-version-24593BA9C3E375BF.txt
[4/14] Compiling SourceMapper VLQ.swift
[5/14] Compiling SourceMapper UnpackedSourceMap.swift
[6/14] Compiling SourceMapper Errors.swift
[7/14] Compiling SourceMapper JSON.swift
[8/14] Emitting module SourceMapper
[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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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. */
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
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/5] Write swift-version-24593BA9C3E375BF.txt
[2/12] Compiling SourceMapper Errors.swift
[3/12] Emitting module SourceMapper
[4/12] Compiling SourceMapper SourceMap.swift
[5/12] Compiling SourceMapper JSON.swift
[6/12] Compiling SourceMapper VLQ.swift
[7/12] Compiling SourceMapper Mappings.swift
[8/12] Compiling SourceMapper UnpackedSourceMap.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/14] 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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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. */
[11/14] 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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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.1 android