Build Information
Successful build of SwiftNRC, reference 1.3.4 (52a60d
), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 07:02:18 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: 1.3.4
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/joehinkle11/SwiftNRC
* tag 1.3.4 -> FETCH_HEAD
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 1.3.4
Fetching https://github.com/apple/swift-syntax
[1/66399] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax from cache (3.61s)
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.79s)
Fetching https://github.com/apple/swift-syntax from cache
Fetched https://github.com/apple/swift-syntax from cache (0.82s)
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 1.3.4 (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 SwiftSyntax509 Empty.swift
[20/26] Emitting module SwiftSyntax509
[21/26] Emitting module SwiftSyntax510
[22/26] Compiling SwiftSyntax510 Empty.swift
[23/26] Emitting module SwiftSyntax600
[24/26] Compiling SwiftSyntax600 Empty.swift
[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 SyntaxArenaAllocatedBuffer.swift
[34/99] Compiling SwiftSyntax SyntaxChildren.swift
[35/99] Compiling SwiftSyntax SyntaxCollection.swift
[36/99] Compiling SwiftSyntax SyntaxHashable.swift
[37/99] Compiling SwiftSyntax SyntaxIdentifier.swift
[38/99] Compiling SwiftSyntax SyntaxNodeFactory.swift
[39/99] Compiling SwiftSyntax SyntaxNodeStructure.swift
[40/99] Compiling SwiftSyntax Tokens.swift
[41/99] Compiling SwiftSyntax TriviaPieces.swift
[42/99] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[43/99] Compiling SwiftSyntax RawSyntaxNodesC.swift
[44/99] Compiling SwiftSyntax RawSyntaxNodesD.swift
[45/99] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[46/99] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[47/99] Compiling SwiftSyntax SourceEdit.swift
[48/99] Compiling SwiftSyntax SourceLength.swift
[49/99] Compiling SwiftSyntax SourceLocation.swift
[50/99] Compiling SwiftSyntax SourcePresence.swift
[51/99] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[52/99] Compiling SwiftSyntax Syntax.swift
[53/99] Compiling SwiftSyntax SyntaxArena.swift
[54/99] Compiling SwiftSyntax SyntaxCollections.swift
[55/99] Compiling SwiftSyntax SyntaxEnum.swift
[56/99] Compiling SwiftSyntax SyntaxKind.swift
[57/99] Compiling SwiftSyntax SyntaxRewriter.swift
[58/99] Compiling SwiftSyntax SyntaxTraits.swift
[59/99] Compiling SwiftSyntax SyntaxVisitor.swift
[60/99] Compiling SwiftSyntax TokenKind.swift
[61/99] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[62/99] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[63/99] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[64/99] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[65/99] Compiling SwiftSyntax RawSyntaxValidation.swift
[66/99] Compiling SwiftSyntax SyntaxNodesAB.swift
[67/99] Compiling SwiftSyntax SyntaxNodesC.swift
[68/99] Emitting module SwiftSyntax
[69/99] Compiling SwiftSyntax SyntaxProtocol.swift
[70/99] Compiling SwiftSyntax SyntaxText.swift
[71/99] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[72/99] Compiling SwiftSyntax TokenDiagnostic.swift
[73/99] Compiling SwiftSyntax TokenSequence.swift
[74/99] Compiling SwiftSyntax TokenSyntax.swift
[75/99] Compiling SwiftSyntax Trivia.swift
[76/99] Compiling SwiftSyntax EditorPlaceholder.swift
[77/99] Compiling SwiftSyntax Identifier.swift
[78/99] Compiling SwiftSyntax MemoryLayout.swift
[79/99] Compiling SwiftSyntax MissingNodeInitializers.swift
[80/99] Compiling SwiftSyntax RawSyntax.swift
[81/99] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[82/99] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[83/99] Compiling SwiftSyntax RawSyntaxTokenView.swift
[84/99] Compiling SwiftSyntax Utils.swift
[85/99] Compiling SwiftSyntax ChildNameForKeyPath.swift
[86/99] Compiling SwiftSyntax Keyword.swift
[87/99] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[88/99] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[89/99] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[90/99] Compiling SwiftSyntax SyntaxBaseNodes.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] Compiling SwiftDiagnostics Note.swift
[100/159] Compiling SwiftBasicFormat Syntax+Extensions.swift
[101/159] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[102/159] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[103/159] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[104/159] Compiling SwiftDiagnostics FixIt.swift
[105/159] Compiling SwiftDiagnostics DiagnosticDecorator.swift
[106/159] Compiling SwiftDiagnostics ANSIDiagnosticDecorator.swift
[107/159] Compiling SwiftDiagnostics Diagnostic.swift
[108/159] Compiling SwiftDiagnostics Convenience.swift
[109/159] Emitting module SwiftDiagnostics
[110/159] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[111/159] Compiling SwiftDiagnostics BasicDiagnosticDecorator.swift
[112/159] Emitting module SwiftBasicFormat
[113/159] Compiling SwiftBasicFormat InferIndentation.swift
[114/159] Compiling SwiftBasicFormat Indenter.swift
[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/159] Compiling SwiftParser TokenConsumer.swift
[122/159] Compiling SwiftParser TokenPrecedence.swift
[123/159] Compiling SwiftParser TokenSpec.swift
[124/159] Compiling SwiftParser TokenSpecSet.swift
[125/159] Compiling SwiftParser TopLevel.swift
[126/159] Compiling SwiftParser TriviaParser.swift
[127/159] Compiling SwiftParser Types.swift
[128/159] Compiling SwiftParser ExperimentalFeatures.swift
[129/163] Compiling SwiftParser StringLiterals.swift
[130/163] Compiling SwiftParser SwiftParserCompatibility.swift
[131/163] Compiling SwiftParser SwiftVersion.swift
[132/163] Compiling SwiftParser SyntaxUtils.swift
[133/163] Compiling SwiftParser Recovery.swift
[134/163] Compiling SwiftParser Specifiers.swift
[135/163] Compiling SwiftParser Statements.swift
[136/163] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[137/163] Compiling SwiftParser Nominals.swift
[138/163] Compiling SwiftParser Parameters.swift
[139/163] Compiling SwiftParser ParseSourceFile.swift
[140/163] Compiling SwiftParser Parser.swift
[141/163] Compiling SwiftParser Patterns.swift
[142/163] Compiling SwiftParser Directives.swift
[143/163] Compiling SwiftParser ExpressionInterpretedAsVersionTuple.swift
[144/163] Compiling SwiftParser Expressions.swift
[145/163] Compiling SwiftParser IncrementalParseTransition.swift
[146/163] Compiling SwiftParser IsValidIdentifier.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 SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[163/187] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[164/187] Compiling SwiftOperators PrecedenceGroup.swift
[165/187] Compiling SwiftOperators OperatorTable.swift
[166/187] Compiling SwiftOperators PrecedenceGraph.swift
[167/188] Compiling SwiftOperators SyntaxSynthesis.swift
[168/188] Compiling SwiftOperators OperatorTable+Defaults.swift
[169/188] Compiling SwiftOperators OperatorError.swift
[170/188] Compiling SwiftOperators OperatorTable+Semantics.swift
[171/188] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[172/188] Compiling SwiftOperators OperatorError+Diagnostics.swift
[173/188] Compiling SwiftOperators Operator.swift
[174/188] Emitting module SwiftOperators
[175/188] Compiling SwiftOperators OperatorTable+Folding.swift
[176/188] Compiling SwiftParserDiagnostics Utils.swift
[177/188] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[178/188] Compiling SwiftParserDiagnostics PresenceUtils.swift
[179/188] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[180/188] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[181/188] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[182/188] Compiling SwiftParserDiagnostics MissingNodesError.swift
[183/188] Compiling SwiftParserDiagnostics MissingTokenError.swift
[184/188] Emitting module SwiftParserDiagnostics
[185/188] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[186/188] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[187/203] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[188/203] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[189/203] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[190/203] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[191/204] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[192/204] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[193/204] Compiling SwiftSyntaxBuilder Indenter.swift
[194/204] Compiling SwiftSyntaxBuilder ListBuilder.swift
[195/204] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[196/204] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[197/204] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[198/204] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[199/204] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[200/204] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[201/204] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[202/204] Emitting module SwiftSyntaxBuilder
[203/222] Compiling SwiftSyntaxMacros AttachedMacro.swift
[204/222] Compiling SwiftSyntaxMacros BodyMacro.swift
[205/223] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[206/223] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[207/223] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[208/223] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[209/223] Compiling SwiftSyntaxMacros Macro.swift
[210/223] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[211/223] Compiling SwiftSyntaxMacros MacroExpansionDiagnosticMessages.swift
[212/223] Compiling SwiftSyntaxMacros AccessorMacro.swift
[213/223] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[214/223] Compiling SwiftSyntaxMacros Macro+Format.swift
[215/223] Compiling SwiftSyntaxMacros MemberMacro.swift
[216/223] Compiling SwiftSyntaxMacros PeerMacro.swift
[217/223] Compiling SwiftSyntaxMacros PreambleMacro.swift
[218/223] Emitting module SwiftSyntaxMacros
[219/223] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[220/223] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[221/223] Compiling SwiftSyntaxMacros Syntax+LexicalContext.swift
[222/233] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[223/233] Compiling SwiftSyntaxMacroExpansion MacroSpec.swift
[224/233] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[225/233] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[226/233] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[227/233] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[228/233] Compiling SwiftSyntaxMacroExpansion MacroArgument.swift
[229/233] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[230/233] Emitting module SwiftSyntaxMacroExpansion
[231/233] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[232/245] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[233/246] Compiling SwiftCompilerPluginMessageHandling StandardIOMessageConnection.swift
[234/246] Compiling SwiftCompilerPluginMessageHandling JSONEncoding.swift
[235/246] Emitting module SwiftCompilerPluginMessageHandling
[236/246] Compiling SwiftCompilerPluginMessageHandling LRUCache.swift
[237/246] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[238/246] Compiling SwiftCompilerPluginMessageHandling CodingUtilities.swift
[239/246] Compiling SwiftCompilerPluginMessageHandling JSON.swift
[240/246] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[241/246] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[242/246] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[243/246] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[244/246] Compiling SwiftCompilerPluginMessageHandling JSONDecoding.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] 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 |
[252/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 |
Build complete! (50.98s)
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.