The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SwiftMacros, reference v2.0.1 (e553e6), with Swift 6.4 for macOS (SPM) on 21 Sep 2026 07:46:19 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/ShenghaiWang/SwiftMacros.git
Reference: v2.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ShenghaiWang/SwiftMacros
 * tag               v2.0.1     -> FETCH_HEAD
HEAD is now at e553e69 Update resolved dependencies
Cloned https://github.com/ShenghaiWang/SwiftMacros.git
Revision (git rev-parse @):
e553e69994cdde627ebd7a481c5b3d53a74ebea5
SUCCESS checkout https://github.com/ShenghaiWang/SwiftMacros.git at v2.0.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/ShenghaiWang/SwiftMacros.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Computing dependencies]
[Provisioning 3 / 24]
[Pre-planning 1 / 592]
[Planning deferred tasks]
[116 / 267]
[122 / 271] _SwiftSyntaxCShims
[125 / 279]
[149 / 279] SwiftSyntax509
[150 / 280] SwiftSyntax600
[165 / 354] SwiftSyntax509
[173 / 354]
[180 / 354]
[186 / 354]
[190 / 354]
[191 / 354]
[204 / 354] SwiftSyntax
[205 / 354]
[206 / 354] SwiftSyntax
[207 / 354]
[208 / 354]
[211 / 354]
[215 / 354]
[216 / 354]
[217 / 354]
[218 / 354]
[224 / 354] SwiftKeychain
[225 / 354] SwiftKeychain
[234 / 354] SwiftKeychain
[236 / 354] SwiftKeychain
[238 / 354]
[238 / 354] SwiftSyntax
[247 / 357] SwiftDiagnostics
[254 / 385] SwiftParser
[270 / 385] SwiftParser
[271 / 385] SwiftParser
[272 / 385] SwiftParser
[274 / 385] SwiftParser
[275 / 385] SwiftParser
[276 / 385] SwiftParser
[282 / 385] SwiftParser
[285 / 385] SwiftDiagnostics
[290 / 385] SwiftParserDiagnostics
[296 / 387]
[303 / 409] SwiftParserDiagnostics
[307 / 409] SwiftParserDiagnostics
[309 / 409] SwiftOperators
[326 / 409] SwiftOperators
[327 / 409] SwiftOperators
[332 / 409] SwiftBasicFormat
[333 / 410] SwiftOperators
[334 / 410] SwiftSyntaxBuilder
[341 / 442] SwiftParserDiagnostics
[344 / 442]
[346 / 442]
[349 / 442]
[352 / 442]
[353 / 442]
[354 / 442]
[355 / 442]
[365 / 442] SwiftSyntaxBuilder
[366 / 442] SwiftSyntaxBuilder
[367 / 442] SwiftSyntaxBuilder
[374 / 443] SwiftSyntaxBuilder
[375 / 443] SwiftSyntax
[375 / 443] SwiftSyntaxMacros
[385 / 454] SwiftSyntaxMacros
[393 / 455] SwiftSyntaxMacros
[394 / 455] SwiftSyntaxMacroExpansion
[404 / 465] SwiftSyntaxMacroExpansion
[411 / 466] SwiftSyntaxMacroExpansion
[422 / 477] SwiftCompilerPluginMessageHandling
[423 / 477] SwiftCompilerPluginMessageHandling
[430 / 478] SwiftCompilerPluginMessageHandling
[430 / 478] SwiftCompilerPlugin
[433 / 480] SwiftCompilerPlugin
[440 / 480] SwiftSyntax
[442 / 480] SwiftSyntax
[448 / 480] SwiftSyntaxBuilder
[452 / 480] SwiftCompilerPlugin
[460 / 481] Macros
[473 / 521]
[476 / 521]
[480 / 521]
[485 / 521]
[487 / 521]
[488 / 521]
[500 / 521] Macros
[501 / 521] Macros
[503 / 521] Macros
[506 / 522] SwiftMacros
[512 / 528] SwiftMacros
[524 / 529] Client-product
[527 / 532] Client-product
[528 / 532] Client-product
[530 / 532] Client-product
Build complete! (28.59 sec)
Fetching https://github.com/ShenghaiWang/SwiftKeychain.git
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/swiftlang/swift-docc-plugin.git
[1/2345] Fetching swift-docc-plugin
[236/2421] Fetching swift-docc-plugin, swiftkeychain
[2422/82420] Fetching swift-docc-plugin, swiftkeychain, swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git (5.57s)
Fetched https://github.com/ShenghaiWang/SwiftKeychain.git (5.57s)
Fetched https://github.com/swiftlang/swift-docc-plugin.git (5.57s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (8.51s)
Computing version for https://github.com/ShenghaiWang/SwiftKeychain.git
Computed https://github.com/ShenghaiWang/SwiftKeychain.git at 0.5.0 (0.62s)
Computing version for https://github.com/swiftlang/swift-docc-plugin.git
Computed https://github.com/swiftlang/swift-docc-plugin.git at 1.5.0 (0.63s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3824] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (1.37s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (2.09s)
Creating working copy for https://github.com/ShenghaiWang/SwiftKeychain.git
Working copy of https://github.com/ShenghaiWang/SwiftKeychain.git resolved at 0.5.0
Creating working copy for https://github.com/swiftlang/swift-docc-plugin.git
Working copy of https://github.com/swiftlang/swift-docc-plugin.git resolved at 1.5.0
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 600.0.1
macro expansion @AddInit:11:9: warning: code after 'return' will never be executed
`- /Users/admin/builder/spi-builder-workspace/Sources/Client/main.swift:65:1: note: expanded code originates here
 57 | }
 58 |
 59 | @AddInit(withMock: true)
    | `- note: in expansion of macro 'AddInit' on actor 'InitActor' here
 60 | actor InitActor {
 61 |     let a: Int
    :
 63 |     let c: (Int?) -> Void
 64 |     let d: ((Int?) -> Void)?
 65 | }
    +--- macro expansion @AddInit --------------------------------------
    | 9 | static let mock = InitActor(a: -2038636351923012700, b: -6497367672790387343, c: { _ in
    |10 |         return
    |11 |         return
    |   |         `- warning: code after 'return' will never be executed
    |12 |     }, d: { _ in
    |13 |         return
    +-------------------------------------------------------------------
 66 |
 67 | @AddAssociatedValueVariable
macro expansion @AddInit:14:9: warning: code after 'return' will never be executed
`- /Users/admin/builder/spi-builder-workspace/Sources/Client/main.swift:65:1: note: expanded code originates here
 57 | }
 58 |
 59 | @AddInit(withMock: true)
    | `- note: in expansion of macro 'AddInit' on actor 'InitActor' here
 60 | actor InitActor {
 61 |     let a: Int
    :
 63 |     let c: (Int?) -> Void
 64 |     let d: ((Int?) -> Void)?
 65 | }
    +--- macro expansion @AddInit --------------------------------------
    |12 |     }, d: { _ in
    |13 |         return
    |14 |         return
    |   |         `- warning: code after 'return' will never be executed
    |15 |     })
    |16 | #endif
    +-------------------------------------------------------------------
 66 |
 67 | @AddAssociatedValueVariable
macro expansion @Access:8:13: warning: result of 'try?' is unused [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
`- /Users/admin/builder/spi-builder-workspace/Sources/Client/main.swift:152:35: note: expanded code originates here
149 |     var hasPaid2: NSObject?
150 |
151 |     @Access<TestStruct?>(.keychain)
    |     `- note: in expansion of macro 'Access' on property 'keychainValue' here
152 |     var keychainValue: TestStruct?
    +--- macro expansion @Access ---------------------------------------
    | 6 |         if let value = newValue {
    | 7 |             SwiftKeychain.delete(key: "AccessKey_keychainValue")
    | 8 |             try? SwiftKeychain.add(value: value, for: "AccessKey_keychainValue")
    |   |             `- warning: result of 'try?' is unused [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
    | 9 |         } else {
    |10 |             SwiftKeychain.delete(key: "AccessKey_keychainValue")
    +-------------------------------------------------------------------
153 | }
154 |
macro expansion @AddInit:11:9: warning: code after 'return' will never be executed
`- /Users/admin/builder/spi-builder-workspace/Sources/Client/main.swift:65:1: note: expanded code originates here
 57 | }
 58 |
 59 | @AddInit(withMock: true)
    | `- note: in expansion of macro 'AddInit' on actor 'InitActor' here
 60 | actor InitActor {
 61 |     let a: Int
    :
 63 |     let c: (Int?) -> Void
 64 |     let d: ((Int?) -> Void)?
 65 | }
    +--- macro expansion @AddInit --------------------------------------
    | 9 | static let mock = InitActor(a: 8462385890636434435, b: -1980073495699121017, c: { _ in
    |10 |         return
    |11 |         return
    |   |         `- warning: code after 'return' will never be executed
    |12 |     }, d: { _ in
    |13 |         return
    +-------------------------------------------------------------------
 66 |
 67 | @AddAssociatedValueVariable
macro expansion @AddInit:14:9: warning: code after 'return' will never be executed
`- /Users/admin/builder/spi-builder-workspace/Sources/Client/main.swift:65:1: note: expanded code originates here
 57 | }
 58 |
 59 | @AddInit(withMock: true)
    | `- note: in expansion of macro 'AddInit' on actor 'InitActor' here
 60 | actor InitActor {
 61 |     let a: Int
    :
 63 |     let c: (Int?) -> Void
 64 |     let d: ((Int?) -> Void)?
 65 | }
    +--- macro expansion @AddInit --------------------------------------
    |12 |     }, d: { _ in
    |13 |         return
    |14 |         return
    |   |         `- warning: code after 'return' will never be executed
    |15 |     })
    |16 | #endif
    +-------------------------------------------------------------------
 66 |
 67 | @AddAssociatedValueVariable
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "600.0.1",
            "upper_bound" : "601.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftlang/swift-syntax.git"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.3",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftlang/swift-docc-plugin.git"
    },
    {
      "identity" : "swiftkeychain",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.2.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/ShenghaiWang/SwiftKeychain.git"
    }
  ],
  "manifest_display_name" : "SwiftMacros",
  "name" : "SwiftMacros",
  "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" : "SwiftMacros",
      "targets" : [
        "SwiftMacros"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Client",
      "targets" : [
        "Client"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "Macros",
      "targets" : [
        "Macros"
      ],
      "type" : {
        "macro" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftMacros",
      "module_type" : "SwiftTarget",
      "name" : "SwiftMacros",
      "path" : "Sources/SwiftMacros",
      "product_memberships" : [
        "SwiftMacros",
        "Client"
      ],
      "sources" : [
        "AccessContentType.swift",
        "DateBuilder.swift",
        "SwiftMacros.swift",
        "URLBuilder.swift",
        "URLRequestBuilder.swift"
      ],
      "target_dependencies" : [
        "Macros"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Macros",
      "module_type" : "SwiftTarget",
      "name" : "Macros",
      "path" : "Sources/Macros",
      "product_dependencies" : [
        "SwiftSyntaxMacros",
        "SwiftCompilerPlugin"
      ],
      "product_memberships" : [
        "SwiftMacros",
        "Client",
        "Macros"
      ],
      "sources" : [
        "Access.swift",
        "AddAssociatedValueVariable.swift",
        "AddInit.swift",
        "AddPublisher.swift",
        "BuildDate.swift",
        "BuildURL.swift",
        "BuildURLRequest.swift",
        "ConformToEquatable.swift",
        "ConformToHashable.swift",
        "FormatDate.swift",
        "FormatDateComponents.swift",
        "FormatDateInterval.swift",
        "JSONEncoderrDecoder.swift",
        "MacroDiagnostics.swift",
        "MacroPlugin.swift",
        "Mock.swift",
        "Mockable.swift",
        "PostNotification.swift",
        "Singleton.swift"
      ],
      "type" : "macro"
    },
    {
      "c99name" : "MacroTests",
      "module_type" : "SwiftTarget",
      "name" : "MacroTests",
      "path" : "Tests/MacroTests",
      "product_dependencies" : [
        "SwiftSyntaxMacrosTestSupport"
      ],
      "sources" : [
        "AccessTests.swift",
        "AddAssociatedValueVariableTests.swift",
        "AddInitTests.swift",
        "AddPublisherTests.swift",
        "BuildDateTests.swift",
        "BuildURLRequestTests.swift",
        "BuildURLTests.swift",
        "ConformToEqutableTests.swift",
        "ConformToHashableTests.swift",
        "FormatDateComponentsTests.swift",
        "FormatDateIntervalTests.swift",
        "FormatDateTests.swift",
        "JSONEncoderDecoderTests.swift",
        "MockTests.swift",
        "NotificationTests.swift",
        "SingletonTests.swift"
      ],
      "target_dependencies" : [
        "Macros"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Client",
      "module_type" : "SwiftTarget",
      "name" : "Client",
      "path" : "Sources/Client",
      "product_dependencies" : [
        "SwiftKeychain"
      ],
      "product_memberships" : [
        "Client"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "SwiftMacros"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "6.0"
}
Done.