The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SwiftMacros, reference main (e553e6), with Swift 6.4 for macOS (SPM) on 21 Sep 2026 07:46:11 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: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ShenghaiWang/SwiftMacros
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
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]
[Constructing description]
[Pre-planning 1 / 592]
[Planning deferred tasks]
[116 / 267]
[122 / 271] _SwiftSyntaxCShims
[125 / 279]
[150 / 280] SwiftSyntax509
[169 / 354]
[175 / 354]
[185 / 354]
[190 / 354]
[191 / 354]
[205 / 354]
[207 / 354]
[208 / 354]
[211 / 354] SwiftSyntax
[215 / 354]
[216 / 354]
[217 / 354]
[218 / 354]
[224 / 354] SwiftKeychain
[225 / 354] SwiftKeychain
[234 / 354] SwiftKeychain-product
[236 / 354] SwiftKeychain
[238 / 354] SwiftKeychain
[238 / 354] SwiftSyntax
[247 / 357] SwiftBasicFormat
[254 / 385] SwiftParser
[263 / 385] SwiftDiagnostics
[271 / 385] SwiftParser
[272 / 385] SwiftParser
[274 / 385] SwiftParser
[277 / 385] SwiftParser
[282 / 385] SwiftParser
[284 / 385] SwiftDiagnostics
[286 / 385] SwiftOperators
[290 / 385] SwiftDiagnostics
[293 / 385] SwiftParserDiagnostics
[295 / 387]
[298 / 387] SwiftParserDiagnostics
[306 / 409] SwiftOperators
[308 / 409] SwiftParserDiagnostics
[309 / 409] SwiftParserDiagnostics
[327 / 409] SwiftOperators
[330 / 409] SwiftOperators
[333 / 410] SwiftOperators
[334 / 410] SwiftSyntaxBuilder
[341 / 442]
[342 / 442]
[345 / 442] SwiftParserDiagnostics
[346 / 442]
[349 / 442]
[352 / 442]
[353 / 442]
[354 / 442]
[355 / 442]
[365 / 442] SwiftSyntaxBuilder
[367 / 442] SwiftSyntaxBuilder
[374 / 443] SwiftSyntaxBuilder
[385 / 454] SwiftSyntaxMacros
[393 / 455] SwiftSyntaxMacros
[394 / 455] SwiftSyntaxMacroExpansion
[404 / 465] SwiftSyntaxMacroExpansion
[411 / 466] SwiftSyntaxMacroExpansion
[411 / 466] SwiftCompilerPluginMessageHandling
[421 / 477] SwiftSyntaxMacroExpansion
[423 / 477] SwiftCompilerPluginMessageHandling
[430 / 478] SwiftCompilerPluginMessageHandling
[431 / 478] SwiftCompilerPlugin
[435 / 480] SwiftCompilerPlugin
[440 / 480] SwiftSyntax
[442 / 480] SwiftSyntax
[448 / 480] SwiftSyntaxBuilder
[452 / 480] SwiftCompilerPlugin
[460 / 481] Macros
[473 / 521]
[479 / 521]
[482 / 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! (26.12 sec)
Fetching https://github.com/ShenghaiWang/SwiftKeychain.git
Fetching https://github.com/swiftlang/swift-docc-plugin.git
Fetching https://github.com/swiftlang/swift-syntax.git
[1/76] Fetching swiftkeychain
[77/2421] Fetching swiftkeychain, swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin.git (1.44s)
[1/79999] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git (6.33s)
Fetched https://github.com/ShenghaiWang/SwiftKeychain.git (6.33s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (9.24s)
Computing version for https://github.com/ShenghaiWang/SwiftKeychain.git
Computed https://github.com/ShenghaiWang/SwiftKeychain.git at 0.5.0 (0.66s)
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.67s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3824] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (1.33s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (2.08s)
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/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-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: -1213448792180446206, b: 9114273235814301663, 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: -6717035001949829066, b: 5957181944926744284, 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.