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 0.0.0 (601a66), with Swift 6.0 (beta) for Linux on 14 Sep 2024 11:13:05 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.53.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/OctoPoulpeStudio/DTOMacro.git
Reference: 0.0.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/OctoPoulpeStudio/DTOMacro
 * tag               0.0.0      -> FETCH_HEAD
HEAD is now at 601a662 Update README.md
Cloned https://github.com/OctoPoulpeStudio/DTOMacro.git
Revision (git rev-parse @):
601a662c550cbecedcd219c73e8ff1525690fbb4
SUCCESS checkout https://github.com/OctoPoulpeStudio/DTOMacro.git at 0.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/OctoPoulpeStudio/DTOMacro.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:9d7dab235f2b0b46edadd73b1fb0c3b5323df02053420324a4a2f8ca89cb54a5
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-syntax.git
[1/65059] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (3.33s)
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 (2.39s)
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
Building for debugging...
[0/37] Write sources
[16/37] Write swift-version-24593BA9C3E375BF.txt
[18/88] Emitting module DTOTypes
[19/88] Compiling SwiftSyntax RawSyntax.swift
[20/88] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[21/88] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[22/88] Compiling SwiftSyntax RawSyntaxTokenView.swift
[23/88] Compiling SwiftSyntax SourceLength.swift
[24/88] Compiling SwiftSyntax SourceLocation.swift
[25/88] Compiling SwiftSyntax SourcePresence.swift
[26/88] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[27/88] Compiling SwiftSyntax Syntax.swift
[28/88] Compiling SwiftSyntax SyntaxArena.swift
[29/88] Compiling SwiftSyntax SyntaxChildren.swift
[30/88] Compiling SwiftSyntax SyntaxCollection.swift
[31/88] Compiling SwiftSyntax SyntaxData.swift
[32/94] Compiling DTOTypes DecodableFromDTOProtocol.swift
[33/94] Compiling DTOTypes JSONDecoder+DecodableFromDTO.swift
[35/95] Emitting module DTOTypes
[36/95] Compiling DTOTypes DecodableFromDTOProtocol.swift
[37/95] Compiling DTOTypes JSONDecoder+DecodableFromDTO.swift
[38/96] Wrapping AST for DTOTypes for debugging
[41/96] Emitting module SwiftSyntax
[42/96] Compiling SwiftSyntax AbsolutePosition.swift
[43/96] Compiling SwiftSyntax Assert.swift
[44/96] Compiling SwiftSyntax BumpPtrAllocator.swift
[45/96] Compiling SwiftSyntax CommonAncestor.swift
[46/96] Compiling SwiftSyntax Convenience.swift
[47/96] Compiling SwiftSyntax MemoryLayout.swift
[48/96] Compiling SwiftSyntax MissingNodeInitializers.swift
[49/96] Compiling SwiftSyntax ChildNameForKeyPath.swift
[50/96] Compiling SwiftSyntax Keyword.swift
[51/96] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[52/96] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[53/96] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[54/96] Compiling SwiftSyntax SyntaxBaseNodes.swift
[55/96] Compiling SwiftSyntax SyntaxText.swift
[56/96] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[57/96] Compiling SwiftSyntax TokenDiagnostic.swift
[58/96] Compiling SwiftSyntax TokenSyntax.swift
[59/96] Compiling SwiftSyntax Trivia.swift
[60/96] Compiling SwiftSyntax Utils.swift
[61/96] Compiling SwiftSyntax SyntaxDeclNodes.swift
[62/96] Compiling SwiftSyntax SyntaxExprNodes.swift
[63/96] Compiling SwiftSyntax SyntaxNodes.swift
[64/96] Compiling SwiftSyntax SyntaxPatternNodes.swift
[65/96] Compiling SwiftSyntax SyntaxStmtNodes.swift
[66/96] Compiling SwiftSyntax SyntaxTypeNodes.swift
[67/96] Compiling SwiftSyntax SyntaxCollections.swift
[68/96] Compiling SwiftSyntax SyntaxEnum.swift
[69/96] Compiling SwiftSyntax SyntaxKind.swift
[70/96] Compiling SwiftSyntax SyntaxRewriter.swift
[71/96] Compiling SwiftSyntax SyntaxTraits.swift
[72/96] Compiling SwiftSyntax SyntaxTransform.swift
[73/96] Compiling SwiftSyntax SyntaxVisitor.swift
[74/96] Compiling SwiftSyntax TokenKind.swift
[75/96] Compiling SwiftSyntax Tokens.swift
[76/96] Compiling SwiftSyntax TriviaPieces.swift
[77/96] Compiling SwiftSyntax RawSyntaxNodes.swift
[78/96] Compiling SwiftSyntax RawSyntaxValidation.swift
[79/97] Wrapping AST for SwiftSyntax for debugging
[81/147] Compiling SwiftDiagnostics Message.swift
[82/147] Compiling SwiftDiagnostics Note.swift
[83/147] Compiling SwiftBasicFormat Syntax+Extensions.swift
[84/147] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[85/147] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[86/147] Compiling SwiftDiagnostics FixIt.swift
[87/147] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[88/147] Emitting module SwiftDiagnostics
[89/147] Compiling SwiftDiagnostics Diagnostic.swift
[90/147] Compiling SwiftDiagnostics Convenience.swift
[91/147] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[92/148] Wrapping AST for SwiftDiagnostics for debugging
[94/148] Emitting module SwiftBasicFormat
[95/148] Compiling SwiftBasicFormat BasicFormat.swift
[96/149] Wrapping AST for SwiftBasicFormat for debugging
[98/149] Compiling SwiftParser Lexer.swift
[99/149] Compiling SwiftParser RegexLiteralLexer.swift
[100/149] Compiling SwiftParser UnicodeScalarExtensions.swift
[101/149] Compiling SwiftParser Lookahead.swift
[102/149] Compiling SwiftParser LoopProgressCondition.swift
[103/154] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[104/154] Compiling SwiftParser StringLiterals.swift
[105/154] Compiling SwiftParser SwiftParserCompatibility.swift
[106/154] Compiling SwiftParser SyntaxUtils.swift
[107/154] Compiling SwiftParser TokenConsumer.swift
[108/154] Compiling SwiftParser TokenPrecedence.swift
[109/154] Compiling SwiftParser TokenSpec.swift
[110/154] Compiling SwiftParser TokenSpecSet.swift
[111/154] Compiling SwiftParser TopLevel.swift
[112/154] Compiling SwiftParser TriviaParser.swift
[113/154] Compiling SwiftParser Modifiers.swift
[114/154] Compiling SwiftParser Names.swift
[115/154] Compiling SwiftParser Nominals.swift
[116/154] Compiling SwiftParser Parameters.swift
[117/154] Compiling SwiftParser ParseSourceFile.swift
[118/154] Compiling SwiftParser Parser.swift
[119/154] Compiling SwiftParser Patterns.swift
[120/154] Compiling SwiftParser Recovery.swift
[121/154] Compiling SwiftParser Specifiers.swift
[122/154] Compiling SwiftParser Statements.swift
[123/154] Compiling SwiftParser Attributes.swift
[124/154] Compiling SwiftParser Availability.swift
[125/154] Compiling SwiftParser CharacterInfo.swift
[126/154] Compiling SwiftParser CollectionNodes+Parsable.swift
[127/154] Compiling SwiftParser Declarations.swift
[128/154] Compiling SwiftParser Directives.swift
[129/154] Emitting module SwiftParser
[130/154] Compiling SwiftParser Expressions.swift
[131/154] Compiling SwiftParser IncrementalParseTransition.swift
[132/154] Compiling SwiftParser Cursor.swift
[133/154] Compiling SwiftParser Lexeme.swift
[134/154] Compiling SwiftParser LexemeSequence.swift
[135/154] Compiling SwiftParser Types.swift
[136/154] Compiling SwiftParser IsLexerClassified.swift
[137/154] Compiling SwiftParser LayoutNodes+Parsable.swift
[138/154] Compiling SwiftParser Parser+TokenSpecSet.swift
[139/154] Compiling SwiftParser TokenSpecStaticMembers.swift
[140/155] Wrapping AST for SwiftParser for debugging
[142/178] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[143/179] Compiling SwiftParserDiagnostics MissingNodesError.swift
[144/179] Compiling SwiftParserDiagnostics MissingTokenError.swift
[145/180] Compiling SwiftOperators PrecedenceGroup.swift
[146/180] Compiling SwiftOperators OperatorTable+Semantics.swift
[147/180] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[148/180] Compiling SwiftOperators OperatorTable.swift
[149/180] Compiling SwiftOperators PrecedenceGraph.swift
[150/180] Compiling SwiftOperators SyntaxSynthesis.swift
[151/180] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[152/180] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[153/180] Emitting module SwiftOperators
[154/180] Compiling SwiftOperators OperatorTable+Folding.swift
[156/181] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[157/181] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[158/181] Compiling SwiftParserDiagnostics Utils.swift
[158/181] Wrapping AST for SwiftOperators for debugging
[160/181] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[161/181] Compiling SwiftParserDiagnostics PresenceUtils.swift
[164/181] Emitting module SwiftParserDiagnostics
[167/181] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[168/181] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[169/182] Wrapping AST for SwiftParserDiagnostics for debugging
[171/196] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[172/196] Compiling SwiftSyntaxBuilder BuildableCollectionNodes.swift
[173/196] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[174/196] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[175/197] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[176/197] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[177/197] Compiling SwiftSyntaxBuilder Indenter.swift
[178/197] Emitting module SwiftSyntaxBuilder
[179/197] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[180/197] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[181/197] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[182/197] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[183/197] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[184/197] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[185/197] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[186/198] Wrapping AST for SwiftSyntaxBuilder for debugging
[188/212] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[189/212] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[190/212] Compiling SwiftSyntaxMacros MemberMacro.swift
[191/213] Compiling SwiftSyntaxMacros AccessorMacro.swift
[192/213] Compiling SwiftSyntaxMacros AttachedMacro.swift
[193/213] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[194/213] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[195/213] Compiling SwiftSyntaxMacros Macro.swift
[196/213] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[197/213] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[198/213] Compiling SwiftSyntaxMacros Macro+Format.swift
[199/213] Compiling SwiftSyntaxMacros PeerMacro.swift
[200/213] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[201/213] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[202/213] Emitting module SwiftSyntaxMacros
[203/214] Wrapping AST for SwiftSyntaxMacros for debugging
[205/222] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[206/222] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[207/222] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[208/222] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[209/222] Emitting module SwiftSyntaxMacroExpansion
[210/222] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[211/222] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[212/222] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[213/223] Wrapping AST for SwiftSyntaxMacroExpansion for debugging
[215/230] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[216/230] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[217/230] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[218/230] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[219/230] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[220/230] Emitting module SwiftCompilerPluginMessageHandling
[221/230] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[222/231] Wrapping AST for SwiftCompilerPluginMessageHandling for debugging
[224/233] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[225/233] Emitting module SwiftCompilerPlugin
[226/234] Wrapping AST for SwiftCompilerPlugin for debugging
[228/241] Compiling DTOMacrosImpl SyntaxNodeComparator.swift
[229/241] Compiling DTOMacrosImpl SyntaxUtils.swift
[230/241] Compiling DTOMacrosImpl SyntaxCreator.swift
/host/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 |
/host/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 |   ///
/host/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 |
[231/241] Compiling DTOMacrosImpl DiagnosticBuilder.swift
[232/241] Emitting module DTOMacrosImpl
/host/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 {
/host/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 {
/host/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
/host/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 {
/host/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 |
/host/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'
/host/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)"
[233/241] Compiling DTOMacrosImpl DTODiagnostic.swift
/host/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 {
[234/241] Compiling DTOMacrosImpl DTOMacroImpl.swift
/host/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 {
/host/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
/host/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 {
/host/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 |
/host/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'
/host/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)"
[235/242] Wrapping AST for DTOMacrosImpl for debugging
[236/242] Write Objects.LinkFileList
[237/242] Linking DTOMacrosImpl-tool
error: emit-module command failed with exit code 1 (use -v to see invocation)
[239/245] Emitting module DTOMacro
Swift/UnsafeRawPointer.swift:440: Fatal error: load from misaligned raw pointer
*** Signal 4: Backtracing from 0x7f3b04211be4... done ***
*** Program crashed: Illegal instruction at 0x00007f3b04211be4 ***
Thread 0 "DTOMacrosImpl-t" crashed:
0      0x00007f3b04211be4 closure #1 in closure #1 in closure #1 in _assertionFailure(_:_:file:line:flags:) + 308 in libswiftCore.so
1 [ra] 0x00007f3b04211992 closure #1 in closure #1 in _assertionFailure(_:_:file:line:flags:) + 257 in libswiftCore.so
2 [ra] 0x00007f3b0421184d closure #1 in _assertionFailure(_:_:file:line:flags:) + 380 in libswiftCore.so
3 [ra] 0x00007f3b04394d46 _assertionFailure(_:_:file:line:flags:) + 229 in libswiftCore.so
4 [ra] 0x00007f3b04394f9e _fatalErrorMessage(_:_:file:line:flags:) + 45 in libswiftCore.so
5 [ra] 0x00007f3b04416c00 UnsafeRawBufferPointer.load<A>(fromByteOffset:as:) + 191 in libswiftCore.so
6 [ra] 0x000055566a713e22 closure #1 in PluginHostConnection.waitForNextMessage<A>(_:) + 81 in DTOMacrosImpl-tool at /host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftCompilerPlugin/CompilerPlugin.swift:203:31
7 [ra] 0x00007f3b04a58faf partial apply for closure #1 in Data.InlineData.withUnsafeBytes<A>(_:) + 30 in libFoundationEssentials.so
Registers:
rax 0x0000000000000000  0
rdx 0x0000000000000001  1
rcx 0x0000000000000002  2
rbx 0x0000555339d3568a  93815940798090
rsi 0x0000000000000007  7
rdi 0x000055566cb47010  03 00 02 00 02 00 02 00 01 00 01 00 00 00 01 00  ················
rbp 0x00007ffe674fa060  a0 a0 4f 67 fe 7f 00 00 92 19 21 04 3b 7f 00 00    Ogþ·····!·;···
rsp 0x00007ffe674fa050  20 00 00 00 00 00 00 00 b8 01 00 00 00 00 00 00   ·······¸·······
 r8 0x000055566cb5a3a0  8a 56 d3 39 53 55 00 00 d6 e9 08 70 25 74 f6 aa  ·VÓ9SU··Öé·p%töª
 r9 0x00007ffe674f9e40  46 61 74 61 6c 20 65 72 72 6f 72 3a 20 6c 6f 61  Fatal error: loa
r10 0x0000000000000000  0
r11 0xaaf674257008e9d6  12319161534860814806
r12 0x0000000000000000  0
r13 0x00007f3b04654eb0  00 02 00 00 00 00 00 00 ac a8 69 04 3b 7f 00 00  ········¬¨i·;···
r14 0x0000000000000001  1
r15 0x0000000000000001  1
rip 0x00007f3b04211be4  0f 0b 48 83 ec 08 48 8d 05 cf 43 47 00 48 8d 3d  ··H·ì·H··ÏCG·H·=
rflags 0x0000000000010206  PF
cs 0x0033  fs 0x0000  gs 0x0000
Images (17 omitted):
0x000055566a60c000–0x000055566c27bb88 <no build ID>                            DTOMacrosImpl-tool         /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/DTOMacrosImpl-tool
0x00007f3b040b2000–0x00007f3b0464e708 dd45db60240a3fd046733822ab13a21f61a13763 libswiftCore.so            /usr/lib/swift/linux/libswiftCore.so
0x00007f3b047c4000–0x00007f3b04c40390 <no build ID>                            libFoundationEssentials.so /usr/lib/swift/linux/libFoundationEssentials.so
Backtrace took 0.59s
/host/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
[240/245] Compiling DTOMacro DTOAccessibility.swift
/host/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
[241/245] Compiling DTOMacro DTOMacro.swift
Swift/UnsafeRawPointer.swift:440: Fatal error: load from misaligned raw pointer
*** Signal 4: Backtracing from 0x7f09896abbe4... done ***
*** Program crashed: Illegal instruction at 0x00007f09896abbe4 ***
Thread 0 "DTOMacrosImpl-t" crashed:
0      0x00007f09896abbe4 closure #1 in closure #1 in closure #1 in _assertionFailure(_:_:file:line:flags:) + 308 in libswiftCore.so
1 [ra] 0x00007f09896ab992 closure #1 in closure #1 in _assertionFailure(_:_:file:line:flags:) + 257 in libswiftCore.so
2 [ra] 0x00007f09896ab84d closure #1 in _assertionFailure(_:_:file:line:flags:) + 380 in libswiftCore.so
3 [ra] 0x00007f098982ed46 _assertionFailure(_:_:file:line:flags:) + 229 in libswiftCore.so
4 [ra] 0x00007f098982ef9e _fatalErrorMessage(_:_:file:line:flags:) + 45 in libswiftCore.so
5 [ra] 0x00007f09898b0c00 UnsafeRawBufferPointer.load<A>(fromByteOffset:as:) + 191 in libswiftCore.so
6 [ra] 0x000055ec1253de22 closure #1 in PluginHostConnection.waitForNextMessage<A>(_:) + 81 in DTOMacrosImpl-tool at /host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftCompilerPlugin/CompilerPlugin.swift:203:31
7 [ra] 0x00007f0989ef2faf partial apply for closure #1 in Data.InlineData.withUnsafeBytes<A>(_:) + 30 in libFoundationEssentials.so
Registers:
rax 0x0000000000000000  0
rdx 0x0000000000000001  1
rcx 0x0000000000000002  2
rbx 0x000055e94b2c930d  94460476953357
rsi 0x0000000000000007  7
rdi 0x000055ec15eca010  03 00 02 00 02 00 02 00 01 00 01 00 00 00 01 00  ················
rbp 0x00007ffca9aaae40  80 ae aa a9 fc 7f 00 00 92 b9 6a 89 09 7f 00 00  ·®ª©ü····¹j·····
rsp 0x00007ffca9aaae30  20 00 00 00 00 00 00 00 b8 01 00 00 00 00 00 00   ·······¸·······
 r8 0x000055ec15edd3a0  0d 93 2c 4b e9 55 00 00 94 97 12 67 9c 65 43 a9  ··,KéU·····g·eC©
 r9 0x00007ffca9aaac20  46 61 74 61 6c 20 65 72 72 6f 72 3a 20 6c 6f 61  Fatal error: loa
r10 0x0000000000000000  0
r11 0xa943659c67129794  12196703938268010388
r12 0x0000000000000000  0
r13 0x00007f0989aeeeb0  00 02 00 00 00 00 00 00 ac 48 b3 89 09 7f 00 00  ········¬H³·····
r14 0x0000000000000001  1
r15 0x0000000000000001  1
rip 0x00007f09896abbe4  0f 0b 48 83 ec 08 48 8d 05 cf 43 47 00 48 8d 3d  ··H·ì·H··ÏCG·H·=
rflags 0x0000000000010206  PF
cs 0x0033  fs 0x0000  gs 0x0000
Images (17 omitted):
0x000055ec12436000–0x000055ec140a5b88 <no build ID>                            DTOMacrosImpl-tool         /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/DTOMacrosImpl-tool
0x00007f098954c000–0x00007f0989ae8708 dd45db60240a3fd046733822ab13a21f61a13763 libswiftCore.so            /usr/lib/swift/linux/libswiftCore.so
0x00007f0989c5e000–0x00007f098a0da390 <no build ID>                            libFoundationEssentials.so /usr/lib/swift/linux/libFoundationEssentials.so
Backtrace took 0.59s
/host/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 linux