Build Information
Successful build of danger-swift, reference 3.22.1 (434d7c), with Swift 6.2 for Linux on 6 Dec 2025 10:41:27 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/danger/swift.git
Reference: 3.22.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.22.1 -> FETCH_HEAD
HEAD is now at 434d7c2 Version 3.22.1
Cloned https://github.com/danger/swift.git
Revision (git rev-parse @):
434d7c25f3b02d490a340b23f5e78dd15a5670bc
SUCCESS checkout https://github.com/danger/swift.git at 3.22.1
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/danger/swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:36dcf51aceebb7518dd97346bbe30fd556b23ffe7a4d72d70473700580e8e541
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/mxcl/Version
Fetching https://github.com/shibapm/Logger
Fetching https://github.com/nerdishbynature/octokit.swift
[1/116] Fetching logger
[117/409] Fetching logger, version
[390/5409] Fetching logger, version, octokit.swift
Fetched https://github.com/shibapm/Logger from cache (0.24s)
[1273/5293] Fetching version, octokit.swift
Fetched https://github.com/mxcl/Version from cache (0.24s)
[1050/5000] Fetching octokit.swift
Fetched https://github.com/nerdishbynature/octokit.swift from cache (0.39s)
Computing version for https://github.com/nerdishbynature/octokit.swift
Computed https://github.com/nerdishbynature/octokit.swift at 0.14.0 (0.74s)
Fetching https://github.com/nerdishbynature/RequestKit.git
[1/1554] Fetching requestkit
Fetched https://github.com/nerdishbynature/RequestKit.git from cache (0.27s)
Computing version for https://github.com/nerdishbynature/RequestKit.git
Computed https://github.com/nerdishbynature/RequestKit.git at 3.3.0 (2.93s)
Computing version for https://github.com/mxcl/Version
Computed https://github.com/mxcl/Version at 2.2.0 (0.51s)
Computing version for https://github.com/shibapm/Logger
Computed https://github.com/shibapm/Logger at 0.2.3 (3.40s)
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/nerdishbynature/RequestKit.git
Working copy of https://github.com/nerdishbynature/RequestKit.git resolved at 3.3.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.0
warning: 'octokit.swift': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/.build/checkouts/octokit.swift/OctoKit/Info.plist
Building for debugging...
[0/20] Write sources
[11/20] Write swift-version-24593BA9C3E375BF.txt
[13/34] Emitting module DangerShellExecutor
[14/34] Compiling Version Version.swift
[15/34] Compiling Version Version+Range.swift
[16/34] Emitting module Version
[17/34] Compiling Version Version+Codable.swift
[18/34] Compiling Logger Logger.swift
[19/34] Emitting module Logger
[21/35] Compiling RequestKit JSONPostRouter.swift
[22/35] Emitting module RequestKit
[23/35] Compiling Version Version+Comparable.swift
[24/35] Compiling Version Version+Foundation.swift
[25/36] Compiling DangerShellExecutor ShellExecutor.swift
/host/spi-builder-workspace/Sources/DangerShellExecutor/ShellExecutor.swift:113:13: warning: mutation of captured var 'stdoutString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
111 | // Pull out the STDOUT as a string because we'll need that regardless
112 | let stdoutData = stdout.fileHandleForReading.readDataToEndOfFile()
113 | stdoutString = String(data: stdoutData, encoding: .utf8) ?? ""
| `- warning: mutation of captured var 'stdoutString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
114 | }
115 |
/host/spi-builder-workspace/Sources/DangerShellExecutor/ShellExecutor.swift:118:13: warning: mutation of captured var 'stderrData' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
116 | outputQueue.async(group: group, qos: .userInitiated) {
117 | // Read from STDERR to ensure the `Pipe` does not fill up
118 | stderrData = stderr.fileHandleForReading.readDataToEndOfFile()
| `- warning: mutation of captured var 'stderrData' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
119 | }
120 |
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[25/37] Wrapping AST for Logger for debugging
[28/37] Compiling RequestKit RequestKitSession.swift
[29/37] Wrapping AST for Version for debugging
[30/37] Wrapping AST for DangerShellExecutor for debugging
[32/63] Compiling RequestKit Router.swift
[34/64] Emitting module RunnerLib
[35/65] Compiling DangerDependenciesResolver Package.swift
[36/65] Compiling DangerDependenciesResolver PackageDataProvider.swift
[37/65] Compiling DangerDependenciesResolver PackageListMaker.swift
[38/66] Compiling DangerDependenciesResolver Data+Encoding.swift
[39/66] Compiling DangerDependenciesResolver FileCreator.swift
[40/66] Compiling DangerDependenciesResolver FileReader.swift
[41/66] Compiling DangerDependenciesResolver InlineDependenciesFinder.swift
[42/92] Compiling OctoKit Plan.swift
[43/92] Compiling OctoKit PreviewHeader.swift
[44/92] Compiling OctoKit NotificationThread.swift
[45/92] Compiling OctoKit Octokit.swift
[46/92] Compiling OctoKit PublicKey.swift
[47/92] Compiling OctoKit PullRequest.swift
[48/92] Compiling DangerDependenciesResolver URL+RemoteRepository.swift
[49/92] Compiling OctoKit Follow.swift
[50/92] Compiling OctoKit Gist.swift
[51/92] Compiling DangerDependenciesResolver PackageGenerator.swift
[52/92] Compiling DangerDependenciesResolver Script.swift
/host/spi-builder-workspace/Sources/DangerDependenciesResolver/Script.swift:76:37: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
74 |
75 | do {
76 | try FileManager.default.createFile(atPath: folder.appendingPath("Package.swift"),
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
77 | contents: packageManager.makePackageDescription(for: script),
78 | attributes: [:])
/host/spi-builder-workspace/Sources/DangerDependenciesResolver/Script.swift:106:33: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
104 | let moduleFolder = try sourcesFolder.createSubfolder(withName: filePath.nameExcludingExtension)
105 |
106 | try FileManager.default.createFile(atPath: moduleFolder.appendingPath("main.swift"),
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
107 | contents: Data(String(contentsOfFile: filePath).utf8),
108 | attributes: [:])
[53/92] Compiling DangerDependenciesResolver PackageManager.swift
[54/92] Compiling RunnerLib VersionChecker.swift
[55/93] Wrapping AST for RunnerLib for debugging
[57/93] Compiling OctoKit Statuses.swift
[58/93] Compiling OctoKit String+PercentEncoding.swift
[59/93] Compiling OctoKit Team.swift
[60/93] Compiling OctoKit Configuration.swift
[61/93] Compiling OctoKit File.swift
[62/93] Compiling OctoKit Git.swift
[63/93] Compiling OctoKit Issue.swift
[64/96] Emitting module DangerDependenciesResolver
[65/96] Compiling OctoKit Label.swift
/host/spi-builder-workspace/Sources/DangerDependenciesResolver/FileCreator.swift:9:29: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
7 | struct FileCreator: FileCreating {
8 | func createFile(atPath path: String, contents: Data) {
9 | FileManager.default.createFile(atPath: path, contents: contents, attributes: [:])
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
10 | }
11 | }
[66/96] Compiling OctoKit Milestone.swift
/host/spi-builder-workspace/Sources/DangerDependenciesResolver/FileCreator.swift:9:29: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
7 | struct FileCreator: FileCreating {
8 | func createFile(atPath path: String, contents: Data) {
9 | FileManager.default.createFile(atPath: path, contents: contents, attributes: [:])
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
10 | }
11 | }
[67/97] Wrapping AST for DangerDependenciesResolver for debugging
[69/103] Compiling Runner main.swift
[70/103] Compiling Runner MarathonScriptManager.swift
[71/103] Emitting module Runner
[72/103] Compiling Runner Edit.swift
/host/spi-builder-workspace/Sources/Runner/Commands/Edit.swift:20:9: warning: immutable value 'absoluteLibPath' was never used; consider removing it [#no-usage]
18 | }
19 |
20 | let absoluteLibPath: String
| `- warning: immutable value 'absoluteLibPath' was never used; consider removing it [#no-usage]
21 | let libsImport: [String]
22 |
/host/spi-builder-workspace/Sources/Runner/Commands/Edit.swift:21:9: warning: immutable value 'libsImport' was never used; consider removing it [#no-usage]
19 |
20 | let absoluteLibPath: String
21 | let libsImport: [String]
| `- warning: immutable value 'libsImport' was never used; consider removing it [#no-usage]
22 |
23 | if let spmDanger = SPMDanger() {
/host/spi-builder-workspace/Sources/Runner/Commands/Edit.swift:60:25: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
58 | let data = Data(template.utf8)
59 |
60 | FileManager.default.createFile(atPath: dangerfilePath, contents: data, attributes: [:])
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
61 | }
62 |
[73/103] Compiling Runner RunDangerJS.swift
[74/103] Compiling Runner Runner.swift
[75/104] Compiling OctoKit Review.swift
[76/104] Compiling OctoKit Search.swift
[77/104] Compiling OctoKit Stars.swift
[78/104] Wrapping AST for Runner for debugging
[79/104] Write Objects.LinkFileList
[93/104] Emitting module OctoKit
[94/104] Compiling OctoKit Time.swift
[95/104] Compiling OctoKit URL+URLParameters.swift
[96/104] Compiling OctoKit User.swift
[96/104] Linking danger-swift
[98/104] Compiling OctoKit Reactions.swift
[99/104] Compiling OctoKit Releases.swift
[100/104] Compiling OctoKit Repositories.swift
[103/104] Compiling OctoKit Organization.swift
[104/104] Compiling OctoKit Parameters.swift
[106/124] Compiling Danger SwiftLintViolation.swift
[107/124] Compiling Danger SwiftlintReportDeleter.swift
[108/126] Compiling Danger CurrentPathProvider.swift
[109/126] Compiling Danger SwiftLint.swift
[110/126] Compiling Danger Report.swift
[111/126] Compiling Danger Settings.swift
[112/126] Compiling Danger Danger.swift
/host/spi-builder-workspace/Sources/Danger/Danger.swift:55:66: warning: converting non-Sendable function value to '@Sendable (any Decoder) throws -> Date' may introduce data races
53 | do {
54 | let decoder = JSONDecoder()
55 | decoder.dateDecodingStrategy = .custom(DateFormatter.dateFormatterHandler)
| `- warning: converting non-Sendable function value to '@Sendable (any Decoder) throws -> Date' may introduce data races
56 | logger.debug("Decoding the DSL into Swift types")
57 | dsl = try decoder.decode(DSL.self, from: dslJSONContents).danger
[113/126] Compiling Danger DangerDSL.swift
/host/spi-builder-workspace/Sources/Danger/Danger.swift:55:66: warning: converting non-Sendable function value to '@Sendable (any Decoder) throws -> Date' may introduce data races
53 | do {
54 | let decoder = JSONDecoder()
55 | decoder.dateDecodingStrategy = .custom(DateFormatter.dateFormatterHandler)
| `- warning: converting non-Sendable function value to '@Sendable (any Decoder) throws -> Date' may introduce data races
56 | logger.debug("Decoding the DSL into Swift types")
57 | dsl = try decoder.decode(DSL.self, from: dslJSONContents).danger
[114/126] Compiling Danger DangerResults.swift
/host/spi-builder-workspace/Sources/Danger/Danger.swift:55:66: warning: converting non-Sendable function value to '@Sendable (any Decoder) throws -> Date' may introduce data races
53 | do {
54 | let decoder = JSONDecoder()
55 | decoder.dateDecodingStrategy = .custom(DateFormatter.dateFormatterHandler)
| `- warning: converting non-Sendable function value to '@Sendable (any Decoder) throws -> Date' may introduce data races
56 | logger.debug("Decoding the DSL into Swift types")
57 | dsl = try decoder.decode(DSL.self, from: dslJSONContents).danger
[115/126] Emitting module Danger
[116/126] Compiling Danger BitBucketCloud.swift
[117/126] Compiling Danger BitBucketMetadata.swift
[118/126] Compiling Danger BitBucketServerDSL.swift
[119/126] Compiling Danger DangerUtils.swift
[120/126] Compiling Danger DateFormatterExtensions.swift
[121/126] Compiling Danger NSRegularExpressionExtensions.swift
[122/126] Compiling Danger GitHubDSL.swift
[123/126] Compiling Danger GitLabDSL.swift
[124/126] Compiling Danger File.swift
[125/126] Compiling Danger GitDSL.swift
[126/126] Compiling Danger GitDiff.swift
[128/140] Emitting module Danger_Swift
[129/140] Compiling DangerFixtures DangerDSLGitLab.swift
[130/140] Compiling DangerFixtures DangerDSLGitHubEnterprise.swift
[131/140] Compiling DangerFixtures DangerDSLGitLabMilestoneNoDateRange.swift
[132/140] Compiling Danger_Swift Fake.swift
[133/142] Compiling DangerFixtures DangerDLSBitBucketServer.swift
[134/142] Compiling DangerFixtures DangerDLSBitBucketServerForkedRepo.swift
[135/142] Compiling DangerFixtures DangerDSLGitHub.swift
[136/142] Compiling DangerFixtures DSLGitLabGroupMilestone.swift
[137/142] Compiling DangerFixtures DSLGitLabProjectMilestone.swift
[138/142] Emitting module DangerFixtures
[139/142] Compiling DangerFixtures CustomGitHubDSL.swift
[140/142] Compiling DangerFixtures DSLBitBucketCloudJSON.swift
[142/142] Compiling DangerFixtures DangerFixtures.swift
/host/spi-builder-workspace/Sources/DangerFixtures/DangerFixtures.swift:20:58: warning: converting non-Sendable function value to '@Sendable (any Decoder) throws -> Date' may introduce data races
18 | let dslJSONContents = Data(body.utf8)
19 | let decoder = JSONDecoder()
20 | decoder.dateDecodingStrategy = .custom(DateFormatter.dateFormatterHandler)
| `- warning: converting non-Sendable function value to '@Sendable (any Decoder) throws -> Date' may introduce data races
21 | return try! decoder.decode(DSL.self, from: dslJSONContents).danger // swiftlint:disable:this force_try
22 | }
Build complete! (43.25s)
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"
}
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:36dcf51aceebb7518dd97346bbe30fd556b23ffe7a4d72d70473700580e8e541
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Done.