Build Information
Successful build of SwiftChecksDangerPlugin, reference 0.3.0 (19a629
), with Swift 6.0 for Linux on 2 Nov 2024 05:29:10 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 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/JosephDuffy/SwiftChecksDangerPlugin.git
Reference: 0.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/JosephDuffy/SwiftChecksDangerPlugin
* tag 0.3.0 -> FETCH_HEAD
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 0.3.0
========================================
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 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/10053] Fetching swift
Fetched https://github.com/danger/swift.git from cache (0.47s)
Computing version for https://github.com/danger/swift.git
Computed https://github.com/danger/swift.git at 3.20.2 (0.52s)
Fetching https://github.com/nerdishbynature/octokit.swift
Fetching https://github.com/mxcl/Version
Fetching https://github.com/shibapm/Logger
[1/288] Fetching version
[289/404] Fetching version, logger
[401/4843] Fetching version, logger, octokit.swift
Fetched https://github.com/shibapm/Logger from cache (0.25s)
Fetched https://github.com/mxcl/Version from cache (0.25s)
Fetched https://github.com/nerdishbynature/octokit.swift from cache (0.32s)
Computing version for https://github.com/nerdishbynature/octokit.swift
Computed https://github.com/nerdishbynature/octokit.swift at 0.13.0 (4.15s)
Fetching https://github.com/nerdishbynature/RequestKit.git
Fetching https://github.com/nicklockwood/SwiftFormat
[1/1554] Fetching requestkit
[1555/46533] Fetching requestkit, swiftformat
Fetched https://github.com/nerdishbynature/RequestKit.git from cache (31.12s)
Fetched https://github.com/nicklockwood/SwiftFormat from cache (31.75s)
Computing version for https://github.com/nerdishbynature/RequestKit.git
Computed https://github.com/nerdishbynature/RequestKit.git at 3.3.0 (2.71s)
Computing version for https://github.com/mxcl/Version
Computed https://github.com/mxcl/Version at 2.1.0 (3.19s)
Computing version for https://github.com/shibapm/Logger
Computed https://github.com/shibapm/Logger at 0.2.3 (2.35s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.54.6 (0.59s)
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/nerdishbynature/octokit.swift
Working copy of https://github.com/nerdishbynature/octokit.swift resolved at 0.13.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/shibapm/Logger
Working copy of https://github.com/shibapm/Logger resolved at 0.2.3
Creating working copy for https://github.com/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at 0.54.6
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/16] Write sources
[7/16] Write swift-version-24593BA9C3E375BF.txt
[9/24] Emitting module RequestKit
[10/24] Compiling DangerShellExecutor ShellExecutor.swift
[11/24] Emitting module DangerShellExecutor
[12/25] Compiling Logger Logger.swift
[13/25] Emitting module Logger
[16/26] Compiling RequestKit RequestKitSession.swift
[17/26] Compiling RequestKit JSONPostRouter.swift
[18/26] Compiling RequestKit Router.swift
[19/27] Wrapping AST for DangerShellExecutor for debugging
[20/27] Wrapping AST for Logger for debugging
[21/27] Wrapping AST for RequestKit for debugging
[23/51] Compiling OctoKit Plan.swift
[24/51] Compiling OctoKit PreviewHeader.swift
[25/51] Compiling OctoKit PublicKey.swift
[26/54] Compiling OctoKit NotificationThread.swift
[27/54] Compiling OctoKit Octokit.swift
[28/54] Compiling OctoKit Parameters.swift
[29/54] Compiling OctoKit Time.swift
[30/54] Compiling OctoKit URL+URLParameters.swift
[31/54] Compiling OctoKit User.swift
[32/54] Compiling OctoKit Configuration.swift
[33/54] Compiling OctoKit File.swift
[34/54] Compiling OctoKit Follow.swift
[35/54] Compiling OctoKit Gist.swift
[36/54] Emitting module OctoKit
[37/54] Compiling OctoKit PullRequest.swift
[38/54] Compiling OctoKit Reactions.swift
[39/54] Compiling OctoKit Releases.swift
[40/54] Compiling OctoKit Stars.swift
[41/54] Compiling OctoKit Statuses.swift
[42/54] Compiling OctoKit String+PercentEncoding.swift
[43/54] Compiling OctoKit Repositories.swift
[44/54] Compiling OctoKit Review.swift
[45/54] Compiling OctoKit Search.swift
[46/54] Compiling OctoKit Git.swift
[47/54] Compiling OctoKit Issue.swift
[48/54] Compiling OctoKit Label.swift
[49/54] Compiling OctoKit Milestone.swift
[50/55] Wrapping AST for OctoKit for debugging
[52/74] Compiling Danger CurrentPathProvider.swift
[53/74] Compiling Danger SwiftLint.swift
[54/76] Compiling Danger Danger.swift
[55/76] Compiling Danger DangerDSL.swift
[56/76] Compiling Danger DangerResults.swift
[57/76] Compiling Danger Report.swift
[58/76] Compiling Danger Settings.swift
[59/76] Emitting module Danger
[60/76] Compiling Danger BitBucketCloud.swift
[61/76] Compiling Danger BitBucketMetadata.swift
[62/76] Compiling Danger BitBucketServerDSL.swift
[63/76] Compiling Danger DangerUtils.swift
[64/76] Compiling Danger DateFormatterExtensions.swift
[65/76] Compiling Danger NSRegularExpressionExtensions.swift
[66/76] Compiling Danger SwiftLintViolation.swift
[67/76] Compiling Danger SwiftlintReportDeleter.swift
[68/76] Compiling Danger File.swift
[69/76] Compiling Danger GitDSL.swift
[70/76] Compiling Danger GitDiff.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 SwiftChecks.swift
[76/84] Compiling SwiftChecksDangerPlugin VersionFile.swift
[77/84] Compiling SwiftChecksDangerPlugin InfoPlistFileProvider.swift
[78/84] Compiling SwiftChecksDangerPlugin File.swift
[79/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
[80/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
[81/84] Compiling SwiftChecksDangerPlugin FileProvider.swift
[82/85] Wrapping AST for SwiftChecksDangerPlugin for debugging
[83/85] Write Objects.LinkFileList
[84/85] Linking libSwiftChecksDangerPlugin.so
Build complete! (78.62s)
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.