Build Information
Successful build of SwiftFormat, reference main (44cfb4), with Swift 6.4 for macOS (SPM) on 14 Oct 2026 12:24:47 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nicklockwood/SwiftFormat.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/nicklockwood/SwiftFormat
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 44cfb4f Fix Declaration.swift path in CLAUDE.md and a doubled word in README (#2759)
Cloned https://github.com/nicklockwood/SwiftFormat.git
Revision (git rev-parse @):
44cfb4f1c2daee982040c20c4726bea9720929d5
SUCCESS checkout https://github.com/nicklockwood/SwiftFormat.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"traits": [
"default"
],
"dependencies": [
{
"identity": "swiftformat",
"name": "SwiftFormat",
"url": "https://github.com/nicklockwood/SwiftFormat.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftFormat",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
Fetching https://github.com/nicklockwood/SwiftFormat.git
[1/60752] Fetching swiftformat
Fetched https://github.com/nicklockwood/SwiftFormat.git (55.87s)
Creating working copy for https://github.com/nicklockwood/SwiftFormat.git
Working copy of https://github.com/nicklockwood/SwiftFormat.git resolved at main (44cfb4f)
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.4
Building package at path: $PWD
https://github.com/nicklockwood/SwiftFormat.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun swift build --arch arm64
Building for debugging...
[Pre-planning 1 / 95]
[Planning deferred tasks]
[24 / 40]
[25 / 41] SwiftFormat
[35 / 86]
[40 / 86]
[43 / 86]
[44 / 86]
[48 / 86]
[50 / 86]
[53 / 86]
[56 / 86]
[58 / 86]
[59 / 86]
[70 / 86] SwiftFormat
[79 / 87] swiftformat-product
[82 / 89] AllExcludingTests
[83 / 89] SwiftFormat
[85 / 89] SwiftFormat
[87 / 89] swiftformat-product
Build complete! (16.27 sec)
/Users/admin/builder/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: [1;33mwarning: [1;39mwill never be executed[0;0m
[0;36m59 |[0;0m let result = SARIFLog(changes)
[0;36m60 |[0;0m var data = try encoder.encode(result)
[0;36m61 |[0;0m if stripSlashes, let string = String(data: data, encoding: .utf8) {
[0;36m|[0;0m | `- [1;33mwarning: [1;39mwill never be executed[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mcondition always evaluates to false[0;0m
[0;36m62 |[0;0m data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
[0;36m63 |[0;0m }
/Users/admin/builder/spi-builder-workspace/Sources/JSONReporter.swift:61:39: [1;33mwarning: [1;39mwill never be executed[0;0m
[0;36m59 |[0;0m }
[0;36m60 |[0;0m var data = try encoder.encode(changes.map(ReportItem.init))
[0;36m61 |[0;0m if stripSlashes, let string = String(data: data, encoding: .utf8) {
[0;36m|[0;0m | `- [1;33mwarning: [1;39mwill never be executed[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mcondition always evaluates to false[0;0m
[0;36m62 |[0;0m data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
[0;36m63 |[0;0m }
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SwiftFormat",
"name" : "SwiftFormat",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "swiftformat",
"targets" : [
"CommandLineTool"
],
"type" : {
"executable" : null
}
},
{
"name" : "SwiftFormat",
"targets" : [
"SwiftFormat"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwiftFormatPlugin",
"targets" : [
"SwiftFormatPlugin"
],
"type" : {
"plugin" : null
}
}
],
"targets" : [
{
"c99name" : "SwiftFormatTests",
"module_type" : "SwiftTarget",
"name" : "SwiftFormatTests",
"path" : "Tests",
"sources" : [
"ArgumentsTests.swift",
"BadConfig/Test.swift",
"CodeOrganizationTests.swift",
"CommandLineTests.swift",
"DeclarationV2Tests.swift",
"EnumAssociableTests.swift",
"FormatterTests.swift",
"GlobsTests.swift",
"InferenceTests.swift",
"MetadataTests.swift",
"OptionDescriptorTests.swift",
"ParsingHelpersTests.swift",
"ProjectFilePaths.swift",
"Rules/AcronymsTests.swift",
"Rules/AndOperatorTests.swift",
"Rules/AnyObjectProtocolTests.swift",
"Rules/ApplicationMainTests.swift",
"Rules/AssertionFailuresTests.swift",
"Rules/BlankLineAfterImportsTests.swift",
"Rules/BlankLineAfterSwitchCaseTests.swift",
"Rules/BlankLinesAfterGuardStatementsTests.swift",
"Rules/BlankLinesAroundMarkTests.swift",
"Rules/BlankLinesAtEndOfScopeTests.swift",
"Rules/BlankLinesAtStartOfScopeTests.swift",
"Rules/BlankLinesBetweenChainedFunctionsTests.swift",
"Rules/BlankLinesBetweenImportsTests.swift",
"Rules/BlankLinesBetweenScopesTests.swift",
"Rules/BlockCommentsTests.swift",
"Rules/BracesTests.swift",
"Rules/ConditionalAssignmentTests.swift",
"Rules/ConsecutiveBlankLinesTests.swift",
"Rules/ConsecutiveSpacesTests.swift",
"Rules/ConsistentSwitchCaseSpacingTests.swift",
"Rules/DocCommentsBeforeModifiersTests.swift",
"Rules/DocCommentsTests.swift",
"Rules/DuplicateImportsTests.swift",
"Rules/ElseOnSameLineTests.swift",
"Rules/EmptyBracesTests.swift",
"Rules/EmptyExtensionsTests.swift",
"Rules/EnumNamespacesTests.swift",
"Rules/EnvironmentEntryTests.swift",
"Rules/ExtensionAccessControlTests.swift",
"Rules/FileHeaderTests.swift",
"Rules/FileMacroTests.swift",
"Rules/GenericExtensionsTests.swift",
"Rules/HeaderFileNameTests.swift",
"Rules/HoistAwaitTests.swift",
"Rules/HoistPatternLetTests.swift",
"Rules/HoistTryTests.swift",
"Rules/IfExpressionsTests.swift",
"Rules/IndentTests.swift",
"Rules/InitCoderUnavailableTests.swift",
"Rules/IsEmptyTests.swift",
"Rules/LeadingDelimitersTests.swift",
"Rules/LinebreakAtEndOfFileTests.swift",
"Rules/LinebreaksTests.swift",
"Rules/MarkTypesTests.swift",
"Rules/ModifierOrderTests.swift",
"Rules/ModifiersOnSameLineTests.swift",
"Rules/NoExplicitOwnershipTests.swift",
"Rules/NoForceTryInTestsTests.swift",
"Rules/NoForceUnwrapInTestsTests.swift",
"Rules/NoGuardInTestsTests.swift",
"Rules/NumberFormattingTests.swift",
"Rules/OpaqueGenericParametersTests.swift",
"Rules/OrganizeDeclarationsTests.swift",
"Rules/PreferContainsTests.swift",
"Rules/PreferCountWhereTests.swift",
"Rules/PreferExplicitFalseTests.swift",
"Rules/PreferFinalClassesTests.swift",
"Rules/PreferFirstWhereTests.swift",
"Rules/PreferFlatMapTests.swift",
"Rules/PreferForLoopTests.swift",
"Rules/PreferKeyPathTests.swift",
"Rules/PreferLazyMapTests.swift",
"Rules/PreferMinOverSortedTests.swift",
"Rules/PreferSwiftStringAPITests.swift",
"Rules/PreferSwiftTestingTests.swift",
"Rules/PrivateStateVariablesTests.swift",
"Rules/PropertyTypesTests.swift",
"Rules/RedundantAsyncTests.swift",
"Rules/RedundantBackticksTests.swift",
"Rules/RedundantBreakTests.swift",
"Rules/RedundantClosureTests.swift",
"Rules/RedundantEmptyViewTests.swift",
"Rules/RedundantEquatableTests.swift",
"Rules/RedundantExtendedLifetimeTests.swift",
"Rules/RedundantExtensionACLTests.swift",
"Rules/RedundantFileprivateTests.swift",
"Rules/RedundantGetTests.swift",
"Rules/RedundantInitTests.swift",
"Rules/RedundantInternalTests.swift",
"Rules/RedundantLetErrorTests.swift",
"Rules/RedundantLetTests.swift",
"Rules/RedundantMemberwiseInitTests.swift",
"Rules/RedundantNilInitTests.swift",
"Rules/RedundantObjcTests.swift",
"Rules/RedundantOptionalBindingTests.swift",
"Rules/RedundantParensTests.swift",
"Rules/RedundantPatternTests.swift",
"Rules/RedundantPublicTests.swift",
"Rules/RedundantRawValuesTests.swift",
"Rules/RedundantReturnTests.swift",
"Rules/RedundantSelfTests.swift",
"Rules/RedundantSendableTests.swift",
"Rules/RedundantStaticSelfTests.swift",
"Rules/RedundantSwiftTestingSuiteTests.swift",
"Rules/RedundantSwiftUIGroupTests.swift",
"Rules/RedundantThrowsTests.swift",
"Rules/RedundantTypeTests.swift",
"Rules/RedundantTypedThrowsTests.swift",
"Rules/RedundantVariableTests.swift",
"Rules/RedundantViewBuilderTests.swift",
"Rules/RedundantVoidReturnTypeTests.swift",
"Rules/SemicolonsTests.swift",
"Rules/SimplifyGenericConstraintsTests.swift",
"Rules/SinglePropertyPerLineTests.swift",
"Rules/SortDeclarationsTests.swift",
"Rules/SortImportsTests.swift",
"Rules/SortSwitchCasesTests.swift",
"Rules/SortTypealiasesTests.swift",
"Rules/SpaceAroundBracesTests.swift",
"Rules/SpaceAroundBracketsTests.swift",
"Rules/SpaceAroundCommentsTests.swift",
"Rules/SpaceAroundGenericsTests.swift",
"Rules/SpaceAroundOperatorsTests.swift",
"Rules/SpaceAroundParensTests.swift",
"Rules/SpaceInsideBracesTests.swift",
"Rules/SpaceInsideBracketsTests.swift",
"Rules/SpaceInsideCommentsTests.swift",
"Rules/SpaceInsideGenericsTests.swift",
"Rules/SpaceInsideParensTests.swift",
"Rules/StrongOutletsTests.swift",
"Rules/StrongifiedSelfTests.swift",
"Rules/SwiftTestingTestCaseNamesTests.swift",
"Rules/TestSuiteAccessControlTests.swift",
"Rules/TodosTests.swift",
"Rules/TrailingClosuresTests.swift",
"Rules/TrailingCommasTests.swift",
"Rules/TrailingSpaceTests.swift",
"Rules/TypeSugarTests.swift",
"Rules/URLMacroTests.swift",
"Rules/UnusedArgumentsTests.swift",
"Rules/UnusedPrivateDeclarationsTests.swift",
"Rules/ValidateTestCasesTests.swift",
"Rules/VoidTests.swift",
"Rules/WrapArgumentsTests.swift",
"Rules/WrapAttributesTests.swift",
"Rules/WrapCaseBodiesTests.swift",
"Rules/WrapConditionalBodiesTests.swift",
"Rules/WrapEnumCasesTests.swift",
"Rules/WrapFunctionBodiesTests.swift",
"Rules/WrapGuardStatementBodiesTests.swift",
"Rules/WrapIfExpressionBodiesTests.swift",
"Rules/WrapIfStatementBodiesTests.swift",
"Rules/WrapLoopBodiesTests.swift",
"Rules/WrapMultilineConditionalAssignmentTests.swift",
"Rules/WrapMultilineFunctionChainsTests.swift",
"Rules/WrapMultilineStatementBracesTests.swift",
"Rules/WrapPropertyBodiesTests.swift",
"Rules/WrapSingleLineCommentsTests.swift",
"Rules/WrapSwitchCasesTests.swift",
"Rules/WrapTests.swift",
"Rules/YodaConditionsTests.swift",
"SingularizeTests.swift",
"SwiftFormatTests.swift",
"TokenizerTests.swift",
"VersionTests.swift",
"XCTestCase+testFormatting.swift"
],
"target_dependencies" : [
"SwiftFormat"
],
"type" : "test"
},
{
"c99name" : "SwiftFormatPlugin",
"module_type" : "PluginTarget",
"name" : "SwiftFormatPlugin",
"path" : "Plugins/SwiftFormatPlugin",
"plugin_capability" : {
"intent" : {
"description" : "Formats Swift source files using SwiftFormat",
"type" : "custom",
"verb" : "swiftformat"
},
"permissions" : [
{
"network_scope" : {
"none" : {
}
},
"reason" : "This command reformats source files",
"type" : "writeToPackageDirectory"
}
],
"type" : "command"
},
"product_memberships" : [
"SwiftFormatPlugin"
],
"sources" : [
"Shared/CommandPlugin+Extension.swift",
"Shared/PluginToolProviding.swift",
"SwiftFormatPlugin.swift",
"SwiftFormatPluginXcode.swift"
],
"target_dependencies" : [
"CommandLineTool"
],
"type" : "plugin"
},
{
"c99name" : "SwiftFormat",
"module_type" : "SwiftTarget",
"name" : "SwiftFormat",
"path" : "Sources",
"product_memberships" : [
"swiftformat",
"SwiftFormat",
"SwiftFormatPlugin"
],
"sources" : [
"Arguments.swift",
"CommandLine.swift",
"Declaration.swift",
"DeclarationType.swift",
"EnumAssociable.swift",
"FormatRule.swift",
"Formatter.swift",
"FormattingHelpers.swift",
"GitFileInfo.swift",
"GithubActionsLogReporter.swift",
"Globs.swift",
"Inference.swift",
"JSONReporter.swift",
"OptionDescriptor.swift",
"Options.swift",
"ParsingHelpers.swift",
"Reporter.swift",
"RuleRegistry.generated.swift",
"Rules/Acronyms.swift",
"Rules/AndOperator.swift",
"Rules/AnyObjectProtocol.swift",
"Rules/ApplicationMain.swift",
"Rules/AssertionFailures.swift",
"Rules/BlankLineAfterImports.swift",
"Rules/BlankLineAfterSwitchCase.swift",
"Rules/BlankLinesAfterGuardStatements.swift",
"Rules/BlankLinesAroundMark.swift",
"Rules/BlankLinesAtEndOfScope.swift",
"Rules/BlankLinesAtStartOfScope.swift",
"Rules/BlankLinesBetweenChainedFunctions.swift",
"Rules/BlankLinesBetweenImports.swift",
"Rules/BlankLinesBetweenScopes.swift",
"Rules/BlockComments.swift",
"Rules/Braces.swift",
"Rules/ConditionalAssignment.swift",
"Rules/ConsecutiveBlankLines.swift",
"Rules/ConsecutiveSpaces.swift",
"Rules/ConsistentSwitchCaseSpacing.swift",
"Rules/DocComments.swift",
"Rules/DocCommentsBeforeModifiers.swift",
"Rules/DuplicateImports.swift",
"Rules/ElseOnSameLine.swift",
"Rules/EmptyBraces.swift",
"Rules/EmptyExtensions.swift",
"Rules/EnumNamespaces.swift",
"Rules/EnvironmentEntry.swift",
"Rules/ExtensionAccessControl.swift",
"Rules/FileHeader.swift",
"Rules/FileMacro.swift",
"Rules/GenericExtensions.swift",
"Rules/HeaderFileName.swift",
"Rules/HoistAwait.swift",
"Rules/HoistPatternLet.swift",
"Rules/HoistTry.swift",
"Rules/IfExpressions.swift",
"Rules/Indent.swift",
"Rules/InitCoderUnavailable.swift",
"Rules/IsEmpty.swift",
"Rules/LeadingDelimiters.swift",
"Rules/LinebreakAtEndOfFile.swift",
"Rules/Linebreaks.swift",
"Rules/MarkTypes.swift",
"Rules/ModifierOrder.swift",
"Rules/ModifiersOnSameLine.swift",
"Rules/NoExplicitOwnership.swift",
"Rules/NoForceTryInTests.swift",
"Rules/NoForceUnwrapInTests.swift",
"Rules/NoGuardInTests.swift",
"Rules/NumberFormatting.swift",
"Rules/OpaqueGenericParameters.swift",
"Rules/OrganizeDeclarations.swift",
"Rules/PreferContains.swift",
"Rules/PreferCountWhere.swift",
"Rules/PreferExplicitFalse.swift",
"Rules/PreferFinalClasses.swift",
"Rules/PreferFirstWhere.swift",
"Rules/PreferFlatMap.swift",
"Rules/PreferForLoop.swift",
"Rules/PreferKeyPath.swift",
"Rules/PreferLazyMap.swift",
"Rules/PreferMinOverSorted.swift",
"Rules/PreferSwiftStringAPI.swift",
"Rules/PreferSwiftTesting.swift",
"Rules/PrivateStateVariables.swift",
"Rules/PropertyTypes.swift",
"Rules/RedundantAsync.swift",
"Rules/RedundantBackticks.swift",
"Rules/RedundantBreak.swift",
"Rules/RedundantClosure.swift",
"Rules/RedundantEmptyView.swift",
"Rules/RedundantEquatable.swift",
"Rules/RedundantExtendedLifetime.swift",
"Rules/RedundantExtensionACL.swift",
"Rules/RedundantFileprivate.swift",
"Rules/RedundantGet.swift",
"Rules/RedundantInit.swift",
"Rules/RedundantInternal.swift",
"Rules/RedundantLet.swift",
"Rules/RedundantLetError.swift",
"Rules/RedundantMemberwiseInit.swift",
"Rules/RedundantNilInit.swift",
"Rules/RedundantObjc.swift",
"Rules/RedundantOptionalBinding.swift",
"Rules/RedundantParens.swift",
"Rules/RedundantPattern.swift",
"Rules/RedundantProperty.swift",
"Rules/RedundantPublic.swift",
"Rules/RedundantRawValues.swift",
"Rules/RedundantReturn.swift",
"Rules/RedundantSelf.swift",
"Rules/RedundantSendable.swift",
"Rules/RedundantStaticSelf.swift",
"Rules/RedundantSwiftTestingSuite.swift",
"Rules/RedundantSwiftUIGroup.swift",
"Rules/RedundantThrows.swift",
"Rules/RedundantType.swift",
"Rules/RedundantTypedThrows.swift",
"Rules/RedundantVariable.swift",
"Rules/RedundantViewBuilder.swift",
"Rules/RedundantVoidReturnType.swift",
"Rules/Semicolons.swift",
"Rules/SimplifyGenericConstraints.swift",
"Rules/SinglePropertyPerLine.swift",
"Rules/SortDeclarations.swift",
"Rules/SortImports.swift",
"Rules/SortSwitchCases.swift",
"Rules/SortTypealiases.swift",
"Rules/SortedImports.swift",
"Rules/SortedSwitchCases.swift",
"Rules/SpaceAroundBraces.swift",
"Rules/SpaceAroundBrackets.swift",
"Rules/SpaceAroundComments.swift",
"Rules/SpaceAroundGenerics.swift",
"Rules/SpaceAroundOperators.swift",
"Rules/SpaceAroundParens.swift",
"Rules/SpaceInsideBraces.swift",
"Rules/SpaceInsideBrackets.swift",
"Rules/SpaceInsideComments.swift",
"Rules/SpaceInsideGenerics.swift",
"Rules/SpaceInsideParens.swift",
"Rules/Specifiers.swift",
"Rules/StrongOutlets.swift",
"Rules/StrongifiedSelf.swift",
"Rules/SwiftTestingTestCaseNames.swift",
"Rules/TestSuiteAccessControl.swift",
"Rules/ThrowingTests.swift",
"Rules/Todos.swift",
"Rules/TrailingClosures.swift",
"Rules/TrailingCommas.swift",
"Rules/TrailingSpace.swift",
"Rules/TypeSugar.swift",
"Rules/URLMacro.swift",
"Rules/UnusedArguments.swift",
"Rules/UnusedPrivateDeclarations.swift",
"Rules/ValidateTestCases.swift",
"Rules/Void.swift",
"Rules/Wrap.swift",
"Rules/WrapArguments.swift",
"Rules/WrapAttributes.swift",
"Rules/WrapCaseBodies.swift",
"Rules/WrapConditionalBodies.swift",
"Rules/WrapEnumCases.swift",
"Rules/WrapFunctionBodies.swift",
"Rules/WrapGuardStatementBodies.swift",
"Rules/WrapIfExpressionBodies.swift",
"Rules/WrapIfStatementBodies.swift",
"Rules/WrapLoopBodies.swift",
"Rules/WrapMultilineConditionalAssignment.swift",
"Rules/WrapMultilineFunctionChains.swift",
"Rules/WrapMultilineStatementBraces.swift",
"Rules/WrapPropertyBodies.swift",
"Rules/WrapSingleLineComments.swift",
"Rules/WrapSwitchCases.swift",
"Rules/YodaConditions.swift",
"SARIFReporter.swift",
"Singularize.swift",
"SwiftFormat.swift",
"Tokenizer.swift",
"TypeName.swift",
"XMLReporter.swift"
],
"type" : "library"
},
{
"c99name" : "CommandLineTool",
"module_type" : "SwiftTarget",
"name" : "CommandLineTool",
"path" : "CommandLineTool",
"product_memberships" : [
"swiftformat",
"SwiftFormatPlugin"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"SwiftFormat"
],
"type" : "executable"
}
],
"tools_version" : "5.7"
}
Done.