The Swift Package Index logo.Swift Package Index

Build Information

Successful build of swift-complexity, reference main (adaa33), with Swift 6.4 for macOS (SPM) on 12 Oct 2026 16:56:36 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.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/fummicc1/swift-complexity.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/fummicc1/swift-complexity
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at adaa33c Refuse a final version marked as pre-release, and the reverse (#65)
Cloned https://github.com/fummicc1/swift-complexity.git
Revision (git rev-parse @):
adaa33cf00a64566a697e188ccd9dacb076e5d21
SUCCESS checkout https://github.com/fummicc1/swift-complexity.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/fummicc1/swift-complexity.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 658]
[Planning deferred tasks]
[129 / 285] swift-complexity_SwiftComplexityCoreTests
[131 / 285]
[143 / 293] SwiftSyntax510
[151 / 318] SwiftSyntax509
[161 / 322]
[175 / 322] SwiftSyntax600
[197 / 359] ArgumentParserToolInfo
[210 / 360]
[218 / 429]
[231 / 429] CYaml
[244 / 442]
[249 / 442]
[254 / 442] ArgumentParserToolInfo
[259 / 442]
[260 / 455]
[273 / 455] SystemPackage
[274 / 455]
[277 / 455] Logging
[287 / 455]
[291 / 455]
[295 / 455] SystemPackage
[307 / 455]
[309 / 455]
[315 / 455]
[317 / 455]
[321 / 455]
[324 / 455] SwiftSyntax
[326 / 455]
[328 / 455] EventSource
[329 / 455] ArgumentParser
[330 / 455] EventSource
[338 / 455] Yams
[341 / 455] ArgumentParser
[353 / 455] Yams-product
[354 / 455] Yams-product
[359 / 455] SystemPackage
[362 / 455] SwiftSyntax
[368 / 455] SwiftSyntax-product
[370 / 455] Logging-product
[373 / 455] Logging
[377 / 455] EventSource
[382 / 455] EventSource-product
[385 / 455] ArgumentParser-product
[390 / 455] ArgumentParser-product
[392 / 455]
[396 / 457] SwiftDiagnostics
[401 / 479] SwiftParser
[406 / 479] SwiftDiagnostics
[412 / 479] SwiftParser
[414 / 479] SwiftParser
[416 / 479] SwiftParser
[419 / 479] SwiftParser
[426 / 479] SwiftParser-product
[430 / 479] SwiftDiagnostics
[432 / 479] Logging
[436 / 481] SwiftParser
[443 / 492] SwiftOperators
[448 / 492] SwiftOperators
[458 / 507]
[460 / 507]
[468 / 507] MCP
[469 / 519]
[471 / 519] SwiftComplexityCore
[472 / 519] SwiftComplexityCore
[475 / 519] MCP
[484 / 519] SwiftComplexityCore
[485 / 519] SwiftComplexityCore
[493 / 519] SwiftComplexityCore-product
[494 / 519] MCP-product
[498 / 520]
[502 / 521] SwiftComplexityCore
[502 / 521] SwiftComplexityMCP-product
[508 / 530] SwiftComplexityCLI-product
[512 / 530] SwiftComplexityMCP-product
[513 / 530] MCP
[513 / 530] SwiftComplexityMCP-product
[514 / 530] SwiftComplexityCLI-product
[515 / 530] MCP
[517 / 530] SwiftSyntax
[519 / 530] SwiftSyntax
[523 / 530]
[526 / 530] SwiftComplexityCLI-product
[529 / 530] SwiftComplexityMCP-product
Build complete! (19.98 sec)
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/modelcontextprotocol/swift-sdk.git
[1/11882] Fetching yams
[2/15874] Fetching yams, swift-sdk
[160/34986] Fetching yams, swift-sdk, swift-argument-parser
[13401/115449] Fetching yams, swift-sdk, swift-argument-parser, swift-syntax
Fetched https://github.com/modelcontextprotocol/swift-sdk.git (4.76s)
Fetched https://github.com/jpsim/Yams.git (4.76s)
Fetched https://github.com/apple/swift-argument-parser (4.76s)
[73222/80463] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git (6.56s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (9.61s)
Computing version for https://github.com/modelcontextprotocol/swift-sdk.git
Computed https://github.com/modelcontextprotocol/swift-sdk.git at 0.12.1 (0.60s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/mattt/eventsource.git
Fetching https://github.com/apple/swift-system.git
[1/314] Fetching eventsource
[99/8594] Fetching eventsource, swift-log
[361/15835] Fetching eventsource, swift-log, swift-system
[15836/102231] Fetching eventsource, swift-log, swift-system, swift-nio
Fetched https://github.com/mattt/eventsource.git (12.18s)
Fetched https://github.com/apple/swift-log.git (12.18s)
Fetched https://github.com/apple/swift-system.git (12.18s)
Fetched https://github.com/apple/swift-nio.git (12.19s)
Computing version for https://github.com/mattt/eventsource.git
Computed https://github.com/mattt/eventsource.git at 1.5.1 (12.91s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.72s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.62s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.59s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.16.1 (0.58s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.104.0 (0.68s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
[1/1889] Fetching swift-atomics
[1890/30592] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-collections.git (3.37s)
Fetched https://github.com/apple/swift-atomics.git (3.37s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (3.95s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.2 (0.65s)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.16.1
Creating working copy for https://github.com/mattt/eventsource.git
Working copy of https://github.com/mattt/eventsource.git resolved at 1.5.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.2
Creating working copy for https://github.com/modelcontextprotocol/swift-sdk.git
Working copy of https://github.com/modelcontextprotocol/swift-sdk.git resolved at 0.12.1
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.104.0
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.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
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "600.0.0",
            "upper_bound" : "601.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftlang/swift-syntax.git"
    },
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    },
    {
      "identity" : "indexstore-db",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftlang/indexstore-db"
    },
    {
      "identity" : "swift-sdk",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.11.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/modelcontextprotocol/swift-sdk.git"
    },
    {
      "identity" : "yams",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.0.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jpsim/Yams.git"
    }
  ],
  "manifest_display_name" : "swift-complexity",
  "name" : "swift-complexity",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftComplexityCore",
      "targets" : [
        "SwiftComplexityCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SwiftComplexityCLI",
      "targets" : [
        "SwiftComplexityCLI"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "SwiftComplexityMCP",
      "targets" : [
        "SwiftComplexityMCP"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "SwiftComplexityPlugin",
      "targets" : [
        "SwiftComplexityPlugin"
      ],
      "type" : {
        "plugin" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftComplexityPlugin",
      "module_type" : "PluginTarget",
      "name" : "SwiftComplexityPlugin",
      "path" : "Plugins/SwiftComplexityPlugin",
      "plugin_capability" : {
        "type" : "buildTool"
      },
      "product_memberships" : [
        "SwiftComplexityPlugin"
      ],
      "sources" : [
        "Plugin.swift"
      ],
      "target_dependencies" : [
        "SwiftComplexityCLI"
      ],
      "type" : "plugin"
    },
    {
      "c99name" : "SwiftComplexityMCPTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftComplexityMCPTests",
      "path" : "Tests/SwiftComplexityMCPTests",
      "sources" : [
        "SwiftComplexityMCPTests.swift"
      ],
      "target_dependencies" : [
        "SwiftComplexityMCP",
        "SwiftComplexityCore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftComplexityMCP",
      "module_type" : "SwiftTarget",
      "name" : "SwiftComplexityMCP",
      "path" : "Sources/SwiftComplexityMCP",
      "product_dependencies" : [
        "MCP"
      ],
      "product_memberships" : [
        "SwiftComplexityMCP"
      ],
      "sources" : [
        "Handlers/AnalyzeCodeStringHandler.swift",
        "Handlers/AnalyzeComplexityHandler.swift",
        "MCPServer.swift",
        "ParamExtractor.swift",
        "ToolDefinitions.swift",
        "ToolRouter.swift"
      ],
      "target_dependencies" : [
        "SwiftComplexityCore"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "SwiftComplexityCoreTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftComplexityCoreTests",
      "path" : "Tests/SwiftComplexityCoreTests",
      "product_dependencies" : [
        "SwiftSyntax",
        "SwiftParser"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftComplexityCoreTests/Fixtures",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "DecisionPointTests.swift",
        "EnclosingTypeDetectionTests.swift",
        "GoldenCompatibilityTests.swift",
        "HotspotRankerTests.swift",
        "IndexStoreTraitTests.swift",
        "OutputFormatterCouplingTests.swift",
        "ReferenceGraphBuilderTests.swift",
        "SwiftComplexityTests.swift",
        "ThresholdConfigurationTests.swift",
        "TypeRangeCollectorTests.swift"
      ],
      "target_dependencies" : [
        "SwiftComplexityCore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftComplexityCore",
      "module_type" : "SwiftTarget",
      "name" : "SwiftComplexityCore",
      "path" : "Sources/SwiftComplexityCore",
      "product_dependencies" : [
        "SwiftSyntax",
        "SwiftParser",
        "SwiftOperators",
        "Yams"
      ],
      "product_memberships" : [
        "SwiftComplexityCore",
        "SwiftComplexityCLI",
        "SwiftComplexityMCP",
        "SwiftComplexityPlugin"
      ],
      "sources" : [
        "Analysis/CognitiveComplexityCalculator.swift",
        "Analysis/ComplexityAnalyzer.swift",
        "Analysis/CyclomaticComplexityCalculator.swift",
        "Analysis/FunctionBodyVisitor.swift",
        "Analysis/FunctionDetector.swift",
        "Analysis/HotspotRanker.swift",
        "Analysis/IndexStoreService.swift",
        "Analysis/NominalTypeDetector.swift",
        "Analysis/ReferenceGraph.swift",
        "Analysis/SemanticLCOMCalculator.swift",
        "Analysis/SuppressionParser.swift",
        "Analysis/TypeCouplingCalculator.swift",
        "Analysis/TypeRangeCollector.swift",
        "Models/ClassCohesion.swift",
        "Models/ComplexityResult.swift",
        "Models/FunctionComplexity.swift",
        "Models/SourceLocation.swift",
        "Models/ThresholdConfiguration.swift",
        "Models/TypeCoupling.swift",
        "Output/OutputFormat.swift",
        "Output/OutputFormatter.swift",
        "Output/SARIFReport.swift",
        "Processing/FileProcessor.swift",
        "Version.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SwiftComplexityCLITests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftComplexityCLITests",
      "path" : "Tests/SwiftComplexityCLITests",
      "sources" : [
        "SwiftComplexityCLITests.swift"
      ],
      "target_dependencies" : [
        "SwiftComplexityCLI",
        "SwiftComplexityCore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftComplexityCLI",
      "module_type" : "SwiftTarget",
      "name" : "SwiftComplexityCLI",
      "path" : "Sources/SwiftComplexityCLI",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "SwiftComplexityCLI",
        "SwiftComplexityPlugin"
      ],
      "sources" : [
        "ComplexityCommand.swift"
      ],
      "target_dependencies" : [
        "SwiftComplexityCore"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "6.2"
}
Done.