The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of DangerSwiftEda, reference v0.3.0 (632f11), with Swift 6.0 for Linux on 30 Nov 2024 12:41:32 UTC.

Swift 6 data race errors: 3

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/yumemi-inc/danger-swift-eda.git
Reference: v0.3.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/yumemi-inc/danger-swift-eda
 * tag               v0.3.0     -> FETCH_HEAD
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 v0.3.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/yumemi-inc/danger-swift-eda.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/danger/swift.git
Fetching https://github.com/el-hoshino/DangerSwiftHammer
Fetching https://github.com/yumemi-inc/danger-swift-shoki/
[1/212] Fetching dangerswifthammer
[213/458] Fetching dangerswifthammer, danger-swift-shoki
Fetched https://github.com/el-hoshino/DangerSwiftHammer from cache (0.19s)
Fetched https://github.com/yumemi-inc/danger-swift-shoki/ from cache (0.20s)
[1/10125] Fetching swift
Fetched https://github.com/danger/swift.git from cache (0.44s)
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.56s)
Computing version for https://github.com/el-hoshino/DangerSwiftHammer
Computed https://github.com/el-hoshino/DangerSwiftHammer at 0.2.2 (0.60s)
Computing version for https://github.com/danger/swift.git
Computed https://github.com/danger/swift.git at 3.20.2 (0.59s)
Fetching https://github.com/shibapm/Logger
Fetching https://github.com/nerdishbynature/octokit.swift
Fetching https://github.com/mxcl/Version
[1/288] Fetching version
[289/404] Fetching version, logger
[405/4843] Fetching version, logger, octokit.swift
Fetched https://github.com/mxcl/Version from cache (0.23s)
[4200/4555] Fetching logger, octokit.swift
Fetched https://github.com/shibapm/Logger from cache (0.33s)
Fetched https://github.com/nerdishbynature/octokit.swift from cache (0.33s)
Computing version for https://github.com/nerdishbynature/octokit.swift
Computed https://github.com/nerdishbynature/octokit.swift at 0.13.0 (2.19s)
Fetching https://github.com/nerdishbynature/RequestKit.git
Fetching https://github.com/nicklockwood/SwiftFormat
[1/1554] Fetching requestkit
[1555/47332] Fetching requestkit, swiftformat
Fetched https://github.com/nerdishbynature/RequestKit.git from cache (24.68s)
Fetched https://github.com/nicklockwood/SwiftFormat from cache (25.70s)
Computing version for https://github.com/nerdishbynature/RequestKit.git
Computed https://github.com/nerdishbynature/RequestKit.git at 3.3.0 (1.02s)
Computing version for https://github.com/mxcl/Version
Computed https://github.com/mxcl/Version at 2.1.0 (1.05s)
Computing version for https://github.com/shibapm/Logger
Computed https://github.com/shibapm/Logger at 0.2.3 (4.97s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.55.3 (0.60s)
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/danger/swift.git
Working copy of https://github.com/danger/swift.git resolved at 3.20.2
Creating working copy for https://github.com/el-hoshino/DangerSwiftHammer
Working copy of https://github.com/el-hoshino/DangerSwiftHammer resolved at 0.2.2
Creating working copy for https://github.com/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at 0.55.3
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/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/mxcl/Version
Working copy of https://github.com/mxcl/Version resolved at 2.1.0
[1/1] Compiling plugin SwiftFormatPlugin
Building for debugging...
[1/18] Write sources
[9/18] Write swift-version-24593BA9C3E375BF.txt
[11/26] Emitting module Logger
[12/26] Compiling RequestKit Router.swift
[13/26] Emitting module DangerShellExecutor
[14/26] Compiling DangerShellExecutor ShellExecutor.swift
[15/27] Compiling Logger Logger.swift
[16/27] Emitting module RequestKit
[17/27] Compiling RequestKit JSONPostRouter.swift
[18/27] Compiling RequestKit RequestKitSession.swift
[21/29] Wrapping AST for DangerShellExecutor for debugging
[22/29] Wrapping AST for Logger for debugging
[23/29] Wrapping AST for RequestKit for debugging
[25/53] Emitting module OctoKit
[26/56] Compiling OctoKit PullRequest.swift
[27/56] Compiling OctoKit Reactions.swift
[28/56] Compiling OctoKit Releases.swift
[29/56] Compiling OctoKit Time.swift
[30/56] Compiling OctoKit URL+URLParameters.swift
[31/56] Compiling OctoKit User.swift
[32/56] Compiling OctoKit Git.swift
[33/56] Compiling OctoKit Issue.swift
[34/56] Compiling OctoKit Label.swift
[35/56] Compiling OctoKit Milestone.swift
[36/56] Compiling OctoKit Stars.swift
[37/56] Compiling OctoKit Statuses.swift
[38/56] Compiling OctoKit String+PercentEncoding.swift
[39/56] Compiling OctoKit NotificationThread.swift
[40/56] Compiling OctoKit Octokit.swift
[41/56] Compiling OctoKit Parameters.swift
[42/56] Compiling OctoKit Configuration.swift
[43/56] Compiling OctoKit File.swift
[44/56] Compiling OctoKit Follow.swift
[45/56] Compiling OctoKit Gist.swift
[46/56] Compiling OctoKit Plan.swift
[47/56] Compiling OctoKit PreviewHeader.swift
[48/56] Compiling OctoKit PublicKey.swift
[49/56] Compiling OctoKit Repositories.swift
[50/56] Compiling OctoKit Review.swift
[51/56] Compiling OctoKit Search.swift
[52/57] Wrapping AST for OctoKit for debugging
[54/76] Compiling Danger SwiftLintViolation.swift
[55/76] Compiling Danger SwiftlintReportDeleter.swift
[56/78] Compiling Danger Report.swift
[57/78] Compiling Danger Settings.swift
[58/78] Compiling Danger File.swift
[59/78] Compiling Danger GitDSL.swift
[60/78] Compiling Danger GitDiff.swift
[61/78] Compiling Danger Danger.swift
[62/78] Compiling Danger DangerDSL.swift
[63/78] Compiling Danger DangerResults.swift
[64/78] Emitting module Danger
[65/78] Compiling Danger BitBucketCloud.swift
[66/78] Compiling Danger BitBucketMetadata.swift
[67/78] Compiling Danger BitBucketServerDSL.swift
[68/78] Compiling Danger DangerUtils.swift
[69/78] Compiling Danger DateFormatterExtensions.swift
[70/78] Compiling Danger NSRegularExpressionExtensions.swift
[71/78] Compiling Danger CurrentPathProvider.swift
[72/78] Compiling Danger SwiftLint.swift
[73/78] Compiling Danger GitHubDSL.swift
[74/78] Compiling Danger GitLabDSL.swift
[75/79] Wrapping AST for Danger for debugging
[77/87] Compiling DangerSwiftShoki Shoki.swift
[78/87] Emitting module DangerSwiftHammer
[79/87] Compiling DangerSwiftHammer Danger+.swift
[80/87] Compiling DangerSwiftHammer Hammer.swift
[82/88] Compiling DangerSwiftShoki Report.swift
[83/88] Compiling DangerSwiftShoki DangerDSL+.swift
[84/88] Emitting module DangerSwiftShoki
[85/88] Compiling DangerSwiftShoki MarkdownConfiguration.swift
[86/89] Wrapping AST for DangerSwiftShoki for debugging
[87/89] Write Objects.LinkFileList
[88/89] Linking libDangerSwiftShoki.so
[90/99] Compiling DangerSwiftEda PRUtility.swift
[91/99] Compiling DangerSwiftEda PRWorkflow.swift
[92/100] Compiling DangerSwiftEda GitHostingInstance.swift
[93/100] Compiling DangerSwiftEda PRMetaData.swift
[94/100] Compiling DangerSwiftEda GitHubFlow.swift
/host/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 |
[95/100] Compiling DangerSwiftEda DangerDSL+.swift
/host/spi-builder-workspace/Sources/DangerSwiftEda/Eda.swift:15:23: warning: static property 'gitHostingInstance' is not concurrency-safe because it is nonisolated 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 nonisolated 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
[96/100] Compiling DangerSwiftEda Eda.swift
/host/spi-builder-workspace/Sources/DangerSwiftEda/Eda.swift:15:23: warning: static property 'gitHostingInstance' is not concurrency-safe because it is nonisolated 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 nonisolated 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
[97/100] Emitting module DangerSwiftEda
/host/spi-builder-workspace/Sources/DangerSwiftEda/Eda.swift:15:23: warning: static property 'gitHostingInstance' is not concurrency-safe because it is nonisolated 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 nonisolated 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
/host/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 |
/host/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 |
[98/100] Compiling DangerSwiftEda GitCommit.swift
/host/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 |
[99/100] Compiling DangerSwiftEda GitFlow.swift
/host/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 |
[100/100] Compiling DangerSwiftEda String+.swift
Build complete! (71.49s)
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" : "/host/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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.