Build Information
Successful build of SwiftNRC, reference main (52a60d
), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 07:03:07 UTC.
Swift 6 data race errors: 3
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/joehinkle11/SwiftNRC.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/joehinkle11/SwiftNRC
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 52a60d9 pointerToTop
Cloned https://github.com/joehinkle11/SwiftNRC.git
Revision (git rev-parse @):
52a60d944653bcfcebba8de0f57731a1b62f0525
SUCCESS checkout https://github.com/joehinkle11/SwiftNRC.git at main
Fetching https://github.com/apple/swift-syntax
[1/66399] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax from cache (3.27s)
Creating working copy for https://github.com/apple/swift-syntax
Working copy of https://github.com/apple/swift-syntax resolved at main (79ac43c)
========================================
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": "swiftnrc",
"name": "SwiftNRC",
"url": "https://github.com/joehinkle11/SwiftNRC.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftNRC",
"dependencies": [
{
"identity": "swift-syntax",
"name": "swift-syntax",
"url": "https://github.com/apple/swift-syntax",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-syntax",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/joehinkle11/SwiftNRC.git
[1/229] Fetching swiftnrc
Fetched https://github.com/joehinkle11/SwiftNRC.git from cache (0.67s)
Fetching https://github.com/apple/swift-syntax from cache
Fetched https://github.com/apple/swift-syntax from cache (0.90s)
Creating working copy for https://github.com/apple/swift-syntax
Working copy of https://github.com/apple/swift-syntax resolved at main (79ac43c)
Creating working copy for https://github.com/joehinkle11/SwiftNRC.git
Working copy of https://github.com/joehinkle11/SwiftNRC.git resolved at main (52a60d9)
warning: '.resolve-product-dependencies': dependency 'swiftnrc' 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/joehinkle11/SwiftNRC.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/20] Write sources
[16/20] Compiling _SwiftSyntaxCShims dummy.c
[17/20] Write swift-version--7754E27361AE5C74.txt
[19/26] Compiling SwiftSyntax510 Empty.swift
[20/26] Emitting module SwiftSyntax510
[21/26] Emitting module SwiftSyntax509
[22/26] Compiling SwiftSyntax509 Empty.swift
[23/26] Compiling SwiftSyntax600 Empty.swift
[24/26] Emitting module SwiftSyntax600
[25/92] Compiling SwiftSyntax AbsolutePosition.swift
[26/92] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[27/92] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[28/92] Compiling SwiftSyntax Assert.swift
[29/92] Compiling SwiftSyntax BumpPtrAllocator.swift
[30/92] Compiling SwiftSyntax CommonAncestor.swift
[31/92] Compiling SwiftSyntax Convenience.swift
[32/92] Compiling SwiftSyntax CustomTraits.swift
[33/99] Compiling SwiftSyntax EditorPlaceholder.swift
[34/99] Compiling SwiftSyntax Identifier.swift
[35/99] Compiling SwiftSyntax MemoryLayout.swift
[36/99] Compiling SwiftSyntax MissingNodeInitializers.swift
[37/99] Compiling SwiftSyntax RawSyntax.swift
[38/99] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[39/99] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[40/99] Compiling SwiftSyntax RawSyntaxTokenView.swift
[41/99] Compiling SwiftSyntax Tokens.swift
[42/99] Compiling SwiftSyntax TriviaPieces.swift
[43/99] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[44/99] Compiling SwiftSyntax RawSyntaxNodesC.swift
[45/99] Compiling SwiftSyntax RawSyntaxNodesD.swift
[46/99] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[47/99] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[48/99] Compiling SwiftSyntax SyntaxArenaAllocatedBuffer.swift
[49/99] Compiling SwiftSyntax SyntaxChildren.swift
[50/99] Compiling SwiftSyntax SyntaxCollection.swift
[51/99] Compiling SwiftSyntax SyntaxHashable.swift
[52/99] Compiling SwiftSyntax SyntaxIdentifier.swift
[53/99] Compiling SwiftSyntax SyntaxNodeFactory.swift
[54/99] Compiling SwiftSyntax SyntaxNodeStructure.swift
[55/99] Compiling SwiftSyntax SyntaxCollections.swift
[56/99] Compiling SwiftSyntax SyntaxEnum.swift
[57/99] Compiling SwiftSyntax SyntaxKind.swift
[58/99] Compiling SwiftSyntax SyntaxRewriter.swift
[59/99] Compiling SwiftSyntax SyntaxTraits.swift
[60/99] Compiling SwiftSyntax SyntaxVisitor.swift
[61/99] Compiling SwiftSyntax TokenKind.swift
[62/99] Compiling SwiftSyntax SyntaxProtocol.swift
[63/99] Compiling SwiftSyntax SyntaxText.swift
[64/99] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[65/99] Compiling SwiftSyntax TokenDiagnostic.swift
[66/99] Compiling SwiftSyntax TokenSequence.swift
[67/99] Compiling SwiftSyntax TokenSyntax.swift
[68/99] Compiling SwiftSyntax Trivia.swift
[69/99] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[70/99] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[71/99] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[72/99] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[73/99] Compiling SwiftSyntax RawSyntaxValidation.swift
[74/99] Compiling SwiftSyntax SyntaxNodesAB.swift
[75/99] Compiling SwiftSyntax SyntaxNodesC.swift
[76/99] Emitting module SwiftSyntax
[77/99] Compiling SwiftSyntax Utils.swift
[78/99] Compiling SwiftSyntax ChildNameForKeyPath.swift
[79/99] Compiling SwiftSyntax Keyword.swift
[80/99] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[81/99] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[82/99] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[83/99] Compiling SwiftSyntax SyntaxBaseNodes.swift
[84/99] Compiling SwiftSyntax SourceEdit.swift
[85/99] Compiling SwiftSyntax SourceLength.swift
[86/99] Compiling SwiftSyntax SourceLocation.swift
[87/99] Compiling SwiftSyntax SourcePresence.swift
[88/99] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[89/99] Compiling SwiftSyntax Syntax.swift
[90/99] Compiling SwiftSyntax SyntaxArena.swift
[91/99] Compiling SwiftSyntax SyntaxNodesD.swift
[92/99] Compiling SwiftSyntax SyntaxNodesEF.swift
[93/99] Compiling SwiftSyntax SyntaxNodesGHI.swift
[94/99] Compiling SwiftSyntax SyntaxNodesJKLMN.swift
[95/99] Compiling SwiftSyntax SyntaxNodesOP.swift
[96/99] Compiling SwiftSyntax SyntaxNodesQRS.swift
[97/99] Compiling SwiftSyntax SyntaxNodesTUVWXYZ.swift
[98/158] Compiling SwiftDiagnostics Message.swift
[99/159] Emitting module SwiftDiagnostics
[100/159] Compiling SwiftDiagnostics Convenience.swift
[101/159] Compiling SwiftDiagnostics Note.swift
[102/159] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[103/159] Compiling SwiftDiagnostics FixIt.swift
[104/159] Compiling SwiftDiagnostics DiagnosticDecorator.swift
[105/159] Compiling SwiftDiagnostics BasicDiagnosticDecorator.swift
[106/159] Compiling SwiftDiagnostics ANSIDiagnosticDecorator.swift
[107/159] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[108/159] Compiling SwiftDiagnostics Diagnostic.swift
[109/159] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[110/159] Compiling SwiftBasicFormat Syntax+Extensions.swift
[111/159] Compiling SwiftBasicFormat Indenter.swift
[112/159] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[113/159] Compiling SwiftBasicFormat InferIndentation.swift
[114/159] Emitting module SwiftBasicFormat
[115/159] Compiling SwiftBasicFormat BasicFormat.swift
[116/159] Compiling SwiftParser UnicodeScalarExtensions.swift
[117/159] Compiling SwiftParser Lookahead.swift
[118/159] Compiling SwiftParser LoopProgressCondition.swift
[119/159] Compiling SwiftParser Modifiers.swift
[120/159] Compiling SwiftParser Names.swift
[121/163] Compiling SwiftParser TopLevel.swift
[122/163] Compiling SwiftParser TriviaParser.swift
[123/163] Compiling SwiftParser Types.swift
[124/163] Compiling SwiftParser ExperimentalFeatures.swift
[125/163] Compiling SwiftParser StringLiterals.swift
[126/163] Compiling SwiftParser SwiftParserCompatibility.swift
[127/163] Compiling SwiftParser SwiftVersion.swift
[128/163] Compiling SwiftParser SyntaxUtils.swift
[129/163] Compiling SwiftParser Directives.swift
[130/163] Compiling SwiftParser ExpressionInterpretedAsVersionTuple.swift
[131/163] Compiling SwiftParser Expressions.swift
[132/163] Compiling SwiftParser IncrementalParseTransition.swift
[133/163] Compiling SwiftParser IsValidIdentifier.swift
[134/163] Compiling SwiftParser TokenConsumer.swift
[135/163] Compiling SwiftParser TokenPrecedence.swift
[136/163] Compiling SwiftParser TokenSpec.swift
[137/163] Compiling SwiftParser TokenSpecSet.swift
[138/163] Compiling SwiftParser Nominals.swift
[139/163] Compiling SwiftParser Parameters.swift
[140/163] Compiling SwiftParser ParseSourceFile.swift
[141/163] Compiling SwiftParser Parser.swift
[142/163] Compiling SwiftParser Patterns.swift
[143/163] Compiling SwiftParser Recovery.swift
[144/163] Compiling SwiftParser Specifiers.swift
[145/163] Compiling SwiftParser Statements.swift
[146/163] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[147/163] Compiling SwiftParser Cursor.swift
[148/163] Compiling SwiftParser Lexeme.swift
[149/163] Compiling SwiftParser LexemeSequence.swift
[150/163] Compiling SwiftParser Lexer.swift
[151/163] Compiling SwiftParser RegexLiteralLexer.swift
[152/163] Compiling SwiftParser Attributes.swift
[153/163] Compiling SwiftParser Availability.swift
[154/163] Compiling SwiftParser CharacterInfo.swift
[155/163] Compiling SwiftParser CollectionNodes+Parsable.swift
[156/163] Compiling SwiftParser Declarations.swift
[157/163] Emitting module SwiftParser
[158/163] Compiling SwiftParser IsLexerClassified.swift
[159/163] Compiling SwiftParser LayoutNodes+Parsable.swift
[160/163] Compiling SwiftParser Parser+TokenSpecSet.swift
[161/163] Compiling SwiftParser TokenSpecStaticMembers.swift
[162/186] Compiling SwiftOperators PrecedenceGroup.swift
[163/187] Compiling SwiftOperators PrecedenceGraph.swift
[164/187] Compiling SwiftOperators OperatorTable.swift
[165/187] Compiling SwiftOperators SyntaxSynthesis.swift
[166/187] Compiling SwiftOperators OperatorTable+Semantics.swift
[167/187] Compiling SwiftOperators OperatorError+Diagnostics.swift
[168/187] Compiling SwiftOperators OperatorTable+Defaults.swift
[169/187] Compiling SwiftOperators OperatorError.swift
[170/187] Compiling SwiftOperators Operator.swift
[171/187] Emitting module SwiftOperators
[172/187] Compiling SwiftOperators OperatorTable+Folding.swift
[173/187] Compiling SwiftParserDiagnostics Utils.swift
[174/187] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[175/187] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[176/188] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[177/188] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[178/188] Compiling SwiftParserDiagnostics PresenceUtils.swift
[179/188] Emitting module SwiftParserDiagnostics
[180/188] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[181/188] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[182/188] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[183/188] Compiling SwiftParserDiagnostics MissingNodesError.swift
[184/188] Compiling SwiftParserDiagnostics MissingTokenError.swift
[185/188] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[186/188] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[187/203] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[188/204] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[189/204] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[190/204] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[191/204] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[192/204] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[193/204] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[194/204] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[195/204] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[196/204] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[197/204] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[198/204] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[199/204] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[200/204] Emitting module SwiftSyntaxBuilder
[201/204] Compiling SwiftSyntaxBuilder Indenter.swift
[202/204] Compiling SwiftSyntaxBuilder ListBuilder.swift
[203/222] Compiling SwiftSyntaxMacros PreambleMacro.swift
[204/223] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[205/223] Compiling SwiftSyntaxMacros Macro+Format.swift
[206/223] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[207/223] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[208/223] Compiling SwiftSyntaxMacros Macro.swift
[209/223] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[210/223] Compiling SwiftSyntaxMacros MemberMacro.swift
[211/223] Compiling SwiftSyntaxMacros PeerMacro.swift
[212/223] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[213/223] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[214/223] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[215/223] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[216/223] Compiling SwiftSyntaxMacros AttachedMacro.swift
[217/223] Compiling SwiftSyntaxMacros BodyMacro.swift
[218/223] Emitting module SwiftSyntaxMacros
[219/223] Compiling SwiftSyntaxMacros MacroExpansionDiagnosticMessages.swift
[220/223] Compiling SwiftSyntaxMacros AccessorMacro.swift
[221/223] Compiling SwiftSyntaxMacros Syntax+LexicalContext.swift
[222/233] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[223/233] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[224/233] Emitting module SwiftSyntaxMacroExpansion
[225/233] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[226/233] Compiling SwiftSyntaxMacroExpansion MacroArgument.swift
[227/233] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[228/233] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[229/233] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[230/233] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[231/233] Compiling SwiftSyntaxMacroExpansion MacroSpec.swift
[232/245] Compiling SwiftCompilerPluginMessageHandling LRUCache.swift
[233/245] Compiling SwiftCompilerPluginMessageHandling CodingUtilities.swift
[234/245] Compiling SwiftCompilerPluginMessageHandling JSON.swift
[235/245] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[236/246] Compiling SwiftCompilerPluginMessageHandling StandardIOMessageConnection.swift
[237/246] Emitting module SwiftCompilerPluginMessageHandling
[238/246] Compiling SwiftCompilerPluginMessageHandling JSONEncoding.swift
[239/246] Compiling SwiftCompilerPluginMessageHandling JSONDecoding.swift
[240/246] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[241/246] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[242/246] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[243/246] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[244/246] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[245/248] Emitting module SwiftCompilerPlugin
[246/248] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[247/250] Emitting module SwiftNRCMacrosPlugin
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNRCMacrosPlugin/SwiftNRCMacrosPlugin.swift:86:15: warning: deprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter
84 | }
85 |
86 | public struct NRC: MemberMacro {
| `- warning: deprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter
87 | public static func expansion(of node: AttributeSyntax, providingMembersOf declaration: some DeclGroupSyntax, in context: some MacroExpansionContext) throws -> [DeclSyntax] {
88 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntaxMacros/MacroProtocols/MemberMacro.swift:89:22: note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
53 | /// - Returns: the set of member declarations introduced by this macro, which
54 | /// are nested inside the `attachedTo` declaration.
55 | static func expansion(
| `- note: requirement 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
56 | of node: AttributeSyntax,
57 | providingMembersOf declaration: some DeclGroupSyntax,
:
87 | message: "`MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter"
88 | )
89 | public static func expansion(
| `- note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
90 | of node: AttributeSyntax,
91 | providingMembersOf declaration: some DeclGroupSyntax,
[248/250] Compiling SwiftNRCMacrosPlugin SwiftNRCMacrosPlugin.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNRCMacrosPlugin/SwiftNRCMacrosPlugin.swift:86:15: warning: deprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter
84 | }
85 |
86 | public struct NRC: MemberMacro {
| `- warning: deprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter
87 | public static func expansion(of node: AttributeSyntax, providingMembersOf declaration: some DeclGroupSyntax, in context: some MacroExpansionContext) throws -> [DeclSyntax] {
88 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntaxMacros/MacroProtocols/MemberMacro.swift:89:22: note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
53 | /// - Returns: the set of member declarations introduced by this macro, which
54 | /// are nested inside the `attachedTo` declaration.
55 | static func expansion(
| `- note: requirement 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
56 | of node: AttributeSyntax,
57 | providingMembersOf declaration: some DeclGroupSyntax,
:
87 | message: "`MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter"
88 | )
89 | public static func expansion(
| `- note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
90 | of node: AttributeSyntax,
91 | providingMembersOf declaration: some DeclGroupSyntax,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNRCMacrosPlugin/SwiftNRCMacrosPlugin.swift:123:21: warning: variable 'commentText' was never mutated; consider changing to 'let' constant
121 | for element in membersArgument.expression.cast(DictionaryExprSyntax.self).content.cast(DictionaryElementListSyntax.self) {
122 | // todo: add comment text
123 | var commentText = ""
| `- warning: variable 'commentText' was never mutated; consider changing to 'let' constant
124 | guard let key = element.key.as(StringLiteralExprSyntax.self)?.segments.trimmedDescription else {
125 | context.diagnose(NRCErrorMessage(id: "fatal", message: "You must defined members keys with string literals").diagnose(at: element.key))
[248/250] Write Objects.LinkFileList
[249/250] Linking SwiftNRCMacrosPlugin-tool
[251/252] Compiling SwiftNRC SwiftNRC.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNRC/SwiftNRC.swift:248:12: warning: var '__debug_enableSwiftNRCZombies' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
246 | #if DEBUG
247 | /// Set this to false to improve performance in debug builds
248 | public var __debug_enableSwiftNRCZombies = true
| |- warning: var '__debug_enableSwiftNRCZombies' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '__debug_enableSwiftNRCZombies' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '__debug_enableSwiftNRCZombies' 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
249 | public typealias __debug_os_unfair_lock = Foundation.os_unfair_lock
250 | public let __debug_os_unfair_lock_lock = Foundation.os_unfair_lock_lock
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNRC/SwiftNRC.swift:250:12: warning: let '__debug_os_unfair_lock_lock' is not concurrency-safe because non-'Sendable' type '(os_unfair_lock_t) -> Void' (aka '(UnsafeMutablePointer<os_unfair_lock_s>) -> ()') may have shared mutable state; this is an error in the Swift 6 language mode
248 | public var __debug_enableSwiftNRCZombies = true
249 | public typealias __debug_os_unfair_lock = Foundation.os_unfair_lock
250 | public let __debug_os_unfair_lock_lock = Foundation.os_unfair_lock_lock
| |- warning: let '__debug_os_unfair_lock_lock' is not concurrency-safe because non-'Sendable' type '(os_unfair_lock_t) -> Void' (aka '(UnsafeMutablePointer<os_unfair_lock_s>) -> ()') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '__debug_os_unfair_lock_lock' 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
251 | public let __debug_os_unfair_lock_unlock = Foundation.os_unfair_lock_unlock
252 | #endif
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNRC/SwiftNRC.swift:251:12: warning: let '__debug_os_unfair_lock_unlock' is not concurrency-safe because non-'Sendable' type '(os_unfair_lock_t) -> Void' (aka '(UnsafeMutablePointer<os_unfair_lock_s>) -> ()') may have shared mutable state; this is an error in the Swift 6 language mode
249 | public typealias __debug_os_unfair_lock = Foundation.os_unfair_lock
250 | public let __debug_os_unfair_lock_lock = Foundation.os_unfair_lock_lock
251 | public let __debug_os_unfair_lock_unlock = Foundation.os_unfair_lock_unlock
| |- warning: let '__debug_os_unfair_lock_unlock' is not concurrency-safe because non-'Sendable' type '(os_unfair_lock_t) -> Void' (aka '(UnsafeMutablePointer<os_unfair_lock_s>) -> ()') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '__debug_os_unfair_lock_unlock' 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
252 | #endif
253 |
[252/252] Emitting module SwiftNRC
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNRC/SwiftNRC.swift:248:12: warning: var '__debug_enableSwiftNRCZombies' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
246 | #if DEBUG
247 | /// Set this to false to improve performance in debug builds
248 | public var __debug_enableSwiftNRCZombies = true
| |- warning: var '__debug_enableSwiftNRCZombies' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '__debug_enableSwiftNRCZombies' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '__debug_enableSwiftNRCZombies' 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
249 | public typealias __debug_os_unfair_lock = Foundation.os_unfair_lock
250 | public let __debug_os_unfair_lock_lock = Foundation.os_unfair_lock_lock
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNRC/SwiftNRC.swift:250:12: warning: let '__debug_os_unfair_lock_lock' is not concurrency-safe because non-'Sendable' type '(os_unfair_lock_t) -> Void' (aka '(UnsafeMutablePointer<os_unfair_lock_s>) -> ()') may have shared mutable state; this is an error in the Swift 6 language mode
248 | public var __debug_enableSwiftNRCZombies = true
249 | public typealias __debug_os_unfair_lock = Foundation.os_unfair_lock
250 | public let __debug_os_unfair_lock_lock = Foundation.os_unfair_lock_lock
| |- warning: let '__debug_os_unfair_lock_lock' is not concurrency-safe because non-'Sendable' type '(os_unfair_lock_t) -> Void' (aka '(UnsafeMutablePointer<os_unfair_lock_s>) -> ()') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '__debug_os_unfair_lock_lock' 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
251 | public let __debug_os_unfair_lock_unlock = Foundation.os_unfair_lock_unlock
252 | #endif
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNRC/SwiftNRC.swift:251:12: warning: let '__debug_os_unfair_lock_unlock' is not concurrency-safe because non-'Sendable' type '(os_unfair_lock_t) -> Void' (aka '(UnsafeMutablePointer<os_unfair_lock_s>) -> ()') may have shared mutable state; this is an error in the Swift 6 language mode
249 | public typealias __debug_os_unfair_lock = Foundation.os_unfair_lock
250 | public let __debug_os_unfair_lock_lock = Foundation.os_unfair_lock_lock
251 | public let __debug_os_unfair_lock_unlock = Foundation.os_unfair_lock_unlock
| |- warning: let '__debug_os_unfair_lock_unlock' is not concurrency-safe because non-'Sendable' type '(os_unfair_lock_t) -> Void' (aka '(UnsafeMutablePointer<os_unfair_lock_s>) -> ()') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '__debug_os_unfair_lock_unlock' 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
252 | #endif
253 |
Build complete! (50.34s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-syntax",
"requirement" : {
"branch" : [
"main"
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-syntax"
}
],
"manifest_display_name" : "SwiftNRC",
"name" : "SwiftNRC",
"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" : "SwiftNRC",
"targets" : [
"SwiftNRC"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwiftNRCMacrosPlugin",
"targets" : [
"SwiftNRCMacrosPlugin"
],
"type" : {
"macro" : null
}
}
],
"targets" : [
{
"c99name" : "SwiftNRCTests",
"module_type" : "SwiftTarget",
"name" : "SwiftNRCTests",
"path" : "Tests/SwiftNRCTests",
"sources" : [
"SwiftNRCTests.swift"
],
"target_dependencies" : [
"SwiftNRC"
],
"type" : "test"
},
{
"c99name" : "SwiftNRCMacrosPlugin",
"module_type" : "SwiftTarget",
"name" : "SwiftNRCMacrosPlugin",
"path" : "Sources/SwiftNRCMacrosPlugin",
"product_dependencies" : [
"SwiftSyntax",
"SwiftSyntaxMacros",
"SwiftOperators",
"SwiftParser",
"SwiftParserDiagnostics",
"SwiftCompilerPlugin"
],
"product_memberships" : [
"SwiftNRC",
"SwiftNRCMacrosPlugin"
],
"sources" : [
"SwiftNRCMacrosPlugin.swift"
],
"type" : "macro"
},
{
"c99name" : "SwiftNRC",
"module_type" : "SwiftTarget",
"name" : "SwiftNRC",
"path" : "Sources/SwiftNRC",
"product_memberships" : [
"SwiftNRC"
],
"sources" : [
"SwiftNRC.swift"
],
"target_dependencies" : [
"SwiftNRCMacrosPlugin"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.