Build Information
Successful build of swift-fatal-test-value, reference v1.0.1 (6d5706
), with Swift 6.1 for macOS (SPM) on 28 Apr 2025 00:22:34 UTC.
Swift 6 data race errors: 1
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.61.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 /Users/admin/builder/spi-builder-workspace/.git/
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
Fetching https://github.com/apple/swift-syntax.git
[1/70233] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (3.35s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.0.2 (4.40s)
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
========================================
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-fatal-test-value",
"name": "swift-fatal-test-value",
"url": "https://github.com/CuriositySoftware/swift-fatal-test-value.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-fatal-test-value",
"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/CuriositySoftware/swift-fatal-test-value.git
[1/143] Fetching swift-fatal-test-value
Fetched https://github.com/CuriositySoftware/swift-fatal-test-value.git from cache (0.64s)
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.87s)
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/CuriositySoftware/swift-fatal-test-value.git
Working copy of https://github.com/CuriositySoftware/swift-fatal-test-value.git resolved at v1.0.1 (6d5706c)
Found 1 product dependencies
- swift-syntax
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/CuriositySoftware/swift-fatal-test-value.git
https://github.com/CuriositySoftware/swift-fatal-test-value.git
{
"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" : "/Users/admin/builder/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"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/30] Write sources
[21/30] Write ImplementationMacroClient-entitlement.plist
[24/30] Write swift-version-2F0A5646E1D333AE.txt
[26/34] Compiling SwiftSyntax509 Empty.swift
[27/34] Emitting module SwiftSyntax509
[29/34] Compiling SwiftSyntax509 Empty.swift
[30/126] Compiling SwiftSyntax MemoryLayout.swift
[31/126] Compiling SwiftSyntax MissingNodeInitializers.swift
[32/126] Compiling SwiftSyntax RawSyntax.swift
[33/126] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[34/126] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[35/129] Compiling SwiftSyntax AbsolutePosition.swift
[36/129] Compiling SwiftSyntax Assert.swift
[37/129] Compiling SwiftSyntax BumpPtrAllocator.swift
[38/130] Compiling SwiftSyntax CommonAncestor.swift
[39/130] Compiling SwiftSyntax Convenience.swift
[50/136] Compiling SwiftSyntax Syntax.swift
[51/136] Compiling SwiftSyntax SyntaxArena.swift
[52/136] Compiling SwiftSyntax SyntaxChildren.swift
[53/136] Compiling SwiftSyntax SyntaxCollection.swift
[54/136] Compiling SwiftSyntax SyntaxData.swift
[55/136] Compiling SwiftSyntax Syntax.swift
[56/136] Compiling SwiftSyntax SyntaxArena.swift
[57/136] Compiling SwiftSyntax SyntaxChildren.swift
[58/136] Compiling SwiftSyntax SyntaxCollection.swift
[59/136] Compiling SwiftSyntax SyntaxData.swift
[65/136] Emitting module SwiftSyntax
[66/136] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[67/136] Compiling SwiftSyntax SyntaxBaseNodes.swift
[68/136] Compiling SwiftSyntax SyntaxCollections.swift
[69/136] Compiling SwiftSyntax SyntaxEnum.swift
[70/136] Compiling SwiftSyntax SyntaxKind.swift
[71/136] Emitting module SwiftSyntax
[72/136] Compiling SwiftSyntax RawSyntaxTokenView.swift
[73/136] Compiling SwiftSyntax SourceLength.swift
[74/136] Compiling SwiftSyntax SourceLocation.swift
[75/136] Compiling SwiftSyntax SourcePresence.swift
[76/136] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[77/136] Compiling SwiftSyntax SyntaxRewriter.swift
[78/136] Compiling SwiftSyntax SyntaxTraits.swift
[79/136] Compiling SwiftSyntax SyntaxTransform.swift
[80/136] Compiling SwiftSyntax SyntaxVisitor.swift
[81/136] Compiling SwiftSyntax TokenKind.swift
[92/136] Compiling SwiftSyntax Tokens.swift
[93/136] Compiling SwiftSyntax TriviaPieces.swift
[94/136] Compiling SwiftSyntax RawSyntaxNodes.swift
[95/136] Compiling SwiftSyntax RawSyntaxValidation.swift
[96/136] Compiling SwiftSyntax SyntaxDeclNodes.swift
[97/136] Compiling SwiftSyntax SyntaxExprNodes.swift
[98/136] Compiling SwiftSyntax SyntaxNodes.swift
[99/136] Compiling SwiftSyntax SyntaxPatternNodes.swift
[100/136] Compiling SwiftSyntax SyntaxStmtNodes.swift
[101/136] Compiling SwiftSyntax SyntaxTypeNodes.swift
[107/136] Compiling SwiftSyntax SyntaxText.swift
[108/136] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[109/136] Compiling SwiftSyntax TokenDiagnostic.swift
[110/136] Compiling SwiftSyntax TokenSyntax.swift
[111/136] Compiling SwiftSyntax Trivia.swift
[132/240] Compiling SwiftDiagnostics Message.swift
[133/240] Compiling SwiftDiagnostics Note.swift
[134/240] Compiling SwiftDiagnostics Convenience.swift
[135/240] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[136/240] Compiling SwiftBasicFormat Syntax+Extensions.swift
[137/240] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[138/240] Compiling SwiftDiagnostics Message.swift
[139/240] Compiling SwiftDiagnostics Note.swift
[140/240] Compiling SwiftDiagnostics FixIt.swift
[141/240] Compiling SwiftBasicFormat Syntax+Extensions.swift
[142/240] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[143/240] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[144/240] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[145/240] Emitting module SwiftDiagnostics
[146/240] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[147/240] Compiling SwiftDiagnostics Diagnostic.swift
[148/240] Compiling SwiftDiagnostics FixIt.swift
[149/240] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[150/240] Compiling SwiftDiagnostics Convenience.swift
[151/240] Compiling SwiftDiagnostics Diagnostic.swift
[152/240] Emitting module SwiftDiagnostics
[153/240] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[154/240] Compiling SwiftBasicFormat BasicFormat.swift
[155/240] Emitting module SwiftBasicFormat
[157/240] Compiling SwiftBasicFormat BasicFormat.swift
[158/240] Compiling SwiftParser Nominals.swift
[159/240] Compiling SwiftParser Parameters.swift
[160/240] Compiling SwiftParser ParseSourceFile.swift
[161/240] Compiling SwiftParser Lexeme.swift
[162/244] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[163/244] Compiling SwiftParser StringLiterals.swift
[164/244] Compiling SwiftParser SwiftParserCompatibility.swift
[165/244] Compiling SwiftParser TokenSpecSet.swift
[166/244] Compiling SwiftParser Lookahead.swift
[167/244] Compiling SwiftParser LoopProgressCondition.swift
[168/244] Compiling SwiftParser Modifiers.swift
[169/244] Compiling SwiftParser Statements.swift
[170/244] Emitting module SwiftParser
[171/248] Compiling SwiftParser Patterns.swift
[172/248] Compiling SwiftParser Recovery.swift
[173/248] Compiling SwiftParser Specifiers.swift
[174/248] Compiling SwiftParser Names.swift
[175/248] Compiling SwiftParser TopLevel.swift
[176/248] Compiling SwiftParser TriviaParser.swift
[177/248] Compiling SwiftParser Types.swift
[178/248] Compiling SwiftParser Parser.swift
[183/248] Compiling SwiftParser LexemeSequence.swift
[184/248] Compiling SwiftParser Lexer.swift
[185/248] Compiling SwiftParser RegexLiteralLexer.swift
[186/248] Compiling SwiftParser Attributes.swift
[187/248] Compiling SwiftParser Availability.swift
[188/248] Compiling SwiftParser CharacterInfo.swift
[189/248] Compiling SwiftParser CollectionNodes+Parsable.swift
[190/248] Compiling SwiftParser Declarations.swift
[191/248] Compiling SwiftParser UnicodeScalarExtensions.swift
[203/248] Compiling SwiftParser SyntaxUtils.swift
[204/248] Compiling SwiftParser TokenConsumer.swift
[205/248] Compiling SwiftParser TokenPrecedence.swift
[206/248] Compiling SwiftParser TokenSpec.swift
[207/248] Emitting module SwiftParser
[221/248] Compiling SwiftParser IsLexerClassified.swift
[222/248] Compiling SwiftParser LayoutNodes+Parsable.swift
[223/248] Compiling SwiftParser Parser+TokenSpecSet.swift
[224/248] Compiling SwiftParser TokenSpecStaticMembers.swift
[225/248] Compiling SwiftParser Directives.swift
[226/248] Compiling SwiftParser ExperimentalFeatures.swift
[227/248] Compiling SwiftParser Expressions.swift
[228/248] Compiling SwiftParser IncrementalParseTransition.swift
[229/248] Compiling SwiftParser Cursor.swift
[244/284] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[245/285] Compiling SwiftOperators OperatorError+Diagnostics.swift
[246/285] Compiling SwiftOperators PrecedenceGroup.swift
[247/285] Compiling SwiftOperators PrecedenceGraph.swift
[248/286] Compiling SwiftOperators OperatorTable+Defaults.swift
[249/286] Compiling SwiftOperators OperatorTable.swift
[250/286] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[251/286] Emitting module SwiftOperators
[252/286] Compiling SwiftOperators SyntaxSynthesis.swift
[253/286] Compiling SwiftOperators OperatorTable+Semantics.swift
[254/286] Compiling SwiftOperators Operator.swift
[255/286] Compiling SwiftOperators OperatorError.swift
[256/286] Compiling SwiftOperators OperatorTable+Folding.swift
[257/286] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[258/286] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[259/286] Compiling SwiftParserDiagnostics Utils.swift
[261/286] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[262/286] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[263/286] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[264/287] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[265/287] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[266/287] Compiling SwiftParserDiagnostics PresenceUtils.swift
[267/287] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[268/287] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[269/287] Emitting module SwiftParserDiagnostics
[270/287] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[271/287] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[272/287] Compiling SwiftParserDiagnostics MissingNodesError.swift
[273/287] Compiling SwiftParserDiagnostics MissingTokenError.swift
[274/287] Compiling SwiftParserDiagnostics PresenceUtils.swift
[275/287] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[278/287] Emitting module SwiftParserDiagnostics
[283/315] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[284/316] Emitting module SwiftSyntaxBuilder
[285/316] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[286/317] Emitting module SwiftSyntaxBuilder
[287/317] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[288/317] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[289/317] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[290/317] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[291/317] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[292/317] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[293/317] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[294/317] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[295/317] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[296/317] Compiling SwiftSyntaxBuilder Indenter.swift
[297/317] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[298/317] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[299/317] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[300/317] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[301/317] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[302/317] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[303/317] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[304/317] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[313/345] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[314/345] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[315/346] Emitting module SwiftSyntaxMacros
[316/346] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[317/346] Compiling SwiftSyntaxMacros MemberMacro.swift
[318/347] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[319/347] Compiling SwiftSyntaxMacros Macro+Format.swift
[320/347] Compiling SwiftSyntaxMacros Macro.swift
[321/347] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[322/347] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[323/347] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[324/347] Compiling SwiftSyntaxMacros MemberMacro.swift
[325/347] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[326/347] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[327/347] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[328/347] Compiling SwiftSyntaxMacros AccessorMacro.swift
[329/347] Compiling SwiftSyntaxMacros AttachedMacro.swift
[332/347] Compiling SwiftSyntaxMacros Macro+Format.swift
[333/347] Compiling SwiftSyntaxMacros Macro.swift
[338/347] Compiling SwiftSyntaxMacros PeerMacro.swift
[339/347] Emitting module SwiftSyntaxMacros
[342/347] Compiling SwiftSyntaxMacros PeerMacro.swift
[343/355] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[344/355] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[345/355] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[346/355] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[347/355] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[348/355] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[349/355] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[350/355] Emitting module SwiftSyntaxMacroExpansion
[351/362] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[352/362] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[353/362] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[354/362] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[355/362] Emitting module SwiftCompilerPluginMessageHandling
[356/362] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[357/362] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[358/364] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[359/364] Emitting module SwiftCompilerPlugin
[360/370] Compiling FatalErrorTestValueImplementationMacro Utility.swift
[361/370] Compiling FatalErrorTestValueImplementationMacro Plugin.swift
[362/370] Compiling FatalErrorTestValueImplementationMacro PatternBindingSyntax+Closure.swift
[363/370] Compiling FatalErrorTestValueImplementationMacro Diagnostics.swift
[364/370] Emitting module FatalErrorTestValueImplementationMacro
[365/370] Compiling FatalErrorTestValueImplementationMacro FatalErrorTestValueImplementationMacro.swift
[365/370] Write Objects.LinkFileList
[366/370] Linking FatalErrorTestValueImplementationMacro-tool
[368/372] Compiling FatalTestValue FatalTestValue.swift
[369/372] Emitting module FatalTestValue
[370/374] 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
`- /Users/admin/builder/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: add '@MainActor' to make static property 'testValue' part of global actor 'MainActor'
| | `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
| 3 | create: { _ in
| 4 | fatalError()
+--------------------------------------------------------------------
10 |
[371/374] 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
`- /Users/admin/builder/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: add '@MainActor' to make static property 'testValue' part of global actor 'MainActor'
| | `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
| 3 | create: { _ in
| 4 | fatalError()
+--------------------------------------------------------------------
10 |
[371/374] Write Objects.LinkFileList
[372/374] Linking ImplementationMacroClient
[373/374] Applying ImplementationMacroClient
Build complete! (37.22s)
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" : "/Users/admin/builder/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.