Build Information
Failed to build SwiftDependencyUpdater, reference main (917c39
), with Swift 6.1 for Android on 28 May 2025 06:31:36 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/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 917c39b Bump swift-argument-parser from 1.4.0 to 1.5.0
Cloned https://github.com/Nef10/swift-dependency-updater.git
Revision (git rev-parse @):
917c39b55e102dda1da62f0d1bff7f8c5b0af13d
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.5.0",
"upper_bound" : "1.6.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.0.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",
"ResolvedPackage.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-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 -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:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/onevcat/Rainbow.git
Fetching https://github.com/Nef10/ShellOut.git
Fetching https://github.com/Nef10/Releases.git
[1/300] Fetching shellout
[250/464] Fetching shellout, releases
[413/1660] Fetching shellout, releases, rainbow
[1609/17011] Fetching shellout, releases, rainbow, swift-argument-parser
Fetched https://github.com/Nef10/ShellOut.git from cache (0.71s)
[11645/16711] Fetching releases, rainbow, swift-argument-parser
Fetched https://github.com/Nef10/Releases.git from cache (0.72s)
Fetched https://github.com/onevcat/Rainbow.git from cache (0.73s)
[11974/15351] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.47s)
Computing version for https://github.com/Nef10/Releases.git
Computed https://github.com/Nef10/Releases.git at 5.0.1 (2.18s)
Fetching https://github.com/JohnSundell/Require.git
[1/152] Fetching require
Fetched https://github.com/JohnSundell/Require.git from cache (0.24s)
Computing version for https://github.com/Nef10/ShellOut.git
Computed https://github.com/Nef10/ShellOut.git at 2.3.1 (1.04s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.50s)
Computing version for https://github.com/JohnSundell/Require.git
Computed https://github.com/JohnSundell/Require.git at 2.0.1 (2.25s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 4.1.0 (0.67s)
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/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.0
Creating working copy for https://github.com/onevcat/Rainbow.git
Working copy of https://github.com/onevcat/Rainbow.git resolved at 4.1.0
Creating working copy for https://github.com/Nef10/Releases.git
Working copy of https://github.com/Nef10/Releases.git resolved at 5.0.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
Building for debugging...
[1/20] Write sources
[9/20] Write swift-version-24593BA9C3E375BF.txt
[11/37] Emitting module ArgumentParserToolInfo
[12/37] Compiling ArgumentParserToolInfo ToolInfo.swift
[13/38] Wrapping AST for ArgumentParserToolInfo for debugging
[15/76] Compiling Rainbow StringGenerator.swift
[16/77] Compiling Rainbow String+Rainbow.swift
[17/77] Compiling Rainbow Style.swift
[18/77] Emitting module ArgumentParser
[19/82] Compiling ArgumentParser OptionGroup.swift
[20/82] Compiling ArgumentParser AsyncParsableCommand.swift
[21/82] Compiling ArgumentParser CommandConfiguration.swift
[22/82] Compiling ArgumentParser CommandGroup.swift
[23/82] Compiling ArgumentParser EnumerableFlag.swift
[24/82] Compiling ArgumentParser ArgumentVisibility.swift
[25/82] Compiling ArgumentParser CompletionKind.swift
[26/82] Compiling ArgumentParser Errors.swift
[27/82] Compiling ArgumentParser Flag.swift
[28/82] Compiling ArgumentParser NameSpecification.swift
[29/82] Compiling ArgumentParser Option.swift
[30/82] Compiling ArgumentParser ExpressibleByArgument.swift
[31/82] Compiling ArgumentParser ParsableArguments.swift
[32/82] Compiling ArgumentParser ParsableArgumentsValidation.swift
[33/82] Compiling ArgumentParser ParsableCommand.swift
[34/82] Compiling ArgumentParser ArgumentDecoder.swift
[35/82] Compiling ArgumentParser BashCompletionsGenerator.swift
[36/82] Compiling ArgumentParser CompletionsGenerator.swift
[37/82] Compiling ArgumentParser FishCompletionsGenerator.swift
[38/82] Compiling ArgumentParser ZshCompletionsGenerator.swift
[39/82] Compiling ArgumentParser Argument.swift
[40/82] Compiling ArgumentParser ArgumentHelp.swift
[41/82] Compiling ArgumentParser CollectionExtensions.swift
[42/82] Compiling ArgumentParser Platform.swift
[43/82] Compiling ArgumentParser SequenceExtensions.swift
[44/82] Compiling ArgumentParser StringExtensions.swift
[45/82] Compiling ArgumentParser Tree.swift
[48/82] Compiling Rainbow Rainbow.swift
[49/82] Compiling Rainbow OutputTarget.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 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[54/82] 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 | }
[55/82] Compiling ShellOut ShellOut.swift
[56/82] Emitting module ShellOut
[57/83] Emitting module Require
[58/83] 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 |
[59/83] Compiling ArgumentParser ArgumentDefinition.swift
[60/83] Compiling ArgumentParser ArgumentSet.swift
[61/83] Compiling ArgumentParser CommandParser.swift
[62/83] Compiling ArgumentParser InputKey.swift
[63/83] Compiling ArgumentParser InputOrigin.swift
[64/83] Compiling ArgumentParser Name.swift
[65/83] Compiling ArgumentParser Parsed.swift
[66/83] Compiling ArgumentParser ParsedValues.swift
[67/83] Compiling ArgumentParser ParserError.swift
[68/83] Compiling ArgumentParser SplitArguments.swift
[69/83] Compiling ArgumentParser DumpHelpGenerator.swift
[70/83] Compiling ArgumentParser HelpCommand.swift
[71/83] Compiling ArgumentParser HelpGenerator.swift
[72/83] Compiling ArgumentParser MessageInfo.swift
[73/83] Compiling ArgumentParser UsageGenerator.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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
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
Building for debugging...
[1/12] Write swift-version-24593BA9C3E375BF.txt
[3/29] 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 |
[4/29] Emitting module Require
[5/29] Compiling Rainbow ControlCode.swift
[6/29] Compiling Rainbow ModesExtractor.swift
[7/29] Emitting module ArgumentParserToolInfo
[8/29] Emitting module ShellOut
BUILD FAILURE 6.1 android