Build Information
Failed to build swift-mock, reference 0.8.0 (54b3e1), with Swift 6.1 for Wasm on 28 May 2025 23:42:11 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MetalheadSanya/swift-mock.git
Reference: 0.8.0
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/MetalheadSanya/swift-mock
* tag 0.8.0 -> FETCH_HEAD
HEAD is now at 54b3e1b Merge pull request #62 from MetalheadSanya/57-point-verify-failure-to-verify-call
Cloned https://github.com/MetalheadSanya/swift-mock.git
Revision (git rev-parse @):
54b3e1b980e0383f0d9cf09335b6b5f1c11bfab5
SUCCESS checkout https://github.com/MetalheadSanya/swift-mock.git at 0.8.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/MetalheadSanya/swift-mock.git
https://github.com/MetalheadSanya/swift-mock.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
},
{
"identity" : "swift-syntax",
"requirement" : {
"range" : [
{
"lower_bound" : "509.0.0",
"upper_bound" : "510.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-syntax.git"
}
],
"manifest_display_name" : "swift-mock",
"name" : "swift-mock",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "maccatalyst",
"version" : "13.0"
}
],
"products" : [
{
"name" : "SwiftMock",
"targets" : [
"SwiftMock"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwiftMockConfiguration",
"targets" : [
"SwiftMockConfiguration"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwiftMockClient",
"targets" : [
"SwiftMockClient"
],
"type" : {
"executable" : null
}
},
{
"name" : "SwiftMockMacros",
"targets" : [
"SwiftMockMacros"
],
"type" : {
"macro" : null
}
}
],
"targets" : [
{
"c99name" : "SwiftMockTests",
"module_type" : "SwiftTarget",
"name" : "SwiftMockTests",
"path" : "Tests/SwiftMockTests",
"product_dependencies" : [
"SwiftSyntaxMacrosTestSupport"
],
"sources" : [
"ArgumentMatcherTests.swift",
"AssociatedTypeStubbingTests.swift",
"InOrderTests.swift",
"Macro/MockMacroAssociatedTypesTests.swift",
"Macro/MockMacroAttributeTests.swift",
"Macro/MockMacroDiagnosticTests.swift",
"Macro/MockMacroGenericMethodTests.swift",
"Macro/MockMacroMethodAttributeTests.swift",
"Macro/MockMacroMethodTests.swift",
"Macro/MockMacroSubscriptTests.swift",
"Macro/MockMacroTests.swift",
"MethodStubbingTests.swift",
"PropertyStubbingTests.swift",
"SubscriptStubbingTests.swift",
"VerifyTests.swift"
],
"target_dependencies" : [
"SwiftMock",
"SwiftMockMacros",
"SwiftMockConfiguration"
],
"type" : "test"
},
{
"c99name" : "SwiftMockMacros",
"module_type" : "SwiftTarget",
"name" : "SwiftMockMacros",
"path" : "Sources/SwiftMockMacros",
"product_dependencies" : [
"SwiftSyntaxMacros",
"SwiftCompilerPlugin"
],
"product_memberships" : [
"SwiftMock",
"SwiftMockConfiguration",
"SwiftMockClient",
"SwiftMockMacros"
],
"sources" : [
"Constants.swift",
"Diagnostic/DiagnosticError.swift",
"Diagnostic/FunctionDiagnostic.swift",
"Diagnostic/PropertyDiagnostic.swift",
"Diagnostic/ProtocolDiagnostic.swift",
"General.swift",
"Message.swift",
"Processor/AssociatedTypeProcessor.swift",
"Processor/MethodProcessor.swift",
"Property.swift",
"Protocol.swift",
"Subscript.swift",
"SwiftMockMacro.swift",
"SwiftSyntaxExtensions/AccessorDeclSyntax.swift",
"SwiftSyntaxExtensions/AttributeListSyntax.Element.swift",
"SwiftSyntaxExtensions/DeclModifierSyntax.swift",
"SwiftSyntaxExtensions/FunctionDeclSyntax.swift",
"SwiftSyntaxExtensions/FunctionSignatureSyntax.swift",
"SwiftSyntaxExtensions/GenericParameterSyntax.swift",
"SwiftSyntaxExtensions/InheritanceClauseSyntax.swift",
"SwiftSyntaxExtensions/ProtocolDeclSyntax.swift",
"SwiftSyntaxExtensions/SubscriptDeclSyntax.swift",
"SwiftSyntaxExtensions/TokenSyntax.swift",
"SwiftSyntaxExtensions/TypeSyntax.swift",
"Verify.swift"
],
"type" : "macro"
},
{
"c99name" : "SwiftMockConfiguration",
"module_type" : "SwiftTarget",
"name" : "SwiftMockConfiguration",
"path" : "Sources/SwiftMockConfiguration",
"product_memberships" : [
"SwiftMockConfiguration"
],
"sources" : [
"Configuration.swift"
],
"target_dependencies" : [
"SwiftMock"
],
"type" : "library"
},
{
"c99name" : "SwiftMockClient",
"module_type" : "SwiftTarget",
"name" : "SwiftMockClient",
"path" : "Sources/SwiftMockClient",
"product_dependencies" : [
"SwiftCompilerPlugin"
],
"product_memberships" : [
"SwiftMockClient"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"SwiftMock"
],
"type" : "executable"
},
{
"c99name" : "SwiftMock",
"module_type" : "SwiftTarget",
"name" : "SwiftMock",
"path" : "Sources/SwiftMock",
"product_memberships" : [
"SwiftMock",
"SwiftMockConfiguration",
"SwiftMockClient"
],
"sources" : [
"ArgumentMatcher/Any.swift",
"ArgumentMatcher/ArgumentMatcher.swift",
"ArgumentMatcher/ArgumentMatcherAnd.swift",
"ArgumentMatcher/ArgumentMatcherOr.swift",
"ArgumentMatcher/Equal.swift",
"ArgumentMatcher/IsNil.swift",
"ArgumentMatcher/IsNotNil.swift",
"ArgumentMatcher/LessThan.swift",
"ArgumentMatcher/MoreThan.swift",
"ArgumentMatcher/Zip.swift",
"Functions.swift",
"InOrder/InOrder.swift",
"InOrder/InOrderContainer.swift",
"Parameter/NonEscapingFunction.swift",
"SwiftMock.swift",
"TimesMatcher/AtLeast.swift",
"TimesMatcher/AtMost.swift",
"TimesMatcher/Never.swift",
"TimesMatcher/Times.swift",
"TimesMatcher/TimesMatcher.swift",
"TimesMatcher/TimesMatcherAnd.swift",
"TimesMatcher/TimesMatcherOr.swift",
"Verify/Container.swift",
"Verify/MethodCall.swift",
"Verify/Verifiable.swift",
"Verify/VerifyContainer.swift",
"When/AsyncMethodInvocation.swift",
"When/AsyncMethodInvocationBuilder.swift",
"When/AsyncMethodInvocationContainer.swift",
"When/AsyncMethodSignature.swift",
"When/AsyncRethrowsMethodInvocation.swift",
"When/AsyncRethrowsMethodInvocationBuilder.swift",
"When/AsyncRethrowsMethodInvocationContainer.swift",
"When/AsyncRethrowsMethodSignature.swift",
"When/AsyncThrowsMethodInvocation.swift",
"When/AsyncThrowsMethodInvocationBuilder.swift",
"When/AsyncThrowsMethodInvocationContainer.swift",
"When/AsyncThrowsMethosSignature.swift",
"When/MethodInvocation.swift",
"When/MethodInvocationBuilder.swift",
"When/MethodInvocationContainer.swift",
"When/MethodSignature.swift",
"When/RethrowsMethodInvocation.swift",
"When/RethrowsMethodInvocationBuilder.swift",
"When/RethrowsMethodInvocationContainer.swift",
"When/RethrowsMethodSignature.swift",
"When/ThrowsMethodInvocation.swift",
"When/ThrowsMethodInvocationBuilder.swift",
"When/ThrowsMethodInvocationContainer.swift",
"When/ThrowsMethodSignature.swift"
],
"target_dependencies" : [
"SwiftMockMacros"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/apple/swift-docc-plugin
[1/2049] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (0.76s)
[1/70452] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (6.33s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.1.1 (9.50s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (1.20s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3391] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.58s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.74s)
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 509.1.1
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/64] Write sources
[32/64] Write swift-version-24593BA9C3E375BF.txt
[34/68] Compiling SwiftSyntax509 Empty.swift
[35/68] Emitting module SwiftSyntax509
[37/69] Compiling SwiftSyntax509 Empty.swift
[39/70] Wrapping AST for SwiftSyntax509 for debugging
[42/160] Compiling SwiftSyntax SyntaxText.swift
[43/160] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[44/160] Compiling SwiftSyntax TokenDiagnostic.swift
[45/160] Compiling SwiftSyntax TokenSyntax.swift
[46/160] Compiling SwiftSyntax Trivia.swift
[47/160] Compiling SwiftSyntax Utils.swift
[48/166] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[49/166] Compiling SwiftSyntax Syntax.swift
[50/166] Compiling SwiftSyntax SyntaxArena.swift
[51/166] Compiling SwiftSyntax SyntaxChildren.swift
[52/166] Compiling SwiftSyntax SyntaxCollection.swift
[53/166] Compiling SwiftSyntax SyntaxData.swift
[54/166] Compiling SwiftSyntax SyntaxCollections.swift
[55/166] Compiling SwiftSyntax SyntaxEnum.swift
[56/166] Compiling SwiftSyntax SyntaxKind.swift
[57/166] Compiling SwiftSyntax SyntaxRewriter.swift
[58/166] Compiling SwiftSyntax SyntaxTraits.swift
[59/166] Compiling SwiftSyntax SyntaxTransform.swift
[60/172] Compiling SwiftSyntax SyntaxVisitor.swift
[61/172] Compiling SwiftSyntax TokenKind.swift
[62/172] Compiling SwiftSyntax Tokens.swift
[63/172] Compiling SwiftSyntax TriviaPieces.swift
[64/172] Compiling SwiftSyntax RawSyntaxNodes.swift
[65/172] Compiling SwiftSyntax RawSyntaxValidation.swift
[66/172] Compiling SwiftSyntax AbsolutePosition.swift
[67/172] Compiling SwiftSyntax Assert.swift
[68/172] Compiling SwiftSyntax BumpPtrAllocator.swift
[69/172] Compiling SwiftSyntax CommonAncestor.swift
[70/172] Compiling SwiftSyntax Convenience.swift
[71/172] Compiling SwiftSyntax MemoryLayout.swift
[72/172] Compiling SwiftSyntax MissingNodeInitializers.swift
[73/172] Compiling SwiftSyntax RawSyntax.swift
[74/172] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[75/172] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[76/172] Compiling SwiftSyntax RawSyntaxTokenView.swift
[77/172] Compiling SwiftSyntax SourceLength.swift
[78/172] Compiling SwiftSyntax SourceLocation.swift
[79/172] Compiling SwiftSyntax SourcePresence.swift
[80/172] Emitting module SwiftSyntax
[82/172] Compiling SwiftSyntax ChildNameForKeyPath.swift
[83/172] Compiling SwiftSyntax Keyword.swift
[84/172] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[85/172] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[86/172] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[87/172] Compiling SwiftSyntax SyntaxBaseNodes.swift
[88/172] Compiling SwiftSyntax SyntaxDeclNodes.swift
[89/172] Compiling SwiftSyntax SyntaxExprNodes.swift
[90/172] Compiling SwiftSyntax SyntaxNodes.swift
[91/172] Compiling SwiftSyntax SyntaxPatternNodes.swift
[92/172] Compiling SwiftSyntax SyntaxStmtNodes.swift
[93/172] Compiling SwiftSyntax SyntaxTypeNodes.swift
[132/173] Wrapping AST for SwiftSyntax for debugging
[134/224] Compiling SwiftDiagnostics Note.swift
[135/224] Compiling SwiftDiagnostics Message.swift
[136/224] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[137/224] Compiling SwiftBasicFormat Syntax+Extensions.swift
[138/224] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[139/224] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[140/224] Compiling SwiftDiagnostics FixIt.swift
[141/224] Compiling SwiftDiagnostics Diagnostic.swift
[142/224] Compiling SwiftDiagnostics Convenience.swift
[143/224] Emitting module SwiftDiagnostics
[144/224] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[145/225] Emitting module SwiftBasicFormat
[146/225] Compiling SwiftBasicFormat BasicFormat.swift
[148/226] Wrapping AST for SwiftBasicFormat for debugging
[149/226] Wrapping AST for SwiftDiagnostics for debugging
[157/226] Compiling SwiftParser Lexer.swift
[158/226] Compiling SwiftParser RegexLiteralLexer.swift
[159/226] Compiling SwiftParser UnicodeScalarExtensions.swift
[160/226] Compiling SwiftParser Lookahead.swift
[161/226] Compiling SwiftParser LoopProgressCondition.swift
[164/227] Compiling SwiftParser TokenPrecedence.swift
[165/227] Compiling SwiftParser TokenSpec.swift
[166/227] Compiling SwiftParser TokenSpecSet.swift
[167/227] Compiling SwiftParser TopLevel.swift
[168/227] Compiling SwiftParser TriviaParser.swift
[169/227] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[170/227] Compiling SwiftParser StringLiterals.swift
[171/227] Compiling SwiftParser SwiftParserCompatibility.swift
[172/227] Compiling SwiftParser SyntaxUtils.swift
[173/227] Compiling SwiftParser TokenConsumer.swift
[173/270] Wrapping AST for SwiftSyntax for debugging
[175/283] Compiling SwiftDiagnostics Convenience.swift
[176/283] Emitting module SwiftBasicFormat
[177/283] Compiling SwiftDiagnostics Note.swift
[178/283] Compiling SwiftDiagnostics Message.swift
[179/283] Compiling SwiftParser Modifiers.swift
[180/283] Compiling SwiftParser Names.swift
[181/283] Compiling SwiftParser Nominals.swift
[182/283] Compiling SwiftParser Parameters.swift
[183/283] Compiling SwiftParser ParseSourceFile.swift
[184/283] Compiling SwiftParser TokenPrecedence.swift
[185/283] Compiling SwiftParser TokenSpec.swift
[186/283] Compiling SwiftParser TokenSpecSet.swift
[187/283] Compiling SwiftParser TopLevel.swift
[188/283] Compiling SwiftParser TriviaParser.swift
[189/283] Compiling SwiftParser Parser.swift
[190/283] Compiling SwiftParser Patterns.swift
[191/283] Compiling SwiftParser Recovery.swift
[192/283] Compiling SwiftParser Specifiers.swift
[193/283] Compiling SwiftParser Statements.swift
[194/283] Emitting module SwiftDiagnostics
[195/283] Compiling SwiftBasicFormat Syntax+Extensions.swift
[196/283] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[197/283] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[198/283] Emitting module SwiftParser
[199/283] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[200/283] Compiling SwiftDiagnostics FixIt.swift
[201/283] Compiling SwiftDiagnostics Diagnostic.swift
[202/283] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[204/284] Compiling SwiftBasicFormat BasicFormat.swift
[204/285] Wrapping AST for SwiftDiagnostics for debugging
[207/285] Compiling SwiftParser Attributes.swift
[208/285] Compiling SwiftParser Availability.swift
[209/285] Compiling SwiftParser CharacterInfo.swift
[210/285] Compiling SwiftParser CollectionNodes+Parsable.swift
[211/285] Compiling SwiftParser Declarations.swift
[212/285] Compiling SwiftParser Directives.swift
[213/285] Compiling SwiftParser ExperimentalFeatures.swift
[214/285] Compiling SwiftParser Expressions.swift
[215/285] Compiling SwiftParser IncrementalParseTransition.swift
[216/285] Compiling SwiftParser Cursor.swift
[217/285] Compiling SwiftParser Lexeme.swift
[218/285] Compiling SwiftParser LexemeSequence.swift
[219/285] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[220/285] Compiling SwiftParser StringLiterals.swift
[221/285] Compiling SwiftParser SwiftParserCompatibility.swift
[222/285] Compiling SwiftParser SyntaxUtils.swift
[223/285] Compiling SwiftParser TokenConsumer.swift
[223/290] Wrapping AST for SwiftBasicFormat for debugging
[230/290] Emitting module SwiftParser
[241/290] Compiling SwiftParser Lexer.swift
[242/290] Compiling SwiftParser RegexLiteralLexer.swift
[243/290] Compiling SwiftParser UnicodeScalarExtensions.swift
[244/290] Compiling SwiftParser Lookahead.swift
[245/290] Compiling SwiftParser LoopProgressCondition.swift
[252/290] Compiling SwiftParser Types.swift
[253/290] Compiling SwiftParser IsLexerClassified.swift
[254/290] Compiling SwiftParser LayoutNodes+Parsable.swift
[255/290] Compiling SwiftParser Parser+TokenSpecSet.swift
[256/290] Compiling SwiftParser TokenSpecStaticMembers.swift
[257/291] Wrapping AST for SwiftParser for debugging
[259/314] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[260/315] Compiling SwiftOperators PrecedenceGroup.swift
[261/316] Compiling SwiftOperators OperatorTable.swift
[262/316] Compiling SwiftOperators PrecedenceGraph.swift
[263/316] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[264/316] Compiling SwiftOperators OperatorTable+Folding.swift
[265/316] Emitting module SwiftOperators
[266/316] Compiling SwiftOperators OperatorTable+Semantics.swift
[267/316] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[268/316] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[269/316] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[270/316] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[271/316] Compiling SwiftOperators SyntaxSynthesis.swift
[272/317] Wrapping AST for SwiftOperators for debugging
[274/317] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[275/317] Compiling SwiftParserDiagnostics Utils.swift
[276/317] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[277/317] Emitting module SwiftParserDiagnostics
[278/317] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[279/317] Compiling SwiftParserDiagnostics PresenceUtils.swift
[280/317] Compiling SwiftParserDiagnostics MissingNodesError.swift
[281/317] Compiling SwiftParserDiagnostics MissingTokenError.swift
[293/318] Wrapping AST for SwiftParser for debugging
[295/341] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[296/342] Compiling SwiftOperators PrecedenceGraph.swift
[297/342] Compiling SwiftOperators PrecedenceGroup.swift
[298/343] Compiling SwiftOperators OperatorTable.swift
[299/343] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[300/343] Compiling SwiftParserDiagnostics PresenceUtils.swift
[301/343] Compiling SwiftParserDiagnostics MissingNodesError.swift
[302/343] Compiling SwiftParserDiagnostics MissingTokenError.swift
[303/344] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[305/344] Compiling SwiftOperators OperatorTable+Folding.swift
[306/344] Compiling SwiftOperators OperatorTable+Semantics.swift
[307/344] Compiling SwiftOperators SyntaxSynthesis.swift
[307/344] Wrapping AST for SwiftParserDiagnostics for debugging
[309/351] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[310/351] Compiling SwiftParserDiagnostics Utils.swift
[311/351] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[312/358] Emitting module SwiftParserDiagnostics
[313/358] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[314/358] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[315/358] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[316/358] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[319/358] Emitting module SwiftOperators
[320/359] Wrapping AST for SwiftOperators for debugging
[324/359] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[325/359] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[326/360] Emitting module SwiftSyntaxBuilder
[327/360] Compiling SwiftSyntaxBuilder Indenter.swift
[328/360] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[333/360] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[334/360] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[335/360] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[336/360] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[337/360] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[340/360] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[344/362] Wrapping AST for SwiftSyntaxBuilder for debugging
[345/362] Wrapping AST for SwiftParserDiagnostics for debugging
[347/390] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[348/390] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[349/391] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[350/391] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[351/391] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[352/391] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[353/391] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[354/391] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[355/391] Compiling SwiftSyntaxBuilder Indenter.swift
[356/391] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[357/391] Emitting module SwiftSyntaxMacros
[358/391] Compiling SwiftSyntaxMacros MemberMacro.swift
[359/391] Compiling SwiftSyntaxMacros PeerMacro.swift
[360/391] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[361/391] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[366/393] Wrapping AST for SwiftSyntaxMacros for debugging
[370/401] Emitting module SwiftSyntaxBuilder
[373/401] Emitting module SwiftSyntaxMacroExpansion
[374/401] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[375/401] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[376/401] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[377/401] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[378/401] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[379/401] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[380/401] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[385/401] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[387/402] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[387/406] Wrapping AST for SwiftSyntaxMacroExpansion for debugging
[389/410] Wrapping AST for SwiftSyntaxBuilder for debugging
[391/424] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[392/424] Emitting module SwiftCompilerPluginMessageHandling
[393/424] Compiling SwiftSyntaxMacros AccessorMacro.swift
[394/424] Compiling SwiftSyntaxMacros AttachedMacro.swift
[395/424] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[396/424] Compiling SwiftSyntaxMacros Macro+Format.swift
[397/424] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[398/424] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[399/424] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[400/424] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[401/425] Compiling SwiftSyntaxMacros Macro.swift
[402/425] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[403/425] Compiling SwiftSyntaxMacros MemberMacro.swift
[404/425] Compiling SwiftSyntaxMacros PeerMacro.swift
[405/425] Emitting module SwiftSyntaxMacros
[406/425] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[407/425] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[408/426] Wrapping AST for SwiftSyntaxMacros for debugging
[410/434] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[411/434] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[412/434] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[413/434] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[414/434] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[415/435] Wrapping AST for SwiftCompilerPluginMessageHandling for debugging
[417/435] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[418/435] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[419/437] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[420/437] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[421/437] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[422/437] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[423/437] Emitting module SwiftSyntaxMacroExpansion
[424/437] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[425/438] Wrapping AST for SwiftSyntaxMacroExpansion for debugging
[427/445] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[428/445] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[429/445] Emitting module SwiftCompilerPluginMessageHandling
[430/445] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[431/445] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[432/445] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[433/445] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[434/446] Wrapping AST for SwiftCompilerPluginMessageHandling for debugging
[436/446] Emitting module SwiftCompilerPlugin
[437/446] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[438/449] Wrapping AST for SwiftCompilerPlugin for debugging
[440/472] Compiling SwiftMockMacros AccessorDeclSyntax.swift
[441/472] Compiling SwiftMockMacros AttributeListSyntax.Element.swift
[442/472] Compiling SwiftMockMacros DeclModifierSyntax.swift
[443/475] Compiling SwiftMockMacros FunctionDeclSyntax.swift
[444/475] Compiling SwiftMockMacros FunctionSignatureSyntax.swift
[445/475] Compiling SwiftMockMacros GenericParameterSyntax.swift
[446/475] Compiling SwiftMockMacros InheritanceClauseSyntax.swift
[447/475] Compiling SwiftMockMacros ProtocolDeclSyntax.swift
[448/475] Compiling SwiftMockMacros SubscriptDeclSyntax.swift
[449/475] Emitting module SwiftMockMacros
/host/spi-builder-workspace/Sources/SwiftMockMacros/Constants.swift:4:5: warning: let 'voidType' is not concurrency-safe because non-'Sendable' type 'TypeSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
2 | import SwiftSyntaxBuilder
3 |
4 | let voidType: TypeSyntax = TypeSyntax(
| `- warning: let 'voidType' is not concurrency-safe because non-'Sendable' type 'TypeSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
5 | fromProtocol: IdentifierTypeSyntax(name: .identifier("Void"))
6 | )
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/generated/SyntaxBaseNodes.swift:613:15: note: struct 'TypeSyntax' does not conform to the 'Sendable' protocol
611 | }
612 |
613 | public struct TypeSyntax: TypeSyntaxProtocol, SyntaxHashable {
| `- note: struct 'TypeSyntax' does not conform to the 'Sendable' protocol
614 | public let _syntaxNode: Syntax
615 |
/host/spi-builder-workspace/Sources/SwiftMockMacros/Constants.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftSyntax'
1 | import SwiftSyntax
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftSyntax'
2 | import SwiftSyntaxBuilder
3 |
4 | let voidType: TypeSyntax = TypeSyntax(
| |- note: add '@MainActor' to make let 'voidType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | fromProtocol: IdentifierTypeSyntax(name: .identifier("Void"))
6 | )
/host/spi-builder-workspace/Sources/SwiftMockMacros/Constants.swift:8:5: warning: let 'emptyArrayExpt' is not concurrency-safe because non-'Sendable' type 'ExprSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
6 | )
7 |
8 | let emptyArrayExpt = ExprSyntax(
| |- warning: let 'emptyArrayExpt' is not concurrency-safe because non-'Sendable' type 'ExprSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'emptyArrayExpt' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | fromProtocol: ArrayExprSyntax(expressions: [])
10 | )
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/generated/SyntaxBaseNodes.swift:184:15: note: struct 'ExprSyntax' does not conform to the 'Sendable' protocol
182 | }
183 |
184 | public struct ExprSyntax: ExprSyntaxProtocol, SyntaxHashable {
| `- note: struct 'ExprSyntax' does not conform to the 'Sendable' protocol
185 | public let _syntaxNode: Syntax
186 |
/host/spi-builder-workspace/Sources/SwiftMockMacros/Constants.swift:12:5: warning: let 'privateModifier' is not concurrency-safe because non-'Sendable' type 'DeclModifierSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
10 | )
11 |
12 | let privateModifier = DeclModifierSyntax(name: .keyword(.private))
| |- warning: let 'privateModifier' is not concurrency-safe because non-'Sendable' type 'DeclModifierSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'privateModifier' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | let fileprivateModifier = DeclModifierSyntax(name: .keyword(.fileprivate))
14 | let internalModifier = DeclModifierSyntax(name: .keyword(.internal))
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/generated/syntaxNodes/SyntaxNodes.swift:5150:15: note: struct 'DeclModifierSyntax' does not conform to the 'Sendable' protocol
5148 | /// - ``AccessorDeclSyntax``.``AccessorDeclSyntax/modifier``
5149 | /// - ``DeclModifierListSyntax``
5150 | public struct DeclModifierSyntax: SyntaxProtocol, SyntaxHashable {
| `- note: struct 'DeclModifierSyntax' does not conform to the 'Sendable' protocol
5151 | public let _syntaxNode: Syntax
5152 |
/host/spi-builder-workspace/Sources/SwiftMockMacros/Constants.swift:13:5: warning: let 'fileprivateModifier' is not concurrency-safe because non-'Sendable' type 'DeclModifierSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | let privateModifier = DeclModifierSyntax(name: .keyword(.private))
13 | let fileprivateModifier = DeclModifierSyntax(name: .keyword(.fileprivate))
| |- warning: let 'fileprivateModifier' is not concurrency-safe because non-'Sendable' type 'DeclModifierSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'fileprivateModifier' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | let internalModifier = DeclModifierSyntax(name: .keyword(.internal))
15 |
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/generated/syntaxNodes/SyntaxNodes.swift:5150:15: note: struct 'DeclModifierSyntax' does not conform to the 'Sendable' protocol
5148 | /// - ``AccessorDeclSyntax``.``AccessorDeclSyntax/modifier``
5149 | /// - ``DeclModifierListSyntax``
5150 | public struct DeclModifierSyntax: SyntaxProtocol, SyntaxHashable {
| `- note: struct 'DeclModifierSyntax' does not conform to the 'Sendable' protocol
5151 | public let _syntaxNode: Syntax
5152 |
/host/spi-builder-workspace/Sources/SwiftMockMacros/Constants.swift:14:5: warning: let 'internalModifier' is not concurrency-safe because non-'Sendable' type 'DeclModifierSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
12 | let privateModifier = DeclModifierSyntax(name: .keyword(.private))
13 | let fileprivateModifier = DeclModifierSyntax(name: .keyword(.fileprivate))
14 | let internalModifier = DeclModifierSyntax(name: .keyword(.internal))
| |- warning: let 'internalModifier' is not concurrency-safe because non-'Sendable' type 'DeclModifierSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'internalModifier' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | let finalModifier = DeclModifierSyntax(name: .keyword(.final))
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/generated/syntaxNodes/SyntaxNodes.swift:5150:15: note: struct 'DeclModifierSyntax' does not conform to the 'Sendable' protocol
5148 | /// - ``AccessorDeclSyntax``.``AccessorDeclSyntax/modifier``
5149 | /// - ``DeclModifierListSyntax``
5150 | public struct DeclModifierSyntax: SyntaxProtocol, SyntaxHashable {
| `- note: struct 'DeclModifierSyntax' does not conform to the 'Sendable' protocol
5151 | public let _syntaxNode: Syntax
5152 |
/host/spi-builder-workspace/Sources/SwiftMockMacros/Constants.swift:16:5: warning: let 'finalModifier' is not concurrency-safe because non-'Sendable' type 'DeclModifierSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
14 | let internalModifier = DeclModifierSyntax(name: .keyword(.internal))
15 |
16 | let finalModifier = DeclModifierSyntax(name: .keyword(.final))
| |- warning: let 'finalModifier' is not concurrency-safe because non-'Sendable' type 'DeclModifierSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'finalModifier' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | let anyFunctionCallExpr = ExprSyntax(
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/generated/syntaxNodes/SyntaxNodes.swift:5150:15: note: struct 'DeclModifierSyntax' does not conform to the 'Sendable' protocol
5148 | /// - ``AccessorDeclSyntax``.``AccessorDeclSyntax/modifier``
5149 | /// - ``DeclModifierListSyntax``
5150 | public struct DeclModifierSyntax: SyntaxProtocol, SyntaxHashable {
| `- note: struct 'DeclModifierSyntax' does not conform to the 'Sendable' protocol
5151 | public let _syntaxNode: Syntax
5152 |
/host/spi-builder-workspace/Sources/SwiftMockMacros/Constants.swift:18:5: warning: let 'anyFunctionCallExpr' is not concurrency-safe because non-'Sendable' type 'ExprSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
16 | let finalModifier = DeclModifierSyntax(name: .keyword(.final))
17 |
18 | let anyFunctionCallExpr = ExprSyntax(
| |- warning: let 'anyFunctionCallExpr' is not concurrency-safe because non-'Sendable' type 'ExprSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'anyFunctionCallExpr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | fromProtocol: FunctionCallExprSyntax(
20 | calledExpression: DeclReferenceExprSyntax(
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/generated/SyntaxBaseNodes.swift:184:15: note: struct 'ExprSyntax' does not conform to the 'Sendable' protocol
182 | }
183 |
184 | public struct ExprSyntax: ExprSyntaxProtocol, SyntaxHashable {
| `- note: struct 'ExprSyntax' does not conform to the 'Sendable' protocol
185 | public let _syntaxNode: Syntax
186 |
/host/spi-builder-workspace/Sources/SwiftMockMacros/Constants.swift:28:5: warning: let 'escapingAttribute' is not concurrency-safe because non-'Sendable' type 'AttributeListSyntax.Element' may have shared mutable state; this is an error in the Swift 6 language mode
26 | )
27 |
28 | let escapingAttribute = AttributeListSyntax.Element.attribute(
| |- warning: let 'escapingAttribute' is not concurrency-safe because non-'Sendable' type 'AttributeListSyntax.Element' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'escapingAttribute' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | AttributeSyntax(
30 | attributeName: IdentifierTypeSyntax(
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/generated/SyntaxCollections.swift:106:15: note: enum 'Element' does not conform to the 'Sendable' protocol
104 | /// - ``VariableDeclSyntax``.``VariableDeclSyntax/attributes``
105 | public struct AttributeListSyntax: SyntaxCollection, SyntaxHashable {
106 | public enum Element: SyntaxChildChoices, SyntaxHashable {
| `- note: enum 'Element' does not conform to the 'Sendable' protocol
107 | case `attribute`(AttributeSyntax)
108 | case `ifConfigDecl`(IfConfigDeclSyntax)
/host/spi-builder-workspace/Sources/SwiftMockMacros/Diagnostic/DiagnosticError.swift:11:6: warning: stored property 'diagnostic' of 'Sendable'-conforming struct 'DiagnosticError' has non-sendable type 'Diagnostic'; this is an error in the Swift 6 language mode
9 |
10 | struct DiagnosticError: Error {
11 | let diagnostic: Diagnostic
| `- warning: stored property 'diagnostic' of 'Sendable'-conforming struct 'DiagnosticError' has non-sendable type 'Diagnostic'; this is an error in the Swift 6 language mode
12 | }
13 |
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftDiagnostics/Diagnostic.swift:15:15: note: struct 'Diagnostic' does not conform to the 'Sendable' protocol
13 | import SwiftSyntax
14 |
15 | public struct Diagnostic: CustomDebugStringConvertible {
| `- note: struct 'Diagnostic' does not conform to the 'Sendable' protocol
16 | /// The message that should be displayed to the user
17 | public let diagMessage: DiagnosticMessage
/host/spi-builder-workspace/Sources/SwiftMockMacros/Diagnostic/DiagnosticError.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftDiagnostics'
6 | //
7 |
8 | import SwiftDiagnostics
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftDiagnostics'
9 |
10 | struct DiagnosticError: Error {
[450/475] Compiling SwiftMockMacros ProtocolDiagnostic.swift
[451/475] Compiling SwiftMockMacros General.swift
[452/475] Compiling SwiftMockMacros Message.swift
[453/475] Compiling SwiftMockMacros TokenSyntax.swift
[454/475] Compiling SwiftMockMacros TypeSyntax.swift
[455/475] Compiling SwiftMockMacros Verify.swift
[456/475] Compiling SwiftMockMacros AssociatedTypeProcessor.swift
[457/475] Compiling SwiftMockMacros MethodProcessor.swift
[458/475] Compiling SwiftMockMacros Property.swift
[459/475] Compiling SwiftMockMacros Constants.swift
/host/spi-builder-workspace/Sources/SwiftMockMacros/Constants.swift:4:5: warning: let 'voidType' is not concurrency-safe because non-'Sendable' type 'TypeSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
2 | import SwiftSyntaxBuilder
3 |
4 | let voidType: TypeSyntax = TypeSyntax(
| `- warning: let 'voidType' is not concurrency-safe because non-'Sendable' type 'TypeSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
5 | fromProtocol: IdentifierTypeSyntax(name: .identifier("Void"))
6 | )
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/generated/SyntaxBaseNodes.swift:613:15: note: struct 'TypeSyntax' does not conform to the 'Sendable' protocol
611 | }
612 |
613 | public struct TypeSyntax: TypeSyntaxProtocol, SyntaxHashable {
| `- note: struct 'TypeSyntax' does not conform to the 'Sendable' protocol
614 | public let _syntaxNode: Syntax
615 |
/host/spi-builder-workspace/Sources/SwiftMockMacros/Constants.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftSyntax'
1 | import SwiftSyntax
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftSyntax'
2 | import SwiftSyntaxBuilder
3 |
4 | let voidType: TypeSyntax = TypeSyntax(
| |- note: add '@MainActor' to make let 'voidType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | fromProtocol: IdentifierTypeSyntax(name: .identifier("Void"))
6 | )
/host/spi-builder-workspace/Sources/SwiftMockMacros/Constants.swift:8:5: warning: let 'emptyArrayExpt' is not concurrency-safe because non-'Sendable' type 'ExprSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
6 | )
7 |
8 | let emptyArrayExpt = ExprSyntax(
| |- warning: let 'emptyArrayExpt' is not concurrency-safe because non-'Sendable' type 'ExprSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'emptyArrayExpt' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | fromProtocol: ArrayExprSyntax(expressions: [])
10 | )
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/generated/SyntaxBaseNodes.swift:184:15: note: struct 'ExprSyntax' does not conform to the 'Sendable' protocol
182 | }
183 |
184 | public struct ExprSyntax: ExprSyntaxProtocol, SyntaxHashable {
| `- note: struct 'ExprSyntax' does not conform to the 'Sendable' protocol
185 | public let _syntaxNode: Syntax
186 |
/host/spi-builder-workspace/Sources/SwiftMockMacros/Constants.swift:12:5: warning: let 'privateModifier' is not concurrency-safe because non-'Sendable' type 'DeclModifierSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
10 | )
11 |
12 | let privateModifier = DeclModifierSyntax(name: .keyword(.private))
| |- warning: let 'privateModifier' is not concurrency-safe because non-'Sendable' type 'DeclModifierSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'privateModifier' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | let fileprivateModifier = DeclModifierSyntax(name: .keyword(.fileprivate))
14 | let internalModifier = DeclModifierSyntax(name: .keyword(.internal))
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/generated/syntaxNodes/SyntaxNodes.swift:5150:15: note: struct 'DeclModifierSyntax' does not conform to the 'Sendable' protocol
5148 | /// - ``AccessorDeclSyntax``.``AccessorDeclSyntax/modifier``
5149 | /// - ``DeclModifierListSyntax``
5150 | public struct DeclModifierSyntax: SyntaxProtocol, SyntaxHashable {
| `- note: struct 'DeclModifierSyntax' does not conform to the 'Sendable' protocol
5151 | public let _syntaxNode: Syntax
5152 |
/host/spi-builder-workspace/Sources/SwiftMockMacros/Constants.swift:13:5: warning: let 'fileprivateModifier' is not concurrency-safe because non-'Sendable' type 'DeclModifierSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | let privateModifier = DeclModifierSyntax(name: .keyword(.private))
13 | let fileprivateModifier = DeclModifierSyntax(name: .keyword(.fileprivate))
| |- warning: let 'fileprivateModifier' is not concurrency-safe because non-'Sendable' type 'DeclModifierSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'fileprivateModifier' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | let internalModifier = DeclModifierSyntax(name: .keyword(.internal))
15 |
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/generated/syntaxNodes/SyntaxNodes.swift:5150:15: note: struct 'DeclModifierSyntax' does not conform to the 'Sendable' protocol
5148 | /// - ``AccessorDeclSyntax``.``AccessorDeclSyntax/modifier``
5149 | /// - ``DeclModifierListSyntax``
5150 | public struct DeclModifierSyntax: SyntaxProtocol, SyntaxHashable {
| `- note: struct 'DeclModifierSyntax' does not conform to the 'Sendable' protocol
5151 | public let _syntaxNode: Syntax
5152 |
/host/spi-builder-workspace/Sources/SwiftMockMacros/Constants.swift:14:5: warning: let 'internalModifier' is not concurrency-safe because non-'Sendable' type 'DeclModifierSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
12 | let privateModifier = DeclModifierSyntax(name: .keyword(.private))
13 | let fileprivateModifier = DeclModifierSyntax(name: .keyword(.fileprivate))
14 | let internalModifier = DeclModifierSyntax(name: .keyword(.internal))
| |- warning: let 'internalModifier' is not concurrency-safe because non-'Sendable' type 'DeclModifierSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'internalModifier' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | let finalModifier = DeclModifierSyntax(name: .keyword(.final))
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/generated/syntaxNodes/SyntaxNodes.swift:5150:15: note: struct 'DeclModifierSyntax' does not conform to the 'Sendable' protocol
5148 | /// - ``AccessorDeclSyntax``.``AccessorDeclSyntax/modifier``
5149 | /// - ``DeclModifierListSyntax``
5150 | public struct DeclModifierSyntax: SyntaxProtocol, SyntaxHashable {
| `- note: struct 'DeclModifierSyntax' does not conform to the 'Sendable' protocol
5151 | public let _syntaxNode: Syntax
5152 |
/host/spi-builder-workspace/Sources/SwiftMockMacros/Constants.swift:16:5: warning: let 'finalModifier' is not concurrency-safe because non-'Sendable' type 'DeclModifierSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
14 | let internalModifier = DeclModifierSyntax(name: .keyword(.internal))
15 |
16 | let finalModifier = DeclModifierSyntax(name: .keyword(.final))
| |- warning: let 'finalModifier' is not concurrency-safe because non-'Sendable' type 'DeclModifierSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'finalModifier' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | let anyFunctionCallExpr = ExprSyntax(
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/generated/syntaxNodes/SyntaxNodes.swift:5150:15: note: struct 'DeclModifierSyntax' does not conform to the 'Sendable' protocol
5148 | /// - ``AccessorDeclSyntax``.``AccessorDeclSyntax/modifier``
5149 | /// - ``DeclModifierListSyntax``
5150 | public struct DeclModifierSyntax: SyntaxProtocol, SyntaxHashable {
| `- note: struct 'DeclModifierSyntax' does not conform to the 'Sendable' protocol
5151 | public let _syntaxNode: Syntax
5152 |
/host/spi-builder-workspace/Sources/SwiftMockMacros/Constants.swift:18:5: warning: let 'anyFunctionCallExpr' is not concurrency-safe because non-'Sendable' type 'ExprSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
16 | let finalModifier = DeclModifierSyntax(name: .keyword(.final))
17 |
18 | let anyFunctionCallExpr = ExprSyntax(
| |- warning: let 'anyFunctionCallExpr' is not concurrency-safe because non-'Sendable' type 'ExprSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'anyFunctionCallExpr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | fromProtocol: FunctionCallExprSyntax(
20 | calledExpression: DeclReferenceExprSyntax(
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/generated/SyntaxBaseNodes.swift:184:15: note: struct 'ExprSyntax' does not conform to the 'Sendable' protocol
182 | }
183 |
184 | public struct ExprSyntax: ExprSyntaxProtocol, SyntaxHashable {
| `- note: struct 'ExprSyntax' does not conform to the 'Sendable' protocol
185 | public let _syntaxNode: Syntax
186 |
/host/spi-builder-workspace/Sources/SwiftMockMacros/Constants.swift:28:5: warning: let 'escapingAttribute' is not concurrency-safe because non-'Sendable' type 'AttributeListSyntax.Element' may have shared mutable state; this is an error in the Swift 6 language mode
26 | )
27 |
28 | let escapingAttribute = AttributeListSyntax.Element.attribute(
| |- warning: let 'escapingAttribute' is not concurrency-safe because non-'Sendable' type 'AttributeListSyntax.Element' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'escapingAttribute' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | AttributeSyntax(
30 | attributeName: IdentifierTypeSyntax(
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/generated/SyntaxCollections.swift:106:15: note: enum 'Element' does not conform to the 'Sendable' protocol
104 | /// - ``VariableDeclSyntax``.``VariableDeclSyntax/attributes``
105 | public struct AttributeListSyntax: SyntaxCollection, SyntaxHashable {
106 | public enum Element: SyntaxChildChoices, SyntaxHashable {
| `- note: enum 'Element' does not conform to the 'Sendable' protocol
107 | case `attribute`(AttributeSyntax)
108 | case `ifConfigDecl`(IfConfigDeclSyntax)
/host/spi-builder-workspace/Sources/SwiftMockMacros/Diagnostic/DiagnosticError.swift:11:6: warning: stored property 'diagnostic' of 'Sendable'-conforming struct 'DiagnosticError' has non-sendable type 'Diagnostic'; this is an error in the Swift 6 language mode
9 |
10 | struct DiagnosticError: Error {
11 | let diagnostic: Diagnostic
| `- warning: stored property 'diagnostic' of 'Sendable'-conforming struct 'DiagnosticError' has non-sendable type 'Diagnostic'; this is an error in the Swift 6 language mode
12 | }
13 |
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftDiagnostics/Diagnostic.swift:15:15: note: struct 'Diagnostic' does not conform to the 'Sendable' protocol
13 | import SwiftSyntax
14 |
15 | public struct Diagnostic: CustomDebugStringConvertible {
| `- note: struct 'Diagnostic' does not conform to the 'Sendable' protocol
16 | /// The message that should be displayed to the user
17 | public let diagMessage: DiagnosticMessage
/host/spi-builder-workspace/Sources/SwiftMockMacros/Diagnostic/DiagnosticError.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftDiagnostics'
6 | //
7 |
8 | import SwiftDiagnostics
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftDiagnostics'
9 |
10 | struct DiagnosticError: Error {
[460/475] Compiling SwiftMockMacros DiagnosticError.swift
/host/spi-builder-workspace/Sources/SwiftMockMacros/Constants.swift:4:5: warning: let 'voidType' is not concurrency-safe because non-'Sendable' type 'TypeSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
2 | import SwiftSyntaxBuilder
3 |
4 | let voidType: TypeSyntax = TypeSyntax(
| `- warning: let 'voidType' is not concurrency-safe because non-'Sendable' type 'TypeSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
5 | fromProtocol: IdentifierTypeSyntax(name: .identifier("Void"))
6 | )
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/generated/SyntaxBaseNodes.swift:613:15: note: struct 'TypeSyntax' does not conform to the 'Sendable' protocol
611 | }
612 |
613 | public struct TypeSyntax: TypeSyntaxProtocol, SyntaxHashable {
| `- note: struct 'TypeSyntax' does not conform to the 'Sendable' protocol
614 | public let _syntaxNode: Syntax
615 |
/host/spi-builder-workspace/Sources/SwiftMockMacros/Constants.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftSyntax'
1 | import SwiftSyntax
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftSyntax'
2 | import SwiftSyntaxBuilder
3 |
4 | let voidType: TypeSyntax = TypeSyntax(
| |- note: add '@MainActor' to make let 'voidType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | fromProtocol: IdentifierTypeSyntax(name: .identifier("Void"))
6 | )
/host/spi-builder-workspace/Sources/SwiftMockMacros/Constants.swift:8:5: warning: let 'emptyArrayExpt' is not concurrency-safe because non-'Sendable' type 'ExprSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
6 | )
7 |
8 | let emptyArrayExpt = ExprSyntax(
| |- warning: let 'emptyArrayExpt' is not concurrency-safe because non-'Sendable' type 'ExprSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'emptyArrayExpt' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | fromProtocol: ArrayExprSyntax(expressions: [])
10 | )
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/generated/SyntaxBaseNodes.swift:184:15: note: struct 'ExprSyntax' does not conform to the 'Sendable' protocol
182 | }
183 |
184 | public struct ExprSyntax: ExprSyntaxProtocol, SyntaxHashable {
| `- note: struct 'ExprSyntax' does not conform to the 'Sendable' protocol
185 | public let _syntaxNode: Syntax
186 |
/host/spi-builder-workspace/Sources/SwiftMockMacros/Constants.swift:12:5: warning: let 'privateModifier' is not concurrency-safe because non-'Sendable' type 'DeclModifierSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
10 | )
11 |
12 | let privateModifier = DeclModifierSyntax(name: .keyword(.private))
| |- warning: let 'privateModifier' is not concurrency-safe because non-'Sendable' type 'DeclModifierSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'privateModifier' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | let fileprivateModifier = DeclModifierSyntax(name: .keyword(.fileprivate))
14 | let internalModifier = DeclModifierSyntax(name: .keyword(.internal))
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/generated/syntaxNodes/SyntaxNodes.swift:5150:15: note: struct 'DeclModifierSyntax' does not conform to the 'Sendable' protocol
5148 | /// - ``AccessorDeclSyntax``.``AccessorDeclSyntax/modifier``
5149 | /// - ``DeclModifierListSyntax``
5150 | public struct DeclModifierSyntax: SyntaxProtocol, SyntaxHashable {
| `- note: struct 'DeclModifierSyntax' does not conform to the 'Sendable' protocol
5151 | public let _syntaxNode: Syntax
5152 |
/host/spi-builder-workspace/Sources/SwiftMockMacros/Constants.swift:13:5: warning: let 'fileprivateModifier' is not concurrency-safe because non-'Sendable' type 'DeclModifierSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | let privateModifier = DeclModifierSyntax(name: .keyword(.private))
13 | let fileprivateModifier = DeclModifierSyntax(name: .keyword(.fileprivate))
| |- warning: let 'fileprivateModifier' is not concurrency-safe because non-'Sendable' type 'DeclModifierSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'fileprivateModifier' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | let internalModifier = DeclModifierSyntax(name: .keyword(.internal))
15 |
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/generated/syntaxNodes/SyntaxNodes.swift:5150:15: note: struct 'DeclModifierSyntax' does not conform to the 'Sendable' protocol
5148 | /// - ``AccessorDeclSyntax``.``AccessorDeclSyntax/modifier``
5149 | /// - ``DeclModifierListSyntax``
5150 | public struct DeclModifierSyntax: SyntaxProtocol, SyntaxHashable {
| `- note: struct 'DeclModifierSyntax' does not conform to the 'Sendable' protocol
5151 | public let _syntaxNode: Syntax
5152 |
/host/spi-builder-workspace/Sources/SwiftMockMacros/Constants.swift:14:5: warning: let 'internalModifier' is not concurrency-safe because non-'Sendable' type 'DeclModifierSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
12 | let privateModifier = DeclModifierSyntax(name: .keyword(.private))
13 | let fileprivateModifier = DeclModifierSyntax(name: .keyword(.fileprivate))
14 | let internalModifier = DeclModifierSyntax(name: .keyword(.internal))
| |- warning: let 'internalModifier' is not concurrency-safe because non-'Sendable' type 'DeclModifierSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'internalModifier' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | let finalModifier = DeclModifierSyntax(name: .keyword(.final))
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/generated/syntaxNodes/SyntaxNodes.swift:5150:15: note: struct 'DeclModifierSyntax' does not conform to the 'Sendable' protocol
5148 | /// - ``AccessorDeclSyntax``.``AccessorDeclSyntax/modifier``
5149 | /// - ``DeclModifierListSyntax``
5150 | public struct DeclModifierSyntax: SyntaxProtocol, SyntaxHashable {
| `- note: struct 'DeclModifierSyntax' does not conform to the 'Sendable' protocol
5151 | public let _syntaxNode: Syntax
5152 |
/host/spi-builder-workspace/Sources/SwiftMockMacros/Constants.swift:16:5: warning: let 'finalModifier' is not concurrency-safe because non-'Sendable' type 'DeclModifierSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
14 | let internalModifier = DeclModifierSyntax(name: .keyword(.internal))
15 |
16 | let finalModifier = DeclModifierSyntax(name: .keyword(.final))
| |- warning: let 'finalModifier' is not concurrency-safe because non-'Sendable' type 'DeclModifierSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'finalModifier' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | let anyFunctionCallExpr = ExprSyntax(
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/generated/syntaxNodes/SyntaxNodes.swift:5150:15: note: struct 'DeclModifierSyntax' does not conform to the 'Sendable' protocol
5148 | /// - ``AccessorDeclSyntax``.``AccessorDeclSyntax/modifier``
5149 | /// - ``DeclModifierListSyntax``
5150 | public struct DeclModifierSyntax: SyntaxProtocol, SyntaxHashable {
| `- note: struct 'DeclModifierSyntax' does not conform to the 'Sendable' protocol
5151 | public let _syntaxNode: Syntax
5152 |
/host/spi-builder-workspace/Sources/SwiftMockMacros/Constants.swift:18:5: warning: let 'anyFunctionCallExpr' is not concurrency-safe because non-'Sendable' type 'ExprSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
16 | let finalModifier = DeclModifierSyntax(name: .keyword(.final))
17 |
18 | let anyFunctionCallExpr = ExprSyntax(
| |- warning: let 'anyFunctionCallExpr' is not concurrency-safe because non-'Sendable' type 'ExprSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'anyFunctionCallExpr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | fromProtocol: FunctionCallExprSyntax(
20 | calledExpression: DeclReferenceExprSyntax(
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/generated/SyntaxBaseNodes.swift:184:15: note: struct 'ExprSyntax' does not conform to the 'Sendable' protocol
182 | }
183 |
184 | public struct ExprSyntax: ExprSyntaxProtocol, SyntaxHashable {
| `- note: struct 'ExprSyntax' does not conform to the 'Sendable' protocol
185 | public let _syntaxNode: Syntax
186 |
/host/spi-builder-workspace/Sources/SwiftMockMacros/Constants.swift:28:5: warning: let 'escapingAttribute' is not concurrency-safe because non-'Sendable' type 'AttributeListSyntax.Element' may have shared mutable state; this is an error in the Swift 6 language mode
26 | )
27 |
28 | let escapingAttribute = AttributeListSyntax.Element.attribute(
| |- warning: let 'escapingAttribute' is not concurrency-safe because non-'Sendable' type 'AttributeListSyntax.Element' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'escapingAttribute' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | AttributeSyntax(
30 | attributeName: IdentifierTypeSyntax(
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/generated/SyntaxCollections.swift:106:15: note: enum 'Element' does not conform to the 'Sendable' protocol
104 | /// - ``VariableDeclSyntax``.``VariableDeclSyntax/attributes``
105 | public struct AttributeListSyntax: SyntaxCollection, SyntaxHashable {
106 | public enum Element: SyntaxChildChoices, SyntaxHashable {
| `- note: enum 'Element' does not conform to the 'Sendable' protocol
107 | case `attribute`(AttributeSyntax)
108 | case `ifConfigDecl`(IfConfigDeclSyntax)
/host/spi-builder-workspace/Sources/SwiftMockMacros/Diagnostic/DiagnosticError.swift:11:6: warning: stored property 'diagnostic' of 'Sendable'-conforming struct 'DiagnosticError' has non-sendable type 'Diagnostic'; this is an error in the Swift 6 language mode
9 |
10 | struct DiagnosticError: Error {
11 | let diagnostic: Diagnostic
| `- warning: stored property 'diagnostic' of 'Sendable'-conforming struct 'DiagnosticError' has non-sendable type 'Diagnostic'; this is an error in the Swift 6 language mode
12 | }
13 |
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftDiagnostics/Diagnostic.swift:15:15: note: struct 'Diagnostic' does not conform to the 'Sendable' protocol
13 | import SwiftSyntax
14 |
15 | public struct Diagnostic: CustomDebugStringConvertible {
| `- note: struct 'Diagnostic' does not conform to the 'Sendable' protocol
16 | /// The message that should be displayed to the user
17 | public let diagMessage: DiagnosticMessage
/host/spi-builder-workspace/Sources/SwiftMockMacros/Diagnostic/DiagnosticError.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftDiagnostics'
6 | //
7 |
8 | import SwiftDiagnostics
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftDiagnostics'
9 |
10 | struct DiagnosticError: Error {
[461/475] Compiling SwiftMockMacros FunctionDiagnostic.swift
/host/spi-builder-workspace/Sources/SwiftMockMacros/Constants.swift:4:5: warning: let 'voidType' is not concurrency-safe because non-'Sendable' type 'TypeSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
2 | import SwiftSyntaxBuilder
3 |
4 | let voidType: TypeSyntax = TypeSyntax(
| `- warning: let 'voidType' is not concurrency-safe because non-'Sendable' type 'TypeSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
5 | fromProtocol: IdentifierTypeSyntax(name: .identifier("Void"))
6 | )
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/generated/SyntaxBaseNodes.swift:613:15: note: struct 'TypeSyntax' does not conform to the 'Sendable' protocol
611 | }
612 |
613 | public struct TypeSyntax: TypeSyntaxProtocol, SyntaxHashable {
| `- note: struct 'TypeSyntax' does not conform to the 'Sendable' protocol
614 | public let _syntaxNode: Syntax
615 |
/host/spi-builder-workspace/Sources/SwiftMockMacros/Constants.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftSyntax'
1 | import SwiftSyntax
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftSyntax'
2 | import SwiftSyntaxBuilder
3 |
4 | let voidType: TypeSyntax = TypeSyntax(
| |- note: add '@MainActor' to make let 'voidType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | fromProtocol: IdentifierTypeSyntax(name: .identifier("Void"))
6 | )
/host/spi-builder-workspace/Sources/SwiftMockMacros/Constants.swift:8:5: warning: let 'emptyArrayExpt' is not concurrency-safe because non-'Sendable' type 'ExprSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
6 | )
7 |
8 | let emptyArrayExpt = ExprSyntax(
| |- warning: let 'emptyArrayExpt' is not concurrency-safe because non-'Sendable' type 'ExprSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'emptyArrayExpt' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | fromProtocol: ArrayExprSyntax(expressions: [])
10 | )
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/generated/SyntaxBaseNodes.swift:184:15: note: struct 'ExprSyntax' does not conform to the 'Sendable' protocol
182 | }
183 |
184 | public struct ExprSyntax: ExprSyntaxProtocol, SyntaxHashable {
| `- note: struct 'ExprSyntax' does not conform to the 'Sendable' protocol
185 | public let _syntaxNode: Syntax
186 |
/host/spi-builder-workspace/Sources/SwiftMockMacros/Constants.swift:12:5: warning: let 'privateModifier' is not concurrency-safe because non-'Sendable' type 'DeclModifierSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
10 | )
11 |
12 | let privateModifier = DeclModifierSyntax(name: .keyword(.private))
| |- warning: let 'privateModifier' is not concurrency-safe because non-'Sendable' type 'DeclModifierSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'privateModifier' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | let fileprivateModifier = DeclModifierSyntax(name: .keyword(.fileprivate))
14 | let internalModifier = DeclModifierSyntax(name: .keyword(.internal))
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/generated/syntaxNodes/SyntaxNodes.swift:5150:15: note: struct 'DeclModifierSyntax' does not conform to the 'Sendable' protocol
5148 | /// - ``AccessorDeclSyntax``.``AccessorDeclSyntax/modifier``
5149 | /// - ``DeclModifierListSyntax``
5150 | public struct DeclModifierSyntax: SyntaxProtocol, SyntaxHashable {
| `- note: struct 'DeclModifierSyntax' does not conform to the 'Sendable' protocol
5151 | public let _syntaxNode: Syntax
5152 |
/host/spi-builder-workspace/Sources/SwiftMockMacros/Constants.swift:13:5: warning: let 'fileprivateModifier' is not concurrency-safe because non-'Sendable' type 'DeclModifierSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | let privateModifier = DeclModifierSyntax(name: .keyword(.private))
13 | let fileprivateModifier = DeclModifierSyntax(name: .keyword(.fileprivate))
| |- warning: let 'fileprivateModifier' is not concurrency-safe because non-'Sendable' type 'DeclModifierSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'fileprivateModifier' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | let internalModifier = DeclModifierSyntax(name: .keyword(.internal))
15 |
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/generated/syntaxNodes/SyntaxNodes.swift:5150:15: note: struct 'DeclModifierSyntax' does not conform to the 'Sendable' protocol
5148 | /// - ``AccessorDeclSyntax``.``AccessorDeclSyntax/modifier``
5149 | /// - ``DeclModifierListSyntax``
5150 | public struct DeclModifierSyntax: SyntaxProtocol, SyntaxHashable {
| `- note: struct 'DeclModifierSyntax' does not conform to the 'Sendable' protocol
5151 | public let _syntaxNode: Syntax
5152 |
/host/spi-builder-workspace/Sources/SwiftMockMacros/Constants.swift:14:5: warning: let 'internalModifier' is not concurrency-safe because non-'Sendable' type 'DeclModifierSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
12 | let privateModifier = DeclModifierSyntax(name: .keyword(.private))
13 | let fileprivateModifier = DeclModifierSyntax(name: .keyword(.fileprivate))
14 | let internalModifier = DeclModifierSyntax(name: .keyword(.internal))
| |- warning: let 'internalModifier' is not concurrency-safe because non-'Sendable' type 'DeclModifierSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'internalModifier' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | let finalModifier = DeclModifierSyntax(name: .keyword(.final))
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/generated/syntaxNodes/SyntaxNodes.swift:5150:15: note: struct 'DeclModifierSyntax' does not conform to the 'Sendable' protocol
5148 | /// - ``AccessorDeclSyntax``.``AccessorDeclSyntax/modifier``
5149 | /// - ``DeclModifierListSyntax``
5150 | public struct DeclModifierSyntax: SyntaxProtocol, SyntaxHashable {
| `- note: struct 'DeclModifierSyntax' does not conform to the 'Sendable' protocol
5151 | public let _syntaxNode: Syntax
5152 |
/host/spi-builder-workspace/Sources/SwiftMockMacros/Constants.swift:16:5: warning: let 'finalModifier' is not concurrency-safe because non-'Sendable' type 'DeclModifierSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
14 | let internalModifier = DeclModifierSyntax(name: .keyword(.internal))
15 |
16 | let finalModifier = DeclModifierSyntax(name: .keyword(.final))
| |- warning: let 'finalModifier' is not concurrency-safe because non-'Sendable' type 'DeclModifierSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'finalModifier' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | let anyFunctionCallExpr = ExprSyntax(
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/generated/syntaxNodes/SyntaxNodes.swift:5150:15: note: struct 'DeclModifierSyntax' does not conform to the 'Sendable' protocol
5148 | /// - ``AccessorDeclSyntax``.``AccessorDeclSyntax/modifier``
5149 | /// - ``DeclModifierListSyntax``
5150 | public struct DeclModifierSyntax: SyntaxProtocol, SyntaxHashable {
| `- note: struct 'DeclModifierSyntax' does not conform to the 'Sendable' protocol
5151 | public let _syntaxNode: Syntax
5152 |
/host/spi-builder-workspace/Sources/SwiftMockMacros/Constants.swift:18:5: warning: let 'anyFunctionCallExpr' is not concurrency-safe because non-'Sendable' type 'ExprSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
16 | let finalModifier = DeclModifierSyntax(name: .keyword(.final))
17 |
18 | let anyFunctionCallExpr = ExprSyntax(
| |- warning: let 'anyFunctionCallExpr' is not concurrency-safe because non-'Sendable' type 'ExprSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'anyFunctionCallExpr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | fromProtocol: FunctionCallExprSyntax(
20 | calledExpression: DeclReferenceExprSyntax(
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/generated/SyntaxBaseNodes.swift:184:15: note: struct 'ExprSyntax' does not conform to the 'Sendable' protocol
182 | }
183 |
184 | public struct ExprSyntax: ExprSyntaxProtocol, SyntaxHashable {
| `- note: struct 'ExprSyntax' does not conform to the 'Sendable' protocol
185 | public let _syntaxNode: Syntax
186 |
/host/spi-builder-workspace/Sources/SwiftMockMacros/Constants.swift:28:5: warning: let 'escapingAttribute' is not concurrency-safe because non-'Sendable' type 'AttributeListSyntax.Element' may have shared mutable state; this is an error in the Swift 6 language mode
26 | )
27 |
28 | let escapingAttribute = AttributeListSyntax.Element.attribute(
| |- warning: let 'escapingAttribute' is not concurrency-safe because non-'Sendable' type 'AttributeListSyntax.Element' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'escapingAttribute' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | AttributeSyntax(
30 | attributeName: IdentifierTypeSyntax(
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/generated/SyntaxCollections.swift:106:15: note: enum 'Element' does not conform to the 'Sendable' protocol
104 | /// - ``VariableDeclSyntax``.``VariableDeclSyntax/attributes``
105 | public struct AttributeListSyntax: SyntaxCollection, SyntaxHashable {
106 | public enum Element: SyntaxChildChoices, SyntaxHashable {
| `- note: enum 'Element' does not conform to the 'Sendable' protocol
107 | case `attribute`(AttributeSyntax)
108 | case `ifConfigDecl`(IfConfigDeclSyntax)
/host/spi-builder-workspace/Sources/SwiftMockMacros/Diagnostic/DiagnosticError.swift:11:6: warning: stored property 'diagnostic' of 'Sendable'-conforming struct 'DiagnosticError' has non-sendable type 'Diagnostic'; this is an error in the Swift 6 language mode
9 |
10 | struct DiagnosticError: Error {
11 | let diagnostic: Diagnostic
| `- warning: stored property 'diagnostic' of 'Sendable'-conforming struct 'DiagnosticError' has non-sendable type 'Diagnostic'; this is an error in the Swift 6 language mode
12 | }
13 |
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftDiagnostics/Diagnostic.swift:15:15: note: struct 'Diagnostic' does not conform to the 'Sendable' protocol
13 | import SwiftSyntax
14 |
15 | public struct Diagnostic: CustomDebugStringConvertible {
| `- note: struct 'Diagnostic' does not conform to the 'Sendable' protocol
16 | /// The message that should be displayed to the user
17 | public let diagMessage: DiagnosticMessage
/host/spi-builder-workspace/Sources/SwiftMockMacros/Diagnostic/DiagnosticError.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftDiagnostics'
6 | //
7 |
8 | import SwiftDiagnostics
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftDiagnostics'
9 |
10 | struct DiagnosticError: Error {
[462/475] Compiling SwiftMockMacros PropertyDiagnostic.swift
/host/spi-builder-workspace/Sources/SwiftMockMacros/Constants.swift:4:5: warning: let 'voidType' is not concurrency-safe because non-'Sendable' type 'TypeSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
2 | import SwiftSyntaxBuilder
3 |
4 | let voidType: TypeSyntax = TypeSyntax(
| `- warning: let 'voidType' is not concurrency-safe because non-'Sendable' type 'TypeSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
5 | fromProtocol: IdentifierTypeSyntax(name: .identifier("Void"))
6 | )
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/generated/SyntaxBaseNodes.swift:613:15: note: struct 'TypeSyntax' does not conform to the 'Sendable' protocol
611 | }
612 |
613 | public struct TypeSyntax: TypeSyntaxProtocol, SyntaxHashable {
| `- note: struct 'TypeSyntax' does not conform to the 'Sendable' protocol
614 | public let _syntaxNode: Syntax
615 |
/host/spi-builder-workspace/Sources/SwiftMockMacros/Constants.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftSyntax'
1 | import SwiftSyntax
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftSyntax'
2 | import SwiftSyntaxBuilder
3 |
4 | let voidType: TypeSyntax = TypeSyntax(
| |- note: add '@MainActor' to make let 'voidType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | fromProtocol: IdentifierTypeSyntax(name: .identifier("Void"))
6 | )
/host/spi-builder-workspace/Sources/SwiftMockMacros/Constants.swift:8:5: warning: let 'emptyArrayExpt' is not concurrency-safe because non-'Sendable' type 'ExprSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
6 | )
7 |
8 | let emptyArrayExpt = ExprSyntax(
| |- warning: let 'emptyArrayExpt' is not concurrency-safe because non-'Sendable' type 'ExprSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'emptyArrayExpt' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | fromProtocol: ArrayExprSyntax(expressions: [])
10 | )
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/generated/SyntaxBaseNodes.swift:184:15: note: struct 'ExprSyntax' does not conform to the 'Sendable' protocol
182 | }
183 |
184 | public struct ExprSyntax: ExprSyntaxProtocol, SyntaxHashable {
| `- note: struct 'ExprSyntax' does not conform to the 'Sendable' protocol
185 | public let _syntaxNode: Syntax
186 |
/host/spi-builder-workspace/Sources/SwiftMockMacros/Constants.swift:12:5: warning: let 'privateModifier' is not concurrency-safe because non-'Sendable' type 'DeclModifierSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
10 | )
11 |
12 | let privateModifier = DeclModifierSyntax(name: .keyword(.private))
| |- warning: let 'privateModifier' is not concurrency-safe because non-'Sendable' type 'DeclModifierSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'privateModifier' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | let fileprivateModifier = DeclModifierSyntax(name: .keyword(.fileprivate))
14 | let internalModifier = DeclModifierSyntax(name: .keyword(.internal))
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/generated/syntaxNodes/SyntaxNodes.swift:5150:15: note: struct 'DeclModifierSyntax' does not conform to the 'Sendable' protocol
5148 | /// - ``AccessorDeclSyntax``.``AccessorDeclSyntax/modifier``
5149 | /// - ``DeclModifierListSyntax``
5150 | public struct DeclModifierSyntax: SyntaxProtocol, SyntaxHashable {
| `- note: struct 'DeclModifierSyntax' does not conform to the 'Sendable' protocol
5151 | public let _syntaxNode: Syntax
5152 |
/host/spi-builder-workspace/Sources/SwiftMockMacros/Constants.swift:13:5: warning: let 'fileprivateModifier' is not concurrency-safe because non-'Sendable' type 'DeclModifierSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | let privateModifier = DeclModifierSyntax(name: .keyword(.private))
13 | let fileprivateModifier = DeclModifierSyntax(name: .keyword(.fileprivate))
| |- warning: let 'fileprivateModifier' is not concurrency-safe because non-'Sendable' type 'DeclModifierSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'fileprivateModifier' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | let internalModifier = DeclModifierSyntax(name: .keyword(.internal))
15 |
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/generated/syntaxNodes/SyntaxNodes.swift:5150:15: note: struct 'DeclModifierSyntax' does not conform to the 'Sendable' protocol
5148 | /// - ``AccessorDeclSyntax``.``AccessorDeclSyntax/modifier``
5149 | /// - ``DeclModifierListSyntax``
5150 | public struct DeclModifierSyntax: SyntaxProtocol, SyntaxHashable {
| `- note: struct 'DeclModifierSyntax' does not conform to the 'Sendable' protocol
5151 | public let _syntaxNode: Syntax
5152 |
/host/spi-builder-workspace/Sources/SwiftMockMacros/Constants.swift:14:5: warning: let 'internalModifier' is not concurrency-safe because non-'Sendable' type 'DeclModifierSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
12 | let privateModifier = DeclModifierSyntax(name: .keyword(.private))
13 | let fileprivateModifier = DeclModifierSyntax(name: .keyword(.fileprivate))
14 | let internalModifier = DeclModifierSyntax(name: .keyword(.internal))
| |- warning: let 'internalModifier' is not concurrency-safe because non-'Sendable' type 'DeclModifierSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'internalModifier' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | let finalModifier = DeclModifierSyntax(name: .keyword(.final))
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/generated/syntaxNodes/SyntaxNodes.swift:5150:15: note: struct 'DeclModifierSyntax' does not conform to the 'Sendable' protocol
5148 | /// - ``AccessorDeclSyntax``.``AccessorDeclSyntax/modifier``
5149 | /// - ``DeclModifierListSyntax``
5150 | public struct DeclModifierSyntax: SyntaxProtocol, SyntaxHashable {
| `- note: struct 'DeclModifierSyntax' does not conform to the 'Sendable' protocol
5151 | public let _syntaxNode: Syntax
5152 |
/host/spi-builder-workspace/Sources/SwiftMockMacros/Constants.swift:16:5: warning: let 'finalModifier' is not concurrency-safe because non-'Sendable' type 'DeclModifierSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
14 | let internalModifier = DeclModifierSyntax(name: .keyword(.internal))
15 |
16 | let finalModifier = DeclModifierSyntax(name: .keyword(.final))
| |- warning: let 'finalModifier' is not concurrency-safe because non-'Sendable' type 'DeclModifierSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'finalModifier' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | let anyFunctionCallExpr = ExprSyntax(
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/generated/syntaxNodes/SyntaxNodes.swift:5150:15: note: struct 'DeclModifierSyntax' does not conform to the 'Sendable' protocol
5148 | /// - ``AccessorDeclSyntax``.``AccessorDeclSyntax/modifier``
5149 | /// - ``DeclModifierListSyntax``
5150 | public struct DeclModifierSyntax: SyntaxProtocol, SyntaxHashable {
| `- note: struct 'DeclModifierSyntax' does not conform to the 'Sendable' protocol
5151 | public let _syntaxNode: Syntax
5152 |
/host/spi-builder-workspace/Sources/SwiftMockMacros/Constants.swift:18:5: warning: let 'anyFunctionCallExpr' is not concurrency-safe because non-'Sendable' type 'ExprSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
16 | let finalModifier = DeclModifierSyntax(name: .keyword(.final))
17 |
18 | let anyFunctionCallExpr = ExprSyntax(
| |- warning: let 'anyFunctionCallExpr' is not concurrency-safe because non-'Sendable' type 'ExprSyntax' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'anyFunctionCallExpr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | fromProtocol: FunctionCallExprSyntax(
20 | calledExpression: DeclReferenceExprSyntax(
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/generated/SyntaxBaseNodes.swift:184:15: note: struct 'ExprSyntax' does not conform to the 'Sendable' protocol
182 | }
183 |
184 | public struct ExprSyntax: ExprSyntaxProtocol, SyntaxHashable {
| `- note: struct 'ExprSyntax' does not conform to the 'Sendable' protocol
185 | public let _syntaxNode: Syntax
186 |
/host/spi-builder-workspace/Sources/SwiftMockMacros/Constants.swift:28:5: warning: let 'escapingAttribute' is not concurrency-safe because non-'Sendable' type 'AttributeListSyntax.Element' may have shared mutable state; this is an error in the Swift 6 language mode
26 | )
27 |
28 | let escapingAttribute = AttributeListSyntax.Element.attribute(
| |- warning: let 'escapingAttribute' is not concurrency-safe because non-'Sendable' type 'AttributeListSyntax.Element' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'escapingAttribute' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | AttributeSyntax(
30 | attributeName: IdentifierTypeSyntax(
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/generated/SyntaxCollections.swift:106:15: note: enum 'Element' does not conform to the 'Sendable' protocol
104 | /// - ``VariableDeclSyntax``.``VariableDeclSyntax/attributes``
105 | public struct AttributeListSyntax: SyntaxCollection, SyntaxHashable {
106 | public enum Element: SyntaxChildChoices, SyntaxHashable {
| `- note: enum 'Element' does not conform to the 'Sendable' protocol
107 | case `attribute`(AttributeSyntax)
108 | case `ifConfigDecl`(IfConfigDeclSyntax)
/host/spi-builder-workspace/Sources/SwiftMockMacros/Diagnostic/DiagnosticError.swift:11:6: warning: stored property 'diagnostic' of 'Sendable'-conforming struct 'DiagnosticError' has non-sendable type 'Diagnostic'; this is an error in the Swift 6 language mode
9 |
10 | struct DiagnosticError: Error {
11 | let diagnostic: Diagnostic
| `- warning: stored property 'diagnostic' of 'Sendable'-conforming struct 'DiagnosticError' has non-sendable type 'Diagnostic'; this is an error in the Swift 6 language mode
12 | }
13 |
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftDiagnostics/Diagnostic.swift:15:15: note: struct 'Diagnostic' does not conform to the 'Sendable' protocol
13 | import SwiftSyntax
14 |
15 | public struct Diagnostic: CustomDebugStringConvertible {
| `- note: struct 'Diagnostic' does not conform to the 'Sendable' protocol
16 | /// The message that should be displayed to the user
17 | public let diagMessage: DiagnosticMessage
/host/spi-builder-workspace/Sources/SwiftMockMacros/Diagnostic/DiagnosticError.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftDiagnostics'
6 | //
7 |
8 | import SwiftDiagnostics
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftDiagnostics'
9 |
10 | struct DiagnosticError: Error {
[463/475] Compiling SwiftMockMacros Protocol.swift
[464/475] Compiling SwiftMockMacros Subscript.swift
[465/475] Compiling SwiftMockMacros SwiftMockMacro.swift
[466/476] Wrapping AST for SwiftMockMacros for debugging
[467/476] Write Objects.LinkFileList
[469/476] Emitting module SwiftCompilerPlugin
[470/476] Compiling SwiftCompilerPlugin CompilerPlugin.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftCompilerPlugin/CompilerPlugin.swift:103:19: error: cannot find 'dup' in scope
101 | // Duplicate the `stdin` file descriptor, which we will then use for
102 | // receiving messages from the plugin host.
103 | let inputFD = dup(fileno(stdin))
| `- error: cannot find 'dup' in scope
104 | guard inputFD >= 0 else {
105 | internalError("Could not duplicate `stdin`: \(describe(errno: errno)).")
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftCompilerPlugin/CompilerPlugin.swift:117:20: error: cannot find 'dup' in scope
115 | // Duplicate the `stdout` file descriptor, which we will then use for
116 | // sending messages to the plugin host.
117 | let outputFD = dup(fileno(stdout))
| `- error: cannot find 'dup' in scope
118 | guard outputFD >= 0 else {
119 | internalError("Could not dup `stdout`: \(describe(errno: errno)).")
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftCompilerPlugin/CompilerPlugin.swift:124:11: error: cannot find 'dup2' in scope
122 | // Having duplicated the original standard-output descriptor, redirect
123 | // `stdout` to `stderr` so that all free-form text output goes there.
124 | guard dup2(fileno(stderr), fileno(stdout)) >= 0 else {
| `- error: cannot find 'dup2' in scope
125 | internalError("Could not dup2 `stdout` to `stderr`: \(describe(errno: errno)).")
126 | }
[470/476] Linking SwiftMockMacros-tool
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/34] Write swift-version-24593BA9C3E375BF.txt
[4/38] Compiling SwiftSyntax509 Empty.swift
[5/38] Emitting module SwiftSyntax509
[6/39] Compiling SwiftSyntax509 Empty.swift
[7/39] Emitting module SwiftSyntax509
[10/128] Compiling SwiftSyntax RawSyntax.swift
[11/128] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[12/128] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[13/128] Compiling SwiftSyntax RawSyntaxTokenView.swift
[14/128] Compiling SwiftSyntax SourceLength.swift
[15/128] Compiling SwiftSyntax SourceLocation.swift
[16/128] Compiling SwiftSyntax SourcePresence.swift
[24/134] Compiling SwiftSyntax AbsolutePosition.swift
[25/134] Compiling SwiftSyntax Assert.swift
[26/134] Compiling SwiftSyntax BumpPtrAllocator.swift
[27/134] Compiling SwiftSyntax CommonAncestor.swift
[28/134] Compiling SwiftSyntax Convenience.swift
[29/134] Compiling SwiftSyntax MemoryLayout.swift
[30/134] Compiling SwiftSyntax MissingNodeInitializers.swift
[31/140] Compiling SwiftSyntax SyntaxBaseNodes.swift
[32/140] Compiling SwiftSyntax SyntaxCollections.swift
[33/140] Compiling SwiftSyntax SyntaxEnum.swift
[34/140] Compiling SwiftSyntax SyntaxKind.swift
[35/140] Compiling SwiftSyntax SyntaxRewriter.swift
[36/140] Compiling SwiftSyntax SyntaxTraits.swift
[37/140] Compiling SwiftSyntax SyntaxTransform.swift
[38/140] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[39/140] Compiling SwiftSyntax Syntax.swift
[40/140] Compiling SwiftSyntax SyntaxArena.swift
[41/140] Compiling SwiftSyntax SyntaxChildren.swift
[42/140] Compiling SwiftSyntax SyntaxCollection.swift
[43/140] Compiling SwiftSyntax SyntaxData.swift
[44/140] Emitting module SwiftSyntax
[46/140] Compiling SwiftSyntax SyntaxText.swift
[47/140] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[48/140] Compiling SwiftSyntax TokenDiagnostic.swift
[49/140] Compiling SwiftSyntax TokenSyntax.swift
[50/140] Compiling SwiftSyntax Trivia.swift
[51/140] Compiling SwiftSyntax Utils.swift
[52/140] Compiling SwiftSyntax ChildNameForKeyPath.swift
[53/140] Compiling SwiftSyntax Keyword.swift
[54/140] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[55/140] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[56/140] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[58/140] Compiling SwiftSyntax SyntaxVisitor.swift
[59/140] Compiling SwiftSyntax TokenKind.swift
[60/140] Compiling SwiftSyntax Tokens.swift
[61/140] Compiling SwiftSyntax TriviaPieces.swift
[62/140] Compiling SwiftSyntax RawSyntaxNodes.swift
[63/140] Compiling SwiftSyntax RawSyntaxValidation.swift
[70/140] Compiling SwiftSyntax SyntaxDeclNodes.swift
[71/140] Compiling SwiftSyntax SyntaxExprNodes.swift
[72/140] Compiling SwiftSyntax SyntaxNodes.swift
[73/140] Compiling SwiftSyntax SyntaxPatternNodes.swift
[74/140] Compiling SwiftSyntax SyntaxStmtNodes.swift
[75/140] Compiling SwiftSyntax SyntaxTypeNodes.swift
[101/191] Compiling SwiftDiagnostics Diagnostic.swift
[102/191] Emitting module SwiftDiagnostics
[103/191] Compiling SwiftDiagnostics FixIt.swift
[104/191] Compiling SwiftBasicFormat Syntax+Extensions.swift
[105/191] Compiling SwiftDiagnostics Message.swift
[106/191] Compiling SwiftDiagnostics Note.swift
[107/191] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[108/191] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[109/191] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[110/191] Compiling SwiftDiagnostics Convenience.swift
[111/191] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[119/191] Compiling SwiftParser TokenPrecedence.swift
[120/191] Compiling SwiftParser TokenSpec.swift
[121/191] Compiling SwiftParser TokenSpecSet.swift
[122/191] Compiling SwiftParser TopLevel.swift
[123/191] Compiling SwiftParser TriviaParser.swift
[125/191] Emitting module SwiftBasicFormat
[126/191] Compiling SwiftBasicFormat BasicFormat.swift
[129/199] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[130/199] Compiling SwiftParser StringLiterals.swift
[131/199] Compiling SwiftParser SwiftParserCompatibility.swift
[132/199] Compiling SwiftParser SyntaxUtils.swift
[133/199] Compiling SwiftParser TokenConsumer.swift
[139/209] Compiling SwiftDiagnostics Convenience.swift
[140/209] Compiling SwiftDiagnostics Diagnostic.swift
[141/209] Compiling SwiftDiagnostics Message.swift
[142/209] Compiling SwiftDiagnostics Note.swift
[143/209] Emitting module SwiftDiagnostics
[144/247] Emitting module SwiftBasicFormat
[145/247] Compiling SwiftBasicFormat Syntax+Extensions.swift
[146/247] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[147/247] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[148/247] Emitting module SwiftParser
[149/247] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[150/247] Compiling SwiftDiagnostics FixIt.swift
[151/247] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[153/248] Compiling SwiftParser Modifiers.swift
[154/248] Compiling SwiftParser Names.swift
[155/248] Compiling SwiftParser Nominals.swift
[156/248] Compiling SwiftParser Parameters.swift
[157/248] Compiling SwiftParser ParseSourceFile.swift
[158/248] Compiling SwiftParser Lexer.swift
[159/248] Compiling SwiftParser RegexLiteralLexer.swift
[160/248] Compiling SwiftParser UnicodeScalarExtensions.swift
[161/248] Compiling SwiftParser Lookahead.swift
[162/248] Compiling SwiftParser LoopProgressCondition.swift
[163/248] Compiling SwiftParser Parser.swift
[164/248] Compiling SwiftParser Patterns.swift
[165/248] Compiling SwiftParser Recovery.swift
[166/248] Compiling SwiftParser Specifiers.swift
[167/248] Compiling SwiftParser Statements.swift
[168/247] Compiling SwiftBasicFormat BasicFormat.swift
[169/248] Emitting module SwiftParser
[171/252] Compiling SwiftParser Types.swift
[172/252] Compiling SwiftParser IsLexerClassified.swift
[173/252] Compiling SwiftParser LayoutNodes+Parsable.swift
[174/252] Compiling SwiftParser Parser+TokenSpecSet.swift
[175/252] Compiling SwiftParser TokenSpecStaticMembers.swift
[176/252] Compiling SwiftParser Attributes.swift
[177/252] Compiling SwiftParser Availability.swift
[178/252] Compiling SwiftParser CharacterInfo.swift
[179/252] Compiling SwiftParser CollectionNodes+Parsable.swift
[180/252] Compiling SwiftParser Declarations.swift
[181/252] Compiling SwiftParser Directives.swift
[182/252] Compiling SwiftParser ExperimentalFeatures.swift
[183/252] Compiling SwiftParser Expressions.swift
[184/252] Compiling SwiftParser IncrementalParseTransition.swift
[185/252] Compiling SwiftParser Cursor.swift
[186/252] Compiling SwiftParser Lexeme.swift
[187/252] Compiling SwiftParser LexemeSequence.swift
[189/253] Compiling SwiftParser TokenPrecedence.swift
[190/253] Compiling SwiftParser TokenSpec.swift
[191/253] Compiling SwiftParser TokenSpecSet.swift
[192/253] Compiling SwiftParser TopLevel.swift
[193/253] Compiling SwiftParser TriviaParser.swift
[194/253] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[195/253] Compiling SwiftParser StringLiterals.swift
[196/253] Compiling SwiftParser SwiftParserCompatibility.swift
[197/253] Compiling SwiftParser SyntaxUtils.swift
[198/253] Compiling SwiftParser TokenConsumer.swift
[198/253] Wrapping AST for SwiftParser for debugging
[205/276] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[206/277] Compiling SwiftOperators PrecedenceGroup.swift
[207/278] Compiling SwiftOperators Operator.swift
[208/278] Compiling SwiftOperators OperatorError+Diagnostics.swift
[209/278] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[210/278] Compiling SwiftOperators OperatorTable.swift
[211/278] Compiling SwiftOperators PrecedenceGraph.swift
[212/278] Emitting module SwiftOperators
[213/278] Compiling SwiftOperators OperatorTable+Semantics.swift
[214/278] Compiling SwiftOperators OperatorError.swift
[215/278] Compiling SwiftOperators OperatorTable+Defaults.swift
[216/278] Compiling SwiftOperators OperatorTable+Folding.swift
[217/278] Compiling SwiftOperators SyntaxSynthesis.swift
[228/279] Wrapping AST for SwiftOperators for debugging
[230/279] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[231/279] Compiling SwiftParserDiagnostics Utils.swift
[232/279] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[233/279] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[234/279] Compiling SwiftParserDiagnostics PresenceUtils.swift
[237/279] Emitting module SwiftParserDiagnostics
[247/279] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[248/279] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[260/281] Wrapping AST for SwiftParser for debugging
[261/281] Wrapping AST for SwiftParserDiagnostics for debugging
[263/318] Compiling SwiftOperators PrecedenceGroup.swift
[264/319] Compiling SwiftOperators PrecedenceGraph.swift
[265/319] Compiling SwiftOperators OperatorTable.swift
[266/319] Compiling SwiftOperators OperatorTable+Semantics.swift
[267/319] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[268/320] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[269/320] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[270/321] Compiling SwiftOperators SyntaxSynthesis.swift
[271/321] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[272/321] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[273/321] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[274/321] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[275/321] Compiling SwiftOperators OperatorTable+Folding.swift
[278/321] Emitting module SwiftOperators
[279/321] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[280/321] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[281/322] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[284/322] Emitting module SwiftSyntaxBuilder
[286/322] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[287/322] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[287/322] Wrapping AST for SwiftOperators for debugging
[291/322] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[292/322] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[293/322] Compiling SwiftSyntaxBuilder Indenter.swift
[294/322] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[299/322] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[300/323] Wrapping AST for SwiftSyntaxBuilder for debugging
[302/337] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[303/337] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[304/337] Emitting module SwiftParserDiagnostics
[305/337] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[306/337] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[311/339] Compiling SwiftSyntaxMacros Macro.swift
[312/339] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[313/339] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[314/339] Compiling SwiftSyntaxMacros Macro+Format.swift
[315/339] Compiling SwiftSyntaxMacros MemberMacro.swift
[316/339] Compiling SwiftSyntaxMacros AccessorMacro.swift
[317/339] Compiling SwiftSyntaxMacros AttachedMacro.swift
[319/339] Compiling SwiftSyntaxMacros PeerMacro.swift
[320/339] Emitting module SwiftSyntaxMacros
[321/339] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[322/339] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[323/339] Wrapping AST for SwiftParserDiagnostics for debugging
[325/361] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[326/361] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[327/362] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[328/362] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[329/362] Emitting module SwiftSyntaxMacroExpansion
[330/362] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[331/362] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[332/362] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[333/362] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[334/362] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[335/362] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[336/362] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[337/362] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[338/362] Emitting module SwiftSyntaxBuilder
[339/362] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[340/362] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[341/362] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[342/362] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[344/363] Compiling SwiftSyntaxBuilder Indenter.swift
[345/363] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[346/363] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[347/363] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[348/363] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[349/364] Wrapping AST for SwiftSyntaxMacroExpansion for debugging
[350/364] Wrapping AST for SwiftSyntaxBuilder for debugging
[352/385] Compiling SwiftSyntaxMacros MemberMacro.swift
[353/386] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[354/386] Emitting module SwiftCompilerPluginMessageHandling
[355/386] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[356/386] Compiling SwiftSyntaxMacros Macro.swift
[357/386] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[358/386] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[359/386] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[360/386] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[361/386] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[362/386] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[363/386] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[364/386] Compiling SwiftSyntaxMacros PeerMacro.swift
[365/387] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[366/387] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[367/387] Compiling SwiftSyntaxMacros AccessorMacro.swift
[368/387] Compiling SwiftSyntaxMacros AttachedMacro.swift
[369/387] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[370/387] Compiling SwiftSyntaxMacros Macro+Format.swift
[371/387] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[372/387] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[373/387] Emitting module SwiftSyntaxMacros
[376/396] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[377/396] Emitting module SwiftCompilerPlugin
[378/396] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[379/396] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[380/396] Emitting module SwiftSyntaxMacroExpansion
[381/397] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[382/397] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[383/397] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[384/397] Wrapping AST for SwiftCompilerPlugin for debugging
[386/397] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[387/397] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[388/421] Wrapping AST for SwiftSyntaxMacroExpansion for debugging
[390/421] Compiling SwiftMockMacros Constants.swift
[391/421] Compiling SwiftMockMacros DiagnosticError.swift
[392/421] Compiling SwiftMockMacros FunctionDiagnostic.swift
[393/421] Compiling SwiftMockMacros PropertyDiagnostic.swift
[394/424] Emitting module SwiftMockMacros
[395/424] Compiling SwiftMockMacros ProtocolDiagnostic.swift
[396/424] Compiling SwiftMockMacros General.swift
[397/424] Compiling SwiftMockMacros Message.swift
[398/431] Compiling SwiftMockMacros InheritanceClauseSyntax.swift
[399/431] Compiling SwiftMockMacros ProtocolDeclSyntax.swift
[400/431] Compiling SwiftMockMacros SubscriptDeclSyntax.swift
[401/431] Compiling SwiftMockMacros FunctionDeclSyntax.swift
[402/431] Compiling SwiftMockMacros FunctionSignatureSyntax.swift
[403/431] Compiling SwiftMockMacros GenericParameterSyntax.swift
[404/431] Compiling SwiftMockMacros AssociatedTypeProcessor.swift
[405/431] Compiling SwiftMockMacros MethodProcessor.swift
[406/431] Compiling SwiftMockMacros Property.swift
[407/431] Emitting module SwiftCompilerPluginMessageHandling
[408/431] Compiling SwiftMockMacros Protocol.swift
[409/431] Compiling SwiftMockMacros Subscript.swift
[410/431] Compiling SwiftMockMacros SwiftMockMacro.swift
[411/431] Compiling SwiftMockMacros AccessorDeclSyntax.swift
[412/431] Compiling SwiftMockMacros AttributeListSyntax.Element.swift
[413/431] Compiling SwiftMockMacros DeclModifierSyntax.swift
[414/431] Compiling SwiftMockMacros TokenSyntax.swift
[415/431] Compiling SwiftMockMacros TypeSyntax.swift
[416/431] Compiling SwiftMockMacros Verify.swift
[417/431] Write Objects.LinkFileList
[419/431] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[420/431] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[421/431] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[422/431] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[423/431] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[424/431] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[425/431] Linking SwiftMockMacros-tool
[427/523] Emitting module SwiftCompilerPlugin
[428/523] Compiling SwiftCompilerPlugin CompilerPlugin.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftCompilerPlugin/CompilerPlugin.swift:103:19: error: cannot find 'dup' in scope
101 | // Duplicate the `stdin` file descriptor, which we will then use for
102 | // receiving messages from the plugin host.
103 | let inputFD = dup(fileno(stdin))
| `- error: cannot find 'dup' in scope
104 | guard inputFD >= 0 else {
105 | internalError("Could not duplicate `stdin`: \(describe(errno: errno)).")
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftCompilerPlugin/CompilerPlugin.swift:117:20: error: cannot find 'dup' in scope
115 | // Duplicate the `stdout` file descriptor, which we will then use for
116 | // sending messages to the plugin host.
117 | let outputFD = dup(fileno(stdout))
| `- error: cannot find 'dup' in scope
118 | guard outputFD >= 0 else {
119 | internalError("Could not dup `stdout`: \(describe(errno: errno)).")
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftCompilerPlugin/CompilerPlugin.swift:124:11: error: cannot find 'dup2' in scope
122 | // Having duplicated the original standard-output descriptor, redirect
123 | // `stdout` to `stderr` so that all free-form text output goes there.
124 | guard dup2(fileno(stderr), fileno(stdout)) >= 0 else {
| `- error: cannot find 'dup2' in scope
125 | internalError("Could not dup2 `stdout` to `stderr`: \(describe(errno: errno)).")
126 | }
BUILD FAILURE 6.1 wasm