Build Information
Successful build of swift-fatal-test-value, reference v1.0.1 (6d5706
), with Swift 6.0 for Linux on 3 Nov 2024 19:58:38 UTC.
Swift 6 data race errors: 1
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/CuriositySoftware/swift-fatal-test-value.git
Reference: v1.0.1
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
* tag v1.0.1 -> FETCH_HEAD
HEAD is now at 6d5706c Merge pull request #8 from CuriositySoftware/yimajo-patch-1
Cloned https://github.com/CuriositySoftware/swift-fatal-test-value.git
Revision (git rev-parse @):
6d5706c7772f7531d958a41d022746795d8ae814
SUCCESS checkout https://github.com/CuriositySoftware/swift-fatal-test-value.git at v1.0.1
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/CuriositySoftware/swift-fatal-test-value.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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 (5.27s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.1.1 (2.31s)
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/51] Write sources
[23/51] Write swift-version-24593BA9C3E375BF.txt
[25/55] Emitting module SwiftSyntax509
[26/55] Compiling SwiftSyntax509 Empty.swift
[27/56] Emitting module SwiftSyntax509
[28/56] Compiling SwiftSyntax509 Empty.swift
[30/57] Wrapping AST for SwiftSyntax509 for debugging
[33/147] Compiling SwiftSyntax RawSyntax.swift
[34/147] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[35/147] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[36/147] Compiling SwiftSyntax RawSyntaxTokenView.swift
[37/147] Compiling SwiftSyntax SourceLength.swift
[38/147] Compiling SwiftSyntax SourceLocation.swift
[39/147] Compiling SwiftSyntax SourcePresence.swift
[40/147] Compiling SwiftSyntax AbsolutePosition.swift
[41/147] Compiling SwiftSyntax Assert.swift
[42/147] Compiling SwiftSyntax BumpPtrAllocator.swift
[43/147] Compiling SwiftSyntax CommonAncestor.swift
[44/147] Compiling SwiftSyntax Convenience.swift
[45/147] Compiling SwiftSyntax MemoryLayout.swift
[46/147] Compiling SwiftSyntax MissingNodeInitializers.swift
[61/153] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[62/153] Compiling SwiftSyntax Syntax.swift
[63/153] Compiling SwiftSyntax SyntaxArena.swift
[64/153] Compiling SwiftSyntax SyntaxChildren.swift
[65/153] Compiling SwiftSyntax SyntaxCollection.swift
[66/153] Compiling SwiftSyntax SyntaxData.swift
[73/159] Emitting module SwiftSyntax
[75/159] Compiling SwiftSyntax SyntaxText.swift
[76/159] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[77/159] Compiling SwiftSyntax TokenDiagnostic.swift
[78/159] Compiling SwiftSyntax TokenSyntax.swift
[79/159] Compiling SwiftSyntax Trivia.swift
[80/159] Compiling SwiftSyntax Utils.swift
[81/159] Compiling SwiftSyntax ChildNameForKeyPath.swift
[82/159] Compiling SwiftSyntax Keyword.swift
[83/159] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[84/159] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[85/159] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[86/159] Compiling SwiftSyntax SyntaxBaseNodes.swift
[93/159] Compiling SwiftSyntax SyntaxCollections.swift
[94/159] Compiling SwiftSyntax SyntaxEnum.swift
[95/159] Compiling SwiftSyntax SyntaxKind.swift
[96/159] Compiling SwiftSyntax SyntaxRewriter.swift
[97/159] Compiling SwiftSyntax SyntaxTraits.swift
[98/159] Compiling SwiftSyntax SyntaxTransform.swift
[105/159] Compiling SwiftSyntax SyntaxDeclNodes.swift
[106/159] Compiling SwiftSyntax SyntaxExprNodes.swift
[107/159] Compiling SwiftSyntax SyntaxNodes.swift
[108/159] Compiling SwiftSyntax SyntaxPatternNodes.swift
[109/159] Compiling SwiftSyntax SyntaxStmtNodes.swift
[110/159] Compiling SwiftSyntax SyntaxTypeNodes.swift
[123/159] Compiling SwiftSyntax SyntaxVisitor.swift
[124/159] Compiling SwiftSyntax TokenKind.swift
[125/159] Compiling SwiftSyntax Tokens.swift
[126/159] Compiling SwiftSyntax TriviaPieces.swift
[127/159] Compiling SwiftSyntax RawSyntaxNodes.swift
[128/159] Compiling SwiftSyntax RawSyntaxValidation.swift
[129/160] Wrapping AST for SwiftSyntax for debugging
[131/211] Compiling SwiftDiagnostics Convenience.swift
[132/211] Compiling SwiftDiagnostics FixIt.swift
[133/211] Compiling SwiftDiagnostics Note.swift
[134/211] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[135/211] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[136/211] Compiling SwiftDiagnostics Message.swift
[137/211] Emitting module SwiftDiagnostics
[138/211] Compiling SwiftBasicFormat Syntax+Extensions.swift
[139/211] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[140/211] Compiling SwiftDiagnostics Diagnostic.swift
[141/211] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[142/212] Wrapping AST for SwiftDiagnostics for debugging
[144/212] Emitting module SwiftBasicFormat
[145/212] Compiling SwiftBasicFormat BasicFormat.swift
[147/213] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[148/213] Compiling SwiftParser StringLiterals.swift
[149/213] Compiling SwiftParser SwiftParserCompatibility.swift
[150/213] Compiling SwiftParser SyntaxUtils.swift
[151/213] Compiling SwiftParser TokenConsumer.swift
[151/218] Wrapping AST for SwiftBasicFormat for debugging
[153/218] Compiling SwiftParser IsLexerClassified.swift
[154/218] Compiling SwiftParser LayoutNodes+Parsable.swift
[155/218] Compiling SwiftParser Parser+TokenSpecSet.swift
[156/218] Compiling SwiftParser TokenSpecStaticMembers.swift
[160/219] Compiling SwiftParser Lexer.swift
[161/219] Compiling SwiftParser RegexLiteralLexer.swift
[162/219] Compiling SwiftParser UnicodeScalarExtensions.swift
[163/219] Compiling SwiftParser Lookahead.swift
[164/219] Compiling SwiftParser LoopProgressCondition.swift
[165/219] Compiling SwiftParser TokenPrecedence.swift
[166/219] Compiling SwiftParser TokenSpec.swift
[167/219] Compiling SwiftParser TokenSpecSet.swift
[168/219] Compiling SwiftParser TopLevel.swift
[169/219] Compiling SwiftParser TriviaParser.swift
[169/219] Wrapping AST for SwiftSyntax for debugging
[171/270] Compiling SwiftDiagnostics FixIt.swift
[172/270] Compiling SwiftBasicFormat Syntax+Extensions.swift
[173/270] Compiling SwiftDiagnostics Note.swift
[174/270] Compiling SwiftDiagnostics Message.swift
[175/270] Emitting module SwiftParser
[176/270] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[177/270] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[178/270] Emitting module SwiftDiagnostics
[179/270] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[180/270] Compiling SwiftParser Lexer.swift
[181/270] Compiling SwiftParser RegexLiteralLexer.swift
[182/270] Compiling SwiftParser UnicodeScalarExtensions.swift
[183/270] Compiling SwiftParser Lookahead.swift
[184/270] Compiling SwiftParser LoopProgressCondition.swift
[185/270] Compiling SwiftParser Parser.swift
[186/270] Compiling SwiftParser Patterns.swift
[187/270] Compiling SwiftParser Recovery.swift
[188/270] Compiling SwiftParser Specifiers.swift
[189/270] Compiling SwiftParser Statements.swift
[190/270] Compiling SwiftDiagnostics Convenience.swift
[191/270] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[192/270] Compiling SwiftDiagnostics Diagnostic.swift
[193/271] Wrapping AST for SwiftDiagnostics for debugging
[195/271] Emitting module SwiftBasicFormat
[196/271] Compiling SwiftBasicFormat BasicFormat.swift
[197/272] Wrapping AST for SwiftBasicFormat for debugging
[199/272] Compiling SwiftParser Attributes.swift
[200/272] Compiling SwiftParser Availability.swift
[201/272] Compiling SwiftParser CharacterInfo.swift
[202/272] Compiling SwiftParser CollectionNodes+Parsable.swift
[203/272] Compiling SwiftParser Declarations.swift
[204/272] Compiling SwiftParser Directives.swift
[205/272] Compiling SwiftParser ExperimentalFeatures.swift
[206/272] Compiling SwiftParser Expressions.swift
[207/272] Compiling SwiftParser IncrementalParseTransition.swift
[208/272] Compiling SwiftParser Cursor.swift
[209/272] Compiling SwiftParser Lexeme.swift
[210/272] Compiling SwiftParser LexemeSequence.swift
[211/272] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[212/272] Compiling SwiftParser StringLiterals.swift
[213/272] Compiling SwiftParser SwiftParserCompatibility.swift
[214/272] Compiling SwiftParser SyntaxUtils.swift
[215/272] Compiling SwiftParser TokenConsumer.swift
[216/272] Compiling SwiftParser TokenPrecedence.swift
[217/272] Compiling SwiftParser TokenSpec.swift
[218/272] Compiling SwiftParser TokenSpecSet.swift
[219/272] Compiling SwiftParser TopLevel.swift
[220/272] Compiling SwiftParser TriviaParser.swift
[221/277] Compiling SwiftParser Types.swift
[222/277] Compiling SwiftParser IsLexerClassified.swift
[223/277] Compiling SwiftParser LayoutNodes+Parsable.swift
[224/277] Compiling SwiftParser Parser+TokenSpecSet.swift
[225/277] Compiling SwiftParser TokenSpecStaticMembers.swift
[226/278] Wrapping AST for SwiftParser for debugging
[233/301] Compiling SwiftParser Modifiers.swift
[234/301] Compiling SwiftParser Names.swift
[235/301] Compiling SwiftParser Nominals.swift
[236/301] Compiling SwiftParser Parameters.swift
[237/301] Compiling SwiftParser ParseSourceFile.swift
[243/301] Emitting module SwiftParser
[244/301] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[245/301] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[246/301] Compiling SwiftParserDiagnostics MissingNodesError.swift
[247/301] Compiling SwiftParserDiagnostics MissingTokenError.swift
[248/301] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[249/301] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[250/301] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[253/303] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[254/303] Compiling SwiftOperators PrecedenceGroup.swift
[255/303] Compiling SwiftOperators PrecedenceGraph.swift
[256/303] Compiling SwiftOperators OperatorTable.swift
[257/303] Compiling SwiftOperators SyntaxSynthesis.swift
[258/303] Emitting module SwiftOperators
[259/303] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[260/303] Compiling SwiftParserDiagnostics Utils.swift
[261/303] Compiling SwiftOperators OperatorTable+Semantics.swift
[264/303] Compiling SwiftOperators OperatorTable+Folding.swift
[265/304] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[269/304] Emitting module SwiftParserDiagnostics
[269/304] Wrapping AST for SwiftOperators for debugging
[271/304] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[272/304] Compiling SwiftParserDiagnostics PresenceUtils.swift
[289/306] Wrapping AST for SwiftParserDiagnostics for debugging
[290/320] Wrapping AST for SwiftParser for debugging
[292/333] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[293/334] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[294/334] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[295/334] Compiling SwiftParserDiagnostics Utils.swift
[296/334] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[297/334] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[298/334] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[299/334] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[300/334] Compiling SwiftParserDiagnostics MissingNodesError.swift
[301/334] Compiling SwiftParserDiagnostics MissingTokenError.swift
[302/335] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[303/335] Emitting module SwiftSyntaxBuilder
[304/335] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[305/335] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[306/335] Compiling SwiftParserDiagnostics PresenceUtils.swift
[309/335] Emitting module SwiftParserDiagnostics
[312/335] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[315/335] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[316/335] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[319/336] Wrapping AST for SwiftSyntaxBuilder for debugging
[321/350] Compiling SwiftSyntaxMacros AccessorMacro.swift
[322/350] Compiling SwiftSyntaxMacros AttachedMacro.swift
[323/351] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[324/351] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[325/351] Compiling SwiftSyntaxMacros Macro.swift
[326/351] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[327/351] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[328/351] Compiling SwiftSyntaxMacros Macro+Format.swift
[329/351] Compiling SwiftSyntaxMacros MemberMacro.swift
[330/351] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[331/351] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[332/351] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[333/351] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[334/351] Compiling SwiftSyntaxMacros PeerMacro.swift
[338/352] Emitting module SwiftSyntaxMacros
[339/353] Wrapping AST for SwiftParserDiagnostics for debugging
[340/367] Wrapping AST for SwiftSyntaxMacros for debugging
[342/375] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[343/375] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[344/375] Compiling SwiftSyntaxBuilder Indenter.swift
[345/375] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[346/376] Emitting module SwiftSyntaxMacroExpansion
[347/376] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[348/376] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[349/376] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[350/376] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[351/376] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[352/376] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[353/376] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[354/376] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[355/376] Emitting module SwiftSyntaxBuilder
[356/376] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[357/376] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[358/377] Wrapping AST for SwiftSyntaxMacroExpansion for debugging
[360/384] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[361/384] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[362/384] Emitting module SwiftCompilerPluginMessageHandling
[363/384] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[364/384] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[365/384] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[366/384] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[367/384] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[368/384] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[369/384] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[370/384] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[371/384] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[372/385] Wrapping AST for SwiftSyntaxBuilder for debugging
[374/399] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[375/399] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[376/399] Compiling SwiftSyntaxMacros AccessorMacro.swift
[377/399] Compiling SwiftSyntaxMacros AttachedMacro.swift
[378/400] Compiling SwiftSyntaxMacros MemberMacro.swift
[379/400] Compiling SwiftSyntaxMacros Macro.swift
[380/400] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[381/400] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[382/400] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[383/400] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[384/400] Compiling SwiftSyntaxMacros Macro+Format.swift
[385/400] Compiling SwiftSyntaxMacros PeerMacro.swift
[386/400] Emitting module SwiftSyntaxMacros
[387/400] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[388/400] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[390/401] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[391/401] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[391/402] Wrapping AST for SwiftSyntaxMacros for debugging
[393/402] Wrapping AST for SwiftCompilerPluginMessageHandling for debugging
[395/404] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[396/404] Emitting module SwiftCompilerPlugin
[397/405] Wrapping AST for SwiftCompilerPlugin for debugging
[399/411] Compiling FatalErrorTestValueImplementationMacro Plugin.swift
[400/411] Compiling FatalErrorTestValueImplementationMacro Diagnostics.swift
[401/411] Emitting module FatalErrorTestValueImplementationMacro
[402/411] Compiling FatalErrorTestValueImplementationMacro Utility.swift
[403/411] Compiling FatalErrorTestValueImplementationMacro PatternBindingSyntax+Closure.swift
[404/411] Compiling FatalErrorTestValueImplementationMacro FatalErrorTestValueImplementationMacro.swift
[405/412] Wrapping AST for FatalErrorTestValueImplementationMacro for debugging
[406/412] Write Objects.LinkFileList
[407/412] Linking FatalErrorTestValueImplementationMacro-tool
[409/414] Emitting module FatalTestValue
[410/414] Compiling FatalTestValue FatalTestValue.swift
[411/415] Wrapping AST for FatalTestValue for debugging
[413/417] 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 |
[414/417] 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 |
[415/418] Wrapping AST for ImplementationMacroClient for debugging
[416/418] Write Objects.LinkFileList
[417/418] Linking ImplementationMacroClient
Build complete! (277.86s)
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"
}
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.