Build Information
Successful build of DangerSwiftEda with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 3
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/yumemi-inc/danger-swift-eda.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/yumemi-inc/danger-swift-eda
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 632f117 Merge pull request #28 from yumemi-inc/feature/git_hosting
Cloned https://github.com/yumemi-inc/danger-swift-eda.git
Revision (git rev-parse @):
632f117938a4523a29e9a09db288800681314b3e
SUCCESS checkout https://github.com/yumemi-inc/danger-swift-eda.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/yumemi-inc/danger-swift-eda.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/11] Write sources
[8/11] Write swift-version-6F35C1178C84523A.txt
[10/19] Compiling DangerShellExecutor ShellExecutor.swift
[11/19] Emitting module DangerShellExecutor
[12/19] Compiling Logger Logger.swift
[13/19] Emitting module Logger
[14/19] Compiling RequestKit Router.swift
[15/19] Compiling RequestKit RequestKitSession.swift
[16/19] Emitting module RequestKit
[17/19] Compiling RequestKit JSONPostRouter.swift
[18/43] Compiling OctoKit Configuration.swift
[19/43] Compiling OctoKit File.swift
[20/43] Compiling OctoKit Follow.swift
[21/45] Compiling OctoKit PreviewHeader.swift
[22/45] Compiling OctoKit PublicKey.swift
[23/45] Compiling OctoKit PullRequest.swift
[24/45] Compiling OctoKit String+PercentEncoding.swift
[25/45] Compiling OctoKit Time.swift
[26/45] Compiling OctoKit Octokit.swift
[27/45] Compiling OctoKit Parameters.swift
[28/45] Compiling OctoKit Plan.swift
[29/45] Emitting module OctoKit
[30/45] Compiling OctoKit Reactions.swift
[31/45] Compiling OctoKit Releases.swift
[32/45] Compiling OctoKit Label.swift
[33/45] Compiling OctoKit Milestone.swift
[34/45] Compiling OctoKit NotificationThread.swift
[35/45] Compiling OctoKit URL+URLParameters.swift
[36/45] Compiling OctoKit User.swift
[37/45] Compiling OctoKit Repositories.swift
[38/45] Compiling OctoKit Review.swift
[39/45] Compiling OctoKit Stars.swift
[40/45] Compiling OctoKit Statuses.swift
[41/45] Compiling OctoKit Gist.swift
[42/45] Compiling OctoKit Git.swift
[43/45] Compiling OctoKit Issue.swift
[44/64] Compiling Danger SwiftLintViolation.swift
[45/64] Compiling Danger SwiftlintReportDeleter.swift
[46/66] Compiling Danger CurrentPathProvider.swift
[47/66] Compiling Danger SwiftLint.swift
[48/66] Compiling Danger Report.swift
[49/66] Compiling Danger Settings.swift
[50/66] Compiling Danger GitDSL.swift
[51/66] Compiling Danger GitDiff.swift
[52/66] Compiling Danger DangerUtils.swift
[53/66] Compiling Danger DateFormatterExtensions.swift
[54/66] Compiling Danger DangerDSL.swift
[55/66] Compiling Danger DangerResults.swift
[56/66] Compiling Danger NSRegularExpressionExtensions.swift
[57/66] Compiling Danger File.swift
[58/66] Compiling Danger BitBucketCloud.swift
[59/66] Compiling Danger BitBucketMetadata.swift
[60/66] Emitting module Danger
[61/66] Compiling Danger BitBucketServerDSL.swift
[62/66] Compiling Danger Danger.swift
[63/66] Compiling Danger GitHubDSL.swift
[64/66] Compiling Danger GitLabDSL.swift
[65/74] Compiling DangerSwiftShoki Shoki.swift
[66/74] Emitting module DangerSwiftHammer
[67/74] Compiling DangerSwiftHammer Danger+.swift
[68/74] Compiling DangerSwiftHammer Hammer.swift
[69/74] Compiling DangerSwiftShoki DangerDSL+.swift
[70/74] Compiling DangerSwiftShoki MarkdownConfiguration.swift
[71/74] Emitting module DangerSwiftShoki
[72/74] Compiling DangerSwiftShoki Report.swift
[72/74] Write Objects.LinkFileList
[73/74] Linking libDangerSwiftShoki.dylib
[75/84] Emitting module DangerSwiftEda
/Users/admin/builder/spi-builder-workspace/Sources/DangerSwiftEda/Eda.swift:15:23: warning: static property 'gitHostingInstance' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
13 | // MARK: resolvers and executors
14 | public struct Eda {
15 | public static var gitHostingInstance: GitHostingInstance?
| |- warning: static property 'gitHostingInstance' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'gitHostingInstance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'gitHostingInstance' 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
16 |
17 | private let prMetaDataResolver: () -> PRMetaData
/Users/admin/builder/spi-builder-workspace/Sources/DangerSwiftEda/GitFlow.swift:319:14: warning: associated value 'illegalHeadBranch' of 'Sendable'-conforming enum 'FlowError' has non-sendable type 'GitFlow.Branch'; this is an error in the Swift 6 language mode
12 | public struct GitFlow {
13 |
14 | public enum Branch: Equatable {
| `- note: consider making enum 'Branch' conform to the 'Sendable' protocol
15 |
16 | public enum Reference: Equatable {
:
317 | public enum FlowError: Error {
318 | case invalidHeadBranch(name: String)
319 | case illegalHeadBranch(Branch)
| `- warning: associated value 'illegalHeadBranch' of 'Sendable'-conforming enum 'FlowError' has non-sendable type 'GitFlow.Branch'; this is an error in the Swift 6 language mode
320 | }
321 |
/Users/admin/builder/spi-builder-workspace/Sources/DangerSwiftEda/GitHubFlow.swift:199:14: warning: associated value 'illegalHeadBranch' of 'Sendable'-conforming enum 'FlowError' has non-sendable type 'GitHubFlow.Branch'; this is an error in the Swift 6 language mode
12 | public struct GitHubFlow {
13 |
14 | public enum Branch {
| `- note: consider making enum 'Branch' conform to the 'Sendable' protocol
15 | case main
16 | case working
:
197 | public enum FlowError: Error {
198 | case invalidHeadBranch(name: String)
199 | case illegalHeadBranch(Branch)
| `- warning: associated value 'illegalHeadBranch' of 'Sendable'-conforming enum 'FlowError' has non-sendable type 'GitHubFlow.Branch'; this is an error in the Swift 6 language mode
200 | }
201 |
[76/85] Compiling DangerSwiftEda PRMetaData.swift
[77/85] Compiling DangerSwiftEda PRWorkflow.swift
[78/85] Compiling DangerSwiftEda GitCommit.swift
[79/85] Compiling DangerSwiftEda PRUtility.swift
[80/85] Compiling DangerSwiftEda DangerDSL+.swift
/Users/admin/builder/spi-builder-workspace/Sources/DangerSwiftEda/Eda.swift:15:23: warning: static property 'gitHostingInstance' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
13 | // MARK: resolvers and executors
14 | public struct Eda {
15 | public static var gitHostingInstance: GitHostingInstance?
| |- warning: static property 'gitHostingInstance' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'gitHostingInstance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'gitHostingInstance' 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
16 |
17 | private let prMetaDataResolver: () -> PRMetaData
[81/85] Compiling DangerSwiftEda GitHubFlow.swift
/Users/admin/builder/spi-builder-workspace/Sources/DangerSwiftEda/GitHubFlow.swift:199:14: warning: associated value 'illegalHeadBranch' of 'Sendable'-conforming enum 'FlowError' has non-sendable type 'GitHubFlow.Branch'; this is an error in the Swift 6 language mode
12 | public struct GitHubFlow {
13 |
14 | public enum Branch {
| `- note: consider making enum 'Branch' conform to the 'Sendable' protocol
15 | case main
16 | case working
:
197 | public enum FlowError: Error {
198 | case invalidHeadBranch(name: String)
199 | case illegalHeadBranch(Branch)
| `- warning: associated value 'illegalHeadBranch' of 'Sendable'-conforming enum 'FlowError' has non-sendable type 'GitHubFlow.Branch'; this is an error in the Swift 6 language mode
200 | }
201 |
[82/85] Compiling DangerSwiftEda Eda.swift
/Users/admin/builder/spi-builder-workspace/Sources/DangerSwiftEda/Eda.swift:15:23: warning: static property 'gitHostingInstance' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
13 | // MARK: resolvers and executors
14 | public struct Eda {
15 | public static var gitHostingInstance: GitHostingInstance?
| |- warning: static property 'gitHostingInstance' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'gitHostingInstance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'gitHostingInstance' 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
16 |
17 | private let prMetaDataResolver: () -> PRMetaData
[83/85] Compiling DangerSwiftEda GitHostingInstance.swift
[84/85] Compiling DangerSwiftEda GitFlow.swift
/Users/admin/builder/spi-builder-workspace/Sources/DangerSwiftEda/GitFlow.swift:319:14: warning: associated value 'illegalHeadBranch' of 'Sendable'-conforming enum 'FlowError' has non-sendable type 'GitFlow.Branch'; this is an error in the Swift 6 language mode
12 | public struct GitFlow {
13 |
14 | public enum Branch: Equatable {
| `- note: consider making enum 'Branch' conform to the 'Sendable' protocol
15 |
16 | public enum Reference: Equatable {
:
317 | public enum FlowError: Error {
318 | case invalidHeadBranch(name: String)
319 | case illegalHeadBranch(Branch)
| `- warning: associated value 'illegalHeadBranch' of 'Sendable'-conforming enum 'FlowError' has non-sendable type 'GitFlow.Branch'; this is an error in the Swift 6 language mode
320 | }
321 |
[85/85] Compiling DangerSwiftEda String+.swift
Build complete! (44.98s)
Fetching https://github.com/yumemi-inc/danger-swift-shoki/
Fetching https://github.com/el-hoshino/DangerSwiftHammer
Fetching https://github.com/danger/swift.git
[1/212] Fetching dangerswifthammer
[213/458] Fetching dangerswifthammer, danger-swift-shoki
[459/10085] Fetching dangerswifthammer, danger-swift-shoki, swift
Fetched https://github.com/danger/swift.git from cache (1.43s)
Fetched https://github.com/el-hoshino/DangerSwiftHammer from cache (1.43s)
Fetched https://github.com/yumemi-inc/danger-swift-shoki/ from cache (1.43s)
Computing version for https://github.com/yumemi-inc/danger-swift-shoki/
Computed https://github.com/yumemi-inc/danger-swift-shoki/ at 0.3.0 (0.64s)
Computing version for https://github.com/el-hoshino/DangerSwiftHammer
Computed https://github.com/el-hoshino/DangerSwiftHammer at 0.2.2 (0.64s)
Computing version for https://github.com/danger/swift.git
Computed https://github.com/danger/swift.git at 3.18.1 (0.69s)
Fetching https://github.com/mxcl/Version
Fetching https://github.com/shibapm/Logger
Fetching https://github.com/nerdishbynature/octokit.swift
[1/116] Fetching logger
[29/367] Fetching logger, version
[195/4689] Fetching logger, version, octokit.swift
Fetched https://github.com/mxcl/Version from cache (1.12s)
Fetched https://github.com/shibapm/Logger from cache (1.13s)
Fetched https://github.com/nerdishbynature/octokit.swift from cache (1.13s)
Computing version for https://github.com/nerdishbynature/octokit.swift
Computed https://github.com/nerdishbynature/octokit.swift at 0.12.0 (2.51s)
Fetching https://github.com/nerdishbynature/RequestKit.git
[1/1554] Fetching requestkit
Fetched https://github.com/nerdishbynature/RequestKit.git from cache (0.91s)
Computing version for https://github.com/mxcl/Version
Computed https://github.com/mxcl/Version at 2.0.1 (0.66s)
Computing version for https://github.com/nerdishbynature/RequestKit.git
Computed https://github.com/nerdishbynature/RequestKit.git at 3.2.1 (0.65s)
Computing version for https://github.com/shibapm/Logger
Computed https://github.com/shibapm/Logger at 0.2.3 (2.16s)
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/shibapm/Logger
Working copy of https://github.com/shibapm/Logger resolved at 0.2.3
Creating working copy for https://github.com/yumemi-inc/danger-swift-shoki/
Working copy of https://github.com/yumemi-inc/danger-swift-shoki/ resolved at 0.3.0
Creating working copy for https://github.com/danger/swift.git
Working copy of https://github.com/danger/swift.git resolved at 3.18.1
Creating working copy for https://github.com/nerdishbynature/RequestKit.git
Working copy of https://github.com/nerdishbynature/RequestKit.git resolved at 3.2.1
Creating working copy for https://github.com/nerdishbynature/octokit.swift
Working copy of https://github.com/nerdishbynature/octokit.swift resolved at 0.12.0
Creating working copy for https://github.com/el-hoshino/DangerSwiftHammer
Working copy of https://github.com/el-hoshino/DangerSwiftHammer resolved at 0.2.2
Build complete.
{
"dependencies" : [
{
"identity" : "swift",
"requirement" : {
"range" : [
{
"lower_bound" : "3.0.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/danger/swift.git"
},
{
"identity" : "dangerswifthammer",
"requirement" : {
"range" : [
{
"lower_bound" : "0.2.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/el-hoshino/DangerSwiftHammer"
},
{
"identity" : "danger-swift-shoki",
"requirement" : {
"range" : [
{
"lower_bound" : "0.2.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/yumemi-inc/danger-swift-shoki/"
}
],
"manifest_display_name" : "DangerSwiftEda",
"name" : "DangerSwiftEda",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "DangerSwiftEda",
"targets" : [
"DangerSwiftEda"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "DangerSwiftEdaTests",
"module_type" : "SwiftTarget",
"name" : "DangerSwiftEdaTests",
"path" : "Tests/DangerSwiftEdaTests",
"sources" : [
"EdaTests.swift",
"GitFlowBranchTypeTests.swift",
"GitHubFlowBranchTypeTests.swift",
"LibraryInternalMethodBridges.swift",
"StringContainer.swift",
"StringTests.swift"
],
"target_dependencies" : [
"DangerSwiftEda"
],
"type" : "test"
},
{
"c99name" : "DangerSwiftEda",
"module_type" : "SwiftTarget",
"name" : "DangerSwiftEda",
"path" : "Sources/DangerSwiftEda",
"product_dependencies" : [
"Danger",
"DangerSwiftHammer",
"DangerSwiftShoki"
],
"product_memberships" : [
"DangerSwiftEda"
],
"sources" : [
"DangerDSL+.swift",
"Eda.swift",
"GitCommit.swift",
"GitFlow.swift",
"GitHostingInstance.swift",
"GitHubFlow.swift",
"PRMetaData.swift",
"PRUtility.swift",
"PRWorkflow.swift",
"String+.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.