Build Information
Successful build of danger-swift, reference 3.22.1 (434d7c), with Swift 6.1 for macOS (SPM) on 6 Dec 2025 10:43:20 UTC.
Swift 6 data race errors: 11
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCapturesBuild 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 /Users/admin/builder/spi-builder-workspace/.git/
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: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/danger/swift.git
https://github.com/danger/swift.git
{
"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" : "/Users/admin/builder/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"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/16] Write sources
[6/16] Write danger-swift-entitlement.plist
[10/16] Write sources
[12/16] Write swift-version-2F0A5646E1D333AE.txt
[14/30] Compiling Version Version.swift
[15/30] Compiling Version Version+Range.swift
[16/30] Compiling Version Version+Comparable.swift
[17/30] Compiling Version Version+Foundation.swift
[18/30] Compiling Version Version+Codable.swift
[19/30] Emitting module Version
[20/30] Compiling Logger Logger.swift
[21/30] Emitting module Logger
[22/30] Compiling RequestKit RequestKitSession.swift
[23/30] Compiling RequestKit Router.swift
[24/30] Compiling DangerShellExecutor ShellExecutor.swift
/Users/admin/builder/spi-builder-workspace/Sources/DangerShellExecutor/ShellExecutor.swift:113:13: warning: mutation of captured var 'stdoutString' in concurrently-executing code
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
114 | }
115 |
/Users/admin/builder/spi-builder-workspace/Sources/DangerShellExecutor/ShellExecutor.swift:118:13: warning: mutation of captured var 'stderrData' in concurrently-executing code
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
119 | }
120 |
[25/30] Emitting module DangerShellExecutor
[26/30] Emitting module RequestKit
[27/30] Compiling RequestKit JSONPostRouter.swift
[28/83] Compiling RunnerLib String+Path.swift
[29/84] Compiling RunnerLib Runtime.swift
[30/84] Compiling RunnerLib SPMDanger.swift
[31/84] Compiling OctoKit Issue.swift
[32/84] Compiling OctoKit Label.swift
[33/84] Compiling RunnerLib NSRegularExpression+FilesImport.swift
[34/84] Compiling OctoKit Configuration.swift
[35/84] Compiling OctoKit File.swift
[36/84] Compiling OctoKit Organization.swift
[37/84] Compiling OctoKit Parameters.swift
[38/84] Emitting module RunnerLib
[39/84] Compiling OctoKit Follow.swift
[40/84] Compiling OctoKit Octokit.swift
[41/84] Compiling OctoKit Gist.swift
[42/84] Compiling OctoKit Git.swift
[43/84] Compiling DangerDependenciesResolver PackageListMaker.swift
[44/84] Compiling DangerDependenciesResolver PackageGenerator.swift
[45/84] Compiling DangerDependenciesResolver Script.swift
/Users/admin/builder/spi-builder-workspace/Sources/DangerDependenciesResolver/Script.swift:204:18: warning: capture of 'self' with non-sendable type 'Script?' in a '@Sendable' closure
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
205 | try? self?.copyImports(imports)
206 | self?.startCopyLoop(imports: imports)
[46/84] Compiling DangerDependenciesResolver PackageManager.swift
[47/85] Compiling RunnerLib VersionChecker.swift
[48/85] Compiling DangerDependenciesResolver InlineDependenciesFinder.swift
[49/85] Compiling DangerDependenciesResolver PackageDataProvider.swift
[52/85] Compiling DangerDependenciesResolver FileReader.swift
[53/85] Compiling DangerDependenciesResolver Package.swift
[54/85] Emitting module DangerDependenciesResolver
[55/85] Compiling OctoKit Stars.swift
[56/85] Compiling OctoKit Statuses.swift
[57/85] Compiling OctoKit String+PercentEncoding.swift
[58/87] Compiling DangerDependenciesResolver URL+RemoteRepository.swift
[59/87] Emitting module OctoKit
[69/93] Compiling OctoKit URL+URLParameters.swift
[70/93] Compiling OctoKit User.swift
[71/93] Compiling OctoKit Team.swift
[72/93] Compiling OctoKit Time.swift
[73/93] Compiling OctoKit PullRequest.swift
[74/93] Compiling OctoKit Reactions.swift
[75/93] Compiling OctoKit Releases.swift
[77/93] Compiling OctoKit Milestone.swift
[78/93] Compiling OctoKit NotificationThread.swift
[79/93] Compiling Runner MarathonScriptManager.swift
[80/93] Compiling Runner main.swift
[81/93] Compiling OctoKit Repositories.swift
[82/93] Compiling OctoKit Review.swift
[83/93] Compiling OctoKit Search.swift
[84/93] Compiling OctoKit Plan.swift
[85/93] Compiling OctoKit PreviewHeader.swift
[86/93] Compiling OctoKit PublicKey.swift
[87/93] Compiling Runner Edit.swift
/Users/admin/builder/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 |
/Users/admin/builder/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() {
[88/93] Compiling Runner Runner.swift
[89/93] Emitting module Runner
[90/93] Compiling Runner RunDangerJS.swift
[90/93] Write Objects.LinkFileList
[91/112] Linking danger-swift
[92/112] Applying danger-swift
[94/112] Compiling Danger SwiftLintViolation.swift
[95/112] Compiling Danger SwiftlintReportDeleter.swift
[96/114] Compiling Danger Report.swift
/Users/admin/builder/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: add '@MainActor' to make var 'testingResults' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | /// Allows test vs app result tracking,
[97/114] Compiling Danger Settings.swift
/Users/admin/builder/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: add '@MainActor' to make var 'testingResults' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | /// Allows test vs app result tracking,
[98/114] Compiling Danger GitDSL.swift
[99/114] Compiling Danger GitDiff.swift
[100/114] Compiling Danger DangerDSL.swift
[101/114] Compiling Danger DangerResults.swift
[102/114] Compiling Danger NSRegularExpressionExtensions.swift
[103/114] Compiling Danger File.swift
[104/114] Compiling Danger CurrentPathProvider.swift
/Users/admin/builder/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: add '@MainActor' to make static property 'danger' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | static let shellExecutor = ShellExecutor()
39 |
/Users/admin/builder/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 |
/Users/admin/builder/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,
/Users/admin/builder/spi-builder-workspace/Sources/DangerShellExecutor/ShellExecutor.swift:56:15: note: struct 'ShellExecutor' does not conform to the 'Sendable' protocol
54 | }
55 |
56 | public struct ShellExecutor: ShellExecuting {
| `- note: struct 'ShellExecutor' does not conform to the 'Sendable' protocol
57 | /// Queue used to concurrently listen to both stdout and stderr
58 | private let outputQueue = DispatchQueue(label: "ShellExecutor.outputQueue", attributes: .concurrent)
/Users/admin/builder/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: add '@MainActor' to make static property 'shellExecutor' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | /// When the swiftlintPath is not specified,
[105/114] Compiling Danger SwiftLint.swift
/Users/admin/builder/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: add '@MainActor' to make static property 'danger' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | static let shellExecutor = ShellExecutor()
39 |
/Users/admin/builder/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 |
/Users/admin/builder/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,
/Users/admin/builder/spi-builder-workspace/Sources/DangerShellExecutor/ShellExecutor.swift:56:15: note: struct 'ShellExecutor' does not conform to the 'Sendable' protocol
54 | }
55 |
56 | public struct ShellExecutor: ShellExecuting {
| `- note: struct 'ShellExecutor' does not conform to the 'Sendable' protocol
57 | /// Queue used to concurrently listen to both stdout and stderr
58 | private let outputQueue = DispatchQueue(label: "ShellExecutor.outputQueue", attributes: .concurrent)
/Users/admin/builder/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: add '@MainActor' to make static property 'shellExecutor' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | /// When the swiftlintPath is not specified,
[106/114] Compiling Danger DangerUtils.swift
[107/114] Compiling Danger DateFormatterExtensions.swift
[108/114] Compiling Danger BitBucketServerDSL.swift
/Users/admin/builder/spi-builder-workspace/Sources/Danger/Danger.swift:15: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
12 | // MARK: - DangerRunner
13 |
14 | final class DangerRunner {
| `- note: class 'DangerRunner' does not conform to the 'Sendable' protocol
15 | 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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | let logger: Logger
[109/114] Compiling Danger Danger.swift
/Users/admin/builder/spi-builder-workspace/Sources/Danger/Danger.swift:15: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
12 | // MARK: - DangerRunner
13 |
14 | final class DangerRunner {
| `- note: class 'DangerRunner' does not conform to the 'Sendable' protocol
15 | 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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | let logger: Logger
[110/114] Compiling Danger BitBucketCloud.swift
[111/114] Compiling Danger BitBucketMetadata.swift
[112/114] Emitting module Danger
/Users/admin/builder/spi-builder-workspace/Sources/Danger/Danger.swift:15: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
12 | // MARK: - DangerRunner
13 |
14 | final class DangerRunner {
| `- note: class 'DangerRunner' does not conform to the 'Sendable' protocol
15 | 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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | let logger: Logger
/Users/admin/builder/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: add '@MainActor' to make static property 'danger' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | static let shellExecutor = ShellExecutor()
39 |
/Users/admin/builder/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 |
/Users/admin/builder/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,
/Users/admin/builder/spi-builder-workspace/Sources/DangerShellExecutor/ShellExecutor.swift:56:15: note: struct 'ShellExecutor' does not conform to the 'Sendable' protocol
54 | }
55 |
56 | public struct ShellExecutor: ShellExecuting {
| `- note: struct 'ShellExecutor' does not conform to the 'Sendable' protocol
57 | /// Queue used to concurrently listen to both stdout and stderr
58 | private let outputQueue = DispatchQueue(label: "ShellExecutor.outputQueue", attributes: .concurrent)
/Users/admin/builder/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: add '@MainActor' to make static property 'shellExecutor' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | /// When the swiftlintPath is not specified,
/Users/admin/builder/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: add '@MainActor' to make var 'testingResults' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | /// Allows test vs app result tracking,
[113/114] Compiling Danger GitHubDSL.swift
[114/114] Compiling Danger GitLabDSL.swift
[115/127] Compiling Danger_Swift Fake.swift
[116/127] Emitting module Danger_Swift
[117/127] Compiling DangerFixtures DangerDSLGitLab.swift
[118/127] Compiling DangerFixtures DangerDSLGitLabMilestoneNoDateRange.swift
[119/128] Compiling DangerFixtures DangerDLSBitBucketServerForkedRepo.swift
[120/128] Compiling DangerFixtures DangerDSLGitHubEnterprise.swift
[121/128] Compiling DangerFixtures DSLGitLabProjectMilestone.swift
[122/128] Compiling DangerFixtures DangerDLSBitBucketServer.swift
[123/128] Compiling DangerFixtures DSLGitLabGroupMilestone.swift
[124/128] Compiling DangerFixtures DangerDSLGitHub.swift
[125/128] Emitting module DangerFixtures
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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: add '@MainActor' to make let 'githubFixtureDSL' part of global actor 'MainActor'
| `- 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)
/Users/admin/builder/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: add '@MainActor' to make let 'githubEnterpriseFixtureDSL' part of global actor 'MainActor'
| `- 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)
/Users/admin/builder/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 |
/Users/admin/builder/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: add '@MainActor' to make let 'bitbucketFixtureDSL' part of global actor 'MainActor'
| `- 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)
/Users/admin/builder/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 |
/Users/admin/builder/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: add '@MainActor' to make let 'bitbucketForkedRepoFixtureDSL' part of global actor 'MainActor'
| `- 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)
/Users/admin/builder/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 |
/Users/admin/builder/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: add '@MainActor' to make let 'gitlabFixtureDSL' part of global actor 'MainActor'
| `- 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)
/Users/admin/builder/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 |
/Users/admin/builder/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: add '@MainActor' to make let 'gitlabMilestoneNoDateRangeFixtureDSL' part of global actor 'MainActor'
| `- 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)
/Users/admin/builder/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 |
/Users/admin/builder/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: add '@MainActor' to make let 'bitbucketCloudFixtureDSL' part of global actor 'MainActor'
| `- 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] = [],
/Users/admin/builder/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 |
[126/128] Compiling DangerFixtures CustomGitHubDSL.swift
[127/128] Compiling DangerFixtures DSLBitBucketCloudJSON.swift
[128/128] Compiling DangerFixtures DangerFixtures.swift
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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: add '@MainActor' to make let 'githubFixtureDSL' part of global actor 'MainActor'
| `- 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)
/Users/admin/builder/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: add '@MainActor' to make let 'githubEnterpriseFixtureDSL' part of global actor 'MainActor'
| `- 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)
/Users/admin/builder/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 |
/Users/admin/builder/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: add '@MainActor' to make let 'bitbucketFixtureDSL' part of global actor 'MainActor'
| `- 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)
/Users/admin/builder/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 |
/Users/admin/builder/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: add '@MainActor' to make let 'bitbucketForkedRepoFixtureDSL' part of global actor 'MainActor'
| `- 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)
/Users/admin/builder/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 |
/Users/admin/builder/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: add '@MainActor' to make let 'gitlabFixtureDSL' part of global actor 'MainActor'
| `- 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)
/Users/admin/builder/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 |
/Users/admin/builder/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: add '@MainActor' to make let 'gitlabMilestoneNoDateRangeFixtureDSL' part of global actor 'MainActor'
| `- 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)
/Users/admin/builder/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 |
/Users/admin/builder/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: add '@MainActor' to make let 'bitbucketCloudFixtureDSL' part of global actor 'MainActor'
| `- 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] = [],
/Users/admin/builder/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 |
Build complete! (22.42s)
Fetching https://github.com/mxcl/Version
Fetching https://github.com/nerdishbynature/octokit.swift
Fetching https://github.com/shibapm/Logger
[1/116] Fetching logger
[26/409] Fetching logger, version
[117/5409] Fetching logger, version, octokit.swift
Fetched https://github.com/mxcl/Version from cache (0.81s)
[1566/5116] Fetching logger, octokit.swift
Fetched https://github.com/shibapm/Logger from cache (1.02s)
Fetched https://github.com/nerdishbynature/octokit.swift from cache (1.02s)
Computing version for https://github.com/nerdishbynature/octokit.swift
Computed https://github.com/nerdishbynature/octokit.swift at 0.14.0 (1.49s)
Fetching https://github.com/nerdishbynature/RequestKit.git
[1/1554] Fetching requestkit
Fetched https://github.com/nerdishbynature/RequestKit.git from cache (0.83s)
Computing version for https://github.com/nerdishbynature/RequestKit.git
Computed https://github.com/nerdishbynature/RequestKit.git at 3.3.0 (3.80s)
Computing version for https://github.com/mxcl/Version
Computed https://github.com/mxcl/Version at 2.2.0 (0.58s)
Computing version for https://github.com/shibapm/Logger
Computed https://github.com/shibapm/Logger at 0.2.3 (2.42s)
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
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/shibapm/Logger
Working copy of https://github.com/shibapm/Logger resolved at 0.2.3
warning: 'octokit.swift': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/.build/checkouts/octokit.swift/OctoKit/Info.plist
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" : "/Users/admin/builder/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"
}
Done.