The Swift Package Index logo.Swift Package Index

Build Information

Successful build of swift-complexity, reference v1.6.0 (fc21cf), with Swift 6.4 for macOS (SPM) on 12 Oct 2026 17:04:16 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: v1.6.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/fummicc1/swift-complexity
 * tag               v1.6.0     -> FETCH_HEAD
HEAD is now at fc21cf6 Smoke-test release binaries, add a dry run, and ship Linux arm64 (#64)
Cloned https://github.com/fummicc1/swift-complexity.git
Revision (git rev-parse @):
fc21cf63645dd8e0131d586c266d28ae9656c1e5
SUCCESS checkout https://github.com/fummicc1/swift-complexity.git at v1.6.0
========================================
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
[153 / 320]
[163 / 322]
[188 / 322] SwiftSyntax509
[203 / 359]
[210 / 360]
[221 / 429]
[235 / 429] SwiftSyntax509
[246 / 431] SwiftSyntax
[251 / 442]
[256 / 442] ArgumentParserToolInfo
[260 / 455]
[270 / 455]
[272 / 455]
[281 / 455]
[284 / 455]
[288 / 455]
[291 / 455] SystemPackage
[295 / 455]
[299 / 455]
[302 / 455]
[304 / 455]
[307 / 455]
[312 / 455] SystemPackage
[318 / 455] SystemPackage-product
[320 / 455] SystemPackage-product
[322 / 455] SystemPackage
[324 / 455] SystemPackage
[326 / 455] SwiftSyntax
[327 / 455] EventSource
[329 / 455] Yams
[338 / 455] Yams
[339 / 455] ArgumentParser
[351 / 455] Yams-product
[354 / 455] Yams
[358 / 455] SystemPackage
[361 / 455] Logging
[362 / 455] Logging-product
[368 / 455] SwiftSyntax
[375 / 455] SwiftSyntax
[376 / 455] SwiftSyntax-product
[379 / 455] EventSource
[383 / 455] EventSource
[386 / 455] ArgumentParser-product
[391 / 455] ArgumentParser
[392 / 455] ArgumentParser
[392 / 455]
[395 / 456]
[396 / 457]
[403 / 479] SwiftParser
[406 / 479] SwiftDiagnostics
[413 / 479] SwiftParser
[414 / 479] SwiftParser
[415 / 479] SwiftParser
[417 / 479] SwiftParser
[418 / 479] SwiftDiagnostics
[419 / 479] SwiftParser
[426 / 479] SwiftParser
[428 / 479] SwiftParser-product
[432 / 479] SwiftDiagnostics
[436 / 481] SwiftDiagnostics
[437 / 481] SwiftOperators
[441 / 492] SwiftOperators
[444 / 492] SwiftParser
[450 / 492] SwiftOperators
[458 / 507]
[459 / 507] SwiftOperators
[465 / 507] MCP
[465 / 507] SwiftSyntax
[469 / 519]
[471 / 519] SwiftComplexityCore
[474 / 519] MCP
[480 / 519] SwiftComplexityCore
[484 / 519] SwiftComplexityCore
[489 / 519] SwiftComplexityCore
[491 / 519] SwiftComplexityCore-product
[494 / 519] SwiftComplexityCLI-product
[501 / 521] SwiftComplexityCLI-product
[501 / 521] SwiftComplexityCore
[504 / 523] SwiftComplexityMCP-product
[510 / 530] SwiftComplexityMCP-product
[513 / 530] SwiftComplexityMCP-product
[514 / 530] SwiftComplexityCLI-product
[517 / 530] MCP
[517 / 530] SwiftSyntax
[519 / 530] SwiftSyntax
[523 / 530] SwiftComplexityCore
[526 / 530] SwiftComplexityCLI-product
[529 / 530] SwiftComplexityCLI-product
Build complete! (25.34 sec)
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/modelcontextprotocol/swift-sdk.git
Fetching https://github.com/swiftlang/swift-syntax.git
[1/3992] Fetching swift-sdk
[2516/15874] Fetching swift-sdk, yams
[3994/34986] Fetching swift-sdk, yams, swift-argument-parser
[3995/115449] Fetching swift-sdk, yams, swift-argument-parser, swift-syntax
Fetched https://github.com/modelcontextprotocol/swift-sdk.git (6.58s)
Fetched https://github.com/swiftlang/swift-syntax.git (6.58s)
[4846/30994] Fetching yams, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser (10.16s)
[1783/11882] Fetching yams
Fetched https://github.com/jpsim/Yams.git (21.90s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (24.86s)
Computing version for https://github.com/modelcontextprotocol/swift-sdk.git
Computed https://github.com/modelcontextprotocol/swift-sdk.git at 0.12.1 (0.58s)
Fetching https://github.com/mattt/eventsource.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-log.git
[1/314] Fetching eventsource
[221/8594] Fetching eventsource, swift-log
[361/15835] Fetching eventsource, swift-log, swift-system
Fetched https://github.com/mattt/eventsource.git (0.91s)
[167/15521] Fetching swift-log, swift-system
[15522/101917] Fetching swift-log, swift-system, swift-nio
Fetched https://github.com/apple/swift-log.git (7.14s)
Fetched https://github.com/apple/swift-system.git (7.14s)
Fetched https://github.com/apple/swift-nio.git (7.14s)
Computing version for https://github.com/mattt/eventsource.git
Computed https://github.com/mattt/eventsource.git at 1.5.1 (7.78s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.67s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.56s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.62s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.16.1 (0.68s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.104.0 (0.73s)
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-atomics.git (3.06s)
Fetched https://github.com/apple/swift-collections.git (3.06s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (3.70s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.2 (0.73s)
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
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/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
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-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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.2
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-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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.104.0
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.