The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build DTOMacro, reference main (66d672), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 11:19:43 UTC.

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/OctoPoulpeStudio/DTOMacro.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/OctoPoulpeStudio/DTOMacro
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 66d6722 Add DocC to macros
Cloned https://github.com/OctoPoulpeStudio/DTOMacro.git
Revision (git rev-parse @):
66d6722e3f92dfb1f048b8bf5971710e1bd884d3
SUCCESS checkout https://github.com/OctoPoulpeStudio/DTOMacro.git at main
Fetching https://github.com/apple/swift-syntax.git
[1/66399] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (3.37s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.0.0-swift-DEVELOPMENT-SNAPSHOT-2023-08-07-a (3.79s)
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.0-swift-DEVELOPMENT-SNAPSHOT-2023-08-07-a
========================================
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": "dtomacro",
      "name": "DTOMacro",
      "url": "https://github.com/OctoPoulpeStudio/DTOMacro.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/DTOMacro",
      "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/OctoPoulpeStudio/DTOMacro.git
[1/128] Fetching dtomacro
Fetched https://github.com/OctoPoulpeStudio/DTOMacro.git from cache (0.70s)
Fetching https://github.com/apple/swift-syntax.git from cache
Fetched https://github.com/apple/swift-syntax.git from cache (0.89s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.1.1 (0.69s)
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/OctoPoulpeStudio/DTOMacro.git
Working copy of https://github.com/OctoPoulpeStudio/DTOMacro.git resolved at main (66d6722)
Found 1 product dependencies
  - swift-syntax
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/OctoPoulpeStudio/DTOMacro.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/23] Write sources
[16/23] Write DTOMacroClient-entitlement.plist
[17/23] Write swift-version--7754E27361AE5C74.txt
[19/75] Compiling SwiftSyntax AbsolutePosition.swift
[20/75] Compiling SwiftSyntax Assert.swift
[21/75] Compiling SwiftSyntax BumpPtrAllocator.swift
[22/75] Compiling SwiftSyntax CommonAncestor.swift
[23/75] Compiling SwiftSyntax Convenience.swift
[24/75] Compiling SwiftSyntax SyntaxText.swift
[25/75] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[26/75] Compiling SwiftSyntax TokenDiagnostic.swift
[27/75] Compiling SwiftSyntax TokenSyntax.swift
[28/75] Compiling SwiftSyntax Trivia.swift
[29/80] Compiling SwiftSyntax RawSyntaxTokenView.swift
[30/80] Compiling SwiftSyntax SourceLength.swift
[31/80] Compiling SwiftSyntax SourceLocation.swift
[32/80] Compiling SwiftSyntax SourcePresence.swift
[33/80] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[34/80] Emitting module DTOTypes
[35/80] Compiling DTOTypes JSONDecoder+DecodableFromDTO.swift
[36/80] Compiling DTOTypes DecodableFromDTOProtocol.swift
[38/80] Emitting module DTOTypes
[39/80] Compiling DTOTypes JSONDecoder+DecodableFromDTO.swift
[40/80] Emitting module SwiftSyntax
[41/80] Compiling SwiftSyntax MemoryLayout.swift
[42/80] Compiling SwiftSyntax MissingNodeInitializers.swift
[43/80] Compiling SwiftSyntax RawSyntax.swift
[44/80] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[45/80] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[46/80] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[47/80] Compiling SwiftSyntax SyntaxBaseNodes.swift
[48/80] Compiling SwiftSyntax SyntaxCollections.swift
[49/80] Compiling SwiftSyntax SyntaxEnum.swift
[50/80] Compiling SwiftSyntax SyntaxKind.swift
[51/80] Compiling SwiftSyntax Tokens.swift
[52/80] Compiling SwiftSyntax TriviaPieces.swift
[53/80] Compiling SwiftSyntax RawSyntaxNodes.swift
[54/80] Compiling SwiftSyntax RawSyntaxValidation.swift
[55/80] Compiling SwiftSyntax SyntaxDeclNodes.swift
[56/80] Compiling SwiftSyntax Utils.swift
[57/80] Compiling SwiftSyntax ChildNameForKeyPath.swift
[58/80] Compiling SwiftSyntax Keyword.swift
[59/80] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[60/80] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[61/80] Compiling SwiftSyntax Syntax.swift
[62/80] Compiling SwiftSyntax SyntaxArena.swift
[63/80] Compiling SwiftSyntax SyntaxChildren.swift
[64/80] Compiling SwiftSyntax SyntaxCollection.swift
[65/80] Compiling SwiftSyntax SyntaxData.swift
[66/80] Compiling SwiftSyntax SyntaxRewriter.swift
[67/80] Compiling SwiftSyntax SyntaxTraits.swift
[68/80] Compiling SwiftSyntax SyntaxTransform.swift
[69/80] Compiling SwiftSyntax SyntaxVisitor.swift
[70/80] Compiling SwiftSyntax TokenKind.swift
[71/80] Compiling SwiftSyntax SyntaxExprNodes.swift
[72/80] Compiling SwiftSyntax SyntaxNodes.swift
[73/80] Compiling SwiftSyntax SyntaxPatternNodes.swift
[74/80] Compiling SwiftSyntax SyntaxStmtNodes.swift
[75/80] Compiling SwiftSyntax SyntaxTypeNodes.swift
[76/131] Compiling SwiftDiagnostics Note.swift
[77/131] Compiling SwiftDiagnostics Message.swift
[78/131] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[79/131] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[80/131] Compiling SwiftBasicFormat Syntax+Extensions.swift
[81/131] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[82/131] Compiling SwiftDiagnostics FixIt.swift
[83/131] Compiling SwiftDiagnostics Convenience.swift
[84/131] Compiling SwiftDiagnostics Diagnostic.swift
[85/131] Emitting module SwiftDiagnostics
[86/131] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[87/131] Emitting module SwiftBasicFormat
[88/131] Compiling SwiftBasicFormat BasicFormat.swift
[89/131] Compiling SwiftParser Lexeme.swift
[90/131] Compiling SwiftParser LexemeSequence.swift
[91/131] Compiling SwiftParser Lexer.swift
[92/131] Compiling SwiftParser RegexLiteralLexer.swift
[93/135] Compiling SwiftParser UnicodeScalarExtensions.swift
[94/135] Compiling SwiftParser Lookahead.swift
[95/135] Compiling SwiftParser LoopProgressCondition.swift
[96/135] Compiling SwiftParser Modifiers.swift
[97/135] Compiling SwiftParser Statements.swift
[98/135] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[99/135] Compiling SwiftParser StringLiterals.swift
[100/135] Compiling SwiftParser SwiftParserCompatibility.swift
[101/135] Compiling SwiftParser Names.swift
[102/135] Compiling SwiftParser Nominals.swift
[103/135] Compiling SwiftParser Parameters.swift
[104/135] Compiling SwiftParser ParseSourceFile.swift
[105/135] Compiling SwiftParser TokenSpecSet.swift
[106/135] Compiling SwiftParser TopLevel.swift
[107/135] Compiling SwiftParser TriviaParser.swift
[108/135] Compiling SwiftParser Types.swift
[109/135] Compiling SwiftParser Parser.swift
[110/135] Compiling SwiftParser Patterns.swift
[111/135] Compiling SwiftParser Recovery.swift
[112/135] Compiling SwiftParser Specifiers.swift
[113/135] Emitting module SwiftParser
[114/135] Compiling SwiftParser IsLexerClassified.swift
[115/135] Compiling SwiftParser LayoutNodes+Parsable.swift
[116/135] Compiling SwiftParser Parser+TokenSpecSet.swift
[117/135] Compiling SwiftParser TokenSpecStaticMembers.swift
[118/135] Compiling SwiftParser SyntaxUtils.swift
[119/135] Compiling SwiftParser TokenConsumer.swift
[120/135] Compiling SwiftParser TokenPrecedence.swift
[121/135] Compiling SwiftParser TokenSpec.swift
[122/135] Compiling SwiftParser Attributes.swift
[123/135] Compiling SwiftParser Availability.swift
[124/135] Compiling SwiftParser CharacterInfo.swift
[125/135] Compiling SwiftParser CollectionNodes+Parsable.swift
[126/135] Compiling SwiftParser Declarations.swift
[127/135] Compiling SwiftParser Directives.swift
[128/135] Compiling SwiftParser Expressions.swift
[129/135] Compiling SwiftParser IncrementalParseTransition.swift
[130/135] Compiling SwiftParser Cursor.swift
[131/158] Compiling SwiftOperators OperatorError+Diagnostics.swift
[132/159] Compiling SwiftOperators OperatorError.swift
[133/159] Compiling SwiftOperators OperatorTable+Defaults.swift
[134/159] Compiling SwiftOperators PrecedenceGroup.swift
[135/159] Compiling SwiftOperators SyntaxSynthesis.swift
[136/159] Compiling SwiftOperators PrecedenceGraph.swift
[137/159] Compiling SwiftOperators OperatorTable.swift
[138/159] Compiling SwiftOperators OperatorTable+Folding.swift
[139/159] Compiling SwiftOperators OperatorTable+Semantics.swift
[140/159] Compiling SwiftOperators Operator.swift
[141/159] Emitting module SwiftOperators
[142/159] Compiling SwiftParserDiagnostics MissingNodesError.swift
[143/159] Compiling SwiftParserDiagnostics MissingTokenError.swift
[144/160] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[145/160] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[146/160] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[147/160] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[148/160] Compiling SwiftParserDiagnostics Utils.swift
[149/160] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[150/160] Compiling SwiftParserDiagnostics PresenceUtils.swift
[151/160] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[152/160] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[153/160] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[154/160] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[155/160] Emitting module SwiftParserDiagnostics
[156/174] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[157/174] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[158/174] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[159/174] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[160/174] Compiling SwiftSyntaxBuilder Indenter.swift
[161/174] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[162/174] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[163/175] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[164/175] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[165/175] Emitting module SwiftSyntaxBuilder
[166/175] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[167/175] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[168/175] Compiling SwiftSyntaxBuilder BuildableCollectionNodes.swift
[169/175] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[170/175] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[171/189] Compiling SwiftSyntaxMacros MemberMacro.swift
[172/190] Compiling SwiftSyntaxMacros Macro+Format.swift
[173/190] Compiling SwiftSyntaxMacros Macro.swift
[174/190] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[175/190] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[176/190] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[177/190] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[178/190] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[179/190] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[180/190] Compiling SwiftSyntaxMacros PeerMacro.swift
[181/190] Compiling SwiftSyntaxMacros AccessorMacro.swift
[182/190] Compiling SwiftSyntaxMacros AttachedMacro.swift
[183/190] Emitting module SwiftSyntaxMacros
[184/190] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[185/190] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[186/198] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[187/198] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[188/198] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[189/198] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[190/198] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[191/198] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[192/198] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[193/198] Emitting module SwiftSyntaxMacroExpansion
[194/205] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[195/205] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[196/205] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[197/205] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[198/205] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[199/205] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[200/205] Emitting module SwiftCompilerPluginMessageHandling
[201/207] Emitting module SwiftCompilerPlugin
[202/207] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[203/214] Compiling DTOMacrosImpl SyntaxNodeComparator.swift
[204/214] Compiling DTOMacrosImpl SyntaxUtils.swift
[205/214] Compiling DTOMacrosImpl DTODiagnostic.swift
/Users/admin/builder/spi-builder-workspace/Sources/DTOMacrosImpl/DTODiagnostic.swift:46:23: warning: static property 'obj' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
44 |     public var severity: DiagnosticSeverity {return .error}
45 |
46 |     public static var obj:String = ""
   |                       |- warning: static property 'obj' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'obj' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'obj' 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
47 |
48 |     public var message: String {
[206/214] Compiling DTOMacrosImpl SyntaxCreator.swift
/Users/admin/builder/spi-builder-workspace/Sources/DTOMacrosImpl/DTOMacroImpl.swift:39:23: warning: static property 'DTO' is not concurrency-safe because non-'Sendable' type 'TokenSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
 37 |
 38 | public enum DTOTokenSyntax {
 39 |     public static let DTO = TokenSyntax("DTO")
    |                       `- warning: static property 'DTO' is not concurrency-safe because non-'Sendable' type 'TokenSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
 40 | }
 41 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/TokenSyntax.swift:23:15: note: struct 'TokenSyntax' does not conform to the 'Sendable' protocol
 21 | /// token contents, the token’s `text` and trailing ``Trivia`` after the token’s
 22 | /// content.
 23 | public struct TokenSyntax: SyntaxProtocol, SyntaxHashable {
    |               `- note: struct 'TokenSyntax' does not conform to the 'Sendable' protocol
 24 |   /// The ``Syntax`` node that provides the underlying data.
 25 |   ///
/Users/admin/builder/spi-builder-workspace/Sources/DTOMacrosImpl/DTOMacroImpl.swift:25:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftSyntax'
 23 | import SwiftDiagnostics
 24 | import SwiftCompilerPlugin
 25 | import SwiftSyntax
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftSyntax'
 26 | import SwiftSyntaxBuilder
 27 | import SwiftSyntaxMacros
    :
 37 |
 38 | public enum DTOTokenSyntax {
 39 |     public static let DTO = TokenSyntax("DTO")
    |                       |- note: annotate 'DTO' 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
 40 | }
 41 |
[207/214] Compiling DTOMacrosImpl DiagnosticBuilder.swift
[208/214] Compiling DTOMacrosImpl DTOMacroImpl.swift
/Users/admin/builder/spi-builder-workspace/Sources/DTOMacrosImpl/DTOMacroImpl.swift:29:5: warning: let 'DefaultAccessor' is not concurrency-safe because non-'Sendable' type 'Keyword' may have shared mutable state; this is an error in the Swift 6 language mode
 27 | import SwiftSyntaxMacros
 28 |
 29 | let DefaultAccessor : Keyword = .public
    |     `- warning: let 'DefaultAccessor' is not concurrency-safe because non-'Sendable' type 'Keyword' may have shared mutable state; this is an error in the Swift 6 language mode
 30 |
 31 | public enum MacroName {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/generated/Keyword.swift:15:13: note: enum 'Keyword' does not conform to the 'Sendable' protocol
 13 | //===----------------------------------------------------------------------===//
 14 |
 15 | public enum Keyword: UInt8, Hashable {
    |             `- note: enum 'Keyword' does not conform to the 'Sendable' protocol
 16 |   case __consuming
 17 |   case __owned
/Users/admin/builder/spi-builder-workspace/Sources/DTOMacrosImpl/DTOMacroImpl.swift:25:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftSyntax'
 23 | import SwiftDiagnostics
 24 | import SwiftCompilerPlugin
 25 | import SwiftSyntax
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftSyntax'
 26 | import SwiftSyntaxBuilder
 27 | import SwiftSyntaxMacros
 28 |
 29 | let DefaultAccessor : Keyword = .public
    |     |- note: annotate 'DefaultAccessor' 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
 30 |
 31 | public enum MacroName {
/Users/admin/builder/spi-builder-workspace/Sources/DTOMacrosImpl/DTOMacroImpl.swift:39:23: warning: static property 'DTO' is not concurrency-safe because non-'Sendable' type 'TokenSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
 37 |
 38 | public enum DTOTokenSyntax {
 39 |     public static let DTO = TokenSyntax("DTO")
    |                       |- warning: static property 'DTO' is not concurrency-safe because non-'Sendable' type 'TokenSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'DTO' 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
 40 | }
 41 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/TokenSyntax.swift:23:15: note: struct 'TokenSyntax' does not conform to the 'Sendable' protocol
 21 | /// token contents, the token’s `text` and trailing ``Trivia`` after the token’s
 22 | /// content.
 23 | public struct TokenSyntax: SyntaxProtocol, SyntaxHashable {
    |               `- note: struct 'TokenSyntax' does not conform to the 'Sendable' protocol
 24 |   /// The ``Syntax`` node that provides the underlying data.
 25 |   ///
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/DTOMacrosImpl/DTOMacroImpl.swift:176:24: warning: static property 'createConversionMethodCall' is not concurrency-safe because non-'Sendable' type '(ParsedVariableInfo) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
174 |     }
175 |
176 |     private static let createConversionMethodCall: (ParsedVariableInfo) -> String = { info in
    |                        |- warning: static property 'createConversionMethodCall' is not concurrency-safe because non-'Sendable' type '(ParsedVariableInfo) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: annotate 'createConversionMethodCall' 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
177 |         let processorMethodName = "DTOConversionProcessor.\(info.dtoName)"
178 |         let parameter = "dto.\(info.dtoName)"
[209/214] Emitting module DTOMacrosImpl
/Users/admin/builder/spi-builder-workspace/Sources/DTOMacrosImpl/DTODiagnostic.swift:46:23: warning: static property 'obj' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
44 |     public var severity: DiagnosticSeverity {return .error}
45 |
46 |     public static var obj:String = ""
   |                       |- warning: static property 'obj' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'obj' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'obj' 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
47 |
48 |     public var message: String {
/Users/admin/builder/spi-builder-workspace/Sources/DTOMacrosImpl/DTOMacroImpl.swift:29:5: warning: let 'DefaultAccessor' is not concurrency-safe because non-'Sendable' type 'Keyword' may have shared mutable state; this is an error in the Swift 6 language mode
 27 | import SwiftSyntaxMacros
 28 |
 29 | let DefaultAccessor : Keyword = .public
    |     `- warning: let 'DefaultAccessor' is not concurrency-safe because non-'Sendable' type 'Keyword' may have shared mutable state; this is an error in the Swift 6 language mode
 30 |
 31 | public enum MacroName {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/generated/Keyword.swift:15:13: note: enum 'Keyword' does not conform to the 'Sendable' protocol
 13 | //===----------------------------------------------------------------------===//
 14 |
 15 | public enum Keyword: UInt8, Hashable {
    |             `- note: enum 'Keyword' does not conform to the 'Sendable' protocol
 16 |   case __consuming
 17 |   case __owned
/Users/admin/builder/spi-builder-workspace/Sources/DTOMacrosImpl/DTOMacroImpl.swift:25:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftSyntax'
 23 | import SwiftDiagnostics
 24 | import SwiftCompilerPlugin
 25 | import SwiftSyntax
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftSyntax'
 26 | import SwiftSyntaxBuilder
 27 | import SwiftSyntaxMacros
 28 |
 29 | let DefaultAccessor : Keyword = .public
    |     |- note: annotate 'DefaultAccessor' 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
 30 |
 31 | public enum MacroName {
/Users/admin/builder/spi-builder-workspace/Sources/DTOMacrosImpl/DTOMacroImpl.swift:39:23: warning: static property 'DTO' is not concurrency-safe because non-'Sendable' type 'TokenSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
 37 |
 38 | public enum DTOTokenSyntax {
 39 |     public static let DTO = TokenSyntax("DTO")
    |                       |- warning: static property 'DTO' is not concurrency-safe because non-'Sendable' type 'TokenSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'DTO' 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
 40 | }
 41 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/TokenSyntax.swift:23:15: note: struct 'TokenSyntax' does not conform to the 'Sendable' protocol
 21 | /// token contents, the token’s `text` and trailing ``Trivia`` after the token’s
 22 | /// content.
 23 | public struct TokenSyntax: SyntaxProtocol, SyntaxHashable {
    |               `- note: struct 'TokenSyntax' does not conform to the 'Sendable' protocol
 24 |   /// The ``Syntax`` node that provides the underlying data.
 25 |   ///
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/DTOMacrosImpl/DTOMacroImpl.swift:176:24: warning: static property 'createConversionMethodCall' is not concurrency-safe because non-'Sendable' type '(ParsedVariableInfo) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
174 |     }
175 |
176 |     private static let createConversionMethodCall: (ParsedVariableInfo) -> String = { info in
    |                        |- warning: static property 'createConversionMethodCall' is not concurrency-safe because non-'Sendable' type '(ParsedVariableInfo) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: annotate 'createConversionMethodCall' 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
177 |         let processorMethodName = "DTOConversionProcessor.\(info.dtoName)"
178 |         let parameter = "dto.\(info.dtoName)"
[209/214] Write Objects.LinkFileList
[210/214] Linking DTOMacrosImpl-tool
error: emit-module command failed with exit code 1 (use -v to see invocation)
[212/217] Emitting module DTOMacro
/Users/admin/builder/spi-builder-workspace/Sources/DTOMacro/DTOMacro.swift:24:8: error: no such module 'DTOMacrosImpl'
 22 |
 23 | import DTOTypes
 24 | import DTOMacrosImpl
    |        `- error: no such module 'DTOMacrosImpl'
 25 |
 26 | // TODO: a way to flatten the path to data : eg data.prop from data.group.prop
[213/217] Compiling DTOMacro DTOMacro.swift
/Users/admin/builder/spi-builder-workspace/Sources/DTOMacro/DTOMacro.swift:24:8: error: no such module 'DTOMacrosImpl'
 22 |
 23 | import DTOTypes
 24 | import DTOMacrosImpl
    |        `- error: no such module 'DTOMacrosImpl'
 25 |
 26 | // TODO: a way to flatten the path to data : eg data.prop from data.group.prop
[214/217] Compiling DTOMacro DTOAccessibility.swift
/Users/admin/builder/spi-builder-workspace/Sources/DTOMacro/DTOMacro.swift:24:8: error: no such module 'DTOMacrosImpl'
 22 |
 23 | import DTOTypes
 24 | import DTOMacrosImpl
    |        `- error: no such module 'DTOMacrosImpl'
 25 |
 26 | // TODO: a way to flatten the path to data : eg data.prop from data.group.prop
note: module 'DTOMacrosImpl' is a macro, and cannot be imported by tests and other targets
note: module 'DTOMacrosImpl' is a macro, and cannot be imported by tests and other targets
note: module 'DTOMacrosImpl' is a macro, and cannot be imported by tests and other targets
BUILD FAILURE 6.0 macosSpm