Build Information
Failed to build DTOMacro, reference 0.0.0 (601a66
), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 11:19:10 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: 0.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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
Fetching https://github.com/apple/swift-syntax.git
[1/66399] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (3.43s)
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 (4.89s)
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.80s)
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 0.0.0 (601a662)
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
[15/23] Write DTOMacroClient-entitlement.plist
[17/23] Write swift-version--7754E27361AE5C74.txt
[19/75] Emitting module DTOTypes
[20/75] Compiling DTOTypes DecodableFromDTOProtocol.swift
[21/75] Compiling DTOTypes JSONDecoder+DecodableFromDTO.swift
[22/75] Compiling DTOTypes DecodableFromDTOProtocol.swift
[23/75] Compiling DTOTypes JSONDecoder+DecodableFromDTO.swift
[24/75] Emitting module DTOTypes
[25/75] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[26/75] Compiling SwiftSyntax SyntaxBaseNodes.swift
[27/75] Compiling SwiftSyntax SyntaxCollections.swift
[28/75] Compiling SwiftSyntax SyntaxEnum.swift
[29/75] Compiling SwiftSyntax SyntaxKind.swift
[30/80] Emitting module SwiftSyntax
[31/80] Compiling SwiftSyntax SyntaxText.swift
[32/80] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[33/80] Compiling SwiftSyntax TokenDiagnostic.swift
[34/80] Compiling SwiftSyntax TokenSyntax.swift
[35/80] Compiling SwiftSyntax Trivia.swift
[36/80] Compiling SwiftSyntax AbsolutePosition.swift
[37/80] Compiling SwiftSyntax Assert.swift
[38/80] Compiling SwiftSyntax BumpPtrAllocator.swift
[39/80] Compiling SwiftSyntax CommonAncestor.swift
[40/80] Compiling SwiftSyntax Convenience.swift
[41/80] Compiling SwiftSyntax Syntax.swift
[42/80] Compiling SwiftSyntax SyntaxArena.swift
[43/80] Compiling SwiftSyntax SyntaxChildren.swift
[44/80] Compiling SwiftSyntax SyntaxCollection.swift
[45/80] Compiling SwiftSyntax SyntaxData.swift
[46/80] Compiling SwiftSyntax MemoryLayout.swift
[47/80] Compiling SwiftSyntax MissingNodeInitializers.swift
[48/80] Compiling SwiftSyntax RawSyntax.swift
[49/80] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[50/80] Compiling SwiftSyntax RawSyntaxNodeProtocol.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 SyntaxRewriter.swift
[57/80] Compiling SwiftSyntax SyntaxTraits.swift
[58/80] Compiling SwiftSyntax SyntaxTransform.swift
[59/80] Compiling SwiftSyntax SyntaxVisitor.swift
[60/80] Compiling SwiftSyntax TokenKind.swift
[61/80] Compiling SwiftSyntax Utils.swift
[62/80] Compiling SwiftSyntax ChildNameForKeyPath.swift
[63/80] Compiling SwiftSyntax Keyword.swift
[64/80] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[65/80] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[66/80] Compiling SwiftSyntax RawSyntaxTokenView.swift
[67/80] Compiling SwiftSyntax SourceLength.swift
[68/80] Compiling SwiftSyntax SourceLocation.swift
[69/80] Compiling SwiftSyntax SourcePresence.swift
[70/80] Compiling SwiftSyntax SwiftSyntaxCompatibility.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] Emitting module SwiftDiagnostics
[78/131] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[79/131] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[80/131] Compiling SwiftDiagnostics Message.swift
[81/131] Compiling SwiftDiagnostics FixIt.swift
[82/131] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[83/131] Compiling SwiftDiagnostics Diagnostic.swift
[84/131] Compiling SwiftDiagnostics Convenience.swift
[85/131] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[86/131] Compiling SwiftParser SyntaxUtils.swift
[87/131] Compiling SwiftParser TokenConsumer.swift
[88/131] Compiling SwiftParser TokenPrecedence.swift
[89/131] Compiling SwiftParser TokenSpec.swift
[90/135] Compiling SwiftBasicFormat Syntax+Extensions.swift
[91/135] Emitting module SwiftBasicFormat
[92/135] Compiling SwiftBasicFormat BasicFormat.swift
[93/135] Compiling SwiftParser Statements.swift
[94/135] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[95/135] Compiling SwiftParser StringLiterals.swift
[96/135] Compiling SwiftParser SwiftParserCompatibility.swift
[97/135] Compiling SwiftParser Names.swift
[98/135] Compiling SwiftParser Nominals.swift
[99/135] Compiling SwiftParser Parameters.swift
[100/135] Compiling SwiftParser ParseSourceFile.swift
[101/135] Compiling SwiftParser Parser.swift
[102/135] Compiling SwiftParser Patterns.swift
[103/135] Compiling SwiftParser Recovery.swift
[104/135] Compiling SwiftParser Specifiers.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 Lexeme.swift
[110/135] Compiling SwiftParser LexemeSequence.swift
[111/135] Compiling SwiftParser Lexer.swift
[112/135] Compiling SwiftParser RegexLiteralLexer.swift
[113/135] Compiling SwiftParser Attributes.swift
[114/135] Compiling SwiftParser Availability.swift
[115/135] Compiling SwiftParser CharacterInfo.swift
[116/135] Compiling SwiftParser CollectionNodes+Parsable.swift
[117/135] Compiling SwiftParser Declarations.swift
[118/135] Emitting module SwiftParser
[119/135] Compiling SwiftParser IsLexerClassified.swift
[120/135] Compiling SwiftParser LayoutNodes+Parsable.swift
[121/135] Compiling SwiftParser Parser+TokenSpecSet.swift
[122/135] Compiling SwiftParser TokenSpecStaticMembers.swift
[123/135] Compiling SwiftParser UnicodeScalarExtensions.swift
[124/135] Compiling SwiftParser Lookahead.swift
[125/135] Compiling SwiftParser LoopProgressCondition.swift
[126/135] Compiling SwiftParser Modifiers.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 SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[132/159] Compiling SwiftParserDiagnostics Utils.swift
[133/159] Compiling SwiftOperators OperatorTable.swift
[134/160] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[135/160] Compiling SwiftOperators PrecedenceGroup.swift
[136/160] Compiling SwiftOperators PrecedenceGraph.swift
[137/160] Compiling SwiftOperators SyntaxSynthesis.swift
[138/160] Compiling SwiftOperators OperatorTable+Semantics.swift
[139/160] Compiling SwiftOperators OperatorTable+Defaults.swift
[140/160] Compiling SwiftOperators OperatorTable+Folding.swift
[141/160] Compiling SwiftOperators OperatorError.swift
[142/160] Compiling SwiftOperators Operator.swift
[143/160] Compiling SwiftOperators OperatorError+Diagnostics.swift
[144/160] Emitting module SwiftOperators
[145/160] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[146/160] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[147/160] Compiling SwiftParserDiagnostics PresenceUtils.swift
[148/160] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[149/160] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[150/160] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[151/160] Compiling SwiftParserDiagnostics MissingNodesError.swift
[152/160] Compiling SwiftParserDiagnostics MissingTokenError.swift
[153/160] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[154/160] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[155/160] Emitting module SwiftParserDiagnostics
[156/174] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[157/175] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[158/175] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[159/175] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[160/175] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[161/175] Compiling SwiftSyntaxBuilder BuildableCollectionNodes.swift
[162/175] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[163/175] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[164/175] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[165/175] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[166/175] Compiling SwiftSyntaxBuilder Indenter.swift
[167/175] Emitting module SwiftSyntaxBuilder
[168/175] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[169/175] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[170/175] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[171/189] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[172/189] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[173/190] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[174/190] Compiling SwiftSyntaxMacros MemberMacro.swift
[175/190] Compiling SwiftSyntaxMacros Macro+Format.swift
[176/190] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[177/190] Compiling SwiftSyntaxMacros Macro.swift
[178/190] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[179/190] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[180/190] Emitting module SwiftSyntaxMacros
[181/190] Compiling SwiftSyntaxMacros AccessorMacro.swift
[182/190] Compiling SwiftSyntaxMacros AttachedMacro.swift
[183/190] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[184/190] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[185/190] Compiling SwiftSyntaxMacros PeerMacro.swift
[186/198] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[187/198] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[188/198] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[189/198] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[190/198] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[191/198] Emitting module SwiftSyntaxMacroExpansion
[192/198] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[193/198] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[194/205] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[195/205] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[196/205] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[197/205] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[198/205] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[199/205] Emitting module SwiftCompilerPluginMessageHandling
[200/205] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[201/207] Emitting module SwiftCompilerPlugin
[202/207] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[203/214] Compiling DTOMacrosImpl SyntaxUtils.swift
[204/214] Compiling DTOMacrosImpl SyntaxNodeComparator.swift
[205/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)"
[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 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)"
[208/214] Compiling DTOMacrosImpl DiagnosticBuilder.swift
[209/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 {
[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