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 SwiftDependencyUpdater, reference main (8d09ac), with Swift 6.1 for Android on 8 Sep 2025 08:25:34 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Nef10/swift-dependency-updater.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/Nef10/swift-dependency-updater
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 8d09aca Bump swiftlint to 0.61.0
Cloned https://github.com/Nef10/swift-dependency-updater.git
Revision (git rev-parse @):
8d09aca5869d0bb231e6c69dd9c9b3987f36419d
SUCCESS checkout https://github.com/Nef10/swift-dependency-updater.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Nef10/swift-dependency-updater.git
https://github.com/Nef10/swift-dependency-updater.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.6.1",
            "upper_bound" : "1.7.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    },
    {
      "identity" : "shellout",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.3.1",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Nef10/ShellOut.git"
    },
    {
      "identity" : "rainbow",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.2.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/onevcat/Rainbow.git"
    },
    {
      "identity" : "releases",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.0.1",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Nef10/Releases.git"
    }
  ],
  "manifest_display_name" : "SwiftDependencyUpdater",
  "name" : "SwiftDependencyUpdater",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.11"
    }
  ],
  "products" : [
    {
      "name" : "SwiftDependencyUpdaterLibrary",
      "targets" : [
        "SwiftDependencyUpdaterLibrary"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "swift-dependency-updater",
      "targets" : [
        "SwiftDependencyUpdater"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftDependencyUpdaterLibraryTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftDependencyUpdaterLibraryTests",
      "path" : "Tests/SwiftDependencyUpdaterLibraryTests",
      "sources" : [
        "DependencyTests.swift",
        "Extensions/XCTest+Execution.swift",
        "Extensions/XCTestCase.swift",
        "ExtensionsTests/CollectionTests.swift",
        "ExtensionsTests/StringTests.swift",
        "HelpTests.swift",
        "PackageDescriptionTest.swift",
        "ResolvedPackageTests.swift",
        "Services/GitHubTests.swift",
        "Services/GitTests.swift",
        "SubCommands/GitHubCommandTests.swift",
        "SubCommands/ListCommandTests.swift",
        "SubCommands/UpdateCommandTests.swift",
        "SwiftPackageTests.swift",
        "SwiftPackageUpdateTests.swift",
        "TestUtils.swift",
        "UpdateTests.swift"
      ],
      "target_dependencies" : [
        "SwiftDependencyUpdaterLibrary"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftDependencyUpdaterLibrary",
      "module_type" : "SwiftTarget",
      "name" : "SwiftDependencyUpdaterLibrary",
      "path" : "Sources/SwiftDependencyUpdaterLibrary",
      "product_dependencies" : [
        "ArgumentParser",
        "ShellOut",
        "Rainbow",
        "Releases"
      ],
      "product_memberships" : [
        "SwiftDependencyUpdaterLibrary",
        "swift-dependency-updater"
      ],
      "sources" : [
        "Dependency.swift",
        "Extensions/Collection.swift",
        "Extensions/String.swift",
        "Extensions/Version.swift",
        "PackageDescription.swift",
        "ResolvedPackageParser.swift",
        "Services/Git.swift",
        "Services/GitHub.swift",
        "SubCommands/GitHubCommand.swift",
        "SubCommands/ListCommand.swift",
        "SubCommands/UpdateCommand.swift",
        "SwiftDependencyUpdater.swift",
        "SwiftPackage.swift",
        "SwiftPackageUpdate.swift",
        "Update.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SwiftDependencyUpdater",
      "module_type" : "SwiftTarget",
      "name" : "SwiftDependencyUpdater",
      "path" : "Sources/SwiftDependencyUpdater",
      "product_memberships" : [
        "swift-dependency-updater"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "SwiftDependencyUpdaterLibrary"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:8106a39f56f5bb7aad9f0d9a94f1e5362f9a40b692f7bc17efe17b7b91dc65fc
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/Nef10/Releases.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/onevcat/Rainbow.git
Fetching https://github.com/Nef10/ShellOut.git
[1/1335] Fetching rainbow
[82/1499] Fetching rainbow, releases
[1500/1799] Fetching rainbow, releases, shellout
Fetched https://github.com/onevcat/Rainbow.git from cache (0.29s)
[438/16156] Fetching releases, shellout, swift-argument-parser
Fetched https://github.com/Nef10/Releases.git from cache (0.92s)
Fetched https://github.com/Nef10/ShellOut.git from cache (0.92s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.93s)
Computing version for https://github.com/Nef10/Releases.git
Computed https://github.com/Nef10/Releases.git at 5.0.1 (1.41s)
Fetching https://github.com/JohnSundell/Require.git
[1/152] Fetching require
Fetched https://github.com/JohnSundell/Require.git from cache (0.20s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 4.2.0 (1.99s)
Computing version for https://github.com/Nef10/ShellOut.git
Computed https://github.com/Nef10/ShellOut.git at 2.3.1 (0.46s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.1 (0.44s)
Computing version for https://github.com/JohnSundell/Require.git
Computed https://github.com/JohnSundell/Require.git at 2.0.1 (0.47s)
Creating working copy for https://github.com/onevcat/Rainbow.git
Working copy of https://github.com/onevcat/Rainbow.git resolved at 4.2.0
Creating working copy for https://github.com/Nef10/ShellOut.git
Working copy of https://github.com/Nef10/ShellOut.git resolved at 2.3.1
Creating working copy for https://github.com/JohnSundell/Require.git
Working copy of https://github.com/JohnSundell/Require.git resolved at 2.0.1
Creating working copy for https://github.com/Nef10/Releases.git
Working copy of https://github.com/Nef10/Releases.git resolved at 5.0.1
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.6.1
warning: 'releases': 'releases' dependency on 'https://github.com/JohnSundell/ShellOut.git' conflicts with dependency on 'https://github.com/Nef10/ShellOut.git' which has the same identity 'shellout'. this will be escalated to an error in future versions of SwiftPM.
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/21] Write sources
[10/21] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/42] Emitting module Rainbow
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:49:58: error: cannot find 'isatty' in scope
47 |         // Check if we are in any term env and the output is a tty.
48 |         let termType = getEnvValue("TERM")
49 |         if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
   |                                                          `- error: cannot find 'isatty' in scope
50 |             return .console
51 |         }
[13/43] Compiling Rainbow StringGenerator.swift
[14/43] Compiling Rainbow Style.swift
[15/43] Compiling Rainbow ConditionalStyleBuilder.swift
[16/43] Compiling Rainbow ControlCode.swift
[17/43] Compiling ArgumentParserToolInfo ToolInfo.swift
[18/43] Emitting module ArgumentParserToolInfo
[19/44] Wrapping AST for ArgumentParserToolInfo for debugging
[21/73] Compiling ArgumentParser Option.swift
[22/73] Compiling ArgumentParser OptionGroup.swift
[23/88] Compiling ArgumentParser ArgumentVisibility.swift
[24/88] Compiling ArgumentParser CompletionKind.swift
[25/88] Compiling ArgumentParser Errors.swift
[26/88] Compiling ArgumentParser Flag.swift
[27/88] Compiling ArgumentParser NameSpecification.swift
[29/94] Emitting module ArgumentParser
[30/94] Compiling ArgumentParser BashCompletionsGenerator.swift
[31/94] Compiling ArgumentParser CompletionsGenerator.swift
[32/94] Compiling ArgumentParser FishCompletionsGenerator.swift
[33/94] Compiling ArgumentParser ZshCompletionsGenerator.swift
[34/94] Compiling ArgumentParser Argument.swift
[35/94] Compiling ArgumentParser ArgumentDiscussion.swift
[36/94] Compiling ArgumentParser ArgumentHelp.swift
[37/94] Compiling ArgumentParser Tree.swift
[38/94] Compiling ArgumentParser CodingKeyValidator.swift
[39/94] Compiling ArgumentParser NonsenseFlagsValidator.swift
[40/94] Compiling ArgumentParser ParsableArgumentsValidation.swift
[41/94] Compiling ArgumentParser PositionalArgumentsValidator.swift
[42/94] Compiling ArgumentParser UniqueNamesValidator.swift
[43/94] Compiling Rainbow StyledStringBuilder.swift
[44/94] Emitting module ShellOut
[45/94] Compiling ShellOut ShellOut.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:49:58: error: cannot find 'isatty' in scope
47 |         // Check if we are in any term env and the output is a tty.
48 |         let termType = getEnvValue("TERM")
49 |         if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
   |                                                          `- error: cannot find 'isatty' in scope
50 |             return .console
51 |         }
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:49:58: error: cannot find 'isatty' in scope
47 |         // Check if we are in any term env and the output is a tty.
48 |         let termType = getEnvValue("TERM")
49 |         if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
   |                                                          `- error: cannot find 'isatty' in scope
50 |             return .console
51 |         }
[53/95] Emitting module Require
[54/95] Compiling Require Require.swift
/host/spi-builder-workspace/.build/checkouts/Require/Sources/Require.swift:32:29: error: cannot find 'NSException' in scope
30 |
31 |             #if !os(Linux)
32 |             let exception = NSException(
   |                             `- error: cannot find 'NSException' in scope
33 |                 name: .invalidArgumentException,
34 |                 reason: message,
/host/spi-builder-workspace/.build/checkouts/Require/Sources/Require.swift:33:24: error: cannot infer contextual base in reference to member 'invalidArgumentException'
31 |             #if !os(Linux)
32 |             let exception = NSException(
33 |                 name: .invalidArgumentException,
   |                        `- error: cannot infer contextual base in reference to member 'invalidArgumentException'
34 |                 reason: message,
35 |                 userInfo: nil
/host/spi-builder-workspace/.build/checkouts/Require/Sources/Require.swift:35:27: error: 'nil' requires a contextual type
33 |                 name: .invalidArgumentException,
34 |                 reason: message,
35 |                 userInfo: nil
   |                           `- error: 'nil' requires a contextual type
36 |             )
37 |
[55/95] Compiling ArgumentParser InputKey.swift
[56/95] Compiling ArgumentParser InputOrigin.swift
[57/95] Compiling ArgumentParser Name.swift
[58/95] Compiling ArgumentParser Parsed.swift
[59/95] Compiling ArgumentParser ParsedValues.swift
[60/95] Compiling ArgumentParser ParserError.swift
[64/95] Compiling ArgumentParser AsyncParsableCommand.swift
[65/95] Compiling ArgumentParser CommandConfiguration.swift
[66/95] Compiling ArgumentParser CommandGroup.swift
[67/95] Compiling ArgumentParser EnumerableFlag.swift
[68/95] Compiling ArgumentParser ExpressibleByArgument.swift
[69/95] Compiling ArgumentParser ParsableArguments.swift
[70/95] Compiling ArgumentParser ParsableCommand.swift
[71/95] Compiling ArgumentParser ArgumentDecoder.swift
[72/95] Compiling ArgumentParser ArgumentDefinition.swift
[73/95] Compiling ArgumentParser ArgumentSet.swift
[74/95] Compiling ArgumentParser CommandParser.swift
[75/95] Compiling ArgumentParser SplitArguments.swift
[76/95] Compiling ArgumentParser DumpHelpGenerator.swift
[77/95] Compiling ArgumentParser HelpCommand.swift
[78/95] Compiling ArgumentParser HelpGenerator.swift
[79/95] Compiling ArgumentParser MessageInfo.swift
[80/95] Compiling ArgumentParser UsageGenerator.swift
[81/95] Compiling ArgumentParser CollectionExtensions.swift
[82/95] Compiling ArgumentParser Mutex.swift
[83/95] Compiling ArgumentParser Platform.swift
[84/95] Compiling ArgumentParser SequenceExtensions.swift
[85/95] Compiling ArgumentParser StringExtensions.swift
[86/95] Compiling ArgumentParser SwiftExtensions.swift
[86/95] Wrapping AST for ShellOut for debugging
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:8106a39f56f5bb7aad9f0d9a94f1e5362f9a40b692f7bc17efe17b7b91dc65fc
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
warning: 'releases': 'releases' dependency on 'https://github.com/JohnSundell/ShellOut.git' conflicts with dependency on 'https://github.com/Nef10/ShellOut.git' which has the same identity 'shellout'. this will be escalated to an error in future versions of SwiftPM.
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/13] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/34] Emitting module Require
[5/34] Compiling Require Require.swift
/host/spi-builder-workspace/.build/checkouts/Require/Sources/Require.swift:32:29: error: cannot find 'NSException' in scope
30 |
31 |             #if !os(Linux)
32 |             let exception = NSException(
   |                             `- error: cannot find 'NSException' in scope
33 |                 name: .invalidArgumentException,
34 |                 reason: message,
/host/spi-builder-workspace/.build/checkouts/Require/Sources/Require.swift:33:24: error: cannot infer contextual base in reference to member 'invalidArgumentException'
31 |             #if !os(Linux)
32 |             let exception = NSException(
33 |                 name: .invalidArgumentException,
   |                        `- error: cannot infer contextual base in reference to member 'invalidArgumentException'
34 |                 reason: message,
35 |                 userInfo: nil
/host/spi-builder-workspace/.build/checkouts/Require/Sources/Require.swift:35:27: error: 'nil' requires a contextual type
33 |                 name: .invalidArgumentException,
34 |                 reason: message,
35 |                 userInfo: nil
   |                           `- error: 'nil' requires a contextual type
36 |             )
37 |
[6/34] Emitting module Rainbow
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:49:58: error: cannot find 'isatty' in scope
47 |         // Check if we are in any term env and the output is a tty.
48 |         let termType = getEnvValue("TERM")
49 |         if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
   |                                                          `- error: cannot find 'isatty' in scope
50 |             return .console
51 |         }
[7/35] Emitting module ArgumentParserToolInfo
[8/35] Emitting module ShellOut
BUILD FAILURE 6.1 android