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 SwiftFormatterPlugin, reference v1.0.3 (53d24a), with Swift 6.2 (beta) for Android on 19 Jun 2025 14:51:11 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
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.2
Building package at path:  $PWD
https://github.com/elegantchaos/SwiftFormatterPlugin.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/nicklockwood/SwiftFormat
[1/48941] Fetching swiftformat
Fetched https://github.com/nicklockwood/SwiftFormat from cache (48.07s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.56.4 (51.23s)
Creating working copy for https://github.com/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at 0.56.4
[1/1] Compiling plugin SwiftFormatterPlugin
[2/2] Compiling plugin SwiftFormatPlugin
Building for debugging...
[2/15] Write sources
[6/15] Write swift-version-8C5A4AE7A8CE2BA.txt
[8/267] Compiling SwiftFormat RedundantReturn.swift
[9/267] Compiling SwiftFormat RedundantSelf.swift
[10/267] Compiling SwiftFormat RedundantStaticSelf.swift
[11/267] Compiling SwiftFormat RedundantType.swift
[12/267] Compiling SwiftFormat RedundantTypedThrows.swift
[13/267] Compiling SwiftFormat RedundantVoidReturnType.swift
[14/267] Compiling SwiftFormat Semicolons.swift
[15/267] Compiling SwiftFormat SortDeclarations.swift
[16/267] Compiling SwiftFormat SortImports.swift
[17/267] Compiling SwiftFormat SortSwitchCases.swift
[18/267] Compiling SwiftFormat SortTypealiases.swift
[19/267] Compiling SwiftFormat SortedImports.swift
[20/267] Compiling SwiftFormat SortedSwitchCases.swift
[21/267] Compiling SwiftFormat SpaceAroundBraces.swift
[22/267] Compiling SwiftFormat SpaceAroundBrackets.swift
[23/267] Compiling SwiftFormat SpaceAroundComments.swift
[24/267] Compiling SwiftFormat SpaceAroundGenerics.swift
[25/267] Compiling SwiftFormat SpaceAroundOperators.swift
[26/267] Compiling SwiftFormat SpaceAroundParens.swift
[27/267] Compiling SwiftFormat SpaceInsideBraces.swift
[28/267] Compiling SwiftFormat SpaceInsideBrackets.swift
[29/267] Compiling SwiftFormat SpaceInsideComments.swift
[30/267] Compiling SwiftFormat SpaceInsideGenerics.swift
[31/267] Compiling SwiftFormat SpaceInsideParens.swift
[32/267] Compiling SwiftFormat Specifiers.swift
[33/267] Compiling SwiftFormat StrongOutlets.swift
[34/267] Compiling SwiftFormat StrongifiedSelf.swift
[35/267] Compiling SwiftFormat SwiftTestingTestCaseNames.swift
[36/267] Compiling SwiftFormat Todos.swift
[37/267] Compiling SwiftFormat TrailingClosures.swift
[38/267] Compiling SwiftFormat TrailingCommas.swift
[39/267] Compiling SwiftFormat TrailingSpace.swift
[40/267] Compiling SwiftFormat TypeSugar.swift
[41/267] Compiling SwiftFormat UnusedArguments.swift
[42/267] Compiling SwiftFormat UnusedPrivateDeclarations.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 Indent.swift
[62/284] Compiling SwiftFormat InitCoderUnavailable.swift
[63/284] Compiling SwiftFormat IsEmpty.swift
[64/284] Compiling SwiftFormat LeadingDelimiters.swift
[65/284] Compiling SwiftFormat LinebreakAtEndOfFile.swift
[66/284] Compiling SwiftFormat Linebreaks.swift
[67/284] Compiling SwiftFormat MarkTypes.swift
[68/284] Compiling SwiftFormat ModifierOrder.swift
[69/284] Compiling SwiftFormat NoExplicitOwnership.swift
[70/284] Compiling SwiftFormat NumberFormatting.swift
[71/284] Compiling SwiftFormat OpaqueGenericParameters.swift
[72/284] Compiling SwiftFormat OrganizeDeclarations.swift
[73/284] Compiling SwiftFormat PreferCountWhere.swift
[74/284] Compiling SwiftFormat PreferForLoop.swift
[75/284] Compiling SwiftFormat PreferKeyPath.swift
[76/284] Compiling SwiftFormat PreferSwiftTesting.swift
[77/284] Compiling SwiftFormat PrivateStateVariables.swift
[78/284] Compiling SwiftFormat PropertyTypes.swift
[79/284] Compiling SwiftFormat Arguments.swift
[80/284] Compiling SwiftFormat CommandLine.swift
[81/284] Compiling SwiftFormat Declaration.swift
[82/284] Compiling SwiftFormat DeclarationType.swift
[83/284] Compiling SwiftFormat EnumAssociable.swift
[84/284] Compiling SwiftFormat FormatRule.swift
[85/284] Compiling SwiftFormat Formatter.swift
[86/284] Compiling SwiftFormat FormattingHelpers.swift
[87/284] Compiling SwiftFormat GitFileInfo.swift
[88/284] Compiling SwiftFormat GithubActionsLogReporter.swift
[89/284] Compiling SwiftFormat Globs.swift
[90/284] Compiling SwiftFormat Inference.swift
[91/284] Compiling SwiftFormat JSONReporter.swift
[92/284] Compiling SwiftFormat OptionDescriptor.swift
[93/284] Compiling SwiftFormat Options.swift
[94/284] Compiling SwiftFormat ParsingHelpers.swift
[95/284] Compiling SwiftFormat Reporter.swift
[96/284] Compiling SwiftFormat RuleRegistry.generated.swift
[132/301] Compiling SwiftFormat Acronyms.swift
[133/301] Compiling SwiftFormat AndOperator.swift
[134/301] Compiling SwiftFormat AnyObjectProtocol.swift
[135/301] Compiling SwiftFormat ApplicationMain.swift
[136/301] Compiling SwiftFormat AssertionFailures.swift
[137/301] Compiling SwiftFormat BlankLineAfterImports.swift
[138/301] Compiling SwiftFormat BlankLineAfterSwitchCase.swift
[139/301] Compiling SwiftFormat BlankLinesAfterGuardStatements.swift
[140/301] Compiling SwiftFormat BlankLinesAroundMark.swift
[141/301] Compiling SwiftFormat BlankLinesAtEndOfScope.swift
[142/301] Compiling SwiftFormat BlankLinesAtStartOfScope.swift
[143/301] Compiling SwiftFormat BlankLinesBetweenChainedFunctions.swift
[144/301] Compiling SwiftFormat BlankLinesBetweenImports.swift
[145/301] Compiling SwiftFormat BlankLinesBetweenScopes.swift
[146/301] Compiling SwiftFormat BlockComments.swift
[147/301] Compiling SwiftFormat Braces.swift
[148/301] Compiling SwiftFormat ConditionalAssignment.swift
[149/301] Compiling SwiftFormat ConsecutiveBlankLines.swift
[150/301] Compiling SwiftFormat ConsecutiveSpaces.swift
[151/301] Compiling SwiftFormat ConsistentSwitchCaseSpacing.swift
[152/301] Compiling SwiftFormat DocComments.swift
[153/301] Compiling SwiftFormat DocCommentsBeforeModifiers.swift
[154/301] Compiling SwiftFormat DuplicateImports.swift
[155/301] Compiling SwiftFormat ElseOnSameLine.swift
[156/301] Compiling SwiftFormat EmptyBraces.swift
[157/301] Compiling SwiftFormat EmptyExtensions.swift
[158/301] Compiling SwiftFormat EnumNamespaces.swift
[159/301] Compiling SwiftFormat EnvironmentEntry.swift
[160/301] Compiling SwiftFormat ExtensionAccessControl.swift
[161/301] Compiling SwiftFormat FileHeader.swift
[162/301] Compiling SwiftFormat FileMacro.swift
[163/301] Compiling SwiftFormat GenericExtensions.swift
[164/301] Compiling SwiftFormat HeaderFileName.swift
[165/301] Compiling SwiftFormat HoistAwait.swift
[166/301] Compiling SwiftFormat HoistPatternLet.swift
[167/301] Compiling SwiftFormat HoistTry.swift
[204/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
[275/302] Wrapping AST for SwiftFormat for debugging
[277/304] Emitting module CommandLineTool
[278/304] Compiling CommandLineTool main.swift
[279/305] Wrapping AST for CommandLineTool for debugging
[280/305] Write Objects.LinkFileList
[281/305] Linking swiftformat-tool
[301/305] Emitting module SwiftFormat
[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")
BUILD FAILURE 6.2 android