Build Information
Successful build of swift-fatal-test-value with Swift 6.0 (beta) for Linux.
Swift 6 data race errors: 1
Build Command
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" 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.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/CuriositySoftware/swift-fatal-test-value.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/CuriositySoftware/swift-fatal-test-value
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at c222973 Merge pull request #11 from CuriositySoftware/yimajo-patch-1
Cloned https://github.com/CuriositySoftware/swift-fatal-test-value.git
Revision (git rev-parse @):
c222973b23117e4c2f553077fa72a5e28c900ff5
SUCCESS checkout https://github.com/CuriositySoftware/swift-fatal-test-value.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/CuriositySoftware/swift-fatal-test-value.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" 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
Fetching https://github.com/apple/swift-syntax.git
[1/60887] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (3.74s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.0.2 (1.33s)
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 509.0.2
Building for debugging...
[0/35] Write sources
[15/35] Write swift-version-24593BA9C3E375BF.txt
[17/37] Compiling SwiftSyntax509 Empty.swift
[18/37] Emitting module SwiftSyntax509
[19/38] Wrapping AST for SwiftSyntax509 for debugging
[21/83] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[22/83] Compiling SwiftSyntax Syntax.swift
[23/83] Compiling SwiftSyntax SyntaxArena.swift
[24/83] Compiling SwiftSyntax SyntaxChildren.swift
[25/83] Compiling SwiftSyntax SyntaxCollection.swift
[26/83] Compiling SwiftSyntax SyntaxData.swift
[27/89] Compiling SwiftSyntax SyntaxText.swift
[28/89] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[29/89] Compiling SwiftSyntax TokenDiagnostic.swift
[30/89] Compiling SwiftSyntax TokenSyntax.swift
[31/89] Compiling SwiftSyntax Trivia.swift
[32/89] Compiling SwiftSyntax Utils.swift
[33/89] Emitting module SwiftSyntax
[34/89] Compiling SwiftSyntax AbsolutePosition.swift
[35/89] Compiling SwiftSyntax Assert.swift
[36/89] Compiling SwiftSyntax BumpPtrAllocator.swift
[37/89] Compiling SwiftSyntax CommonAncestor.swift
[38/89] Compiling SwiftSyntax Convenience.swift
[39/89] Compiling SwiftSyntax MemoryLayout.swift
[40/89] Compiling SwiftSyntax MissingNodeInitializers.swift
[41/89] Compiling SwiftSyntax ChildNameForKeyPath.swift
[42/89] Compiling SwiftSyntax Keyword.swift
[43/89] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[44/89] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[45/89] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[46/89] Compiling SwiftSyntax SyntaxBaseNodes.swift
[47/89] Compiling SwiftSyntax SyntaxDeclNodes.swift
[48/89] Compiling SwiftSyntax SyntaxExprNodes.swift
[49/89] Compiling SwiftSyntax SyntaxNodes.swift
[50/89] Compiling SwiftSyntax SyntaxPatternNodes.swift
[51/89] Compiling SwiftSyntax SyntaxStmtNodes.swift
[52/89] Compiling SwiftSyntax SyntaxTypeNodes.swift
[53/89] Compiling SwiftSyntax SyntaxCollections.swift
[54/89] Compiling SwiftSyntax SyntaxEnum.swift
[55/89] Compiling SwiftSyntax SyntaxKind.swift
[56/89] Compiling SwiftSyntax SyntaxRewriter.swift
[57/89] Compiling SwiftSyntax SyntaxTraits.swift
[58/89] Compiling SwiftSyntax SyntaxTransform.swift
[59/89] Compiling SwiftSyntax RawSyntax.swift
[60/89] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[61/89] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[62/89] Compiling SwiftSyntax RawSyntaxTokenView.swift
[63/89] Compiling SwiftSyntax SourceLength.swift
[64/89] Compiling SwiftSyntax SourceLocation.swift
[65/89] Compiling SwiftSyntax SourcePresence.swift
[66/89] Compiling SwiftSyntax SyntaxVisitor.swift
[67/89] Compiling SwiftSyntax TokenKind.swift
[68/89] Compiling SwiftSyntax Tokens.swift
[69/89] Compiling SwiftSyntax TriviaPieces.swift
[70/89] Compiling SwiftSyntax RawSyntaxNodes.swift
[71/89] Compiling SwiftSyntax RawSyntaxValidation.swift
[72/90] Wrapping AST for SwiftSyntax for debugging
[74/141] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[75/141] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[76/141] Emitting module SwiftDiagnostics
[77/141] Compiling SwiftDiagnostics Note.swift
[78/141] Compiling SwiftDiagnostics Message.swift
[79/141] Compiling SwiftDiagnostics FixIt.swift
[80/141] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[81/141] Compiling SwiftDiagnostics Diagnostic.swift
[82/141] Compiling SwiftDiagnostics Convenience.swift
[83/141] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[84/142] Wrapping AST for SwiftDiagnostics for debugging
[86/142] Compiling SwiftBasicFormat Syntax+Extensions.swift
[87/142] Emitting module SwiftBasicFormat
[88/142] Compiling SwiftBasicFormat BasicFormat.swift
[89/143] Wrapping AST for SwiftBasicFormat for debugging
[91/143] Compiling SwiftParser Modifiers.swift
[92/143] Compiling SwiftParser Names.swift
[93/143] Compiling SwiftParser Nominals.swift
[94/143] Compiling SwiftParser Parameters.swift
[95/143] Compiling SwiftParser ParseSourceFile.swift
[96/148] Compiling SwiftParser Lexer.swift
[97/148] Compiling SwiftParser RegexLiteralLexer.swift
[98/148] Compiling SwiftParser UnicodeScalarExtensions.swift
[99/148] Compiling SwiftParser Lookahead.swift
[100/148] Compiling SwiftParser LoopProgressCondition.swift
[101/148] Emitting module SwiftParser
[102/148] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[103/148] Compiling SwiftParser StringLiterals.swift
[104/148] Compiling SwiftParser SwiftParserCompatibility.swift
[105/148] Compiling SwiftParser SyntaxUtils.swift
[106/148] Compiling SwiftParser TokenConsumer.swift
[107/148] Compiling SwiftParser TokenPrecedence.swift
[108/148] Compiling SwiftParser TokenSpec.swift
[109/148] Compiling SwiftParser TokenSpecSet.swift
[110/148] Compiling SwiftParser TopLevel.swift
[111/148] Compiling SwiftParser TriviaParser.swift
[112/148] Compiling SwiftParser Attributes.swift
[113/148] Compiling SwiftParser Availability.swift
[114/148] Compiling SwiftParser CharacterInfo.swift
[115/148] Compiling SwiftParser CollectionNodes+Parsable.swift
[116/148] Compiling SwiftParser Declarations.swift
[117/148] Compiling SwiftParser Directives.swift
[118/148] Compiling SwiftParser Parser.swift
[119/148] Compiling SwiftParser Patterns.swift
[120/148] Compiling SwiftParser Recovery.swift
[121/148] Compiling SwiftParser Specifiers.swift
[122/148] Compiling SwiftParser Statements.swift
[123/148] Compiling SwiftParser ExperimentalFeatures.swift
[124/148] Compiling SwiftParser Expressions.swift
[125/148] Compiling SwiftParser IncrementalParseTransition.swift
[126/148] Compiling SwiftParser Cursor.swift
[127/148] Compiling SwiftParser Lexeme.swift
[128/148] Compiling SwiftParser LexemeSequence.swift
[129/148] Compiling SwiftParser Types.swift
[130/148] Compiling SwiftParser IsLexerClassified.swift
[131/148] Compiling SwiftParser LayoutNodes+Parsable.swift
[132/148] Compiling SwiftParser Parser+TokenSpecSet.swift
[133/148] Compiling SwiftParser TokenSpecStaticMembers.swift
[134/149] Wrapping AST for SwiftParser for debugging
[136/172] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[137/172] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[138/173] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[139/174] Compiling SwiftOperators OperatorTable.swift
[140/174] Compiling SwiftOperators PrecedenceGroup.swift
[141/174] Compiling SwiftOperators PrecedenceGraph.swift
[142/174] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[143/174] Compiling SwiftOperators SyntaxSynthesis.swift
[144/174] Emitting module SwiftOperators
[145/174] Compiling SwiftOperators OperatorTable+Semantics.swift
[146/174] Compiling SwiftParserDiagnostics MissingNodesError.swift
[147/174] Compiling SwiftParserDiagnostics MissingTokenError.swift
[148/174] Compiling SwiftOperators OperatorTable+Folding.swift
[149/175] Wrapping AST for SwiftOperators for debugging
[151/175] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[152/175] Compiling SwiftParserDiagnostics Utils.swift
[153/175] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[154/175] Emitting module SwiftParserDiagnostics
[159/175] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[160/175] Compiling SwiftParserDiagnostics PresenceUtils.swift
[161/175] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[162/175] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[163/176] Wrapping AST for SwiftParserDiagnostics for debugging
[165/190] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[166/190] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[167/191] Compiling SwiftSyntaxBuilder Indenter.swift
[168/191] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[169/191] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[170/191] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[171/191] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[172/191] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[173/191] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[174/191] Emitting module SwiftSyntaxBuilder
[175/191] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[176/191] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[177/191] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[178/191] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[179/191] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[180/192] Wrapping AST for SwiftSyntaxBuilder for debugging
[182/206] Compiling SwiftSyntaxMacros MemberMacro.swift
[183/207] Compiling SwiftSyntaxMacros Macro.swift
[184/207] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[185/207] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[186/207] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[187/207] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[188/207] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[189/207] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[190/207] Compiling SwiftSyntaxMacros Macro+Format.swift
[191/207] Compiling SwiftSyntaxMacros PeerMacro.swift
[192/207] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[193/207] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[194/207] Emitting module SwiftSyntaxMacros
[195/207] Compiling SwiftSyntaxMacros AccessorMacro.swift
[196/207] Compiling SwiftSyntaxMacros AttachedMacro.swift
[197/208] Wrapping AST for SwiftSyntaxMacros for debugging
[199/216] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[200/216] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[201/216] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[202/216] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[203/216] Emitting module SwiftSyntaxMacroExpansion
[204/216] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[205/216] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[206/216] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[207/217] Wrapping AST for SwiftSyntaxMacroExpansion for debugging
[209/224] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[210/224] Emitting module SwiftCompilerPluginMessageHandling
[211/224] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[212/224] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[213/224] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[214/224] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[215/224] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[216/225] Wrapping AST for SwiftCompilerPluginMessageHandling for debugging
[218/227] Emitting module SwiftCompilerPlugin
[219/227] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[220/228] Wrapping AST for SwiftCompilerPlugin for debugging
[222/234] Compiling FatalErrorTestValueImplementationMacro PatternBindingSyntax+Closure.swift
[223/234] Compiling FatalErrorTestValueImplementationMacro Plugin.swift
[224/234] Compiling FatalErrorTestValueImplementationMacro Utility.swift
[225/234] Emitting module FatalErrorTestValueImplementationMacro
[226/234] Compiling FatalErrorTestValueImplementationMacro Diagnostics.swift
[227/234] Compiling FatalErrorTestValueImplementationMacro FatalErrorTestValueImplementationMacro.swift
[228/235] Wrapping AST for FatalErrorTestValueImplementationMacro for debugging
[229/235] Write Objects.LinkFileList
[230/235] Linking FatalErrorTestValueImplementationMacro
[232/237] Emitting module FatalTestValue
[233/237] Compiling FatalTestValue FatalTestValue.swift
[234/238] Wrapping AST for FatalTestValue for debugging
[236/240] Emitting module ImplementationMacroClient
macro expansion @FatalTestValue:2:23: warning: static property 'testValue' is not concurrency-safe because non-'Sendable' type 'Example' may have shared mutable state; this is an error in the Swift 6 language mode
`- /host/spi-builder-workspace/Sources/ImplementationMacroClient/main.swift:9:2: note: expanded code originates here
2 |
3 | @FatalTestValue
4 | struct Example {
| `- note: consider making struct 'Example' conform to the 'Sendable' protocol
5 | var create: @Sendable (Int) async throws -> Void
6 | var read: @Sendable (Int) async throws -> String
7 | var update: @Sendable (Int, String) async throws -> Void
8 | var delete: (Int) -> Void
9 | }
+--- macro expansion @FatalTestValue --------------------------------
| 1 | extension Example {
| 2 | public static let testValue = Example(
| | |- warning: static property 'testValue' is not concurrency-safe because non-'Sendable' type 'Example' may have shared mutable state; this is an error in the Swift 6 language mode
| | |- note: annotate 'testValue' 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
| 3 | create: { _ in
| 4 | fatalError()
+--------------------------------------------------------------------
10 |
[237/240] Compiling ImplementationMacroClient main.swift
macro expansion @FatalTestValue:2:23: warning: static property 'testValue' is not concurrency-safe because non-'Sendable' type 'Example' may have shared mutable state; this is an error in the Swift 6 language mode
`- /host/spi-builder-workspace/Sources/ImplementationMacroClient/main.swift:9:2: note: expanded code originates here
2 |
3 | @FatalTestValue
4 | struct Example {
| `- note: consider making struct 'Example' conform to the 'Sendable' protocol
5 | var create: @Sendable (Int) async throws -> Void
6 | var read: @Sendable (Int) async throws -> String
7 | var update: @Sendable (Int, String) async throws -> Void
8 | var delete: (Int) -> Void
9 | }
+--- macro expansion @FatalTestValue --------------------------------
| 1 | extension Example {
| 2 | public static let testValue = Example(
| | |- warning: static property 'testValue' is not concurrency-safe because non-'Sendable' type 'Example' may have shared mutable state; this is an error in the Swift 6 language mode
| | |- note: annotate 'testValue' 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
| 3 | create: { _ in
| 4 | fatalError()
+--------------------------------------------------------------------
10 |
[238/241] Wrapping AST for ImplementationMacroClient for debugging
[239/241] Write Objects.LinkFileList
[240/241] Linking ImplementationMacroClient
Build complete! (138.56s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-syntax",
"requirement" : {
"range" : [
{
"lower_bound" : "509.0.2",
"upper_bound" : "510.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-syntax.git"
}
],
"manifest_display_name" : "swift-fatal-test-value",
"name" : "swift-fatal-test-value",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "17.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "maccatalyst",
"version" : "13.0"
}
],
"products" : [
{
"name" : "FatalTestValue",
"targets" : [
"FatalTestValue"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "ImplementationMacroClient",
"targets" : [
"ImplementationMacroClient"
],
"type" : {
"executable" : null
}
},
{
"name" : "FatalErrorTestValueImplementationMacro",
"targets" : [
"FatalErrorTestValueImplementationMacro"
],
"type" : {
"macro" : null
}
}
],
"targets" : [
{
"c99name" : "ImplementationMacroClient",
"module_type" : "SwiftTarget",
"name" : "ImplementationMacroClient",
"path" : "Sources/ImplementationMacroClient",
"product_dependencies" : [
"SwiftSyntaxMacros"
],
"product_memberships" : [
"ImplementationMacroClient"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"FatalTestValue"
],
"type" : "executable"
},
{
"c99name" : "FatalTestValue",
"module_type" : "SwiftTarget",
"name" : "FatalTestValue",
"path" : "Sources/FatalTestValue",
"product_memberships" : [
"FatalTestValue",
"ImplementationMacroClient"
],
"sources" : [
"FatalTestValue.swift"
],
"target_dependencies" : [
"FatalErrorTestValueImplementationMacro"
],
"type" : "library"
},
{
"c99name" : "FatalErrorTestValueImplementationMacroTests",
"module_type" : "SwiftTarget",
"name" : "FatalErrorTestValueImplementationMacroTests",
"path" : "Tests/FatalErrorTestValueImplementationMacroTests",
"product_dependencies" : [
"SwiftSyntaxMacrosTestSupport"
],
"sources" : [
"FatalErrorTestValueImplementationMacroTests.swift",
"UtilityTests.swift"
],
"target_dependencies" : [
"FatalErrorTestValueImplementationMacro"
],
"type" : "test"
},
{
"c99name" : "FatalErrorTestValueImplementationMacro",
"module_type" : "SwiftTarget",
"name" : "FatalErrorTestValueImplementationMacro",
"path" : "Sources/FatalErrorTestValueImplementationMacro",
"product_dependencies" : [
"SwiftSyntaxMacros",
"SwiftCompilerPlugin"
],
"product_memberships" : [
"FatalTestValue",
"ImplementationMacroClient",
"FatalErrorTestValueImplementationMacro"
],
"sources" : [
"Diagnostics/Diagnostics.swift",
"Extensions/PatternBindingSyntax+Closure.swift",
"Macro/FatalErrorTestValueImplementationMacro.swift",
"Plugin.swift",
"Utility.swift"
],
"type" : "macro"
}
],
"tools_version" : "5.9"
}
Done.