The Swift Package Index logo.Swift Package Index

Build Information

Successful build of danger-swift, reference 3.23.1 (8c6b77), with Swift 6.4 for Android on 24 Oct 2026 01:34:40 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886770-2":/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:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build 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:         android
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-2":/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:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:1ec638249ee9496bfd8413990a8663326bfd4883adb2b1d6b616fd753c8ff99b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Fetching https://github.com/nerdishbynature/octokit.swift
Fetching https://github.com/shibapm/Logger
[1/116] Fetching logger
[30/5404] Fetching logger, octokit.swift
Fetching https://github.com/mxcl/Version
Fetched https://github.com/nerdishbynature/octokit.swift (0.61s)
[30/427] Fetching logger, version
Fetched https://github.com/shibapm/Logger (0.99s)
Fetched https://github.com/mxcl/Version (0.39s)
Computing version for https://github.com/nerdishbynature/octokit.swift
Computed https://github.com/nerdishbynature/octokit.swift at 0.14.0 (1.19s)
Fetching https://github.com/nerdishbynature/RequestKit.git
[17/1693] Fetching requestkit
Fetched https://github.com/nerdishbynature/RequestKit.git (0.43s)
Computing version for https://github.com/nerdishbynature/RequestKit.git
Computed https://github.com/nerdishbynature/RequestKit.git at 3.4.0 (1.53s)
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.94s)
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/shibapm/Logger
Working copy of https://github.com/shibapm/Logger resolved at 0.2.3
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.4.0
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 389]
[Constructing 1 / 841]
[90 / 172] Version
[94 / 172] Version
[113 / 172] RequestKit
[116 / 172] RequestKit-product
[119 / 183] RunnerLib
[120 / 192] OctoKit
[121 / 192] RunnerLib
[132 / 192] RunnerLib
[133 / 192] RunnerLib
[135 / 192] RunnerLib
[137 / 192] RunnerLib
[138 / 192] Logger
[140 / 193] RunnerLib
[141 / 193] RunnerLib
[143 / 194] RunnerLib
[145 / 194] RunnerLib
[146 / 194] OctoKit-product
/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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
119 |         }
120 |
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[148 / 195] OctoKit-product
/host/spi-builder-workspace/Sources/DangerDependenciesResolver/FileCreator.swift:9:29: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
10 |     }
11 | }
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
[163 / 206] DangerDependenciesResolver
[166 / 206] DangerDependenciesResolver
[176 / 214] danger-swift-product
[180 / 224] danger-swift-product
[182 / 224] danger-swift-product
/host/spi-builder-workspace/Sources/Runner/Commands/Edit.swift:20:9: warning: immutable value 'absoluteLibPath' was never used; consider removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
18 |     }
19 |
20 |     let absoluteLibPath: String
   |         `- warning: immutable value 'absoluteLibPath' was never used; consider removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
19 |
20 |     let absoluteLibPath: String
21 |     let libsImport: [String]
   |         `- warning: immutable value 'libsImport' was never used; consider removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
61 | }
62 |
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
[192 / 225] Danger
/host/spi-builder-workspace/Sources/DangerDependenciesResolver/Script.swift:76:37: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
 74 |
 75 |         do {
 76 |             try FileManager.default.createFile(atPath: folder.appendingPath("Package.swift"),
    |                                     `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
107 |                                            contents: Data(String(contentsOfFile: filePath).utf8),
108 |                                            attributes: [:])
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
[198 / 227] danger-swift-product
[203 / 227] RunnerLib
[215 / 240] Danger-Swift
[226 / 241] DangerFixtures
/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 | }
/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
[234 / 241] DangerFixtures
[236 / 242] Danger
[242 / 243] Danger-product
Build complete! (10.98 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"
}
android-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:1ec638249ee9496bfd8413990a8663326bfd4883adb2b1d6b616fd753c8ff99b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Done.