Build Information
Successful build of danger-swift, reference 3.23.1 (8c6b77), with Swift 6.4 for Linux on 24 Oct 2026 01:31:36 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886770-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:linux-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/danger/swift.git
Reference: 3.23.1
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/danger/swift
* tag 3.23.1 -> FETCH_HEAD
HEAD is now at 8c6b77e Version 3.23.1
Cloned https://github.com/danger/swift.git
Revision (git rev-parse @):
8c6b77e0fea1f94290cff0dcd30c87dd93342dca
SUCCESS checkout https://github.com/danger/swift.git at 3.23.1
========================================
Build
========================================
Selected platform: linux
Swift version: 6.4
Building package at path: $PWD
https://github.com/danger/swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-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:linux-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
linux-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:ad3afec1d6cff9a88dbd06b5b923cd7d46d6f55cc44d4c49fe48cde94ee812a7
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.4-latest
Fetching https://github.com/nerdishbynature/octokit.swift
Fetching https://github.com/mxcl/Version
Fetching https://github.com/shibapm/Logger
[1/311] Fetching version
[123/427] Fetching version, logger
[428/5715] Fetching version, logger, octokit.swift
Fetched https://github.com/shibapm/Logger (0.64s)
Fetched https://github.com/mxcl/Version (0.64s)
Fetched https://github.com/nerdishbynature/octokit.swift (0.64s)
Computing version for https://github.com/nerdishbynature/octokit.swift
Computed https://github.com/nerdishbynature/octokit.swift at 0.14.0 (0.79s)
Fetching https://github.com/nerdishbynature/RequestKit.git
[1/1693] Fetching requestkit
Fetched https://github.com/nerdishbynature/RequestKit.git (0.41s)
Computing version for https://github.com/nerdishbynature/RequestKit.git
Computed https://github.com/nerdishbynature/RequestKit.git at 3.4.0 (1.28s)
Computing version for https://github.com/mxcl/Version
Computed https://github.com/mxcl/Version at 2.2.1 (0.18s)
Computing version for https://github.com/shibapm/Logger
Computed https://github.com/shibapm/Logger at 0.2.3 (0.92s)
Creating working copy for https://github.com/nerdishbynature/octokit.swift
Working copy of https://github.com/nerdishbynature/octokit.swift resolved at 0.14.0
Creating working copy for https://github.com/shibapm/Logger
Working copy of https://github.com/shibapm/Logger resolved at 0.2.3
Creating working copy for https://github.com/mxcl/Version
Working copy of https://github.com/mxcl/Version resolved at 2.2.1
Creating working copy for https://github.com/nerdishbynature/RequestKit.git
Working copy of https://github.com/nerdishbynature/RequestKit.git resolved at 3.4.0
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 389]
[Constructing 324 / 841]
[90 / 172] Version
[101 / 172] Version-product
[114 / 172] RequestKit
[117 / 173]
[119 / 183] OctoKit
[122 / 192] RunnerLib
[130 / 193] OctoKit
/host/spi-builder-workspace/Sources/DangerShellExecutor/ShellExecutor.swift:113:13: [1;33mwarning: [1;39mmutation of captured var 'stdoutString' in concurrently-executing code; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m111 |[0;0m // Pull out the STDOUT as a string because we'll need that regardless
[0;36m112 |[0;0m let stdoutData = stdout.fileHandleForReading.readDataToEndOfFile()
[0;36m113 |[0;0m stdoutString = String(data: stdoutData, encoding: .utf8) ?? ""
[0;36m|[0;0m `- [1;33mwarning: [1;39mmutation of captured var 'stdoutString' in concurrently-executing code; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m114 |[0;0m }
[0;36m115 |[0;0m
/host/spi-builder-workspace/Sources/DangerShellExecutor/ShellExecutor.swift:118:13: [1;33mwarning: [1;39mmutation of captured var 'stderrData' in concurrently-executing code; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m116 |[0;0m outputQueue.async(group: group, qos: .userInitiated) {
[0;36m117 |[0;0m // Read from STDERR to ensure the `Pipe` does not fill up
[0;36m118 |[0;0m stderrData = stderr.fileHandleForReading.readDataToEndOfFile()
[0;36m|[0;0m `- [1;33mwarning: [1;39mmutation of captured var 'stderrData' in concurrently-executing code; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m119 |[0;0m }
[0;36m120 |[0;0m
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[141 / 195] RunnerLib
[145 / 196] OctoKit
[152 / 197] RunnerLib
[153 / 197] RunnerLib
[157 / 197] OctoKit
[166 / 208] OctoKit
/host/spi-builder-workspace/Sources/DangerDependenciesResolver/FileCreator.swift:9:29: [1;33mwarning: [1;39mresult of call to 'createFile(atPath:contents:attributes:)' is unused[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m7 |[0;0m struct FileCreator: FileCreating {
[0;36m8 |[0;0m func createFile(atPath path: String, contents: Data) {
[0;36m9 |[0;0m FileManager.default.createFile(atPath: path, contents: contents, attributes: [:])
[0;36m|[0;0m `- [1;33mwarning: [1;39mresult of call to 'createFile(atPath:contents:attributes:)' is unused[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m10 |[0;0m }
[0;36m11 |[0;0m }
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
[168 / 217] DangerDependenciesResolver
[171 / 217] DangerDependenciesResolver
[177 / 217] DangerDependenciesResolver
/host/spi-builder-workspace/Sources/DangerDependenciesResolver/Script.swift:76:37: [1;33mwarning: [1;39mresult of call to 'createFile(atPath:contents:attributes:)' is unused[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m74 |[0;0m
[0;36m75 |[0;0m do {
[0;36m76 |[0;0m try FileManager.default.createFile(atPath: folder.appendingPath("Package.swift"),
[0;36m|[0;0m `- [1;33mwarning: [1;39mresult of call to 'createFile(atPath:contents:attributes:)' is unused[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m77 |[0;0m contents: packageManager.makePackageDescription(for: script),
[0;36m78 |[0;0m attributes: [:])
/host/spi-builder-workspace/Sources/DangerDependenciesResolver/Script.swift:106:33: [1;33mwarning: [1;39mresult of call to 'createFile(atPath:contents:attributes:)' is unused[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m104 |[0;0m let moduleFolder = try sourcesFolder.createSubfolder(withName: filePath.nameExcludingExtension)
[0;36m105 |[0;0m
[0;36m106 |[0;0m try FileManager.default.createFile(atPath: moduleFolder.appendingPath("main.swift"),
[0;36m|[0;0m `- [1;33mwarning: [1;39mresult of call to 'createFile(atPath:contents:attributes:)' is unused[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m107 |[0;0m contents: Data(String(contentsOfFile: filePath).utf8),
[0;36m108 |[0;0m attributes: [:])
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
[185 / 218] OctoKit
[190 / 219] Danger
[198 / 226] Danger
[202 / 226] danger-swift-product
/host/spi-builder-workspace/Sources/Runner/Commands/Edit.swift:20:9: [1;33mwarning: [1;39mimmutable value 'absoluteLibPath' was never used; consider removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m18 |[0;0m }
[0;36m19 |[0;0m
[0;36m20 |[0;0m let absoluteLibPath: String
[0;36m|[0;0m `- [1;33mwarning: [1;39mimmutable value 'absoluteLibPath' was never used; consider removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m21 |[0;0m let libsImport: [String]
[0;36m22 |[0;0m
/host/spi-builder-workspace/Sources/Runner/Commands/Edit.swift:21:9: [1;33mwarning: [1;39mimmutable value 'libsImport' was never used; consider removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m19 |[0;0m
[0;36m20 |[0;0m let absoluteLibPath: String
[0;36m21 |[0;0m let libsImport: [String]
[0;36m|[0;0m `- [1;33mwarning: [1;39mimmutable value 'libsImport' was never used; consider removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m22 |[0;0m
[0;36m23 |[0;0m if let spmDanger = SPMDanger() {
/host/spi-builder-workspace/Sources/Runner/Commands/Edit.swift:60:25: [1;33mwarning: [1;39mresult of call to 'createFile(atPath:contents:attributes:)' is unused[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m58 |[0;0m let data = Data(template.utf8)
[0;36m59 |[0;0m
[0;36m60 |[0;0m FileManager.default.createFile(atPath: dangerfilePath, contents: data, attributes: [:])
[0;36m|[0;0m `- [1;33mwarning: [1;39mresult of call to 'createFile(atPath:contents:attributes:)' is unused[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m61 |[0;0m }
[0;36m62 |[0;0m
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
[212 / 240] Danger-Swift
[229 / 240] DangerFixtures
/host/spi-builder-workspace/Sources/Danger/Danger.swift:55:66: [1;33mwarning: [1;39mconverting non-Sendable function value to '@Sendable (any Decoder) throws -> Date' may introduce data races[0;0m
[0;36m53 |[0;0m do {
[0;36m54 |[0;0m let decoder = JSONDecoder()
[0;36m55 |[0;0m decoder.dateDecodingStrategy = .custom(DateFormatter.dateFormatterHandler)
[0;36m|[0;0m `- [1;33mwarning: [1;39mconverting non-Sendable function value to '@Sendable (any Decoder) throws -> Date' may introduce data races[0;0m
[0;36m56 |[0;0m logger.debug("Decoding the DSL into Swift types")
[0;36m57 |[0;0m dsl = try decoder.decode(DSL.self, from: dslJSONContents).danger
/host/spi-builder-workspace/Sources/DangerFixtures/DangerFixtures.swift:20:58: [1;33mwarning: [1;39mconverting non-Sendable function value to '@Sendable (any Decoder) throws -> Date' may introduce data races[0;0m
[0;36m18 |[0;0m let dslJSONContents = Data(body.utf8)
[0;36m19 |[0;0m let decoder = JSONDecoder()
[0;36m20 |[0;0m decoder.dateDecodingStrategy = .custom(DateFormatter.dateFormatterHandler)
[0;36m|[0;0m `- [1;33mwarning: [1;39mconverting non-Sendable function value to '@Sendable (any Decoder) throws -> Date' may introduce data races[0;0m
[0;36m21 |[0;0m return try! decoder.decode(DSL.self, from: dslJSONContents).danger // swiftlint:disable:this force_try
[0;36m22 |[0;0m }
[236 / 242] danger-swift-product
[236 / 242] Danger
Build complete! (7.62 secs)
Build complete.
{
"dependencies" : [
{
"identity" : "logger",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/shibapm/Logger"
},
{
"identity" : "version",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.1",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/mxcl/Version"
},
{
"identity" : "octokit.swift",
"requirement" : {
"range" : [
{
"lower_bound" : "0.13.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/nerdishbynature/octokit.swift"
}
],
"manifest_display_name" : "danger-swift",
"name" : "danger-swift",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Danger",
"targets" : [
"Danger"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "DangerFixtures",
"targets" : [
"DangerFixtures"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "danger-swift",
"targets" : [
"Runner"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "RunnerLib",
"module_type" : "SwiftTarget",
"name" : "RunnerLib",
"path" : "Sources/RunnerLib",
"product_dependencies" : [
"Logger",
"Version"
],
"product_memberships" : [
"danger-swift"
],
"sources" : [
"CliArgs/CliArgs.swift",
"CliArgs/CliArgsParser.swift",
"DangerCommand.swift",
"DangerJSVersionFinder.swift",
"DangerSwiftOption.swift",
"DangerfileArgumentsPath.swift",
"Files Import/DangerFileGenerator.swift",
"Files Import/ImportsFinder.swift",
"GetDangerJSPath.swift",
"HelpMessagePresenter.swift",
"NSRegularExpression+FilesImport.swift",
"Runtime.swift",
"SPMDanger.swift",
"String+Path.swift",
"VersionChecker.swift"
],
"target_dependencies" : [
"DangerShellExecutor"
],
"type" : "library"
},
{
"c99name" : "Runner",
"module_type" : "SwiftTarget",
"name" : "Runner",
"path" : "Sources/Runner",
"product_dependencies" : [
"Logger"
],
"product_memberships" : [
"danger-swift"
],
"sources" : [
"Commands/Edit.swift",
"Commands/RunDangerJS.swift",
"Commands/Runner.swift",
"MarathonScriptManager.swift",
"main.swift"
],
"target_dependencies" : [
"RunnerLib",
"DangerDependenciesResolver"
],
"type" : "executable"
},
{
"c99name" : "DangerShellExecutor",
"module_type" : "SwiftTarget",
"name" : "DangerShellExecutor",
"path" : "Sources/DangerShellExecutor",
"product_memberships" : [
"Danger",
"DangerFixtures",
"danger-swift"
],
"sources" : [
"ShellExecutor.swift"
],
"type" : "library"
},
{
"c99name" : "DangerFixtures",
"module_type" : "SwiftTarget",
"name" : "DangerFixtures",
"path" : "Sources/DangerFixtures",
"product_memberships" : [
"DangerFixtures"
],
"sources" : [
"DangerDSLResources/CustomGitHubDSL.swift",
"DangerDSLResources/DSLBitBucketCloudJSON.swift",
"DangerDSLResources/DSLGitLabGroupMilestone.swift",
"DangerDSLResources/DSLGitLabProjectMilestone.swift",
"DangerDSLResources/DangerDLSBitBucketServer.swift",
"DangerDSLResources/DangerDLSBitBucketServerForkedRepo.swift",
"DangerDSLResources/DangerDSLGitHub.swift",
"DangerDSLResources/DangerDSLGitHubEnterprise.swift",
"DangerDSLResources/DangerDSLGitLab.swift",
"DangerDSLResources/DangerDSLGitLabMilestoneNoDateRange.swift",
"DangerFixtures.swift"
],
"target_dependencies" : [
"Danger"
],
"type" : "library"
},
{
"c99name" : "DangerDependenciesResolver",
"module_type" : "SwiftTarget",
"name" : "DangerDependenciesResolver",
"path" : "Sources/DangerDependenciesResolver",
"product_dependencies" : [
"Version",
"Logger"
],
"product_memberships" : [
"danger-swift"
],
"sources" : [
"Data+Encoding.swift",
"FileCreator.swift",
"FileReader.swift",
"InlineDependenciesFinder.swift",
"Package.swift",
"PackageDataProvider.swift",
"PackageGenerator.swift",
"PackageListMaker.swift",
"PackageManager.swift",
"Script.swift",
"URL+RemoteRepository.swift"
],
"target_dependencies" : [
"DangerShellExecutor"
],
"type" : "library"
},
{
"c99name" : "Danger_Swift",
"module_type" : "SwiftTarget",
"name" : "Danger-Swift",
"path" : "Sources/Danger-Swift",
"sources" : [
"Fake.swift"
],
"target_dependencies" : [
"Danger"
],
"type" : "library"
},
{
"c99name" : "Danger",
"module_type" : "SwiftTarget",
"name" : "Danger",
"path" : "Sources/Danger",
"product_dependencies" : [
"OctoKit",
"Logger"
],
"product_memberships" : [
"Danger",
"DangerFixtures"
],
"sources" : [
"BitBucketCloud.swift",
"BitBucketMetadata.swift",
"BitBucketServerDSL.swift",
"Danger.swift",
"DangerDSL.swift",
"DangerResults.swift",
"DangerUtils.swift",
"Extensions/DateFormatterExtensions.swift",
"Extensions/NSRegularExpressionExtensions.swift",
"File.swift",
"GitDSL.swift",
"GitDiff.swift",
"GitHubDSL.swift",
"GitLabDSL.swift",
"Plugins/SwiftLint/CurrentPathProvider.swift",
"Plugins/SwiftLint/SwiftLint.swift",
"Plugins/SwiftLint/SwiftLintViolation.swift",
"Plugins/SwiftLint/SwiftlintReportDeleter.swift",
"Report.swift",
"Settings.swift"
],
"target_dependencies" : [
"DangerShellExecutor"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
linux-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:ad3afec1d6cff9a88dbd06b5b923cd7d46d6f55cc44d4c49fe48cde94ee812a7
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.4-latest
Done.