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 main (632f11), with Swift 6.0 for Linux on 30 Nov 2024 12:40:20 UTC.

Swift 6 data race errors: 3

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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: main
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
 * 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:         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-4609320-2":/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/yumemi-inc/danger-swift-shoki/
Fetching https://github.com/danger/swift.git
Fetching https://github.com/el-hoshino/DangerSwiftHammer
[1/246] Fetching danger-swift-shoki
[247/458] Fetching danger-swift-shoki, dangerswifthammer
[459/10583] Fetching danger-swift-shoki, dangerswifthammer, swift
Fetched https://github.com/el-hoshino/DangerSwiftHammer from cache (0.54s)
Fetched https://github.com/yumemi-inc/danger-swift-shoki/ from cache (0.54s)
Fetched https://github.com/danger/swift.git from cache (0.54s)
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.55s)
Computing version for https://github.com/el-hoshino/DangerSwiftHammer
Computed https://github.com/el-hoshino/DangerSwiftHammer at 0.2.2 (0.48s)
Computing version for https://github.com/danger/swift.git
Computed https://github.com/danger/swift.git at 3.20.2 (0.46s)
Fetching https://github.com/shibapm/Logger
Fetching https://github.com/mxcl/Version
Fetching https://github.com/nerdishbynature/octokit.swift
[1/116] Fetching logger
[117/404] Fetching logger, version
[405/4843] Fetching logger, version, octokit.swift
Fetched https://github.com/mxcl/Version from cache (0.85s)
Fetched https://github.com/shibapm/Logger from cache (0.85s)
Fetched https://github.com/nerdishbynature/octokit.swift from cache (0.85s)
Computing version for https://github.com/nerdishbynature/octokit.swift
Computed https://github.com/nerdishbynature/octokit.swift at 0.13.0 (1.91s)
Fetching https://github.com/nicklockwood/SwiftFormat
Fetching https://github.com/nerdishbynature/RequestKit.git
[1/1554] Fetching requestkit
Fetched https://github.com/nerdishbynature/RequestKit.git from cache (0.41s)
[1/45778] Fetching swiftformat
Fetched https://github.com/nicklockwood/SwiftFormat from cache (30.91s)
Computing version for https://github.com/nerdishbynature/RequestKit.git
Computed https://github.com/nerdishbynature/RequestKit.git at 3.3.0 (0.43s)
Computing version for https://github.com/mxcl/Version
Computed https://github.com/mxcl/Version at 2.1.0 (0.43s)
Computing version for https://github.com/shibapm/Logger
Computed https://github.com/shibapm/Logger at 0.2.3 (1.78s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.55.3 (0.44s)
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/el-hoshino/DangerSwiftHammer
Working copy of https://github.com/el-hoshino/DangerSwiftHammer resolved at 0.2.2
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/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.1.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.55.3
[1/1] Compiling plugin SwiftFormatPlugin
Building for debugging...
[1/18] Write sources
[9/18] Write swift-version-24593BA9C3E375BF.txt
[11/26] Emitting module DangerShellExecutor
[12/26] Emitting module Logger
[13/26] Compiling Logger Logger.swift
[14/26] Compiling DangerShellExecutor ShellExecutor.swift
[15/28] Compiling RequestKit RequestKitSession.swift
[16/28] Emitting module RequestKit
[17/28] Compiling RequestKit JSONPostRouter.swift
[18/28] Compiling RequestKit Router.swift
[21/29] Wrapping AST for RequestKit for debugging
[22/29] Wrapping AST for Logger for debugging
[23/29] Wrapping AST for DangerShellExecutor for debugging
[25/53] Compiling OctoKit Configuration.swift
[26/53] Compiling OctoKit File.swift
[27/53] Compiling OctoKit Follow.swift
[28/53] Compiling OctoKit Gist.swift
[29/56] Emitting module OctoKit
[30/56] Compiling OctoKit Git.swift
[31/56] Compiling OctoKit Issue.swift
[32/56] Compiling OctoKit Label.swift
[33/56] Compiling OctoKit Milestone.swift
[34/56] Compiling OctoKit Time.swift
[35/56] Compiling OctoKit URL+URLParameters.swift
[36/56] Compiling OctoKit User.swift
[37/56] Compiling OctoKit PullRequest.swift
[38/56] Compiling OctoKit Reactions.swift
[39/56] Compiling OctoKit Releases.swift
[40/56] Compiling OctoKit NotificationThread.swift
[41/56] Compiling OctoKit Octokit.swift
[42/56] Compiling OctoKit Parameters.swift
[43/56] Compiling OctoKit Plan.swift
[44/56] Compiling OctoKit PreviewHeader.swift
[45/56] Compiling OctoKit PublicKey.swift
[46/56] Compiling OctoKit Stars.swift
[47/56] Compiling OctoKit Statuses.swift
[48/56] Compiling OctoKit String+PercentEncoding.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/76] Compiling Danger CurrentPathProvider.swift
[57/76] Compiling Danger SwiftLint.swift
[58/78] Compiling Danger File.swift
[59/78] Compiling Danger GitDSL.swift
[60/78] Compiling Danger GitDiff.swift
[61/78] Compiling Danger DangerUtils.swift
[62/78] Compiling Danger DateFormatterExtensions.swift
[63/78] Compiling Danger NSRegularExpressionExtensions.swift
[64/78] Compiling Danger Report.swift
[65/78] Compiling Danger Settings.swift
[66/78] Emitting module Danger
[67/78] Compiling Danger BitBucketCloud.swift
[68/78] Compiling Danger BitBucketMetadata.swift
[69/78] Compiling Danger BitBucketServerDSL.swift
[70/78] Compiling Danger GitHubDSL.swift
[71/78] Compiling Danger GitLabDSL.swift
[72/78] Compiling Danger Danger.swift
[73/78] Compiling Danger DangerDSL.swift
[74/78] Compiling Danger DangerResults.swift
[75/79] Wrapping AST for Danger for debugging
[77/87] Compiling DangerSwiftHammer Hammer.swift
[78/87] Compiling DangerSwiftShoki Shoki.swift
[79/87] Emitting module DangerSwiftHammer
[80/87] Compiling DangerSwiftHammer Danger+.swift
[82/88] Compiling DangerSwiftShoki MarkdownConfiguration.swift
[83/88] Compiling DangerSwiftShoki DangerDSL+.swift
[84/88] Emitting module DangerSwiftShoki
[85/88] Compiling DangerSwiftShoki Report.swift
[86/89] Wrapping AST for DangerSwiftShoki for debugging
[87/89] Write Objects.LinkFileList
[88/89] Linking libDangerSwiftShoki.so
[90/99] Compiling DangerSwiftEda PRWorkflow.swift
[91/100] Compiling DangerSwiftEda PRUtility.swift
[92/100] Compiling DangerSwiftEda PRMetaData.swift
[93/100] Compiling DangerSwiftEda GitHostingInstance.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 String+.swift
[96/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 |
[97/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
[98/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
[99/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 |
[100/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 |
Build complete! (63.97s)
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.