Build Information
Failed to build MemberwiseInit, reference main (29f3cb), with Swift 6.2 for Wasm on 30 Oct 2025 17:10:41 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/gohanlon/swift-memberwise-init-macro.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/gohanlon/swift-memberwise-init-macro
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 29f3cba Run swift-format
Cloned https://github.com/gohanlon/swift-memberwise-init-macro.git
Revision (git rev-parse @):
29f3cba483cc4a5647cb8a4717d04b05bd32aad7
SUCCESS checkout https://github.com/gohanlon/swift-memberwise-init-macro.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/gohanlon/swift-memberwise-init-macro.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f6b6b9bdb5d5605d727da337418fc455cd8a0394d3a815b70631008c48829755
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift-sdk.json
Fetching https://github.com/pointfreeco/swift-snapshot-testing
Fetching https://github.com/swiftlang/swift-syntax
[1/72653] Fetching swift-syntax
[5814/88249] Fetching swift-syntax, swift-snapshot-testing
Fetched https://github.com/swiftlang/swift-syntax from cache (10.14s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (10.14s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.18.7 (10.99s)
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/4598] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (2.39s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (3.05s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5552] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.98s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.1 (2.12s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.7.0 (0.44s)
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.18.7
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.3.3
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.7.0
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 601.0.1
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/601.0.1/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/601.0.1/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.72s)
Building for debugging...
[0/63] Write sources
[53/63] Compiling _SwiftSyntaxCShims dummy.c
[55/63] Write swift-version-24593BA9C3E375BF.txt
[57/81] Emitting module IssueReportingPackageSupport
[58/81] Compiling IssueReportingPackageSupport _Test.swift
[60/82] Emitting module SwiftSyntax600
[61/82] Compiling SwiftSyntax600 Empty.swift
[62/83] Emitting module SwiftSyntax601
[63/83] Compiling SwiftSyntax601 Empty.swift
[65/85] Compiling _SwiftSyntaxGenericTestSupport String+TrimmingTrailingWhitespace.swift
[67/86] Emitting module SwiftSyntax510
[68/86] Compiling SwiftSyntax510 Empty.swift
[69/86] Emitting module SwiftSyntax601
[70/87] Compiling SwiftSyntax600 Empty.swift
[71/87] Emitting module SwiftSyntax600
[72/87] Compiling SwiftSyntax601 Empty.swift
[73/87] Emitting module IssueReportingPackageSupport
[74/87] Compiling IssueReportingPackageSupport _Test.swift
[75/92] Compiling _SwiftSyntaxGenericTestSupport AssertEqualWithDiff.swift
[76/92] Compiling _SwiftSyntaxGenericTestSupport String+TrimmingTrailingWhitespace.swift
[77/92] Emitting module _SwiftSyntaxGenericTestSupport
[79/93] Compiling _SwiftSyntaxGenericTestSupport AssertEqualWithDiff.swift
[86/96] Compiling SwiftSyntax510 Empty.swift
[87/96] Emitting module SwiftSyntax510
[88/97] Emitting module SwiftSyntax509
[89/97] Compiling SwiftSyntax509 Empty.swift
[93/163] Emitting module SwiftSyntax509
[95/342] Compiling SwiftSyntax Identifier.swift
[96/342] Compiling SwiftSyntax MemoryLayout.swift
[97/342] Compiling SwiftSyntax MissingNodeInitializers.swift
[98/342] Compiling SwiftSyntax RawSyntax.swift
[99/342] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[100/342] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[101/342] Compiling SwiftSyntax RawSyntaxTokenView.swift
[102/342] Compiling SwiftSyntax SourceEdit.swift
[103/342] Compiling SwiftSyntax SourceLength.swift
[107/353] Compiling SwiftSyntax SyntaxIdentifier.swift
[108/353] Compiling SwiftSyntax SyntaxNodeFactory.swift
[109/353] Compiling SwiftSyntax SyntaxNodeStructure.swift
[110/353] Compiling SwiftSyntax SyntaxProtocol.swift
[111/353] Compiling SwiftSyntax SyntaxText.swift
[112/353] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[113/353] Compiling SwiftSyntax TokenDiagnostic.swift
[114/353] Compiling SwiftSyntax TokenSequence.swift
[115/353] Compiling SwiftSyntax TokenSyntax.swift
[116/362] Compiling MemberwiseInitMacros SyntaxHelpers.swift
/host/spi-builder-workspace/Sources/MemberwiseInitMacros/Macros/Support/SyntaxHelpers.swift:66:42: warning: 'as' is deprecated: This cast will always succeed [#DeprecatedDeclaration]
64 | guard
65 | self.bindings.count == 1,
66 | let binding = self.bindings.first?.as(PatternBindingSyntax.self)
| `- warning: 'as' is deprecated: This cast will always succeed [#DeprecatedDeclaration]
67 | else { return false }
68 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[117/363] Compiling SwiftSyntax CustomTraits.swift
[118/363] Compiling SwiftSyntax EditorPlaceholder.swift
[119/365] Compiling IssueReporting WithExpectedIssue.swift
[120/365] Compiling IssueReporting WithIssueContext.swift
[121/365] Emitting module MemberwiseInitMacros
/host/spi-builder-workspace/Sources/MemberwiseInitMacros/Macros/MemberwiseInitMacro.swift:18:15: warning: deprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter [#DeprecatedDeclaration]
16 | }
17 |
18 | public struct MemberwiseInitMacro: MemberMacro {
| `- warning: deprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter [#DeprecatedDeclaration]
19 | public static func expansion<D, C>(
20 | of node: AttributeSyntax,
SwiftSyntaxMacros.MemberMacro.expansion:3:22: note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
1 | protocol MemberMacro {
2 | @available(*, deprecated, message: "`MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter")
3 | public static func expansion(of node: SwiftSyntax.AttributeSyntax, providingMembersOf declaration: some SwiftSyntax.DeclGroupSyntax, conformingTo protocols: [SwiftSyntax.TypeSyntax], in context: some SwiftSyntaxMacros.MacroExpansionContext) throws -> [SwiftSyntax.DeclSyntax]}
| `- note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
4 |
SwiftSyntaxMacros.MemberMacro.expansion:2:13: note: requirement 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
1 | protocol MemberMacro {
2 | static func expansion(of node: SwiftSyntax.AttributeSyntax, providingMembersOf declaration: some SwiftSyntax.DeclGroupSyntax, conformingTo protocols: [SwiftSyntax.TypeSyntax], in context: some SwiftSyntaxMacros.MacroExpansionContext) throws -> [SwiftSyntax.DeclSyntax]}
| `- note: requirement 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
3 |
/host/spi-builder-workspace/Sources/MemberwiseInitMacros/Macros/UncheckedMemberwiseInitMacro.swift:8:15: warning: deprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter [#DeprecatedDeclaration]
6 | import SwiftSyntaxMacros
7 |
8 | public struct UncheckedMemberwiseInitMacro: MemberMacro {
| `- warning: deprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter [#DeprecatedDeclaration]
9 | public static func expansion<D, C>(
10 | of node: AttributeSyntax,
SwiftSyntaxMacros.MemberMacro.expansion:3:22: note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
1 | protocol MemberMacro {
2 | @available(*, deprecated, message: "`MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter")
3 | public static func expansion(of node: SwiftSyntax.AttributeSyntax, providingMembersOf declaration: some SwiftSyntax.DeclGroupSyntax, conformingTo protocols: [SwiftSyntax.TypeSyntax], in context: some SwiftSyntaxMacros.MacroExpansionContext) throws -> [SwiftSyntax.DeclSyntax]}
| `- note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
4 |
SwiftSyntaxMacros.MemberMacro.expansion:2:13: note: requirement 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
1 | protocol MemberMacro {
2 | static func expansion(of node: SwiftSyntax.AttributeSyntax, providingMembersOf declaration: some SwiftSyntax.DeclGroupSyntax, conformingTo protocols: [SwiftSyntax.TypeSyntax], in context: some SwiftSyntaxMacros.MacroExpansionContext) throws -> [SwiftSyntax.DeclSyntax]}
| `- note: requirement 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
3 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[122/365] Compiling SwiftSyntax AbsolutePosition.swift
[123/365] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[124/365] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[125/365] Compiling SwiftSyntax Assert.swift
[126/365] Compiling SwiftSyntax BumpPtrAllocator.swift
[127/365] Compiling SwiftSyntax CommonAncestor.swift
[128/365] Compiling SwiftSyntax Convenience.swift
[131/365] Compiling MemberwiseInitMacros UncheckedMemberwiseInitMacro.swift
/host/spi-builder-workspace/Sources/MemberwiseInitMacros/Macros/UncheckedMemberwiseInitMacro.swift:8:15: warning: deprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter [#DeprecatedDeclaration]
6 | import SwiftSyntaxMacros
7 |
8 | public struct UncheckedMemberwiseInitMacro: MemberMacro {
| `- warning: deprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter [#DeprecatedDeclaration]
9 | public static func expansion<D, C>(
10 | of node: AttributeSyntax,
SwiftSyntaxMacros.MemberMacro.expansion:3:22: note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
1 | protocol MemberMacro {
2 | @available(*, deprecated, message: "`MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter")
3 | public static func expansion(of node: SwiftSyntax.AttributeSyntax, providingMembersOf declaration: some SwiftSyntax.DeclGroupSyntax, conformingTo protocols: [SwiftSyntax.TypeSyntax], in context: some SwiftSyntaxMacros.MacroExpansionContext) throws -> [SwiftSyntax.DeclSyntax]}
| `- note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
4 |
SwiftSyntaxMacros.MemberMacro.expansion:2:13: note: requirement 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
1 | protocol MemberMacro {
2 | static func expansion(of node: SwiftSyntax.AttributeSyntax, providingMembersOf declaration: some SwiftSyntax.DeclGroupSyntax, conformingTo protocols: [SwiftSyntax.TypeSyntax], in context: some SwiftSyntaxMacros.MacroExpansionContext) throws -> [SwiftSyntax.DeclSyntax]}
| `- note: requirement 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
3 |
/host/spi-builder-workspace/Sources/MemberwiseInitMacros/Macros/UncheckedMemberwiseInitMacro.swift:16:13: warning: 'MacroExpansionErrorMessage' is deprecated: MacroExpansionErrorMessage has been moved to the SwiftSyntaxMacros module [#DeprecatedDeclaration]
14 | where D: DeclGroupSyntax, C: MacroExpansionContext {
15 | guard [SwiftSyntax.SyntaxKind.classDecl, .structDecl, .actorDecl].contains(decl.kind) else {
16 | throw MacroExpansionErrorMessage(
| `- warning: 'MacroExpansionErrorMessage' is deprecated: MacroExpansionErrorMessage has been moved to the SwiftSyntaxMacros module [#DeprecatedDeclaration]
17 | """
18 | @_UncheckedMemberwiseInit can only be attached to a struct, class, or actor; \
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 | import CoreServices
| `- error: no such module 'CoreServices'
527 |
528 | func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 | import CoreServices
| `- error: no such module 'CoreServices'
527 |
528 | func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 | import CoreServices
| `- error: no such module 'CoreServices'
527 |
528 | func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 | import CoreServices
| `- error: no such module 'CoreServices'
527 |
528 | func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
[156/369] Emitting module IssueReporting
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 | import CoreServices
| `- error: no such module 'CoreServices'
527 |
528 | func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 | import CoreServices
| `- error: no such module 'CoreServices'
527 |
528 | func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
[159/369] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 | import CoreServices
| `- error: no such module 'CoreServices'
527 |
528 | func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
[160/369] Compiling SwiftSyntax Syntax.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 | import CoreServices
| `- error: no such module 'CoreServices'
527 |
528 | func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
[161/369] Compiling SwiftSyntax SyntaxArena.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 | import CoreServices
| `- error: no such module 'CoreServices'
527 |
528 | func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
[162/369] Compiling SwiftSyntax SyntaxArenaAllocatedBuffer.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 | import CoreServices
| `- error: no such module 'CoreServices'
527 |
528 | func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
[163/369] Compiling SwiftSyntax SyntaxChildren.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 | import CoreServices
| `- error: no such module 'CoreServices'
527 |
528 | func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
[164/369] Compiling SwiftSyntax SyntaxCollection.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 | import CoreServices
| `- error: no such module 'CoreServices'
527 |
528 | func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
[171/369] Compiling SnapshotTesting UIImage.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 | import CoreServices
| `- error: no such module 'CoreServices'
527 |
528 | func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
[172/369] Compiling SnapshotTesting UIView.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 | import CoreServices
| `- error: no such module 'CoreServices'
527 |
528 | func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
[173/369] Compiling SnapshotTesting UIViewController.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 | import CoreServices
| `- error: no such module 'CoreServices'
527 |
528 | func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
[174/369] Compiling SnapshotTesting URLRequest.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 | import CoreServices
| `- error: no such module 'CoreServices'
527 |
528 | func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[175/369] Emitting module SnapshotTesting
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 | import CoreServices
| `- error: no such module 'CoreServices'
527 |
528 | func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 | import CoreServices
| `- error: no such module 'CoreServices'
527 |
528 | func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 | import CoreServices
| `- error: no such module 'CoreServices'
527 |
528 | func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 | import CoreServices
| `- error: no such module 'CoreServices'
527 |
528 | func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 | import CoreServices
| `- error: no such module 'CoreServices'
527 |
528 | func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 | import CoreServices
| `- error: no such module 'CoreServices'
527 |
528 | func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 | import CoreServices
| `- error: no such module 'CoreServices'
527 |
528 | func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 | import CoreServices
| `- error: no such module 'CoreServices'
527 |
528 | func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 | import CoreServices
| `- error: no such module 'CoreServices'
527 |
528 | func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 | import CoreServices
| `- error: no such module 'CoreServices'
527 |
528 | func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 | import CoreServices
| `- error: no such module 'CoreServices'
527 |
528 | func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
[186/369] Compiling SwiftSyntax SyntaxHashable.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 | import CoreServices
| `- error: no such module 'CoreServices'
527 |
528 | func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 | import CoreServices
| `- error: no such module 'CoreServices'
527 |
528 | func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 | import CoreServices
| `- error: no such module 'CoreServices'
527 |
528 | func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 | import CoreServices
| `- error: no such module 'CoreServices'
527 |
528 | func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 | import CoreServices
| `- error: no such module 'CoreServices'
527 |
528 | func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 | import CoreServices
| `- error: no such module 'CoreServices'
527 |
528 | func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 | import CoreServices
| `- error: no such module 'CoreServices'
527 |
528 | func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 | import CoreServices
| `- error: no such module 'CoreServices'
527 |
528 | func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
/host/spi-builder-workspace/Sources/MemberwiseInitMacros/Macros/MemberwiseInitMacro.swift:18:15: warning: deprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter [#DeprecatedDeclaration]
16 | }
17 |
18 | public struct MemberwiseInitMacro: MemberMacro {
| `- warning: deprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter [#DeprecatedDeclaration]
19 | public static func expansion<D, C>(
20 | of node: AttributeSyntax,
SwiftSyntaxMacros.MemberMacro.expansion:3:22: note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
1 | protocol MemberMacro {
2 | @available(*, deprecated, message: "`MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter")
3 | public static func expansion(of node: SwiftSyntax.AttributeSyntax, providingMembersOf declaration: some SwiftSyntax.DeclGroupSyntax, conformingTo protocols: [SwiftSyntax.TypeSyntax], in context: some SwiftSyntaxMacros.MacroExpansionContext) throws -> [SwiftSyntax.DeclSyntax]}
| `- note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
4 |
SwiftSyntaxMacros.MemberMacro.expansion:2:13: note: requirement 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
1 | protocol MemberMacro {
2 | static func expansion(of node: SwiftSyntax.AttributeSyntax, providingMembersOf declaration: some SwiftSyntax.DeclGroupSyntax, conformingTo protocols: [SwiftSyntax.TypeSyntax], in context: some SwiftSyntaxMacros.MacroExpansionContext) throws -> [SwiftSyntax.DeclSyntax]}
| `- note: requirement 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
3 |
/host/spi-builder-workspace/Sources/MemberwiseInitMacros/Macros/MemberwiseInitMacro.swift:26:13: warning: 'MacroExpansionErrorMessage' is deprecated: MacroExpansionErrorMessage has been moved to the SwiftSyntaxMacros module [#DeprecatedDeclaration]
24 | where D: DeclGroupSyntax, C: MacroExpansionContext {
25 | guard [SwiftSyntax.SyntaxKind.classDecl, .structDecl, .actorDecl].contains(decl.kind) else {
26 | throw MacroExpansionErrorMessage(
| `- warning: 'MacroExpansionErrorMessage' is deprecated: MacroExpansionErrorMessage has been moved to the SwiftSyntaxMacros module [#DeprecatedDeclaration]
27 | """
28 | @MemberwiseInit can only be attached to a struct, class, or actor; \
/host/spi-builder-workspace/Sources/MemberwiseInitMacros/Macros/MemberwiseInitMacro.swift:205:13: warning: 'MacroExpansionErrorMessage' is deprecated: MacroExpansionErrorMessage has been moved to the SwiftSyntaxMacros module [#DeprecatedDeclaration]
203 | acc.diagnostics.append(
204 | propertyBinding.diagnostic(
205 | MacroExpansionErrorMessage("@MemberwiseInit requires a type annotation.")
| `- warning: 'MacroExpansionErrorMessage' is deprecated: MacroExpansionErrorMessage has been moved to the SwiftSyntaxMacros module [#DeprecatedDeclaration]
206 | )
207 | )
/host/spi-builder-workspace/Sources/MemberwiseInitMacros/Macros/MemberwiseInitMacro.swift:213:13: warning: 'MacroExpansionErrorMessage' is deprecated: MacroExpansionErrorMessage has been moved to the SwiftSyntaxMacros module [#DeprecatedDeclaration]
211 | acc.diagnostics.append(
212 | propertyBinding.diagnostic(
213 | MacroExpansionErrorMessage(
| `- warning: 'MacroExpansionErrorMessage' is deprecated: MacroExpansionErrorMessage has been moved to the SwiftSyntaxMacros module [#DeprecatedDeclaration]
214 | """
215 | @MemberwiseInit does not support tuple destructuring for property declarations. \
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/host/spi-builder-workspace/Sources/MemberwiseInitMacros/Macros/MemberwiseInitMacro.swift:18:15: warning: deprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter [#DeprecatedDeclaration]
16 | }
17 |
18 | public struct MemberwiseInitMacro: MemberMacro {
| `- warning: deprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter [#DeprecatedDeclaration]
19 | public static func expansion<D, C>(
20 | of node: AttributeSyntax,
SwiftSyntaxMacros.MemberMacro.expansion:3:22: note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
1 | protocol MemberMacro {
2 | @available(*, deprecated, message: "`MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter")
3 | public static func expansion(of node: SwiftSyntax.AttributeSyntax, providingMembersOf declaration: some SwiftSyntax.DeclGroupSyntax, conformingTo protocols: [SwiftSyntax.TypeSyntax], in context: some SwiftSyntaxMacros.MacroExpansionContext) throws -> [SwiftSyntax.DeclSyntax]}
| `- note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
4 |
SwiftSyntaxMacros.MemberMacro.expansion:2:13: note: requirement 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
1 | protocol MemberMacro {
2 | static func expansion(of node: SwiftSyntax.AttributeSyntax, providingMembersOf declaration: some SwiftSyntax.DeclGroupSyntax, conformingTo protocols: [SwiftSyntax.TypeSyntax], in context: some SwiftSyntaxMacros.MacroExpansionContext) throws -> [SwiftSyntax.DeclSyntax]}
| `- note: requirement 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
3 |
/host/spi-builder-workspace/Sources/MemberwiseInitMacros/Macros/MemberwiseInitMacro.swift:26:13: warning: 'MacroExpansionErrorMessage' is deprecated: MacroExpansionErrorMessage has been moved to the SwiftSyntaxMacros module [#DeprecatedDeclaration]
24 | where D: DeclGroupSyntax, C: MacroExpansionContext {
25 | guard [SwiftSyntax.SyntaxKind.classDecl, .structDecl, .actorDecl].contains(decl.kind) else {
26 | throw MacroExpansionErrorMessage(
| `- warning: 'MacroExpansionErrorMessage' is deprecated: MacroExpansionErrorMessage has been moved to the SwiftSyntaxMacros module [#DeprecatedDeclaration]
27 | """
28 | @MemberwiseInit can only be attached to a struct, class, or actor; \
/host/spi-builder-workspace/Sources/MemberwiseInitMacros/Macros/MemberwiseInitMacro.swift:205:13: warning: 'MacroExpansionErrorMessage' is deprecated: MacroExpansionErrorMessage has been moved to the SwiftSyntaxMacros module [#DeprecatedDeclaration]
203 | acc.diagnostics.append(
204 | propertyBinding.diagnostic(
205 | MacroExpansionErrorMessage("@MemberwiseInit requires a type annotation.")
| `- warning: 'MacroExpansionErrorMessage' is deprecated: MacroExpansionErrorMessage has been moved to the SwiftSyntaxMacros module [#DeprecatedDeclaration]
206 | )
207 | )
/host/spi-builder-workspace/Sources/MemberwiseInitMacros/Macros/MemberwiseInitMacro.swift:213:13: warning: 'MacroExpansionErrorMessage' is deprecated: MacroExpansionErrorMessage has been moved to the SwiftSyntaxMacros module [#DeprecatedDeclaration]
211 | acc.diagnostics.append(
212 | propertyBinding.diagnostic(
213 | MacroExpansionErrorMessage(
| `- warning: 'MacroExpansionErrorMessage' is deprecated: MacroExpansionErrorMessage has been moved to the SwiftSyntaxMacros module [#DeprecatedDeclaration]
214 | """
215 | @MemberwiseInit does not support tuple destructuring for property declarations. \
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/host/spi-builder-workspace/Sources/MemberwiseInitMacros/Macros/Support/DeprecationDiagnostics.swift:49:16: warning: 'MacroExpansionWarningMessage' is deprecated: MacroExpansionWarningMessage has been moved to the SwiftSyntaxMacros module [#DeprecatedDeclaration]
47 | return Diagnostic(
48 | node: configuration,
49 | message: MacroExpansionWarningMessage(
| `- warning: 'MacroExpansionWarningMessage' is deprecated: MacroExpansionWarningMessage has been moved to the SwiftSyntaxMacros module [#DeprecatedDeclaration]
50 | """
51 | @Init(.escaping) is deprecated
/host/spi-builder-workspace/Sources/MemberwiseInitMacros/Macros/Support/DeprecationDiagnostics.swift:55:18: warning: 'MacroExpansionFixItMessage' is deprecated: MacroExpansionFixItMessage has been moved to the SwiftSyntaxMacros module [#DeprecatedDeclaration]
53 | ),
54 | fixIt: FixIt(
55 | message: MacroExpansionFixItMessage(
| `- warning: 'MacroExpansionFixItMessage' is deprecated: MacroExpansionFixItMessage has been moved to the SwiftSyntaxMacros module [#DeprecatedDeclaration]
56 | "Replace '@Init(.escaping)' with '@Init(escaping: true)'"
57 | ),
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/host/spi-builder-workspace/Sources/MemberwiseInitMacros/Macros/Support/DeprecationDiagnostics.swift:49:16: warning: 'MacroExpansionWarningMessage' is deprecated: MacroExpansionWarningMessage has been moved to the SwiftSyntaxMacros module [#DeprecatedDeclaration]
47 | return Diagnostic(
48 | node: configuration,
49 | message: MacroExpansionWarningMessage(
| `- warning: 'MacroExpansionWarningMessage' is deprecated: MacroExpansionWarningMessage has been moved to the SwiftSyntaxMacros module [#DeprecatedDeclaration]
50 | """
51 | @Init(.escaping) is deprecated
/host/spi-builder-workspace/Sources/MemberwiseInitMacros/Macros/Support/DeprecationDiagnostics.swift:55:18: warning: 'MacroExpansionFixItMessage' is deprecated: MacroExpansionFixItMessage has been moved to the SwiftSyntaxMacros module [#DeprecatedDeclaration]
53 | ),
54 | fixIt: FixIt(
55 | message: MacroExpansionFixItMessage(
| `- warning: 'MacroExpansionFixItMessage' is deprecated: MacroExpansionFixItMessage has been moved to the SwiftSyntaxMacros module [#DeprecatedDeclaration]
56 | "Replace '@Init(.escaping)' with '@Init(escaping: true)'"
57 | ),
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/host/spi-builder-workspace/Sources/MemberwiseInitMacros/Macros/Support/Diagnostics.swift:13:16: warning: 'MacroExpansionErrorMessage' is deprecated: MacroExpansionErrorMessage has been moved to the SwiftSyntaxMacros module [#DeprecatedDeclaration]
11 | Diagnostic(
12 | node: attribute,
13 | message: MacroExpansionErrorMessage(
| `- warning: 'MacroExpansionErrorMessage' is deprecated: MacroExpansionErrorMessage has been moved to the SwiftSyntaxMacros module [#DeprecatedDeclaration]
14 | "Multiple @Init configurations are not supported by @MemberwiseInit"
15 | )
/host/spi-builder-workspace/Sources/MemberwiseInitMacros/Macros/Support/Diagnostics.swift:78:14: warning: 'MacroExpansionErrorMessage' is deprecated: MacroExpansionErrorMessage has been moved to the SwiftSyntaxMacros module [#DeprecatedDeclaration]
76 | // @InitWrapper and @InitRaw can be errors instead of warnings since they haven't seen release.
77 | if attributeName != "Init" {
78 | return MacroExpansionErrorMessage(message)
| `- warning: 'MacroExpansionErrorMessage' is deprecated: MacroExpansionErrorMessage has been moved to the SwiftSyntaxMacros module [#DeprecatedDeclaration]
79 | }
80 | // @Init(default:) hasn't seen release, so any misuses that include "default" can be an error.
/host/spi-builder-workspace/Sources/MemberwiseInitMacros/Macros/Support/Diagnostics.swift:82:14: warning: 'MacroExpansionErrorMessage' is deprecated: MacroExpansionErrorMessage has been moved to the SwiftSyntaxMacros module [#DeprecatedDeclaration]
80 | // @Init(default:) hasn't seen release, so any misuses that include "default" can be an error.
81 | if variable.includesArgument("default") {
82 | return MacroExpansionErrorMessage(message)
| `- warning: 'MacroExpansionErrorMessage' is deprecated: MacroExpansionErrorMessage has been moved to the SwiftSyntaxMacros module [#DeprecatedDeclaration]
83 | }
84 |
/host/spi-builder-workspace/Sources/MemberwiseInitMacros/Macros/Support/Diagnostics.swift:87:12: warning: 'MacroExpansionWarningMessage' is deprecated: MacroExpansionWarningMessage has been moved to the SwiftSyntaxMacros module [#DeprecatedDeclaration]
85 | // TODO: For 1.0, @Init can also be an error
86 | // Conservatively, make @Init be a warning to tolerate uses relying on @Init being silently ignored.
87 | return MacroExpansionWarningMessage(message)
| `- warning: 'MacroExpansionWarningMessage' is deprecated: MacroExpansionWarningMessage has been moved to the SwiftSyntaxMacros module [#DeprecatedDeclaration]
88 | }
89 |
/host/spi-builder-workspace/Sources/MemberwiseInitMacros/Macros/Support/Diagnostics.swift:102:16: warning: 'MacroExpansionWarningMessage' is deprecated: MacroExpansionWarningMessage has been moved to the SwiftSyntaxMacros module [#DeprecatedDeclaration]
100 | return Diagnostic(
101 | node: modifier,
102 | message: MacroExpansionWarningMessage(
| `- warning: 'MacroExpansionWarningMessage' is deprecated: MacroExpansionWarningMessage has been moved to the SwiftSyntaxMacros module [#DeprecatedDeclaration]
103 | "@\(attributeName) can't be applied to 'static' members"),
104 | fixIts: [variable.fixItRemoveCustomInit].compactMap { $0 }
/host/spi-builder-workspace/Sources/MemberwiseInitMacros/Macros/Support/Diagnostics.swift:111:16: warning: 'MacroExpansionWarningMessage' is deprecated: MacroExpansionWarningMessage has been moved to the SwiftSyntaxMacros module [#DeprecatedDeclaration]
109 | return Diagnostic(
110 | node: modifier,
111 | message: MacroExpansionWarningMessage("@\(attributeName) can't be applied to 'lazy' members"),
| `- warning: 'MacroExpansionWarningMessage' is deprecated: MacroExpansionWarningMessage has been moved to the SwiftSyntaxMacros module [#DeprecatedDeclaration]
112 | fixIts: [variable.fixItRemoveCustomInit].compactMap { $0 }
113 | )
/host/spi-builder-workspace/Sources/MemberwiseInitMacros/Macros/Support/Diagnostics.swift:128:7: warning: 'MacroExpansionErrorMessage' is deprecated: MacroExpansionErrorMessage has been moved to the SwiftSyntaxMacros module [#DeprecatedDeclaration]
126 | {
127 | return customSettings.diagnosticOnLabel(
128 | MacroExpansionErrorMessage("Custom 'label' can't be applied to multiple bindings")
| `- warning: 'MacroExpansionErrorMessage' is deprecated: MacroExpansionErrorMessage has been moved to the SwiftSyntaxMacros module [#DeprecatedDeclaration]
129 | )
130 | }
/host/spi-builder-workspace/Sources/MemberwiseInitMacros/Macros/Support/Diagnostics.swift:133:50: warning: 'MacroExpansionErrorMessage' is deprecated: MacroExpansionErrorMessage has been moved to the SwiftSyntaxMacros module [#DeprecatedDeclaration]
131 |
132 | if customSettings.label?.isInvalidSwiftLabel ?? false {
133 | return customSettings.diagnosticOnLabelValue(MacroExpansionErrorMessage("Invalid label value"))
| `- warning: 'MacroExpansionErrorMessage' is deprecated: MacroExpansionErrorMessage has been moved to the SwiftSyntaxMacros module [#DeprecatedDeclaration]
134 | }
135 |
/host/spi-builder-workspace/Sources/MemberwiseInitMacros/Macros/Support/Diagnostics.swift:154:5: warning: 'MacroExpansionErrorMessage' is deprecated: MacroExpansionErrorMessage has been moved to the SwiftSyntaxMacros module [#DeprecatedDeclaration]
152 |
153 | return customSettings.diagnosticOnDefault(
154 | MacroExpansionErrorMessage("Custom 'default' can't be applied to multiple bindings"),
| `- warning: 'MacroExpansionErrorMessage' is deprecated: MacroExpansionErrorMessage has been moved to the SwiftSyntaxMacros module [#DeprecatedDeclaration]
155 | fixIts: fixIts
156 | )
/host/spi-builder-workspace/Sources/MemberwiseInitMacros/Macros/Support/Diagnostics.swift:175:5: warning: 'MacroExpansionErrorMessage' is deprecated: MacroExpansionErrorMessage has been moved to the SwiftSyntaxMacros module [#DeprecatedDeclaration]
173 |
174 | return customSettings.diagnosticOnDefault(
175 | MacroExpansionErrorMessage("Custom 'default' can't be applied to already initialized variable"),
| `- warning: 'MacroExpansionErrorMessage' is deprecated: MacroExpansionErrorMessage has been moved to the SwiftSyntaxMacros module [#DeprecatedDeclaration]
176 | fixIts: fixIts
177 | )
/host/spi-builder-workspace/Sources/MemberwiseInitMacros/Macros/Support/Diagnostics.swift:257:16: warning: 'MacroExpansionFixItMessage' is deprecated: MacroExpansionFixItMessage has been moved to the SwiftSyntaxMacros module [#DeprecatedDeclaration]
255 |
256 | return FixIt(
257 | message: MacroExpansionFixItMessage(
| `- warning: 'MacroExpansionFixItMessage' is deprecated: MacroExpansionFixItMessage has been moved to the SwiftSyntaxMacros module [#DeprecatedDeclaration]
258 | "Add '@\(customAttribute.attributeName.trimmedDescription)(.\(targetAccessLevel))'"),
259 | changes: [
/host/spi-builder-workspace/Sources/MemberwiseInitMacros/Macros/Support/Diagnostics.swift:314:16: warning: 'MacroExpansionFixItMessage' is deprecated: MacroExpansionFixItMessage has been moved to the SwiftSyntaxMacros module [#DeprecatedDeclaration]
312 |
313 | return FixIt(
314 | message: MacroExpansionFixItMessage(message),
| `- warning: 'MacroExpansionFixItMessage' is deprecated: MacroExpansionFixItMessage has been moved to the SwiftSyntaxMacros module [#DeprecatedDeclaration]
315 | changes: [
316 | FixIt.Change.replace(
/host/spi-builder-workspace/Sources/MemberwiseInitMacros/Macros/Support/Diagnostics.swift:355:16: warning: 'MacroExpansionFixItMessage' is deprecated: MacroExpansionFixItMessage has been moved to the SwiftSyntaxMacros module [#DeprecatedDeclaration]
353 |
354 | return FixIt(
355 | message: MacroExpansionFixItMessage(message),
| `- warning: 'MacroExpansionFixItMessage' is deprecated: MacroExpansionFixItMessage has been moved to the SwiftSyntaxMacros module [#DeprecatedDeclaration]
356 | changes: [
357 | FixIt.Change.replace(
/host/spi-builder-workspace/Sources/MemberwiseInitMacros/Macros/Support/Diagnostics.swift:372:14: warning: 'MacroExpansionErrorMessage' is deprecated: MacroExpansionErrorMessage has been moved to the SwiftSyntaxMacros module [#DeprecatedDeclaration]
370 | return Diagnostic(
371 | node: targetNode,
372 | message: MacroExpansionErrorMessage(
| `- warning: 'MacroExpansionErrorMessage' is deprecated: MacroExpansionErrorMessage has been moved to the SwiftSyntaxMacros module [#DeprecatedDeclaration]
373 | """
374 | @MemberwiseInit(.\(targetAccessLevel)) would leak access to '\(effectiveAccessLevel)' property
/host/spi-builder-workspace/Sources/MemberwiseInitMacros/Macros/Support/Diagnostics.swift:402:11: warning: 'MacroExpansionErrorMessage' is deprecated: MacroExpansionErrorMessage has been moved to the SwiftSyntaxMacros module [#DeprecatedDeclaration]
400 | diagnostics.append(
401 | customSettings.diagnosticOnLabelValue(
402 | MacroExpansionErrorMessage("Label '\(label)' conflicts with another label")
| `- warning: 'MacroExpansionErrorMessage' is deprecated: MacroExpansionErrorMessage has been moved to the SwiftSyntaxMacros module [#DeprecatedDeclaration]
403 | )
404 | )
/host/spi-builder-workspace/Sources/MemberwiseInitMacros/Macros/Support/Diagnostics.swift:427:9: warning: 'MacroExpansionErrorMessage' is deprecated: MacroExpansionErrorMessage has been moved to the SwiftSyntaxMacros module [#DeprecatedDeclaration]
425 | diagnostics.append(
426 | propertyCustomSettings.diagnosticOnLabelValue(
427 | MacroExpansionErrorMessage("Label '\(label)' conflicts with a property name")
| `- warning: 'MacroExpansionErrorMessage' is deprecated: MacroExpansionErrorMessage has been moved to the SwiftSyntaxMacros module [#DeprecatedDeclaration]
428 | )
429 | )
/host/spi-builder-workspace/Sources/MemberwiseInitMacros/Macros/Support/Diagnostics.swift:456:16: warning: 'MacroExpansionFixItMessage' is deprecated: MacroExpansionFixItMessage has been moved to the SwiftSyntaxMacros module [#DeprecatedDeclaration]
454 |
455 | return FixIt(
456 | message: MacroExpansionFixItMessage("Remove 'default: \(defaultValue)'"),
| `- warning: 'MacroExpansionFixItMessage' is deprecated: MacroExpansionFixItMessage has been moved to the SwiftSyntaxMacros module [#DeprecatedDeclaration]
457 | changes: [
458 | FixIt.Change.replace(
/host/spi-builder-workspace/Sources/MemberwiseInitMacros/Macros/Support/Diagnostics.swift:475:16: warning: 'MacroExpansionFixItMessage' is deprecated: MacroExpansionFixItMessage has been moved to the SwiftSyntaxMacros module [#DeprecatedDeclaration]
473 |
474 | return FixIt(
475 | message: MacroExpansionFixItMessage("Remove '\(customAttribute.trimmedDescription)'"),
| `- warning: 'MacroExpansionFixItMessage' is deprecated: MacroExpansionFixItMessage has been moved to the SwiftSyntaxMacros module [#DeprecatedDeclaration]
476 | changes: [
477 | FixIt.Change.replace(
/host/spi-builder-workspace/Sources/MemberwiseInitMacros/Macros/Support/Diagnostics.swift:500:12: warning: 'as' is deprecated: Use `TypeSyntax.init` for upcasting [#DeprecatedDeclaration]
498 | type: inferredTypeSyntax
499 | ?? MissingTypeSyntax(placeholder: TokenSyntax(stringLiteral: "\u{3C}#Type#\u{3E}"))
500 | .as(TypeSyntax.self)!
| `- warning: 'as' is deprecated: Use `TypeSyntax.init` for upcasting [#DeprecatedDeclaration]
501 | )
502 | newFirstBinding.pattern = newFirstBinding.pattern.trimmed
/host/spi-builder-workspace/Sources/MemberwiseInitMacros/Macros/Support/Diagnostics.swift:509:16: warning: 'MacroExpansionFixItMessage' is deprecated: MacroExpansionFixItMessage has been moved to the SwiftSyntaxMacros module [#DeprecatedDeclaration]
507 |
508 | return FixIt(
509 | message: MacroExpansionFixItMessage(
| `- warning: 'MacroExpansionFixItMessage' is deprecated: MacroExpansionFixItMessage has been moved to the SwiftSyntaxMacros module [#DeprecatedDeclaration]
510 | "Remove '\(firstBindingInitializer.trimmedDescription)'"
511 | ),
/host/spi-builder-workspace/Sources/MemberwiseInitMacros/Macros/Support/ExprTypeInference.swift:224:53: warning: 'as' is deprecated: Use `ExprSyntax.init` for upcasting [#DeprecatedDeclaration]
222 | guard
223 | let infixOperatorExpr = self.as(InfixOperatorExprSyntax.self),
224 | let lhsType = infixOperatorExpr.leftOperand.as(ExprSyntax.self)?.inferredType,
| `- warning: 'as' is deprecated: Use `ExprSyntax.init` for upcasting [#DeprecatedDeclaration]
225 | let rhsType = infixOperatorExpr.rightOperand.as(ExprSyntax.self)?.inferredType,
226 | let operation = InfixOperator(rawValue: infixOperatorExpr.operator.trimmedDescription),
/host/spi-builder-workspace/Sources/MemberwiseInitMacros/Macros/Support/ExprTypeInference.swift:225:54: warning: 'as' is deprecated: Use `ExprSyntax.init` for upcasting [#DeprecatedDeclaration]
223 | let infixOperatorExpr = self.as(InfixOperatorExprSyntax.self),
224 | let lhsType = infixOperatorExpr.leftOperand.as(ExprSyntax.self)?.inferredType,
225 | let rhsType = infixOperatorExpr.rightOperand.as(ExprSyntax.self)?.inferredType,
| `- warning: 'as' is deprecated: Use `ExprSyntax.init` for upcasting [#DeprecatedDeclaration]
226 | let operation = InfixOperator(rawValue: infixOperatorExpr.operator.trimmedDescription),
227 | let inferredType = resultTypeOfInfixOperation(
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
BUILD FAILURE 6.2 wasm