Build Information
Successful build of swift-complexity, reference main (adaa33), with Swift 6.4 for Linux on 12 Oct 2026 20:43:26 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344843-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build 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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
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: linux
Swift version: 6.4
Building package at path: $PWD
https://github.com/fummicc1/swift-complexity.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:cb09f0c0d537a8668f02529c380785d189fc75032d54572211355a09e050e122
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/modelcontextprotocol/swift-sdk.git
Fetching https://github.com/jpsim/Yams.git
[1/11882] Fetching yams
[5942/15874] Fetching yams, swift-sdk
[11159/34986] Fetching yams, swift-sdk, swift-argument-parser
Fetched https://github.com/modelcontextprotocol/swift-sdk.git (1.06s)
Fetched https://github.com/jpsim/Yams.git (1.08s)
[1/80467] Fetching swift-syntax
Fetched https://github.com/apple/swift-argument-parser (4.84s)
Fetched https://github.com/swiftlang/swift-syntax.git (4.85s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (6.48s)
Computing version for https://github.com/modelcontextprotocol/swift-sdk.git
Computed https://github.com/modelcontextprotocol/swift-sdk.git at 0.12.1 (1.39s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/mattt/eventsource.git
Fetching https://github.com/apple/swift-log.git
[1/8280] Fetching swift-log
[2/8594] Fetching swift-log, eventsource
[8595/15851] Fetching swift-log, eventsource, swift-system
Fetched https://github.com/apple/swift-log.git (0.67s)
[3508/7571] Fetching eventsource, swift-system
Fetched https://github.com/mattt/eventsource.git (0.81s)
Fetched https://github.com/apple/swift-system.git (0.81s)
[1/86396] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git (4.49s)
Computing version for https://github.com/mattt/eventsource.git
Computed https://github.com/mattt/eventsource.git at 1.5.1 (5.32s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.36s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.24s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (1.02s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.16.1 (0.18s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.104.0 (0.29s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
[1/1889] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git (0.46s)
[1/28744] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.22s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.38s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.2 (0.27s)
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-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/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/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/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/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
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 628]
[Planning deferred tasks]
[130 / 264] Yams
[149 / 275] ArgumentParserToolInfo
[150 / 275] Logging
[162 / 275] Yams
[173 / 275] Yams-product
[176 / 276] Yams-product
[178 / 277] SystemPackage
[178 / 278] SystemPackage
[182 / 278] SystemPackage
[185 / 278] SwiftSyntax600
[194 / 279] Yams
[195 / 279] Logging
[198 / 279] Logging
[199 / 279] Logging
[200 / 279] ArgumentParserToolInfo
[202 / 279] Logging
[209 / 279] CYaml
[216 / 282] Logging
[227 / 310] ArgumentParser
[229 / 311] SwiftSyntax
[230 / 311] ArgumentParser
[232 / 311] ArgumentParser
[236 / 312] MCP
[240 / 312] MCP
[245 / 312] MCP
[246 / 312] SystemPackage
[248 / 312] SwiftSyntax
[249 / 312] MCP
[250 / 312] MCP
[251 / 312] MCP
[252 / 312] MCP
[253 / 312] MCP-product
[256 / 312] ArgumentParserToolInfo
[258 / 312] ArgumentParserToolInfo
[260 / 312] ArgumentParser
[265 / 312] SwiftSyntax
[267 / 312] SwiftSyntax-product
[268 / 312] SwiftSyntax-product
[269 / 313] ArgumentParser
[273 / 315] SwiftDiagnostics
[274 / 333] ArgumentParser
[276 / 333] SwiftParser
[277 / 333] SwiftDiagnostics
[279 / 333] SwiftDiagnostics
[284 / 334] SwiftParser
[287 / 334] SwiftParser
[288 / 334] SwiftParser
[292 / 334] SwiftParser
[293 / 334] SwiftParser-product
[294 / 334] SwiftParser-product
[295 / 334] SwiftParser-product
[297 / 334] SwiftDiagnostics
[299 / 334] SwiftOperators
[301 / 334] SwiftDiagnostics
[303 / 334]
[307 / 344] MCP
[310 / 345] SwiftOperators
[313 / 345] SwiftOperators
[320 / 345] SwiftOperators-product
[328 / 355] SwiftComplexityCore
[329 / 356] SwiftOperators
[332 / 356] SwiftParser
[336 / 357] SwiftComplexityCore
[343 / 365] SwiftComplexityMCP-product
[346 / 365] SwiftComplexityMCP-product
/host/spi-builder-workspace/Sources/SwiftComplexityCore/Processing/FileProcessor.swift:261:35: [1;33mwarning: [1;39m'init(contentsOfFile:)' is deprecated: Use `init(contentsOfFile:encoding:)` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m259 |[0;0m }
[0;36m260 |[0;0m
[0;36m261 |[0;0m let fileContent = try String(contentsOfFile: filePath)
[0;36m|[0;0m `- [1;33mwarning: [1;39m'init(contentsOfFile:)' is deprecated: Use `init(contentsOfFile:encoding:)` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m262 |[0;0m let sourceFile = Parser.parse(source: fileContent)
[0;36m263 |[0;0m
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[349 / 365] SwiftComplexityMCP-product
[350 / 365] SwiftComplexityCore
[353 / 368] SwiftComplexityMCP-product
[356 / 369] SwiftComplexityCLI-product
[357 / 369] SwiftComplexityCore
[359 / 370] SwiftComplexityCLI-product
[362 / 371] SwiftSyntax
[365 / 372] SwiftSyntax
[372 / 372] SwiftComplexityCore-product
[372 / 372] SwiftComplexityCLI-product
Build complete! (36.46 secs)
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" : "/host/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" : "/host/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"
}
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:cb09f0c0d537a8668f02529c380785d189fc75032d54572211355a09e050e122
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Done.