The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of DangerSwiftEda, reference main (632f11), with Swift 6.1 for Android on 29 May 2025 03:12:30 UTC.

Swift 6 data race errors: 3

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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.63.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:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/yumemi-inc/danger-swift-eda.git
https://github.com/yumemi-inc/danger-swift-eda.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "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"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/el-hoshino/DangerSwiftHammer
Fetching https://github.com/danger/swift.git
Fetching https://github.com/yumemi-inc/danger-swift-shoki/
[1/250] Fetching danger-swift-shoki
[251/462] Fetching danger-swift-shoki, dangerswifthammer
Fetched https://github.com/el-hoshino/DangerSwiftHammer from cache (0.88s)
Fetched https://github.com/yumemi-inc/danger-swift-shoki/ from cache (0.88s)
[1/10264] Fetching swift
Fetched https://github.com/danger/swift.git from cache (1.20s)
Computing version for https://github.com/yumemi-inc/danger-swift-shoki/
Computed https://github.com/yumemi-inc/danger-swift-shoki/ at 0.3.0 (2.43s)
Computing version for https://github.com/el-hoshino/DangerSwiftHammer
Computed https://github.com/el-hoshino/DangerSwiftHammer at 0.2.2 (0.79s)
Computing version for https://github.com/danger/swift.git
Computed https://github.com/danger/swift.git at 3.21.1 (0.72s)
Fetching https://github.com/shibapm/Logger
Fetching https://github.com/nerdishbynature/octokit.swift
Fetching https://github.com/mxcl/Version
[1/288] Fetching version
[289/5283] Fetching version, octokit.swift
[1139/5399] Fetching version, octokit.swift, logger
Fetched https://github.com/mxcl/Version from cache (0.30s)
Fetched https://github.com/shibapm/Logger from cache (0.31s)
Fetched https://github.com/nerdishbynature/octokit.swift from cache (0.36s)
Computing version for https://github.com/nerdishbynature/octokit.swift
Computed https://github.com/nerdishbynature/octokit.swift at 0.14.0 (0.88s)
Fetching https://github.com/nerdishbynature/RequestKit.git
[1/1554] Fetching requestkit
Fetched https://github.com/nerdishbynature/RequestKit.git from cache (0.35s)
Computing version for https://github.com/nerdishbynature/RequestKit.git
Computed https://github.com/nerdishbynature/RequestKit.git at 3.3.0 (1.19s)
Computing version for https://github.com/mxcl/Version
Computed https://github.com/mxcl/Version at 2.1.0 (0.68s)
Computing version for https://github.com/shibapm/Logger
Computed https://github.com/shibapm/Logger at 0.2.3 (2.87s)
Creating working copy for https://github.com/nerdishbynature/octokit.swift
Working copy of https://github.com/nerdishbynature/octokit.swift resolved at 0.14.0
Creating working copy for https://github.com/mxcl/Version
Working copy of https://github.com/mxcl/Version resolved at 2.1.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/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.21.1
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
warning: 'octokit.swift': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/octokit.swift/OctoKit/Info.plist
Building for debugging...
[0/17] Write sources
[8/17] Write swift-version-24593BA9C3E375BF.txt
[10/25] Emitting module DangerShellExecutor
[11/25] Emitting module RequestKit
[12/25] Compiling RequestKit Router.swift
[13/25] Compiling RequestKit RequestKitSession.swift
[14/25] Compiling RequestKit JSONPostRouter.swift
[15/26] Compiling DangerShellExecutor ShellExecutor.swift
[16/27] Emitting module Logger
[17/27] Compiling Logger Logger.swift
[20/28] Wrapping AST for Logger for debugging
[21/28] Wrapping AST for DangerShellExecutor for debugging
[22/28] Wrapping AST for RequestKit for debugging
[24/54] Compiling OctoKit Statuses.swift
[25/54] Compiling OctoKit String+PercentEncoding.swift
[26/54] Compiling OctoKit Team.swift
[27/57] Compiling OctoKit Review.swift
[28/57] Compiling OctoKit Search.swift
[29/57] Compiling OctoKit Stars.swift
[30/57] Emitting module OctoKit
[31/57] Compiling OctoKit Time.swift
[32/57] Compiling OctoKit URL+URLParameters.swift
[33/57] Compiling OctoKit User.swift
[34/57] Compiling OctoKit Plan.swift
[35/57] Compiling OctoKit PreviewHeader.swift
[36/57] Compiling OctoKit PublicKey.swift
[37/57] Compiling OctoKit PullRequest.swift
[38/57] Compiling OctoKit Configuration.swift
[39/57] Compiling OctoKit File.swift
[40/57] Compiling OctoKit Follow.swift
[41/57] Compiling OctoKit Gist.swift
[42/57] Compiling OctoKit NotificationThread.swift
[43/57] Compiling OctoKit Octokit.swift
[44/57] Compiling OctoKit Organization.swift
[45/57] Compiling OctoKit Parameters.swift
[46/57] Compiling OctoKit Git.swift
[47/57] Compiling OctoKit Issue.swift
[48/57] Compiling OctoKit Label.swift
[49/57] Compiling OctoKit Milestone.swift
[50/57] Compiling OctoKit Reactions.swift
[51/57] Compiling OctoKit Releases.swift
[52/57] Compiling OctoKit Repositories.swift
[53/58] Wrapping AST for OctoKit for debugging
[55/77] Compiling Danger SwiftLintViolation.swift
[56/77] Compiling Danger SwiftlintReportDeleter.swift
[57/77] Compiling Danger CurrentPathProvider.swift
[58/77] Compiling Danger SwiftLint.swift
[59/79] Compiling Danger Report.swift
[60/79] Compiling Danger Settings.swift
[61/79] Compiling Danger File.swift
[62/79] Compiling Danger GitDSL.swift
[63/79] Compiling Danger GitDiff.swift
[64/79] Emitting module Danger
[65/79] Compiling Danger DangerUtils.swift
[66/79] Compiling Danger DateFormatterExtensions.swift
[67/79] Compiling Danger NSRegularExpressionExtensions.swift
[68/79] Compiling Danger BitBucketCloud.swift
[69/79] Compiling Danger BitBucketMetadata.swift
[70/79] Compiling Danger BitBucketServerDSL.swift
[71/79] Compiling Danger Danger.swift
[72/79] Compiling Danger DangerDSL.swift
[73/79] Compiling Danger DangerResults.swift
[74/79] Compiling Danger GitHubDSL.swift
[75/79] Compiling Danger GitLabDSL.swift
[76/80] Wrapping AST for Danger for debugging
[78/88] Compiling DangerSwiftShoki Shoki.swift
[79/88] Compiling DangerSwiftHammer Hammer.swift
[80/88] Emitting module DangerSwiftHammer
[81/88] Compiling DangerSwiftHammer Danger+.swift
[82/89] Compiling DangerSwiftShoki MarkdownConfiguration.swift
[83/89] Compiling DangerSwiftShoki DangerDSL+.swift
[84/89] Emitting module DangerSwiftShoki
[85/89] Compiling DangerSwiftShoki Report.swift
[87/90] Wrapping AST for DangerSwiftShoki for debugging
[88/90] Write Objects.LinkFileList
[89/90] Linking libDangerSwiftShoki.so
[91/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 |
[92/100] Compiling DangerSwiftEda PRWorkflow.swift
[93/101] 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: add '@MainActor' to make static property 'gitHostingInstance' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 |     private let prMetaDataResolver: () -> PRMetaData
[94/101] 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: add '@MainActor' to make static property 'gitHostingInstance' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 |     private let prMetaDataResolver: () -> PRMetaData
[95/101] Compiling DangerSwiftEda PRMetaData.swift
[96/101] 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: add '@MainActor' to make static property 'gitHostingInstance' part of global actor 'MainActor'
   |                       `- 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/101] Compiling DangerSwiftEda GitHostingInstance.swift
[98/101] 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/101] 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/101] Compiling DangerSwiftEda PRUtility.swift
[101/101] Compiling DangerSwiftEda String+.swift
Build complete! (41.30s)
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"
}
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Done.