Build Information
Failed to build SwiftFormatterPlugin, reference v1.0.3 (53d24a
), with Swift 6.1 for Android on 28 May 2025 08:12:55 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/elegantchaos/SwiftFormatterPlugin.git
Reference: v1.0.3
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/elegantchaos/SwiftFormatterPlugin
* tag v1.0.3 -> FETCH_HEAD
HEAD is now at 53d24a9 Added basic docs
Cloned https://github.com/elegantchaos/SwiftFormatterPlugin.git
Revision (git rev-parse @):
53d24a9c47d53f9c67c630e7e23fb50b8b442dd2
SUCCESS checkout https://github.com/elegantchaos/SwiftFormatterPlugin.git at v1.0.3
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/elegantchaos/SwiftFormatterPlugin.git
https://github.com/elegantchaos/SwiftFormatterPlugin.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swiftformat",
"requirement" : {
"range" : [
{
"lower_bound" : "0.49.11",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/nicklockwood/SwiftFormat"
}
],
"manifest_display_name" : "SwiftFormatterPlugin",
"name" : "SwiftFormatterPlugin",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "SwiftFormatterPlugin",
"targets" : [
"SwiftFormatterPlugin"
],
"type" : {
"plugin" : null
}
}
],
"targets" : [
{
"c99name" : "SwiftFormatterPlugin",
"module_type" : "PluginTarget",
"name" : "SwiftFormatterPlugin",
"path" : "Plugins/SwiftFormatterPlugin",
"plugin_capability" : {
"intent" : {
"type" : "sourceCodeFormatting"
},
"permissions" : [
{
"network_scope" : {
"none" : {
}
},
"reason" : "This command reformats source files.",
"type" : "writeToPackageDirectory"
}
],
"type" : "command"
},
"product_dependencies" : [
"swiftformat"
],
"product_memberships" : [
"SwiftFormatterPlugin"
],
"sources" : [
"SwiftFormatterPlugin.swift"
],
"type" : "plugin"
}
],
"tools_version" : "5.6"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/nicklockwood/SwiftFormat
[1/48182] Fetching swiftformat
Fetched https://github.com/nicklockwood/SwiftFormat from cache (39.58s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.56.2 (40.68s)
Creating working copy for https://github.com/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at 0.56.2
[1/1] Compiling plugin SwiftFormatterPlugin
[2/2] Compiling plugin SwiftFormatPlugin
Building for debugging...
[2/15] Write sources
[6/15] Write swift-version-24593BA9C3E375BF.txt
[8/267] Compiling SwiftFormat SpaceAroundParens.swift
[9/267] Compiling SwiftFormat SpaceInsideBraces.swift
[10/267] Compiling SwiftFormat SpaceInsideBrackets.swift
[11/267] Compiling SwiftFormat SpaceInsideComments.swift
[12/267] Compiling SwiftFormat SpaceInsideGenerics.swift
[13/267] Compiling SwiftFormat SpaceInsideParens.swift
[14/267] Compiling SwiftFormat Specifiers.swift
[15/267] Compiling SwiftFormat StrongOutlets.swift
[16/267] Compiling SwiftFormat StrongifiedSelf.swift
[17/267] Compiling SwiftFormat SwiftTestingTestCaseNames.swift
[18/267] Compiling SwiftFormat Todos.swift
[19/267] Compiling SwiftFormat TrailingClosures.swift
[20/267] Compiling SwiftFormat TrailingCommas.swift
[21/267] Compiling SwiftFormat TrailingSpace.swift
[22/267] Compiling SwiftFormat TypeSugar.swift
[23/267] Compiling SwiftFormat UnusedArguments.swift
[24/267] Compiling SwiftFormat UnusedPrivateDeclarations.swift
[25/267] Compiling SwiftFormat RedundantReturn.swift
[26/267] Compiling SwiftFormat RedundantSelf.swift
[27/267] Compiling SwiftFormat RedundantStaticSelf.swift
[28/267] Compiling SwiftFormat RedundantType.swift
[29/267] Compiling SwiftFormat RedundantTypedThrows.swift
[30/267] Compiling SwiftFormat RedundantVoidReturnType.swift
[31/267] Compiling SwiftFormat Semicolons.swift
[32/267] Compiling SwiftFormat SortDeclarations.swift
[33/267] Compiling SwiftFormat SortImports.swift
[34/267] Compiling SwiftFormat SortSwitchCases.swift
[35/267] Compiling SwiftFormat SortTypealiases.swift
[36/267] Compiling SwiftFormat SortedImports.swift
[37/267] Compiling SwiftFormat SortedSwitchCases.swift
[38/267] Compiling SwiftFormat SpaceAroundBraces.swift
[39/267] Compiling SwiftFormat SpaceAroundBrackets.swift
[40/267] Compiling SwiftFormat SpaceAroundComments.swift
[41/267] Compiling SwiftFormat SpaceAroundGenerics.swift
[42/267] Compiling SwiftFormat SpaceAroundOperators.swift
[43/284] Compiling SwiftFormat RedundantBackticks.swift
[44/284] Compiling SwiftFormat RedundantBreak.swift
[45/284] Compiling SwiftFormat RedundantClosure.swift
[46/284] Compiling SwiftFormat RedundantEquatable.swift
[47/284] Compiling SwiftFormat RedundantExtensionACL.swift
[48/284] Compiling SwiftFormat RedundantFileprivate.swift
[49/284] Compiling SwiftFormat RedundantGet.swift
[50/284] Compiling SwiftFormat RedundantInit.swift
[51/284] Compiling SwiftFormat RedundantInternal.swift
[52/284] Compiling SwiftFormat RedundantLet.swift
[53/284] Compiling SwiftFormat RedundantLetError.swift
[54/284] Compiling SwiftFormat RedundantNilInit.swift
[55/284] Compiling SwiftFormat RedundantObjc.swift
[56/284] Compiling SwiftFormat RedundantOptionalBinding.swift
[57/284] Compiling SwiftFormat RedundantParens.swift
[58/284] Compiling SwiftFormat RedundantPattern.swift
[59/284] Compiling SwiftFormat RedundantProperty.swift
[60/284] Compiling SwiftFormat RedundantRawValues.swift
[61/284] Compiling SwiftFormat ConsecutiveSpaces.swift
[62/284] Compiling SwiftFormat ConsistentSwitchCaseSpacing.swift
[63/284] Compiling SwiftFormat DocComments.swift
[64/284] Compiling SwiftFormat DocCommentsBeforeModifiers.swift
[65/284] Compiling SwiftFormat DuplicateImports.swift
[66/284] Compiling SwiftFormat ElseOnSameLine.swift
[67/284] Compiling SwiftFormat EmptyBraces.swift
[68/284] Compiling SwiftFormat EmptyExtensions.swift
[69/284] Compiling SwiftFormat EnumNamespaces.swift
[70/284] Compiling SwiftFormat EnvironmentEntry.swift
[71/284] Compiling SwiftFormat ExtensionAccessControl.swift
[72/284] Compiling SwiftFormat FileHeader.swift
[73/284] Compiling SwiftFormat FileMacro.swift
[74/284] Compiling SwiftFormat GenericExtensions.swift
[75/284] Compiling SwiftFormat HeaderFileName.swift
[76/284] Compiling SwiftFormat HoistAwait.swift
[77/284] Compiling SwiftFormat HoistPatternLet.swift
[78/284] Compiling SwiftFormat HoistTry.swift
[79/284] Compiling SwiftFormat Acronyms.swift
[80/284] Compiling SwiftFormat AndOperator.swift
[81/284] Compiling SwiftFormat AnyObjectProtocol.swift
[82/284] Compiling SwiftFormat ApplicationMain.swift
[83/284] Compiling SwiftFormat AssertionFailures.swift
[84/284] Compiling SwiftFormat BlankLineAfterImports.swift
[85/284] Compiling SwiftFormat BlankLineAfterSwitchCase.swift
[86/284] Compiling SwiftFormat BlankLinesAfterGuardStatements.swift
[87/284] Compiling SwiftFormat BlankLinesAroundMark.swift
[88/284] Compiling SwiftFormat BlankLinesAtEndOfScope.swift
[89/284] Compiling SwiftFormat BlankLinesAtStartOfScope.swift
[90/284] Compiling SwiftFormat BlankLinesBetweenChainedFunctions.swift
[91/284] Compiling SwiftFormat BlankLinesBetweenImports.swift
[92/284] Compiling SwiftFormat BlankLinesBetweenScopes.swift
[93/284] Compiling SwiftFormat BlockComments.swift
[94/284] Compiling SwiftFormat Braces.swift
[95/284] Compiling SwiftFormat ConditionalAssignment.swift
[96/284] Compiling SwiftFormat ConsecutiveBlankLines.swift
[97/284] Compiling SwiftFormat Indent.swift
[98/284] Compiling SwiftFormat InitCoderUnavailable.swift
[99/284] Compiling SwiftFormat IsEmpty.swift
[100/284] Compiling SwiftFormat LeadingDelimiters.swift
[101/284] Compiling SwiftFormat LinebreakAtEndOfFile.swift
[102/284] Compiling SwiftFormat Linebreaks.swift
[103/284] Compiling SwiftFormat MarkTypes.swift
[104/284] Compiling SwiftFormat ModifierOrder.swift
[105/284] Compiling SwiftFormat NoExplicitOwnership.swift
[106/284] Compiling SwiftFormat NumberFormatting.swift
[107/284] Compiling SwiftFormat OpaqueGenericParameters.swift
[108/284] Compiling SwiftFormat OrganizeDeclarations.swift
[109/284] Compiling SwiftFormat PreferCountWhere.swift
[110/284] Compiling SwiftFormat PreferForLoop.swift
[111/284] Compiling SwiftFormat PreferKeyPath.swift
[112/284] Compiling SwiftFormat PreferSwiftTesting.swift
[113/284] Compiling SwiftFormat PrivateStateVariables.swift
[114/284] Compiling SwiftFormat PropertyTypes.swift
[222/301] Emitting module SwiftFormat
[223/301] Compiling SwiftFormat Void.swift
[224/301] Compiling SwiftFormat Wrap.swift
[225/301] Compiling SwiftFormat WrapArguments.swift
[226/301] Compiling SwiftFormat WrapAttributes.swift
[227/301] Compiling SwiftFormat WrapConditionalBodies.swift
[228/301] Compiling SwiftFormat WrapEnumCases.swift
[229/301] Compiling SwiftFormat WrapLoopBodies.swift
[230/301] Compiling SwiftFormat WrapMultilineConditionalAssignment.swift
[231/301] Compiling SwiftFormat WrapMultilineFunctionChains.swift
[232/301] Compiling SwiftFormat WrapMultilineStatementBraces.swift
[233/301] Compiling SwiftFormat WrapSingleLineComments.swift
[234/301] Compiling SwiftFormat WrapSwitchCases.swift
[235/301] Compiling SwiftFormat YodaConditions.swift
[236/301] Compiling SwiftFormat Singularize.swift
[237/301] Compiling SwiftFormat SwiftFormat.swift
[238/301] Compiling SwiftFormat Tokenizer.swift
[239/301] Compiling SwiftFormat XMLReporter.swift
[257/301] Compiling SwiftFormat Arguments.swift
[258/301] Compiling SwiftFormat CommandLine.swift
[259/301] Compiling SwiftFormat Declaration.swift
[260/301] Compiling SwiftFormat DeclarationType.swift
[261/301] Compiling SwiftFormat EnumAssociable.swift
[262/301] Compiling SwiftFormat FormatRule.swift
[263/301] Compiling SwiftFormat Formatter.swift
[264/301] Compiling SwiftFormat FormattingHelpers.swift
[265/301] Compiling SwiftFormat GitFileInfo.swift
[266/301] Compiling SwiftFormat GithubActionsLogReporter.swift
[267/301] Compiling SwiftFormat Globs.swift
[268/301] Compiling SwiftFormat Inference.swift
[269/301] Compiling SwiftFormat JSONReporter.swift
[270/301] Compiling SwiftFormat OptionDescriptor.swift
[271/301] Compiling SwiftFormat Options.swift
[272/301] Compiling SwiftFormat ParsingHelpers.swift
[273/301] Compiling SwiftFormat Reporter.swift
[274/301] Compiling SwiftFormat RuleRegistry.generated.swift
[275/301] Emitting module SwiftFormat
[276/302] Wrapping AST for SwiftFormat for debugging
[278/304] Compiling CommandLineTool main.swift
[279/304] Emitting module CommandLineTool
[280/305] Wrapping AST for CommandLineTool for debugging
[281/305] Write Objects.LinkFileList
[300/305] Linking swiftformat-tool
[302/306] Wrapping AST for SwiftFormat for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[304/308] Emitting module CommandLineTool
/host/spi-builder-workspace/.build/checkouts/SwiftFormat/CommandLineTool/main.swift:65:27: error: cannot find 'isatty' in scope
63 | private var stderr = FileHandleOutputStream(filehandle: .standardError)
64 |
65 | private let stderrIsTTY = isatty(STDERR_FILENO) != 0
| `- error: cannot find 'isatty' in scope
66 |
67 | private let printQueue = DispatchQueue(label: "swiftformat.print")
/host/spi-builder-workspace/.build/checkouts/SwiftFormat/CommandLineTool/main.swift:65:34: error: cannot find 'STDERR_FILENO' in scope
63 | private var stderr = FileHandleOutputStream(filehandle: .standardError)
64 |
65 | private let stderrIsTTY = isatty(STDERR_FILENO) != 0
| `- error: cannot find 'STDERR_FILENO' in scope
66 |
67 | private let printQueue = DispatchQueue(label: "swiftformat.print")
[305/308] Compiling CommandLineTool main.swift
/host/spi-builder-workspace/.build/checkouts/SwiftFormat/CommandLineTool/main.swift:65:27: error: cannot find 'isatty' in scope
63 | private var stderr = FileHandleOutputStream(filehandle: .standardError)
64 |
65 | private let stderrIsTTY = isatty(STDERR_FILENO) != 0
| `- error: cannot find 'isatty' in scope
66 |
67 | private let printQueue = DispatchQueue(label: "swiftformat.print")
/host/spi-builder-workspace/.build/checkouts/SwiftFormat/CommandLineTool/main.swift:65:34: error: cannot find 'STDERR_FILENO' in scope
63 | private var stderr = FileHandleOutputStream(filehandle: .standardError)
64 |
65 | private let stderrIsTTY = isatty(STDERR_FILENO) != 0
| `- error: cannot find 'STDERR_FILENO' in scope
66 |
67 | private let printQueue = DispatchQueue(label: "swiftformat.print")
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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
[1/1] Compiling plugin SwiftFormatterPlugin
[2/2] Compiling plugin SwiftFormatPlugin
Building for debugging...
[2/11] Write swift-version-24593BA9C3E375BF.txt
[4/263] Compiling SwiftFormat RedundantSelf.swift
[5/263] Compiling SwiftFormat RedundantStaticSelf.swift
[6/263] Compiling SwiftFormat RedundantType.swift
[7/263] Compiling SwiftFormat RedundantTypedThrows.swift
[8/263] Compiling SwiftFormat RedundantVoidReturnType.swift
[9/263] Compiling SwiftFormat Semicolons.swift
[10/263] Compiling SwiftFormat SortDeclarations.swift
[11/263] Compiling SwiftFormat SortImports.swift
[12/263] Compiling SwiftFormat SortSwitchCases.swift
[13/263] Compiling SwiftFormat SortTypealiases.swift
[14/263] Compiling SwiftFormat SortedImports.swift
[15/263] Compiling SwiftFormat SortedSwitchCases.swift
[16/263] Compiling SwiftFormat SpaceAroundBraces.swift
[17/263] Compiling SwiftFormat SpaceAroundBrackets.swift
[18/263] Compiling SwiftFormat SpaceAroundComments.swift
[19/263] Compiling SwiftFormat SpaceAroundGenerics.swift
[20/263] Compiling SwiftFormat SpaceAroundOperators.swift
[21/280] Compiling SwiftFormat RedundantBackticks.swift
[22/280] Compiling SwiftFormat RedundantBreak.swift
[23/280] Compiling SwiftFormat RedundantClosure.swift
[24/280] Compiling SwiftFormat RedundantEquatable.swift
[25/280] Compiling SwiftFormat RedundantExtensionACL.swift
[26/280] Compiling SwiftFormat RedundantFileprivate.swift
[27/280] Compiling SwiftFormat RedundantGet.swift
[28/280] Compiling SwiftFormat RedundantInit.swift
[29/280] Compiling SwiftFormat RedundantInternal.swift
[30/280] Compiling SwiftFormat RedundantLet.swift
[31/280] Compiling SwiftFormat RedundantLetError.swift
[32/280] Compiling SwiftFormat RedundantNilInit.swift
[33/280] Compiling SwiftFormat RedundantObjc.swift
[34/280] Compiling SwiftFormat RedundantOptionalBinding.swift
[35/280] Compiling SwiftFormat RedundantParens.swift
[36/280] Compiling SwiftFormat RedundantPattern.swift
[37/280] Compiling SwiftFormat RedundantProperty.swift
[38/280] Compiling SwiftFormat RedundantRawValues.swift
[39/280] Compiling SwiftFormat Indent.swift
[40/280] Compiling SwiftFormat InitCoderUnavailable.swift
[41/280] Compiling SwiftFormat IsEmpty.swift
[42/280] Compiling SwiftFormat LeadingDelimiters.swift
[43/280] Compiling SwiftFormat LinebreakAtEndOfFile.swift
[44/280] Compiling SwiftFormat Linebreaks.swift
[45/280] Compiling SwiftFormat MarkTypes.swift
[46/280] Compiling SwiftFormat ModifierOrder.swift
[47/280] Compiling SwiftFormat NoExplicitOwnership.swift
[48/280] Compiling SwiftFormat NumberFormatting.swift
[49/280] Compiling SwiftFormat OpaqueGenericParameters.swift
[50/280] Compiling SwiftFormat OrganizeDeclarations.swift
[51/280] Compiling SwiftFormat PreferCountWhere.swift
[52/280] Compiling SwiftFormat PreferForLoop.swift
[53/280] Compiling SwiftFormat PreferKeyPath.swift
[54/280] Compiling SwiftFormat PreferSwiftTesting.swift
[55/280] Compiling SwiftFormat PrivateStateVariables.swift
[56/280] Compiling SwiftFormat PropertyTypes.swift
[75/297] Compiling SwiftFormat RedundantReturn.swift
[93/297] Compiling SwiftFormat SpaceAroundParens.swift
[94/297] Compiling SwiftFormat SpaceInsideBraces.swift
[95/297] Compiling SwiftFormat SpaceInsideBrackets.swift
[96/297] Compiling SwiftFormat SpaceInsideComments.swift
[97/297] Compiling SwiftFormat SpaceInsideGenerics.swift
[98/297] Compiling SwiftFormat SpaceInsideParens.swift
[99/297] Compiling SwiftFormat Specifiers.swift
[100/297] Compiling SwiftFormat StrongOutlets.swift
[101/297] Compiling SwiftFormat StrongifiedSelf.swift
[102/297] Compiling SwiftFormat SwiftTestingTestCaseNames.swift
[103/297] Compiling SwiftFormat Todos.swift
[104/297] Compiling SwiftFormat TrailingClosures.swift
[105/297] Compiling SwiftFormat TrailingCommas.swift
[106/297] Compiling SwiftFormat TrailingSpace.swift
[107/297] Compiling SwiftFormat TypeSugar.swift
[108/297] Compiling SwiftFormat UnusedArguments.swift
[109/297] Compiling SwiftFormat UnusedPrivateDeclarations.swift
[110/297] Compiling SwiftFormat ConsecutiveSpaces.swift
[111/297] Compiling SwiftFormat AndOperator.swift
[112/297] Compiling SwiftFormat AnyObjectProtocol.swift
[113/297] Compiling SwiftFormat ApplicationMain.swift
[114/297] Compiling SwiftFormat AssertionFailures.swift
[115/297] Compiling SwiftFormat BlankLineAfterImports.swift
[116/297] Compiling SwiftFormat BlankLineAfterSwitchCase.swift
[117/297] Compiling SwiftFormat BlankLinesAfterGuardStatements.swift
[118/297] Compiling SwiftFormat BlankLinesAroundMark.swift
[119/297] Compiling SwiftFormat EnvironmentEntry.swift
[120/297] Compiling SwiftFormat BlankLinesAtStartOfScope.swift
[121/297] Compiling SwiftFormat BlankLinesBetweenChainedFunctions.swift
[122/297] Compiling SwiftFormat BlankLinesBetweenImports.swift
[123/297] Compiling SwiftFormat BlankLinesBetweenScopes.swift
[124/297] Compiling SwiftFormat BlockComments.swift
[125/297] Compiling SwiftFormat Braces.swift
[126/297] Compiling SwiftFormat ConditionalAssignment.swift
[127/297] Compiling SwiftFormat ConsecutiveBlankLines.swift
[146/297] Compiling SwiftFormat ConsecutiveSpaces.swift
[147/297] Compiling SwiftFormat ConsistentSwitchCaseSpacing.swift
[148/297] Compiling SwiftFormat DocComments.swift
[149/297] Compiling SwiftFormat DocCommentsBeforeModifiers.swift
[150/297] Compiling SwiftFormat DuplicateImports.swift
[151/297] Compiling SwiftFormat ElseOnSameLine.swift
[152/297] Compiling SwiftFormat EmptyBraces.swift
[153/297] Compiling SwiftFormat EmptyExtensions.swift
[154/297] Compiling SwiftFormat EnumNamespaces.swift
[155/297] Compiling SwiftFormat EnvironmentEntry.swift
[156/297] Compiling SwiftFormat ExtensionAccessControl.swift
[157/297] Compiling SwiftFormat FileHeader.swift
[158/297] Compiling SwiftFormat FileMacro.swift
[159/297] Compiling SwiftFormat GenericExtensions.swift
[160/297] Compiling SwiftFormat HeaderFileName.swift
[161/297] Compiling SwiftFormat HoistAwait.swift
[162/297] Compiling SwiftFormat HoistPatternLet.swift
[163/297] Compiling SwiftFormat HoistTry.swift
[218/297] Emitting module SwiftFormat
[219/297] Compiling SwiftFormat Void.swift
[220/297] Compiling SwiftFormat Wrap.swift
[221/297] Compiling SwiftFormat WrapArguments.swift
[222/297] Compiling SwiftFormat WrapAttributes.swift
[223/297] Compiling SwiftFormat WrapConditionalBodies.swift
[224/297] Compiling SwiftFormat WrapEnumCases.swift
[225/297] Compiling SwiftFormat WrapLoopBodies.swift
[226/297] Compiling SwiftFormat WrapMultilineConditionalAssignment.swift
[227/297] Compiling SwiftFormat WrapMultilineFunctionChains.swift
[228/297] Compiling SwiftFormat WrapMultilineStatementBraces.swift
[229/297] Compiling SwiftFormat WrapSingleLineComments.swift
[230/297] Compiling SwiftFormat WrapSwitchCases.swift
[231/297] Compiling SwiftFormat YodaConditions.swift
[232/297] Compiling SwiftFormat Singularize.swift
[233/297] Compiling SwiftFormat SwiftFormat.swift
[234/297] Compiling SwiftFormat Tokenizer.swift
[235/297] Compiling SwiftFormat XMLReporter.swift
[253/297] Compiling SwiftFormat Arguments.swift
[254/297] Compiling SwiftFormat CommandLine.swift
[255/297] Compiling SwiftFormat Declaration.swift
[256/297] Compiling SwiftFormat DeclarationType.swift
[257/297] Compiling SwiftFormat EnumAssociable.swift
[258/297] Compiling SwiftFormat FormatRule.swift
[259/297] Compiling SwiftFormat Formatter.swift
[260/297] Compiling SwiftFormat FormattingHelpers.swift
[261/297] Compiling SwiftFormat GitFileInfo.swift
[262/297] Compiling SwiftFormat GithubActionsLogReporter.swift
[263/297] Compiling SwiftFormat Globs.swift
[264/297] Compiling SwiftFormat Inference.swift
[265/297] Compiling SwiftFormat JSONReporter.swift
[266/297] Compiling SwiftFormat OptionDescriptor.swift
[267/297] Compiling SwiftFormat Options.swift
[268/297] Compiling SwiftFormat ParsingHelpers.swift
[269/297] Compiling SwiftFormat Reporter.swift
[270/297] Compiling SwiftFormat RuleRegistry.generated.swift
[271/298] Wrapping AST for SwiftFormat for debugging
[273/300] Emitting module CommandLineTool
[274/300] Compiling CommandLineTool main.swift
[275/301] Wrapping AST for CommandLineTool for debugging
[276/301] Write Objects.LinkFileList
[278/301] Emitting module SwiftFormat
[297/302] Linking swiftformat-tool
[298/302] Wrapping AST for SwiftFormat for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[300/304] Emitting module CommandLineTool
/host/spi-builder-workspace/.build/checkouts/SwiftFormat/CommandLineTool/main.swift:65:27: error: cannot find 'isatty' in scope
63 | private var stderr = FileHandleOutputStream(filehandle: .standardError)
64 |
65 | private let stderrIsTTY = isatty(STDERR_FILENO) != 0
| `- error: cannot find 'isatty' in scope
66 |
67 | private let printQueue = DispatchQueue(label: "swiftformat.print")
/host/spi-builder-workspace/.build/checkouts/SwiftFormat/CommandLineTool/main.swift:65:34: error: cannot find 'STDERR_FILENO' in scope
63 | private var stderr = FileHandleOutputStream(filehandle: .standardError)
64 |
65 | private let stderrIsTTY = isatty(STDERR_FILENO) != 0
| `- error: cannot find 'STDERR_FILENO' in scope
66 |
67 | private let printQueue = DispatchQueue(label: "swiftformat.print")
[301/304] Compiling CommandLineTool main.swift
/host/spi-builder-workspace/.build/checkouts/SwiftFormat/CommandLineTool/main.swift:65:27: error: cannot find 'isatty' in scope
63 | private var stderr = FileHandleOutputStream(filehandle: .standardError)
64 |
65 | private let stderrIsTTY = isatty(STDERR_FILENO) != 0
| `- error: cannot find 'isatty' in scope
66 |
67 | private let printQueue = DispatchQueue(label: "swiftformat.print")
/host/spi-builder-workspace/.build/checkouts/SwiftFormat/CommandLineTool/main.swift:65:34: error: cannot find 'STDERR_FILENO' in scope
63 | private var stderr = FileHandleOutputStream(filehandle: .standardError)
64 |
65 | private let stderrIsTTY = isatty(STDERR_FILENO) != 0
| `- error: cannot find 'STDERR_FILENO' in scope
66 |
67 | private let printQueue = DispatchQueue(label: "swiftformat.print")
BUILD FAILURE 6.1 android