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 (beta) for Linux on 14 Sep 2024 11:13:29 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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: main
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
 * 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
========================================
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-4606859-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.86s)
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.84s)
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] Compiling DTOTypes DecodableFromDTOProtocol.swift
[19/88] Compiling DTOTypes JSONDecoder+DecodableFromDTO.swift
[20/88] Emitting module DTOTypes
[21/89] Compiling DTOTypes JSONDecoder+DecodableFromDTO.swift
[22/89] Compiling DTOTypes DecodableFromDTOProtocol.swift
[24/89] Emitting module DTOTypes
[25/90] Wrapping AST for DTOTypes for debugging
[28/90] Emitting module SwiftSyntax
[29/96] Compiling SwiftSyntax SyntaxCollections.swift
[30/96] Compiling SwiftSyntax SyntaxEnum.swift
[31/96] Compiling SwiftSyntax SyntaxKind.swift
[32/96] Compiling SwiftSyntax SyntaxRewriter.swift
[33/96] Compiling SwiftSyntax SyntaxTraits.swift
[34/96] Compiling SwiftSyntax SyntaxTransform.swift
[35/96] Compiling SwiftSyntax AbsolutePosition.swift
[36/96] Compiling SwiftSyntax Assert.swift
[37/96] Compiling SwiftSyntax BumpPtrAllocator.swift
[38/96] Compiling SwiftSyntax CommonAncestor.swift
[39/96] Compiling SwiftSyntax Convenience.swift
[40/96] Compiling SwiftSyntax MemoryLayout.swift
[41/96] Compiling SwiftSyntax MissingNodeInitializers.swift
[42/96] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[43/96] Compiling SwiftSyntax Syntax.swift
[44/96] Compiling SwiftSyntax SyntaxArena.swift
[45/96] Compiling SwiftSyntax SyntaxChildren.swift
[46/96] Compiling SwiftSyntax SyntaxCollection.swift
[47/96] Compiling SwiftSyntax SyntaxData.swift
[48/96] Compiling SwiftSyntax SyntaxText.swift
[49/96] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[50/96] Compiling SwiftSyntax TokenDiagnostic.swift
[51/96] Compiling SwiftSyntax TokenSyntax.swift
[52/96] Compiling SwiftSyntax Trivia.swift
[53/96] Compiling SwiftSyntax Utils.swift
[54/96] Compiling SwiftSyntax RawSyntax.swift
[55/96] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[56/96] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[57/96] Compiling SwiftSyntax RawSyntaxTokenView.swift
[58/96] Compiling SwiftSyntax SourceLength.swift
[59/96] Compiling SwiftSyntax SourceLocation.swift
[60/96] Compiling SwiftSyntax SourcePresence.swift
[61/96] Compiling SwiftSyntax ChildNameForKeyPath.swift
[62/96] Compiling SwiftSyntax Keyword.swift
[63/96] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[64/96] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[65/96] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[66/96] Compiling SwiftSyntax SyntaxBaseNodes.swift
[67/96] Compiling SwiftSyntax SyntaxVisitor.swift
[68/96] Compiling SwiftSyntax TokenKind.swift
[69/96] Compiling SwiftSyntax Tokens.swift
[70/96] Compiling SwiftSyntax TriviaPieces.swift
[71/96] Compiling SwiftSyntax RawSyntaxNodes.swift
[72/96] Compiling SwiftSyntax RawSyntaxValidation.swift
[73/96] Compiling SwiftSyntax SyntaxDeclNodes.swift
[74/96] Compiling SwiftSyntax SyntaxExprNodes.swift
[75/96] Compiling SwiftSyntax SyntaxNodes.swift
[76/96] Compiling SwiftSyntax SyntaxPatternNodes.swift
[77/96] Compiling SwiftSyntax SyntaxStmtNodes.swift
[78/96] Compiling SwiftSyntax SyntaxTypeNodes.swift
[79/97] Wrapping AST for SwiftSyntax for debugging
[81/147] Emitting module SwiftDiagnostics
[82/147] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[83/147] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[84/147] Compiling SwiftDiagnostics Diagnostic.swift
[85/147] Compiling SwiftDiagnostics Note.swift
[86/147] Compiling SwiftDiagnostics Convenience.swift
[87/147] Compiling SwiftDiagnostics Message.swift
[88/147] Compiling SwiftDiagnostics FixIt.swift
[89/147] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[90/147] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[92/148] Compiling SwiftBasicFormat Syntax+Extensions.swift
[93/148] Emitting module SwiftBasicFormat
[94/148] Compiling SwiftBasicFormat BasicFormat.swift
[94/149] Wrapping AST for SwiftDiagnostics for debugging
[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] Emitting module SwiftParser
[114/154] Compiling SwiftParser Modifiers.swift
[115/154] Compiling SwiftParser Names.swift
[116/154] Compiling SwiftParser Nominals.swift
[117/154] Compiling SwiftParser Parameters.swift
[118/154] Compiling SwiftParser ParseSourceFile.swift
[119/154] Compiling SwiftParser Parser.swift
[120/154] Compiling SwiftParser Patterns.swift
[121/154] Compiling SwiftParser Recovery.swift
[122/154] Compiling SwiftParser Specifiers.swift
[123/154] Compiling SwiftParser Statements.swift
[124/154] Compiling SwiftParser Attributes.swift
[125/154] Compiling SwiftParser Availability.swift
[126/154] Compiling SwiftParser CharacterInfo.swift
[127/154] Compiling SwiftParser CollectionNodes+Parsable.swift
[128/154] Compiling SwiftParser Declarations.swift
[129/154] Compiling SwiftParser Directives.swift
[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 SwiftOperators PrecedenceGraph.swift
[144/180] Compiling SwiftOperators Operator.swift
[145/180] Compiling SwiftOperators OperatorError+Diagnostics.swift
[146/180] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[147/180] Compiling SwiftOperators PrecedenceGroup.swift
[148/180] Compiling SwiftOperators OperatorTable.swift
[149/180] Compiling SwiftOperators SyntaxSynthesis.swift
[150/180] Emitting module SwiftOperators
[151/180] Compiling SwiftOperators OperatorError.swift
[152/180] Compiling SwiftOperators OperatorTable+Defaults.swift
[153/180] Compiling SwiftOperators OperatorTable+Folding.swift
[154/180] Compiling SwiftOperators OperatorTable+Semantics.swift
[155/181] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[156/181] Wrapping AST for SwiftOperators for debugging
[158/181] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[159/181] Compiling SwiftParserDiagnostics Utils.swift
[162/181] Emitting module SwiftParserDiagnostics
[165/181] Compiling SwiftParserDiagnostics MissingNodesError.swift
[166/181] Compiling SwiftParserDiagnostics MissingTokenError.swift
[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/197] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[174/197] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[175/197] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[176/197] Emitting module SwiftSyntaxBuilder
[177/197] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[178/197] Compiling SwiftSyntaxBuilder Indenter.swift
[179/197] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[180/197] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[181/197] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[182/197] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.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 Macro.swift
[189/212] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[190/212] Compiling SwiftSyntaxMacros MemberMacro.swift
[191/213] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[192/213] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[193/213] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[194/213] Compiling SwiftSyntaxMacros Macro+Format.swift
[195/213] Compiling SwiftSyntaxMacros AccessorMacro.swift
[196/213] Compiling SwiftSyntaxMacros AttachedMacro.swift
[197/213] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[198/213] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[199/213] Compiling SwiftSyntaxMacros PeerMacro.swift
[200/213] Emitting module SwiftSyntaxMacros
[201/213] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[202/213] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[203/214] Wrapping AST for SwiftSyntaxMacros for debugging
[205/222] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[206/222] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[207/222] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[208/222] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[209/222] Emitting module SwiftSyntaxMacroExpansion
[210/222] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[211/222] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[212/222] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[213/223] Wrapping AST for SwiftSyntaxMacroExpansion for debugging
[215/230] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[216/230] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[217/230] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[218/230] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[219/230] Compiling SwiftCompilerPluginMessageHandling Diagnostics.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 DiagnosticBuilder.swift
[229/241] Compiling DTOMacrosImpl SyntaxUtils.swift
[230/241] Compiling DTOMacrosImpl SyntaxNodeComparator.swift
[231/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 |
[232/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 {
[233/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)"
[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
[239/245] Compiling DTOMacro DTOMacro.swift
Swift/UnsafeRawPointer.swift:440: Fatal error: load from misaligned raw pointer
*** Signal 4: Backtracing from 0x7f1a35161be4... done ***
*** Program crashed: Illegal instruction at 0x00007f1a35161be4 ***
Thread 0 "DTOMacrosImpl-t" crashed:
0      0x00007f1a35161be4 closure #1 in closure #1 in closure #1 in _assertionFailure(_:_:file:line:flags:) + 308 in libswiftCore.so
1 [ra] 0x00007f1a35161992 closure #1 in closure #1 in _assertionFailure(_:_:file:line:flags:) + 257 in libswiftCore.so
2 [ra] 0x00007f1a3516184d closure #1 in _assertionFailure(_:_:file:line:flags:) + 380 in libswiftCore.so
3 [ra] 0x00007f1a352e4d46 _assertionFailure(_:_:file:line:flags:) + 229 in libswiftCore.so
4 [ra] 0x00007f1a352e4f9e _fatalErrorMessage(_:_:file:line:flags:) + 45 in libswiftCore.so
5 [ra] 0x00007f1a35366c00 UnsafeRawBufferPointer.load<A>(fromByteOffset:as:) + 191 in libswiftCore.so
6 [ra] 0x0000560ffee63e22 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] 0x00007f1a359a8faf 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 0x0000561563202fd1  94649857355729
rsi 0x0000000000000007  7
rdi 0x00005610021ee010  03 00 02 00 02 00 02 00 01 00 01 00 00 00 01 00  ················
rbp 0x00007ffcef02d5a0  e0 d5 02 ef fc 7f 00 00 92 19 16 35 1a 7f 00 00  àÕ·ïü······5····
rsp 0x00007ffcef02d590  20 00 00 00 00 00 00 00 b8 01 00 00 00 00 00 00   ·······¸·······
 r8 0x00005610022013a0  d1 2f 20 63 15 56 00 00 7f 4b 93 e3 09 73 9f a5  Ñ/ c·V···K·ã·s·¥
 r9 0x00007ffcef02d380  46 61 74 61 6c 20 65 72 72 6f 72 3a 20 6c 6f 61  Fatal error: loa
r10 0x0000000000000000  0
r11 0xa59f7309e3934b7f  11934384023865084799
r12 0x0000000000000000  0
r13 0x00007f1a355a4eb0  00 02 00 00 00 00 00 00 ac a8 5e 35 1a 7f 00 00  ········¬¨^5····
r14 0x0000000000000001  1
r15 0x0000000000000001  1
rip 0x00007f1a35161be4  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):
0x0000560ffed5c000–0x00005610009cbb88 <no build ID>                            DTOMacrosImpl-tool         /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/DTOMacrosImpl-tool
0x00007f1a35002000–0x00007f1a3559e708 dd45db60240a3fd046733822ab13a21f61a13763 libswiftCore.so            /usr/lib/swift/linux/libswiftCore.so
0x00007f1a35714000–0x00007f1a35b90390 <no build ID>                            libFoundationEssentials.so /usr/lib/swift/linux/libFoundationEssentials.so
Backtrace took 0.71s
/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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[240/245] Emitting module DTOMacro
Swift/UnsafeRawPointer.swift:440: Fatal error: load from misaligned raw pointer
*** Signal 4: Backtracing from 0x7f8aef075be4... done ***
*** Program crashed: Illegal instruction at 0x00007f8aef075be4 ***
Thread 0 "DTOMacrosImpl-t" crashed:
0      0x00007f8aef075be4 closure #1 in closure #1 in closure #1 in _assertionFailure(_:_:file:line:flags:) + 308 in libswiftCore.so
1 [ra] 0x00007f8aef075992 closure #1 in closure #1 in _assertionFailure(_:_:file:line:flags:) + 257 in libswiftCore.so
2 [ra] 0x00007f8aef07584d closure #1 in _assertionFailure(_:_:file:line:flags:) + 380 in libswiftCore.so
3 [ra] 0x00007f8aef1f8d46 _assertionFailure(_:_:file:line:flags:) + 229 in libswiftCore.so
4 [ra] 0x00007f8aef1f8f9e _fatalErrorMessage(_:_:file:line:flags:) + 45 in libswiftCore.so
5 [ra] 0x00007f8aef27ac00 UnsafeRawBufferPointer.load<A>(fromByteOffset:as:) + 191 in libswiftCore.so
6 [ra] 0x0000560040ec3e22 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] 0x00007f8aef8bcfaf 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 0x0000560522dc1054  94580059672660
rsi 0x0000000000000007  7
rdi 0x0000560042d71010  03 00 02 00 02 00 02 00 01 00 01 00 00 00 01 00  ················
rbp 0x00007ffc981a9c40  80 9c 1a 98 fc 7f 00 00 92 59 07 ef 8a 7f 00 00  ····ü····Y·ï····
rsp 0x00007ffc981a9c30  20 00 00 00 00 00 00 00 b8 01 00 00 00 00 00 00   ·······¸·······
 r8 0x0000560042d843a0  54 10 dc 22 05 56 00 00 22 a3 4f f0 3c 5f 45 35  T·Ü"·V··"£Oð<_E5
 r9 0x00007ffc981a9a20  46 61 74 61 6c 20 65 72 72 6f 72 3a 20 6c 6f 61  Fatal error: loa
r10 0x0000000000000000  0
r11 0x35455f3cf04fa322  3838578972737643298
r12 0x0000000000000000  0
r13 0x00007f8aef4b8eb0  00 02 00 00 00 00 00 00 ac e8 4f ef 8a 7f 00 00  ········¬èOï····
r14 0x0000000000000001  1
r15 0x0000000000000001  1
rip 0x00007f8aef075be4  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):
0x0000560040dbc000–0x0000560042a2bb88 <no build ID>                            DTOMacrosImpl-tool         /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/DTOMacrosImpl-tool
0x00007f8aeef16000–0x00007f8aef4b2708 dd45db60240a3fd046733822ab13a21f61a13763 libswiftCore.so            /usr/lib/swift/linux/libswiftCore.so
0x00007f8aef628000–0x00007f8aefaa4390 <no build ID>                            libFoundationEssentials.so /usr/lib/swift/linux/libFoundationEssentials.so
Backtrace took 0.71s
/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 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
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