Build Information
Failed to build Makros, reference main (145889
), with Swift 6.2 (beta) for Linux on 20 Jun 2025 06:25:52 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.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Sajjon/Makros.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/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: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/Sajjon/Makros.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.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/apple/swift-syntax.git
[1/70906] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (5.55s)
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at main (e8c3dcf)
Building for debugging...
[0/46] Write sources
[20/46] Compiling _SwiftSyntaxCShims PlatformMutex.c
[20/46] Write swift-version-24593BA9C3E375BF.txt
[23/58] Emitting module SwiftSyntax509
[24/58] Emitting module SwiftSyntax600
[25/58] Emitting module SwiftSyntax602
[26/58] Compiling SwiftSyntax602 Empty.swift
[27/59] Compiling SwiftSyntax603 Empty.swift
[28/59] Emitting module SwiftSyntax603
[29/60] Emitting module SwiftSyntax601
[30/60] Compiling SwiftSyntax601 Empty.swift
[34/61] Compiling SwiftSyntax509 Empty.swift
[35/61] Emitting module SwiftSyntax510
[36/61] Compiling SwiftSyntax510 Empty.swift
[37/63] Compiling SwiftSyntax600 Empty.swift
[38/64] Wrapping AST for SwiftSyntax602 for debugging
[41/64] Wrapping AST for SwiftSyntax603 for debugging
[42/64] Wrapping AST for SwiftSyntax601 for debugging
[43/64] Wrapping AST for SwiftSyntax509 for debugging
[44/64] Wrapping AST for SwiftSyntax510 for debugging
[45/64] Wrapping AST for SwiftSyntax600 for debugging
[47/127] Emitting module SwiftSyntax
[48/135] Compiling SwiftSyntax SyntaxRewriter.swift
[49/135] Compiling SwiftSyntax SyntaxTraits.swift
[50/135] Compiling SwiftSyntax SyntaxVisitor.swift
[51/135] Compiling SwiftSyntax TokenKind.swift
[52/135] Compiling SwiftSyntax Tokens.swift
[53/135] Compiling SwiftSyntax TriviaPieces.swift
[54/135] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[55/135] Compiling SwiftSyntax RawSyntaxNodesC.swift
[56/135] Compiling SwiftSyntax RawSyntaxNodesD.swift
[57/135] Compiling SwiftSyntax SyntaxNodeStructure.swift
[58/135] Compiling SwiftSyntax SyntaxProtocol.swift
[59/135] Compiling SwiftSyntax SyntaxText.swift
[60/135] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[61/135] Compiling SwiftSyntax TokenDiagnostic.swift
[62/135] Compiling SwiftSyntax TokenSequence.swift
[63/135] Compiling SwiftSyntax TokenSyntax.swift
[64/135] Compiling SwiftSyntax Trivia.swift
[65/135] Compiling SwiftSyntax Utils.swift
[66/135] Compiling SwiftSyntax SourceLength.swift
[67/135] Compiling SwiftSyntax SourceLocation.swift
[68/135] Compiling SwiftSyntax SourcePresence.swift
[69/135] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[70/135] Compiling SwiftSyntax Syntax.swift
[71/135] Compiling SwiftSyntax SyntaxChildren.swift
[72/135] Compiling SwiftSyntax SyntaxCollection.swift
[73/135] Compiling SwiftSyntax SyntaxHashable.swift
[74/135] Compiling SwiftSyntax SyntaxIdentifier.swift
[75/135] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[76/135] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[77/135] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[78/135] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[79/135] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[80/135] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[81/135] Compiling SwiftSyntax RawSyntaxValidation.swift
[82/135] Compiling SwiftSyntax SyntaxNodesAB.swift
[83/135] Compiling SwiftSyntax Identifier.swift
[84/135] Compiling SwiftSyntax MemoryLayout.swift
[85/135] Compiling SwiftSyntax MissingNodeInitializers.swift
[86/135] Compiling SwiftSyntax RawSyntax.swift
[87/135] Compiling SwiftSyntax RawSyntaxArena.swift
[88/135] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[89/135] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[90/135] Compiling SwiftSyntax RawSyntaxTokenView.swift
[91/135] Compiling SwiftSyntax SourceEdit.swift
[92/135] Compiling SwiftSyntax AbsolutePosition.swift
[93/135] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[94/135] Compiling SwiftSyntax ArenaAllocatedBuffer.swift
[95/135] Compiling SwiftSyntax Assert.swift
[96/135] Compiling SwiftSyntax BumpPtrAllocator.swift
[97/135] Compiling SwiftSyntax CommonAncestor.swift
[98/135] Compiling SwiftSyntax Convenience.swift
[99/135] Compiling SwiftSyntax CustomTraits.swift
[100/135] Compiling SwiftSyntax EditorPlaceholder.swift
[101/135] Compiling SwiftSyntax ChildNameForKeyPath.swift
[102/135] Compiling SwiftSyntax Keyword.swift
[103/135] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[104/135] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[105/135] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[106/135] Compiling SwiftSyntax SyntaxBaseNodes.swift
[107/135] Compiling SwiftSyntax SyntaxCollections.swift
[108/135] Compiling SwiftSyntax SyntaxEnum.swift
[109/135] Compiling SwiftSyntax SyntaxKind.swift
[110/135] Compiling SwiftSyntax SyntaxNodesC.swift
[111/135] Compiling SwiftSyntax SyntaxNodesD.swift
[112/135] Compiling SwiftSyntax SyntaxNodesEF.swift
[113/135] Compiling SwiftSyntax SyntaxNodesGHI.swift
[114/135] Compiling SwiftSyntax SyntaxNodesJKLMN.swift
[115/135] Compiling SwiftSyntax SyntaxNodesOP.swift
[116/135] Compiling SwiftSyntax SyntaxNodesQRS.swift
[117/135] Compiling SwiftSyntax SyntaxNodesTUVWXYZ.swift
[118/141] Wrapping AST for SwiftSyntax for debugging
[120/195] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[121/195] Compiling SwiftDiagnostics Message.swift
[122/196] Compiling SwiftBasicFormat Syntax+Extensions.swift
[123/196] Emitting module SwiftDiagnostics
[124/196] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[125/196] Compiling SwiftDiagnostics Note.swift
[126/196] Compiling SwiftBasicFormat InferIndentation.swift
[127/196] Compiling SwiftDiagnostics FixIt.swift
[128/196] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[129/196] Compiling SwiftBasicFormat Indenter.swift
[130/196] Compiling SwiftDiagnostics DiagnosticDecorator.swift
[131/196] Compiling SwiftParser Lexer.swift
[132/196] Compiling SwiftParser RegexLiteralLexer.swift
[133/196] Compiling SwiftParser Lexeme.swift
[134/196] Compiling SwiftParser LexemeSequence.swift
[135/196] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[137/197] Compiling SwiftBasicFormat BasicFormat.swift
[138/197] Emitting module SwiftBasicFormat
[139/198] Wrapping AST for SwiftDiagnostics for debugging
[140/198] Wrapping AST for SwiftBasicFormat for debugging
[146/198] Compiling SwiftParser UnicodeScalarExtensions.swift
[147/198] Compiling SwiftParser Lookahead.swift
[148/203] Compiling SwiftParser StringLiterals.swift
[149/203] Compiling SwiftParser SwiftParserCompatibility.swift
[150/203] Compiling SwiftParser SwiftVersion.swift
[151/203] Compiling SwiftParser SyntaxUtils.swift
[152/203] Compiling SwiftParser TokenConsumer.swift
[153/203] Compiling SwiftParser TokenPrecedence.swift
[154/203] Compiling SwiftParser TokenSpec.swift
[155/203] Compiling SwiftParser TokenSpecSet.swift
[156/203] Compiling SwiftParser TopLevel.swift
[157/203] Compiling SwiftParser TriviaParser.swift
[158/203] Compiling SwiftParser Types.swift
[159/203] Compiling SwiftParser LoopProgressCondition.swift
[160/203] Compiling SwiftParser Modifiers.swift
[161/203] Compiling SwiftParser Names.swift
[162/203] Compiling SwiftParser Nominals.swift
[163/203] Compiling SwiftParser Parameters.swift
[164/203] Compiling SwiftParser ParseSourceFile.swift
[165/203] Compiling SwiftParser Parser.swift
[166/203] Compiling SwiftParser Patterns.swift
[167/203] Compiling SwiftParser Recovery.swift
[168/203] Compiling SwiftParser Specifiers.swift
[169/203] Compiling SwiftParser Statements.swift
[170/203] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[171/203] Emitting module SwiftParser
[172/203] Compiling SwiftParser Attributes.swift
[173/203] Compiling SwiftParser Availability.swift
[174/203] Compiling SwiftParser CharacterInfo.swift
[175/203] Compiling SwiftParser CollectionNodes+Parsable.swift
[176/203] Compiling SwiftParser CompilerFiles.swift
[177/203] Compiling SwiftParser Declarations.swift
[178/203] Compiling SwiftParser Directives.swift
[179/203] Compiling SwiftParser ExpressionInterpretedAsVersionTuple.swift
[180/203] Compiling SwiftParser Expressions.swift
[181/203] Compiling SwiftParser IncrementalParseTransition.swift
[182/203] Compiling SwiftParser IsValidIdentifier.swift
[183/203] Compiling SwiftParser Cursor.swift
[184/203] Compiling SwiftParser ExperimentalFeatures.swift
[185/203] Compiling SwiftParser IsLexerClassified.swift
[186/203] Compiling SwiftParser LayoutNodes+Parsable.swift
[187/203] Compiling SwiftParser Parser+TokenSpecSet.swift
[188/203] Compiling SwiftParser TokenSpecStaticMembers.swift
[189/204] Wrapping AST for SwiftParser for debugging
[191/227] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[192/228] Compiling SwiftOperators PrecedenceGroup.swift
[193/229] Compiling SwiftOperators PrecedenceGraph.swift
[194/229] Compiling SwiftOperators OperatorError.swift
[195/229] Compiling SwiftOperators OperatorTable+Defaults.swift
[196/229] Compiling SwiftOperators Operator.swift
[197/229] Compiling SwiftOperators OperatorError+Diagnostics.swift
[198/229] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[199/229] Compiling SwiftOperators OperatorTable.swift
[200/229] Compiling SwiftOperators SyntaxSynthesis.swift
[201/229] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[202/229] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[203/229] Compiling SwiftParserDiagnostics Utils.swift
[204/229] Compiling SwiftOperators OperatorTable+Folding.swift
[205/229] Compiling SwiftOperators OperatorTable+Semantics.swift
[206/229] Emitting module SwiftOperators
[207/230] Wrapping AST for SwiftOperators for debugging
[211/230] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[212/230] Compiling SwiftParserDiagnostics PresenceUtils.swift
[213/230] Emitting module SwiftParserDiagnostics
[216/230] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[217/230] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[218/231] Wrapping AST for SwiftParserDiagnostics for debugging
[220/246] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[221/246] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[222/247] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[223/247] Emitting module SwiftSyntaxBuilder
[224/247] Compiling SwiftSyntaxBuilder Indenter.swift
[225/247] Compiling SwiftSyntaxBuilder ListBuilder.swift
[226/247] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[227/247] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[228/247] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[229/247] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[230/247] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[231/247] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[232/247] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[233/247] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[234/247] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[235/247] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[236/248] Wrapping AST for SwiftSyntaxBuilder for debugging
[238/265] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[239/265] Compiling SwiftSyntaxMacros Macro+Format.swift
[240/265] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[241/265] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[242/265] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[243/265] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[244/267] Compiling SwiftSyntaxMacros Macro.swift
[245/267] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[246/267] Compiling SwiftSyntaxMacros MemberMacro.swift
[247/267] Compiling SwiftSyntaxMacros PeerMacro.swift
[248/267] Compiling SwiftSyntaxMacros AccessorMacro.swift
[249/267] Compiling SwiftSyntaxMacros AttachedMacro.swift
[250/267] Compiling SwiftSyntaxMacros BodyMacro.swift
[251/267] Compiling SwiftSyntaxMacros PreambleMacro.swift
[252/267] Compiling SwiftSyntaxMacros Syntax+LexicalContext.swift
[253/267] Emitting module SwiftSyntaxMacros
[254/267] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[255/267] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[256/267] Compiling SwiftSyntaxMacros MacroExpansionDiagnosticMessages.swift
[257/268] Wrapping AST for SwiftSyntaxMacros for debugging
[259/277] Compiling SwiftSyntaxMacroExpansion MacroSpec.swift
[260/278] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[261/278] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[262/278] Emitting module SwiftSyntaxMacroExpansion
[263/278] Compiling SwiftSyntaxMacroExpansion MacroArgument.swift
[264/278] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[265/278] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[266/278] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[267/278] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[268/278] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[269/279] Wrapping AST for SwiftSyntaxMacroExpansion for debugging
[271/291] Compiling SwiftCompilerPluginMessageHandling LRUCache.swift
[272/291] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[273/292] Emitting module SwiftCompilerPluginMessageHandling
[274/292] Compiling SwiftCompilerPluginMessageHandling StandardIOMessageConnection.swift
[275/292] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[276/292] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[277/292] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[278/292] Compiling SwiftCompilerPluginMessageHandling CodingUtilities.swift
[279/292] Compiling SwiftCompilerPluginMessageHandling JSON.swift
[280/292] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[281/292] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[282/292] Compiling SwiftCompilerPluginMessageHandling JSONDecoding.swift
[283/292] Compiling SwiftCompilerPluginMessageHandling JSONEncoding.swift
[284/293] Wrapping AST for SwiftCompilerPluginMessageHandling for debugging
[286/295] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[287/295] Emitting module SwiftCompilerPlugin
[288/296] Wrapping AST for SwiftCompilerPlugin for debugging
[290/299] Compiling MakrosPlugin Plugin.swift
/host/spi-builder-workspace/Plugin/DataStorage.swift:7:46: error: cannot find type 'ConformanceMacro' in scope
5 | import Foundation
6 |
7 | public struct DataStorageMacro: MemberMacro, ConformanceMacro {
| `- error: cannot find type 'ConformanceMacro' in scope
8 | public static let defaultStorageName = "data"
9 | private static let macroArgumentStorageName = "named"
error: emit-module command failed with exit code 1 (use -v to see invocation)
[291/299] Emitting module MakrosPlugin
/host/spi-builder-workspace/Plugin/DataStorage.swift:7:46: error: cannot find type 'ConformanceMacro' in scope
5 | import Foundation
6 |
7 | public struct DataStorageMacro: MemberMacro, ConformanceMacro {
| `- error: cannot find type 'ConformanceMacro' in scope
8 | public static let defaultStorageName = "data"
9 | private static let macroArgumentStorageName = "named"
/host/spi-builder-workspace/Plugin/DataStorage.swift:7:15: warning: deprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter [#DeprecatedDeclaration]
5 | import Foundation
6 |
7 | public struct DataStorageMacro: MemberMacro, ConformanceMacro {
| `- warning: deprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter [#DeprecatedDeclaration]
8 | public static let defaultStorageName = "data"
9 | private static let macroArgumentStorageName = "named"
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntaxMacros/MacroProtocols/MemberMacro.swift:89:22: note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
53 | /// - Returns: the set of member declarations introduced by this macro, which
54 | /// are nested inside the `attachedTo` declaration.
55 | static func expansion(
| `- note: requirement 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
56 | of node: AttributeSyntax,
57 | providingMembersOf declaration: some DeclGroupSyntax,
:
87 | message: "`MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter"
88 | )
89 | public static func expansion(
| `- note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
90 | of node: AttributeSyntax,
91 | providingMembersOf declaration: some DeclGroupSyntax,
/host/spi-builder-workspace/Plugin/DataStorage.swift:217:24: warning: 'init(leadingTrivia:_:asyncSpecifier:_:throwsSpecifier:_:trailingTrivia:)' is deprecated: use throwsClause instead of throwsSpecifier [#DeprecatedDeclaration]
215 |
216 | extension FunctionEffectSpecifiersSyntax {
217 | static let `throws` = Self(throwsSpecifier: "throws")
| `- warning: 'init(leadingTrivia:_:asyncSpecifier:_:throwsSpecifier:_:trailingTrivia:)' is deprecated: use throwsClause instead of throwsSpecifier [#DeprecatedDeclaration]
218 | }
219 |
/host/spi-builder-workspace/Plugin/DataStorage.swift:220:1: warning: extension declares a conformance of imported type 'FunctionParameterClauseSyntax' 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 'FunctionParameterClauseSyntax' 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))
/host/spi-builder-workspace/Plugin/DataStorage.swift:220:11: warning: 'ParameterClauseSyntax' is deprecated: renamed to 'FunctionParameterClauseSyntax' [#DeprecatedDeclaration]
218 | }
219 |
220 | extension ParameterClauseSyntax: ExpressibleByArrayLiteral {
| |- warning: 'ParameterClauseSyntax' is deprecated: renamed to 'FunctionParameterClauseSyntax' [#DeprecatedDeclaration]
| `- note: use 'FunctionParameterClauseSyntax' instead
221 | public init(arrayLiteral elements: FunctionParameterSyntax...) {
222 | self.init(parameterList: .init(elements))
/host/spi-builder-workspace/Plugin/DataStorage.swift:226:1: warning: extension declares a conformance of imported type 'InheritanceClauseSyntax' 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 'InheritanceClauseSyntax' 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
/host/spi-builder-workspace/Plugin/DataStorage.swift:226:11: warning: 'TypeInheritanceClauseSyntax' is deprecated: renamed to 'InheritanceClauseSyntax' [#DeprecatedDeclaration]
224 | }
225 |
226 | extension TypeInheritanceClauseSyntax: ExpressibleByArrayLiteral {
| |- warning: 'TypeInheritanceClauseSyntax' is deprecated: renamed to 'InheritanceClauseSyntax' [#DeprecatedDeclaration]
| `- note: use 'InheritanceClauseSyntax' instead
227 | public init(arrayLiteral elements: String...) {
228 | self.init(inheritedTypeCollection: .init(elements.enumerated().map { (offset, element) in
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[292/299] Compiling MakrosPlugin DataStorage.swift
/host/spi-builder-workspace/Plugin/DataStorage.swift:7:46: error: cannot find type 'ConformanceMacro' in scope
5 | import Foundation
6 |
7 | public struct DataStorageMacro: MemberMacro, ConformanceMacro {
| `- error: cannot find type 'ConformanceMacro' in scope
8 | public static let defaultStorageName = "data"
9 | private static let macroArgumentStorageName = "named"
/host/spi-builder-workspace/Plugin/DataStorage.swift:7:15: warning: deprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter [#DeprecatedDeclaration]
5 | import Foundation
6 |
7 | public struct DataStorageMacro: MemberMacro, ConformanceMacro {
| `- warning: deprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter [#DeprecatedDeclaration]
8 | public static let defaultStorageName = "data"
9 | private static let macroArgumentStorageName = "named"
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntaxMacros/MacroProtocols/MemberMacro.swift:89:22: note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
53 | /// - Returns: the set of member declarations introduced by this macro, which
54 | /// are nested inside the `attachedTo` declaration.
55 | static func expansion(
| `- note: requirement 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
56 | of node: AttributeSyntax,
57 | providingMembersOf declaration: some DeclGroupSyntax,
:
87 | message: "`MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter"
88 | )
89 | public static func expansion(
| `- note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
90 | of node: AttributeSyntax,
91 | providingMembersOf declaration: some DeclGroupSyntax,
/host/spi-builder-workspace/Plugin/DataStorage.swift:217:24: warning: 'init(leadingTrivia:_:asyncSpecifier:_:throwsSpecifier:_:trailingTrivia:)' is deprecated: use throwsClause instead of throwsSpecifier [#DeprecatedDeclaration]
215 |
216 | extension FunctionEffectSpecifiersSyntax {
217 | static let `throws` = Self(throwsSpecifier: "throws")
| `- warning: 'init(leadingTrivia:_:asyncSpecifier:_:throwsSpecifier:_:trailingTrivia:)' is deprecated: use throwsClause instead of throwsSpecifier [#DeprecatedDeclaration]
218 | }
219 |
/host/spi-builder-workspace/Plugin/DataStorage.swift:220:1: warning: extension declares a conformance of imported type 'FunctionParameterClauseSyntax' 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 'FunctionParameterClauseSyntax' 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))
/host/spi-builder-workspace/Plugin/DataStorage.swift:220:11: warning: 'ParameterClauseSyntax' is deprecated: renamed to 'FunctionParameterClauseSyntax' [#DeprecatedDeclaration]
218 | }
219 |
220 | extension ParameterClauseSyntax: ExpressibleByArrayLiteral {
| |- warning: 'ParameterClauseSyntax' is deprecated: renamed to 'FunctionParameterClauseSyntax' [#DeprecatedDeclaration]
| `- note: use 'FunctionParameterClauseSyntax' instead
221 | public init(arrayLiteral elements: FunctionParameterSyntax...) {
222 | self.init(parameterList: .init(elements))
/host/spi-builder-workspace/Plugin/DataStorage.swift:226:1: warning: extension declares a conformance of imported type 'InheritanceClauseSyntax' 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 'InheritanceClauseSyntax' 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
/host/spi-builder-workspace/Plugin/DataStorage.swift:226:11: warning: 'TypeInheritanceClauseSyntax' is deprecated: renamed to 'InheritanceClauseSyntax' [#DeprecatedDeclaration]
224 | }
225 |
226 | extension TypeInheritanceClauseSyntax: ExpressibleByArrayLiteral {
| |- warning: 'TypeInheritanceClauseSyntax' is deprecated: renamed to 'InheritanceClauseSyntax' [#DeprecatedDeclaration]
| `- note: use 'InheritanceClauseSyntax' instead
227 | public init(arrayLiteral elements: String...) {
228 | self.init(inheritedTypeCollection: .init(elements.enumerated().map { (offset, element) in
/host/spi-builder-workspace/Plugin/DataStorage.swift:30:55: warning: 'inheritedTypeCollection' is deprecated: renamed to 'inheritedTypes' [#DeprecatedDeclaration]
28 | }
29 |
30 | let inheritedTypes = declaration.inheritanceClause?.inheritedTypeCollection ?? []
| |- warning: 'inheritedTypeCollection' is deprecated: renamed to 'inheritedTypes' [#DeprecatedDeclaration]
| `- note: use 'inheritedTypes' instead
31 |
32 | // If there is an explicit conformance to `DataProtocol` already, don't add conformance
/host/spi-builder-workspace/Plugin/DataStorage.swift:33:46: warning: 'typeName' is deprecated: renamed to 'type' [#DeprecatedDeclaration]
31 |
32 | // If there is an explicit conformance to `DataProtocol` already, don't add conformance
33 | guard !inheritedTypes.contains(where: { $0.typeName.trimmedDescription == "DataProtocol" }) else {
| |- warning: 'typeName' is deprecated: renamed to 'type' [#DeprecatedDeclaration]
| `- note: use 'type' instead
34 | return []
35 | }
/host/spi-builder-workspace/Plugin/DataStorage.swift:58:37: error: cannot use optional chaining on non-optional value of type 'DeclModifierListSyntax'
56 | return []
57 | }
58 | let access = declaration.modifiers?.first(where: \.isNeededAccessLevelModifier)
| `- error: cannot use optional chaining on non-optional value of type 'DeclModifierListSyntax'
59 |
60 | let storageName = {
/host/spi-builder-workspace/Plugin/DataStorage.swift:62:46: warning: 'argument' is deprecated: renamed to 'arguments' [#DeprecatedDeclaration]
60 | let storageName = {
61 | guard
62 | case let .argumentList(arguments) = node.argument,
| |- warning: 'argument' is deprecated: renamed to 'arguments' [#DeprecatedDeclaration]
| `- note: use 'arguments' instead
63 | let firstElement = arguments.first(where: { $0.label?.text == DataStorageMacro.macroArgumentStorageName }),
64 | let stringLiteral = firstElement.expression
/host/spi-builder-workspace/Plugin/DataStorage.swift:76:46: warning: 'argument' is deprecated: renamed to 'arguments' [#DeprecatedDeclaration]
74 | let byteCount: TokenSyntax? = {
75 | guard
76 | case let .argumentList(arguments) = node.argument,
| |- warning: 'argument' is deprecated: renamed to 'arguments' [#DeprecatedDeclaration]
| `- note: use 'arguments' instead
77 | let firstElement = arguments.first(where: { $0.label?.text == Self.macroArgumentByteCount }),
78 | let integerLiteral = firstElement.expression
/host/spi-builder-workspace/Plugin/DataStorage.swift:83:26: warning: 'digits' is deprecated: renamed to 'literal' [#DeprecatedDeclaration]
81 | return nil
82 | }
83 | return integerLiteral.digits
| |- warning: 'digits' is deprecated: renamed to 'literal' [#DeprecatedDeclaration]
| `- note: use 'literal' instead
84 | }()
85 |
/host/spi-builder-workspace/Plugin/DataStorage.swift:86:55: warning: 'inheritedTypeCollection' is deprecated: renamed to 'inheritedTypes' [#DeprecatedDeclaration]
84 | }()
85 |
86 | let inheritedTypes = declaration.inheritanceClause?.inheritedTypeCollection ?? []
| |- warning: 'inheritedTypeCollection' is deprecated: renamed to 'inheritedTypes' [#DeprecatedDeclaration]
| `- note: use 'inheritedTypes' instead
87 |
88 | let addDataProtocolSyntax = !inheritedTypes.contains(where: { $0.typeName.trimmedDescription == "DataProtocol" })
/host/spi-builder-workspace/Plugin/DataStorage.swift:88:68: warning: 'typeName' is deprecated: renamed to 'type' [#DeprecatedDeclaration]
86 | let inheritedTypes = declaration.inheritanceClause?.inheritedTypeCollection ?? []
87 |
88 | let addDataProtocolSyntax = !inheritedTypes.contains(where: { $0.typeName.trimmedDescription == "DataProtocol" })
| |- warning: 'typeName' is deprecated: renamed to 'type' [#DeprecatedDeclaration]
| `- note: use 'type' instead
89 |
90 |
/host/spi-builder-workspace/Plugin/DataStorage.swift:92:73: warning: 'identifier' is deprecated: renamed to 'name' [#DeprecatedDeclaration]
90 |
91 | let actualProp = "actual"
92 | let errorDescription = "Invalid byteCount, expected: \\(\(declaration.identifier.text).\(Self.macroArgumentByteCount)), but got: \\(\(actualProp))"
| |- warning: 'identifier' is deprecated: renamed to 'name' [#DeprecatedDeclaration]
| `- note: use 'name' instead
93 |
94 | let errorTypeName = "InvalidByteCountError"
/host/spi-builder-workspace/Plugin/DataStorage.swift:95:31: warning: 'init(leadingTrivia:unexpectedBeforeAttributes:attributes:unexpectedBetweenAttributesAndModifiers:modifiers:unexpectedBetweenModifiersAndStructKeyword:structKeyword:unexpectedBetweenStructKeywordAndIdentifier:identifier:unexpectedBetweenIdentifierAndGenericParameterClause:genericParameterClause:unexpectedBetweenGenericParameterClauseAndInheritanceClause:inheritanceClause:unexpectedBetweenInheritanceClauseAndGenericWhereClause:genericWhereClause:unexpectedBetweenGenericWhereClauseAndMemberBlock:unexpectedAfterMemberBlock:memberBlockBuilder:trailingTrivia:)' is deprecated: Use an initializer with name argument(s). [#DeprecatedDeclaration]
93 |
94 | let errorTypeName = "InvalidByteCountError"
95 | let invalidByteCountError = StructDeclSyntax(
| `- warning: 'init(leadingTrivia:unexpectedBeforeAttributes:attributes:unexpectedBetweenAttributesAndModifiers:modifiers:unexpectedBetweenModifiersAndStructKeyword:structKeyword:unexpectedBetweenStructKeywordAndIdentifier:identifier:unexpectedBetweenIdentifierAndGenericParameterClause:genericParameterClause:unexpectedBetweenGenericParameterClauseAndInheritanceClause:inheritanceClause:unexpectedBetweenInheritanceClauseAndGenericWhereClause:genericWhereClause:unexpectedBetweenGenericWhereClauseAndMemberBlock:unexpectedAfterMemberBlock:memberBlockBuilder:trailingTrivia:)' is deprecated: Use an initializer with name argument(s). [#DeprecatedDeclaration]
96 | identifier: .identifier(errorTypeName),
97 | inheritanceClause: ["Error", "CustomStringConvertible"]
/host/spi-builder-workspace/Plugin/DataStorage.swift:222:8: warning: 'init(leadingTrivia:_:leftParen:_:parameterList:_:rightParen:_:trailingTrivia:)' is deprecated: replaced by 'init(leadingTrivia:_:leftParen:_:parameters:_:rightParen:_:trailingTrivia:)' [#DeprecatedDeclaration]
220 | extension ParameterClauseSyntax: ExpressibleByArrayLiteral {
221 | public init(arrayLiteral elements: FunctionParameterSyntax...) {
222 | self.init(parameterList: .init(elements))
| |- warning: 'init(leadingTrivia:_:leftParen:_:parameterList:_:rightParen:_:trailingTrivia:)' is deprecated: replaced by 'init(leadingTrivia:_:leftParen:_:parameters:_:rightParen:_:trailingTrivia:)' [#DeprecatedDeclaration]
| `- note: use 'init(leadingTrivia:_:leftParen:_:parameters:_:rightParen:_:trailingTrivia:)' instead
223 | }
224 | }
/host/spi-builder-workspace/Plugin/DataStorage.swift:228:8: warning: 'init(leadingTrivia:_:colon:_:inheritedTypeCollection:_:trailingTrivia:)' is deprecated: replaced by 'init(leadingTrivia:_:colon:_:inheritedTypes:_:trailingTrivia:)' [#DeprecatedDeclaration]
226 | extension TypeInheritanceClauseSyntax: ExpressibleByArrayLiteral {
227 | public init(arrayLiteral elements: String...) {
228 | self.init(inheritedTypeCollection: .init(elements.enumerated().map { (offset, element) in
| |- warning: 'init(leadingTrivia:_:colon:_:inheritedTypeCollection:_:trailingTrivia:)' is deprecated: replaced by 'init(leadingTrivia:_:colon:_:inheritedTypes:_:trailingTrivia:)' [#DeprecatedDeclaration]
| `- note: use 'init(leadingTrivia:_:colon:_:inheritedTypes:_:trailingTrivia:)' instead
229 | .init(typeName: TypeSyntax(stringLiteral: element), trailingComma: (offset == elements.count - 1) ? nil : .commaToken())
230 | }))
/host/spi-builder-workspace/Plugin/DataStorage.swift:229:6: warning: 'init(leadingTrivia:_:typeName:_:trailingComma:_:trailingTrivia:)' is deprecated: replaced by 'init(leadingTrivia:_:type:_:trailingComma:_:trailingTrivia:)' [#DeprecatedDeclaration]
227 | public init(arrayLiteral elements: String...) {
228 | self.init(inheritedTypeCollection: .init(elements.enumerated().map { (offset, element) in
229 | .init(typeName: TypeSyntax(stringLiteral: element), trailingComma: (offset == elements.count - 1) ? nil : .commaToken())
| |- warning: 'init(leadingTrivia:_:typeName:_:trailingComma:_:trailingTrivia:)' is deprecated: replaced by 'init(leadingTrivia:_:type:_:trailingComma:_:trailingTrivia:)' [#DeprecatedDeclaration]
| `- note: use 'init(leadingTrivia:_:type:_:trailingComma:_:trailingTrivia:)' instead
230 | }))
231 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
BUILD FAILURE 6.2 linux