Build Information
Failed to build Makros with Swift 6.0 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Sajjon/Makros.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Sajjon/Makros
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 1458899 WIP
Cloned https://github.com/Sajjon/Makros.git
Revision (git rev-parse @):
14588993d1819980900b12fe7ad3dd36540f6a46
SUCCESS checkout https://github.com/Sajjon/Makros.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/Sajjon/Makros.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/21] Write sources
[11/21] Write Makros-entitlement.plist
[15/21] Write swift-version-6F35C1178C84523A.txt
[17/65] Compiling SwiftSyntax RawSyntaxTokenView.swift
[18/65] Compiling SwiftSyntax SourceLength.swift
[19/65] Compiling SwiftSyntax SourceLocation.swift
[20/65] Compiling SwiftSyntax SourcePresence.swift
[21/65] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[22/69] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[23/69] Compiling SwiftSyntax TokenDiagnostic.swift
[24/69] Compiling SwiftSyntax TokenSyntax.swift
[25/69] Compiling SwiftSyntax Trivia.swift
[26/69] Compiling SwiftSyntax Utils.swift
[27/69] Compiling SwiftSyntax AbsolutePosition.swift
[28/69] Compiling SwiftSyntax Assert.swift
[29/69] Compiling SwiftSyntax BumpPtrAllocator.swift
[30/69] Compiling SwiftSyntax CommonAncestor.swift
[31/69] Compiling SwiftSyntax IncrementalParseTransition.swift
[32/69] Compiling SwiftSyntax SyntaxEnum.swift
[33/69] Compiling SwiftSyntax SyntaxKind.swift
[34/69] Compiling SwiftSyntax SyntaxRewriter.swift
[35/69] Compiling SwiftSyntax SyntaxTraits.swift
[36/69] Compiling SwiftSyntax SyntaxTransform.swift
[37/69] Emitting module SwiftSyntax
[38/69] Compiling SwiftSyntax MemoryLayout.swift
[39/69] Compiling SwiftSyntax MissingNodeInitializers.swift
[40/69] Compiling SwiftSyntax RawSyntax.swift
[41/69] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[42/69] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[43/69] Compiling SwiftSyntax SyntaxVisitor.swift
[44/69] Compiling SwiftSyntax TokenKind.swift
[45/69] Compiling SwiftSyntax Tokens.swift
[46/69] Compiling SwiftSyntax TriviaPieces.swift
[47/69] Compiling SwiftSyntax ChildNameForKeyPath.swift
[48/69] Compiling SwiftSyntax Keyword.swift
[49/69] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[50/69] Compiling SwiftSyntax SyntaxBaseNodes.swift
[51/69] Compiling SwiftSyntax SyntaxCollections.swift
[52/69] Compiling SwiftSyntax SyntaxNodes.swift
[53/69] Compiling SwiftSyntax SyntaxPatternNodes.swift
[54/69] Compiling SwiftSyntax SyntaxStmtNodes.swift
[55/69] Compiling SwiftSyntax SyntaxTypeNodes.swift
[56/69] Compiling SwiftSyntax RawSyntaxNodes.swift
[57/69] Compiling SwiftSyntax RawSyntaxValidation.swift
[58/69] Compiling SwiftSyntax SyntaxDeclNodes.swift
[59/69] Compiling SwiftSyntax SyntaxExprNodes.swift
[60/69] Compiling SwiftSyntax Syntax.swift
[61/69] Compiling SwiftSyntax SyntaxArena.swift
[62/69] Compiling SwiftSyntax SyntaxChildren.swift
[63/69] Compiling SwiftSyntax SyntaxData.swift
[64/69] Compiling SwiftSyntax SyntaxText.swift
[65/115] Compiling SwiftDiagnostics Note.swift
[66/115] Compiling SwiftBasicFormat BasicFormat+Extensions.swift
[67/115] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[68/115] Compiling SwiftDiagnostics FixIt.swift
[69/115] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[70/115] Compiling SwiftDiagnostics Message.swift
[71/115] Compiling SwiftDiagnostics Diagnostic.swift
[72/115] Emitting module SwiftDiagnostics
[73/115] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[74/115] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[75/115] Compiling SwiftBasicFormat BasicFormat.swift
[76/115] Emitting module SwiftBasicFormat
[77/115] Compiling SwiftParser Lookahead.swift
[78/115] Compiling SwiftParser LoopProgressCondition.swift
[79/115] Compiling SwiftParser Modifiers.swift
[80/115] Compiling SwiftParser Names.swift
[81/118] Compiling SwiftParser LexemeSequence.swift
[82/118] Compiling SwiftParser Lexer.swift
[83/118] Compiling SwiftParser RegexLiteralLexer.swift
[84/118] Compiling SwiftParser UnicodeScalarExtensions.swift
[85/118] Compiling SwiftParser StringLiterals.swift
[86/118] Compiling SwiftParser SyntaxUtils.swift
[87/118] Compiling SwiftParser TokenConsumer.swift
[88/118] Compiling SwiftParser TokenPrecedence.swift
[89/118] Compiling SwiftParser TokenSpec.swift
[90/118] Compiling SwiftParser TokenSpecSet.swift
[91/118] Compiling SwiftParser IsLexerClassified.swift
[92/118] Compiling SwiftParser Parser+Entry.swift
[93/118] Compiling SwiftParser TokenSpecStaticMembers.swift
[94/118] Compiling SwiftParser Nominals.swift
[95/118] Compiling SwiftParser Parameters.swift
[96/118] Compiling SwiftParser Parser.swift
[97/118] Compiling SwiftParser Patterns.swift
[98/118] Compiling SwiftParser TopLevel.swift
[99/118] Compiling SwiftParser TriviaParser.swift
[100/118] Compiling SwiftParser Types.swift
[101/118] Compiling SwiftParser Recovery.swift
[102/118] Compiling SwiftParser Specifiers.swift
[103/118] Compiling SwiftParser Statements.swift
[104/118] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[105/118] Compiling SwiftParser Attributes.swift
[106/118] Compiling SwiftParser Availability.swift
[107/118] Compiling SwiftParser CharacterInfo.swift
[108/118] Compiling SwiftParser Declarations.swift
[109/118] Emitting module SwiftParser
[110/118] Compiling SwiftParser Directives.swift
[111/118] Compiling SwiftParser Expressions.swift
[112/118] Compiling SwiftParser Cursor.swift
[113/118] Compiling SwiftParser Lexeme.swift
[114/141] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[115/142] Compiling SwiftOperators PrecedenceGroup.swift
[116/143] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[117/143] Compiling SwiftOperators PrecedenceGraph.swift
[118/143] Compiling SwiftOperators SyntaxSynthesis.swift
[119/143] Compiling SwiftOperators OperatorTable+Defaults.swift
[120/143] Compiling SwiftOperators OperatorError.swift
[121/143] Compiling SwiftOperators OperatorTable.swift
[122/143] Compiling SwiftOperators OperatorTable+Folding.swift
[123/143] Compiling SwiftOperators OperatorTable+Semantics.swift
[124/143] Compiling SwiftOperators OperatorError+Diagnostics.swift
[125/143] Compiling SwiftOperators Operator.swift
[126/143] Emitting module SwiftOperators
[127/143] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[128/143] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[129/143] Compiling SwiftParserDiagnostics MissingNodesError.swift
[130/143] Compiling SwiftParserDiagnostics MissingTokenError.swift
[131/143] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[132/143] Emitting module SwiftParserDiagnostics
[133/143] Compiling SwiftParserDiagnostics PresenceUtils.swift
[134/143] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[135/143] Compiling SwiftParserDiagnostics Utils.swift
[136/143] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[137/143] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[138/143] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[139/155] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[140/155] Compiling SwiftSyntaxBuilder BuildableCollectionNodes.swift
[141/155] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[142/155] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[143/155] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[144/155] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[145/155] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[146/155] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[147/155] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[148/155] Compiling SwiftSyntaxBuilder Indenter.swift
[149/155] Emitting module SwiftSyntaxBuilder
[150/155] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[151/156] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[152/175] Compiling SwiftSyntaxMacros MemberMacro.swift
[153/175] Compiling SwiftSyntaxMacros PeerMacro.swift
[154/176] Compiling SwiftSyntaxMacros Syntax+MacroEvaluation.swift
[155/176] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[156/176] Compiling SwiftSyntaxMacros ConformanceMacro.swift
[157/176] Compiling SwiftSyntaxMacros Macro.swift
[158/176] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[159/176] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[160/176] Compiling SwiftSyntaxMacros Macro+Format.swift
[161/176] Compiling SwiftSyntaxMacros FunctionParameterUtils.swift
[162/176] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[163/176] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[164/176] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[165/176] Emitting module SwiftSyntaxMacros
[166/176] Compiling SwiftSyntaxMacros AccessorMacro.swift
[167/176] Compiling SwiftSyntaxMacros AttachedMacro.swift
[168/176] Compiling SwiftSyntaxMacros MacroReplacement.swift
[169/176] Compiling SwiftSyntaxMacros MacroSystem.swift
[170/176] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[171/176] Compiling SwiftSyntaxMacros BasicMacroExpansionContext.swift
[172/178] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[173/178] Emitting module SwiftSyntaxMacroExpansion
[174/184] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[175/184] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[176/184] Emitting module SwiftCompilerPluginMessageHandling
[177/184] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[178/184] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[179/184] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[180/186] Emitting module SwiftCompilerPlugin
[181/186] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[182/189] Compiling MakrosPlugin Plugin.swift
[183/189] Emitting module MakrosPlugin
/Users/admin/builder/spi-builder-workspace/Plugin/DataStorage.swift:217:13: warning: static property 'throws' is not concurrency-safe because non-'Sendable' type 'FunctionEffectSpecifiersSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
215 |
216 | extension FunctionEffectSpecifiersSyntax {
217 | static let `throws` = Self(throwsSpecifier: "throws")
| `- warning: static property 'throws' is not concurrency-safe because non-'Sendable' type 'FunctionEffectSpecifiersSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
218 | }
219 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/generated/syntaxNodes/SyntaxNodes.swift:8566:15: note: struct 'FunctionEffectSpecifiersSyntax' does not conform to the 'Sendable' protocol
8564 |
8565 |
8566 | public struct FunctionEffectSpecifiersSyntax: SyntaxProtocol, SyntaxHashable {
| `- note: struct 'FunctionEffectSpecifiersSyntax' does not conform to the 'Sendable' protocol
8567 | public let _syntaxNode: Syntax
8568 |
/Users/admin/builder/spi-builder-workspace/Plugin/DataStorage.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftSyntax'
1 | import SwiftSyntax
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftSyntax'
2 | import SwiftSyntaxBuilder
3 | import SwiftSyntaxMacros
:
215 |
216 | extension FunctionEffectSpecifiersSyntax {
217 | static let `throws` = Self(throwsSpecifier: "throws")
| |- note: annotate 'throws' 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
218 | }
219 |
/Users/admin/builder/spi-builder-workspace/Plugin/DataStorage.swift:220:1: warning: extension declares a conformance of imported type 'ParameterClauseSyntax' to imported protocol 'ExpressibleByArrayLiteral'; this will not behave correctly if the owners of 'SwiftSyntax' introduce this conformance in the future
218 | }
219 |
220 | extension ParameterClauseSyntax: ExpressibleByArrayLiteral {
| |- warning: extension declares a conformance of imported type 'ParameterClauseSyntax' to imported protocol 'ExpressibleByArrayLiteral'; this will not behave correctly if the owners of 'SwiftSyntax' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
221 | public init(arrayLiteral elements: FunctionParameterSyntax...) {
222 | self.init(parameterList: .init(elements))
/Users/admin/builder/spi-builder-workspace/Plugin/DataStorage.swift:226:1: warning: extension declares a conformance of imported type 'TypeInheritanceClauseSyntax' to imported protocol 'ExpressibleByArrayLiteral'; this will not behave correctly if the owners of 'SwiftSyntax' introduce this conformance in the future
224 | }
225 |
226 | extension TypeInheritanceClauseSyntax: ExpressibleByArrayLiteral {
| |- warning: extension declares a conformance of imported type 'TypeInheritanceClauseSyntax' to imported protocol 'ExpressibleByArrayLiteral'; this will not behave correctly if the owners of 'SwiftSyntax' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
227 | public init(arrayLiteral elements: String...) {
228 | self.init(inheritedTypeCollection: .init(elements.enumerated().map { (offset, element) in
[184/189] Compiling MakrosPlugin DataStorage.swift
/Users/admin/builder/spi-builder-workspace/Plugin/DataStorage.swift:217:13: warning: static property 'throws' is not concurrency-safe because non-'Sendable' type 'FunctionEffectSpecifiersSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
215 |
216 | extension FunctionEffectSpecifiersSyntax {
217 | static let `throws` = Self(throwsSpecifier: "throws")
| `- warning: static property 'throws' is not concurrency-safe because non-'Sendable' type 'FunctionEffectSpecifiersSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
218 | }
219 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/generated/syntaxNodes/SyntaxNodes.swift:8566:15: note: struct 'FunctionEffectSpecifiersSyntax' does not conform to the 'Sendable' protocol
8564 |
8565 |
8566 | public struct FunctionEffectSpecifiersSyntax: SyntaxProtocol, SyntaxHashable {
| `- note: struct 'FunctionEffectSpecifiersSyntax' does not conform to the 'Sendable' protocol
8567 | public let _syntaxNode: Syntax
8568 |
/Users/admin/builder/spi-builder-workspace/Plugin/DataStorage.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftSyntax'
1 | import SwiftSyntax
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftSyntax'
2 | import SwiftSyntaxBuilder
3 | import SwiftSyntaxMacros
:
215 |
216 | extension FunctionEffectSpecifiersSyntax {
217 | static let `throws` = Self(throwsSpecifier: "throws")
| |- note: annotate 'throws' 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
218 | }
219 |
/Users/admin/builder/spi-builder-workspace/Plugin/DataStorage.swift:220:1: warning: extension declares a conformance of imported type 'ParameterClauseSyntax' to imported protocol 'ExpressibleByArrayLiteral'; this will not behave correctly if the owners of 'SwiftSyntax' introduce this conformance in the future
218 | }
219 |
220 | extension ParameterClauseSyntax: ExpressibleByArrayLiteral {
| |- warning: extension declares a conformance of imported type 'ParameterClauseSyntax' to imported protocol 'ExpressibleByArrayLiteral'; this will not behave correctly if the owners of 'SwiftSyntax' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
221 | public init(arrayLiteral elements: FunctionParameterSyntax...) {
222 | self.init(parameterList: .init(elements))
/Users/admin/builder/spi-builder-workspace/Plugin/DataStorage.swift:226:1: warning: extension declares a conformance of imported type 'TypeInheritanceClauseSyntax' to imported protocol 'ExpressibleByArrayLiteral'; this will not behave correctly if the owners of 'SwiftSyntax' introduce this conformance in the future
224 | }
225 |
226 | extension TypeInheritanceClauseSyntax: ExpressibleByArrayLiteral {
| |- warning: extension declares a conformance of imported type 'TypeInheritanceClauseSyntax' to imported protocol 'ExpressibleByArrayLiteral'; this will not behave correctly if the owners of 'SwiftSyntax' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
227 | public init(arrayLiteral elements: String...) {
228 | self.init(inheritedTypeCollection: .init(elements.enumerated().map { (offset, element) in
[184/189] Write Objects.LinkFileList
[185/189] Linking MakrosPlugin
error: emit-module command failed with exit code 1 (use -v to see invocation)
[187/191] Emitting module MakrosLib
/Users/admin/builder/spi-builder-workspace/Lib/MakrosLib.swift:5:2: error: conformance macros are replaced by extension macros
3 |
4 | @attached(member, names: named(init(data:)), arbitrary)
5 | @attached(conformance)
| `- error: conformance macros are replaced by extension macros
6 | public macro DataStorage(
7 | named: String = DataStorageMacro.defaultStorageName,
[188/191] Compiling MakrosLib MakrosLib.swift
/Users/admin/builder/spi-builder-workspace/Lib/MakrosLib.swift:5:2: error: conformance macros are replaced by extension macros
3 |
4 | @attached(member, names: named(init(data:)), arbitrary)
5 | @attached(conformance)
| `- error: conformance macros are replaced by extension macros
6 | public macro DataStorage(
7 | named: String = DataStorageMacro.defaultStorageName,
Fetching https://github.com/apple/swift-syntax.git
[1/60887] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (3.75s)
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at main (4d8981f)
BUILD FAILURE 6.0 macosSpm