Build Information
Successful build of danger-swift, reference 3.20.2 (e43a19
), with Swift 6.0 for Linux on 2 Nov 2024 11:58:39 UTC.
Swift 6 data race errors: 11
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/danger/swift.git
Reference: 3.20.2
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.20.2 -> FETCH_HEAD
HEAD is now at e43a196 Version 3.20.2
Cloned https://github.com/danger/swift.git
Revision (git rev-parse @):
e43a19617fc905ef303b1af2f0449b99fc6ea0f2
SUCCESS checkout https://github.com/danger/swift.git at 3.20.2
========================================
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-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/shibapm/Logger
Fetching https://github.com/mxcl/Version
Fetching https://github.com/nerdishbynature/octokit.swift
[1/116] Fetching logger
[117/404] Fetching logger, version
[405/4843] Fetching logger, version, octokit.swift
Fetched https://github.com/mxcl/Version from cache (0.35s)
[4467/4555] Fetching logger, octokit.swift
Fetched https://github.com/shibapm/Logger from cache (0.44s)
Fetched https://github.com/nerdishbynature/octokit.swift from cache (0.44s)
Computing version for https://github.com/nerdishbynature/octokit.swift
Computed https://github.com/nerdishbynature/octokit.swift at 0.13.0 (3.36s)
Fetching https://github.com/nicklockwood/SwiftFormat
Fetching https://github.com/nerdishbynature/RequestKit.git
[1/1554] Fetching requestkit
Fetched https://github.com/nerdishbynature/RequestKit.git from cache (0.30s)
[1/45034] Fetching swiftformat
Fetched https://github.com/nicklockwood/SwiftFormat from cache (40.44s)
Computing version for https://github.com/nerdishbynature/RequestKit.git
Computed https://github.com/nerdishbynature/RequestKit.git at 3.3.0 (8.02s)
Computing version for https://github.com/mxcl/Version
Computed https://github.com/mxcl/Version at 2.1.0 (1.83s)
Computing version for https://github.com/shibapm/Logger
Computed https://github.com/shibapm/Logger at 0.2.3 (2.19s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.54.6 (0.58s)
Creating working copy for https://github.com/nerdishbynature/octokit.swift
Working copy of https://github.com/nerdishbynature/octokit.swift resolved at 0.13.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/mxcl/Version
Working copy of https://github.com/mxcl/Version resolved at 2.1.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/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at 0.54.6
[1/1] Compiling plugin SwiftFormatPlugin
Building for debugging...
[1/21] Write sources
[12/21] Write swift-version-24593BA9C3E375BF.txt
[14/35] Emitting module DangerShellExecutor
[15/35] Emitting module Logger
[16/35] Compiling Version Version.swift
[17/35] Compiling Version Version+Range.swift
[18/35] Compiling DangerShellExecutor ShellExecutor.swift
/host/spi-builder-workspace/Sources/DangerShellExecutor/ShellExecutor.swift:68:14: warning: 'launch()' is deprecated: renamed to 'run'
66 | let pipe = Pipe()
67 | task.standardOutput = pipe
68 | task.launch()
| |- warning: 'launch()' is deprecated: renamed to 'run'
| `- note: use 'run' instead
69 |
70 | let data = pipe.fileHandleForReading.readDataToEndOfFile()
/host/spi-builder-workspace/Sources/DangerShellExecutor/ShellExecutor.swift:93:14: warning: 'launch()' is deprecated: renamed to 'run'
91 | let stderr = Pipe()
92 | task.standardError = stderr
93 | task.launch()
| |- warning: 'launch()' is deprecated: renamed to 'run'
| `- note: use 'run' instead
94 |
95 | // Pull out the STDOUT as a string because we'll need that regardless
/host/spi-builder-workspace/Sources/DangerShellExecutor/ShellExecutor.swift:134:14: warning: 'launchPath' is deprecated: renamed to 'executableURL'
132 |
133 | let task = Process()
134 | task.launchPath = "/bin/sh"
| |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
| `- note: use 'executableURL' instead
135 | task.arguments = ["-c", script]
136 | task.environment = mergeEnvs(localEnv: environmentVariables, processEnv: ProcessInfo.processInfo.environment)
/host/spi-builder-workspace/Sources/DangerShellExecutor/ShellExecutor.swift:137:14: warning: 'currentDirectoryPath' is deprecated: renamed to 'currentDirectoryURL'
135 | task.arguments = ["-c", script]
136 | task.environment = mergeEnvs(localEnv: environmentVariables, processEnv: ProcessInfo.processInfo.environment)
137 | task.currentDirectoryPath = FileManager.default.currentDirectoryPath
| |- warning: 'currentDirectoryPath' is deprecated: renamed to 'currentDirectoryURL'
| `- note: use 'currentDirectoryURL' instead
138 | return task
139 | }
[19/36] Emitting module Version
[20/36] Compiling Version Version+Codable.swift
[21/36] Compiling Version Version+Foundation.swift
[22/36] Compiling Version Version+Comparable.swift
[24/37] Wrapping AST for DangerShellExecutor for debugging
[26/37] Compiling Logger Logger.swift
[27/37] Compiling RequestKit JSONPostRouter.swift
[28/37] Emitting module RequestKit
[29/37] Compiling RequestKit Router.swift
[30/37] Compiling RequestKit RequestKitSession.swift
[30/37] Wrapping AST for Version for debugging
[33/39] Wrapping AST for Logger for debugging
[35/89] Emitting module RunnerLib
[36/90] Compiling RunnerLib DangerSwiftOption.swift
[37/90] Compiling RunnerLib DangerfileArgumentsPath.swift
[38/90] Compiling RunnerLib CliArgs.swift
[39/90] Compiling RunnerLib CliArgsParser.swift
[40/90] Compiling RunnerLib DangerCommand.swift
[41/90] Compiling RunnerLib DangerJSVersionFinder.swift
[42/90] Compiling RunnerLib GetDangerJSPath.swift
[43/90] Compiling RunnerLib HelpMessagePresenter.swift
[44/90] Compiling DangerDependenciesResolver PackageListMaker.swift
[45/91] Compiling RunnerLib VersionChecker.swift
[46/91] Compiling RunnerLib SPMDanger.swift
[47/91] Compiling RunnerLib String+Path.swift
[48/91] Compiling RunnerLib NSRegularExpression+FilesImport.swift
[49/91] Compiling RunnerLib Runtime.swift
[50/91] Compiling RunnerLib DangerFileGenerator.swift
[51/91] Compiling RunnerLib ImportsFinder.swift
[52/92] Compiling DangerDependenciesResolver URL+RemoteRepository.swift
[53/92] Compiling DangerDependenciesResolver PackageGenerator.swift
[55/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: [:])
/host/spi-builder-workspace/Sources/DangerDependenciesResolver/Script.swift:204:18: warning: capture of 'self' with non-sendable type 'Script?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
112 | }
113 |
114 | public final class Script {
| `- note: class 'Script' does not conform to the 'Sendable' protocol
115 | enum Errors: Error {
116 | case watchingFailed(String)
:
202 |
203 | dispatchQueue.asyncAfter(deadline: .now() + .seconds(3)) { [weak self] in
204 | try? self?.copyChangesToSymlinkedFile()
| `- warning: capture of 'self' with non-sendable type 'Script?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
205 | try? self?.copyImports(imports)
206 | self?.startCopyLoop(imports: imports)
[56/92] Compiling DangerDependenciesResolver PackageManager.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 | }
[63/92] Emitting module DangerDependenciesResolver
[64/93] Wrapping AST for RunnerLib for debugging
[65/93] Wrapping AST for DangerDependenciesResolver for debugging
[67/99] Emitting module Runner
[68/99] Compiling Runner main.swift
[69/99] Compiling Runner MarathonScriptManager.swift
[70/99] 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 |
[71/99] Compiling OctoKit Stars.swift
[72/99] Compiling OctoKit Statuses.swift
[73/99] Compiling OctoKit String+PercentEncoding.swift
[74/102] Compiling Runner RunDangerJS.swift
/host/spi-builder-workspace/Sources/Runner/Commands/RunDangerJS.swift:25:10: warning: 'launchPath' is deprecated: renamed to 'executableURL'
23 | let proc = Process()
24 | proc.environment = ProcessInfo.processInfo.environment
25 | proc.launchPath = dangerJS
| |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
| `- note: use 'executableURL' instead
26 |
27 | let dangerOptionsIndexes = DangerSwiftOption.allCases
/host/spi-builder-workspace/Sources/Runner/Commands/RunDangerJS.swift:65:35: warning: 'launchPath' is deprecated: renamed to 'executableURL'
63 | proc.standardError = standardOutput
64 |
65 | logger.debug("Running: \(proc.launchPath!) \(proc.arguments!.joined(separator: " ")) ")
| |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
| `- note: use 'executableURL' instead
66 | proc.launch()
67 | proc.waitUntilExit()
/host/spi-builder-workspace/Sources/Runner/Commands/RunDangerJS.swift:66:10: warning: 'launch()' is deprecated: renamed to 'run'
64 |
65 | logger.debug("Running: \(proc.launchPath!) \(proc.arguments!.joined(separator: " ")) ")
66 | proc.launch()
| |- warning: 'launch()' is deprecated: renamed to 'run'
| `- note: use 'run' instead
67 | proc.waitUntilExit()
68 |
[75/102] Compiling Runner Runner.swift
/host/spi-builder-workspace/Sources/Runner/Commands/Runner.swift:155:10: warning: 'launchPath' is deprecated: renamed to 'executableURL'
153 | // Create a process to eval the Swift file
154 | let proc = Process()
155 | proc.launchPath = swiftC
| |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
| `- note: use 'executableURL' instead
156 | proc.arguments = args
157 | let standardOutput = FileHandle.standardOutput
/host/spi-builder-workspace/Sources/Runner/Commands/Runner.swift:162:14: warning: 'currentDirectoryPath' is deprecated: renamed to 'currentDirectoryURL'
160 | let directoryURL = URL(string: CommandLine.arguments[cwdOptionIndex + 1])
161 | {
162 | proc.currentDirectoryPath = directoryURL.absoluteString
| |- warning: 'currentDirectoryPath' is deprecated: renamed to 'currentDirectoryURL'
| `- note: use 'currentDirectoryURL' instead
163 | }
164 | proc.standardOutput = standardOutput
/host/spi-builder-workspace/Sources/Runner/Commands/Runner.swift:167:10: warning: 'launch()' is deprecated: renamed to 'run'
165 | proc.standardError = standardOutput
166 |
167 | proc.launch()
| |- warning: 'launch()' is deprecated: renamed to 'run'
| `- note: use 'run' instead
168 | proc.waitUntilExit()
169 |
[84/103] Emitting module OctoKit
[84/103] Wrapping AST for Runner for debugging
[85/103] Write Objects.LinkFileList
[87/103] Compiling OctoKit Time.swift
[88/103] Compiling OctoKit URL+URLParameters.swift
[89/103] Compiling OctoKit User.swift
[89/103] Linking danger-swift
[95/103] Compiling OctoKit PullRequest.swift
[96/103] Compiling OctoKit Reactions.swift
[97/103] Compiling OctoKit Releases.swift
[101/103] Compiling OctoKit Repositories.swift
[102/103] Compiling OctoKit Review.swift
[103/103] Compiling OctoKit Search.swift
[105/123] Compiling Danger DangerUtils.swift
[106/123] Compiling Danger DateFormatterExtensions.swift
[107/123] Compiling Danger NSRegularExpressionExtensions.swift
[108/125] Compiling Danger SwiftLintViolation.swift
[109/125] Compiling Danger SwiftlintReportDeleter.swift
[110/125] Compiling Danger CurrentPathProvider.swift
/host/spi-builder-workspace/Sources/Danger/Plugins/SwiftLint/SwiftLint.swift:37:16: warning: static property 'danger' is not concurrency-safe because non-'Sendable' type 'DangerDSL' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | static let danger = Danger()
| |- warning: static property 'danger' is not concurrency-safe because non-'Sendable' type 'DangerDSL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'danger' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | static let shellExecutor = ShellExecutor()
39 |
/host/spi-builder-workspace/Sources/Danger/DangerDSL.swift:13:15: note: consider making struct 'DangerDSL' conform to the 'Sendable' protocol
11 | }
12 |
13 | public struct DangerDSL: Decodable {
| `- note: consider making struct 'DangerDSL' conform to the 'Sendable' protocol
14 | public let git: Git
15 |
/host/spi-builder-workspace/Sources/Danger/Plugins/SwiftLint/SwiftLint.swift:38:16: warning: static property 'shellExecutor' is not concurrency-safe because non-'Sendable' type 'ShellExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | static let danger = Danger()
38 | static let shellExecutor = ShellExecutor()
| `- warning: static property 'shellExecutor' is not concurrency-safe because non-'Sendable' type 'ShellExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
39 |
40 | /// When the swiftlintPath is not specified,
/host/spi-builder-workspace/Sources/DangerShellExecutor/ShellExecutor.swift:53:15: note: struct 'ShellExecutor' does not conform to the 'Sendable' protocol
51 | }
52 |
53 | public struct ShellExecutor: ShellExecuting {
| `- note: struct 'ShellExecutor' does not conform to the 'Sendable' protocol
54 | public init() {}
55 |
/host/spi-builder-workspace/Sources/Danger/Plugins/SwiftLint/SwiftLint.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'DangerShellExecutor'
1 | import DangerShellExecutor
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'DangerShellExecutor'
2 | import Foundation
3 |
:
36 |
37 | static let danger = Danger()
38 | static let shellExecutor = ShellExecutor()
| |- note: annotate 'shellExecutor' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | /// When the swiftlintPath is not specified,
[111/125] Compiling Danger SwiftLint.swift
/host/spi-builder-workspace/Sources/Danger/Plugins/SwiftLint/SwiftLint.swift:37:16: warning: static property 'danger' is not concurrency-safe because non-'Sendable' type 'DangerDSL' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | static let danger = Danger()
| |- warning: static property 'danger' is not concurrency-safe because non-'Sendable' type 'DangerDSL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'danger' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | static let shellExecutor = ShellExecutor()
39 |
/host/spi-builder-workspace/Sources/Danger/DangerDSL.swift:13:15: note: consider making struct 'DangerDSL' conform to the 'Sendable' protocol
11 | }
12 |
13 | public struct DangerDSL: Decodable {
| `- note: consider making struct 'DangerDSL' conform to the 'Sendable' protocol
14 | public let git: Git
15 |
/host/spi-builder-workspace/Sources/Danger/Plugins/SwiftLint/SwiftLint.swift:38:16: warning: static property 'shellExecutor' is not concurrency-safe because non-'Sendable' type 'ShellExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | static let danger = Danger()
38 | static let shellExecutor = ShellExecutor()
| `- warning: static property 'shellExecutor' is not concurrency-safe because non-'Sendable' type 'ShellExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
39 |
40 | /// When the swiftlintPath is not specified,
/host/spi-builder-workspace/Sources/DangerShellExecutor/ShellExecutor.swift:53:15: note: struct 'ShellExecutor' does not conform to the 'Sendable' protocol
51 | }
52 |
53 | public struct ShellExecutor: ShellExecuting {
| `- note: struct 'ShellExecutor' does not conform to the 'Sendable' protocol
54 | public init() {}
55 |
/host/spi-builder-workspace/Sources/Danger/Plugins/SwiftLint/SwiftLint.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'DangerShellExecutor'
1 | import DangerShellExecutor
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'DangerShellExecutor'
2 | import Foundation
3 |
:
36 |
37 | static let danger = Danger()
38 | static let shellExecutor = ShellExecutor()
| |- note: annotate 'shellExecutor' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | /// When the swiftlintPath is not specified,
[112/125] Compiling Danger File.swift
[113/125] Compiling Danger GitDSL.swift
[114/125] Compiling Danger GitDiff.swift
[115/125] Compiling Danger Report.swift
/host/spi-builder-workspace/Sources/Danger/Report.swift:10:13: warning: var 'testingResults' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | /// on Danger. This lets you check the results of
9 | /// the feedback functions in plugins
10 | private var testingResults = DangerResults()
| |- warning: var 'testingResults' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testingResults' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'testingResults' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | /// Allows test vs app result tracking,
/host/spi-builder-workspace/Sources/Danger/Danger.swift:13:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DangerRunner' may have shared mutable state; this is an error in the Swift 6 language mode
10 | // MARK: - DangerRunner
11 |
12 | final class DangerRunner {
| `- note: class 'DangerRunner' does not conform to the 'Sendable' protocol
13 | static let shared = DangerRunner()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DangerRunner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | let logger: Logger
[116/125] Compiling Danger Settings.swift
/host/spi-builder-workspace/Sources/Danger/Report.swift:10:13: warning: var 'testingResults' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | /// on Danger. This lets you check the results of
9 | /// the feedback functions in plugins
10 | private var testingResults = DangerResults()
| |- warning: var 'testingResults' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testingResults' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'testingResults' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | /// Allows test vs app result tracking,
/host/spi-builder-workspace/Sources/Danger/Danger.swift:13:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DangerRunner' may have shared mutable state; this is an error in the Swift 6 language mode
10 | // MARK: - DangerRunner
11 |
12 | final class DangerRunner {
| `- note: class 'DangerRunner' does not conform to the 'Sendable' protocol
13 | static let shared = DangerRunner()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DangerRunner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | let logger: Logger
[117/125] Compiling Danger Danger.swift
/host/spi-builder-workspace/Sources/Danger/Danger.swift:13:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DangerRunner' may have shared mutable state; this is an error in the Swift 6 language mode
10 | // MARK: - DangerRunner
11 |
12 | final class DangerRunner {
| `- note: class 'DangerRunner' does not conform to the 'Sendable' protocol
13 | static let shared = DangerRunner()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DangerRunner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | let logger: Logger
/host/spi-builder-workspace/Sources/Danger/Danger.swift:53:66: warning: converting non-sendable function value to '@Sendable (any Decoder) throws -> Date' may introduce data races
51 | do {
52 | let decoder = JSONDecoder()
53 | decoder.dateDecodingStrategy = .custom(DateFormatter.dateFormatterHandler)
| `- warning: converting non-sendable function value to '@Sendable (any Decoder) throws -> Date' may introduce data races
54 | logger.debug("Decoding the DSL into Swift types")
55 | dsl = try decoder.decode(DSL.self, from: dslJSONContents).danger
[118/125] Compiling Danger DangerDSL.swift
/host/spi-builder-workspace/Sources/Danger/Danger.swift:13:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DangerRunner' may have shared mutable state; this is an error in the Swift 6 language mode
10 | // MARK: - DangerRunner
11 |
12 | final class DangerRunner {
| `- note: class 'DangerRunner' does not conform to the 'Sendable' protocol
13 | static let shared = DangerRunner()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DangerRunner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | let logger: Logger
/host/spi-builder-workspace/Sources/Danger/Danger.swift:53:66: warning: converting non-sendable function value to '@Sendable (any Decoder) throws -> Date' may introduce data races
51 | do {
52 | let decoder = JSONDecoder()
53 | decoder.dateDecodingStrategy = .custom(DateFormatter.dateFormatterHandler)
| `- warning: converting non-sendable function value to '@Sendable (any Decoder) throws -> Date' may introduce data races
54 | logger.debug("Decoding the DSL into Swift types")
55 | dsl = try decoder.decode(DSL.self, from: dslJSONContents).danger
[119/125] Compiling Danger DangerResults.swift
/host/spi-builder-workspace/Sources/Danger/Danger.swift:13:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DangerRunner' may have shared mutable state; this is an error in the Swift 6 language mode
10 | // MARK: - DangerRunner
11 |
12 | final class DangerRunner {
| `- note: class 'DangerRunner' does not conform to the 'Sendable' protocol
13 | static let shared = DangerRunner()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DangerRunner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | let logger: Logger
/host/spi-builder-workspace/Sources/Danger/Danger.swift:53:66: warning: converting non-sendable function value to '@Sendable (any Decoder) throws -> Date' may introduce data races
51 | do {
52 | let decoder = JSONDecoder()
53 | decoder.dateDecodingStrategy = .custom(DateFormatter.dateFormatterHandler)
| `- warning: converting non-sendable function value to '@Sendable (any Decoder) throws -> Date' may introduce data races
54 | logger.debug("Decoding the DSL into Swift types")
55 | dsl = try decoder.decode(DSL.self, from: dslJSONContents).danger
[120/125] Emitting module Danger
/host/spi-builder-workspace/Sources/Danger/Danger.swift:13:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DangerRunner' may have shared mutable state; this is an error in the Swift 6 language mode
10 | // MARK: - DangerRunner
11 |
12 | final class DangerRunner {
| `- note: class 'DangerRunner' does not conform to the 'Sendable' protocol
13 | static let shared = DangerRunner()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DangerRunner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | let logger: Logger
/host/spi-builder-workspace/Sources/Danger/Plugins/SwiftLint/SwiftLint.swift:37:16: warning: static property 'danger' is not concurrency-safe because non-'Sendable' type 'DangerDSL' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | static let danger = Danger()
| |- warning: static property 'danger' is not concurrency-safe because non-'Sendable' type 'DangerDSL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'danger' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | static let shellExecutor = ShellExecutor()
39 |
/host/spi-builder-workspace/Sources/Danger/DangerDSL.swift:13:15: note: consider making struct 'DangerDSL' conform to the 'Sendable' protocol
11 | }
12 |
13 | public struct DangerDSL: Decodable {
| `- note: consider making struct 'DangerDSL' conform to the 'Sendable' protocol
14 | public let git: Git
15 |
/host/spi-builder-workspace/Sources/Danger/Plugins/SwiftLint/SwiftLint.swift:38:16: warning: static property 'shellExecutor' is not concurrency-safe because non-'Sendable' type 'ShellExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | static let danger = Danger()
38 | static let shellExecutor = ShellExecutor()
| `- warning: static property 'shellExecutor' is not concurrency-safe because non-'Sendable' type 'ShellExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
39 |
40 | /// When the swiftlintPath is not specified,
/host/spi-builder-workspace/Sources/DangerShellExecutor/ShellExecutor.swift:53:15: note: struct 'ShellExecutor' does not conform to the 'Sendable' protocol
51 | }
52 |
53 | public struct ShellExecutor: ShellExecuting {
| `- note: struct 'ShellExecutor' does not conform to the 'Sendable' protocol
54 | public init() {}
55 |
/host/spi-builder-workspace/Sources/Danger/Plugins/SwiftLint/SwiftLint.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'DangerShellExecutor'
1 | import DangerShellExecutor
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'DangerShellExecutor'
2 | import Foundation
3 |
:
36 |
37 | static let danger = Danger()
38 | static let shellExecutor = ShellExecutor()
| |- note: annotate 'shellExecutor' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | /// When the swiftlintPath is not specified,
/host/spi-builder-workspace/Sources/Danger/Report.swift:10:13: warning: var 'testingResults' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | /// on Danger. This lets you check the results of
9 | /// the feedback functions in plugins
10 | private var testingResults = DangerResults()
| |- warning: var 'testingResults' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testingResults' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'testingResults' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | /// Allows test vs app result tracking,
[121/125] Compiling Danger BitBucketCloud.swift
[122/125] Compiling Danger BitBucketMetadata.swift
[123/125] Compiling Danger BitBucketServerDSL.swift
[124/125] Compiling Danger GitHubDSL.swift
[125/125] Compiling Danger GitLabDSL.swift
[127/139] Compiling Danger_Swift Fake.swift
[128/139] Emitting module Danger_Swift
[129/140] Compiling DangerFixtures DangerDSLGitHubEnterprise.swift
[130/140] Compiling DangerFixtures DangerDSLGitLabMilestoneNoDateRange.swift
[131/140] Compiling DangerFixtures DangerDSLGitLab.swift
[133/141] Compiling DangerFixtures DangerDSLGitHub.swift
[134/141] Compiling DangerFixtures DangerDLSBitBucketServer.swift
[135/141] Compiling DangerFixtures DangerDLSBitBucketServerForkedRepo.swift
[136/141] Compiling DangerFixtures DSLGitLabGroupMilestone.swift
[137/141] Compiling DangerFixtures DSLGitLabProjectMilestone.swift
[138/141] Emitting module DangerFixtures
/host/spi-builder-workspace/Sources/DangerFixtures/DangerFixtures.swift:25:12: warning: let 'githubFixtureDSL' is not concurrency-safe because non-'Sendable' type 'DangerDSL' may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | /// An example DSL using GitHub
25 | public let githubFixtureDSL = parseDangerDSL(with: DSLGitHubJSON)
| `- warning: let 'githubFixtureDSL' is not concurrency-safe because non-'Sendable' type 'DangerDSL' may have shared mutable state; this is an error in the Swift 6 language mode
26 | /// An example DSL using GitHub Enterprise
27 | public let githubEnterpriseFixtureDSL = parseDangerDSL(with: DSLGitHubEnterpriseJSON)
/host/spi-builder-workspace/Sources/Danger/DangerDSL.swift:13:15: note: struct 'DangerDSL' does not conform to the 'Sendable' protocol
11 | }
12 |
13 | public struct DangerDSL: Decodable {
| `- note: struct 'DangerDSL' does not conform to the 'Sendable' protocol
14 | public let git: Git
15 |
/host/spi-builder-workspace/Sources/DangerFixtures/DangerFixtures.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Danger'
1 | import Danger
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Danger'
2 | import Foundation
3 |
:
23 |
24 | /// An example DSL using GitHub
25 | public let githubFixtureDSL = parseDangerDSL(with: DSLGitHubJSON)
| |- note: annotate 'githubFixtureDSL' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | /// An example DSL using GitHub Enterprise
27 | public let githubEnterpriseFixtureDSL = parseDangerDSL(with: DSLGitHubEnterpriseJSON)
/host/spi-builder-workspace/Sources/DangerFixtures/DangerFixtures.swift:27:12: warning: let 'githubEnterpriseFixtureDSL' is not concurrency-safe because non-'Sendable' type 'DangerDSL' may have shared mutable state; this is an error in the Swift 6 language mode
25 | public let githubFixtureDSL = parseDangerDSL(with: DSLGitHubJSON)
26 | /// An example DSL using GitHub Enterprise
27 | public let githubEnterpriseFixtureDSL = parseDangerDSL(with: DSLGitHubEnterpriseJSON)
| |- warning: let 'githubEnterpriseFixtureDSL' is not concurrency-safe because non-'Sendable' type 'DangerDSL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'githubEnterpriseFixtureDSL' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | /// An example DSL using BitBucket Server
29 | public let bitbucketFixtureDSL = parseDangerDSL(with: DSLBitBucketServerJSON)
/host/spi-builder-workspace/Sources/Danger/DangerDSL.swift:13:15: note: struct 'DangerDSL' does not conform to the 'Sendable' protocol
11 | }
12 |
13 | public struct DangerDSL: Decodable {
| `- note: struct 'DangerDSL' does not conform to the 'Sendable' protocol
14 | public let git: Git
15 |
/host/spi-builder-workspace/Sources/DangerFixtures/DangerFixtures.swift:29:12: warning: let 'bitbucketFixtureDSL' is not concurrency-safe because non-'Sendable' type 'DangerDSL' may have shared mutable state; this is an error in the Swift 6 language mode
27 | public let githubEnterpriseFixtureDSL = parseDangerDSL(with: DSLGitHubEnterpriseJSON)
28 | /// An example DSL using BitBucket Server
29 | public let bitbucketFixtureDSL = parseDangerDSL(with: DSLBitBucketServerJSON)
| |- warning: let 'bitbucketFixtureDSL' is not concurrency-safe because non-'Sendable' type 'DangerDSL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bitbucketFixtureDSL' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | /// An example DSL without public field in fromRef using BitBucket Sever
31 | public let bitbucketForkedRepoFixtureDSL = parseDangerDSL(with: DSLBitBucketServerForkedRepoJSON)
/host/spi-builder-workspace/Sources/Danger/DangerDSL.swift:13:15: note: struct 'DangerDSL' does not conform to the 'Sendable' protocol
11 | }
12 |
13 | public struct DangerDSL: Decodable {
| `- note: struct 'DangerDSL' does not conform to the 'Sendable' protocol
14 | public let git: Git
15 |
/host/spi-builder-workspace/Sources/DangerFixtures/DangerFixtures.swift:31:12: warning: let 'bitbucketForkedRepoFixtureDSL' is not concurrency-safe because non-'Sendable' type 'DangerDSL' may have shared mutable state; this is an error in the Swift 6 language mode
29 | public let bitbucketFixtureDSL = parseDangerDSL(with: DSLBitBucketServerJSON)
30 | /// An example DSL without public field in fromRef using BitBucket Sever
31 | public let bitbucketForkedRepoFixtureDSL = parseDangerDSL(with: DSLBitBucketServerForkedRepoJSON)
| |- warning: let 'bitbucketForkedRepoFixtureDSL' is not concurrency-safe because non-'Sendable' type 'DangerDSL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bitbucketForkedRepoFixtureDSL' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | /// An example DSL using GitLab
33 | public let gitlabFixtureDSL = parseDangerDSL(with: DSLGitLabJSON)
/host/spi-builder-workspace/Sources/Danger/DangerDSL.swift:13:15: note: struct 'DangerDSL' does not conform to the 'Sendable' protocol
11 | }
12 |
13 | public struct DangerDSL: Decodable {
| `- note: struct 'DangerDSL' does not conform to the 'Sendable' protocol
14 | public let git: Git
15 |
/host/spi-builder-workspace/Sources/DangerFixtures/DangerFixtures.swift:33:12: warning: let 'gitlabFixtureDSL' is not concurrency-safe because non-'Sendable' type 'DangerDSL' may have shared mutable state; this is an error in the Swift 6 language mode
31 | public let bitbucketForkedRepoFixtureDSL = parseDangerDSL(with: DSLBitBucketServerForkedRepoJSON)
32 | /// An example DSL using GitLab
33 | public let gitlabFixtureDSL = parseDangerDSL(with: DSLGitLabJSON)
| |- warning: let 'gitlabFixtureDSL' is not concurrency-safe because non-'Sendable' type 'DangerDSL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'gitlabFixtureDSL' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | /// An example DSL without milestone date range using GitLab
35 | public let gitlabMilestoneNoDateRangeFixtureDSL = parseDangerDSL(with: DSLGitLabMilestoneNoDateRangeJSON)
/host/spi-builder-workspace/Sources/Danger/DangerDSL.swift:13:15: note: struct 'DangerDSL' does not conform to the 'Sendable' protocol
11 | }
12 |
13 | public struct DangerDSL: Decodable {
| `- note: struct 'DangerDSL' does not conform to the 'Sendable' protocol
14 | public let git: Git
15 |
/host/spi-builder-workspace/Sources/DangerFixtures/DangerFixtures.swift:35:12: warning: let 'gitlabMilestoneNoDateRangeFixtureDSL' is not concurrency-safe because non-'Sendable' type 'DangerDSL' may have shared mutable state; this is an error in the Swift 6 language mode
33 | public let gitlabFixtureDSL = parseDangerDSL(with: DSLGitLabJSON)
34 | /// An example DSL without milestone date range using GitLab
35 | public let gitlabMilestoneNoDateRangeFixtureDSL = parseDangerDSL(with: DSLGitLabMilestoneNoDateRangeJSON)
| |- warning: let 'gitlabMilestoneNoDateRangeFixtureDSL' is not concurrency-safe because non-'Sendable' type 'DangerDSL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'gitlabMilestoneNoDateRangeFixtureDSL' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | /// An example DSL using BitBucket Cloud
37 | public let bitbucketCloudFixtureDSL = parseDangerDSL(with: DSLBitBucketCloudJSON)
/host/spi-builder-workspace/Sources/Danger/DangerDSL.swift:13:15: note: struct 'DangerDSL' does not conform to the 'Sendable' protocol
11 | }
12 |
13 | public struct DangerDSL: Decodable {
| `- note: struct 'DangerDSL' does not conform to the 'Sendable' protocol
14 | public let git: Git
15 |
/host/spi-builder-workspace/Sources/DangerFixtures/DangerFixtures.swift:37:12: warning: let 'bitbucketCloudFixtureDSL' is not concurrency-safe because non-'Sendable' type 'DangerDSL' may have shared mutable state; this is an error in the Swift 6 language mode
35 | public let gitlabMilestoneNoDateRangeFixtureDSL = parseDangerDSL(with: DSLGitLabMilestoneNoDateRangeJSON)
36 | /// An example DSL using BitBucket Cloud
37 | public let bitbucketCloudFixtureDSL = parseDangerDSL(with: DSLBitBucketCloudJSON)
| |- warning: let 'bitbucketCloudFixtureDSL' is not concurrency-safe because non-'Sendable' type 'DangerDSL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bitbucketCloudFixtureDSL' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | /// An example DSL using GitHub
39 | public func githubWithFilesDSL(created: [File] = [],
/host/spi-builder-workspace/Sources/Danger/DangerDSL.swift:13:15: note: struct 'DangerDSL' does not conform to the 'Sendable' protocol
11 | }
12 |
13 | public struct DangerDSL: Decodable {
| `- note: struct 'DangerDSL' does not conform to the 'Sendable' protocol
14 | public let git: Git
15 |
[139/141] Compiling DangerFixtures CustomGitHubDSL.swift
[140/141] Compiling DangerFixtures DSLBitBucketCloudJSON.swift
[141/141] Compiling DangerFixtures DangerFixtures.swift
/host/spi-builder-workspace/Sources/DangerFixtures/DangerFixtures.swift:25:12: warning: let 'githubFixtureDSL' is not concurrency-safe because non-'Sendable' type 'DangerDSL' may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | /// An example DSL using GitHub
25 | public let githubFixtureDSL = parseDangerDSL(with: DSLGitHubJSON)
| `- warning: let 'githubFixtureDSL' is not concurrency-safe because non-'Sendable' type 'DangerDSL' may have shared mutable state; this is an error in the Swift 6 language mode
26 | /// An example DSL using GitHub Enterprise
27 | public let githubEnterpriseFixtureDSL = parseDangerDSL(with: DSLGitHubEnterpriseJSON)
/host/spi-builder-workspace/Sources/Danger/DangerDSL.swift:13:15: note: struct 'DangerDSL' does not conform to the 'Sendable' protocol
11 | }
12 |
13 | public struct DangerDSL: Decodable {
| `- note: struct 'DangerDSL' does not conform to the 'Sendable' protocol
14 | public let git: Git
15 |
/host/spi-builder-workspace/Sources/DangerFixtures/DangerFixtures.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Danger'
1 | import Danger
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Danger'
2 | import Foundation
3 |
:
23 |
24 | /// An example DSL using GitHub
25 | public let githubFixtureDSL = parseDangerDSL(with: DSLGitHubJSON)
| |- note: annotate 'githubFixtureDSL' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | /// An example DSL using GitHub Enterprise
27 | public let githubEnterpriseFixtureDSL = parseDangerDSL(with: DSLGitHubEnterpriseJSON)
/host/spi-builder-workspace/Sources/DangerFixtures/DangerFixtures.swift:27:12: warning: let 'githubEnterpriseFixtureDSL' is not concurrency-safe because non-'Sendable' type 'DangerDSL' may have shared mutable state; this is an error in the Swift 6 language mode
25 | public let githubFixtureDSL = parseDangerDSL(with: DSLGitHubJSON)
26 | /// An example DSL using GitHub Enterprise
27 | public let githubEnterpriseFixtureDSL = parseDangerDSL(with: DSLGitHubEnterpriseJSON)
| |- warning: let 'githubEnterpriseFixtureDSL' is not concurrency-safe because non-'Sendable' type 'DangerDSL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'githubEnterpriseFixtureDSL' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | /// An example DSL using BitBucket Server
29 | public let bitbucketFixtureDSL = parseDangerDSL(with: DSLBitBucketServerJSON)
/host/spi-builder-workspace/Sources/Danger/DangerDSL.swift:13:15: note: struct 'DangerDSL' does not conform to the 'Sendable' protocol
11 | }
12 |
13 | public struct DangerDSL: Decodable {
| `- note: struct 'DangerDSL' does not conform to the 'Sendable' protocol
14 | public let git: Git
15 |
/host/spi-builder-workspace/Sources/DangerFixtures/DangerFixtures.swift:29:12: warning: let 'bitbucketFixtureDSL' is not concurrency-safe because non-'Sendable' type 'DangerDSL' may have shared mutable state; this is an error in the Swift 6 language mode
27 | public let githubEnterpriseFixtureDSL = parseDangerDSL(with: DSLGitHubEnterpriseJSON)
28 | /// An example DSL using BitBucket Server
29 | public let bitbucketFixtureDSL = parseDangerDSL(with: DSLBitBucketServerJSON)
| |- warning: let 'bitbucketFixtureDSL' is not concurrency-safe because non-'Sendable' type 'DangerDSL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bitbucketFixtureDSL' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | /// An example DSL without public field in fromRef using BitBucket Sever
31 | public let bitbucketForkedRepoFixtureDSL = parseDangerDSL(with: DSLBitBucketServerForkedRepoJSON)
/host/spi-builder-workspace/Sources/Danger/DangerDSL.swift:13:15: note: struct 'DangerDSL' does not conform to the 'Sendable' protocol
11 | }
12 |
13 | public struct DangerDSL: Decodable {
| `- note: struct 'DangerDSL' does not conform to the 'Sendable' protocol
14 | public let git: Git
15 |
/host/spi-builder-workspace/Sources/DangerFixtures/DangerFixtures.swift:31:12: warning: let 'bitbucketForkedRepoFixtureDSL' is not concurrency-safe because non-'Sendable' type 'DangerDSL' may have shared mutable state; this is an error in the Swift 6 language mode
29 | public let bitbucketFixtureDSL = parseDangerDSL(with: DSLBitBucketServerJSON)
30 | /// An example DSL without public field in fromRef using BitBucket Sever
31 | public let bitbucketForkedRepoFixtureDSL = parseDangerDSL(with: DSLBitBucketServerForkedRepoJSON)
| |- warning: let 'bitbucketForkedRepoFixtureDSL' is not concurrency-safe because non-'Sendable' type 'DangerDSL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bitbucketForkedRepoFixtureDSL' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | /// An example DSL using GitLab
33 | public let gitlabFixtureDSL = parseDangerDSL(with: DSLGitLabJSON)
/host/spi-builder-workspace/Sources/Danger/DangerDSL.swift:13:15: note: struct 'DangerDSL' does not conform to the 'Sendable' protocol
11 | }
12 |
13 | public struct DangerDSL: Decodable {
| `- note: struct 'DangerDSL' does not conform to the 'Sendable' protocol
14 | public let git: Git
15 |
/host/spi-builder-workspace/Sources/DangerFixtures/DangerFixtures.swift:33:12: warning: let 'gitlabFixtureDSL' is not concurrency-safe because non-'Sendable' type 'DangerDSL' may have shared mutable state; this is an error in the Swift 6 language mode
31 | public let bitbucketForkedRepoFixtureDSL = parseDangerDSL(with: DSLBitBucketServerForkedRepoJSON)
32 | /// An example DSL using GitLab
33 | public let gitlabFixtureDSL = parseDangerDSL(with: DSLGitLabJSON)
| |- warning: let 'gitlabFixtureDSL' is not concurrency-safe because non-'Sendable' type 'DangerDSL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'gitlabFixtureDSL' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | /// An example DSL without milestone date range using GitLab
35 | public let gitlabMilestoneNoDateRangeFixtureDSL = parseDangerDSL(with: DSLGitLabMilestoneNoDateRangeJSON)
/host/spi-builder-workspace/Sources/Danger/DangerDSL.swift:13:15: note: struct 'DangerDSL' does not conform to the 'Sendable' protocol
11 | }
12 |
13 | public struct DangerDSL: Decodable {
| `- note: struct 'DangerDSL' does not conform to the 'Sendable' protocol
14 | public let git: Git
15 |
/host/spi-builder-workspace/Sources/DangerFixtures/DangerFixtures.swift:35:12: warning: let 'gitlabMilestoneNoDateRangeFixtureDSL' is not concurrency-safe because non-'Sendable' type 'DangerDSL' may have shared mutable state; this is an error in the Swift 6 language mode
33 | public let gitlabFixtureDSL = parseDangerDSL(with: DSLGitLabJSON)
34 | /// An example DSL without milestone date range using GitLab
35 | public let gitlabMilestoneNoDateRangeFixtureDSL = parseDangerDSL(with: DSLGitLabMilestoneNoDateRangeJSON)
| |- warning: let 'gitlabMilestoneNoDateRangeFixtureDSL' is not concurrency-safe because non-'Sendable' type 'DangerDSL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'gitlabMilestoneNoDateRangeFixtureDSL' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | /// An example DSL using BitBucket Cloud
37 | public let bitbucketCloudFixtureDSL = parseDangerDSL(with: DSLBitBucketCloudJSON)
/host/spi-builder-workspace/Sources/Danger/DangerDSL.swift:13:15: note: struct 'DangerDSL' does not conform to the 'Sendable' protocol
11 | }
12 |
13 | public struct DangerDSL: Decodable {
| `- note: struct 'DangerDSL' does not conform to the 'Sendable' protocol
14 | public let git: Git
15 |
/host/spi-builder-workspace/Sources/DangerFixtures/DangerFixtures.swift:37:12: warning: let 'bitbucketCloudFixtureDSL' is not concurrency-safe because non-'Sendable' type 'DangerDSL' may have shared mutable state; this is an error in the Swift 6 language mode
35 | public let gitlabMilestoneNoDateRangeFixtureDSL = parseDangerDSL(with: DSLGitLabMilestoneNoDateRangeJSON)
36 | /// An example DSL using BitBucket Cloud
37 | public let bitbucketCloudFixtureDSL = parseDangerDSL(with: DSLBitBucketCloudJSON)
| |- warning: let 'bitbucketCloudFixtureDSL' is not concurrency-safe because non-'Sendable' type 'DangerDSL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bitbucketCloudFixtureDSL' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | /// An example DSL using GitHub
39 | public func githubWithFilesDSL(created: [File] = [],
/host/spi-builder-workspace/Sources/Danger/DangerDSL.swift:13:15: note: struct 'DangerDSL' does not conform to the 'Sendable' protocol
11 | }
12 |
13 | public struct DangerDSL: Decodable {
| `- note: struct 'DangerDSL' does not conform to the 'Sendable' protocol
14 | public let git: Git
15 |
/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! (101.49s)
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:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.