Build Information
Failed to build Makros, reference main (145889
), with Swift 6.0 for Linux on 3 Nov 2024 06:28:53 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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.56.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.0
Building package at path: $PWD
https://github.com/Sajjon/Makros.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
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/66399] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (4.04s)
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at main (79ac43c)
Building for debugging...
[0/40] Write sources
[17/40] Compiling _SwiftSyntaxCShims dummy.c
[18/40] Write swift-version-24593BA9C3E375BF.txt
[20/46] Emitting module SwiftSyntax510
[21/46] Compiling SwiftSyntax510 Empty.swift
[22/47] Emitting module SwiftSyntax600
[23/47] Compiling SwiftSyntax600 Empty.swift
[26/48] Compiling SwiftSyntax509 Empty.swift
[27/48] Emitting module SwiftSyntax509
[27/48] Wrapping AST for SwiftSyntax510 for debugging
[28/49] Wrapping AST for SwiftSyntax600 for debugging
[30/49] Wrapping AST for SwiftSyntax509 for debugging
[32/113] Compiling SwiftSyntax Identifier.swift
[33/113] Compiling SwiftSyntax MemoryLayout.swift
[34/113] Compiling SwiftSyntax MissingNodeInitializers.swift
[35/113] Compiling SwiftSyntax RawSyntax.swift
[36/113] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[37/113] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[38/113] Compiling SwiftSyntax RawSyntaxTokenView.swift
[39/113] Compiling SwiftSyntax SourceEdit.swift
[40/113] Compiling SwiftSyntax SourceLength.swift
[41/122] Compiling SwiftSyntax SyntaxIdentifier.swift
[42/122] Compiling SwiftSyntax SyntaxNodeFactory.swift
[43/122] Compiling SwiftSyntax SyntaxNodeStructure.swift
[44/122] Compiling SwiftSyntax SyntaxProtocol.swift
[45/122] Compiling SwiftSyntax SyntaxText.swift
[46/122] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[47/122] Compiling SwiftSyntax TokenDiagnostic.swift
[48/122] Compiling SwiftSyntax TokenSequence.swift
[49/122] Compiling SwiftSyntax TokenSyntax.swift
[50/122] Compiling SwiftSyntax SourceLocation.swift
[51/122] Compiling SwiftSyntax SourcePresence.swift
[52/122] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[53/122] Compiling SwiftSyntax Syntax.swift
[54/122] Compiling SwiftSyntax SyntaxArena.swift
[55/122] Compiling SwiftSyntax SyntaxArenaAllocatedBuffer.swift
[56/122] Compiling SwiftSyntax SyntaxChildren.swift
[57/122] Compiling SwiftSyntax SyntaxCollection.swift
[58/122] Compiling SwiftSyntax SyntaxHashable.swift
[59/122] Emitting module SwiftSyntax
[60/122] Compiling SwiftSyntax SyntaxEnum.swift
[61/122] Compiling SwiftSyntax SyntaxKind.swift
[62/122] Compiling SwiftSyntax SyntaxRewriter.swift
[63/122] Compiling SwiftSyntax SyntaxTraits.swift
[64/122] Compiling SwiftSyntax SyntaxVisitor.swift
[65/122] Compiling SwiftSyntax TokenKind.swift
[66/122] Compiling SwiftSyntax Tokens.swift
[67/122] Compiling SwiftSyntax TriviaPieces.swift
[68/122] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[69/122] Compiling SwiftSyntax RawSyntaxNodesC.swift
[70/122] Compiling SwiftSyntax RawSyntaxNodesD.swift
[71/122] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[72/122] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[73/122] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[74/122] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[75/122] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[76/122] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[77/122] Compiling SwiftSyntax RawSyntaxValidation.swift
[78/122] Compiling SwiftSyntax AbsolutePosition.swift
[79/122] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[80/122] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[81/122] Compiling SwiftSyntax Assert.swift
[82/122] Compiling SwiftSyntax BumpPtrAllocator.swift
[83/122] Compiling SwiftSyntax CommonAncestor.swift
[84/122] Compiling SwiftSyntax Convenience.swift
[85/122] Compiling SwiftSyntax CustomTraits.swift
[86/122] Compiling SwiftSyntax EditorPlaceholder.swift
[87/122] Compiling SwiftSyntax Trivia.swift
[88/122] Compiling SwiftSyntax Utils.swift
[89/122] Compiling SwiftSyntax ChildNameForKeyPath.swift
[90/122] Compiling SwiftSyntax Keyword.swift
[91/122] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[92/122] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[93/122] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[94/122] Compiling SwiftSyntax SyntaxBaseNodes.swift
[95/122] Compiling SwiftSyntax SyntaxCollections.swift
[96/122] Compiling SwiftSyntax SyntaxNodesAB.swift
[97/122] Compiling SwiftSyntax SyntaxNodesC.swift
[98/122] Compiling SwiftSyntax SyntaxNodesD.swift
[99/122] Compiling SwiftSyntax SyntaxNodesEF.swift
[100/122] Compiling SwiftSyntax SyntaxNodesGHI.swift
[101/122] Compiling SwiftSyntax SyntaxNodesJKLMN.swift
[102/122] Compiling SwiftSyntax SyntaxNodesOP.swift
[103/122] Compiling SwiftSyntax SyntaxNodesQRS.swift
[104/122] Compiling SwiftSyntax SyntaxNodesTUVWXYZ.swift
[105/123] Wrapping AST for SwiftSyntax for debugging
[107/181] Compiling SwiftDiagnostics DiagnosticDecorator.swift
[108/182] Compiling SwiftDiagnostics Message.swift
[109/182] Compiling SwiftParser IncrementalParseTransition.swift
[110/182] Compiling SwiftParser IsValidIdentifier.swift
[111/182] Emitting module SwiftDiagnostics
[112/182] Compiling SwiftBasicFormat InferIndentation.swift
[113/182] Compiling SwiftDiagnostics Note.swift
[114/182] Compiling SwiftBasicFormat Syntax+Extensions.swift
[115/182] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[116/182] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[117/182] Compiling SwiftParser ExpressionInterpretedAsVersionTuple.swift
[118/182] Compiling SwiftParser Expressions.swift
[119/182] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[120/182] Compiling SwiftBasicFormat Indenter.swift
[121/182] Compiling SwiftDiagnostics FixIt.swift
[122/182] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[124/183] Compiling SwiftBasicFormat BasicFormat.swift
[125/183] Emitting module SwiftBasicFormat
[125/184] Wrapping AST for SwiftDiagnostics for debugging
[127/184] Wrapping AST for SwiftBasicFormat for debugging
[129/184] Compiling SwiftParser SwiftParserCompatibility.swift
[130/184] Compiling SwiftParser SwiftVersion.swift
[131/184] Compiling SwiftParser SyntaxUtils.swift
[132/184] Compiling SwiftParser TokenConsumer.swift
[133/184] Compiling SwiftParser TokenPrecedence.swift
[134/184] Compiling SwiftParser TokenSpec.swift
[135/184] Compiling SwiftParser TokenSpecSet.swift
[136/184] Compiling SwiftParser TopLevel.swift
[137/184] Compiling SwiftParser TriviaParser.swift
[138/184] Compiling SwiftParser Types.swift
[139/189] Compiling SwiftParser LexemeSequence.swift
[140/189] Compiling SwiftParser Lexer.swift
[141/189] Compiling SwiftParser RegexLiteralLexer.swift
[142/189] Compiling SwiftParser UnicodeScalarExtensions.swift
[143/189] Compiling SwiftParser Lookahead.swift
[144/189] Compiling SwiftParser LoopProgressCondition.swift
[145/189] Compiling SwiftParser Patterns.swift
[146/189] Compiling SwiftParser Recovery.swift
[147/189] Compiling SwiftParser Specifiers.swift
[148/189] Compiling SwiftParser Statements.swift
[149/189] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[150/189] Compiling SwiftParser StringLiterals.swift
[151/189] Compiling SwiftParser Modifiers.swift
[152/189] Compiling SwiftParser Names.swift
[153/189] Compiling SwiftParser Nominals.swift
[154/189] Compiling SwiftParser Parameters.swift
[155/189] Compiling SwiftParser ParseSourceFile.swift
[156/189] Compiling SwiftParser Parser.swift
[157/189] Emitting module SwiftParser
[158/189] Compiling SwiftParser Attributes.swift
[159/189] Compiling SwiftParser Availability.swift
[160/189] Compiling SwiftParser CharacterInfo.swift
[161/189] Compiling SwiftParser CollectionNodes+Parsable.swift
[162/189] Compiling SwiftParser Declarations.swift
[163/189] Compiling SwiftParser Directives.swift
[168/189] Compiling SwiftParser Cursor.swift
[169/189] Compiling SwiftParser Lexeme.swift
[170/189] Compiling SwiftParser ExperimentalFeatures.swift
[171/189] Compiling SwiftParser IsLexerClassified.swift
[172/189] Compiling SwiftParser LayoutNodes+Parsable.swift
[173/189] Compiling SwiftParser Parser+TokenSpecSet.swift
[174/189] Compiling SwiftParser TokenSpecStaticMembers.swift
[175/190] Wrapping AST for SwiftParser for debugging
[177/213] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[178/214] Compiling SwiftOperators PrecedenceGroup.swift
[179/215] Compiling SwiftOperators Operator.swift
[180/215] Compiling SwiftOperators OperatorError+Diagnostics.swift
[181/215] Emitting module SwiftOperators
[182/215] Compiling SwiftOperators OperatorTable.swift
[183/215] Compiling SwiftOperators PrecedenceGraph.swift
[184/215] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[185/215] Compiling SwiftOperators SyntaxSynthesis.swift
[186/215] Compiling SwiftOperators OperatorTable+Semantics.swift
[187/215] Compiling SwiftOperators OperatorError.swift
[188/215] Compiling SwiftOperators OperatorTable+Defaults.swift
[189/215] Compiling SwiftOperators OperatorTable+Folding.swift
[190/216] Wrapping AST for SwiftOperators for debugging
[192/216] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[193/216] Compiling SwiftParserDiagnostics Utils.swift
[194/216] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[195/216] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[196/216] Compiling SwiftParserDiagnostics PresenceUtils.swift
[199/216] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[200/216] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[201/216] Emitting module SwiftParserDiagnostics
[204/217] Wrapping AST for SwiftParserDiagnostics for debugging
[206/232] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[207/232] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[208/232] Compiling SwiftSyntaxBuilder Indenter.swift
[209/232] Compiling SwiftSyntaxBuilder ListBuilder.swift
[210/232] Emitting module SwiftSyntaxBuilder
[211/232] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[212/232] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[213/232] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[214/232] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[215/233] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[216/233] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[217/233] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[218/233] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[219/233] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[220/233] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[221/233] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[222/234] Wrapping AST for SwiftSyntaxBuilder for debugging
[224/251] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[225/251] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[226/251] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[227/251] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[228/251] Compiling SwiftSyntaxMacros MemberMacro.swift
[229/251] Compiling SwiftSyntaxMacros PeerMacro.swift
[230/253] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[231/253] Compiling SwiftSyntaxMacros Macro+Format.swift
[232/253] Compiling SwiftSyntaxMacros Macro.swift
[233/253] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[234/253] Emitting module SwiftSyntaxMacros
[235/253] Compiling SwiftSyntaxMacros PreambleMacro.swift
[236/253] Compiling SwiftSyntaxMacros Syntax+LexicalContext.swift
[237/253] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[238/253] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[239/253] Compiling SwiftSyntaxMacros MacroExpansionDiagnosticMessages.swift
[240/253] Compiling SwiftSyntaxMacros AccessorMacro.swift
[241/253] Compiling SwiftSyntaxMacros AttachedMacro.swift
[242/253] Compiling SwiftSyntaxMacros BodyMacro.swift
[243/254] Wrapping AST for SwiftSyntaxMacros for debugging
[245/263] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[246/264] Compiling SwiftSyntaxMacroExpansion MacroSpec.swift
[247/264] Compiling SwiftSyntaxMacroExpansion MacroArgument.swift
[248/264] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[249/264] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[250/264] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[251/264] Emitting module SwiftSyntaxMacroExpansion
[252/264] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[253/264] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[254/264] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[255/265] Wrapping AST for SwiftSyntaxMacroExpansion for debugging
[257/277] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[258/277] Compiling SwiftCompilerPluginMessageHandling LRUCache.swift
[259/277] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[260/277] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[261/277] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[262/278] Compiling SwiftCompilerPluginMessageHandling StandardIOMessageConnection.swift
[263/278] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[264/278] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[265/278] Compiling SwiftCompilerPluginMessageHandling CodingUtilities.swift
[266/278] Compiling SwiftCompilerPluginMessageHandling JSON.swift
[267/278] Emitting module SwiftCompilerPluginMessageHandling
[268/278] Compiling SwiftCompilerPluginMessageHandling JSONDecoding.swift
[269/278] Compiling SwiftCompilerPluginMessageHandling JSONEncoding.swift
[270/279] Wrapping AST for SwiftCompilerPluginMessageHandling for debugging
[272/281] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[273/281] Emitting module SwiftCompilerPlugin
[274/282] Wrapping AST for SwiftCompilerPlugin for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[276/285] Compiling MakrosPlugin Plugin.swift
[277/285] 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
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
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
215 |
216 | extension FunctionEffectSpecifiersSyntax {
217 | static let `throws` = Self(throwsSpecifier: "throws")
| `- warning: 'init(leadingTrivia:_:asyncSpecifier:_:throwsSpecifier:_:trailingTrivia:)' is deprecated: use throwsClause instead of throwsSpecifier
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'
218 | }
219 |
220 | extension ParameterClauseSyntax: ExpressibleByArrayLiteral {
| |- warning: 'ParameterClauseSyntax' is deprecated: renamed to 'FunctionParameterClauseSyntax'
| `- 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'
224 | }
225 |
226 | extension TypeInheritanceClauseSyntax: ExpressibleByArrayLiteral {
| |- warning: 'TypeInheritanceClauseSyntax' is deprecated: renamed to 'InheritanceClauseSyntax'
| `- note: use 'InheritanceClauseSyntax' instead
227 | public init(arrayLiteral elements: String...) {
228 | self.init(inheritedTypeCollection: .init(elements.enumerated().map { (offset, element) in
[278/285] 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
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
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
215 |
216 | extension FunctionEffectSpecifiersSyntax {
217 | static let `throws` = Self(throwsSpecifier: "throws")
| `- warning: 'init(leadingTrivia:_:asyncSpecifier:_:throwsSpecifier:_:trailingTrivia:)' is deprecated: use throwsClause instead of throwsSpecifier
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'
218 | }
219 |
220 | extension ParameterClauseSyntax: ExpressibleByArrayLiteral {
| |- warning: 'ParameterClauseSyntax' is deprecated: renamed to 'FunctionParameterClauseSyntax'
| `- 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'
224 | }
225 |
226 | extension TypeInheritanceClauseSyntax: ExpressibleByArrayLiteral {
| |- warning: 'TypeInheritanceClauseSyntax' is deprecated: renamed to 'InheritanceClauseSyntax'
| `- 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'
28 | }
29 |
30 | let inheritedTypes = declaration.inheritanceClause?.inheritedTypeCollection ?? []
| |- warning: 'inheritedTypeCollection' is deprecated: renamed to 'inheritedTypes'
| `- 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'
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'
| `- 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'
60 | let storageName = {
61 | guard
62 | case let .argumentList(arguments) = node.argument,
| |- warning: 'argument' is deprecated: renamed to 'arguments'
| `- 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'
74 | let byteCount: TokenSyntax? = {
75 | guard
76 | case let .argumentList(arguments) = node.argument,
| |- warning: 'argument' is deprecated: renamed to 'arguments'
| `- 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'
81 | return nil
82 | }
83 | return integerLiteral.digits
| |- warning: 'digits' is deprecated: renamed to 'literal'
| `- note: use 'literal' instead
84 | }()
85 |
/host/spi-builder-workspace/Plugin/DataStorage.swift:86:55: warning: 'inheritedTypeCollection' is deprecated: renamed to 'inheritedTypes'
84 | }()
85 |
86 | let inheritedTypes = declaration.inheritanceClause?.inheritedTypeCollection ?? []
| |- warning: 'inheritedTypeCollection' is deprecated: renamed to 'inheritedTypes'
| `- 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'
86 | let inheritedTypes = declaration.inheritanceClause?.inheritedTypeCollection ?? []
87 |
88 | let addDataProtocolSyntax = !inheritedTypes.contains(where: { $0.typeName.trimmedDescription == "DataProtocol" })
| |- warning: 'typeName' is deprecated: renamed to 'type'
| `- note: use 'type' instead
89 |
90 |
/host/spi-builder-workspace/Plugin/DataStorage.swift:92:73: warning: 'identifier' is deprecated: renamed to 'name'
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'
| `- 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).
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).
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: renamed to 'FunctionParameterClauseSyntax(leadingTrivia:_:leftParen:_:parameters:_:rightParen:_:trailingTrivia:)'
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: renamed to 'FunctionParameterClauseSyntax(leadingTrivia:_:leftParen:_:parameters:_:rightParen:_:trailingTrivia:)'
| `- note: use 'FunctionParameterClauseSyntax(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: renamed to 'InheritanceClauseSyntax(leadingTrivia:_:colon:_:inheritedTypes:_:trailingTrivia:)'
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: renamed to 'InheritanceClauseSyntax(leadingTrivia:_:colon:_:inheritedTypes:_:trailingTrivia:)'
| `- note: use 'InheritanceClauseSyntax(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: renamed to 'InheritedTypeSyntax(leadingTrivia:_:type:_:trailingComma:_:trailingTrivia:)'
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: renamed to 'InheritedTypeSyntax(leadingTrivia:_:type:_:trailingComma:_:trailingTrivia:)'
| `- note: use 'InheritedTypeSyntax(leadingTrivia:_:type:_:trailingComma:_:trailingTrivia:)' instead
230 | }))
231 | }
BUILD FAILURE 6.0 linux