Build Information
Failed to build SwiftFixture, reference main (5b68b0
), with Swift 6.0 for Linux on 3 Nov 2024 07:58:19 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/liamnichols/swift-fixture.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/liamnichols/swift-fixture
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 5b68b05 Add `#fixture` and `#register` macros (#18)
Cloned https://github.com/liamnichols/swift-fixture.git
Revision (git rev-parse @):
5b68b057ff09889c8733d4bd3d03df3acd6f767e
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/liamnichols/swift-fixture.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/liamnichols/swift-fixture.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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 (6.49s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.1.1 (0.57s)
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
Building for debugging...
[0/30] Write sources
[14/30] Write swift-version-24593BA9C3E375BF.txt
[16/32] Emitting module SwiftSyntax509
[17/32] Compiling SwiftSyntax509 Empty.swift
[18/33] Wrapping AST for SwiftSyntax509 for debugging
[20/78] Compiling SwiftSyntax RawSyntax.swift
[21/78] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[22/78] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[23/78] Compiling SwiftSyntax RawSyntaxTokenView.swift
[24/78] Compiling SwiftSyntax SourceLength.swift
[25/78] Compiling SwiftSyntax SourceLocation.swift
[26/78] Compiling SwiftSyntax SourcePresence.swift
[27/78] Emitting module SwiftSyntax
[28/84] Compiling SwiftSyntax AbsolutePosition.swift
[29/84] Compiling SwiftSyntax Assert.swift
[30/84] Compiling SwiftSyntax BumpPtrAllocator.swift
[31/84] Compiling SwiftSyntax CommonAncestor.swift
[32/84] Compiling SwiftSyntax Convenience.swift
[33/84] Compiling SwiftSyntax MemoryLayout.swift
[34/84] Compiling SwiftSyntax MissingNodeInitializers.swift
[35/84] Compiling SwiftSyntax SyntaxCollections.swift
[36/84] Compiling SwiftSyntax SyntaxEnum.swift
[37/84] Compiling SwiftSyntax SyntaxKind.swift
[38/84] Compiling SwiftSyntax SyntaxRewriter.swift
[39/84] Compiling SwiftSyntax SyntaxTraits.swift
[40/84] Compiling SwiftSyntax SyntaxTransform.swift
[41/84] Compiling SwiftSyntax SyntaxText.swift
[42/84] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[43/84] Compiling SwiftSyntax TokenDiagnostic.swift
[44/84] Compiling SwiftSyntax TokenSyntax.swift
[45/84] Compiling SwiftSyntax Trivia.swift
[46/84] Compiling SwiftSyntax Utils.swift
[47/84] Compiling SwiftSyntax ChildNameForKeyPath.swift
[48/84] Compiling SwiftSyntax Keyword.swift
[49/84] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[50/84] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[51/84] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[52/84] Compiling SwiftSyntax SyntaxBaseNodes.swift
[53/84] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[54/84] Compiling SwiftSyntax Syntax.swift
[55/84] Compiling SwiftSyntax SyntaxArena.swift
[56/84] Compiling SwiftSyntax SyntaxChildren.swift
[57/84] Compiling SwiftSyntax SyntaxCollection.swift
[58/84] Compiling SwiftSyntax SyntaxData.swift
[59/84] Compiling SwiftSyntax SyntaxVisitor.swift
[60/84] Compiling SwiftSyntax TokenKind.swift
[61/84] Compiling SwiftSyntax Tokens.swift
[62/84] Compiling SwiftSyntax TriviaPieces.swift
[63/84] Compiling SwiftSyntax RawSyntaxNodes.swift
[64/84] Compiling SwiftSyntax RawSyntaxValidation.swift
[65/84] Compiling SwiftSyntax SyntaxDeclNodes.swift
[66/84] Compiling SwiftSyntax SyntaxExprNodes.swift
[67/84] Compiling SwiftSyntax SyntaxNodes.swift
[68/84] Compiling SwiftSyntax SyntaxPatternNodes.swift
[69/84] Compiling SwiftSyntax SyntaxStmtNodes.swift
[70/84] Compiling SwiftSyntax SyntaxTypeNodes.swift
[71/85] Wrapping AST for SwiftSyntax for debugging
[73/136] Compiling SwiftDiagnostics FixIt.swift
[74/136] Compiling SwiftDiagnostics Message.swift
[75/136] Compiling SwiftDiagnostics Note.swift
[76/136] Emitting module SwiftDiagnostics
[77/136] Compiling SwiftDiagnostics Diagnostic.swift
[78/136] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[79/136] Compiling SwiftBasicFormat Syntax+Extensions.swift
[80/136] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[81/136] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[82/136] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[83/136] Compiling SwiftDiagnostics Convenience.swift
[84/137] Wrapping AST for SwiftDiagnostics for debugging
[86/137] Emitting module SwiftBasicFormat
[87/137] Compiling SwiftBasicFormat BasicFormat.swift
[88/138] Wrapping AST for SwiftBasicFormat for debugging
[90/138] Compiling SwiftParser TokenPrecedence.swift
[91/138] Compiling SwiftParser TokenSpec.swift
[92/138] Compiling SwiftParser TokenSpecSet.swift
[93/138] Compiling SwiftParser TopLevel.swift
[94/138] Compiling SwiftParser TriviaParser.swift
[95/138] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[96/138] Compiling SwiftParser StringLiterals.swift
[97/138] Compiling SwiftParser SwiftParserCompatibility.swift
[98/138] Compiling SwiftParser SyntaxUtils.swift
[99/138] Compiling SwiftParser TokenConsumer.swift
[100/143] Compiling SwiftParser Modifiers.swift
[101/143] Compiling SwiftParser Names.swift
[102/143] Compiling SwiftParser Nominals.swift
[103/143] Compiling SwiftParser Parameters.swift
[104/143] Compiling SwiftParser ParseSourceFile.swift
[105/143] Compiling SwiftParser Parser.swift
[106/143] Compiling SwiftParser Patterns.swift
[107/143] Compiling SwiftParser Recovery.swift
[108/143] Compiling SwiftParser Specifiers.swift
[109/143] Compiling SwiftParser Statements.swift
[110/143] Emitting module SwiftParser
[111/143] Compiling SwiftParser Lexer.swift
[112/143] Compiling SwiftParser RegexLiteralLexer.swift
[113/143] Compiling SwiftParser UnicodeScalarExtensions.swift
[114/143] Compiling SwiftParser Lookahead.swift
[115/143] Compiling SwiftParser LoopProgressCondition.swift
[116/143] Compiling SwiftParser Attributes.swift
[117/143] Compiling SwiftParser Availability.swift
[118/143] Compiling SwiftParser CharacterInfo.swift
[119/143] Compiling SwiftParser CollectionNodes+Parsable.swift
[120/143] Compiling SwiftParser Declarations.swift
[121/143] Compiling SwiftParser Directives.swift
[122/143] Compiling SwiftParser ExperimentalFeatures.swift
[123/143] Compiling SwiftParser Expressions.swift
[124/143] Compiling SwiftParser IncrementalParseTransition.swift
[125/143] Compiling SwiftParser Cursor.swift
[126/143] Compiling SwiftParser Lexeme.swift
[127/143] Compiling SwiftParser LexemeSequence.swift
[128/143] Compiling SwiftParser Types.swift
[129/143] Compiling SwiftParser IsLexerClassified.swift
[130/143] Compiling SwiftParser LayoutNodes+Parsable.swift
[131/143] Compiling SwiftParser Parser+TokenSpecSet.swift
[132/143] Compiling SwiftParser TokenSpecStaticMembers.swift
[133/144] Wrapping AST for SwiftParser for debugging
[135/167] Compiling SwiftOperators PrecedenceGroup.swift
[136/168] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[137/169] Compiling SwiftOperators Operator.swift
[138/169] Compiling SwiftOperators OperatorError+Diagnostics.swift
[139/169] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[140/169] Compiling SwiftOperators PrecedenceGraph.swift
[141/169] Compiling SwiftOperators OperatorTable.swift
[142/169] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[143/169] Compiling SwiftParserDiagnostics Utils.swift
[144/169] Compiling SwiftOperators SyntaxSynthesis.swift
[145/169] Emitting module SwiftOperators
[146/169] Compiling SwiftOperators OperatorTable+Semantics.swift
[147/169] Compiling SwiftOperators OperatorError.swift
[148/169] Compiling SwiftOperators OperatorTable+Defaults.swift
[149/169] Compiling SwiftOperators OperatorTable+Folding.swift
[150/170] Wrapping AST for SwiftOperators for debugging
[152/170] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[153/170] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[154/170] Compiling SwiftParserDiagnostics PresenceUtils.swift
[157/170] Emitting module SwiftParserDiagnostics
[160/170] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[161/170] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[162/171] Wrapping AST for SwiftParserDiagnostics for debugging
[164/185] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[165/185] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[166/186] Compiling SwiftSyntaxBuilder Indenter.swift
[167/186] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[168/186] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[169/186] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[170/186] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[171/186] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[172/186] Emitting module SwiftSyntaxBuilder
[173/186] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[174/186] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[175/186] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[176/186] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[177/186] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[178/186] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[179/187] Wrapping AST for SwiftSyntaxBuilder for debugging
[181/201] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[182/201] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[183/202] Compiling SwiftSyntaxMacros AccessorMacro.swift
[184/202] Compiling SwiftSyntaxMacros AttachedMacro.swift
[185/202] Compiling SwiftSyntaxMacros Macro.swift
[186/202] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[187/202] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[188/202] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[189/202] Compiling SwiftSyntaxMacros MemberMacro.swift
[190/202] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[191/202] Compiling SwiftSyntaxMacros Macro+Format.swift
[192/202] Compiling SwiftSyntaxMacros PeerMacro.swift
[193/202] Emitting module SwiftSyntaxMacros
[194/202] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[195/202] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[196/203] Wrapping AST for SwiftSyntaxMacros for debugging
[198/211] Emitting module SwiftSyntaxMacroExpansion
[199/211] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[200/211] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[201/211] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[202/211] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[203/211] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[204/211] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[205/211] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[206/212] Wrapping AST for SwiftSyntaxMacroExpansion for debugging
[208/219] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[209/219] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[210/219] Emitting module SwiftCompilerPluginMessageHandling
[211/219] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[212/219] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[213/219] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[214/219] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[215/220] Wrapping AST for SwiftCompilerPluginMessageHandling for debugging
[217/222] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[218/222] Emitting module SwiftCompilerPlugin
[219/223] Wrapping AST for SwiftCompilerPlugin for debugging
[221/235] Compiling SwiftFixtureMacros DiagnosticMessages.swift
[222/236] Compiling SwiftFixtureMacros FunctionCallExprSyntax+Multiline.swift
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Utilities/FunctionCallExprSyntax+Multiline.swift:9:10: warning: 'TupleExprElementListBuilder' is deprecated: renamed to 'LabeledExprListBuilder'
7 | leftParen: TokenSyntax = .leftParenToken(),
8 | rightParen: TokenSyntax,
9 | @TupleExprElementListBuilder argumentList: () -> TupleExprElementListSyntax = { [] }
| |- warning: 'TupleExprElementListBuilder' is deprecated: renamed to 'LabeledExprListBuilder'
| `- note: use 'LabeledExprListBuilder' instead
10 | ) {
11 | self.init(
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Utilities/FunctionCallExprSyntax+Multiline.swift:9:58: warning: 'TupleExprElementListSyntax' is deprecated: renamed to 'LabeledExprListSyntax'
7 | leftParen: TokenSyntax = .leftParenToken(),
8 | rightParen: TokenSyntax,
9 | @TupleExprElementListBuilder argumentList: () -> TupleExprElementListSyntax = { [] }
| |- warning: 'TupleExprElementListSyntax' is deprecated: renamed to 'LabeledExprListSyntax'
| `- note: use 'LabeledExprListSyntax' instead
10 | ) {
11 | self.init(
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Utilities/FunctionCallExprSyntax+Multiline.swift:11:14: warning: 'init(leadingTrivia:_:calledExpression:_:leftParen:_:argumentList:_:rightParen:_:trailingClosure:_:additionalTrailingClosures:_:trailingTrivia:)' is deprecated: renamed to 'FunctionCallExprSyntax(leadingTrivia:_:calledExpression:_:leftParen:_:arguments:_:rightParen:_:trailingClosure:_:additionalTrailingClosures:_:trailingTrivia:)'
9 | @TupleExprElementListBuilder argumentList: () -> TupleExprElementListSyntax = { [] }
10 | ) {
11 | self.init(
| |- warning: 'init(leadingTrivia:_:calledExpression:_:leftParen:_:argumentList:_:rightParen:_:trailingClosure:_:additionalTrailingClosures:_:trailingTrivia:)' is deprecated: renamed to 'FunctionCallExprSyntax(leadingTrivia:_:calledExpression:_:leftParen:_:arguments:_:rightParen:_:trailingClosure:_:additionalTrailingClosures:_:trailingTrivia:)'
| `- note: use 'FunctionCallExprSyntax(leadingTrivia:_:calledExpression:_:leftParen:_:arguments:_:rightParen:_:trailingClosure:_:additionalTrailingClosures:_:trailingTrivia:)' instead
12 | calledExpression: callee,
13 | leftParen: leftParen,
[223/236] Compiling SwiftFixtureMacros Plugin.swift
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Utilities/ClosureExprSyntax+Convenience.swift:6:22: warning: 'ClosureParamListSyntax' is deprecated: renamed to 'ClosureShorthandParameterListSyntax'
4 | extension ClosureExprSyntax {
5 | init(
6 | simpleInput: ClosureParamListSyntax,
| |- warning: 'ClosureParamListSyntax' is deprecated: renamed to 'ClosureShorthandParameterListSyntax'
| `- note: use 'ClosureShorthandParameterListSyntax' instead
7 | @CodeBlockItemListBuilder statementsBuilder: () throws -> CodeBlockItemListSyntax
8 | ) rethrows {
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Utilities/ClosureExprSyntax+Convenience.swift:10:24: warning: 'init(leadingTrivia:_:attributes:_:capture:_:input:_:effectSpecifiers:_:output:_:inTok:_:trailingTrivia:)' is deprecated: renamed to 'ClosureSignatureSyntax(leadingTrivia:_:attributes:_:capture:_:parameterClause:_:effectSpecifiers:_:returnClause:_:inKeyword:_:trailingTrivia:)'
8 | ) rethrows {
9 | self.init(
10 | signature: ClosureSignatureSyntax(
| |- warning: 'init(leadingTrivia:_:attributes:_:capture:_:input:_:effectSpecifiers:_:output:_:inTok:_:trailingTrivia:)' is deprecated: renamed to 'ClosureSignatureSyntax(leadingTrivia:_:attributes:_:capture:_:parameterClause:_:effectSpecifiers:_:returnClause:_:inKeyword:_:trailingTrivia:)'
| `- note: use 'ClosureSignatureSyntax(leadingTrivia:_:attributes:_:capture:_:parameterClause:_:effectSpecifiers:_:returnClause:_:inKeyword:_:trailingTrivia:)' instead
11 | leadingTrivia: .space,
12 | input: .simpleInput(simpleInput)
[224/236] Compiling SwiftFixtureMacros ClosureExprSyntax+Convenience.swift
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Utilities/ClosureExprSyntax+Convenience.swift:6:22: warning: 'ClosureParamListSyntax' is deprecated: renamed to 'ClosureShorthandParameterListSyntax'
4 | extension ClosureExprSyntax {
5 | init(
6 | simpleInput: ClosureParamListSyntax,
| |- warning: 'ClosureParamListSyntax' is deprecated: renamed to 'ClosureShorthandParameterListSyntax'
| `- note: use 'ClosureShorthandParameterListSyntax' instead
7 | @CodeBlockItemListBuilder statementsBuilder: () throws -> CodeBlockItemListSyntax
8 | ) rethrows {
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Utilities/ClosureExprSyntax+Convenience.swift:10:24: warning: 'init(leadingTrivia:_:attributes:_:capture:_:input:_:effectSpecifiers:_:output:_:inTok:_:trailingTrivia:)' is deprecated: renamed to 'ClosureSignatureSyntax(leadingTrivia:_:attributes:_:capture:_:parameterClause:_:effectSpecifiers:_:returnClause:_:inKeyword:_:trailingTrivia:)'
8 | ) rethrows {
9 | self.init(
10 | signature: ClosureSignatureSyntax(
| |- warning: 'init(leadingTrivia:_:attributes:_:capture:_:input:_:effectSpecifiers:_:output:_:inTok:_:trailingTrivia:)' is deprecated: renamed to 'ClosureSignatureSyntax(leadingTrivia:_:attributes:_:capture:_:parameterClause:_:effectSpecifiers:_:returnClause:_:inKeyword:_:trailingTrivia:)'
| `- note: use 'ClosureSignatureSyntax(leadingTrivia:_:attributes:_:capture:_:parameterClause:_:effectSpecifiers:_:returnClause:_:inKeyword:_:trailingTrivia:)' instead
11 | leadingTrivia: .space,
12 | input: .simpleInput(simpleInput)
[225/236] Compiling SwiftFixtureMacros MacroExpansionExprSyntax+Convenience.swift
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Utilities/MacroExpansionExprSyntax+Convenience.swift:8:9: warning: 'init(leadingTrivia:unexpectedBeforePoundToken:poundToken:unexpectedBetweenPoundTokenAndMacro:macro:unexpectedBetweenMacroAndGenericArguments:genericArguments:unexpectedBetweenGenericArgumentsAndLeftParen:leftParen:unexpectedBetweenLeftParenAndArgumentList:unexpectedBetweenArgumentListAndRightParen:rightParen:unexpectedBetweenRightParenAndTrailingClosure:trailingClosure:unexpectedBetweenTrailingClosureAndAdditionalTrailingClosures:additionalTrailingClosures:unexpectedAfterAdditionalTrailingClosures:argumentListBuilder:trailingTrivia:)' is deprecated: Use an initializer with pound, macroName, genericArgumentClause, arguments argument(s).
6 | unappliedMethodReference: some ExprSyntaxProtocol
7 | ) -> Self {
8 | MacroExpansionExprSyntax(macro: "initFixture", leftParen: .leftParenToken(), rightParen: .rightParenToken()) {
| `- warning: 'init(leadingTrivia:unexpectedBeforePoundToken:poundToken:unexpectedBetweenPoundTokenAndMacro:macro:unexpectedBetweenMacroAndGenericArguments:genericArguments:unexpectedBetweenGenericArgumentsAndLeftParen:leftParen:unexpectedBetweenLeftParenAndArgumentList:unexpectedBetweenArgumentListAndRightParen:rightParen:unexpectedBetweenRightParenAndTrailingClosure:trailingClosure:unexpectedBetweenTrailingClosureAndAdditionalTrailingClosures:additionalTrailingClosures:unexpectedAfterAdditionalTrailingClosures:argumentListBuilder:trailingTrivia:)' is deprecated: Use an initializer with pound, macroName, genericArgumentClause, arguments argument(s).
9 | TupleExprElementSyntax(
10 | label: "with",
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Utilities/MacroExpansionExprSyntax+Convenience.swift:9:13: warning: 'TupleExprElementSyntax' is deprecated: renamed to 'LabeledExprSyntax'
7 | ) -> Self {
8 | MacroExpansionExprSyntax(macro: "initFixture", leftParen: .leftParenToken(), rightParen: .rightParenToken()) {
9 | TupleExprElementSyntax(
| |- warning: 'TupleExprElementSyntax' is deprecated: renamed to 'LabeledExprSyntax'
| `- note: use 'LabeledExprSyntax' instead
10 | label: "with",
11 | expression: valueProvider
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Utilities/MacroExpansionExprSyntax+Convenience.swift:14:13: warning: 'TupleExprElementSyntax' is deprecated: renamed to 'LabeledExprSyntax'
12 | )
13 |
14 | TupleExprElementSyntax(
| |- warning: 'TupleExprElementSyntax' is deprecated: renamed to 'LabeledExprSyntax'
| `- note: use 'LabeledExprSyntax' instead
15 | label: "using",
16 | expression: unappliedMethodReference
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Utilities/MacroExpansionExprSyntax+Convenience.swift:26:9: warning: 'init(leadingTrivia:unexpectedBeforePoundToken:poundToken:unexpectedBetweenPoundTokenAndMacro:macro:unexpectedBetweenMacroAndGenericArguments:genericArguments:unexpectedBetweenGenericArgumentsAndLeftParen:leftParen:unexpectedBetweenLeftParenAndArgumentList:unexpectedBetweenArgumentListAndRightParen:rightParen:unexpectedBetweenRightParenAndTrailingClosure:trailingClosure:unexpectedBetweenTrailingClosureAndAdditionalTrailingClosures:additionalTrailingClosures:unexpectedAfterAdditionalTrailingClosures:argumentListBuilder:trailingTrivia:)' is deprecated: Use an initializer with pound, macroName, genericArgumentClause, arguments argument(s).
24 | unappliedMethodReference: some ExprSyntaxProtocol
25 | ) -> Self {
26 | MacroExpansionExprSyntax(macro: "register", leftParen: .leftParenToken(), rightParen: .rightParenToken()) {
| `- warning: 'init(leadingTrivia:unexpectedBeforePoundToken:poundToken:unexpectedBetweenPoundTokenAndMacro:macro:unexpectedBetweenMacroAndGenericArguments:genericArguments:unexpectedBetweenGenericArgumentsAndLeftParen:leftParen:unexpectedBetweenLeftParenAndArgumentList:unexpectedBetweenArgumentListAndRightParen:rightParen:unexpectedBetweenRightParenAndTrailingClosure:trailingClosure:unexpectedBetweenTrailingClosureAndAdditionalTrailingClosures:additionalTrailingClosures:unexpectedAfterAdditionalTrailingClosures:argumentListBuilder:trailingTrivia:)' is deprecated: Use an initializer with pound, macroName, genericArgumentClause, arguments argument(s).
27 | TupleExprElementSyntax(
28 | label: nil,
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Utilities/MacroExpansionExprSyntax+Convenience.swift:27:13: warning: 'TupleExprElementSyntax' is deprecated: renamed to 'LabeledExprSyntax'
25 | ) -> Self {
26 | MacroExpansionExprSyntax(macro: "register", leftParen: .leftParenToken(), rightParen: .rightParenToken()) {
27 | TupleExprElementSyntax(
| |- warning: 'TupleExprElementSyntax' is deprecated: renamed to 'LabeledExprSyntax'
| `- note: use 'LabeledExprSyntax' instead
28 | label: nil,
29 | expression: type
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Utilities/MacroExpansionExprSyntax+Convenience.swift:32:13: warning: 'TupleExprElementSyntax' is deprecated: renamed to 'LabeledExprSyntax'
30 | )
31 |
32 | TupleExprElementSyntax(
| |- warning: 'TupleExprElementSyntax' is deprecated: renamed to 'LabeledExprSyntax'
| `- note: use 'LabeledExprSyntax' instead
33 | label: "in",
34 | expression: fixture
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Utilities/MacroExpansionExprSyntax+Convenience.swift:37:13: warning: 'TupleExprElementSyntax' is deprecated: renamed to 'LabeledExprSyntax'
35 | )
36 |
37 | TupleExprElementSyntax(
| |- warning: 'TupleExprElementSyntax' is deprecated: renamed to 'LabeledExprSyntax'
| `- note: use 'LabeledExprSyntax' instead
38 | label: "using",
39 | expression: unappliedMethodReference
[226/236] Compiling SwiftFixtureMacros ExprSyntaxProtocol+Convenience.swift
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Utilities/ExprSyntaxProtocol+Convenience.swift:5:11: warning: 'IdentifierExprSyntax' is deprecated: renamed to 'DeclReferenceExprSyntax'
3 |
4 | typealias UnappliedMethodReference = (
5 | base: IdentifierExprSyntax,
| |- warning: 'IdentifierExprSyntax' is deprecated: renamed to 'DeclReferenceExprSyntax'
| `- note: use 'DeclReferenceExprSyntax' instead
6 | name: TokenSyntax?,
7 | arguments: DeclNameArgumentsSyntax,
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Utilities/ExprSyntaxProtocol+Convenience.swift:30:50: warning: 'IdentifierExprSyntax' is deprecated: renamed to 'DeclReferenceExprSyntax'
28 |
29 | // The base must be defined (i.e `User.init` vs just `.init`)
30 | guard let base = expression.base?.as(IdentifierExprSyntax.self) else {
| |- warning: 'IdentifierExprSyntax' is deprecated: renamed to 'DeclReferenceExprSyntax'
| `- note: use 'DeclReferenceExprSyntax' instead
31 | throw DiagnosticsError(diagnostics: [
32 | DiagnosticMessages.requiresBaseTypeOfUnappliedMethodReference.diagnose(at: expression.dot)
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Utilities/ExprSyntaxProtocol+Convenience.swift:32:107: warning: 'dot' is deprecated: renamed to 'period'
30 | guard let base = expression.base?.as(IdentifierExprSyntax.self) else {
31 | throw DiagnosticsError(diagnostics: [
32 | DiagnosticMessages.requiresBaseTypeOfUnappliedMethodReference.diagnose(at: expression.dot)
| |- warning: 'dot' is deprecated: renamed to 'period'
| `- note: use 'period' instead
33 | ])
34 | }
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Utilities/ExprSyntaxProtocol+Convenience.swift:38:56: warning: 'name' is deprecated: renamed to 'declName.baseName'
36 | // It's possible that the reference isn't to an init statement, extract the method name if so
37 | // i.e `UserFactory.newUser(named:)` -> `newUser`
38 | let name: TokenSyntax? = switch expression.name.tokenKind {
| |- warning: 'name' is deprecated: renamed to 'declName.baseName'
| `- note: use 'declName.baseName' instead
39 | case .identifier: expression.name
40 | case .keyword(.`init`): nil
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Utilities/ExprSyntaxProtocol+Convenience.swift:39:42: warning: 'name' is deprecated: renamed to 'declName.baseName'
37 | // i.e `UserFactory.newUser(named:)` -> `newUser`
38 | let name: TokenSyntax? = switch expression.name.tokenKind {
39 | case .identifier: expression.name
| |- warning: 'name' is deprecated: renamed to 'declName.baseName'
| `- note: use 'declName.baseName' instead
40 | case .keyword(.`init`): nil
41 | default:
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Utilities/ExprSyntaxProtocol+Convenience.swift:47:54: warning: 'declNameArguments' is deprecated: renamed to 'declName.argumentNames'
45 | // The arguments must have been provided
46 | // It must be `User.init(name:)`, not `User.init`
47 | guard let declNameArguments = expression.declNameArguments else {
| |- warning: 'declNameArguments' is deprecated: renamed to 'declName.argumentNames'
| `- note: use 'declName.argumentNames' instead
48 | throw DiagnosticsError(diagnostics: [
49 | DiagnosticMessages.requiresUnappliedMethodReferenceDeclarationNameArgumentList.diagnose(
[227/236] Compiling SwiftFixtureMacros DeclNameArgumentsSyntax+Convenience.swift
[228/236] Compiling SwiftFixtureMacros DiagnosticMessage+Diagnostic.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[229/236] Compiling SwiftFixtureMacros FixtureMacro.swift
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Macros/FixtureMacro.swift:19:21: warning: 'IdentifierExprSyntax' is deprecated: renamed to 'DeclReferenceExprSyntax'
17 | // Fixture()
18 | let fixtureInit = InitializerClauseSyntax(value: FunctionCallExprSyntax(
19 | callee: IdentifierExprSyntax(identifier: "Fixture"),
| |- warning: 'IdentifierExprSyntax' is deprecated: renamed to 'DeclReferenceExprSyntax'
| `- note: use 'DeclReferenceExprSyntax' instead
20 | leftParen: .leftParenToken(),
21 | rightParen: .rightParenToken()
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Macros/FixtureMacro.swift:19:21: warning: 'init(leadingTrivia:_:identifier:_:declNameArguments:_:trailingTrivia:)' is deprecated: renamed to 'DeclReferenceExprSyntax(leadingTrivia:_:baseName:_:argumentNames:_:trailingTrivia:)'
17 | // Fixture()
18 | let fixtureInit = InitializerClauseSyntax(value: FunctionCallExprSyntax(
19 | callee: IdentifierExprSyntax(identifier: "Fixture"),
| |- warning: 'init(leadingTrivia:_:identifier:_:declNameArguments:_:trailingTrivia:)' is deprecated: renamed to 'DeclReferenceExprSyntax(leadingTrivia:_:baseName:_:argumentNames:_:trailingTrivia:)'
| `- note: use 'DeclReferenceExprSyntax(leadingTrivia:_:baseName:_:argumentNames:_:trailingTrivia:)' instead
20 | leftParen: .leftParenToken(),
21 | rightParen: .rightParenToken()
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Macros/FixtureMacro.swift:25:26: warning: 'IdentifierExprSyntax' is deprecated: renamed to 'DeclReferenceExprSyntax'
23 |
24 | // fixture
25 | let fixtureVar = IdentifierExprSyntax(identifier: "fixture")
| |- warning: 'IdentifierExprSyntax' is deprecated: renamed to 'DeclReferenceExprSyntax'
| `- note: use 'DeclReferenceExprSyntax' instead
26 |
27 | // {
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Macros/FixtureMacro.swift:25:26: warning: 'init(leadingTrivia:_:identifier:_:declNameArguments:_:trailingTrivia:)' is deprecated: renamed to 'DeclReferenceExprSyntax(leadingTrivia:_:baseName:_:argumentNames:_:trailingTrivia:)'
23 |
24 | // fixture
25 | let fixtureVar = IdentifierExprSyntax(identifier: "fixture")
| |- warning: 'init(leadingTrivia:_:identifier:_:declNameArguments:_:trailingTrivia:)' is deprecated: renamed to 'DeclReferenceExprSyntax(leadingTrivia:_:baseName:_:argumentNames:_:trailingTrivia:)'
| `- note: use 'DeclReferenceExprSyntax(leadingTrivia:_:baseName:_:argumentNames:_:trailingTrivia:)' instead
26 |
27 | // {
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Macros/FixtureMacro.swift:32:27: warning: 'init(leadingTrivia:_:calledExpression:_:leftParen:_:argumentList:_:rightParen:_:trailingClosure:_:additionalTrailingClosures:_:trailingTrivia:)' is deprecated: renamed to 'FunctionCallExprSyntax(leadingTrivia:_:calledExpression:_:leftParen:_:arguments:_:rightParen:_:trailingClosure:_:additionalTrailingClosures:_:trailingTrivia:)'
30 | // return fixture
31 | // }()
32 | return ExprSyntax(FunctionCallExprSyntax(
| |- warning: 'init(leadingTrivia:_:calledExpression:_:leftParen:_:argumentList:_:rightParen:_:trailingClosure:_:additionalTrailingClosures:_:trailingTrivia:)' is deprecated: renamed to 'FunctionCallExprSyntax(leadingTrivia:_:calledExpression:_:leftParen:_:arguments:_:rightParen:_:trailingClosure:_:additionalTrailingClosures:_:trailingTrivia:)'
| `- note: use 'FunctionCallExprSyntax(leadingTrivia:_:calledExpression:_:leftParen:_:arguments:_:rightParen:_:trailingClosure:_:additionalTrailingClosures:_:trailingTrivia:)' instead
33 | calledExpression: try ClosureExprSyntax {
34 | // let fixture = Fixture()
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Macros/FixtureMacro.swift:37:59: warning: 'identifier' is deprecated: renamed to 'baseName'
35 | VariableDeclSyntax(
36 | .`let`,
37 | name: .init(stringLiteral: fixtureVar.identifier.text),
| |- warning: 'identifier' is deprecated: renamed to 'baseName'
| `- note: use 'baseName' instead
38 | initializer: fixtureInit
39 | )
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Macros/InitFixtureMacro.swift:40:17: warning: 'TupleExprElementSyntax' is deprecated: renamed to 'LabeledExprSyntax'
38 | return FunctionCallExprSyntax(callee: callee, rightParen: .rightParenToken(leadingTrivia: .newline)) {
39 | for label in unappliedMethodReference.arguments.labels {
40 | TupleExprElementSyntax(
| |- warning: 'TupleExprElementSyntax' is deprecated: renamed to 'LabeledExprSyntax'
| `- note: use 'LabeledExprSyntax' instead
41 | leadingTrivia: .newline,
42 | label: label.flatMap({ TokenSyntax(.identifier($0), presence: .present) }),
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Macros/InitFixtureMacro.swift:51:33: warning: 'TupleExprElementSyntax' is deprecated: renamed to 'LabeledExprSyntax'
49 | ) {
50 | if let label {
51 | TupleExprElementSyntax(expression: StringLiteralExprSyntax(content: label))
| |- warning: 'TupleExprElementSyntax' is deprecated: renamed to 'LabeledExprSyntax'
| `- note: use 'LabeledExprSyntax' instead
52 | }
53 | }
[230/236] Compiling SwiftFixtureMacros InitFixtureMacro.swift
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Macros/FixtureMacro.swift:19:21: warning: 'IdentifierExprSyntax' is deprecated: renamed to 'DeclReferenceExprSyntax'
17 | // Fixture()
18 | let fixtureInit = InitializerClauseSyntax(value: FunctionCallExprSyntax(
19 | callee: IdentifierExprSyntax(identifier: "Fixture"),
| |- warning: 'IdentifierExprSyntax' is deprecated: renamed to 'DeclReferenceExprSyntax'
| `- note: use 'DeclReferenceExprSyntax' instead
20 | leftParen: .leftParenToken(),
21 | rightParen: .rightParenToken()
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Macros/FixtureMacro.swift:19:21: warning: 'init(leadingTrivia:_:identifier:_:declNameArguments:_:trailingTrivia:)' is deprecated: renamed to 'DeclReferenceExprSyntax(leadingTrivia:_:baseName:_:argumentNames:_:trailingTrivia:)'
17 | // Fixture()
18 | let fixtureInit = InitializerClauseSyntax(value: FunctionCallExprSyntax(
19 | callee: IdentifierExprSyntax(identifier: "Fixture"),
| |- warning: 'init(leadingTrivia:_:identifier:_:declNameArguments:_:trailingTrivia:)' is deprecated: renamed to 'DeclReferenceExprSyntax(leadingTrivia:_:baseName:_:argumentNames:_:trailingTrivia:)'
| `- note: use 'DeclReferenceExprSyntax(leadingTrivia:_:baseName:_:argumentNames:_:trailingTrivia:)' instead
20 | leftParen: .leftParenToken(),
21 | rightParen: .rightParenToken()
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Macros/FixtureMacro.swift:25:26: warning: 'IdentifierExprSyntax' is deprecated: renamed to 'DeclReferenceExprSyntax'
23 |
24 | // fixture
25 | let fixtureVar = IdentifierExprSyntax(identifier: "fixture")
| |- warning: 'IdentifierExprSyntax' is deprecated: renamed to 'DeclReferenceExprSyntax'
| `- note: use 'DeclReferenceExprSyntax' instead
26 |
27 | // {
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Macros/FixtureMacro.swift:25:26: warning: 'init(leadingTrivia:_:identifier:_:declNameArguments:_:trailingTrivia:)' is deprecated: renamed to 'DeclReferenceExprSyntax(leadingTrivia:_:baseName:_:argumentNames:_:trailingTrivia:)'
23 |
24 | // fixture
25 | let fixtureVar = IdentifierExprSyntax(identifier: "fixture")
| |- warning: 'init(leadingTrivia:_:identifier:_:declNameArguments:_:trailingTrivia:)' is deprecated: renamed to 'DeclReferenceExprSyntax(leadingTrivia:_:baseName:_:argumentNames:_:trailingTrivia:)'
| `- note: use 'DeclReferenceExprSyntax(leadingTrivia:_:baseName:_:argumentNames:_:trailingTrivia:)' instead
26 |
27 | // {
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Macros/FixtureMacro.swift:32:27: warning: 'init(leadingTrivia:_:calledExpression:_:leftParen:_:argumentList:_:rightParen:_:trailingClosure:_:additionalTrailingClosures:_:trailingTrivia:)' is deprecated: renamed to 'FunctionCallExprSyntax(leadingTrivia:_:calledExpression:_:leftParen:_:arguments:_:rightParen:_:trailingClosure:_:additionalTrailingClosures:_:trailingTrivia:)'
30 | // return fixture
31 | // }()
32 | return ExprSyntax(FunctionCallExprSyntax(
| |- warning: 'init(leadingTrivia:_:calledExpression:_:leftParen:_:argumentList:_:rightParen:_:trailingClosure:_:additionalTrailingClosures:_:trailingTrivia:)' is deprecated: renamed to 'FunctionCallExprSyntax(leadingTrivia:_:calledExpression:_:leftParen:_:arguments:_:rightParen:_:trailingClosure:_:additionalTrailingClosures:_:trailingTrivia:)'
| `- note: use 'FunctionCallExprSyntax(leadingTrivia:_:calledExpression:_:leftParen:_:arguments:_:rightParen:_:trailingClosure:_:additionalTrailingClosures:_:trailingTrivia:)' instead
33 | calledExpression: try ClosureExprSyntax {
34 | // let fixture = Fixture()
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Macros/FixtureMacro.swift:37:59: warning: 'identifier' is deprecated: renamed to 'baseName'
35 | VariableDeclSyntax(
36 | .`let`,
37 | name: .init(stringLiteral: fixtureVar.identifier.text),
| |- warning: 'identifier' is deprecated: renamed to 'baseName'
| `- note: use 'baseName' instead
38 | initializer: fixtureInit
39 | )
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Macros/InitFixtureMacro.swift:40:17: warning: 'TupleExprElementSyntax' is deprecated: renamed to 'LabeledExprSyntax'
38 | return FunctionCallExprSyntax(callee: callee, rightParen: .rightParenToken(leadingTrivia: .newline)) {
39 | for label in unappliedMethodReference.arguments.labels {
40 | TupleExprElementSyntax(
| |- warning: 'TupleExprElementSyntax' is deprecated: renamed to 'LabeledExprSyntax'
| `- note: use 'LabeledExprSyntax' instead
41 | leadingTrivia: .newline,
42 | label: label.flatMap({ TokenSyntax(.identifier($0), presence: .present) }),
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Macros/InitFixtureMacro.swift:51:33: warning: 'TupleExprElementSyntax' is deprecated: renamed to 'LabeledExprSyntax'
49 | ) {
50 | if let label {
51 | TupleExprElementSyntax(expression: StringLiteralExprSyntax(content: label))
| |- warning: 'TupleExprElementSyntax' is deprecated: renamed to 'LabeledExprSyntax'
| `- note: use 'LabeledExprSyntax' instead
52 | }
53 | }
[231/236] Emitting module SwiftFixtureMacros
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Macros/ProvideFixtureMacro.swift:6:49: error: cannot find type 'ConformanceMacro' in scope
4 | import SwiftSyntaxMacros
5 |
6 | public struct ProvideFixtureMacro: MemberMacro, ConformanceMacro {
| `- error: cannot find type 'ConformanceMacro' in scope
7 | /// A type that describes the initializer to be called in the `FixtureProviding.provideFixture(using:)` implementation
8 | struct InitializerContext {
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Utilities/ClosureExprSyntax+Convenience.swift:6:22: warning: 'ClosureParamListSyntax' is deprecated: renamed to 'ClosureShorthandParameterListSyntax'
4 | extension ClosureExprSyntax {
5 | init(
6 | simpleInput: ClosureParamListSyntax,
| |- warning: 'ClosureParamListSyntax' is deprecated: renamed to 'ClosureShorthandParameterListSyntax'
| `- note: use 'ClosureShorthandParameterListSyntax' instead
7 | @CodeBlockItemListBuilder statementsBuilder: () throws -> CodeBlockItemListSyntax
8 | ) rethrows {
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Utilities/ExprSyntaxProtocol+Convenience.swift:5:11: warning: 'IdentifierExprSyntax' is deprecated: renamed to 'DeclReferenceExprSyntax'
3 |
4 | typealias UnappliedMethodReference = (
5 | base: IdentifierExprSyntax,
| |- warning: 'IdentifierExprSyntax' is deprecated: renamed to 'DeclReferenceExprSyntax'
| `- note: use 'DeclReferenceExprSyntax' instead
6 | name: TokenSyntax?,
7 | arguments: DeclNameArgumentsSyntax,
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Utilities/FunctionCallExprSyntax+Multiline.swift:9:10: warning: 'TupleExprElementListBuilder' is deprecated: renamed to 'LabeledExprListBuilder'
7 | leftParen: TokenSyntax = .leftParenToken(),
8 | rightParen: TokenSyntax,
9 | @TupleExprElementListBuilder argumentList: () -> TupleExprElementListSyntax = { [] }
| |- warning: 'TupleExprElementListBuilder' is deprecated: renamed to 'LabeledExprListBuilder'
| `- note: use 'LabeledExprListBuilder' instead
10 | ) {
11 | self.init(
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Utilities/FunctionCallExprSyntax+Multiline.swift:9:58: warning: 'TupleExprElementListSyntax' is deprecated: renamed to 'LabeledExprListSyntax'
7 | leftParen: TokenSyntax = .leftParenToken(),
8 | rightParen: TokenSyntax,
9 | @TupleExprElementListBuilder argumentList: () -> TupleExprElementListSyntax = { [] }
| |- warning: 'TupleExprElementListSyntax' is deprecated: renamed to 'LabeledExprListSyntax'
| `- note: use 'LabeledExprListSyntax' instead
10 | ) {
11 | self.init(
[232/236] Compiling SwiftFixtureMacros ProvideFixtureMacro.swift
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Macros/ProvideFixtureMacro.swift:6:49: error: cannot find type 'ConformanceMacro' in scope
4 | import SwiftSyntaxMacros
5 |
6 | public struct ProvideFixtureMacro: MemberMacro, ConformanceMacro {
| `- error: cannot find type 'ConformanceMacro' in scope
7 | /// A type that describes the initializer to be called in the `FixtureProviding.provideFixture(using:)` implementation
8 | struct InitializerContext {
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Macros/ProvideFixtureMacro.swift:24:24: warning: 'IdentifierExprSyntax' is deprecated: renamed to 'DeclReferenceExprSyntax'
22 | // Create the provideFixture implementation calling through to the initialiser
23 | // public static func provideFixture(using values: ValueProvider) throws -> Self { ... }
24 | let valuesId = IdentifierExprSyntax(identifier: "values")
| |- warning: 'IdentifierExprSyntax' is deprecated: renamed to 'DeclReferenceExprSyntax'
| `- note: use 'DeclReferenceExprSyntax' instead
25 | let functionDecl = try FunctionDeclSyntax(
26 | "public static func provideFixture(using \(valuesId): ValueProvider) throws -> \(context.typeIdentifier)"
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Macros/ProvideFixtureMacro.swift:24:24: warning: 'init(leadingTrivia:_:identifier:_:declNameArguments:_:trailingTrivia:)' is deprecated: renamed to 'DeclReferenceExprSyntax(leadingTrivia:_:baseName:_:argumentNames:_:trailingTrivia:)'
22 | // Create the provideFixture implementation calling through to the initialiser
23 | // public static func provideFixture(using values: ValueProvider) throws -> Self { ... }
24 | let valuesId = IdentifierExprSyntax(identifier: "values")
| |- warning: 'init(leadingTrivia:_:identifier:_:declNameArguments:_:trailingTrivia:)' is deprecated: renamed to 'DeclReferenceExprSyntax(leadingTrivia:_:baseName:_:argumentNames:_:trailingTrivia:)'
| `- note: use 'DeclReferenceExprSyntax(leadingTrivia:_:baseName:_:argumentNames:_:trailingTrivia:)' instead
25 | let functionDecl = try FunctionDeclSyntax(
26 | "public static func provideFixture(using \(valuesId): ValueProvider) throws -> \(context.typeIdentifier)"
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Macros/ProvideFixtureMacro.swift:95:25: warning: 'bindingKeyword' is deprecated: renamed to 'bindingSpecifier'
93 |
94 | // for let keywords without initializer values
95 | if variable.bindingKeyword.tokenKind == .keyword(.let) {
| |- warning: 'bindingKeyword' is deprecated: renamed to 'bindingSpecifier'
| `- note: use 'bindingSpecifier' instead
96 | for binding in variable.bindings where binding.initializer == nil {
97 | guard let identifier = binding.pattern.as(IdentifierPatternSyntax.self) else { continue }
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Macros/ProvideFixtureMacro.swift:103:25: warning: 'bindingKeyword' is deprecated: renamed to 'bindingSpecifier'
101 |
102 | // for non-computed vars
103 | if variable.bindingKeyword.tokenKind == .keyword(.var) {
| |- warning: 'bindingKeyword' is deprecated: renamed to 'bindingSpecifier'
| `- note: use 'bindingSpecifier' instead
104 | for binding in variable.bindings where binding.accessor == nil {
105 | guard let identifier = binding.pattern.as(IdentifierPatternSyntax.self) else { continue }
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Macros/ProvideFixtureMacro.swift:104:64: warning: 'accessor' is deprecated: renamed to 'accessorBlock'
102 | // for non-computed vars
103 | if variable.bindingKeyword.tokenKind == .keyword(.var) {
104 | for binding in variable.bindings where binding.accessor == nil {
| |- warning: 'accessor' is deprecated: renamed to 'accessorBlock'
| `- note: use 'accessorBlock' instead
105 | guard let identifier = binding.pattern.as(IdentifierPatternSyntax.self) else { continue }
106 | labels.append(identifier.identifier.text)
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Macros/ProvideFixtureMacro.swift:117:25: warning: 'identifier' is deprecated: renamed to 'name'
115 | // Take the type identifier from the declaration
116 | let token = if let declaration = declaration.as(StructDeclSyntax.self) {
117 | declaration.identifier
| |- warning: 'identifier' is deprecated: renamed to 'name'
| `- note: use 'name' instead
118 | } else if let declaration = declaration.as(EnumDeclSyntax.self) {
119 | declaration.identifier
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Macros/ProvideFixtureMacro.swift:119:25: warning: 'identifier' is deprecated: renamed to 'name'
117 | declaration.identifier
118 | } else if let declaration = declaration.as(EnumDeclSyntax.self) {
119 | declaration.identifier
| |- warning: 'identifier' is deprecated: renamed to 'name'
| `- note: use 'name' instead
120 | } else if let declaration = declaration.as(ClassDeclSyntax.self) {
121 | declaration.identifier
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Macros/ProvideFixtureMacro.swift:121:25: warning: 'identifier' is deprecated: renamed to 'name'
119 | declaration.identifier
120 | } else if let declaration = declaration.as(ClassDeclSyntax.self) {
121 | declaration.identifier
| |- warning: 'identifier' is deprecated: renamed to 'name'
| `- note: use 'name' instead
122 | } else {
123 | throw DiagnosticsError(diagnostics: [
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Macros/ProvideFixtureMacro.swift:143:39: warning: 'init(leadingTrivia:_:base:_:dot:_:name:_:declNameArguments:_:trailingTrivia:)' is deprecated: Use initializer taking `DeclReferenceExprSyntax` instead
141 | self.init(
142 | typeIdentifier: typeIdentifier,
143 | unappliedMethodReference: MemberAccessExprSyntax(
| `- warning: 'init(leadingTrivia:_:base:_:dot:_:name:_:declNameArguments:_:trailingTrivia:)' is deprecated: Use initializer taking `DeclReferenceExprSyntax` instead
144 | base: IdentifierExprSyntax(identifier: typeIdentifier),
145 | name: .keyword(.`init`),
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Macros/ProvideFixtureMacro.swift:144:23: warning: 'IdentifierExprSyntax' is deprecated: renamed to 'DeclReferenceExprSyntax'
142 | typeIdentifier: typeIdentifier,
143 | unappliedMethodReference: MemberAccessExprSyntax(
144 | base: IdentifierExprSyntax(identifier: typeIdentifier),
| |- warning: 'IdentifierExprSyntax' is deprecated: renamed to 'DeclReferenceExprSyntax'
| `- note: use 'DeclReferenceExprSyntax' instead
145 | name: .keyword(.`init`),
146 | declNameArguments: DeclNameArgumentsSyntax(
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Macros/ProvideFixtureMacro.swift:144:23: warning: 'init(leadingTrivia:_:identifier:_:declNameArguments:_:trailingTrivia:)' is deprecated: renamed to 'DeclReferenceExprSyntax(leadingTrivia:_:baseName:_:argumentNames:_:trailingTrivia:)'
142 | typeIdentifier: typeIdentifier,
143 | unappliedMethodReference: MemberAccessExprSyntax(
144 | base: IdentifierExprSyntax(identifier: typeIdentifier),
| |- warning: 'init(leadingTrivia:_:identifier:_:declNameArguments:_:trailingTrivia:)' is deprecated: renamed to 'DeclReferenceExprSyntax(leadingTrivia:_:baseName:_:argumentNames:_:trailingTrivia:)'
| `- note: use 'DeclReferenceExprSyntax(leadingTrivia:_:baseName:_:argumentNames:_:trailingTrivia:)' instead
145 | name: .keyword(.`init`),
146 | declNameArguments: DeclNameArgumentsSyntax(
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Macros/ProvideFixtureMacro.swift:162:56: warning: 'input' is deprecated: renamed to 'parameterClause'
160 | init(decl: InitializerDeclSyntax, typeIdentifier: TokenSyntax) {
161 | let isThrowing = decl.signature.effectSpecifiers?.throwsSpecifier != nil
162 | let argumentLabels: [String?] = decl.signature.input.parameterList.map { parameter in
| |- warning: 'input' is deprecated: renamed to 'parameterClause'
| `- note: use 'parameterClause' instead
163 | switch parameter.firstName.tokenKind {
164 | case .identifier(let label):
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Macros/ProvideFixtureMacro.swift:162:62: warning: 'parameterList' is deprecated: renamed to 'parameters'
160 | init(decl: InitializerDeclSyntax, typeIdentifier: TokenSyntax) {
161 | let isThrowing = decl.signature.effectSpecifiers?.throwsSpecifier != nil
162 | let argumentLabels: [String?] = decl.signature.input.parameterList.map { parameter in
| |- warning: 'parameterList' is deprecated: renamed to 'parameters'
| `- note: use 'parameters' instead
163 | switch parameter.firstName.tokenKind {
164 | case .identifier(let label):
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Macros/RegisterMacro.swift:35:24: warning: 'IdentifierExprSyntax' is deprecated: renamed to 'DeclReferenceExprSyntax'
33 | // #initFixture(...)
34 | // }
35 | let valuesId = IdentifierExprSyntax(identifier: "values")
| |- warning: 'IdentifierExprSyntax' is deprecated: renamed to 'DeclReferenceExprSyntax'
| `- note: use 'DeclReferenceExprSyntax' instead
36 | let closure = try ClosureExprSyntax(simpleInput: [
37 | ClosureParamSyntax(name: valuesId.identifier)
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Macros/RegisterMacro.swift:35:24: warning: 'init(leadingTrivia:_:identifier:_:declNameArguments:_:trailingTrivia:)' is deprecated: renamed to 'DeclReferenceExprSyntax(leadingTrivia:_:baseName:_:argumentNames:_:trailingTrivia:)'
33 | // #initFixture(...)
34 | // }
35 | let valuesId = IdentifierExprSyntax(identifier: "values")
| |- warning: 'init(leadingTrivia:_:identifier:_:declNameArguments:_:trailingTrivia:)' is deprecated: renamed to 'DeclReferenceExprSyntax(leadingTrivia:_:baseName:_:argumentNames:_:trailingTrivia:)'
| `- note: use 'DeclReferenceExprSyntax(leadingTrivia:_:baseName:_:argumentNames:_:trailingTrivia:)' instead
36 | let closure = try ClosureExprSyntax(simpleInput: [
37 | ClosureParamSyntax(name: valuesId.identifier)
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Macros/RegisterMacro.swift:37:13: warning: 'ClosureParamSyntax' is deprecated: renamed to 'ClosureShorthandParameterSyntax'
35 | let valuesId = IdentifierExprSyntax(identifier: "values")
36 | let closure = try ClosureExprSyntax(simpleInput: [
37 | ClosureParamSyntax(name: valuesId.identifier)
| |- warning: 'ClosureParamSyntax' is deprecated: renamed to 'ClosureShorthandParameterSyntax'
| `- note: use 'ClosureShorthandParameterSyntax' instead
38 | ]) {
39 | try InitFixtureMacro.expansion(
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Macros/RegisterMacro.swift:37:47: warning: 'identifier' is deprecated: renamed to 'baseName'
35 | let valuesId = IdentifierExprSyntax(identifier: "values")
36 | let closure = try ClosureExprSyntax(simpleInput: [
37 | ClosureParamSyntax(name: valuesId.identifier)
| |- warning: 'identifier' is deprecated: renamed to 'baseName'
| `- note: use 'baseName' instead
38 | ]) {
39 | try InitFixtureMacro.expansion(
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Macros/RegisterMacro.swift:46:16: warning: 'init(leadingTrivia:_:calledExpression:_:leftParen:_:argumentList:_:rightParen:_:trailingClosure:_:additionalTrailingClosures:_:trailingTrivia:)' is deprecated: renamed to 'FunctionCallExprSyntax(leadingTrivia:_:calledExpression:_:leftParen:_:arguments:_:rightParen:_:trailingClosure:_:additionalTrailingClosures:_:trailingTrivia:)'
44 |
45 | // fixture.register(MyType.self) { values in ... }
46 | return FunctionCallExprSyntax(
| |- warning: 'init(leadingTrivia:_:calledExpression:_:leftParen:_:argumentList:_:rightParen:_:trailingClosure:_:additionalTrailingClosures:_:trailingTrivia:)' is deprecated: renamed to 'FunctionCallExprSyntax(leadingTrivia:_:calledExpression:_:leftParen:_:arguments:_:rightParen:_:trailingClosure:_:additionalTrailingClosures:_:trailingTrivia:)'
| `- note: use 'FunctionCallExprSyntax(leadingTrivia:_:calledExpression:_:leftParen:_:arguments:_:rightParen:_:trailingClosure:_:additionalTrailingClosures:_:trailingTrivia:)' instead
47 | calledExpression: MemberAccessExprSyntax(base: fixture, name: "register"),
48 | leftParen: .leftParenToken(),
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Macros/RegisterMacro.swift:49:28: warning: 'TupleExprElementSyntax' is deprecated: renamed to 'LabeledExprSyntax'
47 | calledExpression: MemberAccessExprSyntax(base: fixture, name: "register"),
48 | leftParen: .leftParenToken(),
49 | argumentList: [TupleExprElementSyntax(expression: type)],
| |- warning: 'TupleExprElementSyntax' is deprecated: renamed to 'LabeledExprSyntax'
| `- note: use 'LabeledExprSyntax' instead
50 | rightParen: .rightParenToken(),
51 | trailingClosure: closure
[233/236] Compiling SwiftFixtureMacros RegisterMacro.swift
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Macros/ProvideFixtureMacro.swift:6:49: error: cannot find type 'ConformanceMacro' in scope
4 | import SwiftSyntaxMacros
5 |
6 | public struct ProvideFixtureMacro: MemberMacro, ConformanceMacro {
| `- error: cannot find type 'ConformanceMacro' in scope
7 | /// A type that describes the initializer to be called in the `FixtureProviding.provideFixture(using:)` implementation
8 | struct InitializerContext {
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Macros/ProvideFixtureMacro.swift:24:24: warning: 'IdentifierExprSyntax' is deprecated: renamed to 'DeclReferenceExprSyntax'
22 | // Create the provideFixture implementation calling through to the initialiser
23 | // public static func provideFixture(using values: ValueProvider) throws -> Self { ... }
24 | let valuesId = IdentifierExprSyntax(identifier: "values")
| |- warning: 'IdentifierExprSyntax' is deprecated: renamed to 'DeclReferenceExprSyntax'
| `- note: use 'DeclReferenceExprSyntax' instead
25 | let functionDecl = try FunctionDeclSyntax(
26 | "public static func provideFixture(using \(valuesId): ValueProvider) throws -> \(context.typeIdentifier)"
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Macros/ProvideFixtureMacro.swift:24:24: warning: 'init(leadingTrivia:_:identifier:_:declNameArguments:_:trailingTrivia:)' is deprecated: renamed to 'DeclReferenceExprSyntax(leadingTrivia:_:baseName:_:argumentNames:_:trailingTrivia:)'
22 | // Create the provideFixture implementation calling through to the initialiser
23 | // public static func provideFixture(using values: ValueProvider) throws -> Self { ... }
24 | let valuesId = IdentifierExprSyntax(identifier: "values")
| |- warning: 'init(leadingTrivia:_:identifier:_:declNameArguments:_:trailingTrivia:)' is deprecated: renamed to 'DeclReferenceExprSyntax(leadingTrivia:_:baseName:_:argumentNames:_:trailingTrivia:)'
| `- note: use 'DeclReferenceExprSyntax(leadingTrivia:_:baseName:_:argumentNames:_:trailingTrivia:)' instead
25 | let functionDecl = try FunctionDeclSyntax(
26 | "public static func provideFixture(using \(valuesId): ValueProvider) throws -> \(context.typeIdentifier)"
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Macros/ProvideFixtureMacro.swift:95:25: warning: 'bindingKeyword' is deprecated: renamed to 'bindingSpecifier'
93 |
94 | // for let keywords without initializer values
95 | if variable.bindingKeyword.tokenKind == .keyword(.let) {
| |- warning: 'bindingKeyword' is deprecated: renamed to 'bindingSpecifier'
| `- note: use 'bindingSpecifier' instead
96 | for binding in variable.bindings where binding.initializer == nil {
97 | guard let identifier = binding.pattern.as(IdentifierPatternSyntax.self) else { continue }
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Macros/ProvideFixtureMacro.swift:103:25: warning: 'bindingKeyword' is deprecated: renamed to 'bindingSpecifier'
101 |
102 | // for non-computed vars
103 | if variable.bindingKeyword.tokenKind == .keyword(.var) {
| |- warning: 'bindingKeyword' is deprecated: renamed to 'bindingSpecifier'
| `- note: use 'bindingSpecifier' instead
104 | for binding in variable.bindings where binding.accessor == nil {
105 | guard let identifier = binding.pattern.as(IdentifierPatternSyntax.self) else { continue }
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Macros/ProvideFixtureMacro.swift:104:64: warning: 'accessor' is deprecated: renamed to 'accessorBlock'
102 | // for non-computed vars
103 | if variable.bindingKeyword.tokenKind == .keyword(.var) {
104 | for binding in variable.bindings where binding.accessor == nil {
| |- warning: 'accessor' is deprecated: renamed to 'accessorBlock'
| `- note: use 'accessorBlock' instead
105 | guard let identifier = binding.pattern.as(IdentifierPatternSyntax.self) else { continue }
106 | labels.append(identifier.identifier.text)
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Macros/ProvideFixtureMacro.swift:117:25: warning: 'identifier' is deprecated: renamed to 'name'
115 | // Take the type identifier from the declaration
116 | let token = if let declaration = declaration.as(StructDeclSyntax.self) {
117 | declaration.identifier
| |- warning: 'identifier' is deprecated: renamed to 'name'
| `- note: use 'name' instead
118 | } else if let declaration = declaration.as(EnumDeclSyntax.self) {
119 | declaration.identifier
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Macros/ProvideFixtureMacro.swift:119:25: warning: 'identifier' is deprecated: renamed to 'name'
117 | declaration.identifier
118 | } else if let declaration = declaration.as(EnumDeclSyntax.self) {
119 | declaration.identifier
| |- warning: 'identifier' is deprecated: renamed to 'name'
| `- note: use 'name' instead
120 | } else if let declaration = declaration.as(ClassDeclSyntax.self) {
121 | declaration.identifier
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Macros/ProvideFixtureMacro.swift:121:25: warning: 'identifier' is deprecated: renamed to 'name'
119 | declaration.identifier
120 | } else if let declaration = declaration.as(ClassDeclSyntax.self) {
121 | declaration.identifier
| |- warning: 'identifier' is deprecated: renamed to 'name'
| `- note: use 'name' instead
122 | } else {
123 | throw DiagnosticsError(diagnostics: [
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Macros/ProvideFixtureMacro.swift:143:39: warning: 'init(leadingTrivia:_:base:_:dot:_:name:_:declNameArguments:_:trailingTrivia:)' is deprecated: Use initializer taking `DeclReferenceExprSyntax` instead
141 | self.init(
142 | typeIdentifier: typeIdentifier,
143 | unappliedMethodReference: MemberAccessExprSyntax(
| `- warning: 'init(leadingTrivia:_:base:_:dot:_:name:_:declNameArguments:_:trailingTrivia:)' is deprecated: Use initializer taking `DeclReferenceExprSyntax` instead
144 | base: IdentifierExprSyntax(identifier: typeIdentifier),
145 | name: .keyword(.`init`),
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Macros/ProvideFixtureMacro.swift:144:23: warning: 'IdentifierExprSyntax' is deprecated: renamed to 'DeclReferenceExprSyntax'
142 | typeIdentifier: typeIdentifier,
143 | unappliedMethodReference: MemberAccessExprSyntax(
144 | base: IdentifierExprSyntax(identifier: typeIdentifier),
| |- warning: 'IdentifierExprSyntax' is deprecated: renamed to 'DeclReferenceExprSyntax'
| `- note: use 'DeclReferenceExprSyntax' instead
145 | name: .keyword(.`init`),
146 | declNameArguments: DeclNameArgumentsSyntax(
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Macros/ProvideFixtureMacro.swift:144:23: warning: 'init(leadingTrivia:_:identifier:_:declNameArguments:_:trailingTrivia:)' is deprecated: renamed to 'DeclReferenceExprSyntax(leadingTrivia:_:baseName:_:argumentNames:_:trailingTrivia:)'
142 | typeIdentifier: typeIdentifier,
143 | unappliedMethodReference: MemberAccessExprSyntax(
144 | base: IdentifierExprSyntax(identifier: typeIdentifier),
| |- warning: 'init(leadingTrivia:_:identifier:_:declNameArguments:_:trailingTrivia:)' is deprecated: renamed to 'DeclReferenceExprSyntax(leadingTrivia:_:baseName:_:argumentNames:_:trailingTrivia:)'
| `- note: use 'DeclReferenceExprSyntax(leadingTrivia:_:baseName:_:argumentNames:_:trailingTrivia:)' instead
145 | name: .keyword(.`init`),
146 | declNameArguments: DeclNameArgumentsSyntax(
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Macros/ProvideFixtureMacro.swift:162:56: warning: 'input' is deprecated: renamed to 'parameterClause'
160 | init(decl: InitializerDeclSyntax, typeIdentifier: TokenSyntax) {
161 | let isThrowing = decl.signature.effectSpecifiers?.throwsSpecifier != nil
162 | let argumentLabels: [String?] = decl.signature.input.parameterList.map { parameter in
| |- warning: 'input' is deprecated: renamed to 'parameterClause'
| `- note: use 'parameterClause' instead
163 | switch parameter.firstName.tokenKind {
164 | case .identifier(let label):
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Macros/ProvideFixtureMacro.swift:162:62: warning: 'parameterList' is deprecated: renamed to 'parameters'
160 | init(decl: InitializerDeclSyntax, typeIdentifier: TokenSyntax) {
161 | let isThrowing = decl.signature.effectSpecifiers?.throwsSpecifier != nil
162 | let argumentLabels: [String?] = decl.signature.input.parameterList.map { parameter in
| |- warning: 'parameterList' is deprecated: renamed to 'parameters'
| `- note: use 'parameters' instead
163 | switch parameter.firstName.tokenKind {
164 | case .identifier(let label):
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Macros/RegisterMacro.swift:35:24: warning: 'IdentifierExprSyntax' is deprecated: renamed to 'DeclReferenceExprSyntax'
33 | // #initFixture(...)
34 | // }
35 | let valuesId = IdentifierExprSyntax(identifier: "values")
| |- warning: 'IdentifierExprSyntax' is deprecated: renamed to 'DeclReferenceExprSyntax'
| `- note: use 'DeclReferenceExprSyntax' instead
36 | let closure = try ClosureExprSyntax(simpleInput: [
37 | ClosureParamSyntax(name: valuesId.identifier)
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Macros/RegisterMacro.swift:35:24: warning: 'init(leadingTrivia:_:identifier:_:declNameArguments:_:trailingTrivia:)' is deprecated: renamed to 'DeclReferenceExprSyntax(leadingTrivia:_:baseName:_:argumentNames:_:trailingTrivia:)'
33 | // #initFixture(...)
34 | // }
35 | let valuesId = IdentifierExprSyntax(identifier: "values")
| |- warning: 'init(leadingTrivia:_:identifier:_:declNameArguments:_:trailingTrivia:)' is deprecated: renamed to 'DeclReferenceExprSyntax(leadingTrivia:_:baseName:_:argumentNames:_:trailingTrivia:)'
| `- note: use 'DeclReferenceExprSyntax(leadingTrivia:_:baseName:_:argumentNames:_:trailingTrivia:)' instead
36 | let closure = try ClosureExprSyntax(simpleInput: [
37 | ClosureParamSyntax(name: valuesId.identifier)
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Macros/RegisterMacro.swift:37:13: warning: 'ClosureParamSyntax' is deprecated: renamed to 'ClosureShorthandParameterSyntax'
35 | let valuesId = IdentifierExprSyntax(identifier: "values")
36 | let closure = try ClosureExprSyntax(simpleInput: [
37 | ClosureParamSyntax(name: valuesId.identifier)
| |- warning: 'ClosureParamSyntax' is deprecated: renamed to 'ClosureShorthandParameterSyntax'
| `- note: use 'ClosureShorthandParameterSyntax' instead
38 | ]) {
39 | try InitFixtureMacro.expansion(
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Macros/RegisterMacro.swift:37:47: warning: 'identifier' is deprecated: renamed to 'baseName'
35 | let valuesId = IdentifierExprSyntax(identifier: "values")
36 | let closure = try ClosureExprSyntax(simpleInput: [
37 | ClosureParamSyntax(name: valuesId.identifier)
| |- warning: 'identifier' is deprecated: renamed to 'baseName'
| `- note: use 'baseName' instead
38 | ]) {
39 | try InitFixtureMacro.expansion(
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Macros/RegisterMacro.swift:46:16: warning: 'init(leadingTrivia:_:calledExpression:_:leftParen:_:argumentList:_:rightParen:_:trailingClosure:_:additionalTrailingClosures:_:trailingTrivia:)' is deprecated: renamed to 'FunctionCallExprSyntax(leadingTrivia:_:calledExpression:_:leftParen:_:arguments:_:rightParen:_:trailingClosure:_:additionalTrailingClosures:_:trailingTrivia:)'
44 |
45 | // fixture.register(MyType.self) { values in ... }
46 | return FunctionCallExprSyntax(
| |- warning: 'init(leadingTrivia:_:calledExpression:_:leftParen:_:argumentList:_:rightParen:_:trailingClosure:_:additionalTrailingClosures:_:trailingTrivia:)' is deprecated: renamed to 'FunctionCallExprSyntax(leadingTrivia:_:calledExpression:_:leftParen:_:arguments:_:rightParen:_:trailingClosure:_:additionalTrailingClosures:_:trailingTrivia:)'
| `- note: use 'FunctionCallExprSyntax(leadingTrivia:_:calledExpression:_:leftParen:_:arguments:_:rightParen:_:trailingClosure:_:additionalTrailingClosures:_:trailingTrivia:)' instead
47 | calledExpression: MemberAccessExprSyntax(base: fixture, name: "register"),
48 | leftParen: .leftParenToken(),
/host/spi-builder-workspace/Sources/SwiftFixtureMacros/Macros/RegisterMacro.swift:49:28: warning: 'TupleExprElementSyntax' is deprecated: renamed to 'LabeledExprSyntax'
47 | calledExpression: MemberAccessExprSyntax(base: fixture, name: "register"),
48 | leftParen: .leftParenToken(),
49 | argumentList: [TupleExprElementSyntax(expression: type)],
| |- warning: 'TupleExprElementSyntax' is deprecated: renamed to 'LabeledExprSyntax'
| `- note: use 'LabeledExprSyntax' instead
50 | rightParen: .rightParenToken(),
51 | trailingClosure: closure
BUILD FAILURE 6.0 linux