The Swift Package Index logo.Swift Package Index

Build Information

Successful build of swift-typescript-bridge, reference 0.5.0 (251508), with Swift 6.4 for macOS (SPM) on 25 Sep 2026 10:31:43 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sunghyun-k/swift-typescript-bridge.git
Reference: 0.5.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/sunghyun-k/swift-typescript-bridge
 * tag               0.5.0      -> FETCH_HEAD
HEAD is now at 2515087 Update .gitignore
Cloned https://github.com/sunghyun-k/swift-typescript-bridge.git
Revision (git rev-parse @):
25150875fd3b045ffb797acb48a64ee1017a547c
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/sunghyun-k/swift-typescript-bridge.git at 0.5.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/sunghyun-k/swift-typescript-bridge.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Pre-planning 1 / 124]
[Planning deferred tasks]
[31 / 52]
[32 / 53] TypeScriptBridgeMacros
[41 / 87]
[45 / 87]
[49 / 87]
[50 / 87]
[53 / 87]
[55 / 87]
[57 / 87]
[66 / 87] TypeScriptBridgeMacros
[67 / 87] TypeScriptBridgeMacros
[69 / 87] TypeScriptBridgeMacros
[72 / 88] TypeScriptBridge
[77 / 101]
[80 / 101]
[82 / 101]
[83 / 101]
[85 / 101] TypeScriptBridge
[94 / 102] Examples-product
[100 / 108] Examples-product
[101 / 108] Examples-product
[106 / 108] Examples-product
Build complete! (8.98 sec)
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/pointfreeco/swift-macro-testing.git
[1/1002] Fetching swift-macro-testing
[1003/81070] Fetching swift-macro-testing, swift-syntax
Fetched https://github.com/pointfreeco/swift-macro-testing.git (5.88s)
Fetched https://github.com/swiftlang/swift-syntax.git (5.88s)
Computing version for https://github.com/pointfreeco/swift-macro-testing.git
Computed https://github.com/pointfreeco/swift-macro-testing.git at 0.7.0 (6.48s)
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/16479] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing (5.15s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 604.0.0 (8.04s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.19.6 (0.55s)
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/5666] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump (1.25s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.7.3 (1.85s)
Fetching https://github.com/pointfreeco/swift-issue-reporting
[1/6161] Fetching swift-issue-reporting
Fetched https://github.com/pointfreeco/swift-issue-reporting (1.71s)
Computing version for https://github.com/pointfreeco/swift-issue-reporting
Computed https://github.com/pointfreeco/swift-issue-reporting at 2.1.1 (3.97s)
Creating working copy for https://github.com/pointfreeco/swift-issue-reporting
Working copy of https://github.com/pointfreeco/swift-issue-reporting resolved at 2.1.1
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 604.0.0
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.7.3
Creating working copy for https://github.com/pointfreeco/swift-macro-testing.git
Working copy of https://github.com/pointfreeco/swift-macro-testing.git resolved at 0.7.0
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.19.6
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/604.0.0/swiftlang-6.4.0.34.1-macosx27.0-MacroSupport.zip
Downloaded https://download.swift.org/prebuilts/swift-syntax/604.0.0/swiftlang-6.4.0.34.1-macosx27.0-MacroSupport.zip (1.29s)
/Users/admin/builder/spi-builder-workspace/Sources/TypeScriptBridgeMacros/ExtendsMacro.swift:7:15: warning: deprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
  5 |
  6 | /// Implementation of the `@Extends(ParentType.self, ...)` attached macro.
  7 | public struct ExtendsMacro: MemberMacro, ExtensionMacro {
    |               `- warning: deprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
  8 |     public static func expansion(
  9 |         of node: AttributeSyntax,
SwiftSyntaxMacros.MemberMacro.expansion:3:22: note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
1 | protocol MemberMacro {
2 | @available(*, deprecated, message: "`MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter")
3 |   public static func expansion(of node: SwiftSyntax.AttributeSyntax, providingMembersOf declaration: some SwiftSyntax.DeclGroupSyntax, conformingTo protocols: [SwiftSyntax.TypeSyntax], in context: some SwiftSyntaxMacros.MacroExpansionContext) throws -> [SwiftSyntax.DeclSyntax]}
  |                      `- note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
4 |
SwiftSyntaxMacros.MemberMacro.expansion:2:13: note: requirement 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
1 | protocol MemberMacro {
2 | static func expansion(of node: SwiftSyntax.AttributeSyntax, providingMembersOf declaration: some SwiftSyntax.DeclGroupSyntax, conformingTo protocols: [SwiftSyntax.TypeSyntax], in context: some SwiftSyntaxMacros.MacroExpansionContext) throws -> [SwiftSyntax.DeclSyntax]}
  |             `- note: requirement 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/TypeScriptBridgeMacros/LiteralUnionMacro.swift:14:15: warning: deprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 12 | /// - Support for a `nil` literal — adds a `null` case that round-trips as JSON `null`
 13 | /// - Access modifier support based on the enum's access level
 14 | public struct LiteralUnionMacro: MemberMacro, ExtensionMacro {
    |               `- warning: deprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 15 |     public static func expansion(
 16 |         of node: AttributeSyntax,
SwiftSyntaxMacros.MemberMacro.expansion:3:22: note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
1 | protocol MemberMacro {
2 | @available(*, deprecated, message: "`MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter")
3 |   public static func expansion(of node: SwiftSyntax.AttributeSyntax, providingMembersOf declaration: some SwiftSyntax.DeclGroupSyntax, conformingTo protocols: [SwiftSyntax.TypeSyntax], in context: some SwiftSyntaxMacros.MacroExpansionContext) throws -> [SwiftSyntax.DeclSyntax]}
  |                      `- note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
4 |
SwiftSyntaxMacros.MemberMacro.expansion:2:13: note: requirement 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
1 | protocol MemberMacro {
2 | static func expansion(of node: SwiftSyntax.AttributeSyntax, providingMembersOf declaration: some SwiftSyntax.DeclGroupSyntax, conformingTo protocols: [SwiftSyntax.TypeSyntax], in context: some SwiftSyntaxMacros.MacroExpansionContext) throws -> [SwiftSyntax.DeclSyntax]}
  |             `- note: requirement 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/TypeScriptBridgeMacros/TypeUnionMacro.swift:12:15: warning: deprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 10 | /// - Codable conformance that attempts to decode each type in order
 11 | /// - Access modifier support based on the enum's access level
 12 | public struct TypeUnionMacro: MemberMacro, ExtensionMacro {
    |               `- warning: deprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 13 |     public static func expansion(
 14 |         of node: AttributeSyntax,
SwiftSyntaxMacros.MemberMacro.expansion:3:22: note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
1 | protocol MemberMacro {
2 | @available(*, deprecated, message: "`MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter")
3 |   public static func expansion(of node: SwiftSyntax.AttributeSyntax, providingMembersOf declaration: some SwiftSyntax.DeclGroupSyntax, conformingTo protocols: [SwiftSyntax.TypeSyntax], in context: some SwiftSyntaxMacros.MacroExpansionContext) throws -> [SwiftSyntax.DeclSyntax]}
  |                      `- note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
4 |
SwiftSyntaxMacros.MemberMacro.expansion:2:13: note: requirement 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
1 | protocol MemberMacro {
2 | static func expansion(of node: SwiftSyntax.AttributeSyntax, providingMembersOf declaration: some SwiftSyntax.DeclGroupSyntax, conformingTo protocols: [SwiftSyntax.TypeSyntax], in context: some SwiftSyntaxMacros.MacroExpansionContext) throws -> [SwiftSyntax.DeclSyntax]}
  |             `- note: requirement 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
3 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/Sources/TypeScriptBridgeMacros/TypeUnionMacro.swift:12:15: warning: deprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 10 | /// - Codable conformance that attempts to decode each type in order
 11 | /// - Access modifier support based on the enum's access level
 12 | public struct TypeUnionMacro: MemberMacro, ExtensionMacro {
    |               `- warning: deprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 13 |     public static func expansion(
 14 |         of node: AttributeSyntax,
SwiftSyntaxMacros.MemberMacro.expansion:3:22: note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
1 | protocol MemberMacro {
2 | @available(*, deprecated, message: "`MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter")
3 |   public static func expansion(of node: SwiftSyntax.AttributeSyntax, providingMembersOf declaration: some SwiftSyntax.DeclGroupSyntax, conformingTo protocols: [SwiftSyntax.TypeSyntax], in context: some SwiftSyntaxMacros.MacroExpansionContext) throws -> [SwiftSyntax.DeclSyntax]}
  |                      `- note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
4 |
SwiftSyntaxMacros.MemberMacro.expansion:2:13: note: requirement 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
1 | protocol MemberMacro {
2 | static func expansion(of node: SwiftSyntax.AttributeSyntax, providingMembersOf declaration: some SwiftSyntax.DeclGroupSyntax, conformingTo protocols: [SwiftSyntax.TypeSyntax], in context: some SwiftSyntaxMacros.MacroExpansionContext) throws -> [SwiftSyntax.DeclSyntax]}
  |             `- note: requirement 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
3 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/Sources/TypeScriptBridgeMacros/LiteralUnionMacro.swift:14:15: warning: deprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 12 | /// - Support for a `nil` literal — adds a `null` case that round-trips as JSON `null`
 13 | /// - Access modifier support based on the enum's access level
 14 | public struct LiteralUnionMacro: MemberMacro, ExtensionMacro {
    |               `- warning: deprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 15 |     public static func expansion(
 16 |         of node: AttributeSyntax,
SwiftSyntaxMacros.MemberMacro.expansion:3:22: note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
1 | protocol MemberMacro {
2 | @available(*, deprecated, message: "`MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter")
3 |   public static func expansion(of node: SwiftSyntax.AttributeSyntax, providingMembersOf declaration: some SwiftSyntax.DeclGroupSyntax, conformingTo protocols: [SwiftSyntax.TypeSyntax], in context: some SwiftSyntaxMacros.MacroExpansionContext) throws -> [SwiftSyntax.DeclSyntax]}
  |                      `- note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
4 |
SwiftSyntaxMacros.MemberMacro.expansion:2:13: note: requirement 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
1 | protocol MemberMacro {
2 | static func expansion(of node: SwiftSyntax.AttributeSyntax, providingMembersOf declaration: some SwiftSyntax.DeclGroupSyntax, conformingTo protocols: [SwiftSyntax.TypeSyntax], in context: some SwiftSyntaxMacros.MacroExpansionContext) throws -> [SwiftSyntax.DeclSyntax]}
  |             `- note: requirement 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
3 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/Sources/TypeScriptBridgeMacros/ExtendsMacro.swift:7:15: warning: deprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
  5 |
  6 | /// Implementation of the `@Extends(ParentType.self, ...)` attached macro.
  7 | public struct ExtendsMacro: MemberMacro, ExtensionMacro {
    |               `- warning: deprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
  8 |     public static func expansion(
  9 |         of node: AttributeSyntax,
SwiftSyntaxMacros.MemberMacro.expansion:3:22: note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
1 | protocol MemberMacro {
2 | @available(*, deprecated, message: "`MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter")
3 |   public static func expansion(of node: SwiftSyntax.AttributeSyntax, providingMembersOf declaration: some SwiftSyntax.DeclGroupSyntax, conformingTo protocols: [SwiftSyntax.TypeSyntax], in context: some SwiftSyntaxMacros.MacroExpansionContext) throws -> [SwiftSyntax.DeclSyntax]}
  |                      `- note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
4 |
SwiftSyntaxMacros.MemberMacro.expansion:2:13: note: requirement 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
1 | protocol MemberMacro {
2 | static func expansion(of node: SwiftSyntax.AttributeSyntax, providingMembersOf declaration: some SwiftSyntax.DeclGroupSyntax, conformingTo protocols: [SwiftSyntax.TypeSyntax], in context: some SwiftSyntaxMacros.MacroExpansionContext) throws -> [SwiftSyntax.DeclSyntax]}
  |             `- note: requirement 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
3 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
macro expansion @Union:20:23: warning: 'is' test is always true
`- /Users/admin/builder/spi-builder-workspace/Examples/AnalyticsEvents.swift:47:26: note: expanded code originates here
44 | }
45 |
46 | @Union(AnalyticsPageView.self, AnalyticsClick.self, AnalyticsErrorOccurred.self)
   | `- note: in expansion of macro 'Union' on enum 'AnalyticsAnyEvent' here
47 | enum AnalyticsAnyEvent {}
   +--- macro expansion @Union -----------------------------------------
   |18 |         typealias Type1 = AnalyticsClick
   |19 |         typealias Type2 = AnalyticsErrorOccurred
   |20 |         if Type0.self is any TypeDiscriminated.Type {
   |   |                       `- warning: 'is' test is always true
   |21 |             if let decoded = try? Type0(from: decoder) {
   |22 |                 self = .analyticsPageView(decoded)
   +--------------------------------------------------------------------
48 |
49 | enum AnalyticsExample {
macro expansion @Union:26:23: warning: 'is' test is always true
`- /Users/admin/builder/spi-builder-workspace/Examples/AnalyticsEvents.swift:47:26: note: expanded code originates here
44 | }
45 |
46 | @Union(AnalyticsPageView.self, AnalyticsClick.self, AnalyticsErrorOccurred.self)
   | `- note: in expansion of macro 'Union' on enum 'AnalyticsAnyEvent' here
47 | enum AnalyticsAnyEvent {}
   +--- macro expansion @Union -----------------------------------------
   |24 |     }
   |25 | }
   |26 |         if Type1.self is any TypeDiscriminated.Type {
   |   |                       `- warning: 'is' test is always true
   |27 |             if let decoded = try? Type1(from: decoder) {
   |28 |                 self = .analyticsClick(decoded)
   +--------------------------------------------------------------------
48 |
49 | enum AnalyticsExample {
macro expansion @Union:32:23: warning: 'is' test is always true
`- /Users/admin/builder/spi-builder-workspace/Examples/AnalyticsEvents.swift:47:26: note: expanded code originates here
44 | }
45 |
46 | @Union(AnalyticsPageView.self, AnalyticsClick.self, AnalyticsErrorOccurred.self)
   | `- note: in expansion of macro 'Union' on enum 'AnalyticsAnyEvent' here
47 | enum AnalyticsAnyEvent {}
   +--- macro expansion @Union -----------------------------------------
   |30 |     }
   |31 | }
   |32 |         if Type2.self is any TypeDiscriminated.Type {
   |   |                       `- warning: 'is' test is always true
   |33 |             if let decoded = try? Type2(from: decoder) {
   |34 |                 self = .analyticsErrorOccurred(decoded)
   +--------------------------------------------------------------------
48 |
49 | enum AnalyticsExample {
macro expansion @Union:19:23: warning: 'is' test is always true
`- /Users/admin/builder/spi-builder-workspace/Examples/ApiResponses.swift:40:24: note: expanded code originates here
37 | }
38 |
39 | @Union(ApiOkUser.self, ApiError.self)
   | `- note: in expansion of macro 'Union' on enum 'ApiUserResponse' here
40 | enum ApiUserResponse {}
   +--- macro expansion @Union -----------------------------------------
   |17 |         typealias Type0 = ApiOkUser
   |18 |         typealias Type1 = ApiError
   |19 |         if Type0.self is any TypeDiscriminated.Type {
   |   |                       `- warning: 'is' test is always true
   |20 |             if let decoded = try? Type0(from: decoder) {
   |21 |                 self = .apiOkUser(decoded)
   +--------------------------------------------------------------------
41 |
42 | enum ApiResponseExample {
macro expansion @Union:25:23: warning: 'is' test is always true
`- /Users/admin/builder/spi-builder-workspace/Examples/ApiResponses.swift:40:24: note: expanded code originates here
37 | }
38 |
39 | @Union(ApiOkUser.self, ApiError.self)
   | `- note: in expansion of macro 'Union' on enum 'ApiUserResponse' here
40 | enum ApiUserResponse {}
   +--- macro expansion @Union -----------------------------------------
   |23 |     }
   |24 | }
   |25 |         if Type1.self is any TypeDiscriminated.Type {
   |   |                       `- warning: 'is' test is always true
   |26 |             if let decoded = try? Type1(from: decoder) {
   |27 |                 self = .apiError(decoded)
   +--------------------------------------------------------------------
41 |
42 | enum ApiResponseExample {
macro expansion @Union:20:23: warning: 'is' test is always true
`- /Users/admin/builder/spi-builder-workspace/Examples/Webhooks.swift:36:21: note: expanded code originates here
33 | }
34 |
35 | @Union(WebhookMessageCreated.self, WebhookReactionAdded.self, WebhookUserJoined.self)
   | `- note: in expansion of macro 'Union' on enum 'WebhookEvent' here
36 | enum WebhookEvent {}
   +--- macro expansion @Union -----------------------------------------
   |18 |         typealias Type1 = WebhookReactionAdded
   |19 |         typealias Type2 = WebhookUserJoined
   |20 |         if Type0.self is any TypeDiscriminated.Type {
   |   |                       `- warning: 'is' test is always true
   |21 |             if let decoded = try? Type0(from: decoder) {
   |22 |                 self = .webhookMessageCreated(decoded)
   +--------------------------------------------------------------------
37 |
38 | enum WebhookExample {
macro expansion @Union:26:23: warning: 'is' test is always true
`- /Users/admin/builder/spi-builder-workspace/Examples/Webhooks.swift:36:21: note: expanded code originates here
33 | }
34 |
35 | @Union(WebhookMessageCreated.self, WebhookReactionAdded.self, WebhookUserJoined.self)
   | `- note: in expansion of macro 'Union' on enum 'WebhookEvent' here
36 | enum WebhookEvent {}
   +--- macro expansion @Union -----------------------------------------
   |24 |     }
   |25 | }
   |26 |         if Type1.self is any TypeDiscriminated.Type {
   |   |                       `- warning: 'is' test is always true
   |27 |             if let decoded = try? Type1(from: decoder) {
   |28 |                 self = .webhookReactionAdded(decoded)
   +--------------------------------------------------------------------
37 |
38 | enum WebhookExample {
macro expansion @Union:32:23: warning: 'is' test is always true
`- /Users/admin/builder/spi-builder-workspace/Examples/Webhooks.swift:36:21: note: expanded code originates here
33 | }
34 |
35 | @Union(WebhookMessageCreated.self, WebhookReactionAdded.self, WebhookUserJoined.self)
   | `- note: in expansion of macro 'Union' on enum 'WebhookEvent' here
36 | enum WebhookEvent {}
   +--- macro expansion @Union -----------------------------------------
   |30 |     }
   |31 | }
   |32 |         if Type2.self is any TypeDiscriminated.Type {
   |   |                       `- warning: 'is' test is always true
   |33 |             if let decoded = try? Type2(from: decoder) {
   |34 |                 self = .webhookUserJoined(decoded)
   +--------------------------------------------------------------------
37 |
38 | enum WebhookExample {
/Users/admin/builder/spi-builder-workspace/Examples/ExtendsHierarchy.swift:41:20: warning: will never be executed
38 |
39 |         // Forwarding works for both parents:
40 |         _ = article.id
   |                    `- note: a call to a never-returning function
41 |         _ = article.createdAt
   |                    `- warning: will never be executed
42 |         _ = article.title
43 |
macro expansion @Union:19:23: warning: 'is' test is always true
`- /Users/admin/builder/spi-builder-workspace/Examples/ApiResponses.swift:40:24: note: expanded code originates here
37 | }
38 |
39 | @Union(ApiOkUser.self, ApiError.self)
   | `- note: in expansion of macro 'Union' on enum 'ApiUserResponse' here
40 | enum ApiUserResponse {}
   +--- macro expansion @Union -----------------------------------------
   |17 |         typealias Type0 = ApiOkUser
   |18 |         typealias Type1 = ApiError
   |19 |         if Type0.self is any TypeDiscriminated.Type {
   |   |                       `- warning: 'is' test is always true
   |20 |             if let decoded = try? Type0(from: decoder) {
   |21 |                 self = .apiOkUser(decoded)
   +--------------------------------------------------------------------
41 |
42 | enum ApiResponseExample {
macro expansion @Union:25:23: warning: 'is' test is always true
`- /Users/admin/builder/spi-builder-workspace/Examples/ApiResponses.swift:40:24: note: expanded code originates here
37 | }
38 |
39 | @Union(ApiOkUser.self, ApiError.self)
   | `- note: in expansion of macro 'Union' on enum 'ApiUserResponse' here
40 | enum ApiUserResponse {}
   +--- macro expansion @Union -----------------------------------------
   |23 |     }
   |24 | }
   |25 |         if Type1.self is any TypeDiscriminated.Type {
   |   |                       `- warning: 'is' test is always true
   |26 |             if let decoded = try? Type1(from: decoder) {
   |27 |                 self = .apiError(decoded)
   +--------------------------------------------------------------------
41 |
42 | enum ApiResponseExample {
macro expansion @Union:20:23: warning: 'is' test is always true
`- /Users/admin/builder/spi-builder-workspace/Examples/Webhooks.swift:36:21: note: expanded code originates here
33 | }
34 |
35 | @Union(WebhookMessageCreated.self, WebhookReactionAdded.self, WebhookUserJoined.self)
   | `- note: in expansion of macro 'Union' on enum 'WebhookEvent' here
36 | enum WebhookEvent {}
   +--- macro expansion @Union -----------------------------------------
   |18 |         typealias Type1 = WebhookReactionAdded
   |19 |         typealias Type2 = WebhookUserJoined
   |20 |         if Type0.self is any TypeDiscriminated.Type {
   |   |                       `- warning: 'is' test is always true
   |21 |             if let decoded = try? Type0(from: decoder) {
   |22 |                 self = .webhookMessageCreated(decoded)
   +--------------------------------------------------------------------
37 |
38 | enum WebhookExample {
macro expansion @Union:26:23: warning: 'is' test is always true
`- /Users/admin/builder/spi-builder-workspace/Examples/Webhooks.swift:36:21: note: expanded code originates here
33 | }
34 |
35 | @Union(WebhookMessageCreated.self, WebhookReactionAdded.self, WebhookUserJoined.self)
   | `- note: in expansion of macro 'Union' on enum 'WebhookEvent' here
36 | enum WebhookEvent {}
   +--- macro expansion @Union -----------------------------------------
   |24 |     }
   |25 | }
   |26 |         if Type1.self is any TypeDiscriminated.Type {
   |   |                       `- warning: 'is' test is always true
   |27 |             if let decoded = try? Type1(from: decoder) {
   |28 |                 self = .webhookReactionAdded(decoded)
   +--------------------------------------------------------------------
37 |
38 | enum WebhookExample {
macro expansion @Union:32:23: warning: 'is' test is always true
`- /Users/admin/builder/spi-builder-workspace/Examples/Webhooks.swift:36:21: note: expanded code originates here
33 | }
34 |
35 | @Union(WebhookMessageCreated.self, WebhookReactionAdded.self, WebhookUserJoined.self)
   | `- note: in expansion of macro 'Union' on enum 'WebhookEvent' here
36 | enum WebhookEvent {}
   +--- macro expansion @Union -----------------------------------------
   |30 |     }
   |31 | }
   |32 |         if Type2.self is any TypeDiscriminated.Type {
   |   |                       `- warning: 'is' test is always true
   |33 |             if let decoded = try? Type2(from: decoder) {
   |34 |                 self = .webhookUserJoined(decoded)
   +--------------------------------------------------------------------
37 |
38 | enum WebhookExample {
macro expansion @Union:20:23: warning: 'is' test is always true
`- /Users/admin/builder/spi-builder-workspace/Examples/AnalyticsEvents.swift:47:26: note: expanded code originates here
44 | }
45 |
46 | @Union(AnalyticsPageView.self, AnalyticsClick.self, AnalyticsErrorOccurred.self)
   | `- note: in expansion of macro 'Union' on enum 'AnalyticsAnyEvent' here
47 | enum AnalyticsAnyEvent {}
   +--- macro expansion @Union -----------------------------------------
   |18 |         typealias Type1 = AnalyticsClick
   |19 |         typealias Type2 = AnalyticsErrorOccurred
   |20 |         if Type0.self is any TypeDiscriminated.Type {
   |   |                       `- warning: 'is' test is always true
   |21 |             if let decoded = try? Type0(from: decoder) {
   |22 |                 self = .analyticsPageView(decoded)
   +--------------------------------------------------------------------
48 |
49 | enum AnalyticsExample {
macro expansion @Union:26:23: warning: 'is' test is always true
`- /Users/admin/builder/spi-builder-workspace/Examples/AnalyticsEvents.swift:47:26: note: expanded code originates here
44 | }
45 |
46 | @Union(AnalyticsPageView.self, AnalyticsClick.self, AnalyticsErrorOccurred.self)
   | `- note: in expansion of macro 'Union' on enum 'AnalyticsAnyEvent' here
47 | enum AnalyticsAnyEvent {}
   +--- macro expansion @Union -----------------------------------------
   |24 |     }
   |25 | }
   |26 |         if Type1.self is any TypeDiscriminated.Type {
   |   |                       `- warning: 'is' test is always true
   |27 |             if let decoded = try? Type1(from: decoder) {
   |28 |                 self = .analyticsClick(decoded)
   +--------------------------------------------------------------------
48 |
49 | enum AnalyticsExample {
macro expansion @Union:32:23: warning: 'is' test is always true
`- /Users/admin/builder/spi-builder-workspace/Examples/AnalyticsEvents.swift:47:26: note: expanded code originates here
44 | }
45 |
46 | @Union(AnalyticsPageView.self, AnalyticsClick.self, AnalyticsErrorOccurred.self)
   | `- note: in expansion of macro 'Union' on enum 'AnalyticsAnyEvent' here
47 | enum AnalyticsAnyEvent {}
   +--- macro expansion @Union -----------------------------------------
   |30 |     }
   |31 | }
   |32 |         if Type2.self is any TypeDiscriminated.Type {
   |   |                       `- warning: 'is' test is always true
   |33 |             if let decoded = try? Type2(from: decoder) {
   |34 |                 self = .analyticsErrorOccurred(decoded)
   +--------------------------------------------------------------------
48 |
49 | enum AnalyticsExample {
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "509.0.0",
            "upper_bound" : "605.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftlang/swift-syntax.git"
    },
    {
      "identity" : "swift-macro-testing",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.6.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/swift-macro-testing.git"
    }
  ],
  "manifest_display_name" : "swift-typescript-bridge",
  "name" : "swift-typescript-bridge",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "TypeScriptBridge",
      "targets" : [
        "TypeScriptBridge"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Examples",
      "targets" : [
        "Examples"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "TypeScriptBridgeMacros",
      "targets" : [
        "TypeScriptBridgeMacros"
      ],
      "type" : {
        "macro" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TypeScriptBridgeTests",
      "module_type" : "SwiftTarget",
      "name" : "TypeScriptBridgeTests",
      "path" : "Tests/TypeScriptBridgeTests",
      "sources" : [
        "AccessModifierTests.swift",
        "BasicUnionTests.swift",
        "ComplexTypeTests.swift",
        "DiscriminatorTests.swift",
        "EdgeCaseTests.swift",
        "ExtendsMacroTests.swift",
        "IntegrationTests.swift",
        "MultiParentExtendsTests.swift",
        "NullableLiteralUnionTests.swift",
        "NumericLiteralTests.swift",
        "TestHelpers.swift",
        "TypeValidationTests.swift"
      ],
      "target_dependencies" : [
        "TypeScriptBridge"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TypeScriptBridgeMacros",
      "module_type" : "SwiftTarget",
      "name" : "TypeScriptBridgeMacros",
      "path" : "Sources/TypeScriptBridgeMacros",
      "product_dependencies" : [
        "SwiftSyntaxMacros",
        "SwiftCompilerPlugin"
      ],
      "product_memberships" : [
        "TypeScriptBridge",
        "Examples",
        "TypeScriptBridgeMacros"
      ],
      "sources" : [
        "Diagnostics.swift",
        "ExtendsMacro.swift",
        "LiteralUnionMacro.swift",
        "MacroUtils.swift",
        "TypeScriptBridgeMacros.swift",
        "TypeUnionMacro.swift",
        "UnionDiscriminatorMacro.swift"
      ],
      "type" : "macro"
    },
    {
      "c99name" : "TypeScriptBridgeMacroExpansionTests",
      "module_type" : "SwiftTarget",
      "name" : "TypeScriptBridgeMacroExpansionTests",
      "path" : "Tests/TypeScriptBridgeMacroExpansionTests",
      "product_dependencies" : [
        "MacroTesting"
      ],
      "sources" : [
        "ExtendsExpansionTests.swift",
        "LiteralUnionExpansionTests.swift",
        "TypeUnionExpansionTests.swift",
        "UnionDiscriminatorExpansionTests.swift"
      ],
      "target_dependencies" : [
        "TypeScriptBridgeMacros"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TypeScriptBridge",
      "module_type" : "SwiftTarget",
      "name" : "TypeScriptBridge",
      "path" : "Sources/TypeScriptBridge",
      "product_memberships" : [
        "TypeScriptBridge",
        "Examples"
      ],
      "sources" : [
        "TypeScriptBridge.swift"
      ],
      "target_dependencies" : [
        "TypeScriptBridgeMacros"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Examples",
      "module_type" : "SwiftTarget",
      "name" : "Examples",
      "path" : "Examples",
      "product_memberships" : [
        "Examples"
      ],
      "sources" : [
        "AnalyticsEvents.swift",
        "ApiResponses.swift",
        "ExtendsHierarchy.swift",
        "Webhooks.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "TypeScriptBridge"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "6.2"
}
Done.