Build Information
Failed to build check-permissions, reference main (0c0dd9
), with Swift 6.1 for Android on 29 May 2025 16:15:30 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/ezefranca/check-permissions.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/ezefranca/check-permissions
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 0c0dd9b Delete .DS_Store
Cloned https://github.com/ezefranca/check-permissions.git
Revision (git rev-parse @):
0c0dd9b2874492cce1752a49b092f53c8d6e6102
SUCCESS checkout https://github.com/ezefranca/check-permissions.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/ezefranca/check-permissions.git
https://github.com/ezefranca/check-permissions.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" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
},
{
"identity" : "xcodeproj",
"requirement" : {
"range" : [
{
"lower_bound" : "8.23.2",
"upper_bound" : "9.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/tuist/XcodeProj.git"
},
{
"identity" : "rainbow",
"requirement" : {
"range" : [
{
"lower_bound" : "4.0.1",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/onevcat/Rainbow"
},
{
"identity" : "swiftytexttable",
"requirement" : {
"range" : [
{
"lower_bound" : "0.9.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/scottrhoyt/SwiftyTextTable.git"
}
],
"manifest_display_name" : "check-permissions",
"name" : "check-permissions",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "watchos",
"version" : "9.0"
},
{
"name" : "tvos",
"version" : "15.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "check-permissions-cli",
"targets" : [
"check-permissions-cli"
],
"type" : {
"executable" : null
}
},
{
"name" : "check-permissions",
"targets" : [
"check-permissions"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "check_permissions_packageTests",
"module_type" : "SwiftTarget",
"name" : "check-permissions-packageTests",
"path" : "Tests/check-permissions-packageTests",
"sources" : [
"PermissionCheckerTests.swift"
],
"target_dependencies" : [
"check-permissions"
],
"type" : "test"
},
{
"c99name" : "check_permissions_cli",
"module_type" : "SwiftTarget",
"name" : "check-permissions-cli",
"path" : "Sources/check-permissions-cli",
"product_dependencies" : [
"ArgumentParser",
"Rainbow",
"SwiftyTextTable"
],
"product_memberships" : [
"check-permissions-cli"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"check-permissions"
],
"type" : "executable"
},
{
"c99name" : "check_permissions",
"module_type" : "SwiftTarget",
"name" : "check-permissions",
"path" : "Sources/check-permissions",
"product_memberships" : [
"check-permissions-cli",
"check-permissions"
],
"sources" : [
"PermissionChecker.swift"
],
"type" : "library"
}
],
"tools_version" : "5.10"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/scottrhoyt/SwiftyTextTable.git
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/tuist/XcodeProj.git
[1/929] Fetching swiftytexttable
[847/2125] Fetching swiftytexttable, rainbow
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (0.58s)
[1197/24486] Fetching rainbow, xcodeproj
[1896/39865] Fetching rainbow, xcodeproj, swift-argument-parser
Fetched https://github.com/onevcat/Rainbow from cache (2.72s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.73s)
Fetched https://github.com/tuist/XcodeProj.git from cache (2.80s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (6.23s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.1.0 (1.15s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (1.01s)
Computing version for https://github.com/tuist/XcodeProj.git
Computed https://github.com/tuist/XcodeProj.git at 8.27.7 (0.97s)
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/tadija/AEXML.git
[1/2127] Fetching aexml
[2107/3538] Fetching aexml, pathkit
Fetched https://github.com/tadija/AEXML.git from cache (0.54s)
Fetched https://github.com/kylef/PathKit.git from cache (0.57s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (4.11s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.39s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.7.0 (1.34s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (5.30s)
Creating working copy for https://github.com/tadija/AEXML.git
Working copy of https://github.com/tadija/AEXML.git resolved at 4.7.0
Creating working copy for https://github.com/tuist/XcodeProj.git
Working copy of https://github.com/tuist/XcodeProj.git resolved at 8.27.7
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
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/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.1.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.1
warning: 'spi-builder-workspace': dependency 'xcodeproj' is not used by any target
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/16] Write sources
[7/16] Write swift-version-24593BA9C3E375BF.txt
[9/33] Emitting module check_permissions
[10/33] Emitting module ArgumentParserToolInfo
[11/33] Compiling ArgumentParserToolInfo ToolInfo.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/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 | }
[14/34] Compiling Rainbow StringGenerator.swift
[15/35] Compiling Rainbow ControlCode.swift
[16/35] Compiling Rainbow ModesExtractor.swift
[17/35] Compiling Rainbow String+Rainbow.swift
[17/35] Wrapping AST for ArgumentParserToolInfo for debugging
[19/35] Compiling Rainbow Style.swift
[20/73] Emitting module ArgumentParser
[21/78] Compiling ArgumentParser ArgumentVisibility.swift
[22/78] Compiling ArgumentParser CompletionKind.swift
[23/78] Compiling ArgumentParser Errors.swift
[24/78] Compiling ArgumentParser Flag.swift
[25/78] Compiling ArgumentParser NameSpecification.swift
[26/78] Compiling ArgumentParser Option.swift
[27/78] Compiling ArgumentParser ExpressibleByArgument.swift
[28/78] Compiling ArgumentParser ParsableArguments.swift
[29/78] Compiling ArgumentParser ParsableArgumentsValidation.swift
[30/78] Compiling ArgumentParser ParsableCommand.swift
[31/78] Compiling ArgumentParser ArgumentDecoder.swift
[32/78] Compiling ArgumentParser BashCompletionsGenerator.swift
[33/78] Compiling ArgumentParser CompletionsGenerator.swift
[34/78] Compiling ArgumentParser FishCompletionsGenerator.swift
[35/78] Compiling ArgumentParser ZshCompletionsGenerator.swift
[36/78] Compiling ArgumentParser Argument.swift
[37/78] Compiling ArgumentParser ArgumentHelp.swift
[38/78] Compiling ArgumentParser OptionGroup.swift
[39/78] Compiling ArgumentParser AsyncParsableCommand.swift
[40/78] Compiling ArgumentParser CommandConfiguration.swift
[41/78] Compiling ArgumentParser CommandGroup.swift
[42/78] Compiling ArgumentParser EnumerableFlag.swift
[43/78] Compiling ArgumentParser ArgumentDefinition.swift
[44/78] Compiling ArgumentParser ArgumentSet.swift
[45/78] Compiling ArgumentParser CommandParser.swift
[46/78] Compiling ArgumentParser InputKey.swift
[47/78] Compiling ArgumentParser InputOrigin.swift
[48/78] Emitting module SwiftyTextTable
[49/78] Compiling SwiftyTextTable TextTable.swift
[51/79] Compiling Rainbow Rainbow.swift
[52/79] 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 | }
[57/79] Compiling check_permissions PermissionChecker.swift
[57/79] Wrapping AST for SwiftyTextTable for debugging
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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: 'spi-builder-workspace': dependency 'xcodeproj' is not used by any target
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/10] Write swift-version-24593BA9C3E375BF.txt
[3/27] Compiling Rainbow StringGenerator.swift
[4/28] Emitting module check_permissions
[5/28] Compiling check_permissions PermissionChecker.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/29] 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/29] Compiling SwiftyTextTable TextTable.swift
[8/29] Emitting module SwiftyTextTable
[10/30] Compiling Rainbow Rainbow.swift
[11/30] Compiling Rainbow ControlCode.swift
[12/30] Compiling Rainbow ModesExtractor.swift
[13/30] Compiling Rainbow String+Rainbow.swift
[14/30] 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 | }
[16/30] Compiling Rainbow Style.swift
[16/30] Wrapping AST for check-permissions for debugging
[18/30] Compiling ArgumentParserToolInfo ToolInfo.swift
[19/30] Emitting module ArgumentParserToolInfo
[19/31] Wrapping AST for SwiftyTextTable for debugging
[22/30] Compiling Rainbow BackgroundColor.swift
[23/30] Compiling Rainbow CodesParser.swift
[24/30] Compiling Rainbow Color.swift
[25/30] Compiling Rainbow ColorApproximation.swift
BUILD FAILURE 6.1 android