Build Information
Successful build of SwiftDependencyUpdater, reference main (f3334d), with Swift 6.1 for macOS (SPM) on 13 Dec 2025 11:59:52 UTC.
Swift 6 data race errors: 9
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 InferSendableFromCapturesBuild Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Nef10/swift-dependency-updater.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Nef10/swift-dependency-updater
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at f3334d5 Bump actions/upload-artifact to v6
Cloned https://github.com/Nef10/swift-dependency-updater.git
Revision (git rev-parse @):
f3334d5a92ce737193ba944119ec3ec6247ec4a5
SUCCESS checkout https://github.com/Nef10/swift-dependency-updater.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/Nef10/swift-dependency-updater.git
https://github.com/Nef10/swift-dependency-updater.git
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.6.1",
"upper_bound" : "1.7.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
},
{
"identity" : "shellout",
"requirement" : {
"range" : [
{
"lower_bound" : "2.3.1",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Nef10/ShellOut.git"
},
{
"identity" : "rainbow",
"requirement" : {
"range" : [
{
"lower_bound" : "4.2.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/onevcat/Rainbow.git"
},
{
"identity" : "releases",
"requirement" : {
"range" : [
{
"lower_bound" : "5.0.1",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Nef10/Releases.git"
}
],
"manifest_display_name" : "SwiftDependencyUpdater",
"name" : "SwiftDependencyUpdater",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.11"
}
],
"products" : [
{
"name" : "SwiftDependencyUpdaterLibrary",
"targets" : [
"SwiftDependencyUpdaterLibrary"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "swift-dependency-updater",
"targets" : [
"SwiftDependencyUpdater"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "SwiftDependencyUpdaterLibraryTests",
"module_type" : "SwiftTarget",
"name" : "SwiftDependencyUpdaterLibraryTests",
"path" : "Tests/SwiftDependencyUpdaterLibraryTests",
"sources" : [
"DependencyTests.swift",
"Extensions/XCTest+Execution.swift",
"Extensions/XCTestCase.swift",
"ExtensionsTests/CollectionTests.swift",
"ExtensionsTests/StringTests.swift",
"HelpTests.swift",
"PackageDescriptionTest.swift",
"ResolvedPackageTests.swift",
"Services/GitHubTests.swift",
"Services/GitTests.swift",
"SubCommands/GitHubCommandTests.swift",
"SubCommands/ListCommandTests.swift",
"SubCommands/UpdateCommandTests.swift",
"SwiftPackageTests.swift",
"SwiftPackageUpdateTests.swift",
"TestUtils.swift",
"UpdateTests.swift"
],
"target_dependencies" : [
"SwiftDependencyUpdaterLibrary"
],
"type" : "test"
},
{
"c99name" : "SwiftDependencyUpdaterLibrary",
"module_type" : "SwiftTarget",
"name" : "SwiftDependencyUpdaterLibrary",
"path" : "Sources/SwiftDependencyUpdaterLibrary",
"product_dependencies" : [
"ArgumentParser",
"ShellOut",
"Rainbow",
"Releases"
],
"product_memberships" : [
"SwiftDependencyUpdaterLibrary",
"swift-dependency-updater"
],
"sources" : [
"Dependency.swift",
"Extensions/Collection.swift",
"Extensions/String.swift",
"Extensions/Version.swift",
"PackageDescription.swift",
"ResolvedPackageParser.swift",
"Services/Git.swift",
"Services/GitHub.swift",
"SubCommands/GitHubCommand.swift",
"SubCommands/ListCommand.swift",
"SubCommands/UpdateCommand.swift",
"SwiftDependencyUpdater.swift",
"SwiftPackage.swift",
"SwiftPackageUpdate.swift",
"Update.swift"
],
"type" : "library"
},
{
"c99name" : "SwiftDependencyUpdater",
"module_type" : "SwiftTarget",
"name" : "SwiftDependencyUpdater",
"path" : "Sources/SwiftDependencyUpdater",
"product_memberships" : [
"swift-dependency-updater"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"SwiftDependencyUpdaterLibrary"
],
"type" : "executable"
}
],
"tools_version" : "5.2"
}
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
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/15] Write sources
[8/15] Write swift-dependency-updater-entitlement.plist
[8/15] Write sources
[11/15] Write swift-version-2F0A5646E1D333AE.txt
[13/36] Emitting module ArgumentParserToolInfo
[14/36] Compiling ArgumentParserToolInfo ToolInfo.swift
[15/82] Compiling ArgumentParser ArgumentDiscussion.swift
[16/82] Compiling ArgumentParser ArgumentHelp.swift
[17/82] Compiling ArgumentParser ArgumentVisibility.swift
[18/82] Compiling ArgumentParser CompletionKind.swift
[19/82] Compiling ArgumentParser Errors.swift
[20/86] Compiling Rainbow Style.swift
[21/86] Compiling Rainbow StringGenerator.swift
[22/87] Compiling ArgumentParser InputKey.swift
[23/87] Compiling ArgumentParser InputOrigin.swift
[24/87] Compiling ArgumentParser Name.swift
[25/87] Compiling ArgumentParser Parsed.swift
[26/87] Compiling ArgumentParser ParsedValues.swift
[27/87] Emitting module ArgumentParser
[28/87] Compiling ArgumentParser CommandConfiguration.swift
[29/87] Compiling ArgumentParser CommandGroup.swift
[30/87] Compiling ArgumentParser EnumerableFlag.swift
[31/87] Compiling ArgumentParser ExpressibleByArgument.swift
[32/87] Compiling ArgumentParser ParsableArguments.swift
[33/87] Compiling ArgumentParser NonsenseFlagsValidator.swift
[34/87] Compiling ArgumentParser ParsableArgumentsValidation.swift
[35/87] Compiling ArgumentParser PositionalArgumentsValidator.swift
[36/87] Compiling ArgumentParser UniqueNamesValidator.swift
[37/87] Compiling ArgumentParser SequenceExtensions.swift
[38/87] Compiling ArgumentParser StringExtensions.swift
[39/87] Compiling ArgumentParser SwiftExtensions.swift
[40/87] Compiling ArgumentParser Tree.swift
[41/87] Compiling ArgumentParser CodingKeyValidator.swift
[42/87] Compiling ArgumentParser BashCompletionsGenerator.swift
[43/87] Compiling ArgumentParser CompletionsGenerator.swift
[44/87] Compiling ArgumentParser FishCompletionsGenerator.swift
[45/87] Compiling ArgumentParser ZshCompletionsGenerator.swift
[46/87] Compiling ArgumentParser Argument.swift
[47/87] Compiling ArgumentParser Flag.swift
[48/87] Compiling ArgumentParser NameSpecification.swift
[49/87] Compiling ArgumentParser Option.swift
[50/87] Compiling ArgumentParser OptionGroup.swift
[51/87] Compiling ArgumentParser AsyncParsableCommand.swift
[52/87] Compiling Rainbow StyledStringBuilder.swift
[53/87] Emitting module Require
[54/87] Compiling Require Require.swift
[55/87] Emitting module ShellOut
[56/87] Compiling ShellOut ShellOut.swift
[57/87] Compiling Rainbow String+Rainbow.swift
[58/87] Compiling Rainbow String+ConditionalStyling.swift
[67/87] Emitting module Rainbow
[70/87] Compiling ArgumentParser ParserError.swift
[71/87] Compiling ArgumentParser SplitArguments.swift
[72/87] Compiling ArgumentParser DumpHelpGenerator.swift
[73/87] Compiling ArgumentParser HelpCommand.swift
[74/87] Compiling ArgumentParser HelpGenerator.swift
[75/87] Compiling ArgumentParser MessageInfo.swift
[76/87] Compiling ArgumentParser UsageGenerator.swift
[77/87] Compiling ArgumentParser CollectionExtensions.swift
[78/87] Compiling ArgumentParser Mutex.swift
[79/87] Compiling ArgumentParser Platform.swift
[80/87] Compiling ArgumentParser ParsableCommand.swift
[81/87] Compiling ArgumentParser ArgumentDecoder.swift
[82/87] Compiling ArgumentParser ArgumentDefinition.swift
[83/87] Compiling ArgumentParser ArgumentSet.swift
[84/87] Compiling ArgumentParser CommandParser.swift
[85/92] Compiling Releases ReleasesError.swift
[86/92] Compiling Releases Releases.swift
[87/92] Compiling Releases Array+Version.swift
[88/92] Compiling Releases Version.swift
[89/92] Emitting module Releases
[90/107] Compiling SwiftDependencyUpdaterLibrary SwiftDependencyUpdater.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDependencyUpdaterLibrary/SwiftDependencyUpdater.swift:5:23: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | public struct SwiftDependencyUpdater: ParsableCommand {
4 |
5 | public static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | commandName: "swift-dependency-updater",
7 | abstract: "A CLI tool to update Swift Pacakge Manager dependencies",
[91/108] Compiling SwiftDependencyUpdaterLibrary SwiftPackageUpdate.swift
[92/108] Compiling SwiftDependencyUpdaterLibrary SwiftPackage.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDependencyUpdaterLibrary/SwiftPackage.swift:5:10: warning: associated value 'invalidUpdate' of 'Sendable'-conforming enum 'SwiftPackageError' has non-sendable type 'Update'; this is an error in the Swift 6 language mode
3 |
4 | enum SwiftPackageError: Error, Equatable {
5 | case invalidUpdate(String, Update)
| `- warning: associated value 'invalidUpdate' of 'Sendable'-conforming enum 'SwiftPackageError' has non-sendable type 'Update'; this is an error in the Swift 6 language mode
6 | case resultCountMismatch(String, Int)
7 | case noResultMatch(String, [String?])
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDependencyUpdaterLibrary/Update.swift:10:6: note: consider making enum 'Update' conform to the 'Sendable' protocol
8 | }
9 |
10 | enum Update: Equatable {
| `- note: consider making enum 'Update' conform to the 'Sendable' protocol
11 |
12 | case withoutChangingRequirements(Version)
[93/108] Compiling SwiftDependencyUpdaterLibrary Git.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDependencyUpdaterLibrary/Services/GitHub.swift:102:70: warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
99 | }
100 | #else
101 | func myUploadTask(with request: URLRequest, from bodyData: Data?, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTaskProvider {
| `- note: parameter 'completionHandler' is implicitly non-sendable
102 | uploadTask(with: request, from: bodyData, completionHandler: completionHandler)
| `- warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
103 | }
104 | #endif
[94/108] Compiling SwiftDependencyUpdaterLibrary GitHub.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDependencyUpdaterLibrary/Services/GitHub.swift:102:70: warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
99 | }
100 | #else
101 | func myUploadTask(with request: URLRequest, from bodyData: Data?, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTaskProvider {
| `- note: parameter 'completionHandler' is implicitly non-sendable
102 | uploadTask(with: request, from: bodyData, completionHandler: completionHandler)
| `- warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
103 | }
104 | #endif
[95/108] Compiling SwiftDependencyUpdaterLibrary UpdateCommand.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDependencyUpdaterLibrary/SubCommands/UpdateCommand.swift:6:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | struct UpdateCommand: ParsableCommand {
5 |
6 | static var configuration = CommandConfiguration(commandName: "update", abstract: "Updates dependencies")
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | @Argument(help: "Path of the swift package")
[96/108] Compiling SwiftDependencyUpdaterLibrary String.swift
[97/108] Compiling SwiftDependencyUpdaterLibrary Version.swift
[98/108] Compiling SwiftDependencyUpdaterLibrary GitHubCommand.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDependencyUpdaterLibrary/SubCommands/GitHubCommand.swift:6:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | struct GitHubCommand: ParsableCommand {
5 |
6 | static var configuration = CommandConfiguration(commandName: "github", abstract: "Updates dependencies and creates a PR for each one")
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | @Argument(help: "Path of the swift package")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDependencyUpdaterLibrary/SubCommands/ListCommand.swift:6:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | struct ListCommand: ParsableCommand {
5 |
6 | static var configuration = CommandConfiguration(commandName: "list", abstract: "Lists all dependencies and possible updates")
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | @Argument(help: "Path of the swift package")
[99/108] Compiling SwiftDependencyUpdaterLibrary ListCommand.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDependencyUpdaterLibrary/SubCommands/GitHubCommand.swift:6:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | struct GitHubCommand: ParsableCommand {
5 |
6 | static var configuration = CommandConfiguration(commandName: "github", abstract: "Updates dependencies and creates a PR for each one")
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | @Argument(help: "Path of the swift package")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDependencyUpdaterLibrary/SubCommands/ListCommand.swift:6:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | struct ListCommand: ParsableCommand {
5 |
6 | static var configuration = CommandConfiguration(commandName: "list", abstract: "Lists all dependencies and possible updates")
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | @Argument(help: "Path of the swift package")
[100/108] Compiling SwiftDependencyUpdaterLibrary Update.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDependencyUpdaterLibrary/Update.swift:6:10: warning: associated value 'resolvedVersionNotFound' of 'Sendable'-conforming enum 'UpdateError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
4 |
5 | enum UpdateError: Error, Equatable {
6 | case resolvedVersionNotFound(String, Version, Version)
| `- warning: associated value 'resolvedVersionNotFound' of 'Sendable'-conforming enum 'UpdateError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
7 | case updatedVersionNotFound(String, Version, Version)
8 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Releases/Sources/Version.swift:10:15: note: struct 'Version' does not conform to the 'Sendable' protocol
8 |
9 | /// Structure representing a released version
10 | public struct Version: Codable {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
11 | /// The major version of the release
12 | public var major: Int
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDependencyUpdaterLibrary/Update.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Releases'
1 | import Foundation
2 | import Releases
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Releases'
3 | import ShellOut
4 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDependencyUpdaterLibrary/Update.swift:6:10: warning: associated value 'resolvedVersionNotFound' of 'Sendable'-conforming enum 'UpdateError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
4 |
5 | enum UpdateError: Error, Equatable {
6 | case resolvedVersionNotFound(String, Version, Version)
| `- warning: associated value 'resolvedVersionNotFound' of 'Sendable'-conforming enum 'UpdateError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
7 | case updatedVersionNotFound(String, Version, Version)
8 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Releases/Sources/Version.swift:10:15: note: struct 'Version' does not conform to the 'Sendable' protocol
8 |
9 | /// Structure representing a released version
10 | public struct Version: Codable {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
11 | /// The major version of the release
12 | public var major: Int
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDependencyUpdaterLibrary/Update.swift:7:10: warning: associated value 'updatedVersionNotFound' of 'Sendable'-conforming enum 'UpdateError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
5 | enum UpdateError: Error, Equatable {
6 | case resolvedVersionNotFound(String, Version, Version)
7 | case updatedVersionNotFound(String, Version, Version)
| `- warning: associated value 'updatedVersionNotFound' of 'Sendable'-conforming enum 'UpdateError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
8 | }
9 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Releases/Sources/Version.swift:10:15: note: struct 'Version' does not conform to the 'Sendable' protocol
8 |
9 | /// Structure representing a released version
10 | public struct Version: Codable {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
11 | /// The major version of the release
12 | public var major: Int
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDependencyUpdaterLibrary/Update.swift:7:10: warning: associated value 'updatedVersionNotFound' of 'Sendable'-conforming enum 'UpdateError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
5 | enum UpdateError: Error, Equatable {
6 | case resolvedVersionNotFound(String, Version, Version)
7 | case updatedVersionNotFound(String, Version, Version)
| `- warning: associated value 'updatedVersionNotFound' of 'Sendable'-conforming enum 'UpdateError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
8 | }
9 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Releases/Sources/Version.swift:10:15: note: struct 'Version' does not conform to the 'Sendable' protocol
8 |
9 | /// Structure representing a released version
10 | public struct Version: Codable {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
11 | /// The major version of the release
12 | public var major: Int
[101/108] Compiling SwiftDependencyUpdaterLibrary Dependency.swift
[102/108] Compiling SwiftDependencyUpdaterLibrary Collection.swift
[103/108] Emitting module SwiftDependencyUpdaterLibrary
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDependencyUpdaterLibrary/SubCommands/GitHubCommand.swift:6:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | struct GitHubCommand: ParsableCommand {
5 |
6 | static var configuration = CommandConfiguration(commandName: "github", abstract: "Updates dependencies and creates a PR for each one")
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | @Argument(help: "Path of the swift package")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDependencyUpdaterLibrary/SubCommands/ListCommand.swift:6:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | struct ListCommand: ParsableCommand {
5 |
6 | static var configuration = CommandConfiguration(commandName: "list", abstract: "Lists all dependencies and possible updates")
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | @Argument(help: "Path of the swift package")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDependencyUpdaterLibrary/SubCommands/UpdateCommand.swift:6:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | struct UpdateCommand: ParsableCommand {
5 |
6 | static var configuration = CommandConfiguration(commandName: "update", abstract: "Updates dependencies")
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | @Argument(help: "Path of the swift package")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDependencyUpdaterLibrary/SwiftDependencyUpdater.swift:5:23: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | public struct SwiftDependencyUpdater: ParsableCommand {
4 |
5 | public static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | commandName: "swift-dependency-updater",
7 | abstract: "A CLI tool to update Swift Pacakge Manager dependencies",
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDependencyUpdaterLibrary/SwiftPackage.swift:5:10: warning: associated value 'invalidUpdate' of 'Sendable'-conforming enum 'SwiftPackageError' has non-sendable type 'Update'; this is an error in the Swift 6 language mode
3 |
4 | enum SwiftPackageError: Error, Equatable {
5 | case invalidUpdate(String, Update)
| `- warning: associated value 'invalidUpdate' of 'Sendable'-conforming enum 'SwiftPackageError' has non-sendable type 'Update'; this is an error in the Swift 6 language mode
6 | case resultCountMismatch(String, Int)
7 | case noResultMatch(String, [String?])
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDependencyUpdaterLibrary/Update.swift:10:6: note: consider making enum 'Update' conform to the 'Sendable' protocol
8 | }
9 |
10 | enum Update: Equatable {
| `- note: consider making enum 'Update' conform to the 'Sendable' protocol
11 |
12 | case withoutChangingRequirements(Version)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDependencyUpdaterLibrary/Update.swift:6:10: warning: associated value 'resolvedVersionNotFound' of 'Sendable'-conforming enum 'UpdateError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
4 |
5 | enum UpdateError: Error, Equatable {
6 | case resolvedVersionNotFound(String, Version, Version)
| `- warning: associated value 'resolvedVersionNotFound' of 'Sendable'-conforming enum 'UpdateError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
7 | case updatedVersionNotFound(String, Version, Version)
8 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Releases/Sources/Version.swift:10:15: note: struct 'Version' does not conform to the 'Sendable' protocol
8 |
9 | /// Structure representing a released version
10 | public struct Version: Codable {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
11 | /// The major version of the release
12 | public var major: Int
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDependencyUpdaterLibrary/Update.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Releases'
1 | import Foundation
2 | import Releases
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Releases'
3 | import ShellOut
4 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDependencyUpdaterLibrary/Update.swift:6:10: warning: associated value 'resolvedVersionNotFound' of 'Sendable'-conforming enum 'UpdateError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
4 |
5 | enum UpdateError: Error, Equatable {
6 | case resolvedVersionNotFound(String, Version, Version)
| `- warning: associated value 'resolvedVersionNotFound' of 'Sendable'-conforming enum 'UpdateError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
7 | case updatedVersionNotFound(String, Version, Version)
8 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Releases/Sources/Version.swift:10:15: note: struct 'Version' does not conform to the 'Sendable' protocol
8 |
9 | /// Structure representing a released version
10 | public struct Version: Codable {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
11 | /// The major version of the release
12 | public var major: Int
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDependencyUpdaterLibrary/Update.swift:7:10: warning: associated value 'updatedVersionNotFound' of 'Sendable'-conforming enum 'UpdateError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
5 | enum UpdateError: Error, Equatable {
6 | case resolvedVersionNotFound(String, Version, Version)
7 | case updatedVersionNotFound(String, Version, Version)
| `- warning: associated value 'updatedVersionNotFound' of 'Sendable'-conforming enum 'UpdateError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
8 | }
9 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Releases/Sources/Version.swift:10:15: note: struct 'Version' does not conform to the 'Sendable' protocol
8 |
9 | /// Structure representing a released version
10 | public struct Version: Codable {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
11 | /// The major version of the release
12 | public var major: Int
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDependencyUpdaterLibrary/Update.swift:7:10: warning: associated value 'updatedVersionNotFound' of 'Sendable'-conforming enum 'UpdateError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
5 | enum UpdateError: Error, Equatable {
6 | case resolvedVersionNotFound(String, Version, Version)
7 | case updatedVersionNotFound(String, Version, Version)
| `- warning: associated value 'updatedVersionNotFound' of 'Sendable'-conforming enum 'UpdateError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
8 | }
9 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Releases/Sources/Version.swift:10:15: note: struct 'Version' does not conform to the 'Sendable' protocol
8 |
9 | /// Structure representing a released version
10 | public struct Version: Codable {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
11 | /// The major version of the release
12 | public var major: Int
[104/108] Compiling SwiftDependencyUpdaterLibrary PackageDescription.swift
[105/108] Compiling SwiftDependencyUpdaterLibrary ResolvedPackageParser.swift
[106/110] Compiling SwiftDependencyUpdater main.swift
[107/110] Emitting module SwiftDependencyUpdater
[107/110] Write Objects.LinkFileList
[108/110] Linking swift-dependency-updater
[109/110] Applying swift-dependency-updater
Build complete! (18.83s)
Fetching https://github.com/onevcat/Rainbow.git
Fetching https://github.com/Nef10/Releases.git
Fetching https://github.com/Nef10/ShellOut.git
Fetching https://github.com/apple/swift-argument-parser from cache
[1/164] Fetching releases
[28/1526] Fetching releases, rainbow
[397/1826] Fetching releases, rainbow, shellout
Fetched https://github.com/Nef10/ShellOut.git from cache (0.76s)
[914/1526] Fetching releases, rainbow
Fetched https://github.com/Nef10/Releases.git from cache (0.92s)
Fetched https://github.com/onevcat/Rainbow.git from cache (1.29s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.31s)
Computing version for https://github.com/Nef10/Releases.git
Computed https://github.com/Nef10/Releases.git at 5.0.1 (2.01s)
Fetching https://github.com/JohnSundell/Require.git
[1/152] Fetching require
Fetched https://github.com/JohnSundell/Require.git from cache (0.61s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 4.2.0 (3.15s)
Computing version for https://github.com/Nef10/ShellOut.git
Computed https://github.com/Nef10/ShellOut.git at 2.3.1 (0.58s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.2 (0.52s)
Computing version for https://github.com/JohnSundell/Require.git
Computed https://github.com/JohnSundell/Require.git at 2.0.1 (0.57s)
Creating working copy for https://github.com/JohnSundell/Require.git
Working copy of https://github.com/JohnSundell/Require.git resolved at 2.0.1
Creating working copy for https://github.com/onevcat/Rainbow.git
Working copy of https://github.com/onevcat/Rainbow.git resolved at 4.2.0
Creating working copy for https://github.com/Nef10/ShellOut.git
Working copy of https://github.com/Nef10/ShellOut.git resolved at 2.3.1
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.6.2
Creating working copy for https://github.com/Nef10/Releases.git
Working copy of https://github.com/Nef10/Releases.git resolved at 5.0.1
warning: 'releases': 'releases' dependency on 'https://github.com/JohnSundell/ShellOut.git' conflicts with dependency on 'https://github.com/Nef10/ShellOut.git' which has the same identity 'shellout'. this will be escalated to an error in future versions of SwiftPM.
Build complete.
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.6.1",
"upper_bound" : "1.7.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
},
{
"identity" : "shellout",
"requirement" : {
"range" : [
{
"lower_bound" : "2.3.1",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Nef10/ShellOut.git"
},
{
"identity" : "rainbow",
"requirement" : {
"range" : [
{
"lower_bound" : "4.2.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/onevcat/Rainbow.git"
},
{
"identity" : "releases",
"requirement" : {
"range" : [
{
"lower_bound" : "5.0.1",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Nef10/Releases.git"
}
],
"manifest_display_name" : "SwiftDependencyUpdater",
"name" : "SwiftDependencyUpdater",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.11"
}
],
"products" : [
{
"name" : "SwiftDependencyUpdaterLibrary",
"targets" : [
"SwiftDependencyUpdaterLibrary"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "swift-dependency-updater",
"targets" : [
"SwiftDependencyUpdater"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "SwiftDependencyUpdaterLibraryTests",
"module_type" : "SwiftTarget",
"name" : "SwiftDependencyUpdaterLibraryTests",
"path" : "Tests/SwiftDependencyUpdaterLibraryTests",
"sources" : [
"DependencyTests.swift",
"Extensions/XCTest+Execution.swift",
"Extensions/XCTestCase.swift",
"ExtensionsTests/CollectionTests.swift",
"ExtensionsTests/StringTests.swift",
"HelpTests.swift",
"PackageDescriptionTest.swift",
"ResolvedPackageTests.swift",
"Services/GitHubTests.swift",
"Services/GitTests.swift",
"SubCommands/GitHubCommandTests.swift",
"SubCommands/ListCommandTests.swift",
"SubCommands/UpdateCommandTests.swift",
"SwiftPackageTests.swift",
"SwiftPackageUpdateTests.swift",
"TestUtils.swift",
"UpdateTests.swift"
],
"target_dependencies" : [
"SwiftDependencyUpdaterLibrary"
],
"type" : "test"
},
{
"c99name" : "SwiftDependencyUpdaterLibrary",
"module_type" : "SwiftTarget",
"name" : "SwiftDependencyUpdaterLibrary",
"path" : "Sources/SwiftDependencyUpdaterLibrary",
"product_dependencies" : [
"ArgumentParser",
"ShellOut",
"Rainbow",
"Releases"
],
"product_memberships" : [
"SwiftDependencyUpdaterLibrary",
"swift-dependency-updater"
],
"sources" : [
"Dependency.swift",
"Extensions/Collection.swift",
"Extensions/String.swift",
"Extensions/Version.swift",
"PackageDescription.swift",
"ResolvedPackageParser.swift",
"Services/Git.swift",
"Services/GitHub.swift",
"SubCommands/GitHubCommand.swift",
"SubCommands/ListCommand.swift",
"SubCommands/UpdateCommand.swift",
"SwiftDependencyUpdater.swift",
"SwiftPackage.swift",
"SwiftPackageUpdate.swift",
"Update.swift"
],
"type" : "library"
},
{
"c99name" : "SwiftDependencyUpdater",
"module_type" : "SwiftTarget",
"name" : "SwiftDependencyUpdater",
"path" : "Sources/SwiftDependencyUpdater",
"product_memberships" : [
"swift-dependency-updater"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"SwiftDependencyUpdaterLibrary"
],
"type" : "executable"
}
],
"tools_version" : "5.2"
}
Done.