The Swift Package Index logo.Swift Package Index

Build Information

Successful build of danger-swift, reference 3.22.1 (434d7c), with Swift 6.0 for Linux on 6 Dec 2025 10:41:52 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build 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.0
Building package at path:  $PWD
https://github.com/danger/swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:d50cceb83aba9237d7903cc3c4ef7bd8f8bfaaf83777b35554908a03d392fd03
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/nerdishbynature/octokit.swift
Fetching https://github.com/shibapm/Logger
Fetching https://github.com/mxcl/Version
[1/293] Fetching version
[2/409] Fetching version, logger
[399/5409] Fetching version, logger, octokit.swift
Fetched https://github.com/mxcl/Version from cache (0.43s)
[1566/5116] Fetching logger, octokit.swift
Fetched https://github.com/shibapm/Logger from cache (0.69s)
Fetched https://github.com/nerdishbynature/octokit.swift from cache (0.71s)
Computing version for https://github.com/nerdishbynature/octokit.swift
Computed https://github.com/nerdishbynature/octokit.swift at 0.14.0 (1.24s)
Fetching https://github.com/nerdishbynature/RequestKit.git
[1/1554] Fetching requestkit
Fetched https://github.com/nerdishbynature/RequestKit.git from cache (0.41s)
Computing version for https://github.com/nerdishbynature/RequestKit.git
Computed https://github.com/nerdishbynature/RequestKit.git at 3.3.0 (4.46s)
Computing version for https://github.com/mxcl/Version
Computed https://github.com/mxcl/Version at 2.2.0 (1.21s)
Computing version for https://github.com/shibapm/Logger
Computed https://github.com/shibapm/Logger at 0.2.3 (4.08s)
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
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/nerdishbynature/octokit.swift
Working copy of https://github.com/nerdishbynature/octokit.swift resolved at 0.14.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 Logger
[14/34] Emitting module Version
[15/34] Compiling Version Version+Range.swift
[16/34] Compiling Version Version.swift
[17/34] Compiling Version Version+Codable.swift
[18/34] Compiling Version Version+Comparable.swift
[19/34] Compiling Version Version+Foundation.swift
[21/35] Compiling Logger Logger.swift
[22/36] Emitting module DangerShellExecutor
[23/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
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
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
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
119 |         }
120 |
[26/37] Compiling RequestKit RequestKitSession.swift
[27/37] Compiling RequestKit JSONPostRouter.swift
[28/37] Emitting module RequestKit
[29/37] Compiling RequestKit Router.swift
[30/38] Wrapping AST for Logger for debugging
[31/38] Wrapping AST for DangerShellExecutor for debugging
[32/38] Wrapping AST for Version for debugging
[34/90] Compiling OctoKit Git.swift
[35/90] Compiling OctoKit Issue.swift
[36/90] Emitting module DangerDependenciesResolver
[39/92] Emitting module RunnerLib
[40/92] Compiling OctoKit Label.swift
[41/92] Compiling OctoKit Milestone.swift
[42/92] Compiling OctoKit NotificationThread.swift
[43/92] Compiling OctoKit Octokit.swift
[44/92] Compiling DangerDependenciesResolver URL+RemoteRepository.swift
[45/92] Compiling OctoKit PreviewHeader.swift
[46/92] Compiling OctoKit PublicKey.swift
[47/92] Compiling OctoKit Organization.swift
[48/92] Compiling OctoKit Parameters.swift
[49/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
 74 |
 75 |         do {
 76 |             try FileManager.default.createFile(atPath: folder.appendingPath("Package.swift"),
    |                                     `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
 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
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
107 |                                            contents: Data(String(contentsOfFile: filePath).utf8),
108 |                                            attributes: [:])
[50/92] Compiling OctoKit Repositories.swift
[51/92] Compiling OctoKit Plan.swift
[52/92] Compiling OctoKit Reactions.swift
[53/92] Compiling OctoKit Releases.swift
[54/92] Compiling DangerDependenciesResolver PackageManager.swift
[55/92] Compiling DangerDependenciesResolver PackageGenerator.swift
/host/spi-builder-workspace/Sources/DangerDependenciesResolver/FileCreator.swift:9:29: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
 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
10 |     }
11 | }
/host/spi-builder-workspace/Sources/DangerDependenciesResolver/FileCreator.swift:9:29: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
 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
10 |     }
11 | }
[58/92] Compiling DangerDependenciesResolver PackageListMaker.swift
[61/93] Compiling RunnerLib VersionChecker.swift
[64/94] Compiling OctoKit Statuses.swift
[65/94] Compiling OctoKit String+PercentEncoding.swift
[66/94] Compiling OctoKit Team.swift
[67/97] Emitting module OctoKit
[67/97] Wrapping AST for DangerDependenciesResolver for debugging
[68/97] Wrapping AST for RunnerLib for debugging
[70/97] Compiling OctoKit Review.swift
[71/97] Compiling OctoKit Search.swift
[72/97] Compiling OctoKit Stars.swift
[73/103] Compiling OctoKit Time.swift
[74/103] Compiling OctoKit URL+URLParameters.swift
[75/103] Compiling OctoKit User.swift
[76/103] Compiling Runner MarathonScriptManager.swift
[77/103] Compiling Runner main.swift
[78/103] Emitting module Runner
[79/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
18 |     }
19 |
20 |     let absoluteLibPath: String
   |         `- warning: immutable value 'absoluteLibPath' was never used; consider removing it
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
19 |
20 |     let absoluteLibPath: String
21 |     let libsImport: [String]
   |         `- warning: immutable value 'libsImport' was never used; consider removing it
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
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
61 | }
62 |
[80/103] Compiling Runner Runner.swift
[81/103] Compiling Runner RunDangerJS.swift
[90/104] Compiling OctoKit PullRequest.swift
[95/104] Compiling OctoKit Configuration.swift
[96/104] Compiling OctoKit File.swift
[97/104] Compiling OctoKit Follow.swift
[98/104] Compiling OctoKit Gist.swift
[101/105] Wrapping AST for Runner for debugging
[102/105] Write Objects.LinkFileList
[104/105] Linking danger-swift
[106/124] Emitting module Danger
[107/126] Compiling Danger Danger.swift
[108/126] Compiling Danger DangerDSL.swift
[109/126] Compiling Danger DangerResults.swift
[110/126] Compiling Danger Report.swift
[111/126] Compiling Danger Settings.swift
[112/126] Compiling Danger BitBucketCloud.swift
[113/126] Compiling Danger BitBucketMetadata.swift
[114/126] Compiling Danger BitBucketServerDSL.swift
[115/126] Compiling Danger SwiftLintViolation.swift
[116/126] Compiling Danger SwiftlintReportDeleter.swift
[117/126] Compiling Danger CurrentPathProvider.swift
[118/126] Compiling Danger SwiftLint.swift
[119/126] Compiling Danger File.swift
[120/126] Compiling Danger GitDSL.swift
[121/126] Compiling Danger GitDiff.swift
[122/126] Compiling Danger DangerUtils.swift
[123/126] Compiling Danger DateFormatterExtensions.swift
[124/126] Compiling Danger NSRegularExpressionExtensions.swift
[125/126] Compiling Danger GitHubDSL.swift
[126/126] Compiling Danger GitLabDSL.swift
[128/140] Compiling Danger_Swift Fake.swift
[129/140] Emitting module Danger_Swift
[130/141] Compiling DangerFixtures DangerDSLGitLab.swift
[131/141] Compiling DangerFixtures DangerDSLGitLabMilestoneNoDateRange.swift
[132/142] Compiling DangerFixtures DangerDSLGitHub.swift
[133/142] Compiling DangerFixtures DSLGitLabGroupMilestone.swift
[134/142] Compiling DangerFixtures DSLGitLabProjectMilestone.swift
[135/142] Compiling DangerFixtures DangerDLSBitBucketServer.swift
[136/142] Compiling DangerFixtures DangerDLSBitBucketServerForkedRepo.swift
[137/142] Compiling DangerFixtures DangerDSLGitHubEnterprise.swift
[139/142] Emitting module DangerFixtures
[140/142] Compiling DangerFixtures CustomGitHubDSL.swift
[141/142] Compiling DangerFixtures DSLBitBucketCloudJSON.swift
[142/142] Compiling DangerFixtures DangerFixtures.swift
Build complete! (38.61s)
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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:d50cceb83aba9237d7903cc3c4ef7bd8f8bfaaf83777b35554908a03d392fd03
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.