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.0 for Linux on 28 Nov 2024 11:28:25 UTC.

Swift 6 data race errors: 2

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/JosephDuffy/SwiftChecksDangerPlugin.git
Reference: master
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/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
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/JosephDuffy/SwiftChecksDangerPlugin.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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
[1/10125] Fetching swift
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.20.2 (0.47s)
Fetching https://github.com/mxcl/Version
Fetching https://github.com/shibapm/Logger
Fetching https://github.com/nerdishbynature/octokit.swift
[1/116] Fetching logger
[47/404] Fetching logger, version
Fetched https://github.com/shibapm/Logger from cache (0.19s)
Fetched https://github.com/mxcl/Version from cache (0.19s)
[1/4439] Fetching octokit.swift
Fetched https://github.com/nerdishbynature/octokit.swift from cache (0.30s)
Computing version for https://github.com/nerdishbynature/octokit.swift
Computed https://github.com/nerdishbynature/octokit.swift at 0.13.0 (1.94s)
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.02s)
Fetched https://github.com/nicklockwood/SwiftFormat from cache (24.72s)
Computing version for https://github.com/nerdishbynature/RequestKit.git
Computed https://github.com/nerdishbynature/RequestKit.git at 3.3.0 (0.50s)
Computing version for https://github.com/mxcl/Version
Computed https://github.com/mxcl/Version at 2.1.0 (0.47s)
Computing version for https://github.com/shibapm/Logger
Computed https://github.com/shibapm/Logger at 0.2.3 (2.00s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.55.3 (0.51s)
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/mxcl/Version
Working copy of https://github.com/mxcl/Version resolved at 2.1.0
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/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at 0.55.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/shibapm/Logger
Working copy of https://github.com/shibapm/Logger resolved at 0.2.3
[1/1] Compiling plugin SwiftFormatPlugin
Building for debugging...
[1/16] Write sources
[7/16] Write swift-version-24593BA9C3E375BF.txt
[9/24] Compiling DangerShellExecutor ShellExecutor.swift
[10/24] Emitting module DangerShellExecutor
[11/25] Compiling RequestKit Router.swift
[12/25] Compiling RequestKit RequestKitSession.swift
[14/25] Emitting module RequestKit
[15/25] Compiling RequestKit JSONPostRouter.swift
[17/26] Emitting module Logger
[18/26] Compiling Logger Logger.swift
[19/27] Wrapping AST for DangerShellExecutor for debugging
[20/27] Wrapping AST for RequestKit for debugging
[21/27] Wrapping AST for Logger for debugging
[23/51] Compiling OctoKit Plan.swift
[24/51] Compiling OctoKit PreviewHeader.swift
[25/51] Compiling OctoKit PublicKey.swift
[26/54] Compiling OctoKit Configuration.swift
[27/54] Compiling OctoKit File.swift
[28/54] Compiling OctoKit Follow.swift
[29/54] Compiling OctoKit Gist.swift
[30/54] Compiling OctoKit Time.swift
[31/54] Compiling OctoKit URL+URLParameters.swift
[32/54] Compiling OctoKit User.swift
[33/54] Emitting module OctoKit
[34/54] Compiling OctoKit Stars.swift
[35/54] Compiling OctoKit Statuses.swift
[36/54] Compiling OctoKit String+PercentEncoding.swift
[37/54] Compiling OctoKit NotificationThread.swift
[38/54] Compiling OctoKit Octokit.swift
[39/54] Compiling OctoKit Parameters.swift
[40/54] Compiling OctoKit PullRequest.swift
[41/54] Compiling OctoKit Reactions.swift
[42/54] Compiling OctoKit Releases.swift
[43/54] Compiling OctoKit Git.swift
[44/54] Compiling OctoKit Issue.swift
[45/54] Compiling OctoKit Label.swift
[46/54] Compiling OctoKit Milestone.swift
[47/54] Compiling OctoKit Repositories.swift
[48/54] Compiling OctoKit Review.swift
[49/54] Compiling OctoKit Search.swift
[50/55] Wrapping AST for OctoKit for debugging
[52/74] Compiling Danger DangerUtils.swift
[53/74] Compiling Danger DateFormatterExtensions.swift
[54/74] Compiling Danger NSRegularExpressionExtensions.swift
[55/76] Compiling Danger CurrentPathProvider.swift
[56/76] Compiling Danger SwiftLint.swift
[57/76] Compiling Danger SwiftLintViolation.swift
[58/76] Compiling Danger SwiftlintReportDeleter.swift
[59/76] Compiling Danger File.swift
[60/76] Compiling Danger GitDSL.swift
[61/76] Compiling Danger GitDiff.swift
[62/76] Compiling Danger Report.swift
[63/76] Compiling Danger Settings.swift
[64/76] Emitting module Danger
[65/76] Compiling Danger BitBucketCloud.swift
[66/76] Compiling Danger BitBucketMetadata.swift
[67/76] Compiling Danger BitBucketServerDSL.swift
[68/76] Compiling Danger Danger.swift
[69/76] Compiling Danger DangerDSL.swift
[70/76] Compiling Danger DangerResults.swift
[71/76] Compiling Danger GitHubDSL.swift
[72/76] Compiling Danger GitLabDSL.swift
[73/77] Wrapping AST for Danger for debugging
[75/84] Compiling SwiftChecksDangerPlugin InfoPlistFileProvider.swift
[76/84] Compiling SwiftChecksDangerPlugin SwiftChecks.swift
[77/84] Compiling SwiftChecksDangerPlugin VersionFile.swift
[78/84] Emitting module SwiftChecksDangerPlugin
/host/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: annotate 'versionNumber' 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
 7 |         public static var buildNumber: PlistKey = "CFBundleVersion"
 8 |
/host/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: annotate 'buildNumber' 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
 8 |
 9 |         public let rawValue: String
[79/84] Compiling SwiftChecksDangerPlugin FileProvider.swift
[80/84] Compiling SwiftChecksDangerPlugin InfoPlistFile.swift
/host/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: annotate 'versionNumber' 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
 7 |         public static var buildNumber: PlistKey = "CFBundleVersion"
 8 |
/host/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: annotate 'buildNumber' 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
 8 |
 9 |         public let rawValue: String
[81/84] Compiling SwiftChecksDangerPlugin File.swift
[82/85] Wrapping AST for SwiftChecksDangerPlugin for debugging
[83/85] Write Objects.LinkFileList
[84/85] Linking libSwiftChecksDangerPlugin.so
Build complete! (56.79s)
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" : "/host/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"
}
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.