Build Information
Failed to build SwiftFormatterPlugin, reference main (53d24a
), with Swift 6.2 (beta) for Android on 19 Jun 2025 14:50:06 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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: 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/elegantchaos/SwiftFormatterPlugin
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
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 main
========================================
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-4609320-2":/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 (26.11s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.56.4 (34.02s)
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 ConsecutiveSpaces.swift
[9/267] Compiling SwiftFormat ConsistentSwitchCaseSpacing.swift
[10/267] Compiling SwiftFormat DocComments.swift
[11/267] Compiling SwiftFormat DocCommentsBeforeModifiers.swift
[12/267] Compiling SwiftFormat DuplicateImports.swift
[13/267] Compiling SwiftFormat ElseOnSameLine.swift
[14/267] Compiling SwiftFormat EmptyBraces.swift
[15/267] Compiling SwiftFormat EmptyExtensions.swift
[16/267] Compiling SwiftFormat EnumNamespaces.swift
[17/267] Compiling SwiftFormat EnvironmentEntry.swift
[18/267] Compiling SwiftFormat ExtensionAccessControl.swift
[19/267] Compiling SwiftFormat FileHeader.swift
[20/267] Compiling SwiftFormat FileMacro.swift
[21/267] Compiling SwiftFormat GenericExtensions.swift
[22/267] Compiling SwiftFormat HeaderFileName.swift
[23/267] Compiling SwiftFormat HoistAwait.swift
[24/267] Compiling SwiftFormat HoistPatternLet.swift
[25/284] Compiling SwiftFormat HoistTry.swift
[26/284] Compiling SwiftFormat Indent.swift
[27/284] Compiling SwiftFormat InitCoderUnavailable.swift
[28/284] Compiling SwiftFormat IsEmpty.swift
[29/284] Compiling SwiftFormat LeadingDelimiters.swift
[30/284] Compiling SwiftFormat LinebreakAtEndOfFile.swift
[31/284] Compiling SwiftFormat Linebreaks.swift
[32/284] Compiling SwiftFormat MarkTypes.swift
[33/284] Compiling SwiftFormat ModifierOrder.swift
[34/284] Compiling SwiftFormat NoExplicitOwnership.swift
[35/284] Compiling SwiftFormat NumberFormatting.swift
[36/284] Compiling SwiftFormat OpaqueGenericParameters.swift
[37/284] Compiling SwiftFormat OrganizeDeclarations.swift
[38/284] Compiling SwiftFormat PreferCountWhere.swift
[39/284] Compiling SwiftFormat PreferForLoop.swift
[40/284] Compiling SwiftFormat PreferKeyPath.swift
[41/284] Compiling SwiftFormat PreferSwiftTesting.swift
[42/284] Compiling SwiftFormat PrivateStateVariables.swift
[43/284] Compiling SwiftFormat Acronyms.swift
[44/284] Compiling SwiftFormat AndOperator.swift
[45/284] Compiling SwiftFormat AnyObjectProtocol.swift
[46/284] Compiling SwiftFormat ApplicationMain.swift
[47/284] Compiling SwiftFormat AssertionFailures.swift
[48/284] Compiling SwiftFormat BlankLineAfterImports.swift
[49/284] Compiling SwiftFormat BlankLineAfterSwitchCase.swift
[50/284] Compiling SwiftFormat BlankLinesAfterGuardStatements.swift
[51/284] Compiling SwiftFormat BlankLinesAroundMark.swift
[52/284] Compiling SwiftFormat BlankLinesAtEndOfScope.swift
[53/284] Compiling SwiftFormat BlankLinesAtStartOfScope.swift
[54/284] Compiling SwiftFormat BlankLinesBetweenChainedFunctions.swift
[55/284] Compiling SwiftFormat BlankLinesBetweenImports.swift
[56/284] Compiling SwiftFormat BlankLinesBetweenScopes.swift
[57/284] Compiling SwiftFormat BlockComments.swift
[58/284] Compiling SwiftFormat Braces.swift
[59/284] Compiling SwiftFormat ConditionalAssignment.swift
[60/284] Compiling SwiftFormat ConsecutiveBlankLines.swift
[61/284] Compiling SwiftFormat SpaceAroundOperators.swift
[62/284] Compiling SwiftFormat SpaceAroundParens.swift
[63/284] Compiling SwiftFormat SpaceInsideBraces.swift
[64/284] Compiling SwiftFormat SpaceInsideBrackets.swift
[65/284] Compiling SwiftFormat SpaceInsideComments.swift
[66/284] Compiling SwiftFormat SpaceInsideGenerics.swift
[67/284] Compiling SwiftFormat SpaceInsideParens.swift
[68/284] Compiling SwiftFormat Specifiers.swift
[69/284] Compiling SwiftFormat StrongOutlets.swift
[70/284] Compiling SwiftFormat StrongifiedSelf.swift
[71/284] Compiling SwiftFormat SwiftTestingTestCaseNames.swift
[72/284] Compiling SwiftFormat Todos.swift
[73/284] Compiling SwiftFormat TrailingClosures.swift
[74/284] Compiling SwiftFormat TrailingCommas.swift
[75/284] Compiling SwiftFormat TrailingSpace.swift
[76/284] Compiling SwiftFormat TypeSugar.swift
[77/284] Compiling SwiftFormat UnusedArguments.swift
[78/284] Compiling SwiftFormat UnusedPrivateDeclarations.swift
[79/284] Compiling SwiftFormat PropertyTypes.swift
[80/284] Compiling SwiftFormat RedundantBackticks.swift
[81/284] Compiling SwiftFormat RedundantBreak.swift
[82/284] Compiling SwiftFormat RedundantClosure.swift
[83/284] Compiling SwiftFormat RedundantEquatable.swift
[84/284] Compiling SwiftFormat RedundantExtensionACL.swift
[85/284] Compiling SwiftFormat RedundantFileprivate.swift
[86/284] Compiling SwiftFormat RedundantGet.swift
[87/284] Compiling SwiftFormat RedundantInit.swift
[88/284] Compiling SwiftFormat RedundantInternal.swift
[89/284] Compiling SwiftFormat RedundantLet.swift
[90/284] Compiling SwiftFormat RedundantLetError.swift
[91/284] Compiling SwiftFormat RedundantNilInit.swift
[92/284] Compiling SwiftFormat RedundantObjc.swift
[93/284] Compiling SwiftFormat RedundantOptionalBinding.swift
[94/284] Compiling SwiftFormat RedundantParens.swift
[95/284] Compiling SwiftFormat RedundantPattern.swift
[96/284] Compiling SwiftFormat RedundantProperty.swift
[97/284] Compiling SwiftFormat RedundantRawValues.swift
[98/284] Compiling SwiftFormat RedundantReturn.swift
[99/284] Compiling SwiftFormat RedundantSelf.swift
[100/284] Compiling SwiftFormat RedundantStaticSelf.swift
[101/284] Compiling SwiftFormat RedundantType.swift
[102/284] Compiling SwiftFormat RedundantTypedThrows.swift
[103/284] Compiling SwiftFormat RedundantVoidReturnType.swift
[104/284] Compiling SwiftFormat Semicolons.swift
[105/284] Compiling SwiftFormat SortDeclarations.swift
[106/284] Compiling SwiftFormat SortImports.swift
[107/284] Compiling SwiftFormat SortSwitchCases.swift
[108/284] Compiling SwiftFormat SortTypealiases.swift
[109/284] Compiling SwiftFormat SortedImports.swift
[110/284] Compiling SwiftFormat SortedSwitchCases.swift
[111/284] Compiling SwiftFormat SpaceAroundBraces.swift
[112/284] Compiling SwiftFormat SpaceAroundBrackets.swift
[113/284] Compiling SwiftFormat SpaceAroundComments.swift
[114/284] Compiling SwiftFormat SpaceAroundGenerics.swift
[222/301] Compiling SwiftFormat Void.swift
[223/301] Compiling SwiftFormat Wrap.swift
[224/301] Compiling SwiftFormat WrapArguments.swift
[225/301] Compiling SwiftFormat WrapAttributes.swift
[226/301] Compiling SwiftFormat WrapConditionalBodies.swift
[227/301] Compiling SwiftFormat WrapEnumCases.swift
[228/301] Compiling SwiftFormat WrapLoopBodies.swift
[229/301] Compiling SwiftFormat WrapMultilineConditionalAssignment.swift
[230/301] Compiling SwiftFormat WrapMultilineFunctionChains.swift
[231/301] Compiling SwiftFormat WrapMultilineStatementBraces.swift
[232/301] Compiling SwiftFormat WrapSingleLineComments.swift
[233/301] Compiling SwiftFormat WrapSwitchCases.swift
[234/301] Compiling SwiftFormat YodaConditions.swift
[235/301] Compiling SwiftFormat Singularize.swift
[236/301] Compiling SwiftFormat SwiftFormat.swift
[237/301] Compiling SwiftFormat Tokenizer.swift
[238/301] Compiling SwiftFormat XMLReporter.swift
[256/301] Emitting module SwiftFormat
[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/304] Wrapping AST for SwiftFormat for debugging
[277/304] Emitting module SwiftFormat
error: emit-module command failed with exit code 1 (use -v to see invocation)
[297/305] 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")
[298/305] 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