Build Information
Successful build of danger-swift, reference 3.20.2 (e43a19
), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 12:11:48 UTC.
Swift 6 data race errors: 11
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
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 /Users/admin/builder/spi-builder-workspace/.git/
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
Fetching https://github.com/shibapm/Rocket
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/nerdishbynature/octokit.swift
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
Fetching https://github.com/drmohundro/SWXMLHash.git
Fetching https://github.com/jpsim/SourceKitten.git
[1/1386] Fetching rocket
[140/4206] Fetching rocket, swxmlhash
[366/8645] Fetching rocket, swxmlhash, octokit.swift
[1672/18547] Fetching rocket, swxmlhash, octokit.swift, yams
[4260/34563] Fetching rocket, swxmlhash, octokit.swift, yams, sourcekitten
[5746/46916] Fetching rocket, swxmlhash, octokit.swift, yams, sourcekitten, swift-argument-parser
[5792/59352] Fetching rocket, swxmlhash, octokit.swift, yams, sourcekitten, swift-argument-parser, swift-snapshot-testing
Fetched https://github.com/shibapm/Rocket from cache (16.52s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (16.52s)
Fetched https://github.com/jpsim/Yams from cache (16.52s)
Fetching https://github.com/shibapm/Logger
Fetching https://github.com/nicklockwood/SwiftFormat
Fetching https://github.com/Realm/SwiftLint
[24376/35827] Fetching swxmlhash, octokit.swift, sourcekitten, swift-snapshot-testing, logger
Fetched https://github.com/shibapm/Logger from cache (0.71s)
Fetching https://github.com/kareman/SwiftShell
[24376/80745] Fetching swxmlhash, octokit.swift, sourcekitten, swift-snapshot-testing, swiftformat
[26198/85608] Fetching swxmlhash, octokit.swift, sourcekitten, swift-snapshot-testing, swiftformat, swiftshell
Fetched https://github.com/kareman/SwiftShell from cache (1.24s)
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
[29473/80745] Fetching swxmlhash, octokit.swift, sourcekitten, swift-snapshot-testing, swiftformat
[30260/221933] Fetching swxmlhash, octokit.swift, sourcekitten, swift-snapshot-testing, swiftformat, swiftlint
[43176/222862] Fetching swxmlhash, octokit.swift, sourcekitten, swift-snapshot-testing, swiftformat, swiftlint, swiftytexttable
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (2.06s)
Fetching https://github.com/mxcl/Version
[46085/221933] Fetching swxmlhash, octokit.swift, sourcekitten, swift-snapshot-testing, swiftformat, swiftlint
[46804/222221] Fetching swxmlhash, octokit.swift, sourcekitten, swift-snapshot-testing, swiftformat, swiftlint, version
Fetched https://github.com/mxcl/Version from cache (0.87s)
Fetching https://github.com/shibapm/PackageConfig.git
[47224/221933] Fetching swxmlhash, octokit.swift, sourcekitten, swift-snapshot-testing, swiftformat, swiftlint
[50172/222513] Fetching swxmlhash, octokit.swift, sourcekitten, swift-snapshot-testing, swiftformat, swiftlint, packageconfig
Fetched https://github.com/shibapm/PackageConfig.git from cache (0.89s)
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
[51788/221933] Fetching swxmlhash, octokit.swift, sourcekitten, swift-snapshot-testing, swiftformat, swiftlint
[52279/234636] Fetching swxmlhash, octokit.swift, sourcekitten, swift-snapshot-testing, swiftformat, swiftlint, cryptoswift
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (2.58s)
Fetching https://github.com/swiftlang/swift-syntax
[53725/221933] Fetching swxmlhash, octokit.swift, sourcekitten, swift-snapshot-testing, swiftformat, swiftlint
[53803/288332] Fetching swxmlhash, octokit.swift, sourcekitten, swift-snapshot-testing, swiftformat, swiftlint, swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (3.53s)
Fetching https://github.com/JohnSundell/ShellOut.git
[54488/221933] Fetching swxmlhash, octokit.swift, sourcekitten, swift-snapshot-testing, swiftformat, swiftlint
[54670/222893] Fetching swxmlhash, octokit.swift, sourcekitten, swift-snapshot-testing, swiftformat, swiftlint, shellout
Fetched https://github.com/JohnSundell/ShellOut.git from cache (0.85s)
Fetching https://github.com/nerdishbynature/RequestKit.git
[54952/221933] Fetching swxmlhash, octokit.swift, sourcekitten, swift-snapshot-testing, swiftformat, swiftlint
[55047/223487] Fetching swxmlhash, octokit.swift, sourcekitten, swift-snapshot-testing, swiftformat, swiftlint, requestkit
Fetched https://github.com/nerdishbynature/RequestKit.git from cache (0.89s)
Fetching https://github.com/shibapm/Komondor
[55461/221933] Fetching swxmlhash, octokit.swift, sourcekitten, swift-snapshot-testing, swiftformat, swiftlint
[57286/222442] Fetching swxmlhash, octokit.swift, sourcekitten, swift-snapshot-testing, swiftformat, swiftlint, komondor
Fetched https://github.com/shibapm/Komondor from cache (0.89s)
Fetching https://github.com/JohnSundell/CollectionConcurrencyKit.git
[59087/221933] Fetching swxmlhash, octokit.swift, sourcekitten, swift-snapshot-testing, swiftformat, swiftlint
[63141/222016] Fetching swxmlhash, octokit.swift, sourcekitten, swift-snapshot-testing, swiftformat, swiftlint, collectionconcurrencykit
Fetched https://github.com/JohnSundell/CollectionConcurrencyKit.git from cache (0.69s)
[63590/221933] Fetching swxmlhash, octokit.swift, sourcekitten, swift-snapshot-testing, swiftformat, swiftlint
Fetched https://github.com/nerdishbynature/octokit.swift from cache (46.43s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (46.43s)
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (46.43s)
Computing version for https://github.com/nerdishbynature/octokit.swift
Fetched https://github.com/jpsim/SourceKitten.git from cache (46.43s)
[41475/186222] Fetching swiftformat, swiftlint
Computed https://github.com/nerdishbynature/octokit.swift at 0.13.0 (3.21s)
Fetched https://github.com/Realm/SwiftLint from cache (365.15s)
Fetched https://github.com/nicklockwood/SwiftFormat from cache (365.15s)
Computing version for https://github.com/mxcl/Version
Computed https://github.com/mxcl/Version at 2.0.1 (3.20s)
Computing version for https://github.com/shibapm/Logger
Computed https://github.com/shibapm/Logger at 0.2.3 (2.67s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.54.3 (0.66s)
Computing version for https://github.com/nerdishbynature/RequestKit.git
Computed https://github.com/nerdishbynature/RequestKit.git at 3.3.0 (0.65s)
Creating working copy for https://github.com/shibapm/Logger
Working copy of https://github.com/shibapm/Logger resolved at 0.2.3
Creating working copy for https://github.com/mxcl/Version
Working copy of https://github.com/mxcl/Version resolved at 2.0.1
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/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at 0.54.3
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "swift",
"name": "danger-swift",
"url": "https://github.com/danger/swift.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift",
"dependencies": [
{
"identity": "logger",
"name": "Logger",
"url": "https://github.com/shibapm/Logger",
"version": "0.2.3",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Logger",
"dependencies": [
]
},
{
"identity": "version",
"name": "Version",
"url": "https://github.com/mxcl/Version",
"version": "2.1.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Version",
"dependencies": [
]
},
{
"identity": "octokit.swift",
"name": "OctoKit",
"url": "https://github.com/nerdishbynature/octokit.swift",
"version": "0.13.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/octokit.swift",
"dependencies": [
{
"identity": "requestkit",
"name": "RequestKit",
"url": "https://github.com/nerdishbynature/RequestKit.git",
"version": "3.3.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/RequestKit",
"dependencies": [
]
},
{
"identity": "swiftformat",
"name": "SwiftFormat",
"url": "https://github.com/nicklockwood/SwiftFormat",
"version": "0.54.6",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftFormat",
"dependencies": [
]
}
]
}
]
}
]
}
Fetching https://github.com/danger/swift.git
[1/10053] Fetching swift
Fetched https://github.com/danger/swift.git from cache (1.45s)
Fetching https://github.com/mxcl/Version from cache
Fetching https://github.com/shibapm/Logger from cache
Fetching https://github.com/nerdishbynature/octokit.swift from cache
Fetched https://github.com/shibapm/Logger from cache (0.51s)
Fetched https://github.com/mxcl/Version from cache (0.51s)
Fetched https://github.com/nerdishbynature/octokit.swift from cache (0.51s)
Computing version for https://github.com/nerdishbynature/octokit.swift
Computed https://github.com/nerdishbynature/octokit.swift at 0.13.0 (0.03s)
Fetching https://github.com/nerdishbynature/RequestKit.git from cache
Fetching https://github.com/nicklockwood/SwiftFormat from cache
Fetched https://github.com/nerdishbynature/RequestKit.git from cache (0.49s)
Fetched https://github.com/nicklockwood/SwiftFormat from cache (0.60s)
Computing version for https://github.com/nerdishbynature/RequestKit.git
Computed https://github.com/nerdishbynature/RequestKit.git at 3.3.0 (0.02s)
Computing version for https://github.com/mxcl/Version
Computed https://github.com/mxcl/Version at 2.1.0 (0.03s)
Computing version for https://github.com/shibapm/Logger
Computed https://github.com/shibapm/Logger at 0.2.3 (0.02s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.54.6 (0.64s)
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/shibapm/Logger
Working copy of https://github.com/shibapm/Logger resolved at 0.2.3
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/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at 0.54.6
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/danger/swift.git
Working copy of https://github.com/danger/swift.git resolved at 3.20.2 (e43a196)
Found 3 product dependencies
- Logger
- Version
- OctoKit
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/danger/swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
[1/1] Compiling plugin SwiftFormatPlugin
Building for debugging...
[1/17] Write sources
[12/17] Write danger-swift-entitlement.plist
[13/17] Write swift-version--7754E27361AE5C74.txt
[15/31] Emitting module DangerShellExecutor
[16/31] Compiling Version Version.swift
[17/31] Emitting module Version
[18/31] Compiling Version Version+Range.swift
[19/31] Compiling Version Version+Comparable.swift
[20/31] Compiling Version Version+Foundation.swift
[21/31] Compiling Version Version+Codable.swift
[22/31] Compiling Logger Logger.swift
[23/31] Emitting module Logger
[24/31] Compiling RequestKit Router.swift
[25/31] Compiling DangerShellExecutor ShellExecutor.swift
[26/31] Compiling RequestKit RequestKitSession.swift
[27/31] Compiling RequestKit JSONPostRouter.swift
[28/31] Emitting module RequestKit
[29/82] Compiling RunnerLib String+Path.swift
[30/83] Compiling OctoKit Octokit.swift
[31/83] Compiling OctoKit Parameters.swift
[32/83] Compiling OctoKit Plan.swift
[33/83] Compiling OctoKit Stars.swift
[34/83] Compiling OctoKit Milestone.swift
[35/83] Compiling OctoKit NotificationThread.swift
[36/83] Compiling OctoKit Configuration.swift
[37/83] Compiling OctoKit File.swift
[38/83] Compiling OctoKit Follow.swift
[39/83] Compiling OctoKit Label.swift
[40/83] Compiling RunnerLib NSRegularExpression+FilesImport.swift
[41/83] Compiling RunnerLib Runtime.swift
[42/83] Compiling RunnerLib SPMDanger.swift
[43/83] Emitting module RunnerLib
[44/83] Compiling DangerDependenciesResolver FileReader.swift
[45/83] Compiling DangerDependenciesResolver PackageDataProvider.swift
[46/83] Emitting module DangerDependenciesResolver
[47/84] Compiling RunnerLib VersionChecker.swift
[48/84] Compiling DangerDependenciesResolver Package.swift
[49/84] Compiling DangerDependenciesResolver PackageListMaker.swift
[50/84] Compiling DangerDependenciesResolver PackageManager.swift
[53/84] Compiling DangerDependenciesResolver InlineDependenciesFinder.swift
[54/84] Compiling DangerDependenciesResolver PackageGenerator.swift
[55/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; 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/84] Compiling DangerDependenciesResolver URL+RemoteRepository.swift
[57/90] Compiling Runner MarathonScriptManager.swift
[58/90] Compiling Runner main.swift
[59/90] 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() {
[60/90] Compiling Runner RunDangerJS.swift
[61/90] Emitting module Runner
[62/90] Compiling Runner Runner.swift
[62/90] Write Objects.LinkFileList
[63/90] Linking danger-swift
[64/90] Applying danger-swift
[66/90] Compiling OctoKit Review.swift
[67/90] Compiling OctoKit Search.swift
[68/90] Compiling OctoKit String+PercentEncoding.swift
[69/90] Compiling OctoKit Time.swift
[73/92] Compiling OctoKit Gist.swift
[74/92] Compiling OctoKit Git.swift
[75/92] Compiling OctoKit Issue.swift
[77/92] Compiling OctoKit Statuses.swift
[78/92] Compiling OctoKit PreviewHeader.swift
[79/92] Compiling OctoKit PublicKey.swift
[80/92] Compiling OctoKit PullRequest.swift
[81/92] Compiling OctoKit Reactions.swift
[82/92] Compiling OctoKit Releases.swift
[83/92] Compiling OctoKit Repositories.swift
[84/92] Compiling OctoKit URL+URLParameters.swift
[85/92] Compiling OctoKit User.swift
[86/92] Emitting module OctoKit
[93/111] Compiling Danger NSRegularExpressionExtensions.swift
[94/111] Compiling Danger File.swift
[95/113] 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: 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,
/Users/admin/builder/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
[96/113] 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: 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,
/Users/admin/builder/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
[97/113] Compiling Danger GitDSL.swift
[98/113] Compiling Danger GitDiff.swift
[99/113] Compiling Danger DangerDSL.swift
[100/113] Compiling Danger DangerResults.swift
[101/113] Compiling Danger BitBucketServerDSL.swift
/Users/admin/builder/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
/Users/admin/builder/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
[102/113] Compiling Danger Danger.swift
/Users/admin/builder/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
/Users/admin/builder/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
[103/113] Compiling Danger BitBucketCloud.swift
[104/113] Compiling Danger BitBucketMetadata.swift
[105/113] Emitting module Danger
/Users/admin/builder/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
/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: 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 |
/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: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 |
/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: 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,
/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: 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,
[106/113] Compiling Danger DangerUtils.swift
[107/113] Compiling Danger DateFormatterExtensions.swift
[108/113] Compiling Danger GitHubDSL.swift
[109/113] Compiling Danger GitLabDSL.swift
[110/113] Compiling Danger SwiftLintViolation.swift
[111/113] Compiling Danger SwiftlintReportDeleter.swift
[112/113] 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: 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 |
/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: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 |
/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: 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,
[113/113] 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: 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 |
/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: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 |
/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: 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,
[114/126] Emitting module Danger_Swift
[115/126] Compiling Danger_Swift Fake.swift
[116/126] Compiling DangerFixtures DSLGitLabProjectMilestone.swift
[117/127] Compiling DangerFixtures DangerDSLGitLab.swift
[118/127] Compiling DangerFixtures DangerDSLGitLabMilestoneNoDateRange.swift
[119/127] Compiling DangerFixtures DangerDLSBitBucketServer.swift
[120/127] Compiling DangerFixtures DSLGitLabGroupMilestone.swift
[121/127] Compiling DangerFixtures DangerDLSBitBucketServerForkedRepo.swift
[122/127] Compiling DangerFixtures DangerDSLGitHub.swift
[123/127] Compiling DangerFixtures DangerDSLGitHubEnterprise.swift
[124/127] 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: 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)
/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: 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)
/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: 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)
/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: 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)
/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: 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)
/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: 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)
/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: 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] = [],
/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 |
[125/127] Compiling DangerFixtures CustomGitHubDSL.swift
[126/127] Compiling DangerFixtures DSLBitBucketCloudJSON.swift
[127/127] 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: 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)
/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: 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)
/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: 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)
/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: 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)
/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: 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)
/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: 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)
/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: 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] = [],
/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: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! (30.02s)
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.