Build Information
Successful build of SwiftPowerAssert, reference main (4d120b
), with Swift 6.0 for Linux on 2 Nov 2024 04:22:20 UTC.
Swift 6 data race errors: 1
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
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 /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/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
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/kishikawakatsumi/swift-power-assert.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-syntax.git
[1/66399] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (3.78s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.1.1 (1.96s)
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
Building for debugging...
[0/33] Write sources
[16/33] Write swift-version-24593BA9C3E375BF.txt
[18/41] Emitting module StringWidth
[19/41] Compiling SwiftSyntax509 Empty.swift
[20/41] Emitting module SwiftSyntax509
[21/42] Wrapping AST for SwiftSyntax509 for debugging
[23/87] Compiling SwiftSyntax AbsolutePosition.swift
[24/87] Compiling SwiftSyntax Assert.swift
[25/87] Compiling SwiftSyntax BumpPtrAllocator.swift
[26/87] Compiling SwiftSyntax CommonAncestor.swift
[27/87] Compiling SwiftSyntax Convenience.swift
[28/87] Compiling SwiftSyntax MemoryLayout.swift
[29/87] Compiling SwiftSyntax MissingNodeInitializers.swift
[30/93] Compiling StringWidth StringWidth.swift
[31/93] Compiling StringWidth CodePointWidth.swift
[32/94] Emitting module StringWidth
[33/94] Compiling StringWidth CodePointWidth.swift
[34/94] Compiling StringWidth StringWidth.swift
[37/95] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[38/95] Compiling SwiftSyntax Syntax.swift
[39/95] Compiling SwiftSyntax SyntaxArena.swift
[40/95] Compiling SwiftSyntax SyntaxChildren.swift
[41/95] Compiling SwiftSyntax SyntaxCollection.swift
[42/95] Compiling SwiftSyntax SyntaxData.swift
[42/95] Wrapping AST for StringWidth for debugging
[44/95] Compiling SwiftSyntax RawSyntax.swift
[45/95] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[46/95] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[47/95] Compiling SwiftSyntax RawSyntaxTokenView.swift
[48/95] Compiling SwiftSyntax SourceLength.swift
[49/95] Compiling SwiftSyntax SourceLocation.swift
[50/95] Compiling SwiftSyntax SourcePresence.swift
[51/95] Compiling SwiftSyntax SyntaxText.swift
[52/95] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[53/95] Compiling SwiftSyntax TokenDiagnostic.swift
[54/95] Compiling SwiftSyntax TokenSyntax.swift
[55/95] Compiling SwiftSyntax Trivia.swift
[56/95] Compiling SwiftSyntax Utils.swift
[57/95] Compiling SwiftSyntax ChildNameForKeyPath.swift
[58/95] Compiling SwiftSyntax Keyword.swift
[59/95] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[60/95] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[61/95] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[62/95] Compiling SwiftSyntax SyntaxBaseNodes.swift
[63/95] Compiling SwiftSyntax SyntaxCollections.swift
[64/95] Compiling SwiftSyntax SyntaxEnum.swift
[65/95] Compiling SwiftSyntax SyntaxKind.swift
[66/95] Compiling SwiftSyntax SyntaxRewriter.swift
[67/95] Compiling SwiftSyntax SyntaxTraits.swift
[68/95] Compiling SwiftSyntax SyntaxTransform.swift
[69/95] Compiling SwiftSyntax SyntaxDeclNodes.swift
[70/95] Compiling SwiftSyntax SyntaxExprNodes.swift
[71/95] Compiling SwiftSyntax SyntaxNodes.swift
[72/95] Compiling SwiftSyntax SyntaxPatternNodes.swift
[73/95] Compiling SwiftSyntax SyntaxStmtNodes.swift
[74/95] Compiling SwiftSyntax SyntaxTypeNodes.swift
[75/95] Emitting module SwiftSyntax
[76/95] Compiling SwiftSyntax SyntaxVisitor.swift
[77/95] Compiling SwiftSyntax TokenKind.swift
[78/95] Compiling SwiftSyntax Tokens.swift
[79/95] Compiling SwiftSyntax TriviaPieces.swift
[80/95] Compiling SwiftSyntax RawSyntaxNodes.swift
[81/95] Compiling SwiftSyntax RawSyntaxValidation.swift
[82/96] Wrapping AST for SwiftSyntax for debugging
[84/147] Compiling SwiftDiagnostics Convenience.swift
[85/147] Emitting module SwiftDiagnostics
[86/147] Compiling SwiftDiagnostics FixIt.swift
[87/147] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[88/147] Compiling SwiftDiagnostics Message.swift
[89/147] Compiling SwiftDiagnostics Note.swift
[90/147] Compiling SwiftBasicFormat Syntax+Extensions.swift
[91/147] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[92/147] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[93/147] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[94/147] Compiling SwiftDiagnostics Diagnostic.swift
[96/148] Emitting module SwiftBasicFormat
[97/148] Compiling SwiftBasicFormat BasicFormat.swift
[97/149] Wrapping AST for SwiftDiagnostics for debugging
[99/149] Wrapping AST for SwiftBasicFormat for debugging
[101/149] Compiling SwiftParser TokenPrecedence.swift
[102/149] Compiling SwiftParser TokenSpec.swift
[103/149] Compiling SwiftParser TokenSpecSet.swift
[104/149] Compiling SwiftParser TopLevel.swift
[105/149] Compiling SwiftParser TriviaParser.swift
[106/154] Compiling SwiftParser Lexer.swift
[107/154] Compiling SwiftParser RegexLiteralLexer.swift
[108/154] Compiling SwiftParser UnicodeScalarExtensions.swift
[109/154] Compiling SwiftParser Lookahead.swift
[110/154] Compiling SwiftParser LoopProgressCondition.swift
[111/154] Emitting module SwiftParser
[112/154] Compiling SwiftParser Modifiers.swift
[113/154] Compiling SwiftParser Names.swift
[114/154] Compiling SwiftParser Nominals.swift
[115/154] Compiling SwiftParser Parameters.swift
[116/154] Compiling SwiftParser ParseSourceFile.swift
[117/154] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[118/154] Compiling SwiftParser StringLiterals.swift
[119/154] Compiling SwiftParser SwiftParserCompatibility.swift
[120/154] Compiling SwiftParser SyntaxUtils.swift
[121/154] Compiling SwiftParser TokenConsumer.swift
[122/154] Compiling SwiftParser Parser.swift
[123/154] Compiling SwiftParser Patterns.swift
[124/154] Compiling SwiftParser Recovery.swift
[125/154] Compiling SwiftParser Specifiers.swift
[126/154] Compiling SwiftParser Statements.swift
[127/154] Compiling SwiftParser Attributes.swift
[128/154] Compiling SwiftParser Availability.swift
[129/154] Compiling SwiftParser CharacterInfo.swift
[130/154] Compiling SwiftParser CollectionNodes+Parsable.swift
[131/154] Compiling SwiftParser Declarations.swift
[132/154] Compiling SwiftParser Directives.swift
[133/154] Compiling SwiftParser ExperimentalFeatures.swift
[134/154] Compiling SwiftParser Expressions.swift
[135/154] Compiling SwiftParser IncrementalParseTransition.swift
[136/154] Compiling SwiftParser Cursor.swift
[137/154] Compiling SwiftParser Lexeme.swift
[138/154] Compiling SwiftParser LexemeSequence.swift
[139/154] Compiling SwiftParser Types.swift
[140/154] Compiling SwiftParser IsLexerClassified.swift
[141/154] Compiling SwiftParser LayoutNodes+Parsable.swift
[142/154] Compiling SwiftParser Parser+TokenSpecSet.swift
[143/154] Compiling SwiftParser TokenSpecStaticMembers.swift
[144/155] Wrapping AST for SwiftParser for debugging
[146/178] Compiling SwiftOperators PrecedenceGroup.swift
[147/179] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[148/180] Compiling SwiftOperators PrecedenceGraph.swift
[149/180] Compiling SwiftOperators SyntaxSynthesis.swift
[150/180] Compiling SwiftOperators OperatorTable.swift
[151/180] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[152/180] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[153/180] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[154/180] Compiling SwiftOperators OperatorTable+Semantics.swift
[155/180] Emitting module SwiftOperators
[156/180] Compiling SwiftOperators OperatorError.swift
[157/180] Compiling SwiftOperators OperatorTable+Defaults.swift
[158/180] Compiling SwiftOperators OperatorTable+Folding.swift
[160/181] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[161/181] Compiling SwiftParserDiagnostics Utils.swift
[162/181] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[162/181] Wrapping AST for SwiftOperators for debugging
[164/181] Emitting module SwiftParserDiagnostics
[165/181] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[166/181] Compiling SwiftParserDiagnostics PresenceUtils.swift
[167/181] Compiling SwiftParserDiagnostics MissingNodesError.swift
[168/181] Compiling SwiftParserDiagnostics MissingTokenError.swift
[173/182] Wrapping AST for SwiftParserDiagnostics for debugging
[175/196] Emitting module SwiftSyntaxBuilder
[176/196] Compiling SwiftSyntaxBuilder Indenter.swift
[177/196] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[178/197] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[179/197] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[180/197] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[181/197] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[182/197] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[183/197] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[184/197] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[185/197] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[186/197] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[187/197] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[188/197] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[189/197] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[190/198] Wrapping AST for SwiftSyntaxBuilder for debugging
[192/212] Compiling SwiftSyntaxMacros Macro.swift
[193/212] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[194/213] Compiling SwiftSyntaxMacros AccessorMacro.swift
[195/213] Compiling SwiftSyntaxMacros AttachedMacro.swift
[196/213] Compiling SwiftSyntaxMacros MemberMacro.swift
[197/213] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[198/213] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[199/213] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[200/213] Compiling SwiftSyntaxMacros Macro+Format.swift
[201/213] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[202/213] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[203/213] Compiling SwiftSyntaxMacros PeerMacro.swift
[204/213] Emitting module SwiftSyntaxMacros
[205/213] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[206/213] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[207/214] Wrapping AST for SwiftSyntaxMacros for debugging
[209/222] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[210/222] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[211/222] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[212/222] Emitting module SwiftSyntaxMacroExpansion
[213/222] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[214/222] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[215/222] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[216/222] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[217/223] Wrapping AST for SwiftSyntaxMacroExpansion for debugging
[219/230] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[220/230] Emitting module SwiftCompilerPluginMessageHandling
[221/230] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[222/230] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[223/230] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[224/230] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[225/230] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[226/231] Wrapping AST for SwiftCompilerPluginMessageHandling for debugging
[228/233] Emitting module SwiftCompilerPlugin
[229/233] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[230/234] Wrapping AST for SwiftCompilerPlugin for debugging
[232/239] Emitting module PowerAssertPlugin
/host/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(
[233/239] Compiling PowerAssertPlugin SingleLineFormatter.swift
[234/239] Compiling PowerAssertPlugin PowerAssertPlugin.swift
[235/239] Compiling PowerAssertPlugin PowerAssertMacro.swift
/host/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(
[236/239] Compiling PowerAssertPlugin PowerAssertRewriter.swift
[237/240] Wrapping AST for PowerAssertPlugin for debugging
[238/240] Write Objects.LinkFileList
[239/240] Linking PowerAssertPlugin-tool
[241/245] Emitting module PowerAssert
[242/245] Compiling PowerAssert Macros.swift
[243/245] Compiling PowerAssert Console.swift
[244/245] Compiling PowerAssert Diff.swift
[245/245] Compiling PowerAssert PowerAssert.swift
Build complete! (98.58s)
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" : "/host/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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.