Build Information
Successful build of SwiftPowerAssert, reference main (4d120b
), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 04:31:09 UTC.
Swift 6 data race errors: 1
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kishikawakatsumi/swift-power-assert.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/kishikawakatsumi/swift-power-assert
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 4d120b6 Update dependency sass to v1.80.6
Cloned https://github.com/kishikawakatsumi/swift-power-assert.git
Revision (git rev-parse @):
4d120b61c800af2f787d2e52238954df86d4c53f
SUCCESS checkout https://github.com/kishikawakatsumi/swift-power-assert.git at main
Fetching https://github.com/apple/swift-syntax.git
[1/66399] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (3.39s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.1.1 (3.62s)
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 509.1.1
========================================
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",
"dependencies": [
{
"identity": "swift-power-assert",
"name": "SwiftPowerAssert",
"url": "https://github.com/kishikawakatsumi/swift-power-assert.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-power-assert",
"dependencies": [
{
"identity": "swift-syntax",
"name": "swift-syntax",
"url": "https://github.com/apple/swift-syntax.git",
"version": "509.1.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-syntax",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/kishikawakatsumi/swift-power-assert.git
[1/5087] Fetching swift-power-assert
Fetched https://github.com/kishikawakatsumi/swift-power-assert.git from cache (1.29s)
Fetching https://github.com/apple/swift-syntax.git from cache
Fetched https://github.com/apple/swift-syntax.git from cache (0.81s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.1.1 (0.03s)
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 509.1.1
Creating working copy for https://github.com/kishikawakatsumi/swift-power-assert.git
Working copy of https://github.com/kishikawakatsumi/swift-power-assert.git resolved at main (4d120b6)
warning: '.resolve-product-dependencies': dependency 'swift-power-assert' is not used by any target
Found 1 product dependencies
- swift-syntax
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/kishikawakatsumi/swift-power-assert.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/19] Write sources
[16/19] Write swift-version--7754E27361AE5C74.txt
[18/27] Emitting module SwiftSyntax509
[19/27] Compiling SwiftSyntax509 Empty.swift
[20/73] Compiling SwiftSyntax SyntaxText.swift
[21/73] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[22/73] Compiling SwiftSyntax TokenDiagnostic.swift
[23/73] Compiling SwiftSyntax TokenSyntax.swift
[24/73] Compiling SwiftSyntax Trivia.swift
[25/78] Compiling SwiftSyntax RawSyntaxTokenView.swift
[26/78] Compiling SwiftSyntax SourceLength.swift
[27/78] Compiling SwiftSyntax SourceLocation.swift
[28/78] Compiling SwiftSyntax SourcePresence.swift
[29/78] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[30/78] Compiling SwiftSyntax MemoryLayout.swift
[31/78] Compiling SwiftSyntax MissingNodeInitializers.swift
[32/78] Compiling SwiftSyntax RawSyntax.swift
[33/78] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[34/78] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[35/78] Compiling SwiftSyntax AbsolutePosition.swift
[36/78] Compiling SwiftSyntax Assert.swift
[37/78] Compiling SwiftSyntax BumpPtrAllocator.swift
[38/78] Compiling SwiftSyntax CommonAncestor.swift
[39/78] Compiling SwiftSyntax Convenience.swift
[40/78] Compiling SwiftSyntax Syntax.swift
[41/78] Compiling SwiftSyntax SyntaxArena.swift
[42/78] Compiling SwiftSyntax SyntaxChildren.swift
[43/78] Compiling SwiftSyntax SyntaxCollection.swift
[44/78] Compiling SwiftSyntax SyntaxData.swift
[45/78] Compiling StringWidth StringWidth.swift
[47/78] Emitting module StringWidth
[48/78] Compiling StringWidth CodePointWidth.swift
[50/78] Emitting module StringWidth
[51/78] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[52/78] Compiling SwiftSyntax SyntaxBaseNodes.swift
[53/78] Compiling SwiftSyntax SyntaxCollections.swift
[54/78] Compiling SwiftSyntax SyntaxEnum.swift
[55/78] Compiling SwiftSyntax SyntaxKind.swift
[56/78] Emitting module SwiftSyntax
[57/78] Compiling SwiftSyntax Utils.swift
[58/78] Compiling SwiftSyntax ChildNameForKeyPath.swift
[59/78] Compiling SwiftSyntax Keyword.swift
[60/78] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[61/78] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[62/78] Compiling SwiftSyntax Tokens.swift
[63/78] Compiling SwiftSyntax TriviaPieces.swift
[64/78] Compiling SwiftSyntax RawSyntaxNodes.swift
[65/78] Compiling SwiftSyntax RawSyntaxValidation.swift
[66/78] Compiling SwiftSyntax SyntaxDeclNodes.swift
[67/78] Compiling SwiftSyntax SyntaxRewriter.swift
[68/78] Compiling SwiftSyntax SyntaxTraits.swift
[69/78] Compiling SwiftSyntax SyntaxTransform.swift
[70/78] Compiling SwiftSyntax SyntaxVisitor.swift
[71/78] Compiling SwiftSyntax TokenKind.swift
[72/78] Compiling SwiftSyntax SyntaxExprNodes.swift
[73/78] Compiling SwiftSyntax SyntaxNodes.swift
[74/78] Compiling SwiftSyntax SyntaxPatternNodes.swift
[75/78] Compiling SwiftSyntax SyntaxStmtNodes.swift
[76/78] Compiling SwiftSyntax SyntaxTypeNodes.swift
[77/130] Compiling SwiftDiagnostics Message.swift
[78/130] Compiling SwiftDiagnostics Note.swift
[79/130] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[80/130] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[81/130] Compiling SwiftBasicFormat Syntax+Extensions.swift
[82/130] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[83/130] Compiling SwiftDiagnostics FixIt.swift
[84/130] Compiling SwiftDiagnostics Diagnostic.swift
[85/130] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[86/130] Compiling SwiftDiagnostics Convenience.swift
[87/130] Emitting module SwiftDiagnostics
[88/130] Compiling SwiftParser SyntaxUtils.swift
[89/130] Compiling SwiftParser TokenConsumer.swift
[90/130] Compiling SwiftParser TokenPrecedence.swift
[91/130] Compiling SwiftParser TokenSpec.swift
[92/134] Compiling SwiftBasicFormat BasicFormat.swift
[93/134] Emitting module SwiftBasicFormat
[94/134] Compiling SwiftParser Statements.swift
[95/134] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[96/134] Compiling SwiftParser StringLiterals.swift
[97/134] Compiling SwiftParser SwiftParserCompatibility.swift
[98/134] Compiling SwiftParser Lexeme.swift
[99/134] Compiling SwiftParser LexemeSequence.swift
[100/134] Compiling SwiftParser Lexer.swift
[101/134] Compiling SwiftParser RegexLiteralLexer.swift
[102/134] Compiling SwiftParser UnicodeScalarExtensions.swift
[103/134] Compiling SwiftParser Lookahead.swift
[104/134] Compiling SwiftParser LoopProgressCondition.swift
[105/134] Compiling SwiftParser Modifiers.swift
[106/134] Compiling SwiftParser Names.swift
[107/134] Compiling SwiftParser Nominals.swift
[108/134] Compiling SwiftParser Parameters.swift
[109/134] Compiling SwiftParser ParseSourceFile.swift
[110/134] Compiling SwiftParser Parser.swift
[111/134] Compiling SwiftParser Patterns.swift
[112/134] Compiling SwiftParser Recovery.swift
[113/134] Compiling SwiftParser Specifiers.swift
[114/134] Emitting module SwiftParser
[115/134] Compiling SwiftParser IsLexerClassified.swift
[116/134] Compiling SwiftParser LayoutNodes+Parsable.swift
[117/134] Compiling SwiftParser Parser+TokenSpecSet.swift
[118/134] Compiling SwiftParser TokenSpecStaticMembers.swift
[119/134] Compiling SwiftParser TokenSpecSet.swift
[120/134] Compiling SwiftParser TopLevel.swift
[121/134] Compiling SwiftParser TriviaParser.swift
[122/134] Compiling SwiftParser Types.swift
[123/134] Compiling SwiftParser Directives.swift
[124/134] Compiling SwiftParser ExperimentalFeatures.swift
[125/134] Compiling SwiftParser Expressions.swift
[126/134] Compiling SwiftParser IncrementalParseTransition.swift
[127/134] Compiling SwiftParser Cursor.swift
[128/134] Compiling SwiftParser Attributes.swift
[129/134] Compiling SwiftParser Availability.swift
[130/134] Compiling SwiftParser CharacterInfo.swift
[131/134] Compiling SwiftParser CollectionNodes+Parsable.swift
[132/134] Compiling SwiftParser Declarations.swift
[133/157] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[134/158] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[135/158] Compiling SwiftOperators PrecedenceGraph.swift
[136/159] Compiling SwiftOperators SyntaxSynthesis.swift
[137/159] Compiling SwiftOperators OperatorTable+Defaults.swift
[138/159] Compiling SwiftOperators OperatorError+Diagnostics.swift
[139/159] Compiling SwiftOperators Operator.swift
[140/159] Compiling SwiftOperators OperatorTable+Folding.swift
[141/159] Compiling SwiftOperators OperatorError.swift
[142/159] Compiling SwiftOperators PrecedenceGroup.swift
[143/159] Compiling SwiftOperators OperatorTable+Semantics.swift
[144/159] Compiling SwiftOperators OperatorTable.swift
[145/159] Emitting module SwiftOperators
[146/159] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[147/159] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[148/159] Compiling SwiftParserDiagnostics PresenceUtils.swift
[149/159] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[150/159] Compiling SwiftParserDiagnostics Utils.swift
[151/159] Compiling SwiftParserDiagnostics MissingNodesError.swift
[152/159] Compiling SwiftParserDiagnostics MissingTokenError.swift
[153/159] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[154/159] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[155/159] Emitting module SwiftParserDiagnostics
[156/159] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[157/159] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[158/173] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[159/174] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[160/174] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[161/174] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[162/174] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[163/174] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[164/174] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[165/174] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[166/174] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[167/174] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[168/174] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[169/174] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[170/174] Compiling SwiftSyntaxBuilder Indenter.swift
[171/174] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[172/174] Emitting module SwiftSyntaxBuilder
[173/188] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[174/189] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[175/189] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[176/189] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[177/189] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[178/189] Compiling SwiftSyntaxMacros AccessorMacro.swift
[179/189] Compiling SwiftSyntaxMacros AttachedMacro.swift
[180/189] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[181/189] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[182/189] Compiling SwiftSyntaxMacros Macro.swift
[183/189] Compiling SwiftSyntaxMacros Macro+Format.swift
[184/189] Emitting module SwiftSyntaxMacros
[185/189] Compiling SwiftSyntaxMacros MemberMacro.swift
[186/189] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[187/189] Compiling SwiftSyntaxMacros PeerMacro.swift
[188/197] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[189/197] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[190/197] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[191/197] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[192/197] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[193/197] Emitting module SwiftSyntaxMacroExpansion
[194/197] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[195/197] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[196/204] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[197/204] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[198/204] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[199/204] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[200/204] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[201/204] Emitting module SwiftCompilerPluginMessageHandling
[202/204] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[203/206] Emitting module SwiftCompilerPlugin
[204/206] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[205/211] Compiling PowerAssertPlugin PowerAssertPlugin.swift
[206/211] Emitting module PowerAssertPlugin
/Users/admin/builder/spi-builder-workspace/Sources/PowerAssertPlugin/PowerAssertMacro.swift:5:21: warning: static property 'formatMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | public struct PowerAssertMacro: ExpressionMacro {
5 | public static var formatMode: FormatMode = .disabled
| |- warning: static property 'formatMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'formatMode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'formatMode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | public static func expansion(
[207/211] Compiling PowerAssertPlugin PowerAssertRewriter.swift
[208/211] Compiling PowerAssertPlugin SingleLineFormatter.swift
[209/211] Compiling PowerAssertPlugin PowerAssertMacro.swift
/Users/admin/builder/spi-builder-workspace/Sources/PowerAssertPlugin/PowerAssertMacro.swift:5:21: warning: static property 'formatMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | public struct PowerAssertMacro: ExpressionMacro {
5 | public static var formatMode: FormatMode = .disabled
| |- warning: static property 'formatMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'formatMode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'formatMode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | public static func expansion(
[209/211] Write Objects.LinkFileList
[210/211] Linking PowerAssertPlugin-tool
[212/216] Compiling PowerAssert Diff.swift
[213/216] Compiling PowerAssert Macros.swift
[214/216] Compiling PowerAssert PowerAssert.swift
[215/216] Compiling PowerAssert Console.swift
[216/216] Emitting module PowerAssert
Build complete! (56.37s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-syntax",
"requirement" : {
"range" : [
{
"lower_bound" : "509.1.1",
"upper_bound" : "510.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-syntax.git"
}
],
"manifest_display_name" : "SwiftPowerAssert",
"name" : "SwiftPowerAssert",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "maccatalyst",
"version" : "13.0"
}
],
"products" : [
{
"name" : "PowerAssert",
"targets" : [
"PowerAssert"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "PowerAssertPlugin",
"targets" : [
"PowerAssertPlugin"
],
"type" : {
"macro" : null
}
}
],
"targets" : [
{
"c99name" : "StringWidth",
"module_type" : "SwiftTarget",
"name" : "StringWidth",
"path" : "Sources/StringWidth",
"product_memberships" : [
"PowerAssert",
"PowerAssertPlugin"
],
"sources" : [
"CodePointWidth.swift",
"StringWidth.swift"
],
"type" : "library"
},
{
"c99name" : "PowerAssertTests",
"module_type" : "SwiftTarget",
"name" : "PowerAssertTests",
"path" : "Tests",
"product_dependencies" : [
"SwiftSyntaxMacrosTestSupport"
],
"sources" : [
"AssertTests.swift",
"ConsoleTests.swift",
"DiffTests.swift",
"EmojiPresentationTests.swift",
"ExprSyntaxTests.swift",
"Fixtures.swift",
"Helpers.swift",
"LineDiffTests.swift",
"MacroExpansionTests.swift",
"OutputStyleTests.swift",
"StringWidthTests.swift",
"WordDiffTests.swift"
],
"target_dependencies" : [
"PowerAssertPlugin",
"PowerAssert"
],
"type" : "test"
},
{
"c99name" : "PowerAssertPlugin",
"module_type" : "SwiftTarget",
"name" : "PowerAssertPlugin",
"path" : "Sources/PowerAssertPlugin",
"product_dependencies" : [
"SwiftSyntaxMacros",
"SwiftCompilerPlugin"
],
"product_memberships" : [
"PowerAssert",
"PowerAssertPlugin"
],
"sources" : [
"PowerAssertMacro.swift",
"PowerAssertPlugin.swift",
"PowerAssertRewriter.swift",
"SingleLineFormatter.swift"
],
"target_dependencies" : [
"StringWidth"
],
"type" : "macro"
},
{
"c99name" : "PowerAssert",
"module_type" : "SwiftTarget",
"name" : "PowerAssert",
"path" : "Sources/PowerAssert",
"product_memberships" : [
"PowerAssert"
],
"sources" : [
"Console.swift",
"Diff.swift",
"Macros.swift",
"PowerAssert.swift"
],
"target_dependencies" : [
"PowerAssertPlugin",
"StringWidth"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.