The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build grpc-swift-2, reference main (531924), with Swift 6.2 for Wasm on 2 Dec 2025 12:32:17 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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

Build Log

     |       `- note: cannot automatically synthesize 'Decodable' because '[CodeBlock]?' does not conform to 'Decodable'
1057 | }
1058 |
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:360:8: error: type 'WhereClause' does not conform to protocol 'Decodable'
 358 | ///
 359 | /// For example: `extension Array where Element: Foo {`.
 360 | struct WhereClause: Equatable, Codable, Sendable {
     |        `- error: type 'WhereClause' does not conform to protocol 'Decodable'
 361 |
 362 |   /// One or more requirements to be added after the `where` keyword.
 363 |   var requirements: [WhereClauseRequirement]
     |       `- note: cannot automatically synthesize 'Decodable' because '[WhereClauseRequirement]' does not conform to 'Decodable'
 364 | }
 365 |
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:360:8: error: type 'WhereClause' does not conform to protocol 'Decodable'
 358 | ///
 359 | /// For example: `extension Array where Element: Foo {`.
 360 | struct WhereClause: Equatable, Codable, Sendable {
     |        `- error: type 'WhereClause' does not conform to protocol 'Decodable'
 361 |
 362 |   /// One or more requirements to be added after the `where` keyword.
 363 |   var requirements: [WhereClauseRequirement]
     |       `- note: cannot automatically synthesize 'Decodable' because '[WhereClauseRequirement]' does not conform to 'Decodable'
 364 | }
 365 |
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:612:8: error: type 'FunctionSignatureDescription' does not conform to protocol 'Decodable'
 610 | ///
 611 | /// For example: `func foo(bar: String) async throws -> Int`.
 612 | struct FunctionSignatureDescription: Equatable, Codable, Sendable {
     |        `- error: type 'FunctionSignatureDescription' does not conform to protocol 'Decodable'
 613 |
 614 |   /// An access modifier.
 615 |   var accessModifier: AccessModifier? = nil
     |       `- note: cannot automatically synthesize 'Decodable' because 'AccessModifier?' does not conform to 'Decodable'
 616 |
 617 |   /// The kind of the function.
     :
 619 |
 620 |   /// The generic types of the function.
 621 |   var generics: [ExistingTypeDescription] = []
     |       `- note: cannot automatically synthesize 'Decodable' because '[ExistingTypeDescription]' does not conform to 'Decodable'
 622 |
 623 |   /// The parameters of the function.
 624 |   var parameters: [ParameterDescription] = []
     |       `- note: cannot automatically synthesize 'Decodable' because '[ParameterDescription]' does not conform to 'Decodable'
 625 |
 626 |   /// The keywords of the function, such as `async` and `throws.`
 627 |   var keywords: [FunctionKeyword] = []
     |       `- note: cannot automatically synthesize 'Decodable' because '[FunctionKeyword]' does not conform to 'Decodable'
 628 |
 629 |   /// The return type name of the function, such as `Int`.
 630 |   var returnType: Expression? = nil
     |       `- note: cannot automatically synthesize 'Decodable' because 'Expression?' does not conform to 'Decodable'
 631 |
 632 |   /// The where clause for a generic function.
 633 |   var whereClause: WhereClause?
     |       `- note: cannot automatically synthesize 'Decodable' because 'WhereClause?' does not conform to 'Decodable'
 634 | }
 635 |
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:612:8: error: type 'FunctionSignatureDescription' does not conform to protocol 'Decodable'
 610 | ///
 611 | /// For example: `func foo(bar: String) async throws -> Int`.
 612 | struct FunctionSignatureDescription: Equatable, Codable, Sendable {
     |        `- error: type 'FunctionSignatureDescription' does not conform to protocol 'Decodable'
 613 |
 614 |   /// An access modifier.
 615 |   var accessModifier: AccessModifier? = nil
     |       `- note: cannot automatically synthesize 'Decodable' because 'AccessModifier?' does not conform to 'Decodable'
 616 |
 617 |   /// The kind of the function.
     :
 619 |
 620 |   /// The generic types of the function.
 621 |   var generics: [ExistingTypeDescription] = []
     |       `- note: cannot automatically synthesize 'Decodable' because '[ExistingTypeDescription]' does not conform to 'Decodable'
 622 |
 623 |   /// The parameters of the function.
 624 |   var parameters: [ParameterDescription] = []
     |       `- note: cannot automatically synthesize 'Decodable' because '[ParameterDescription]' does not conform to 'Decodable'
 625 |
 626 |   /// The keywords of the function, such as `async` and `throws.`
 627 |   var keywords: [FunctionKeyword] = []
     |       `- note: cannot automatically synthesize 'Decodable' because '[FunctionKeyword]' does not conform to 'Decodable'
 628 |
 629 |   /// The return type name of the function, such as `Int`.
 630 |   var returnType: Expression? = nil
     |       `- note: cannot automatically synthesize 'Decodable' because 'Expression?' does not conform to 'Decodable'
 631 |
 632 |   /// The where clause for a generic function.
 633 |   var whereClause: WhereClause?
     |       `- note: cannot automatically synthesize 'Decodable' because 'WhereClause?' does not conform to 'Decodable'
 634 | }
 635 |
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:550:8: error: type 'ParameterDescription' does not conform to protocol 'Decodable'
 548 | /// For example, in `func foo(bar baz: String = "hi")`, the parameter
 549 | /// description represents `bar baz: String = "hi"`
 550 | struct ParameterDescription: Equatable, Codable, Sendable {
     |        `- error: type 'ParameterDescription' does not conform to protocol 'Decodable'
 551 |
 552 |   /// An external parameter label.
 553 |   ///
 554 |   /// For example, in `bar baz: String = "hi"`, `label` is `bar`.
 555 |   var label: String? = nil
     |       `- note: cannot automatically synthesize 'Decodable' because 'String?' does not conform to 'Decodable'
 556 |
 557 |   /// An internal parameter name.
 558 |   ///
 559 |   /// For example, in `bar baz: String = "hi"`, `name` is `baz`.
 560 |   var name: String? = nil
     |       `- note: cannot automatically synthesize 'Decodable' because 'String?' does not conform to 'Decodable'
 561 |
 562 |   /// The type name of the parameter.
 563 |   ///
 564 |   /// For example, in `bar baz: String = "hi"`, `type` is `String`.
 565 |   var type: ExistingTypeDescription? = nil
     |       `- note: cannot automatically synthesize 'Decodable' because 'ExistingTypeDescription?' does not conform to 'Decodable'
 566 |
 567 |   /// A default value of the parameter.
     :
 569 |   /// For example, in `bar baz: String = "hi"`, `defaultValue`
 570 |   /// represents `"hi"`.
 571 |   var defaultValue: Expression? = nil
     |       `- note: cannot automatically synthesize 'Decodable' because 'Expression?' does not conform to 'Decodable'
 572 |
 573 |   /// An inout parameter type.
 574 |   ///
 575 |   /// For example, `bar baz: inout String`.
 576 |   var `inout`: Bool = false
     |       `- note: cannot automatically synthesize 'Decodable' because 'Bool' does not conform to 'Decodable'
 577 | }
 578 |
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:550:8: error: type 'ParameterDescription' does not conform to protocol 'Decodable'
 548 | /// For example, in `func foo(bar baz: String = "hi")`, the parameter
 549 | /// description represents `bar baz: String = "hi"`
 550 | struct ParameterDescription: Equatable, Codable, Sendable {
     |        `- error: type 'ParameterDescription' does not conform to protocol 'Decodable'
 551 |
 552 |   /// An external parameter label.
 553 |   ///
 554 |   /// For example, in `bar baz: String = "hi"`, `label` is `bar`.
 555 |   var label: String? = nil
     |       `- note: cannot automatically synthesize 'Decodable' because 'String?' does not conform to 'Decodable'
 556 |
 557 |   /// An internal parameter name.
 558 |   ///
 559 |   /// For example, in `bar baz: String = "hi"`, `name` is `baz`.
 560 |   var name: String? = nil
     |       `- note: cannot automatically synthesize 'Decodable' because 'String?' does not conform to 'Decodable'
 561 |
 562 |   /// The type name of the parameter.
 563 |   ///
 564 |   /// For example, in `bar baz: String = "hi"`, `type` is `String`.
 565 |   var type: ExistingTypeDescription? = nil
     |       `- note: cannot automatically synthesize 'Decodable' because 'ExistingTypeDescription?' does not conform to 'Decodable'
 566 |
 567 |   /// A default value of the parameter.
     :
 569 |   /// For example, in `bar baz: String = "hi"`, `defaultValue`
 570 |   /// represents `"hi"`.
 571 |   var defaultValue: Expression? = nil
     |       `- note: cannot automatically synthesize 'Decodable' because 'Expression?' does not conform to 'Decodable'
 572 |
 573 |   /// An inout parameter type.
 574 |   ///
 575 |   /// For example, `bar baz: inout String`.
 576 |   var `inout`: Bool = false
     |       `- note: cannot automatically synthesize 'Decodable' because 'Bool' does not conform to 'Decodable'
 577 | }
 578 |
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:722:8: error: type 'ClosureSignatureDescription' does not conform to protocol 'Decodable'
 720 | ///
 721 | /// For example: `(String) async throws -> Int`.
 722 | struct ClosureSignatureDescription: Equatable, Codable, Sendable {
     |        `- error: type 'ClosureSignatureDescription' does not conform to protocol 'Decodable'
 723 |   /// The parameters of the function.
 724 |   var parameters: [ParameterDescription] = []
     |       `- note: cannot automatically synthesize 'Decodable' because '[ParameterDescription]' does not conform to 'Decodable'
 725 |
 726 |   /// The keywords of the function, such as `async` and `throws.`
 727 |   var keywords: [FunctionKeyword] = []
     |       `- note: cannot automatically synthesize 'Decodable' because '[FunctionKeyword]' does not conform to 'Decodable'
 728 |
 729 |   /// The return type name of the function, such as `Int`.
 730 |   var returnType: Expression? = nil
     |       `- note: cannot automatically synthesize 'Decodable' because 'Expression?' does not conform to 'Decodable'
 731 |
 732 |   /// The ``@Sendable`` attribute.
 733 |   var sendable: Bool = false
     |       `- note: cannot automatically synthesize 'Decodable' because 'Bool' does not conform to 'Decodable'
 734 |
 735 |   /// The ``@escaping`` attribute.
 736 |   var escaping: Bool = false
     |       `- note: cannot automatically synthesize 'Decodable' because 'Bool' does not conform to 'Decodable'
 737 | }
 738 |
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:722:8: error: type 'ClosureSignatureDescription' does not conform to protocol 'Decodable'
 720 | ///
 721 | /// For example: `(String) async throws -> Int`.
 722 | struct ClosureSignatureDescription: Equatable, Codable, Sendable {
     |        `- error: type 'ClosureSignatureDescription' does not conform to protocol 'Decodable'
 723 |   /// The parameters of the function.
 724 |   var parameters: [ParameterDescription] = []
     |       `- note: cannot automatically synthesize 'Decodable' because '[ParameterDescription]' does not conform to 'Decodable'
 725 |
 726 |   /// The keywords of the function, such as `async` and `throws.`
 727 |   var keywords: [FunctionKeyword] = []
     |       `- note: cannot automatically synthesize 'Decodable' because '[FunctionKeyword]' does not conform to 'Decodable'
 728 |
 729 |   /// The return type name of the function, such as `Int`.
 730 |   var returnType: Expression? = nil
     |       `- note: cannot automatically synthesize 'Decodable' because 'Expression?' does not conform to 'Decodable'
 731 |
 732 |   /// The ``@Sendable`` attribute.
 733 |   var sendable: Bool = false
     |       `- note: cannot automatically synthesize 'Decodable' because 'Bool' does not conform to 'Decodable'
 734 |
 735 |   /// The ``@escaping`` attribute.
 736 |   var escaping: Bool = false
     |       `- note: cannot automatically synthesize 'Decodable' because 'Bool' does not conform to 'Decodable'
 737 | }
 738 |
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:224:8: error: type 'FunctionArgumentDescription' does not conform to protocol 'Decodable'
 222 | ///
 223 | /// For example in `foo(bar: 42)`, the function argument is `bar: 42`.
 224 | struct FunctionArgumentDescription: Equatable, Codable, Sendable {
     |        `- error: type 'FunctionArgumentDescription' does not conform to protocol 'Decodable'
 225 |
 226 |   /// An optional label of the function argument.
 227 |   ///
 228 |   /// For example, in `foo(bar: 42)`, the `label` is `bar`.
 229 |   var label: String?
     |       `- note: cannot automatically synthesize 'Decodable' because 'String?' does not conform to 'Decodable'
 230 |
 231 |   /// The expression passed as the function argument value.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:224:8: error: type 'FunctionArgumentDescription' does not conform to protocol 'Decodable'
 222 | ///
 223 | /// For example in `foo(bar: 42)`, the function argument is `bar: 42`.
 224 | struct FunctionArgumentDescription: Equatable, Codable, Sendable {
     |        `- error: type 'FunctionArgumentDescription' does not conform to protocol 'Decodable'
 225 |
 226 |   /// An optional label of the function argument.
 227 |   ///
 228 |   /// For example, in `foo(bar: 42)`, the `label` is `bar`.
 229 |   var label: String?
     |       `- note: cannot automatically synthesize 'Decodable' because 'String?' does not conform to 'Decodable'
 230 |
 231 |   /// The expression passed as the function argument value.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:639:8: error: type 'FunctionDescription' does not conform to protocol 'Decodable'
 637 | ///
 638 | /// For example: `func foo() { }`.
 639 | struct FunctionDescription: Equatable, Codable, Sendable {
     |        `- error: type 'FunctionDescription' does not conform to protocol 'Decodable'
 640 |
 641 |   /// The signature of the function.
     :
 645 |   ///
 646 |   /// If nil, does not generate `{` and `}` at all for the body scope.
 647 |   var body: [CodeBlock]? = nil
     |       `- note: cannot automatically synthesize 'Decodable' because '[CodeBlock]?' does not conform to 'Decodable'
 648 |
 649 |   /// Creates a new function description.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:639:8: error: type 'FunctionDescription' does not conform to protocol 'Decodable'
 637 | ///
 638 | /// For example: `func foo() { }`.
 639 | struct FunctionDescription: Equatable, Codable, Sendable {
     |        `- error: type 'FunctionDescription' does not conform to protocol 'Decodable'
 640 |
 641 |   /// The signature of the function.
     :
 645 |   ///
 646 |   /// If nil, does not generate `{` and `}` at all for the body scope.
 647 |   var body: [CodeBlock]? = nil
     |       `- note: cannot automatically synthesize 'Decodable' because '[CodeBlock]?' does not conform to 'Decodable'
 648 |
 649 |   /// Creates a new function description.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:526:8: error: type 'ProtocolDescription' does not conform to protocol 'Decodable'
 524 | ///
 525 | /// For example `protocol Foo {`.
 526 | struct ProtocolDescription: Equatable, Codable, Sendable {
     |        `- error: type 'ProtocolDescription' does not conform to protocol 'Decodable'
 527 |
 528 |   /// An access modifier.
 529 |   var accessModifier: AccessModifier? = nil
     |       `- note: cannot automatically synthesize 'Decodable' because 'AccessModifier?' does not conform to 'Decodable'
 530 |
 531 |   /// The name of the protocol.
 532 |   ///
 533 |   /// For example, in `protocol Foo {`, `name` is `Foo`.
 534 |   var name: String
     |       `- note: cannot automatically synthesize 'Decodable' because 'String' does not conform to 'Decodable'
 535 |
 536 |   /// The type names that the protocol conforms to.
 537 |   ///
 538 |   /// For example: `["Sendable", "Codable"]`.
 539 |   var conformances: [String] = []
     |       `- note: cannot automatically synthesize 'Decodable' because '[String]' does not conform to 'Decodable'
 540 |
 541 |   /// The function and property declarations that make up the protocol
 542 |   /// requirements.
 543 |   var members: [Declaration] = []
     |       `- note: cannot automatically synthesize 'Decodable' because '[Declaration]' does not conform to 'Decodable'
 544 | }
 545 |
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:526:8: error: type 'ProtocolDescription' does not conform to protocol 'Decodable'
 524 | ///
 525 | /// For example `protocol Foo {`.
 526 | struct ProtocolDescription: Equatable, Codable, Sendable {
     |        `- error: type 'ProtocolDescription' does not conform to protocol 'Decodable'
 527 |
 528 |   /// An access modifier.
 529 |   var accessModifier: AccessModifier? = nil
     |       `- note: cannot automatically synthesize 'Decodable' because 'AccessModifier?' does not conform to 'Decodable'
 530 |
 531 |   /// The name of the protocol.
 532 |   ///
 533 |   /// For example, in `protocol Foo {`, `name` is `Foo`.
 534 |   var name: String
     |       `- note: cannot automatically synthesize 'Decodable' because 'String' does not conform to 'Decodable'
 535 |
 536 |   /// The type names that the protocol conforms to.
 537 |   ///
 538 |   /// For example: `["Sendable", "Codable"]`.
 539 |   var conformances: [String] = []
     |       `- note: cannot automatically synthesize 'Decodable' because '[String]' does not conform to 'Decodable'
 540 |
 541 |   /// The function and property declarations that make up the protocol
 542 |   /// requirements.
 543 |   var members: [Declaration] = []
     |       `- note: cannot automatically synthesize 'Decodable' because '[Declaration]' does not conform to 'Decodable'
 544 | }
 545 |
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:369:8: error: type 'ExtensionDescription' does not conform to protocol 'Decodable'
 367 | ///
 368 | /// For example `extension Foo {`.
 369 | struct ExtensionDescription: Equatable, Codable, Sendable {
     |        `- error: type 'ExtensionDescription' does not conform to protocol 'Decodable'
 370 |
 371 |   /// An access modifier.
 372 |   var accessModifier: AccessModifier? = nil
     |       `- note: cannot automatically synthesize 'Decodable' because 'AccessModifier?' does not conform to 'Decodable'
 373 |
 374 |   /// The name of the extended type.
 375 |   ///
 376 |   /// For example, in `extension Foo {`, `onType` is `Foo`.
 377 |   var onType: String
     |       `- note: cannot automatically synthesize 'Decodable' because 'String' does not conform to 'Decodable'
 378 |
 379 |   /// Additional type names that the extension conforms to.
 380 |   ///
 381 |   /// For example: `["Sendable", "Codable"]`.
 382 |   var conformances: [String] = []
     |       `- note: cannot automatically synthesize 'Decodable' because '[String]' does not conform to 'Decodable'
 383 |
 384 |   /// A where clause constraining the extension declaration.
 385 |   var whereClause: WhereClause? = nil
     |       `- note: cannot automatically synthesize 'Decodable' because 'WhereClause?' does not conform to 'Decodable'
 386 |
 387 |   /// The declarations that the extension adds on the extended type.
 388 |   var declarations: [Declaration]
     |       `- note: cannot automatically synthesize 'Decodable' because '[Declaration]' does not conform to 'Decodable'
 389 | }
 390 |
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:369:8: error: type 'ExtensionDescription' does not conform to protocol 'Decodable'
 367 | ///
 368 | /// For example `extension Foo {`.
 369 | struct ExtensionDescription: Equatable, Codable, Sendable {
     |        `- error: type 'ExtensionDescription' does not conform to protocol 'Decodable'
 370 |
 371 |   /// An access modifier.
 372 |   var accessModifier: AccessModifier? = nil
     |       `- note: cannot automatically synthesize 'Decodable' because 'AccessModifier?' does not conform to 'Decodable'
 373 |
 374 |   /// The name of the extended type.
 375 |   ///
 376 |   /// For example, in `extension Foo {`, `onType` is `Foo`.
 377 |   var onType: String
     |       `- note: cannot automatically synthesize 'Decodable' because 'String' does not conform to 'Decodable'
 378 |
 379 |   /// Additional type names that the extension conforms to.
 380 |   ///
 381 |   /// For example: `["Sendable", "Codable"]`.
 382 |   var conformances: [String] = []
     |       `- note: cannot automatically synthesize 'Decodable' because '[String]' does not conform to 'Decodable'
 383 |
 384 |   /// A where clause constraining the extension declaration.
 385 |   var whereClause: WhereClause? = nil
     |       `- note: cannot automatically synthesize 'Decodable' because 'WhereClause?' does not conform to 'Decodable'
 386 |
 387 |   /// The declarations that the extension adds on the extended type.
 388 |   var declarations: [Declaration]
     |       `- note: cannot automatically synthesize 'Decodable' because '[Declaration]' does not conform to 'Decodable'
 389 | }
 390 |
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:1220:8: error: type 'CodeBlock' does not conform to protocol 'Decodable'
1218 |
1219 | /// A code block, with an optional comment.
1220 | struct CodeBlock: Equatable, Codable, Sendable {
     |        `- error: type 'CodeBlock' does not conform to protocol 'Decodable'
1221 |
1222 |   /// The comment to prepend to the code block item.
1223 |   var comment: Comment?
     |       `- note: cannot automatically synthesize 'Decodable' because 'Comment?' does not conform to 'Decodable'
1224 |
1225 |   /// The code block item that appears below the comment.
1226 |   var item: CodeBlockItem?
     |       `- note: cannot automatically synthesize 'Decodable' because 'CodeBlockItem?' does not conform to 'Decodable'
1227 | }
1228 |
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:1220:8: error: type 'CodeBlock' does not conform to protocol 'Decodable'
1218 |
1219 | /// A code block, with an optional comment.
1220 | struct CodeBlock: Equatable, Codable, Sendable {
     |        `- error: type 'CodeBlock' does not conform to protocol 'Decodable'
1221 |
1222 |   /// The comment to prepend to the code block item.
1223 |   var comment: Comment?
     |       `- note: cannot automatically synthesize 'Decodable' because 'Comment?' does not conform to 'Decodable'
1224 |
1225 |   /// The code block item that appears below the comment.
1226 |   var item: CodeBlockItem?
     |       `- note: cannot automatically synthesize 'Decodable' because 'CodeBlockItem?' does not conform to 'Decodable'
1227 | }
1228 |
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:394:8: error: type 'StructDescription' does not conform to protocol 'Decodable'
 392 | ///
 393 | /// For example `struct Foo {`.
 394 | struct StructDescription: Equatable, Codable, Sendable {
     |        `- error: type 'StructDescription' does not conform to protocol 'Decodable'
 395 |
 396 |   /// An access modifier.
 397 |   var accessModifier: AccessModifier? = nil
     |       `- note: cannot automatically synthesize 'Decodable' because 'AccessModifier?' does not conform to 'Decodable'
 398 |
 399 |   /// The name of the struct.
 400 |   ///
 401 |   /// For example, in `struct Foo {`, `name` is `Foo`.
 402 |   var name: String
     |       `- note: cannot automatically synthesize 'Decodable' because 'String' does not conform to 'Decodable'
 403 |
 404 |   /// The generic types of the struct.
 405 |   var generics: [ExistingTypeDescription] = []
     |       `- note: cannot automatically synthesize 'Decodable' because '[ExistingTypeDescription]' does not conform to 'Decodable'
 406 |
 407 |   /// The type names that the struct conforms to.
 408 |   ///
 409 |   /// For example: `["Sendable", "Codable"]`.
 410 |   var conformances: [String] = []
     |       `- note: cannot automatically synthesize 'Decodable' because '[String]' does not conform to 'Decodable'
 411 |
 412 |   /// A where clause constraining the struct declaration.
 413 |   var whereClause: WhereClause? = nil
     |       `- note: cannot automatically synthesize 'Decodable' because 'WhereClause?' does not conform to 'Decodable'
 414 |
 415 |   /// The declarations that make up the main struct body.
 416 |   var members: [Declaration] = []
     |       `- note: cannot automatically synthesize 'Decodable' because '[Declaration]' does not conform to 'Decodable'
 417 | }
 418 |
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:394:8: error: type 'StructDescription' does not conform to protocol 'Decodable'
 392 | ///
 393 | /// For example `struct Foo {`.
 394 | struct StructDescription: Equatable, Codable, Sendable {
     |        `- error: type 'StructDescription' does not conform to protocol 'Decodable'
 395 |
 396 |   /// An access modifier.
 397 |   var accessModifier: AccessModifier? = nil
     |       `- note: cannot automatically synthesize 'Decodable' because 'AccessModifier?' does not conform to 'Decodable'
 398 |
 399 |   /// The name of the struct.
 400 |   ///
 401 |   /// For example, in `struct Foo {`, `name` is `Foo`.
 402 |   var name: String
     |       `- note: cannot automatically synthesize 'Decodable' because 'String' does not conform to 'Decodable'
 403 |
 404 |   /// The generic types of the struct.
 405 |   var generics: [ExistingTypeDescription] = []
     |       `- note: cannot automatically synthesize 'Decodable' because '[ExistingTypeDescription]' does not conform to 'Decodable'
 406 |
 407 |   /// The type names that the struct conforms to.
 408 |   ///
 409 |   /// For example: `["Sendable", "Codable"]`.
 410 |   var conformances: [String] = []
     |       `- note: cannot automatically synthesize 'Decodable' because '[String]' does not conform to 'Decodable'
 411 |
 412 |   /// A where clause constraining the struct declaration.
 413 |   var whereClause: WhereClause? = nil
     |       `- note: cannot automatically synthesize 'Decodable' because 'WhereClause?' does not conform to 'Decodable'
 414 |
 415 |   /// The declarations that make up the main struct body.
 416 |   var members: [Declaration] = []
     |       `- note: cannot automatically synthesize 'Decodable' because '[Declaration]' does not conform to 'Decodable'
 417 | }
 418 |
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:208:8: error: type 'MemberAccessDescription' does not conform to protocol 'Decodable'
 206 | ///
 207 | /// For example `foo.bar`.
 208 | struct MemberAccessDescription: Equatable, Codable, Sendable {
     |        `- error: type 'MemberAccessDescription' does not conform to protocol 'Decodable'
 209 |
 210 |   /// The expression of which a member `right` is accessed.
 211 |   ///
 212 |   /// For example, in `foo.bar`, `left` represents `foo`.
 213 |   var left: Expression?
     |       `- note: cannot automatically synthesize 'Decodable' because 'Expression?' does not conform to 'Decodable'
 214 |
 215 |   /// The member name to access.
 216 |   ///
 217 |   /// For example, in `foo.bar`, `right` is `bar`.
 218 |   var right: String
     |       `- note: cannot automatically synthesize 'Decodable' because 'String' does not conform to 'Decodable'
 219 | }
 220 |
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:208:8: error: type 'MemberAccessDescription' does not conform to protocol 'Decodable'
 206 | ///
 207 | /// For example `foo.bar`.
 208 | struct MemberAccessDescription: Equatable, Codable, Sendable {
     |        `- error: type 'MemberAccessDescription' does not conform to protocol 'Decodable'
 209 |
 210 |   /// The expression of which a member `right` is accessed.
 211 |   ///
 212 |   /// For example, in `foo.bar`, `left` represents `foo`.
 213 |   var left: Expression?
     |       `- note: cannot automatically synthesize 'Decodable' because 'Expression?' does not conform to 'Decodable'
 214 |
 215 |   /// The member name to access.
 216 |   ///
 217 |   /// For example, in `foo.bar`, `right` is `bar`.
 218 |   var right: String
     |       `- note: cannot automatically synthesize 'Decodable' because 'String' does not conform to 'Decodable'
 219 | }
 220 |
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:240:8: error: type 'FunctionCallDescription' does not conform to protocol 'Decodable'
 238 | ///
 239 | /// For example `foo(bar: 42)`.
 240 | struct FunctionCallDescription: Equatable, Codable, Sendable {
     |        `- error: type 'FunctionCallDescription' does not conform to protocol 'Decodable'
 241 |
 242 |   /// The expression that returns the function to be called.
     :
 246 |
 247 |   /// The arguments to be passed to the function.
 248 |   var arguments: [FunctionArgumentDescription]
     |       `- note: cannot automatically synthesize 'Decodable' because '[FunctionArgumentDescription]' does not conform to 'Decodable'
 249 |
 250 |   /// A trailing closure.
 251 |   var trailingClosure: ClosureInvocationDescription?
     |       `- note: cannot automatically synthesize 'Decodable' because 'ClosureInvocationDescription?' does not conform to 'Decodable'
 252 |
 253 |   /// Creates a new function call description.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:240:8: error: type 'FunctionCallDescription' does not conform to protocol 'Decodable'
 238 | ///
 239 | /// For example `foo(bar: 42)`.
 240 | struct FunctionCallDescription: Equatable, Codable, Sendable {
     |        `- error: type 'FunctionCallDescription' does not conform to protocol 'Decodable'
 241 |
 242 |   /// The expression that returns the function to be called.
     :
 246 |
 247 |   /// The arguments to be passed to the function.
 248 |   var arguments: [FunctionArgumentDescription]
     |       `- note: cannot automatically synthesize 'Decodable' because '[FunctionArgumentDescription]' does not conform to 'Decodable'
 249 |
 250 |   /// A trailing closure.
 251 |   var trailingClosure: ClosureInvocationDescription?
     |       `- note: cannot automatically synthesize 'Decodable' because 'ClosureInvocationDescription?' does not conform to 'Decodable'
 252 |
 253 |   /// Creates a new function call description.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:507:8: error: type 'TypealiasDescription' does not conform to protocol 'Decodable'
 505 | ///
 506 | /// For example `typealias Foo = Int`.
 507 | struct TypealiasDescription: Equatable, Codable, Sendable {
     |        `- error: type 'TypealiasDescription' does not conform to protocol 'Decodable'
 508 |
 509 |   /// An access modifier.
 510 |   var accessModifier: AccessModifier?
     |       `- note: cannot automatically synthesize 'Decodable' because 'AccessModifier?' does not conform to 'Decodable'
 511 |
 512 |   /// The name of the typealias.
 513 |   ///
 514 |   /// For example, in `typealias Foo = Int`, `name` is `Foo`.
 515 |   var name: String
     |       `- note: cannot automatically synthesize 'Decodable' because 'String' does not conform to 'Decodable'
 516 |
 517 |   /// The existing type that serves as the underlying type of the alias.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:507:8: error: type 'TypealiasDescription' does not conform to protocol 'Decodable'
 505 | ///
 506 | /// For example `typealias Foo = Int`.
 507 | struct TypealiasDescription: Equatable, Codable, Sendable {
     |        `- error: type 'TypealiasDescription' does not conform to protocol 'Decodable'
 508 |
 509 |   /// An access modifier.
 510 |   var accessModifier: AccessModifier?
     |       `- note: cannot automatically synthesize 'Decodable' because 'AccessModifier?' does not conform to 'Decodable'
 511 |
 512 |   /// The name of the typealias.
 513 |   ///
 514 |   /// For example, in `typealias Foo = Int`, `name` is `Foo`.
 515 |   var name: String
     |       `- note: cannot automatically synthesize 'Decodable' because 'String' does not conform to 'Decodable'
 516 |
 517 |   /// The existing type that serves as the underlying type of the alias.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:299:8: error: type 'VariableDescription' does not conform to protocol 'Decodable'
 297 | ///
 298 | /// For example `let foo = 42`.
 299 | struct VariableDescription: Equatable, Codable, Sendable {
     |        `- error: type 'VariableDescription' does not conform to protocol 'Decodable'
 300 |
 301 |   /// An access modifier.
 302 |   var accessModifier: AccessModifier?
     |       `- note: cannot automatically synthesize 'Decodable' because 'AccessModifier?' does not conform to 'Decodable'
 303 |
 304 |   /// A Boolean value that indicates whether the variable is static.
 305 |   var isStatic: Bool = false
     |       `- note: cannot automatically synthesize 'Decodable' because 'Bool' does not conform to 'Decodable'
 306 |
 307 |   /// The variable binding kind.
     :
 316 |   ///
 317 |   /// For example, in `let foo: Int = 42`, `type` is `Int`.
 318 |   var type: ExistingTypeDescription?
     |       `- note: cannot automatically synthesize 'Decodable' because 'ExistingTypeDescription?' does not conform to 'Decodable'
 319 |
 320 |   /// The expression to be assigned to the variable.
 321 |   ///
 322 |   /// For example, in `let foo = 42`, `right` represents `42`.
 323 |   var right: Expression? = nil
     |       `- note: cannot automatically synthesize 'Decodable' because 'Expression?' does not conform to 'Decodable'
 324 |
 325 |   /// Body code for the getter.
 326 |   ///
 327 |   /// For example, in `var foo: Int { 42 }`, `body` represents `{ 42 }`.
 328 |   var getter: [CodeBlock]? = nil
     |       `- note: cannot automatically synthesize 'Decodable' because '[CodeBlock]?' does not conform to 'Decodable'
 329 |
 330 |   /// Effects for the getter.
 331 |   ///
 332 |   /// For example, in `var foo: Int { get throws { 42 } }`, effects are `[.throws]`.
 333 |   var getterEffects: [FunctionKeyword] = []
     |       `- note: cannot automatically synthesize 'Decodable' because '[FunctionKeyword]' does not conform to 'Decodable'
 334 |
 335 |   /// Body code for the setter.
     :
 337 |   /// For example, in `var foo: Int { set { _foo = newValue } }`, `body`
 338 |   /// represents `{ _foo = newValue }`.
 339 |   var setter: [CodeBlock]? = nil
     |       `- note: cannot automatically synthesize 'Decodable' because '[CodeBlock]?' does not conform to 'Decodable'
 340 |
 341 |   /// Body code for the `_modify` accessor.
     :
 343 |   /// For example, in `var foo: Int { _modify { yield &_foo } }`, `body`
 344 |   /// represents `{ yield &_foo }`.
 345 |   var modify: [CodeBlock]? = nil
     |       `- note: cannot automatically synthesize 'Decodable' because '[CodeBlock]?' does not conform to 'Decodable'
 346 | }
 347 |
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:299:8: error: type 'VariableDescription' does not conform to protocol 'Decodable'
 297 | ///
 298 | /// For example `let foo = 42`.
 299 | struct VariableDescription: Equatable, Codable, Sendable {
     |        `- error: type 'VariableDescription' does not conform to protocol 'Decodable'
 300 |
 301 |   /// An access modifier.
 302 |   var accessModifier: AccessModifier?
     |       `- note: cannot automatically synthesize 'Decodable' because 'AccessModifier?' does not conform to 'Decodable'
 303 |
 304 |   /// A Boolean value that indicates whether the variable is static.
 305 |   var isStatic: Bool = false
     |       `- note: cannot automatically synthesize 'Decodable' because 'Bool' does not conform to 'Decodable'
 306 |
 307 |   /// The variable binding kind.
     :
 316 |   ///
 317 |   /// For example, in `let foo: Int = 42`, `type` is `Int`.
 318 |   var type: ExistingTypeDescription?
     |       `- note: cannot automatically synthesize 'Decodable' because 'ExistingTypeDescription?' does not conform to 'Decodable'
 319 |
 320 |   /// The expression to be assigned to the variable.
 321 |   ///
 322 |   /// For example, in `let foo = 42`, `right` represents `42`.
 323 |   var right: Expression? = nil
     |       `- note: cannot automatically synthesize 'Decodable' because 'Expression?' does not conform to 'Decodable'
 324 |
 325 |   /// Body code for the getter.
 326 |   ///
 327 |   /// For example, in `var foo: Int { 42 }`, `body` represents `{ 42 }`.
 328 |   var getter: [CodeBlock]? = nil
     |       `- note: cannot automatically synthesize 'Decodable' because '[CodeBlock]?' does not conform to 'Decodable'
 329 |
 330 |   /// Effects for the getter.
 331 |   ///
 332 |   /// For example, in `var foo: Int { get throws { 42 } }`, effects are `[.throws]`.
 333 |   var getterEffects: [FunctionKeyword] = []
     |       `- note: cannot automatically synthesize 'Decodable' because '[FunctionKeyword]' does not conform to 'Decodable'
 334 |
 335 |   /// Body code for the setter.
     :
 337 |   /// For example, in `var foo: Int { set { _foo = newValue } }`, `body`
 338 |   /// represents `{ _foo = newValue }`.
 339 |   var setter: [CodeBlock]? = nil
     |       `- note: cannot automatically synthesize 'Decodable' because '[CodeBlock]?' does not conform to 'Decodable'
 340 |
 341 |   /// Body code for the `_modify` accessor.
     :
 343 |   /// For example, in `var foo: Int { _modify { yield &_foo } }`, `body`
 344 |   /// represents `{ yield &_foo }`.
 345 |   var modify: [CodeBlock]? = nil
     |       `- note: cannot automatically synthesize 'Decodable' because '[CodeBlock]?' does not conform to 'Decodable'
 346 | }
 347 |
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:422:8: error: type 'EnumDescription' does not conform to protocol 'Decodable'
 420 | ///
 421 | /// For example `enum Bar {`.
 422 | struct EnumDescription: Equatable, Codable, Sendable {
     |        `- error: type 'EnumDescription' does not conform to protocol 'Decodable'
 423 |
 424 |   /// A Boolean value that indicates whether the enum has a `@frozen`
 425 |   /// attribute.
 426 |   var isFrozen: Bool = false
     |       `- note: cannot automatically synthesize 'Decodable' because 'Bool' does not conform to 'Decodable'
 427 |
 428 |   /// A Boolean value that indicates whether the enum has the `indirect`
 429 |   /// keyword.
 430 |   var isIndirect: Bool = false
     |       `- note: cannot automatically synthesize 'Decodable' because 'Bool' does not conform to 'Decodable'
 431 |
 432 |   /// An access modifier.
 433 |   var accessModifier: AccessModifier? = nil
     |       `- note: cannot automatically synthesize 'Decodable' because 'AccessModifier?' does not conform to 'Decodable'
 434 |
 435 |   /// The name of the enum.
 436 |   ///
 437 |   /// For example, in `enum Bar {`, `name` is `Bar`.
 438 |   var name: String
     |       `- note: cannot automatically synthesize 'Decodable' because 'String' does not conform to 'Decodable'
 439 |
 440 |   /// The type names that the enum conforms to.
 441 |   ///
 442 |   /// For example: `["Sendable", "Codable"]`.
 443 |   var conformances: [String] = []
     |       `- note: cannot automatically synthesize 'Decodable' because '[String]' does not conform to 'Decodable'
 444 |
 445 |   /// The declarations that make up the enum body.
 446 |   var members: [Declaration] = []
     |       `- note: cannot automatically synthesize 'Decodable' because '[Declaration]' does not conform to 'Decodable'
 447 | }
 448 |
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:422:8: error: type 'EnumDescription' does not conform to protocol 'Decodable'
 420 | ///
 421 | /// For example `enum Bar {`.
 422 | struct EnumDescription: Equatable, Codable, Sendable {
     |        `- error: type 'EnumDescription' does not conform to protocol 'Decodable'
 423 |
 424 |   /// A Boolean value that indicates whether the enum has a `@frozen`
 425 |   /// attribute.
 426 |   var isFrozen: Bool = false
     |       `- note: cannot automatically synthesize 'Decodable' because 'Bool' does not conform to 'Decodable'
 427 |
 428 |   /// A Boolean value that indicates whether the enum has the `indirect`
 429 |   /// keyword.
 430 |   var isIndirect: Bool = false
     |       `- note: cannot automatically synthesize 'Decodable' because 'Bool' does not conform to 'Decodable'
 431 |
 432 |   /// An access modifier.
 433 |   var accessModifier: AccessModifier? = nil
     |       `- note: cannot automatically synthesize 'Decodable' because 'AccessModifier?' does not conform to 'Decodable'
 434 |
 435 |   /// The name of the enum.
 436 |   ///
 437 |   /// For example, in `enum Bar {`, `name` is `Bar`.
 438 |   var name: String
     |       `- note: cannot automatically synthesize 'Decodable' because 'String' does not conform to 'Decodable'
 439 |
 440 |   /// The type names that the enum conforms to.
 441 |   ///
 442 |   /// For example: `["Sendable", "Codable"]`.
 443 |   var conformances: [String] = []
     |       `- note: cannot automatically synthesize 'Decodable' because '[String]' does not conform to 'Decodable'
 444 |
 445 |   /// The declarations that make up the enum body.
 446 |   var members: [Declaration] = []
     |       `- note: cannot automatically synthesize 'Decodable' because '[Declaration]' does not conform to 'Decodable'
 447 | }
 448 |
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:33:16: error: type 'ImportDescription' does not conform to protocol 'Decodable'
  31 | ///
  32 | /// For example: `import Foo`.
  33 | package struct ImportDescription: Equatable, Codable, Sendable {
     |                `- error: type 'ImportDescription' does not conform to protocol 'Decodable'
  34 |   /// The access level of the imported module.
  35 |   ///
     :
  37 |   ///
  38 |   /// - Note: This is optional, as explicit access-level modifiers are not required on `import` statements.
  39 |   var accessLevel: AccessModifier? = nil
     |       `- note: cannot automatically synthesize 'Decodable' because 'AccessModifier?' does not conform to 'Decodable'
  40 |
  41 |   /// The name of the imported module.
  42 |   ///
  43 |   /// For example, the `Foo` in `import Foo`.
  44 |   var moduleName: String
     |       `- note: cannot automatically synthesize 'Decodable' because 'String' does not conform to 'Decodable'
  45 |
  46 |   /// An array of module types imported from the module, if applicable.
  47 |   ///
  48 |   /// For example, if there are type imports like `import Foo.Bar`, they would be listed here.
  49 |   var moduleTypes: [String]?
     |       `- note: cannot automatically synthesize 'Decodable' because '[String]?' does not conform to 'Decodable'
  50 |
  51 |   /// The name of the private interface for an `@_spi` import.
     :
  53 |   /// For example, if `spi` was "Secret" and the module name was "Foo" then the import
  54 |   /// would be `@_spi(Secret) import Foo`.
  55 |   var spi: String? = nil
     |       `- note: cannot automatically synthesize 'Decodable' because 'String?' does not conform to 'Decodable'
  56 |
  57 |   /// Requirements for the `@preconcurrency` attribute.
     :
  60 |   /// If the dependency is an item, the property's value is the item representation.
  61 |   /// If the dependency is a module, this property is nil.
  62 |   var item: Item? = nil
     |       `- note: cannot automatically synthesize 'Decodable' because 'Item?' does not conform to 'Decodable'
  63 |
  64 |   /// Describes any requirement for the `@preconcurrency` attribute.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:65:46: error: 'Codable' is unavailable: unavailable in embedded Swift
  63 |
  64 |   /// Describes any requirement for the `@preconcurrency` attribute.
  65 |   enum PreconcurrencyRequirement: Equatable, Codable, Sendable {
     |                                              `- error: 'Codable' is unavailable: unavailable in embedded Swift
  66 |     /// The attribute is always required.
  67 |     case always
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:65:8: error: type 'ImportDescription.PreconcurrencyRequirement' does not conform to protocol 'Decodable'
  63 |
  64 |   /// Describes any requirement for the `@preconcurrency` attribute.
  65 |   enum PreconcurrencyRequirement: Equatable, Codable, Sendable {
     |        `- error: type 'ImportDescription.PreconcurrencyRequirement' does not conform to protocol 'Decodable'
  66 |     /// The attribute is always required.
  67 |     case always
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
GRPCCodeGen.ImportDescription.PreconcurrencyRequirement.onOS._:3:1: note: cannot automatically synthesize 'Decodable' because '[String]' does not conform to 'Decodable'
1 | struct ImportDescription {
2 |   enum PreconcurrencyRequirement {
3 | _: [String]  }
  | `- note: cannot automatically synthesize 'Decodable' because '[String]' does not conform to 'Decodable'
4 | }
5 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:65:8: error: type 'ImportDescription.PreconcurrencyRequirement' does not conform to protocol 'Encodable'
  63 |
  64 |   /// Describes any requirement for the `@preconcurrency` attribute.
  65 |   enum PreconcurrencyRequirement: Equatable, Codable, Sendable {
     |        `- error: type 'ImportDescription.PreconcurrencyRequirement' does not conform to protocol 'Encodable'
  66 |     /// The attribute is always required.
  67 |     case always
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
  |      `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
GRPCCodeGen.ImportDescription.PreconcurrencyRequirement.onOS._:3:1: note: cannot automatically synthesize 'Encodable' because '[String]' does not conform to 'Encodable'
1 | struct ImportDescription {
2 |   enum PreconcurrencyRequirement {
3 | _: [String]  }
  | `- note: cannot automatically synthesize 'Encodable' because '[String]' does not conform to 'Encodable'
4 | }
5 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:75:10: error: type 'ImportDescription.Item' does not conform to protocol 'Decodable'
  73 |
  74 |   /// Represents an item imported from a module.
  75 |   struct Item: Equatable, Codable, Sendable {
     |          `- error: type 'ImportDescription.Item' does not conform to protocol 'Decodable'
  76 |     /// The keyword that specifies the item's kind (e.g. `func`, `struct`).
  77 |     var kind: Kind
  78 |
  79 |     /// The name of the imported item.
  80 |     var name: String
     |         `- note: cannot automatically synthesize 'Decodable' because 'String' does not conform to 'Decodable'
  81 |
  82 |     init(kind: Kind, name: String) {
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:75:27: error: 'Codable' is unavailable: unavailable in embedded Swift
  73 |
  74 |   /// Represents an item imported from a module.
  75 |   struct Item: Equatable, Codable, Sendable {
     |                           `- error: 'Codable' is unavailable: unavailable in embedded Swift
  76 |     /// The keyword that specifies the item's kind (e.g. `func`, `struct`).
  77 |     var kind: Kind
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:75:10: error: type 'ImportDescription.Item' does not conform to protocol 'Encodable'
  73 |
  74 |   /// Represents an item imported from a module.
  75 |   struct Item: Equatable, Codable, Sendable {
     |          `- error: type 'ImportDescription.Item' does not conform to protocol 'Encodable'
  76 |     /// The keyword that specifies the item's kind (e.g. `func`, `struct`).
  77 |     var kind: Kind
  78 |
  79 |     /// The name of the imported item.
  80 |     var name: String
     |         `- note: cannot automatically synthesize 'Encodable' because 'String' does not conform to 'Encodable'
  81 |
  82 |     init(kind: Kind, name: String) {
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
  |      `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:88:33: error: 'Codable' is unavailable: unavailable in embedded Swift
  86 |   }
  87 |
  88 |   enum Kind: String, Equatable, Codable, Sendable {
     |                                 `- error: 'Codable' is unavailable: unavailable in embedded Swift
  89 |     case `typealias`
  90 |     case `struct`
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:33:46: error: 'Codable' is unavailable: unavailable in embedded Swift
  31 | ///
  32 | /// For example: `import Foo`.
  33 | package struct ImportDescription: Equatable, Codable, Sendable {
     |                                              `- error: 'Codable' is unavailable: unavailable in embedded Swift
  34 |   /// The access level of the imported module.
  35 |   ///
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:33:16: error: type 'ImportDescription' does not conform to protocol 'Encodable'
  31 | ///
  32 | /// For example: `import Foo`.
  33 | package struct ImportDescription: Equatable, Codable, Sendable {
     |                `- error: type 'ImportDescription' does not conform to protocol 'Encodable'
  34 |   /// The access level of the imported module.
  35 |   ///
     :
  37 |   ///
  38 |   /// - Note: This is optional, as explicit access-level modifiers are not required on `import` statements.
  39 |   var accessLevel: AccessModifier? = nil
     |       `- note: cannot automatically synthesize 'Encodable' because 'AccessModifier?' does not conform to 'Encodable'
  40 |
  41 |   /// The name of the imported module.
  42 |   ///
  43 |   /// For example, the `Foo` in `import Foo`.
  44 |   var moduleName: String
     |       `- note: cannot automatically synthesize 'Encodable' because 'String' does not conform to 'Encodable'
  45 |
  46 |   /// An array of module types imported from the module, if applicable.
  47 |   ///
  48 |   /// For example, if there are type imports like `import Foo.Bar`, they would be listed here.
  49 |   var moduleTypes: [String]?
     |       `- note: cannot automatically synthesize 'Encodable' because '[String]?' does not conform to 'Encodable'
  50 |
  51 |   /// The name of the private interface for an `@_spi` import.
     :
  53 |   /// For example, if `spi` was "Secret" and the module name was "Foo" then the import
  54 |   /// would be `@_spi(Secret) import Foo`.
  55 |   var spi: String? = nil
     |       `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
  56 |
  57 |   /// Requirements for the `@preconcurrency` attribute.
     :
  60 |   /// If the dependency is an item, the property's value is the item representation.
  61 |   /// If the dependency is a module, this property is nil.
  62 |   var item: Item? = nil
     |       `- note: cannot automatically synthesize 'Encodable' because 'Item?' does not conform to 'Encodable'
  63 |
  64 |   /// Describes any requirement for the `@preconcurrency` attribute.
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
  |      `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:103:59: error: 'Codable' is unavailable: unavailable in embedded Swift
 101 | ///
 102 | /// For example: `public`.
 103 | package enum AccessModifier: String, Sendable, Equatable, Codable, CaseIterable {
     |                                                           `- error: 'Codable' is unavailable: unavailable in embedded Swift
 104 |   /// A declaration accessible outside of the module.
 105 |   case `public`
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:123:26: error: 'Codable' is unavailable: unavailable in embedded Swift
 121 | ///
 122 | /// For example `/// Hello`.
 123 | enum Comment: Equatable, Codable, Sendable {
     |                          `- error: 'Codable' is unavailable: unavailable in embedded Swift
 124 |
 125 |   /// An inline comment.
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:123:6: error: type 'Comment' does not conform to protocol 'Decodable'
 121 | ///
 122 | /// For example `/// Hello`.
 123 | enum Comment: Equatable, Codable, Sendable {
     |      `- error: type 'Comment' does not conform to protocol 'Decodable'
 124 |
 125 |   /// An inline comment.
     :
 137 |   /// For example: `// MARK: - Public methods`, with the optional
 138 |   /// section break (`-`).
 139 |   case mark(String, sectionBreak: Bool)
     |                     `- note: cannot automatically synthesize 'Decodable' because 'Bool' does not conform to 'Decodable'
 140 |
 141 |   /// A comment that is already formatted,
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
GRPCCodeGen.Comment.inline._:2:1: note: cannot automatically synthesize 'Decodable' because 'String' does not conform to 'Decodable'
1 | enum Comment {
2 | _: String}
  | `- note: cannot automatically synthesize 'Decodable' because 'String' does not conform to 'Decodable'
3 |
GRPCCodeGen.Comment.doc._:2:1: note: cannot automatically synthesize 'Decodable' because 'String' does not conform to 'Decodable'
1 | enum Comment {
2 | _: String}
  | `- note: cannot automatically synthesize 'Decodable' because 'String' does not conform to 'Decodable'
3 |
GRPCCodeGen.Comment.mark._:2:1: note: cannot automatically synthesize 'Decodable' because 'String' does not conform to 'Decodable'
1 | enum Comment {
2 | _: String}
  | `- note: cannot automatically synthesize 'Decodable' because 'String' does not conform to 'Decodable'
3 |
GRPCCodeGen.Comment.preFormatted._:2:1: note: cannot automatically synthesize 'Decodable' because 'String' does not conform to 'Decodable'
1 | enum Comment {
2 | _: String}
  | `- note: cannot automatically synthesize 'Decodable' because 'String' does not conform to 'Decodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:123:6: error: type 'Comment' does not conform to protocol 'Encodable'
 121 | ///
 122 | /// For example `/// Hello`.
 123 | enum Comment: Equatable, Codable, Sendable {
     |      `- error: type 'Comment' does not conform to protocol 'Encodable'
 124 |
 125 |   /// An inline comment.
     :
 137 |   /// For example: `// MARK: - Public methods`, with the optional
 138 |   /// section break (`-`).
 139 |   case mark(String, sectionBreak: Bool)
     |                     `- note: cannot automatically synthesize 'Encodable' because 'Bool' does not conform to 'Encodable'
 140 |
 141 |   /// A comment that is already formatted,
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
  |      `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
GRPCCodeGen.Comment.inline._:2:1: note: cannot automatically synthesize 'Encodable' because 'String' does not conform to 'Encodable'
1 | enum Comment {
2 | _: String}
  | `- note: cannot automatically synthesize 'Encodable' because 'String' does not conform to 'Encodable'
3 |
GRPCCodeGen.Comment.doc._:2:1: note: cannot automatically synthesize 'Encodable' because 'String' does not conform to 'Encodable'
1 | enum Comment {
2 | _: String}
  | `- note: cannot automatically synthesize 'Encodable' because 'String' does not conform to 'Encodable'
3 |
GRPCCodeGen.Comment.mark._:2:1: note: cannot automatically synthesize 'Encodable' because 'String' does not conform to 'Encodable'
1 | enum Comment {
2 | _: String}
  | `- note: cannot automatically synthesize 'Encodable' because 'String' does not conform to 'Encodable'
3 |
GRPCCodeGen.Comment.preFormatted._:2:1: note: cannot automatically synthesize 'Encodable' because 'String' does not conform to 'Encodable'
1 | enum Comment {
2 | _: String}
  | `- note: cannot automatically synthesize 'Encodable' because 'String' does not conform to 'Encodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:183:20: error: 'Codable' is unavailable: unavailable in embedded Swift
 181 |   case dictionary([KeyValue])
 182 |
 183 |   struct KeyValue: Codable, Equatable {
     |                    `- error: 'Codable' is unavailable: unavailable in embedded Swift
 184 |     var key: Expression
 185 |     var value: Expression
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:153:37: error: 'Codable' is unavailable: unavailable in embedded Swift
 151 | ///
 152 | /// For example `"hello"` or `42`.
 153 | enum LiteralDescription: Equatable, Codable, Sendable {
     |                                     `- error: 'Codable' is unavailable: unavailable in embedded Swift
 154 |
 155 |   /// A string literal.
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:153:6: error: type 'LiteralDescription' does not conform to protocol 'Decodable'
 151 | ///
 152 | /// For example `"hello"` or `42`.
 153 | enum LiteralDescription: Equatable, Codable, Sendable {
     |      `- error: type 'LiteralDescription' does not conform to protocol 'Decodable'
 154 |
 155 |   /// A string literal.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
GRPCCodeGen.LiteralDescription.string._:2:1: note: cannot automatically synthesize 'Decodable' because 'String' does not conform to 'Decodable'
1 | enum LiteralDescription {
2 | _: String}
  | `- note: cannot automatically synthesize 'Decodable' because 'String' does not conform to 'Decodable'
3 |
GRPCCodeGen.LiteralDescription.int._:2:1: note: cannot automatically synthesize 'Decodable' because 'Int' does not conform to 'Decodable'
1 | enum LiteralDescription {
2 | _: Int}
  | `- note: cannot automatically synthesize 'Decodable' because 'Int' does not conform to 'Decodable'
3 |
GRPCCodeGen.LiteralDescription.bool._:2:1: note: cannot automatically synthesize 'Decodable' because 'Bool' does not conform to 'Decodable'
1 | enum LiteralDescription {
2 | _: Bool}
  | `- note: cannot automatically synthesize 'Decodable' because 'Bool' does not conform to 'Decodable'
3 |
GRPCCodeGen.LiteralDescription.array._:2:1: note: cannot automatically synthesize 'Decodable' because '[Expression]' does not conform to 'Decodable'
1 | enum LiteralDescription {
2 | _: [Expression]}
  | `- note: cannot automatically synthesize 'Decodable' because '[Expression]' does not conform to 'Decodable'
3 |
GRPCCodeGen.LiteralDescription.dictionary._:2:1: note: cannot automatically synthesize 'Decodable' because '[KeyValue]' does not conform to 'Decodable'
1 | enum LiteralDescription {
2 | _: [KeyValue]}
  | `- note: cannot automatically synthesize 'Decodable' because '[KeyValue]' does not conform to 'Decodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:153:6: error: type 'LiteralDescription' does not conform to protocol 'Encodable'
 151 | ///
 152 | /// For example `"hello"` or `42`.
 153 | enum LiteralDescription: Equatable, Codable, Sendable {
     |      `- error: type 'LiteralDescription' does not conform to protocol 'Encodable'
 154 |
 155 |   /// A string literal.
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
  |      `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
GRPCCodeGen.LiteralDescription.string._:2:1: note: cannot automatically synthesize 'Encodable' because 'String' does not conform to 'Encodable'
1 | enum LiteralDescription {
2 | _: String}
  | `- note: cannot automatically synthesize 'Encodable' because 'String' does not conform to 'Encodable'
3 |
GRPCCodeGen.LiteralDescription.int._:2:1: note: cannot automatically synthesize 'Encodable' because 'Int' does not conform to 'Encodable'
1 | enum LiteralDescription {
2 | _: Int}
  | `- note: cannot automatically synthesize 'Encodable' because 'Int' does not conform to 'Encodable'
3 |
GRPCCodeGen.LiteralDescription.bool._:2:1: note: cannot automatically synthesize 'Encodable' because 'Bool' does not conform to 'Encodable'
1 | enum LiteralDescription {
2 | _: Bool}
  | `- note: cannot automatically synthesize 'Encodable' because 'Bool' does not conform to 'Encodable'
3 |
GRPCCodeGen.LiteralDescription.array._:2:1: note: cannot automatically synthesize 'Encodable' because '[Expression]' does not conform to 'Encodable'
1 | enum LiteralDescription {
2 | _: [Expression]}
  | `- note: cannot automatically synthesize 'Encodable' because '[Expression]' does not conform to 'Encodable'
3 |
GRPCCodeGen.LiteralDescription.dictionary._:2:1: note: cannot automatically synthesize 'Encodable' because '[KeyValue]' does not conform to 'Encodable'
1 | enum LiteralDescription {
2 | _: [KeyValue]}
  | `- note: cannot automatically synthesize 'Encodable' because '[KeyValue]' does not conform to 'Encodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:192:40: error: 'Codable' is unavailable: unavailable in embedded Swift
 190 | ///
 191 | /// For example, in `let foo = 42`, `foo` is an identifier.
 192 | enum IdentifierDescription: Equatable, Codable, Sendable {
     |                                        `- error: 'Codable' is unavailable: unavailable in embedded Swift
 193 |
 194 |   /// A pattern identifier.
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:192:6: error: type 'IdentifierDescription' does not conform to protocol 'Decodable'
 190 | ///
 191 | /// For example, in `let foo = 42`, `foo` is an identifier.
 192 | enum IdentifierDescription: Equatable, Codable, Sendable {
     |      `- error: type 'IdentifierDescription' does not conform to protocol 'Decodable'
 193 |
 194 |   /// A pattern identifier.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
GRPCCodeGen.IdentifierDescription.pattern._:2:1: note: cannot automatically synthesize 'Decodable' because 'String' does not conform to 'Decodable'
1 | enum IdentifierDescription {
2 | _: String}
  | `- note: cannot automatically synthesize 'Decodable' because 'String' does not conform to 'Decodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:192:6: error: type 'IdentifierDescription' does not conform to protocol 'Encodable'
 190 | ///
 191 | /// For example, in `let foo = 42`, `foo` is an identifier.
 192 | enum IdentifierDescription: Equatable, Codable, Sendable {
     |      `- error: type 'IdentifierDescription' does not conform to protocol 'Encodable'
 193 |
 194 |   /// A pattern identifier.
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
  |      `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
GRPCCodeGen.IdentifierDescription.pattern._:2:1: note: cannot automatically synthesize 'Encodable' because 'String' does not conform to 'Encodable'
1 | enum IdentifierDescription {
2 | _: String}
  | `- note: cannot automatically synthesize 'Encodable' because 'String' does not conform to 'Encodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:208:44: error: 'Codable' is unavailable: unavailable in embedded Swift
 206 | ///
 207 | /// For example `foo.bar`.
 208 | struct MemberAccessDescription: Equatable, Codable, Sendable {
     |                                            `- error: 'Codable' is unavailable: unavailable in embedded Swift
 209 |
 210 |   /// The expression of which a member `right` is accessed.
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:208:8: error: type 'MemberAccessDescription' does not conform to protocol 'Encodable'
 206 | ///
 207 | /// For example `foo.bar`.
 208 | struct MemberAccessDescription: Equatable, Codable, Sendable {
     |        `- error: type 'MemberAccessDescription' does not conform to protocol 'Encodable'
 209 |
 210 |   /// The expression of which a member `right` is accessed.
 211 |   ///
 212 |   /// For example, in `foo.bar`, `left` represents `foo`.
 213 |   var left: Expression?
     |       `- note: cannot automatically synthesize 'Encodable' because 'Expression?' does not conform to 'Encodable'
 214 |
 215 |   /// The member name to access.
 216 |   ///
 217 |   /// For example, in `foo.bar`, `right` is `bar`.
 218 |   var right: String
     |       `- note: cannot automatically synthesize 'Encodable' because 'String' does not conform to 'Encodable'
 219 | }
 220 |
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
  |      `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:224:48: error: 'Codable' is unavailable: unavailable in embedded Swift
 222 | ///
 223 | /// For example in `foo(bar: 42)`, the function argument is `bar: 42`.
 224 | struct FunctionArgumentDescription: Equatable, Codable, Sendable {
     |                                                `- error: 'Codable' is unavailable: unavailable in embedded Swift
 225 |
 226 |   /// An optional label of the function argument.
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:224:8: error: type 'FunctionArgumentDescription' does not conform to protocol 'Encodable'
 222 | ///
 223 | /// For example in `foo(bar: 42)`, the function argument is `bar: 42`.
 224 | struct FunctionArgumentDescription: Equatable, Codable, Sendable {
     |        `- error: type 'FunctionArgumentDescription' does not conform to protocol 'Encodable'
 225 |
 226 |   /// An optional label of the function argument.
 227 |   ///
 228 |   /// For example, in `foo(bar: 42)`, the `label` is `bar`.
 229 |   var label: String?
     |       `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
 230 |
 231 |   /// The expression passed as the function argument value.
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
  |      `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:240:44: error: 'Codable' is unavailable: unavailable in embedded Swift
 238 | ///
 239 | /// For example `foo(bar: 42)`.
 240 | struct FunctionCallDescription: Equatable, Codable, Sendable {
     |                                            `- error: 'Codable' is unavailable: unavailable in embedded Swift
 241 |
 242 |   /// The expression that returns the function to be called.
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:240:8: error: type 'FunctionCallDescription' does not conform to protocol 'Encodable'
 238 | ///
 239 | /// For example `foo(bar: 42)`.
 240 | struct FunctionCallDescription: Equatable, Codable, Sendable {
     |        `- error: type 'FunctionCallDescription' does not conform to protocol 'Encodable'
 241 |
 242 |   /// The expression that returns the function to be called.
     :
 246 |
 247 |   /// The arguments to be passed to the function.
 248 |   var arguments: [FunctionArgumentDescription]
     |       `- note: cannot automatically synthesize 'Encodable' because '[FunctionArgumentDescription]' does not conform to 'Encodable'
 249 |
 250 |   /// A trailing closure.
 251 |   var trailingClosure: ClosureInvocationDescription?
     |       `- note: cannot automatically synthesize 'Encodable' because 'ClosureInvocationDescription?' does not conform to 'Encodable'
 252 |
 253 |   /// Creates a new function call description.
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
  |      `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:287:30: error: 'Codable' is unavailable: unavailable in embedded Swift
 285 |
 286 | /// A type of a variable binding: `let` or `var`.
 287 | enum BindingKind: Equatable, Codable, Sendable {
     |                              `- error: 'Codable' is unavailable: unavailable in embedded Swift
 288 |
 289 |   /// A mutable variable.
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:299:40: error: 'Codable' is unavailable: unavailable in embedded Swift
 297 | ///
 298 | /// For example `let foo = 42`.
 299 | struct VariableDescription: Equatable, Codable, Sendable {
     |                                        `- error: 'Codable' is unavailable: unavailable in embedded Swift
 300 |
 301 |   /// An access modifier.
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:299:8: error: type 'VariableDescription' does not conform to protocol 'Encodable'
 297 | ///
 298 | /// For example `let foo = 42`.
 299 | struct VariableDescription: Equatable, Codable, Sendable {
     |        `- error: type 'VariableDescription' does not conform to protocol 'Encodable'
 300 |
 301 |   /// An access modifier.
 302 |   var accessModifier: AccessModifier?
     |       `- note: cannot automatically synthesize 'Encodable' because 'AccessModifier?' does not conform to 'Encodable'
 303 |
 304 |   /// A Boolean value that indicates whether the variable is static.
 305 |   var isStatic: Bool = false
     |       `- note: cannot automatically synthesize 'Encodable' because 'Bool' does not conform to 'Encodable'
 306 |
 307 |   /// The variable binding kind.
     :
 316 |   ///
 317 |   /// For example, in `let foo: Int = 42`, `type` is `Int`.
 318 |   var type: ExistingTypeDescription?
     |       `- note: cannot automatically synthesize 'Encodable' because 'ExistingTypeDescription?' does not conform to 'Encodable'
 319 |
 320 |   /// The expression to be assigned to the variable.
 321 |   ///
 322 |   /// For example, in `let foo = 42`, `right` represents `42`.
 323 |   var right: Expression? = nil
     |       `- note: cannot automatically synthesize 'Encodable' because 'Expression?' does not conform to 'Encodable'
 324 |
 325 |   /// Body code for the getter.
 326 |   ///
 327 |   /// For example, in `var foo: Int { 42 }`, `body` represents `{ 42 }`.
 328 |   var getter: [CodeBlock]? = nil
     |       `- note: cannot automatically synthesize 'Encodable' because '[CodeBlock]?' does not conform to 'Encodable'
 329 |
 330 |   /// Effects for the getter.
 331 |   ///
 332 |   /// For example, in `var foo: Int { get throws { 42 } }`, effects are `[.throws]`.
 333 |   var getterEffects: [FunctionKeyword] = []
     |       `- note: cannot automatically synthesize 'Encodable' because '[FunctionKeyword]' does not conform to 'Encodable'
 334 |
 335 |   /// Body code for the setter.
     :
 337 |   /// For example, in `var foo: Int { set { _foo = newValue } }`, `body`
 338 |   /// represents `{ _foo = newValue }`.
 339 |   var setter: [CodeBlock]? = nil
     |       `- note: cannot automatically synthesize 'Encodable' because '[CodeBlock]?' does not conform to 'Encodable'
 340 |
 341 |   /// Body code for the `_modify` accessor.
     :
 343 |   /// For example, in `var foo: Int { _modify { yield &_foo } }`, `body`
 344 |   /// represents `{ yield &_foo }`.
 345 |   var modify: [CodeBlock]? = nil
     |       `- note: cannot automatically synthesize 'Encodable' because '[CodeBlock]?' does not conform to 'Encodable'
 346 | }
 347 |
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
  |      `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:349:41: error: 'Codable' is unavailable: unavailable in embedded Swift
 347 |
 348 | /// A requirement of a where clause.
 349 | enum WhereClauseRequirement: Equatable, Codable, Sendable {
     |                                         `- error: 'Codable' is unavailable: unavailable in embedded Swift
 350 |
 351 |   /// A conformance requirement.
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:349:6: error: type 'WhereClauseRequirement' does not conform to protocol 'Decodable'
 347 |
 348 | /// A requirement of a where clause.
 349 | enum WhereClauseRequirement: Equatable, Codable, Sendable {
     |      `- error: type 'WhereClauseRequirement' does not conform to protocol 'Decodable'
 350 |
 351 |   /// A conformance requirement.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
GRPCCodeGen.WhereClauseRequirement.conformance._:2:1: note: cannot automatically synthesize 'Decodable' because 'String' does not conform to 'Decodable'
1 | enum WhereClauseRequirement {
2 | _: String}
  | `- note: cannot automatically synthesize 'Decodable' because 'String' does not conform to 'Decodable'
3 |
GRPCCodeGen.WhereClauseRequirement.conformance._:2:1: note: cannot automatically synthesize 'Decodable' because 'String' does not conform to 'Decodable'
1 | enum WhereClauseRequirement {
2 | _: String}
  | `- note: cannot automatically synthesize 'Decodable' because 'String' does not conform to 'Decodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:349:6: error: type 'WhereClauseRequirement' does not conform to protocol 'Encodable'
 347 |
 348 | /// A requirement of a where clause.
 349 | enum WhereClauseRequirement: Equatable, Codable, Sendable {
     |      `- error: type 'WhereClauseRequirement' does not conform to protocol 'Encodable'
 350 |
 351 |   /// A conformance requirement.
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
  |      `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
GRPCCodeGen.WhereClauseRequirement.conformance._:2:1: note: cannot automatically synthesize 'Encodable' because 'String' does not conform to 'Encodable'
1 | enum WhereClauseRequirement {
2 | _: String}
  | `- note: cannot automatically synthesize 'Encodable' because 'String' does not conform to 'Encodable'
3 |
GRPCCodeGen.WhereClauseRequirement.conformance._:2:1: note: cannot automatically synthesize 'Encodable' because 'String' does not conform to 'Encodable'
1 | enum WhereClauseRequirement {
2 | _: String}
  | `- note: cannot automatically synthesize 'Encodable' because 'String' does not conform to 'Encodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:360:32: error: 'Codable' is unavailable: unavailable in embedded Swift
 358 | ///
 359 | /// For example: `extension Array where Element: Foo {`.
 360 | struct WhereClause: Equatable, Codable, Sendable {
     |                                `- error: 'Codable' is unavailable: unavailable in embedded Swift
 361 |
 362 |   /// One or more requirements to be added after the `where` keyword.
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:360:8: error: type 'WhereClause' does not conform to protocol 'Encodable'
 358 | ///
 359 | /// For example: `extension Array where Element: Foo {`.
 360 | struct WhereClause: Equatable, Codable, Sendable {
     |        `- error: type 'WhereClause' does not conform to protocol 'Encodable'
 361 |
 362 |   /// One or more requirements to be added after the `where` keyword.
 363 |   var requirements: [WhereClauseRequirement]
     |       `- note: cannot automatically synthesize 'Encodable' because '[WhereClauseRequirement]' does not conform to 'Encodable'
 364 | }
 365 |
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
  |      `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:369:41: error: 'Codable' is unavailable: unavailable in embedded Swift
 367 | ///
 368 | /// For example `extension Foo {`.
 369 | struct ExtensionDescription: Equatable, Codable, Sendable {
     |                                         `- error: 'Codable' is unavailable: unavailable in embedded Swift
 370 |
 371 |   /// An access modifier.
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:369:8: error: type 'ExtensionDescription' does not conform to protocol 'Encodable'
 367 | ///
 368 | /// For example `extension Foo {`.
 369 | struct ExtensionDescription: Equatable, Codable, Sendable {
     |        `- error: type 'ExtensionDescription' does not conform to protocol 'Encodable'
 370 |
 371 |   /// An access modifier.
 372 |   var accessModifier: AccessModifier? = nil
     |       `- note: cannot automatically synthesize 'Encodable' because 'AccessModifier?' does not conform to 'Encodable'
 373 |
 374 |   /// The name of the extended type.
 375 |   ///
 376 |   /// For example, in `extension Foo {`, `onType` is `Foo`.
 377 |   var onType: String
     |       `- note: cannot automatically synthesize 'Encodable' because 'String' does not conform to 'Encodable'
 378 |
 379 |   /// Additional type names that the extension conforms to.
 380 |   ///
 381 |   /// For example: `["Sendable", "Codable"]`.
 382 |   var conformances: [String] = []
     |       `- note: cannot automatically synthesize 'Encodable' because '[String]' does not conform to 'Encodable'
 383 |
 384 |   /// A where clause constraining the extension declaration.
 385 |   var whereClause: WhereClause? = nil
     |       `- note: cannot automatically synthesize 'Encodable' because 'WhereClause?' does not conform to 'Encodable'
 386 |
 387 |   /// The declarations that the extension adds on the extended type.
 388 |   var declarations: [Declaration]
     |       `- note: cannot automatically synthesize 'Encodable' because '[Declaration]' does not conform to 'Encodable'
 389 | }
 390 |
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
  |      `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:394:38: error: 'Codable' is unavailable: unavailable in embedded Swift
 392 | ///
 393 | /// For example `struct Foo {`.
 394 | struct StructDescription: Equatable, Codable, Sendable {
     |                                      `- error: 'Codable' is unavailable: unavailable in embedded Swift
 395 |
 396 |   /// An access modifier.
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:394:8: error: type 'StructDescription' does not conform to protocol 'Encodable'
 392 | ///
 393 | /// For example `struct Foo {`.
 394 | struct StructDescription: Equatable, Codable, Sendable {
     |        `- error: type 'StructDescription' does not conform to protocol 'Encodable'
 395 |
 396 |   /// An access modifier.
 397 |   var accessModifier: AccessModifier? = nil
     |       `- note: cannot automatically synthesize 'Encodable' because 'AccessModifier?' does not conform to 'Encodable'
 398 |
 399 |   /// The name of the struct.
 400 |   ///
 401 |   /// For example, in `struct Foo {`, `name` is `Foo`.
 402 |   var name: String
     |       `- note: cannot automatically synthesize 'Encodable' because 'String' does not conform to 'Encodable'
 403 |
 404 |   /// The generic types of the struct.
 405 |   var generics: [ExistingTypeDescription] = []
     |       `- note: cannot automatically synthesize 'Encodable' because '[ExistingTypeDescription]' does not conform to 'Encodable'
 406 |
 407 |   /// The type names that the struct conforms to.
 408 |   ///
 409 |   /// For example: `["Sendable", "Codable"]`.
 410 |   var conformances: [String] = []
     |       `- note: cannot automatically synthesize 'Encodable' because '[String]' does not conform to 'Encodable'
 411 |
 412 |   /// A where clause constraining the struct declaration.
 413 |   var whereClause: WhereClause? = nil
     |       `- note: cannot automatically synthesize 'Encodable' because 'WhereClause?' does not conform to 'Encodable'
 414 |
 415 |   /// The declarations that make up the main struct body.
 416 |   var members: [Declaration] = []
     |       `- note: cannot automatically synthesize 'Encodable' because '[Declaration]' does not conform to 'Encodable'
 417 | }
 418 |
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
  |      `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:422:36: error: 'Codable' is unavailable: unavailable in embedded Swift
 420 | ///
 421 | /// For example `enum Bar {`.
 422 | struct EnumDescription: Equatable, Codable, Sendable {
     |                                    `- error: 'Codable' is unavailable: unavailable in embedded Swift
 423 |
 424 |   /// A Boolean value that indicates whether the enum has a `@frozen`
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:422:8: error: type 'EnumDescription' does not conform to protocol 'Encodable'
 420 | ///
 421 | /// For example `enum Bar {`.
 422 | struct EnumDescription: Equatable, Codable, Sendable {
     |        `- error: type 'EnumDescription' does not conform to protocol 'Encodable'
 423 |
 424 |   /// A Boolean value that indicates whether the enum has a `@frozen`
 425 |   /// attribute.
 426 |   var isFrozen: Bool = false
     |       `- note: cannot automatically synthesize 'Encodable' because 'Bool' does not conform to 'Encodable'
 427 |
 428 |   /// A Boolean value that indicates whether the enum has the `indirect`
 429 |   /// keyword.
 430 |   var isIndirect: Bool = false
     |       `- note: cannot automatically synthesize 'Encodable' because 'Bool' does not conform to 'Encodable'
 431 |
 432 |   /// An access modifier.
 433 |   var accessModifier: AccessModifier? = nil
     |       `- note: cannot automatically synthesize 'Encodable' because 'AccessModifier?' does not conform to 'Encodable'
 434 |
 435 |   /// The name of the enum.
 436 |   ///
 437 |   /// For example, in `enum Bar {`, `name` is `Bar`.
 438 |   var name: String
     |       `- note: cannot automatically synthesize 'Encodable' because 'String' does not conform to 'Encodable'
 439 |
 440 |   /// The type names that the enum conforms to.
 441 |   ///
 442 |   /// For example: `["Sendable", "Codable"]`.
 443 |   var conformances: [String] = []
     |       `- note: cannot automatically synthesize 'Encodable' because '[String]' does not conform to 'Encodable'
 444 |
 445 |   /// The declarations that make up the enum body.
 446 |   var members: [Declaration] = []
     |       `- note: cannot automatically synthesize 'Encodable' because '[Declaration]' does not conform to 'Encodable'
 447 | }
 448 |
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
  |      `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:450:51: error: 'Codable' is unavailable: unavailable in embedded Swift
 448 |
 449 | /// A description of a type reference.
 450 | indirect enum ExistingTypeDescription: Equatable, Codable, Sendable {
     |                                                   `- error: 'Codable' is unavailable: unavailable in embedded Swift
 451 |
 452 |   /// A type with the `any` keyword in front of it.
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:450:15: error: type 'ExistingTypeDescription' does not conform to protocol 'Decodable'
 448 |
 449 | /// A description of a type reference.
 450 | indirect enum ExistingTypeDescription: Equatable, Codable, Sendable {
     |               `- error: type 'ExistingTypeDescription' does not conform to protocol 'Decodable'
 451 |
 452 |   /// A type with the `any` keyword in front of it.
     :
 463 |   ///
 464 |   /// For example, `Wrapper<Wrapped>`.
 465 |   case generic(wrapper: ExistingTypeDescription, wrapped: [ExistingTypeDescription])
     |                                                  `- note: cannot automatically synthesize 'Decodable' because '[ExistingTypeDescription]' does not conform to 'Decodable'
 466 |
 467 |   /// A type reference represented by the components.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
GRPCCodeGen.ExistingTypeDescription.member._:2:1: note: cannot automatically synthesize 'Decodable' because '[String]' does not conform to 'Decodable'
1 | enum ExistingTypeDescription {
2 | _: [String]}
  | `- note: cannot automatically synthesize 'Decodable' because '[String]' does not conform to 'Decodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:450:15: error: type 'ExistingTypeDescription' does not conform to protocol 'Encodable'
 448 |
 449 | /// A description of a type reference.
 450 | indirect enum ExistingTypeDescription: Equatable, Codable, Sendable {
     |               `- error: type 'ExistingTypeDescription' does not conform to protocol 'Encodable'
 451 |
 452 |   /// A type with the `any` keyword in front of it.
     :
 463 |   ///
 464 |   /// For example, `Wrapper<Wrapped>`.
 465 |   case generic(wrapper: ExistingTypeDescription, wrapped: [ExistingTypeDescription])
     |                                                  `- note: cannot automatically synthesize 'Encodable' because '[ExistingTypeDescription]' does not conform to 'Encodable'
 466 |
 467 |   /// A type reference represented by the components.
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
  |      `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
GRPCCodeGen.ExistingTypeDescription.member._:2:1: note: cannot automatically synthesize 'Encodable' because '[String]' does not conform to 'Encodable'
1 | enum ExistingTypeDescription {
2 | _: [String]}
  | `- note: cannot automatically synthesize 'Encodable' because '[String]' does not conform to 'Encodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:507:41: error: 'Codable' is unavailable: unavailable in embedded Swift
 505 | ///
 506 | /// For example `typealias Foo = Int`.
 507 | struct TypealiasDescription: Equatable, Codable, Sendable {
     |                                         `- error: 'Codable' is unavailable: unavailable in embedded Swift
 508 |
 509 |   /// An access modifier.
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:507:8: error: type 'TypealiasDescription' does not conform to protocol 'Encodable'
 505 | ///
 506 | /// For example `typealias Foo = Int`.
 507 | struct TypealiasDescription: Equatable, Codable, Sendable {
     |        `- error: type 'TypealiasDescription' does not conform to protocol 'Encodable'
 508 |
 509 |   /// An access modifier.
 510 |   var accessModifier: AccessModifier?
     |       `- note: cannot automatically synthesize 'Encodable' because 'AccessModifier?' does not conform to 'Encodable'
 511 |
 512 |   /// The name of the typealias.
 513 |   ///
 514 |   /// For example, in `typealias Foo = Int`, `name` is `Foo`.
 515 |   var name: String
     |       `- note: cannot automatically synthesize 'Encodable' because 'String' does not conform to 'Encodable'
 516 |
 517 |   /// The existing type that serves as the underlying type of the alias.
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
  |      `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:526:40: error: 'Codable' is unavailable: unavailable in embedded Swift
 524 | ///
 525 | /// For example `protocol Foo {`.
 526 | struct ProtocolDescription: Equatable, Codable, Sendable {
     |                                        `- error: 'Codable' is unavailable: unavailable in embedded Swift
 527 |
 528 |   /// An access modifier.
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:526:8: error: type 'ProtocolDescription' does not conform to protocol 'Encodable'
 524 | ///
 525 | /// For example `protocol Foo {`.
 526 | struct ProtocolDescription: Equatable, Codable, Sendable {
     |        `- error: type 'ProtocolDescription' does not conform to protocol 'Encodable'
 527 |
 528 |   /// An access modifier.
 529 |   var accessModifier: AccessModifier? = nil
     |       `- note: cannot automatically synthesize 'Encodable' because 'AccessModifier?' does not conform to 'Encodable'
 530 |
 531 |   /// The name of the protocol.
 532 |   ///
 533 |   /// For example, in `protocol Foo {`, `name` is `Foo`.
 534 |   var name: String
     |       `- note: cannot automatically synthesize 'Encodable' because 'String' does not conform to 'Encodable'
 535 |
 536 |   /// The type names that the protocol conforms to.
 537 |   ///
 538 |   /// For example: `["Sendable", "Codable"]`.
 539 |   var conformances: [String] = []
     |       `- note: cannot automatically synthesize 'Encodable' because '[String]' does not conform to 'Encodable'
 540 |
 541 |   /// The function and property declarations that make up the protocol
 542 |   /// requirements.
 543 |   var members: [Declaration] = []
     |       `- note: cannot automatically synthesize 'Encodable' because '[Declaration]' does not conform to 'Encodable'
 544 | }
 545 |
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
  |      `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:550:41: error: 'Codable' is unavailable: unavailable in embedded Swift
 548 | /// For example, in `func foo(bar baz: String = "hi")`, the parameter
 549 | /// description represents `bar baz: String = "hi"`
 550 | struct ParameterDescription: Equatable, Codable, Sendable {
     |                                         `- error: 'Codable' is unavailable: unavailable in embedded Swift
 551 |
 552 |   /// An external parameter label.
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:550:8: error: type 'ParameterDescription' does not conform to protocol 'Encodable'
 548 | /// For example, in `func foo(bar baz: String = "hi")`, the parameter
 549 | /// description represents `bar baz: String = "hi"`
 550 | struct ParameterDescription: Equatable, Codable, Sendable {
     |        `- error: type 'ParameterDescription' does not conform to protocol 'Encodable'
 551 |
 552 |   /// An external parameter label.
 553 |   ///
 554 |   /// For example, in `bar baz: String = "hi"`, `label` is `bar`.
 555 |   var label: String? = nil
     |       `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
 556 |
 557 |   /// An internal parameter name.
 558 |   ///
 559 |   /// For example, in `bar baz: String = "hi"`, `name` is `baz`.
 560 |   var name: String? = nil
     |       `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
 561 |
 562 |   /// The type name of the parameter.
 563 |   ///
 564 |   /// For example, in `bar baz: String = "hi"`, `type` is `String`.
 565 |   var type: ExistingTypeDescription? = nil
     |       `- note: cannot automatically synthesize 'Encodable' because 'ExistingTypeDescription?' does not conform to 'Encodable'
 566 |
 567 |   /// A default value of the parameter.
     :
 569 |   /// For example, in `bar baz: String = "hi"`, `defaultValue`
 570 |   /// represents `"hi"`.
 571 |   var defaultValue: Expression? = nil
     |       `- note: cannot automatically synthesize 'Encodable' because 'Expression?' does not conform to 'Encodable'
 572 |
 573 |   /// An inout parameter type.
 574 |   ///
 575 |   /// For example, `bar baz: inout String`.
 576 |   var `inout`: Bool = false
     |       `- note: cannot automatically synthesize 'Encodable' because 'Bool' does not conform to 'Encodable'
 577 | }
 578 |
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
  |      `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:580:31: error: 'Codable' is unavailable: unavailable in embedded Swift
 578 |
 579 | /// A function kind: `func` or `init`.
 580 | enum FunctionKind: Equatable, Codable, Sendable {
     |                               `- error: 'Codable' is unavailable: unavailable in embedded Swift
 581 |
 582 |   /// An initializer.
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:580:6: error: type 'FunctionKind' does not conform to protocol 'Decodable'
 578 |
 579 | /// A function kind: `func` or `init`.
 580 | enum FunctionKind: Equatable, Codable, Sendable {
     |      `- error: type 'FunctionKind' does not conform to protocol 'Decodable'
 581 |
 582 |   /// An initializer.
 583 |   ///
 584 |   /// For example: `init()`, or `init?()` when `failable` is `true`.
 585 |   case initializer(failable: Bool)
     |                    `- note: cannot automatically synthesize 'Decodable' because 'Bool' does not conform to 'Decodable'
 586 |
 587 |   /// A function or a method. Can be static.
     :
 589 |   /// For example `foo()`, where `name` is `foo`.
 590 |   case function(
 591 |     name: String,
     |     `- note: cannot automatically synthesize 'Decodable' because 'String' does not conform to 'Decodable'
 592 |     isStatic: Bool
     |     `- note: cannot automatically synthesize 'Decodable' because 'Bool' does not conform to 'Decodable'
 593 |   )
 594 | }
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:580:6: error: type 'FunctionKind' does not conform to protocol 'Encodable'
 578 |
 579 | /// A function kind: `func` or `init`.
 580 | enum FunctionKind: Equatable, Codable, Sendable {
     |      `- error: type 'FunctionKind' does not conform to protocol 'Encodable'
 581 |
 582 |   /// An initializer.
 583 |   ///
 584 |   /// For example: `init()`, or `init?()` when `failable` is `true`.
 585 |   case initializer(failable: Bool)
     |                    `- note: cannot automatically synthesize 'Encodable' because 'Bool' does not conform to 'Encodable'
 586 |
 587 |   /// A function or a method. Can be static.
     :
 589 |   /// For example `foo()`, where `name` is `foo`.
 590 |   case function(
 591 |     name: String,
     |     `- note: cannot automatically synthesize 'Encodable' because 'String' does not conform to 'Encodable'
 592 |     isStatic: Bool
     |     `- note: cannot automatically synthesize 'Encodable' because 'Bool' does not conform to 'Encodable'
 593 |   )
 594 | }
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
  |      `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:597:34: error: 'Codable' is unavailable: unavailable in embedded Swift
 595 |
 596 | /// A function keyword, such as `async` and `throws`.
 597 | enum FunctionKeyword: Equatable, Codable, Sendable {
     |                                  `- error: 'Codable' is unavailable: unavailable in embedded Swift
 598 |
 599 |   /// An asynchronous function.
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:612:49: error: 'Codable' is unavailable: unavailable in embedded Swift
 610 | ///
 611 | /// For example: `func foo(bar: String) async throws -> Int`.
 612 | struct FunctionSignatureDescription: Equatable, Codable, Sendable {
     |                                                 `- error: 'Codable' is unavailable: unavailable in embedded Swift
 613 |
 614 |   /// An access modifier.
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:612:8: error: type 'FunctionSignatureDescription' does not conform to protocol 'Encodable'
 610 | ///
 611 | /// For example: `func foo(bar: String) async throws -> Int`.
 612 | struct FunctionSignatureDescription: Equatable, Codable, Sendable {
     |        `- error: type 'FunctionSignatureDescription' does not conform to protocol 'Encodable'
 613 |
 614 |   /// An access modifier.
 615 |   var accessModifier: AccessModifier? = nil
     |       `- note: cannot automatically synthesize 'Encodable' because 'AccessModifier?' does not conform to 'Encodable'
 616 |
 617 |   /// The kind of the function.
     :
 619 |
 620 |   /// The generic types of the function.
 621 |   var generics: [ExistingTypeDescription] = []
     |       `- note: cannot automatically synthesize 'Encodable' because '[ExistingTypeDescription]' does not conform to 'Encodable'
 622 |
 623 |   /// The parameters of the function.
 624 |   var parameters: [ParameterDescription] = []
     |       `- note: cannot automatically synthesize 'Encodable' because '[ParameterDescription]' does not conform to 'Encodable'
 625 |
 626 |   /// The keywords of the function, such as `async` and `throws.`
 627 |   var keywords: [FunctionKeyword] = []
     |       `- note: cannot automatically synthesize 'Encodable' because '[FunctionKeyword]' does not conform to 'Encodable'
 628 |
 629 |   /// The return type name of the function, such as `Int`.
 630 |   var returnType: Expression? = nil
     |       `- note: cannot automatically synthesize 'Encodable' because 'Expression?' does not conform to 'Encodable'
 631 |
 632 |   /// The where clause for a generic function.
 633 |   var whereClause: WhereClause?
     |       `- note: cannot automatically synthesize 'Encodable' because 'WhereClause?' does not conform to 'Encodable'
 634 | }
 635 |
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
  |      `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:639:40: error: 'Codable' is unavailable: unavailable in embedded Swift
 637 | ///
 638 | /// For example: `func foo() { }`.
 639 | struct FunctionDescription: Equatable, Codable, Sendable {
     |                                        `- error: 'Codable' is unavailable: unavailable in embedded Swift
 640 |
 641 |   /// The signature of the function.
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:639:8: error: type 'FunctionDescription' does not conform to protocol 'Encodable'
 637 | ///
 638 | /// For example: `func foo() { }`.
 639 | struct FunctionDescription: Equatable, Codable, Sendable {
     |        `- error: type 'FunctionDescription' does not conform to protocol 'Encodable'
 640 |
 641 |   /// The signature of the function.
     :
 645 |   ///
 646 |   /// If nil, does not generate `{` and `}` at all for the body scope.
 647 |   var body: [CodeBlock]? = nil
     |       `- note: cannot automatically synthesize 'Encodable' because '[CodeBlock]?' does not conform to 'Encodable'
 648 |
 649 |   /// Creates a new function description.
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
  |      `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:722:48: error: 'Codable' is unavailable: unavailable in embedded Swift
 720 | ///
 721 | /// For example: `(String) async throws -> Int`.
 722 | struct ClosureSignatureDescription: Equatable, Codable, Sendable {
     |                                                `- error: 'Codable' is unavailable: unavailable in embedded Swift
 723 |   /// The parameters of the function.
 724 |   var parameters: [ParameterDescription] = []
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:722:8: error: type 'ClosureSignatureDescription' does not conform to protocol 'Encodable'
 720 | ///
 721 | /// For example: `(String) async throws -> Int`.
 722 | struct ClosureSignatureDescription: Equatable, Codable, Sendable {
     |        `- error: type 'ClosureSignatureDescription' does not conform to protocol 'Encodable'
 723 |   /// The parameters of the function.
 724 |   var parameters: [ParameterDescription] = []
     |       `- note: cannot automatically synthesize 'Encodable' because '[ParameterDescription]' does not conform to 'Encodable'
 725 |
 726 |   /// The keywords of the function, such as `async` and `throws.`
 727 |   var keywords: [FunctionKeyword] = []
     |       `- note: cannot automatically synthesize 'Encodable' because '[FunctionKeyword]' does not conform to 'Encodable'
 728 |
 729 |   /// The return type name of the function, such as `Int`.
 730 |   var returnType: Expression? = nil
     |       `- note: cannot automatically synthesize 'Encodable' because 'Expression?' does not conform to 'Encodable'
 731 |
 732 |   /// The ``@Sendable`` attribute.
 733 |   var sendable: Bool = false
     |       `- note: cannot automatically synthesize 'Encodable' because 'Bool' does not conform to 'Encodable'
 734 |
 735 |   /// The ``@escaping`` attribute.
 736 |   var escaping: Bool = false
     |       `- note: cannot automatically synthesize 'Encodable' because 'Bool' does not conform to 'Encodable'
 737 | }
 738 |
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
  |      `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:743:8: error: type 'EnumCaseAssociatedValueDescription' does not conform to protocol 'Decodable'
 741 | /// For example, in `case foo(bar: String)`, the associated value
 742 | /// represents `bar: String`.
 743 | struct EnumCaseAssociatedValueDescription: Equatable, Codable, Sendable {
     |        `- error: type 'EnumCaseAssociatedValueDescription' does not conform to protocol 'Decodable'
 744 |
 745 |   /// A variable label.
 746 |   ///
 747 |   /// For example, in `bar: String`, `label` is `bar`.
 748 |   var label: String?
     |       `- note: cannot automatically synthesize 'Decodable' because 'String?' does not conform to 'Decodable'
 749 |
 750 |   /// A variable type name.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:743:55: error: 'Codable' is unavailable: unavailable in embedded Swift
 741 | /// For example, in `case foo(bar: String)`, the associated value
 742 | /// represents `bar: String`.
 743 | struct EnumCaseAssociatedValueDescription: Equatable, Codable, Sendable {
     |                                                       `- error: 'Codable' is unavailable: unavailable in embedded Swift
 744 |
 745 |   /// A variable label.
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:743:8: error: type 'EnumCaseAssociatedValueDescription' does not conform to protocol 'Encodable'
 741 | /// For example, in `case foo(bar: String)`, the associated value
 742 | /// represents `bar: String`.
 743 | struct EnumCaseAssociatedValueDescription: Equatable, Codable, Sendable {
     |        `- error: type 'EnumCaseAssociatedValueDescription' does not conform to protocol 'Encodable'
 744 |
 745 |   /// A variable label.
 746 |   ///
 747 |   /// For example, in `bar: String`, `label` is `bar`.
 748 |   var label: String?
     |       `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
 749 |
 750 |   /// A variable type name.
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
  |      `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:759:31: error: 'Codable' is unavailable: unavailable in embedded Swift
 757 | ///
 758 | /// For example: `case foo` versus `case foo(String)`, and so on.
 759 | enum EnumCaseKind: Equatable, Codable, Sendable {
     |                               `- error: 'Codable' is unavailable: unavailable in embedded Swift
 760 |
 761 |   /// A case with only a name.
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:759:6: error: type 'EnumCaseKind' does not conform to protocol 'Decodable'
 757 | ///
 758 | /// For example: `case foo` versus `case foo(String)`, and so on.
 759 | enum EnumCaseKind: Equatable, Codable, Sendable {
     |      `- error: type 'EnumCaseKind' does not conform to protocol 'Decodable'
 760 |
 761 |   /// A case with only a name.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
GRPCCodeGen.EnumCaseKind.nameWithAssociatedValues._:2:1: note: cannot automatically synthesize 'Decodable' because '[EnumCaseAssociatedValueDescription]' does not conform to 'Decodable'
1 | enum EnumCaseKind {
2 | _: [EnumCaseAssociatedValueDescription]}
  | `- note: cannot automatically synthesize 'Decodable' because '[EnumCaseAssociatedValueDescription]' does not conform to 'Decodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:759:6: error: type 'EnumCaseKind' does not conform to protocol 'Encodable'
 757 | ///
 758 | /// For example: `case foo` versus `case foo(String)`, and so on.
 759 | enum EnumCaseKind: Equatable, Codable, Sendable {
     |      `- error: type 'EnumCaseKind' does not conform to protocol 'Encodable'
 760 |
 761 |   /// A case with only a name.
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
  |      `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
GRPCCodeGen.EnumCaseKind.nameWithAssociatedValues._:2:1: note: cannot automatically synthesize 'Encodable' because '[EnumCaseAssociatedValueDescription]' does not conform to 'Encodable'
1 | enum EnumCaseKind {
2 | _: [EnumCaseAssociatedValueDescription]}
  | `- note: cannot automatically synthesize 'Encodable' because '[EnumCaseAssociatedValueDescription]' does not conform to 'Encodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:780:8: error: type 'EnumCaseDescription' does not conform to protocol 'Decodable'
 778 | ///
 779 | /// For example: `case foo(String)`.
 780 | struct EnumCaseDescription: Equatable, Codable, Sendable {
     |        `- error: type 'EnumCaseDescription' does not conform to protocol 'Decodable'
 781 |
 782 |   /// The name of the enum case.
 783 |   ///
 784 |   /// For example, in `case foo`, `name` is `foo`.
 785 |   var name: String
     |       `- note: cannot automatically synthesize 'Decodable' because 'String' does not conform to 'Decodable'
 786 |
 787 |   /// The kind of the enum case.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:780:40: error: 'Codable' is unavailable: unavailable in embedded Swift
 778 | ///
 779 | /// For example: `case foo(String)`.
 780 | struct EnumCaseDescription: Equatable, Codable, Sendable {
     |                                        `- error: 'Codable' is unavailable: unavailable in embedded Swift
 781 |
 782 |   /// The name of the enum case.
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:780:8: error: type 'EnumCaseDescription' does not conform to protocol 'Encodable'
 778 | ///
 779 | /// For example: `case foo(String)`.
 780 | struct EnumCaseDescription: Equatable, Codable, Sendable {
     |        `- error: type 'EnumCaseDescription' does not conform to protocol 'Encodable'
 781 |
 782 |   /// The name of the enum case.
 783 |   ///
 784 |   /// For example, in `case foo`, `name` is `foo`.
 785 |   var name: String
     |       `- note: cannot automatically synthesize 'Encodable' because 'String' does not conform to 'Encodable'
 786 |
 787 |   /// The kind of the enum case.
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
  |      `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:792:39: error: 'Codable' is unavailable: unavailable in embedded Swift
 790 |
 791 | /// A declaration of a Swift entity.
 792 | indirect enum Declaration: Equatable, Codable, Sendable {
     |                                       `- error: 'Codable' is unavailable: unavailable in embedded Swift
 793 |
 794 |   /// A declaration that adds a comment on top of the provided declaration.
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:792:15: error: type 'Declaration' does not conform to protocol 'Decodable'
 790 |
 791 | /// A declaration of a Swift entity.
 792 | indirect enum Declaration: Equatable, Codable, Sendable {
     |               `- error: type 'Declaration' does not conform to protocol 'Decodable'
 793 |
 794 |   /// A declaration that adds a comment on top of the provided declaration.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
GRPCCodeGen.Declaration.commentable._:2:1: note: cannot automatically synthesize 'Decodable' because 'Comment?' does not conform to 'Decodable'
1 | enum Declaration {
2 | _: Comment?}
  | `- note: cannot automatically synthesize 'Decodable' because 'Comment?' does not conform to 'Decodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:792:15: error: type 'Declaration' does not conform to protocol 'Encodable'
 790 |
 791 | /// A declaration of a Swift entity.
 792 | indirect enum Declaration: Equatable, Codable, Sendable {
     |               `- error: type 'Declaration' does not conform to protocol 'Encodable'
 793 |
 794 |   /// A declaration that adds a comment on top of the provided declaration.
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
  |      `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
GRPCCodeGen.Declaration.commentable._:2:1: note: cannot automatically synthesize 'Encodable' because 'Comment?' does not conform to 'Encodable'
1 | enum Declaration {
2 | _: Comment?}
  | `- note: cannot automatically synthesize 'Encodable' because 'Comment?' does not conform to 'Encodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:831:8: error: type 'DeprecationDescription' does not conform to protocol 'Decodable'
 829 | ///
 830 | /// For example: `@available(*, deprecated, message: "This is going away", renamed: "other(param:)")`
 831 | struct DeprecationDescription: Equatable, Codable, Sendable {
     |        `- error: type 'DeprecationDescription' does not conform to protocol 'Decodable'
 832 |
 833 |   /// A message used by the deprecation attribute.
 834 |   var message: String?
     |       `- note: cannot automatically synthesize 'Decodable' because 'String?' does not conform to 'Decodable'
 835 |
 836 |   /// A new name of the symbol, allowing the user to get a fix-it.
 837 |   var renamed: String?
     |       `- note: cannot automatically synthesize 'Decodable' because 'String?' does not conform to 'Decodable'
 838 | }
 839 |
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:831:43: error: 'Codable' is unavailable: unavailable in embedded Swift
 829 | ///
 830 | /// For example: `@available(*, deprecated, message: "This is going away", renamed: "other(param:)")`
 831 | struct DeprecationDescription: Equatable, Codable, Sendable {
     |                                           `- error: 'Codable' is unavailable: unavailable in embedded Swift
 832 |
 833 |   /// A message used by the deprecation attribute.
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:831:8: error: type 'DeprecationDescription' does not conform to protocol 'Encodable'
 829 | ///
 830 | /// For example: `@available(*, deprecated, message: "This is going away", renamed: "other(param:)")`
 831 | struct DeprecationDescription: Equatable, Codable, Sendable {
     |        `- error: type 'DeprecationDescription' does not conform to protocol 'Encodable'
 832 |
 833 |   /// A message used by the deprecation attribute.
 834 |   var message: String?
     |       `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
 835 |
 836 |   /// A new name of the symbol, allowing the user to get a fix-it.
 837 |   var renamed: String?
     |       `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
 838 | }
 839 |
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
  |      `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:851:40: error: 'Codable' is unavailable: unavailable in embedded Swift
 849 |
 850 |   /// An OS and its version.
 851 |   package struct OSVersion: Equatable, Codable, Sendable {
     |                                        `- error: 'Codable' is unavailable: unavailable in embedded Swift
 852 |     package var os: OS
 853 |     package var version: String
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:851:18: error: type 'AvailabilityDescription.OSVersion' does not conform to protocol 'Encodable'
 849 |
 850 |   /// An OS and its version.
 851 |   package struct OSVersion: Equatable, Codable, Sendable {
     |                  `- error: type 'AvailabilityDescription.OSVersion' does not conform to protocol 'Encodable'
 852 |     package var os: OS
 853 |     package var version: String
     |                 `- note: cannot automatically synthesize 'Encodable' because 'String' does not conform to 'Encodable'
 854 |     package init(os: OS, version: String) {
 855 |       self.os = os
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
  |      `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:862:33: error: 'Codable' is unavailable: unavailable in embedded Swift
 860 |   /// One of the possible OSes.
 861 |   // swift-format-ignore: DontRepeatTypeInStaticProperties
 862 |   package struct OS: Equatable, Codable, Sendable {
     |                                 `- error: 'Codable' is unavailable: unavailable in embedded Swift
 863 |     package var name: String
 864 |
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:862:18: error: type 'AvailabilityDescription.OS' does not conform to protocol 'Encodable'
 860 |   /// One of the possible OSes.
 861 |   // swift-format-ignore: DontRepeatTypeInStaticProperties
 862 |   package struct OS: Equatable, Codable, Sendable {
     |                  `- error: type 'AvailabilityDescription.OS' does not conform to protocol 'Encodable'
 863 |     package var name: String
     |                 `- note: cannot automatically synthesize 'Encodable' because 'String' does not conform to 'Encodable'
 864 |
 865 |     package init(name: String) {
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
  |      `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:843:52: error: 'Codable' is unavailable: unavailable in embedded Swift
 841 | ///
 842 | /// For example: `@available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)`
 843 | package struct AvailabilityDescription: Equatable, Codable, Sendable {
     |                                                    `- error: 'Codable' is unavailable: unavailable in embedded Swift
 844 |   /// The array of OSes and versions which are specified in the availability guard.
 845 |   package var osVersions: [OSVersion]
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:843:16: error: type 'AvailabilityDescription' does not conform to protocol 'Encodable'
 841 | ///
 842 | /// For example: `@available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)`
 843 | package struct AvailabilityDescription: Equatable, Codable, Sendable {
     |                `- error: type 'AvailabilityDescription' does not conform to protocol 'Encodable'
 844 |   /// The array of OSes and versions which are specified in the availability guard.
 845 |   package var osVersions: [OSVersion]
     |               `- note: cannot automatically synthesize 'Encodable' because '[OSVersion]' does not conform to 'Encodable'
 846 |   package init(osVersions: [OSVersion]) {
 847 |     self.osVersions = osVersions
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
  |      `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:880:42: error: 'Codable' is unavailable: unavailable in embedded Swift
 878 | ///
 879 | /// For example: `foo = 42`.
 880 | struct AssignmentDescription: Equatable, Codable, Sendable {
     |                                          `- error: 'Codable' is unavailable: unavailable in embedded Swift
 881 |
 882 |   /// The left-hand side expression, the variable to assign to.
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:894:33: error: 'Codable' is unavailable: unavailable in embedded Swift
 892 |
 893 | /// A switch case kind, either a `case` or a `default`.
 894 | enum SwitchCaseKind: Equatable, Codable, Sendable {
     |                                 `- error: 'Codable' is unavailable: unavailable in embedded Swift
 895 |
 896 |   /// A case.
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:894:6: error: type 'SwitchCaseKind' does not conform to protocol 'Decodable'
 892 |
 893 | /// A switch case kind, either a `case` or a `default`.
 894 | enum SwitchCaseKind: Equatable, Codable, Sendable {
     |      `- error: type 'SwitchCaseKind' does not conform to protocol 'Decodable'
 895 |
 896 |   /// A case.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
GRPCCodeGen.SwitchCaseKind.case._:2:1: note: cannot automatically synthesize 'Decodable' because '[String]' does not conform to 'Decodable'
1 | enum SwitchCaseKind {
2 | _: [String]}
  | `- note: cannot automatically synthesize 'Decodable' because '[String]' does not conform to 'Decodable'
3 |
GRPCCodeGen.SwitchCaseKind.multiCase._:2:1: note: cannot automatically synthesize 'Decodable' because '[Expression]' does not conform to 'Decodable'
1 | enum SwitchCaseKind {
2 | _: [Expression]}
  | `- note: cannot automatically synthesize 'Decodable' because '[Expression]' does not conform to 'Decodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:894:6: error: type 'SwitchCaseKind' does not conform to protocol 'Encodable'
 892 |
 893 | /// A switch case kind, either a `case` or a `default`.
 894 | enum SwitchCaseKind: Equatable, Codable, Sendable {
     |      `- error: type 'SwitchCaseKind' does not conform to protocol 'Encodable'
 895 |
 896 |   /// A case.
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
  |      `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
GRPCCodeGen.SwitchCaseKind.case._:2:1: note: cannot automatically synthesize 'Encodable' because '[String]' does not conform to 'Encodable'
1 | enum SwitchCaseKind {
2 | _: [String]}
  | `- note: cannot automatically synthesize 'Encodable' because '[String]' does not conform to 'Encodable'
3 |
GRPCCodeGen.SwitchCaseKind.multiCase._:2:1: note: cannot automatically synthesize 'Encodable' because '[Expression]' does not conform to 'Encodable'
1 | enum SwitchCaseKind {
2 | _: [Expression]}
  | `- note: cannot automatically synthesize 'Encodable' because '[Expression]' does not conform to 'Encodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:913:8: error: type 'SwitchCaseDescription' does not conform to protocol 'Decodable'
 911 | ///
 912 | /// For example: `case foo: print("foo")`.
 913 | struct SwitchCaseDescription: Equatable, Codable, Sendable {
     |        `- error: type 'SwitchCaseDescription' does not conform to protocol 'Decodable'
 914 |
 915 |   /// The kind of the switch case.
     :
 920 |   /// For example, in `case foo: print("foo")`, `body`
 921 |   /// represents `print("foo")`.
 922 |   var body: [CodeBlock]
     |       `- note: cannot automatically synthesize 'Decodable' because '[CodeBlock]' does not conform to 'Decodable'
 923 | }
 924 |
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:913:42: error: 'Codable' is unavailable: unavailable in embedded Swift
 911 | ///
 912 | /// For example: `case foo: print("foo")`.
 913 | struct SwitchCaseDescription: Equatable, Codable, Sendable {
     |                                          `- error: 'Codable' is unavailable: unavailable in embedded Swift
 914 |
 915 |   /// The kind of the switch case.
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:913:8: error: type 'SwitchCaseDescription' does not conform to protocol 'Encodable'
 911 | ///
 912 | /// For example: `case foo: print("foo")`.
 913 | struct SwitchCaseDescription: Equatable, Codable, Sendable {
     |        `- error: type 'SwitchCaseDescription' does not conform to protocol 'Encodable'
 914 |
 915 |   /// The kind of the switch case.
     :
 920 |   /// For example, in `case foo: print("foo")`, `body`
 921 |   /// represents `print("foo")`.
 922 |   var body: [CodeBlock]
     |       `- note: cannot automatically synthesize 'Encodable' because '[CodeBlock]' does not conform to 'Encodable'
 923 | }
 924 |
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
  |      `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:928:8: error: type 'SwitchDescription' does not conform to protocol 'Decodable'
 926 | ///
 927 | /// For example: `switch foo {`.
 928 | struct SwitchDescription: Equatable, Codable, Sendable {
     |        `- error: type 'SwitchDescription' does not conform to protocol 'Decodable'
 929 |
 930 |   /// The expression evaluated by the switch statement.
     :
 934 |
 935 |   /// The cases defined in the switch statement.
 936 |   var cases: [SwitchCaseDescription]
     |       `- note: cannot automatically synthesize 'Decodable' because '[SwitchCaseDescription]' does not conform to 'Decodable'
 937 | }
 938 |
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:928:38: error: 'Codable' is unavailable: unavailable in embedded Swift
 926 | ///
 927 | /// For example: `switch foo {`.
 928 | struct SwitchDescription: Equatable, Codable, Sendable {
     |                                      `- error: 'Codable' is unavailable: unavailable in embedded Swift
 929 |
 930 |   /// The expression evaluated by the switch statement.
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:928:8: error: type 'SwitchDescription' does not conform to protocol 'Encodable'
 926 | ///
 927 | /// For example: `switch foo {`.
 928 | struct SwitchDescription: Equatable, Codable, Sendable {
     |        `- error: type 'SwitchDescription' does not conform to protocol 'Encodable'
 929 |
 930 |   /// The expression evaluated by the switch statement.
     :
 934 |
 935 |   /// The cases defined in the switch statement.
 936 |   var cases: [SwitchCaseDescription]
     |       `- note: cannot automatically synthesize 'Encodable' because '[SwitchCaseDescription]' does not conform to 'Encodable'
 937 | }
 938 |
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
  |      `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:943:8: error: type 'IfBranch' does not conform to protocol 'Decodable'
 941 | /// For example: in `if foo { bar }`, the condition pair represents
 942 | /// `foo` + `bar`.
 943 | struct IfBranch: Equatable, Codable, Sendable {
     |        `- error: type 'IfBranch' does not conform to protocol 'Decodable'
 944 |
 945 |   /// The expressions evaluated by the if statement and their corresponding
     :
 952 |   ///
 953 |   /// For example, in `if foo { bar }`, `body` is `bar`.
 954 |   var body: [CodeBlock]
     |       `- note: cannot automatically synthesize 'Decodable' because '[CodeBlock]' does not conform to 'Decodable'
 955 | }
 956 |
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:943:29: error: 'Codable' is unavailable: unavailable in embedded Swift
 941 | /// For example: in `if foo { bar }`, the condition pair represents
 942 | /// `foo` + `bar`.
 943 | struct IfBranch: Equatable, Codable, Sendable {
     |                             `- error: 'Codable' is unavailable: unavailable in embedded Swift
 944 |
 945 |   /// The expressions evaluated by the if statement and their corresponding
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:943:8: error: type 'IfBranch' does not conform to protocol 'Encodable'
 941 | /// For example: in `if foo { bar }`, the condition pair represents
 942 | /// `foo` + `bar`.
 943 | struct IfBranch: Equatable, Codable, Sendable {
     |        `- error: type 'IfBranch' does not conform to protocol 'Encodable'
 944 |
 945 |   /// The expressions evaluated by the if statement and their corresponding
     :
 952 |   ///
 953 |   /// For example, in `if foo { bar }`, `body` is `bar`.
 954 |   var body: [CodeBlock]
     |       `- note: cannot automatically synthesize 'Encodable' because '[CodeBlock]' does not conform to 'Encodable'
 955 | }
 956 |
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
  |      `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:960:8: error: type 'IfStatementDescription' does not conform to protocol 'Decodable'
 958 | ///
 959 | /// For example: `if foo { } else if bar { } else { }`.
 960 | struct IfStatementDescription: Equatable, Codable, Sendable {
     |        `- error: type 'IfStatementDescription' does not conform to protocol 'Decodable'
 961 |
 962 |   /// The primary `if` branch.
     :
 964 |
 965 |   /// Additional `else if` branches.
 966 |   var elseIfBranches: [IfBranch]
     |       `- note: cannot automatically synthesize 'Decodable' because '[IfBranch]' does not conform to 'Decodable'
 967 |
 968 |   /// The body of an else block.
 969 |   ///
 970 |   /// No `else` statement is added when `elseBody` is nil.
 971 |   var elseBody: [CodeBlock]?
     |       `- note: cannot automatically synthesize 'Decodable' because '[CodeBlock]?' does not conform to 'Decodable'
 972 | }
 973 |
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:960:43: error: 'Codable' is unavailable: unavailable in embedded Swift
 958 | ///
 959 | /// For example: `if foo { } else if bar { } else { }`.
 960 | struct IfStatementDescription: Equatable, Codable, Sendable {
     |                                           `- error: 'Codable' is unavailable: unavailable in embedded Swift
 961 |
 962 |   /// The primary `if` branch.
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:960:8: error: type 'IfStatementDescription' does not conform to protocol 'Encodable'
 958 | ///
 959 | /// For example: `if foo { } else if bar { } else { }`.
 960 | struct IfStatementDescription: Equatable, Codable, Sendable {
     |        `- error: type 'IfStatementDescription' does not conform to protocol 'Encodable'
 961 |
 962 |   /// The primary `if` branch.
     :
 964 |
 965 |   /// Additional `else if` branches.
 966 |   var elseIfBranches: [IfBranch]
     |       `- note: cannot automatically synthesize 'Encodable' because '[IfBranch]' does not conform to 'Encodable'
 967 |
 968 |   /// The body of an else block.
 969 |   ///
 970 |   /// No `else` statement is added when `elseBody` is nil.
 971 |   var elseBody: [CodeBlock]?
     |       `- note: cannot automatically synthesize 'Encodable' because '[CodeBlock]?' does not conform to 'Encodable'
 972 | }
 973 |
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
  |      `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:977:8: error: type 'DoStatementDescription' does not conform to protocol 'Decodable'
 975 | ///
 976 | /// For example: `do { try foo() } catch { return bar }`.
 977 | struct DoStatementDescription: Equatable, Codable, Sendable {
     |        `- error: type 'DoStatementDescription' does not conform to protocol 'Decodable'
 978 |
 979 |   /// The code blocks in the `do` statement body.
     :
 981 |   /// For example, in `do { try foo() } catch { return bar }`,
 982 |   /// `doBody` is `try foo()`.
 983 |   var doStatement: [CodeBlock]
     |       `- note: cannot automatically synthesize 'Decodable' because '[CodeBlock]' does not conform to 'Decodable'
 984 |
 985 |   /// The code blocks in the `catch` statement.
     :
 989 |   /// For example, in `do { try foo() } catch { return bar }`,
 990 |   /// `catchBody` is `return bar`.
 991 |   var catchBody: [CodeBlock]?
     |       `- note: cannot automatically synthesize 'Decodable' because '[CodeBlock]?' does not conform to 'Decodable'
 992 | }
 993 |
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:977:43: error: 'Codable' is unavailable: unavailable in embedded Swift
 975 | ///
 976 | /// For example: `do { try foo() } catch { return bar }`.
 977 | struct DoStatementDescription: Equatable, Codable, Sendable {
     |                                           `- error: 'Codable' is unavailable: unavailable in embedded Swift
 978 |
 979 |   /// The code blocks in the `do` statement body.
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:977:8: error: type 'DoStatementDescription' does not conform to protocol 'Encodable'
 975 | ///
 976 | /// For example: `do { try foo() } catch { return bar }`.
 977 | struct DoStatementDescription: Equatable, Codable, Sendable {
     |        `- error: type 'DoStatementDescription' does not conform to protocol 'Encodable'
 978 |
 979 |   /// The code blocks in the `do` statement body.
     :
 981 |   /// For example, in `do { try foo() } catch { return bar }`,
 982 |   /// `doBody` is `try foo()`.
 983 |   var doStatement: [CodeBlock]
     |       `- note: cannot automatically synthesize 'Encodable' because '[CodeBlock]' does not conform to 'Encodable'
 984 |
 985 |   /// The code blocks in the `catch` statement.
     :
 989 |   /// For example, in `do { try foo() } catch { return bar }`,
 990 |   /// `catchBody` is `return bar`.
 991 |   var catchBody: [CodeBlock]?
     |       `- note: cannot automatically synthesize 'Encodable' because '[CodeBlock]?' does not conform to 'Encodable'
 992 | }
 993 |
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
  |      `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:997:44: error: 'Codable' is unavailable: unavailable in embedded Swift
 995 | ///
 996 | /// For example: `let foo(bar)`.
 997 | struct ValueBindingDescription: Equatable, Codable, Sendable {
     |                                            `- error: 'Codable' is unavailable: unavailable in embedded Swift
 998 |
 999 |   /// The binding kind: `let` or `var`.
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:1009:30: error: 'Codable' is unavailable: unavailable in embedded Swift
1007 |
1008 | /// A kind of a keyword.
1009 | enum KeywordKind: Equatable, Codable, Sendable {
     |                              `- error: 'Codable' is unavailable: unavailable in embedded Swift
1010 |
1011 |   /// The return keyword.
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:1009:6: error: type 'KeywordKind' does not conform to protocol 'Decodable'
1007 |
1008 | /// A kind of a keyword.
1009 | enum KeywordKind: Equatable, Codable, Sendable {
     |      `- error: type 'KeywordKind' does not conform to protocol 'Decodable'
1010 |
1011 |   /// The return keyword.
     :
1013 |
1014 |   /// The try keyword.
1015 |   case `try`(hasPostfixQuestionMark: Bool)
     |              `- note: cannot automatically synthesize 'Decodable' because 'Bool' does not conform to 'Decodable'
1016 |
1017 |   /// The await keyword.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:1009:6: error: type 'KeywordKind' does not conform to protocol 'Encodable'
1007 |
1008 | /// A kind of a keyword.
1009 | enum KeywordKind: Equatable, Codable, Sendable {
     |      `- error: type 'KeywordKind' does not conform to protocol 'Encodable'
1010 |
1011 |   /// The return keyword.
     :
1013 |
1014 |   /// The try keyword.
1015 |   case `try`(hasPostfixQuestionMark: Bool)
     |              `- note: cannot automatically synthesize 'Encodable' because 'Bool' does not conform to 'Encodable'
1016 |
1017 |   /// The await keyword.
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
  |      `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:1028:8: error: type 'UnaryKeywordDescription' does not conform to protocol 'Decodable'
1026 |
1027 | /// A description of an expression that places a keyword before an expression.
1028 | struct UnaryKeywordDescription: Equatable, Codable, Sendable {
     |        `- error: type 'UnaryKeywordDescription' does not conform to protocol 'Decodable'
1029 |
1030 |   /// The keyword to place before the expression.
     :
1036 |   ///
1037 |   /// For example, in `return foo`, `expression` represents `foo`.
1038 |   var expression: Expression? = nil
     |       `- note: cannot automatically synthesize 'Decodable' because 'Expression?' does not conform to 'Decodable'
1039 | }
1040 |
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:1028:44: error: 'Codable' is unavailable: unavailable in embedded Swift
1026 |
1027 | /// A description of an expression that places a keyword before an expression.
1028 | struct UnaryKeywordDescription: Equatable, Codable, Sendable {
     |                                            `- error: 'Codable' is unavailable: unavailable in embedded Swift
1029 |
1030 |   /// The keyword to place before the expression.
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:1028:8: error: type 'UnaryKeywordDescription' does not conform to protocol 'Encodable'
1026 |
1027 | /// A description of an expression that places a keyword before an expression.
1028 | struct UnaryKeywordDescription: Equatable, Codable, Sendable {
     |        `- error: type 'UnaryKeywordDescription' does not conform to protocol 'Encodable'
1029 |
1030 |   /// The keyword to place before the expression.
     :
1036 |   ///
1037 |   /// For example, in `return foo`, `expression` represents `foo`.
1038 |   var expression: Expression? = nil
     |       `- note: cannot automatically synthesize 'Encodable' because 'Expression?' does not conform to 'Encodable'
1039 | }
1040 |
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
  |      `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:1044:49: error: 'Codable' is unavailable: unavailable in embedded Swift
1042 | ///
1043 | /// For example: `{ foo in return foo + "bar" }`.
1044 | struct ClosureInvocationDescription: Equatable, Codable, Sendable {
     |                                                 `- error: 'Codable' is unavailable: unavailable in embedded Swift
1045 |
1046 |   /// The names of the arguments taken by the closure.
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:1044:8: error: type 'ClosureInvocationDescription' does not conform to protocol 'Encodable'
1042 | ///
1043 | /// For example: `{ foo in return foo + "bar" }`.
1044 | struct ClosureInvocationDescription: Equatable, Codable, Sendable {
     |        `- error: type 'ClosureInvocationDescription' does not conform to protocol 'Encodable'
1045 |
1046 |   /// The names of the arguments taken by the closure.
     :
1048 |   /// For example, in `{ foo in return foo + "bar" }`, `argumentNames`
1049 |   /// is `["foo"]`.
1050 |   var argumentNames: [String] = []
     |       `- note: cannot automatically synthesize 'Encodable' because '[String]' does not conform to 'Encodable'
1051 |
1052 |   /// The code blocks of the closure body.
     :
1054 |   /// For example, in `{ foo in return foo + "bar" }`, `body`
1055 |   /// represents `return foo + "bar"`.
1056 |   var body: [CodeBlock]? = nil
     |       `- note: cannot automatically synthesize 'Encodable' because '[CodeBlock]?' does not conform to 'Encodable'
1057 | }
1058 |
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
  |      `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:1062:41: error: 'Codable' is unavailable: unavailable in embedded Swift
1060 | ///
1061 | /// For example: `+=` in `a += b`.
1062 | enum BinaryOperator: String, Equatable, Codable, Sendable {
     |                                         `- error: 'Codable' is unavailable: unavailable in embedded Swift
1063 |
1064 |   /// The += operator, adds and then assigns another value.
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:1080:47: error: 'Codable' is unavailable: unavailable in embedded Swift
1078 | ///
1079 | /// For example: `foo += 1`.
1080 | struct BinaryOperationDescription: Equatable, Codable, Sendable {
     |                                               `- error: 'Codable' is unavailable: unavailable in embedded Swift
1081 |
1082 |   /// The left-hand side expression of the operation.
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:1102:37: error: 'Codable' is unavailable: unavailable in embedded Swift
1100 | ///
1101 | /// For example, `&foo` passes a reference to the `foo` variable.
1102 | struct InOutDescription: Equatable, Codable, Sendable {
     |                                     `- error: 'Codable' is unavailable: unavailable in embedded Swift
1103 |
1104 |   /// The referenced expression.
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:1113:48: error: 'Codable' is unavailable: unavailable in embedded Swift
1111 | ///
1112 | /// For example, in `foo?`, `referencedExpr` is `foo`.
1113 | struct OptionalChainingDescription: Equatable, Codable, Sendable {
     |                                                `- error: 'Codable' is unavailable: unavailable in embedded Swift
1114 |
1115 |   /// The referenced expression.
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:1124:8: error: type 'TupleDescription' does not conform to protocol 'Decodable'
1122 | ///
1123 | /// For example: `(foo, bar)`.
1124 | struct TupleDescription: Equatable, Codable, Sendable {
     |        `- error: type 'TupleDescription' does not conform to protocol 'Decodable'
1125 |
1126 |   /// The member expressions.
1127 |   ///
1128 |   /// For example, in `(foo, bar)`, `members` is `[foo, bar]`.
1129 |   var members: [Expression]
     |       `- note: cannot automatically synthesize 'Decodable' because '[Expression]' does not conform to 'Decodable'
1130 | }
1131 |
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:1124:37: error: 'Codable' is unavailable: unavailable in embedded Swift
1122 | ///
1123 | /// For example: `(foo, bar)`.
1124 | struct TupleDescription: Equatable, Codable, Sendable {
     |                                     `- error: 'Codable' is unavailable: unavailable in embedded Swift
1125 |
1126 |   /// The member expressions.
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:1124:8: error: type 'TupleDescription' does not conform to protocol 'Encodable'
1122 | ///
1123 | /// For example: `(foo, bar)`.
1124 | struct TupleDescription: Equatable, Codable, Sendable {
     |        `- error: type 'TupleDescription' does not conform to protocol 'Encodable'
1125 |
1126 |   /// The member expressions.
1127 |   ///
1128 |   /// For example, in `(foo, bar)`, `members` is `[foo, bar]`.
1129 |   var members: [Expression]
     |       `- note: cannot automatically synthesize 'Encodable' because '[Expression]' does not conform to 'Encodable'
1130 | }
1131 |
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
  |      `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:1133:38: error: 'Codable' is unavailable: unavailable in embedded Swift
1131 |
1132 | /// A Swift expression.
1133 | indirect enum Expression: Equatable, Codable, Sendable {
     |                                      `- error: 'Codable' is unavailable: unavailable in embedded Swift
1134 |
1135 |   /// A literal.
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:1210:32: error: 'Codable' is unavailable: unavailable in embedded Swift
1208 |
1209 | /// A code block item, either a declaration or an expression.
1210 | enum CodeBlockItem: Equatable, Codable, Sendable {
     |                                `- error: 'Codable' is unavailable: unavailable in embedded Swift
1211 |
1212 |   /// A declaration, such as of a new type or function.
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:1220:30: error: 'Codable' is unavailable: unavailable in embedded Swift
1218 |
1219 | /// A code block, with an optional comment.
1220 | struct CodeBlock: Equatable, Codable, Sendable {
     |                              `- error: 'Codable' is unavailable: unavailable in embedded Swift
1221 |
1222 |   /// The comment to prepend to the code block item.
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:1220:8: error: type 'CodeBlock' does not conform to protocol 'Encodable'
1218 |
1219 | /// A code block, with an optional comment.
1220 | struct CodeBlock: Equatable, Codable, Sendable {
     |        `- error: type 'CodeBlock' does not conform to protocol 'Encodable'
1221 |
1222 |   /// The comment to prepend to the code block item.
1223 |   var comment: Comment?
     |       `- note: cannot automatically synthesize 'Encodable' because 'Comment?' does not conform to 'Encodable'
1224 |
1225 |   /// The code block item that appears below the comment.
1226 |   var item: CodeBlockItem?
     |       `- note: cannot automatically synthesize 'Encodable' because 'CodeBlockItem?' does not conform to 'Encodable'
1227 | }
1228 |
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
  |      `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:1230:8: error: type 'FileDescription' does not conform to protocol 'Decodable'
1228 |
1229 | /// A description of a Swift file.
1230 | struct FileDescription: Equatable, Codable, Sendable {
     |        `- error: type 'FileDescription' does not conform to protocol 'Decodable'
1231 |
1232 |   /// A comment placed at the top of the file.
1233 |   var topComment: Comment?
     |       `- note: cannot automatically synthesize 'Decodable' because 'Comment?' does not conform to 'Decodable'
1234 |
1235 |   /// Import statements placed below the top comment, but before the code
1236 |   /// blocks.
1237 |   var imports: [ImportDescription]?
     |       `- note: cannot automatically synthesize 'Decodable' because '[ImportDescription]?' does not conform to 'Decodable'
1238 |
1239 |   /// The code blocks that represent the main contents of the file.
1240 |   var codeBlocks: [CodeBlock]
     |       `- note: cannot automatically synthesize 'Decodable' because '[CodeBlock]' does not conform to 'Decodable'
1241 | }
1242 |
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:1230:36: error: 'Codable' is unavailable: unavailable in embedded Swift
1228 |
1229 | /// A description of a Swift file.
1230 | struct FileDescription: Equatable, Codable, Sendable {
     |                                    `- error: 'Codable' is unavailable: unavailable in embedded Swift
1231 |
1232 |   /// A comment placed at the top of the file.
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:1230:8: error: type 'FileDescription' does not conform to protocol 'Encodable'
1228 |
1229 | /// A description of a Swift file.
1230 | struct FileDescription: Equatable, Codable, Sendable {
     |        `- error: type 'FileDescription' does not conform to protocol 'Encodable'
1231 |
1232 |   /// A comment placed at the top of the file.
1233 |   var topComment: Comment?
     |       `- note: cannot automatically synthesize 'Encodable' because 'Comment?' does not conform to 'Encodable'
1234 |
1235 |   /// Import statements placed below the top comment, but before the code
1236 |   /// blocks.
1237 |   var imports: [ImportDescription]?
     |       `- note: cannot automatically synthesize 'Encodable' because '[ImportDescription]?' does not conform to 'Encodable'
1238 |
1239 |   /// The code blocks that represent the main contents of the file.
1240 |   var codeBlocks: [CodeBlock]
     |       `- note: cannot automatically synthesize 'Encodable' because '[CodeBlock]' does not conform to 'Encodable'
1241 | }
1242 |
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
  |      `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:1244:8: error: type 'NamedFileDescription' does not conform to protocol 'Decodable'
1242 |
1243 | /// A description of a named Swift file.
1244 | struct NamedFileDescription: Equatable, Codable, Sendable {
     |        `- error: type 'NamedFileDescription' does not conform to protocol 'Decodable'
1245 |
1246 |   /// A file name, including the file extension.
1247 |   ///
1248 |   /// For example: `Foo.swift`.
1249 |   var name: String
     |       `- note: cannot automatically synthesize 'Decodable' because 'String' does not conform to 'Decodable'
1250 |
1251 |   /// The contents of the file.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:1244:41: error: 'Codable' is unavailable: unavailable in embedded Swift
1242 |
1243 | /// A description of a named Swift file.
1244 | struct NamedFileDescription: Equatable, Codable, Sendable {
     |                                         `- error: 'Codable' is unavailable: unavailable in embedded Swift
1245 |
1246 |   /// A file name, including the file extension.
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:1244:8: error: type 'NamedFileDescription' does not conform to protocol 'Encodable'
1242 |
1243 | /// A description of a named Swift file.
1244 | struct NamedFileDescription: Equatable, Codable, Sendable {
     |        `- error: type 'NamedFileDescription' does not conform to protocol 'Encodable'
1245 |
1246 |   /// A file name, including the file extension.
1247 |   ///
1248 |   /// For example: `Foo.swift`.
1249 |   var name: String
     |       `- note: cannot automatically synthesize 'Encodable' because 'String' does not conform to 'Encodable'
1250 |
1251 |   /// The contents of the file.
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
  |      `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:1256:50: error: 'Codable' is unavailable: unavailable in embedded Swift
1254 |
1255 | /// A file with contents made up of structured Swift code.
1256 | struct StructuredSwiftRepresentation: Equatable, Codable, Sendable {
     |                                                  `- error: 'Codable' is unavailable: unavailable in embedded Swift
1257 |
1258 |   /// The contents of the file.
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
<unknown>:0: error: value of type 'KeyedDecodingContainer<LiteralDescription.KeyValue.CodingKeys>' has no member 'decode(_:forKey:)'
<unknown>:0: error: value of type 'KeyedDecodingContainer<LiteralDescription.KeyValue.CodingKeys>' has no member 'decode(_:forKey:)'
<unknown>:0: error: value of type 'KeyedDecodingContainer<AssignmentDescription.CodingKeys>' has no member 'decode(_:forKey:)'
<unknown>:0: error: value of type 'KeyedDecodingContainer<AssignmentDescription.CodingKeys>' has no member 'decode(_:forKey:)'
<unknown>:0: error: value of type 'KeyedDecodingContainer<ValueBindingDescription.CodingKeys>' has no member 'decode(_:forKey:)'
<unknown>:0: error: value of type 'KeyedDecodingContainer<ValueBindingDescription.CodingKeys>' has no member 'decode(_:forKey:)'
<unknown>:0: error: value of type 'KeyedDecodingContainer<BinaryOperationDescription.CodingKeys>' has no member 'decode(_:forKey:)'
<unknown>:0: error: value of type 'KeyedDecodingContainer<BinaryOperationDescription.CodingKeys>' has no member 'decode(_:forKey:)'
<unknown>:0: error: value of type 'KeyedDecodingContainer<BinaryOperationDescription.CodingKeys>' has no member 'decode(_:forKey:)'
<unknown>:0: error: value of type 'KeyedDecodingContainer<InOutDescription.CodingKeys>' has no member 'decode(_:forKey:)'
<unknown>:0: error: value of type 'KeyedDecodingContainer<OptionalChainingDescription.CodingKeys>' has no member 'decode(_:forKey:)'
<unknown>:0: error: value of type 'KeyedDecodingContainer<StructuredSwiftRepresentation.CodingKeys>' has no member 'decode(_:forKey:)'
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:780:8: error: type 'EnumCaseDescription' does not conform to protocol 'Decodable'
 778 | ///
 779 | /// For example: `case foo(String)`.
 780 | struct EnumCaseDescription: Equatable, Codable, Sendable {
     |        `- error: type 'EnumCaseDescription' does not conform to protocol 'Decodable'
 781 |
 782 |   /// The name of the enum case.
 783 |   ///
 784 |   /// For example, in `case foo`, `name` is `foo`.
 785 |   var name: String
     |       `- note: cannot automatically synthesize 'Decodable' because 'String' does not conform to 'Decodable'
 786 |
 787 |   /// The kind of the enum case.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:450:15: error: type 'ExistingTypeDescription' does not conform to protocol 'Decodable'
 448 |
 449 | /// A description of a type reference.
 450 | indirect enum ExistingTypeDescription: Equatable, Codable, Sendable {
     |               `- error: type 'ExistingTypeDescription' does not conform to protocol 'Decodable'
 451 |
 452 |   /// A type with the `any` keyword in front of it.
     :
 463 |   ///
 464 |   /// For example, `Wrapper<Wrapped>`.
 465 |   case generic(wrapper: ExistingTypeDescription, wrapped: [ExistingTypeDescription])
     |                                                  `- note: cannot automatically synthesize 'Decodable' because '[ExistingTypeDescription]' does not conform to 'Decodable'
 466 |
 467 |   /// A type reference represented by the components.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
GRPCCodeGen.ExistingTypeDescription.member._:2:1: note: cannot automatically synthesize 'Decodable' because '[String]' does not conform to 'Decodable'
1 | enum ExistingTypeDescription {
2 | _: [String]}
  | `- note: cannot automatically synthesize 'Decodable' because '[String]' does not conform to 'Decodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:928:8: error: type 'SwitchDescription' does not conform to protocol 'Decodable'
 926 | ///
 927 | /// For example: `switch foo {`.
 928 | struct SwitchDescription: Equatable, Codable, Sendable {
     |        `- error: type 'SwitchDescription' does not conform to protocol 'Decodable'
 929 |
 930 |   /// The expression evaluated by the switch statement.
     :
 934 |
 935 |   /// The cases defined in the switch statement.
 936 |   var cases: [SwitchCaseDescription]
     |       `- note: cannot automatically synthesize 'Decodable' because '[SwitchCaseDescription]' does not conform to 'Decodable'
 937 | }
 938 |
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:960:8: error: type 'IfStatementDescription' does not conform to protocol 'Decodable'
 958 | ///
 959 | /// For example: `if foo { } else if bar { } else { }`.
 960 | struct IfStatementDescription: Equatable, Codable, Sendable {
     |        `- error: type 'IfStatementDescription' does not conform to protocol 'Decodable'
 961 |
 962 |   /// The primary `if` branch.
     :
 964 |
 965 |   /// Additional `else if` branches.
 966 |   var elseIfBranches: [IfBranch]
     |       `- note: cannot automatically synthesize 'Decodable' because '[IfBranch]' does not conform to 'Decodable'
 967 |
 968 |   /// The body of an else block.
 969 |   ///
 970 |   /// No `else` statement is added when `elseBody` is nil.
 971 |   var elseBody: [CodeBlock]?
     |       `- note: cannot automatically synthesize 'Decodable' because '[CodeBlock]?' does not conform to 'Decodable'
 972 | }
 973 |
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:1028:8: error: type 'UnaryKeywordDescription' does not conform to protocol 'Decodable'
1026 |
1027 | /// A description of an expression that places a keyword before an expression.
1028 | struct UnaryKeywordDescription: Equatable, Codable, Sendable {
     |        `- error: type 'UnaryKeywordDescription' does not conform to protocol 'Decodable'
1029 |
1030 |   /// The keyword to place before the expression.
     :
1036 |   ///
1037 |   /// For example, in `return foo`, `expression` represents `foo`.
1038 |   var expression: Expression? = nil
     |       `- note: cannot automatically synthesize 'Decodable' because 'Expression?' does not conform to 'Decodable'
1039 | }
1040 |
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:977:8: error: type 'DoStatementDescription' does not conform to protocol 'Decodable'
 975 | ///
 976 | /// For example: `do { try foo() } catch { return bar }`.
 977 | struct DoStatementDescription: Equatable, Codable, Sendable {
     |        `- error: type 'DoStatementDescription' does not conform to protocol 'Decodable'
 978 |
 979 |   /// The code blocks in the `do` statement body.
     :
 981 |   /// For example, in `do { try foo() } catch { return bar }`,
 982 |   /// `doBody` is `try foo()`.
 983 |   var doStatement: [CodeBlock]
     |       `- note: cannot automatically synthesize 'Decodable' because '[CodeBlock]' does not conform to 'Decodable'
 984 |
 985 |   /// The code blocks in the `catch` statement.
     :
 989 |   /// For example, in `do { try foo() } catch { return bar }`,
 990 |   /// `catchBody` is `return bar`.
 991 |   var catchBody: [CodeBlock]?
     |       `- note: cannot automatically synthesize 'Decodable' because '[CodeBlock]?' does not conform to 'Decodable'
 992 | }
 993 |
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:1124:8: error: type 'TupleDescription' does not conform to protocol 'Decodable'
1122 | ///
1123 | /// For example: `(foo, bar)`.
1124 | struct TupleDescription: Equatable, Codable, Sendable {
     |        `- error: type 'TupleDescription' does not conform to protocol 'Decodable'
1125 |
1126 |   /// The member expressions.
1127 |   ///
1128 |   /// For example, in `(foo, bar)`, `members` is `[foo, bar]`.
1129 |   var members: [Expression]
     |       `- note: cannot automatically synthesize 'Decodable' because '[Expression]' does not conform to 'Decodable'
1130 | }
1131 |
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:831:8: error: type 'DeprecationDescription' does not conform to protocol 'Decodable'
 829 | ///
 830 | /// For example: `@available(*, deprecated, message: "This is going away", renamed: "other(param:)")`
 831 | struct DeprecationDescription: Equatable, Codable, Sendable {
     |        `- error: type 'DeprecationDescription' does not conform to protocol 'Decodable'
 832 |
 833 |   /// A message used by the deprecation attribute.
 834 |   var message: String?
     |       `- note: cannot automatically synthesize 'Decodable' because 'String?' does not conform to 'Decodable'
 835 |
 836 |   /// A new name of the symbol, allowing the user to get a fix-it.
 837 |   var renamed: String?
     |       `- note: cannot automatically synthesize 'Decodable' because 'String?' does not conform to 'Decodable'
 838 | }
 839 |
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/Translator/Docs.swift:61:12: error: value of type 'String' has no member 'trimPrefix'
59 |     let body = docs.split(separator: "\n").map { line in
60 |       var line = "/// > " + line.dropFirst(4)
61 |       line.trimPrefix(while: { $0.isWhitespace })
   |            `- error: value of type 'String' has no member 'trimPrefix'
62 |       return String(line.drop(while: { $0.isWhitespace }))
63 |     }.joined(separator: "\n")
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:1230:8: error: type 'FileDescription' does not conform to protocol 'Decodable'
1228 |
1229 | /// A description of a Swift file.
1230 | struct FileDescription: Equatable, Codable, Sendable {
     |        `- error: type 'FileDescription' does not conform to protocol 'Decodable'
1231 |
1232 |   /// A comment placed at the top of the file.
1233 |   var topComment: Comment?
     |       `- note: cannot automatically synthesize 'Decodable' because 'Comment?' does not conform to 'Decodable'
1234 |
1235 |   /// Import statements placed below the top comment, but before the code
1236 |   /// blocks.
1237 |   var imports: [ImportDescription]?
     |       `- note: cannot automatically synthesize 'Decodable' because '[ImportDescription]?' does not conform to 'Decodable'
1238 |
1239 |   /// The code blocks that represent the main contents of the file.
1240 |   var codeBlocks: [CodeBlock]
     |       `- note: cannot automatically synthesize 'Decodable' because '[CodeBlock]' does not conform to 'Decodable'
1241 | }
1242 |
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:1244:8: error: type 'NamedFileDescription' does not conform to protocol 'Decodable'
1242 |
1243 | /// A description of a named Swift file.
1244 | struct NamedFileDescription: Equatable, Codable, Sendable {
     |        `- error: type 'NamedFileDescription' does not conform to protocol 'Decodable'
1245 |
1246 |   /// A file name, including the file extension.
1247 |   ///
1248 |   /// For example: `Foo.swift`.
1249 |   var name: String
     |       `- note: cannot automatically synthesize 'Decodable' because 'String' does not conform to 'Decodable'
1250 |
1251 |   /// The contents of the file.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:33:16: error: type 'ImportDescription' does not conform to protocol 'Decodable'
  31 | ///
  32 | /// For example: `import Foo`.
  33 | package struct ImportDescription: Equatable, Codable, Sendable {
     |                `- error: type 'ImportDescription' does not conform to protocol 'Decodable'
  34 |   /// The access level of the imported module.
  35 |   ///
     :
  37 |   ///
  38 |   /// - Note: This is optional, as explicit access-level modifiers are not required on `import` statements.
  39 |   var accessLevel: AccessModifier? = nil
     |       `- note: cannot automatically synthesize 'Decodable' because 'AccessModifier?' does not conform to 'Decodable'
  40 |
  41 |   /// The name of the imported module.
  42 |   ///
  43 |   /// For example, the `Foo` in `import Foo`.
  44 |   var moduleName: String
     |       `- note: cannot automatically synthesize 'Decodable' because 'String' does not conform to 'Decodable'
  45 |
  46 |   /// An array of module types imported from the module, if applicable.
  47 |   ///
  48 |   /// For example, if there are type imports like `import Foo.Bar`, they would be listed here.
  49 |   var moduleTypes: [String]?
     |       `- note: cannot automatically synthesize 'Decodable' because '[String]?' does not conform to 'Decodable'
  50 |
  51 |   /// The name of the private interface for an `@_spi` import.
     :
  53 |   /// For example, if `spi` was "Secret" and the module name was "Foo" then the import
  54 |   /// would be `@_spi(Secret) import Foo`.
  55 |   var spi: String? = nil
     |       `- note: cannot automatically synthesize 'Decodable' because 'String?' does not conform to 'Decodable'
  56 |
  57 |   /// Requirements for the `@preconcurrency` attribute.
     :
  60 |   /// If the dependency is an item, the property's value is the item representation.
  61 |   /// If the dependency is a module, this property is nil.
  62 |   var item: Item? = nil
     |       `- note: cannot automatically synthesize 'Decodable' because 'Item?' does not conform to 'Decodable'
  63 |
  64 |   /// Describes any requirement for the `@preconcurrency` attribute.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/Sources/GRPCCodeGen/Internal/StructuredSwiftRepresentation.swift:75:10: error: type 'ImportDescription.Item' does not conform to protocol 'Decodable'
  73 |
  74 |   /// Represents an item imported from a module.
  75 |   struct Item: Equatable, Codable, Sendable {
     |          `- error: type 'ImportDescription.Item' does not conform to protocol 'Decodable'
  76 |     /// The keyword that specifies the item's kind (e.g. `func`, `struct`).
  77 |     var kind: Kind
  78 |
  79 |     /// The name of the imported item.
  80 |     var name: String
     |         `- note: cannot automatically synthesize 'Decodable' because 'String' does not conform to 'Decodable'
  81 |
  82 |     init(kind: Kind, name: String) {
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
[10/11] Emitting module InternalCollectionsUtilities
BUILD FAILURE 6.2 wasm