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 SwiftChecksDangerPlugin, reference master (19a629), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 19:58:05 UTC.

Swift 6 data race errors: 2

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/JosephDuffy/SwiftChecksDangerPlugin.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/JosephDuffy/SwiftChecksDangerPlugin
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 19a6298 Update to Danger 3.12.3 and Swift 5.5
Cloned https://github.com/JosephDuffy/SwiftChecksDangerPlugin.git
Revision (git rev-parse @):
19a6298dc882b26bd5444ea80a17d1fd97e6d8a9
SUCCESS checkout https://github.com/JosephDuffy/SwiftChecksDangerPlugin.git at master
Fetching https://github.com/mxcl/Version
Fetching https://github.com/nerdishbynature/RequestKit.git
Fetching https://github.com/danger/swift.git
Fetching https://github.com/shibapm/Logger
Fetching https://github.com/nerdishbynature/octokit.swift
[1/116] Fetching logger
[29/404] Fetching logger, version
[107/5399] Fetching logger, version, octokit.swift
[257/6953] Fetching logger, version, octokit.swift, requestkit
[985/17201] Fetching logger, version, octokit.swift, requestkit, swift
Fetched https://github.com/nerdishbynature/octokit.swift from cache (1.13s)
Fetched https://github.com/shibapm/Logger from cache (1.13s)
Fetched https://github.com/danger/swift.git from cache (1.13s)
Computing version for https://github.com/danger/swift.git
Fetched https://github.com/nerdishbynature/RequestKit.git from cache (1.13s)
Fetched https://github.com/mxcl/Version from cache (1.14s)
Computed https://github.com/danger/swift.git at 3.12.3 (1.78s)
Computing version for https://github.com/nerdishbynature/octokit.swift
Computed https://github.com/nerdishbynature/octokit.swift at 0.11.0 (0.69s)
Computing version for https://github.com/mxcl/Version
Computed https://github.com/mxcl/Version at 1.2.0 (2.91s)
Computing version for https://github.com/shibapm/Logger
Computed https://github.com/shibapm/Logger at 0.2.3 (0.59s)
Computing version for https://github.com/nerdishbynature/RequestKit.git
Computed https://github.com/nerdishbynature/RequestKit.git at 2.3.0 (0.59s)
Creating working copy for https://github.com/mxcl/Version
Working copy of https://github.com/mxcl/Version resolved at 1.2.0
Creating working copy for https://github.com/danger/swift.git
Working copy of https://github.com/danger/swift.git resolved at 3.12.3
Creating working copy for https://github.com/nerdishbynature/RequestKit.git
Working copy of https://github.com/nerdishbynature/RequestKit.git resolved at 2.3.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/octokit.swift
Working copy of https://github.com/nerdishbynature/octokit.swift resolved at 0.11.0
========================================
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": "swiftchecksdangerplugin",
      "name": "SwiftChecksDangerPlugin",
      "url": "https://github.com/JosephDuffy/SwiftChecksDangerPlugin.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftChecksDangerPlugin",
      "dependencies": [
        {
          "identity": "swift",
          "name": "danger-swift",
          "url": "https://github.com/danger/swift.git",
          "version": "3.21.1",
          "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.14.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": [
                  ]
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/JosephDuffy/SwiftChecksDangerPlugin.git
[1/24] Fetching swiftchecksdangerplugin
Fetched https://github.com/JosephDuffy/SwiftChecksDangerPlugin.git from cache (0.52s)
Fetching https://github.com/danger/swift.git from cache
Fetched https://github.com/danger/swift.git from cache (0.53s)
Computing version for https://github.com/danger/swift.git
Computed https://github.com/danger/swift.git at 3.21.1 (1.06s)
Fetching https://github.com/nerdishbynature/octokit.swift from cache
Fetching https://github.com/mxcl/Version from cache
Fetching https://github.com/shibapm/Logger from cache
Fetched https://github.com/mxcl/Version from cache (0.42s)
Fetched https://github.com/nerdishbynature/octokit.swift from cache (0.46s)
Fetched https://github.com/shibapm/Logger from cache (0.46s)
Computing version for https://github.com/nerdishbynature/octokit.swift
Computed https://github.com/nerdishbynature/octokit.swift at 0.14.0 (0.96s)
Fetching https://github.com/nerdishbynature/RequestKit.git from cache
Fetched https://github.com/nerdishbynature/RequestKit.git from cache (0.46s)
Computing version for https://github.com/nerdishbynature/RequestKit.git
Computed https://github.com/nerdishbynature/RequestKit.git at 3.3.0 (1.06s)
Computing version for https://github.com/mxcl/Version
Computed https://github.com/mxcl/Version at 2.1.0 (0.60s)
Computing version for https://github.com/shibapm/Logger
Computed https://github.com/shibapm/Logger at 0.2.3 (0.03s)
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.21.1
Creating working copy for https://github.com/JosephDuffy/SwiftChecksDangerPlugin.git
Working copy of https://github.com/JosephDuffy/SwiftChecksDangerPlugin.git resolved at master (19a6298)
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/shibapm/Logger
Working copy of https://github.com/shibapm/Logger resolved at 0.2.3
Creating working copy for https://github.com/nerdishbynature/octokit.swift
Working copy of https://github.com/nerdishbynature/octokit.swift resolved at 0.14.0
warning: '.resolve-product-dependencies': dependency 'swiftchecksdangerplugin' is not used by any target
Found 1 product dependencies
  - danger-swift
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/JosephDuffy/SwiftChecksDangerPlugin.git
https://github.com/JosephDuffy/SwiftChecksDangerPlugin.git
{
  "dependencies" : [
    {
      "identity" : "swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.12.3",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/danger/swift.git"
    }
  ],
  "manifest_display_name" : "SwiftChecksDangerPlugin",
  "name" : "SwiftChecksDangerPlugin",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.12"
    }
  ],
  "products" : [
    {
      "name" : "SwiftChecksDangerPlugin",
      "targets" : [
        "SwiftChecksDangerPlugin"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "SwiftChecksDangerPlugin",
      "module_type" : "SwiftTarget",
      "name" : "SwiftChecksDangerPlugin",
      "path" : "Sources/SwiftChecksDangerPlugin",
      "product_dependencies" : [
        "Danger"
      ],
      "product_memberships" : [
        "SwiftChecksDangerPlugin"
      ],
      "sources" : [
        "File.swift",
        "FileProvider.swift",
        "InfoPlistFile.swift",
        "InfoPlistFileProvider.swift",
        "SwiftChecks.swift",
        "VersionFile.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/9] Write sources
[6/9] Write swift-version-2F0A5646E1D333AE.txt
[8/17] Compiling RequestKit RequestKitSession.swift
[9/17] Compiling DangerShellExecutor ShellExecutor.swift
[10/17] Emitting module DangerShellExecutor
[11/17] Emitting module Logger
[12/17] Compiling Logger Logger.swift
[13/17] Compiling RequestKit Router.swift
[14/17] Compiling RequestKit JSONPostRouter.swift
[15/17] Emitting module RequestKit
[16/39] Compiling OctoKit Milestone.swift
[17/39] Compiling OctoKit Octokit.swift
[18/39] Compiling OctoKit Parameters.swift
[19/41] Compiling OctoKit Reactions.swift
[20/41] Compiling OctoKit Releases.swift
[21/41] Compiling OctoKit Stars.swift
[22/41] Compiling OctoKit Statuses.swift
[23/41] Compiling OctoKit Plan.swift
[24/41] Compiling OctoKit PreviewHeader.swift
[25/41] Compiling OctoKit PublicKey.swift
[26/41] Compiling OctoKit PullRequest.swift
[27/41] Emitting module OctoKit
[28/41] Compiling OctoKit String+PercentEncoding.swift
[29/41] Compiling OctoKit Time.swift
[30/41] Compiling OctoKit Configuration.swift
[31/41] Compiling OctoKit File.swift
[32/41] Compiling OctoKit Follow.swift
[33/41] Compiling OctoKit URL+URLParameters.swift
[34/41] Compiling OctoKit User.swift
[35/41] Compiling OctoKit Repositories.swift
[36/41] Compiling OctoKit Review.swift
[37/41] Compiling OctoKit Gist.swift
[38/41] Compiling OctoKit Issue.swift
[39/41] Compiling OctoKit Label.swift
[40/60] Compiling Danger SwiftLintViolation.swift
[41/60] Compiling Danger SwiftlintReportDeleter.swift
[42/60] Compiling Danger GitDSL.swift
[43/60] Compiling Danger GitDiff.swift
[44/60] Compiling Danger CurrentPathProvider.swift
[45/60] Compiling Danger SwiftLint.swift
[46/60] Compiling Danger NSRegularExpressionExtensions.swift
[47/60] Compiling Danger File.swift
[48/60] Compiling Danger DangerUtils.swift
[49/60] Compiling Danger DateFormatterExtensions.swift
[50/60] Compiling Danger DangerDSL.swift
[51/60] Compiling Danger DangerResults.swift
[52/60] Compiling Danger BitBucketCloud.swift
[53/60] Compiling Danger BitBucketMetadata.swift
[54/60] Compiling Danger BitBucketServerDSL.swift
[55/60] Compiling Danger Danger.swift
[56/60] Emitting module Danger
[57/60] Compiling Danger GitHubDSL.swift
[58/60] Compiling Danger GitLabDSL.swift
[59/62] Compiling Danger Report.swift
[60/62] Compiling Danger Settings.swift
[61/69] Compiling SwiftChecksDangerPlugin File.swift
[62/69] Compiling SwiftChecksDangerPlugin InfoPlistFileProvider.swift
[63/69] Compiling SwiftChecksDangerPlugin SwiftChecks.swift
[64/69] Emitting module SwiftChecksDangerPlugin
/Users/admin/builder/spi-builder-workspace/Sources/SwiftChecksDangerPlugin/InfoPlistFile.swift:6:27: warning: static property 'versionNumber' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 4 |
 5 |     public struct PlistKey: RawRepresentable, ExpressibleByStringLiteral {
 6 |         public static var versionNumber: PlistKey = "CFBundleShortVersionString"
   |                           |- warning: static property 'versionNumber' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: convert 'versionNumber' to a 'let' constant to make 'Sendable' shared state immutable
   |                           |- note: add '@MainActor' to make static property 'versionNumber' part of global actor 'MainActor'
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 7 |         public static var buildNumber: PlistKey = "CFBundleVersion"
 8 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftChecksDangerPlugin/InfoPlistFile.swift:7:27: warning: static property 'buildNumber' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 5 |     public struct PlistKey: RawRepresentable, ExpressibleByStringLiteral {
 6 |         public static var versionNumber: PlistKey = "CFBundleShortVersionString"
 7 |         public static var buildNumber: PlistKey = "CFBundleVersion"
   |                           |- warning: static property 'buildNumber' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: convert 'buildNumber' to a 'let' constant to make 'Sendable' shared state immutable
   |                           |- note: add '@MainActor' to make static property 'buildNumber' part of global actor 'MainActor'
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 8 |
 9 |         public let rawValue: String
[65/69] Compiling SwiftChecksDangerPlugin InfoPlistFile.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftChecksDangerPlugin/InfoPlistFile.swift:6:27: warning: static property 'versionNumber' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 4 |
 5 |     public struct PlistKey: RawRepresentable, ExpressibleByStringLiteral {
 6 |         public static var versionNumber: PlistKey = "CFBundleShortVersionString"
   |                           |- warning: static property 'versionNumber' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: convert 'versionNumber' to a 'let' constant to make 'Sendable' shared state immutable
   |                           |- note: add '@MainActor' to make static property 'versionNumber' part of global actor 'MainActor'
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 7 |         public static var buildNumber: PlistKey = "CFBundleVersion"
 8 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftChecksDangerPlugin/InfoPlistFile.swift:7:27: warning: static property 'buildNumber' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 5 |     public struct PlistKey: RawRepresentable, ExpressibleByStringLiteral {
 6 |         public static var versionNumber: PlistKey = "CFBundleShortVersionString"
 7 |         public static var buildNumber: PlistKey = "CFBundleVersion"
   |                           |- warning: static property 'buildNumber' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: convert 'buildNumber' to a 'let' constant to make 'Sendable' shared state immutable
   |                           |- note: add '@MainActor' to make static property 'buildNumber' part of global actor 'MainActor'
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 8 |
 9 |         public let rawValue: String
[66/69] Compiling SwiftChecksDangerPlugin FileProvider.swift
[67/69] Compiling SwiftChecksDangerPlugin VersionFile.swift
[67/69] Write Objects.LinkFileList
[68/69] Linking libSwiftChecksDangerPlugin.dylib
Build complete! (12.81s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.12.3",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/danger/swift.git"
    }
  ],
  "manifest_display_name" : "SwiftChecksDangerPlugin",
  "name" : "SwiftChecksDangerPlugin",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.12"
    }
  ],
  "products" : [
    {
      "name" : "SwiftChecksDangerPlugin",
      "targets" : [
        "SwiftChecksDangerPlugin"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "SwiftChecksDangerPlugin",
      "module_type" : "SwiftTarget",
      "name" : "SwiftChecksDangerPlugin",
      "path" : "Sources/SwiftChecksDangerPlugin",
      "product_dependencies" : [
        "Danger"
      ],
      "product_memberships" : [
        "SwiftChecksDangerPlugin"
      ],
      "sources" : [
        "File.swift",
        "FileProvider.swift",
        "InfoPlistFile.swift",
        "InfoPlistFileProvider.swift",
        "SwiftChecks.swift",
        "VersionFile.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Done.