The Swift Package Index logo.Swift Package Index

Build Information

Failed to build stringray, reference main (0705ed), with Swift 6.1 for Android on 27 May 2025 08:20:04 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.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/g-off/stringray.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/g-off/stringray
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 0705ed8 Merge pull request #14 from g-Off/github-ci
Cloned https://github.com/g-off/stringray.git
Revision (git rev-parse @):
0705ed8b0fe250d54735b65bb668e0cf16e87c69
SUCCESS checkout https://github.com/g-off/stringray.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/g-off/stringray.git
https://github.com/g-off/stringray.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "yams",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jpsim/Yams.git"
    },
    {
      "identity" : "swiftytexttable",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.5.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/scottrhoyt/SwiftyTextTable.git"
    },
    {
      "identity" : "xcodeproject",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.5.0-alpha.3",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/g-Off/XcodeProject.git"
    },
    {
      "identity" : "commandregistry",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/g-Off/CommandRegistry.git"
    },
    {
      "identity" : "swift-package-manager",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.3.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-package-manager.git"
    }
  ],
  "manifest_display_name" : "stringray",
  "name" : "stringray",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.14"
    }
  ],
  "products" : [
    {
      "name" : "stringray",
      "targets" : [
        "stringray"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "RayGun",
      "targets" : [
        "RayGun"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "stringrayTests",
      "module_type" : "SwiftTarget",
      "name" : "stringrayTests",
      "path" : "Tests/stringrayTests",
      "sources" : [
        "LinterTests.swift",
        "XCTestManifests.swift",
        "stringrayTests.swift"
      ],
      "target_dependencies" : [
        "RayGun"
      ],
      "type" : "test"
    },
    {
      "c99name" : "stringray",
      "module_type" : "SwiftTarget",
      "name" : "stringray",
      "path" : "Sources/stringray",
      "product_dependencies" : [
        "CommandRegistry",
        "SwiftyTextTable",
        "XcodeProject",
        "Utility",
        "Yams"
      ],
      "product_memberships" : [
        "stringray"
      ],
      "sources" : [
        "Commands/CopyCommand.swift",
        "Commands/LintCommand.swift",
        "Commands/MoveCommand.swift",
        "Commands/RenameCommand.swift",
        "Commands/SortCommand.swift",
        "Reporters/ConsoleReporter.swift",
        "Reporters/XcodeReporter.swift",
        "Version.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "RayGun"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "RayGun",
      "module_type" : "SwiftTarget",
      "name" : "RayGun",
      "path" : "Sources/RayGun",
      "product_memberships" : [
        "stringray",
        "RayGun"
      ],
      "sources" : [
        "Extensions/URL+Extensions.swift",
        "Lint Rules/LintRule.swift",
        "Lint Rules/Linter.swift",
        "Lint Rules/MissingCommentLintRule.swift",
        "Lint Rules/MissingLocalizationLintRule.swift",
        "Lint Rules/MissingPlaceholderLintRule.swift",
        "Lint Rules/OrphanedLocalizationLintRule.swift",
        "Reporters/Reporter.swift",
        "Strings Table/Cache/CachedStringsTable.swift",
        "Strings Table/Match.swift",
        "Strings Table/PlaceholderType.swift",
        "Strings Table/StringsTable+DictEntry.swift",
        "Strings Table/StringsTable+Entry.swift",
        "Strings Table/StringsTable.swift",
        "Strings Table/StringsTableLoader.swift",
        "Utilities/OrderedSet.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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 -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:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/g-Off/CommandRegistry.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/g-Off/XcodeProject.git
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
Fetching https://github.com/apple/swift-package-manager.git
[1/929] Fetching swiftytexttable
[930/962] Fetching swiftytexttable, commandregistry
[963/1575] Fetching swiftytexttable, commandregistry, xcodeproject
[1233/12222] Fetching swiftytexttable, commandregistry, xcodeproject, yams
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (0.40s)
[1179/11293] Fetching commandregistry, xcodeproject, yams
[11294/165579] Fetching commandregistry, xcodeproject, yams, swift-package-manager
Fetched https://github.com/g-Off/CommandRegistry.git from cache (1.92s)
[18975/165546] Fetching xcodeproject, yams, swift-package-manager
Fetched https://github.com/g-Off/XcodeProject.git from cache (12.37s)
Fetched https://github.com/jpsim/Yams.git from cache (12.43s)
Fetched https://github.com/apple/swift-package-manager.git from cache (12.80s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 1.0.2 (13.69s)
Computing version for https://github.com/g-Off/CommandRegistry.git
Computed https://github.com/g-Off/CommandRegistry.git at 0.1.2 (0.58s)
Computing version for https://github.com/apple/swift-package-manager.git
Computed https://github.com/apple/swift-package-manager.git at 0.3.0 (2.24s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (0.57s)
Computing version for https://github.com/g-Off/XcodeProject.git
Computed https://github.com/g-Off/XcodeProject.git at 0.5.1 (0.56s)
Fetching https://github.com/mxcl/Version.git
Fetching https://github.com/g-Off/ObjectCoder.git
[1/288] Fetching version
[289/321] Fetching version, objectcoder
Fetched https://github.com/mxcl/Version.git from cache (0.25s)
Fetched https://github.com/g-Off/ObjectCoder.git from cache (0.25s)
Computing version for https://github.com/g-Off/ObjectCoder.git
Computed https://github.com/g-Off/ObjectCoder.git at 0.1.0 (0.83s)
Computing version for https://github.com/mxcl/Version.git
Computed https://github.com/mxcl/Version.git at 1.2.0 (2.17s)
Creating working copy for https://github.com/mxcl/Version.git
Working copy of https://github.com/mxcl/Version.git resolved at 1.2.0
Creating working copy for https://github.com/g-Off/XcodeProject.git
Working copy of https://github.com/g-Off/XcodeProject.git resolved at 0.5.1
Creating working copy for https://github.com/g-Off/CommandRegistry.git
Working copy of https://github.com/g-Off/CommandRegistry.git resolved at 0.1.2
Creating working copy for https://github.com/scottrhoyt/SwiftyTextTable.git
Working copy of https://github.com/scottrhoyt/SwiftyTextTable.git resolved at 0.9.0
Creating working copy for https://github.com/apple/swift-package-manager.git
Working copy of https://github.com/apple/swift-package-manager.git resolved at 0.3.0
Creating working copy for https://github.com/g-Off/ObjectCoder.git
Working copy of https://github.com/g-Off/ObjectCoder.git resolved at 0.1.0
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 1.0.2
Building for debugging...
[0/34] Write sources
[11/34] Compiling clibc libc.c
[12/34] Write sources
[13/34] Compiling writer.c
[14/34] Compiling reader.c
[15/34] Compiling parser.c
[16/34] Compiling api.c
[17/34] Compiling emitter.c
[18/34] Write swift-version-24593BA9C3E375BF.txt
[19/34] Compiling scanner.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/85] Emitting module SPMLibc
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/SPMLibc/libc.swift:14:19: error: no such module 'Darwin.C'
12 | @_exported import Glibc
13 | #else
14 | @_exported import Darwin.C
   |                   `- error: no such module 'Darwin.C'
15 | #endif
16 |
[22/85] Compiling SPMLibc libc.swift
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/SPMLibc/libc.swift:14:19: error: no such module 'Darwin.C'
12 | @_exported import Glibc
13 | #else
14 | @_exported import Darwin.C
   |                   `- error: no such module 'Darwin.C'
15 | #endif
16 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
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/15] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/66] Emitting module SPMLibc
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/SPMLibc/libc.swift:14:19: error: no such module 'Darwin.C'
12 | @_exported import Glibc
13 | #else
14 | @_exported import Darwin.C
   |                   `- error: no such module 'Darwin.C'
15 | #endif
16 |
[3/66] Compiling SPMLibc libc.swift
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/SPMLibc/libc.swift:14:19: error: no such module 'Darwin.C'
12 | @_exported import Glibc
13 | #else
14 | @_exported import Darwin.C
   |                   `- error: no such module 'Darwin.C'
15 | #endif
16 |
BUILD FAILURE 6.1 android