Build Information
Successful build of swift-complexity, reference v1.6.0 (fc21cf), with Swift 6.4 for Linux on 12 Oct 2026 16:39:40 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/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: v1.6.0
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
* 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: 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-0":/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/swiftlang/swift-syntax.git
Fetching https://github.com/modelcontextprotocol/swift-sdk.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/apple/swift-argument-parser
[1/11882] Fetching yams
[2/30994] Fetching yams, swift-argument-parser
[694/34986] Fetching yams, swift-argument-parser, swift-sdk
[30591/115449] Fetching yams, swift-argument-parser, swift-sdk, swift-syntax
Fetched https://github.com/apple/swift-argument-parser (1.60s)
[36795/96337] Fetching yams, swift-sdk, swift-syntax
Fetched https://github.com/jpsim/Yams.git (1.61s)
[26522/84455] Fetching swift-sdk, swift-syntax
Fetched https://github.com/modelcontextprotocol/swift-sdk.git (3.72s)
Fetched https://github.com/swiftlang/swift-syntax.git (3.74s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (4.74s)
Computing version for https://github.com/modelcontextprotocol/swift-sdk.git
Computed https://github.com/modelcontextprotocol/swift-sdk.git at 0.12.1 (0.16s)
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/mattt/eventsource.git
Fetching https://github.com/apple/swift-log.git
[1/314] Fetching eventsource
Fetched https://github.com/mattt/eventsource.git (0.41s)
[1/8280] Fetching swift-log
[8281/15521] Fetching swift-log, swift-system
Fetched https://github.com/apple/swift-log.git (0.78s)
[73/7241] Fetching swift-system
[7242/93637] Fetching swift-system, swift-nio
Fetched https://github.com/apple/swift-system.git (0.98s)
[4320/86396] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git (3.37s)
Computing version for https://github.com/mattt/eventsource.git
Computed https://github.com/mattt/eventsource.git at 1.5.1 (3.53s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.18s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.17s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.19s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.16.1 (0.16s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.104.0 (0.27s)
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.50s)
[1/28703] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.32s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.48s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.2 (0.25s)
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/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-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/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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.104.0
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/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 628]
[Planning deferred tasks]
[131 / 254] CYaml
[153 / 272] Yams
[157 / 272] Yams
[158 / 272] Logging
[168 / 272] Yams-product
[169 / 272] Yams
[172 / 272] SystemPackage
[178 / 272] SystemPackage
[180 / 272] SystemPackage-product
[185 / 273] Yams
[192 / 275] SwiftSyntax
[194 / 276] SwiftSyntax509
[196 / 276] SwiftSyntax509
[199 / 276] MCP
[201 / 276] Logging
[206 / 277] SwiftSyntax600
[211 / 281] _SwiftSyntaxCShims
[216 / 299] MCP
[216 / 299] Logging
[222 / 300] SwiftSyntax
[223 / 300] SwiftSyntax
[224 / 301] SwiftSyntax
[225 / 301] SwiftSyntax
[227 / 301] MCP
[228 / 302] SystemPackage
[229 / 302] MCP
[232 / 302] MCP
[234 / 302] MCP
[238 / 302] MCP
[239 / 302] MCP-product
[240 / 302] MCP-product
[241 / 302] MCP-product
[247 / 302] ArgumentParserToolInfo
[248 / 302]
[249 / 302]
[250 / 303] ArgumentParser
[251 / 312] SystemPackage
[252 / 312] SwiftSyntax
[264 / 312] ArgumentParser
[265 / 312] ArgumentParser
[266 / 312] ArgumentParser-product
[268 / 312] ArgumentParser-product
[269 / 312]
[273 / 315] SwiftDiagnostics
[275 / 333] SwiftDiagnostics
[275 / 333] SystemPackage
[277 / 333] SwiftDiagnostics
[279 / 333] SwiftDiagnostics
[288 / 333] SwiftParser-product
[289 / 334] SwiftParser-product
[291 / 334] SwiftParser
[292 / 334] SwiftParser
[294 / 334] SwiftDiagnostics
[295 / 334] SwiftOperators
[297 / 334] SwiftDiagnostics
[299 / 334] SwiftDiagnostics
[301 / 334] SwiftDiagnostics
[305 / 334]
[306 / 335] SwiftDiagnostics
[310 / 345] SwiftOperators
[312 / 345] SwiftOperators
[320 / 345] SwiftOperators
[328 / 356] SwiftOperators
[329 / 357] SwiftSyntax
[331 / 357] SwiftParser
[333 / 357] SwiftParser
[335 / 357] SwiftComplexityCore
[336 / 357] SwiftComplexityCore
[345 / 365] SwiftComplexityMCP-product
[347 / 365] SwiftComplexityMCP-product
[349 / 365] SwiftComplexityMCP-product
[353 / 368] SwiftComplexityCLI-product
[357 / 369] SwiftComplexityCore
/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>
[359 / 370] SwiftComplexityCLI-product
[362 / 371] SwiftSyntax
[365 / 372] SwiftSyntax
[372 / 372] SwiftComplexityCore-product
[372 / 372] SwiftComplexityCLI-product
Build complete! (38.42 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.