Build Information
Successful build of SwiftDependencyUpdater, reference v0.0.7 (173013
), with Swift 6.0 for macOS (SPM) on 28 Nov 2024 16:51:57 UTC.
Swift 6 data race errors: 9
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.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.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Nef10/swift-dependency-updater.git
Reference: v0.0.7
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Nef10/swift-dependency-updater
* tag v0.0.7 -> FETCH_HEAD
HEAD is now at 1730135 Do not create a PR if a dependency was not found (#105)
Cloned https://github.com/Nef10/swift-dependency-updater.git
Revision (git rev-parse @):
17301353a70d41b8ac333e11d01261fb46284fa2
SUCCESS checkout https://github.com/Nef10/swift-dependency-updater.git at v0.0.7
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/JohnSundell/Require.git
Fetching https://github.com/Nef10/Releases.git
Fetching https://github.com/onevcat/Rainbow.git
Fetching https://github.com/Nef10/ShellOut.git
[1/300] Fetching shellout
[28/452] Fetching shellout, require
[146/616] Fetching shellout, require, releases
[409/1742] Fetching shellout, require, releases, rainbow
[1473/14137] Fetching shellout, require, releases, rainbow, swift-argument-parser
Fetched https://github.com/onevcat/Rainbow.git from cache (1.57s)
Fetched https://github.com/Nef10/ShellOut.git from cache (1.57s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.57s)
Fetched https://github.com/JohnSundell/Require.git from cache (1.57s)
Fetched https://github.com/Nef10/Releases.git from cache (1.57s)
Computing version for https://github.com/Nef10/Releases.git
Computed https://github.com/Nef10/Releases.git at 5.0.1 (0.57s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 4.0.1 (2.41s)
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.1.2 (0.71s)
Computing version for https://github.com/JohnSundell/Require.git
Computed https://github.com/JohnSundell/Require.git at 2.0.1 (0.59s)
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/onevcat/Rainbow.git
Working copy of https://github.com/onevcat/Rainbow.git resolved at 4.0.1
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/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.1.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
========================================
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": "swift-dependency-updater",
"name": "SwiftDependencyUpdater",
"url": "https://github.com/Nef10/swift-dependency-updater.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-dependency-updater",
"dependencies": [
{
"identity": "swift-argument-parser",
"name": "swift-argument-parser",
"url": "https://github.com/apple/swift-argument-parser",
"version": "1.1.4",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
"dependencies": [
]
},
{
"identity": "shellout",
"name": "ShellOut",
"url": "https://github.com/Nef10/ShellOut.git",
"version": "2.3.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ShellOut",
"dependencies": [
]
},
{
"identity": "rainbow",
"name": "Rainbow",
"url": "https://github.com/onevcat/Rainbow.git",
"version": "4.0.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Rainbow",
"dependencies": [
]
},
{
"identity": "releases",
"name": "Releases",
"url": "https://github.com/Nef10/Releases.git",
"version": "5.0.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Releases",
"dependencies": [
{
"identity": "shellout",
"name": "ShellOut",
"url": "https://github.com/Nef10/ShellOut.git",
"version": "2.3.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ShellOut",
"dependencies": [
]
},
{
"identity": "require",
"name": "Require",
"url": "https://github.com/JohnSundell/Require.git",
"version": "2.0.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Require",
"dependencies": [
]
}
]
}
]
}
]
}
Fetching https://github.com/Nef10/swift-dependency-updater.git
[1/1494] Fetching swift-dependency-updater
Fetched https://github.com/Nef10/swift-dependency-updater.git from cache (0.85s)
Fetching https://github.com/onevcat/Rainbow.git from cache
Fetching https://github.com/Nef10/Releases.git from cache
Fetching https://github.com/Nef10/ShellOut.git from cache
Fetching https://github.com/apple/swift-argument-parser from cache
Fetched https://github.com/apple/swift-argument-parser from cache (0.56s)
Fetched https://github.com/Nef10/ShellOut.git from cache (0.56s)
Fetched https://github.com/onevcat/Rainbow.git from cache (0.56s)
Fetched https://github.com/Nef10/Releases.git from cache (0.56s)
Computing version for https://github.com/Nef10/Releases.git
Computed https://github.com/Nef10/Releases.git at 5.0.1 (0.02s)
Fetching https://github.com/JohnSundell/Require.git from cache
Fetched https://github.com/JohnSundell/Require.git from cache (0.47s)
Computing version for https://github.com/Nef10/ShellOut.git
Computed https://github.com/Nef10/ShellOut.git at 2.3.1 (0.02s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 4.0.1 (0.02s)
Computing version for https://github.com/JohnSundell/Require.git
Computed https://github.com/JohnSundell/Require.git at 2.0.1 (0.02s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.1.4 (0.58s)
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/Nef10/ShellOut.git
Working copy of https://github.com/Nef10/ShellOut.git resolved at 2.3.1
Creating working copy for https://github.com/Nef10/swift-dependency-updater.git
Working copy of https://github.com/Nef10/swift-dependency-updater.git resolved at v0.0.7 (1730135)
Creating working copy for https://github.com/onevcat/Rainbow.git
Working copy of https://github.com/onevcat/Rainbow.git resolved at 4.0.1
Creating working copy for https://github.com/Nef10/Releases.git
Working copy of https://github.com/Nef10/Releases.git resolved at 5.0.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.1.4
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.
Found 4 product dependencies
- swift-argument-parser
- ShellOut
- Rainbow
- Releases
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/Nef10/swift-dependency-updater.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.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/13] Write sources
[5/13] Write swift-dependency-updater-entitlement.plist
[5/13] Write sources
[9/13] Write swift-version--7754E27361AE5C74.txt
[11/30] Emitting module ArgumentParserToolInfo
[12/30] Compiling ArgumentParserToolInfo ToolInfo.swift
[13/67] Compiling Rainbow StringGenerator.swift
[14/68] Compiling Rainbow Style.swift
[15/68] Emitting module Rainbow
[16/68] Compiling ArgumentParser OptionGroup.swift
[17/68] Compiling ArgumentParser AsyncParsableCommand.swift
[18/68] Compiling ArgumentParser CommandConfiguration.swift
[19/68] Compiling ArgumentParser EnumerableFlag.swift
[20/71] Compiling Rainbow String+Rainbow.swift
[21/71] Compiling ArgumentParser InputOrigin.swift
[22/71] Compiling ArgumentParser Name.swift
[23/71] Compiling ArgumentParser Parsed.swift
[24/71] Compiling ArgumentParser ParsedValues.swift
[25/71] Compiling ArgumentParser Argument.swift
[26/71] Compiling ArgumentParser ArgumentHelp.swift
[27/71] Compiling ArgumentParser ArgumentVisibility.swift
[28/71] Compiling ArgumentParser CompletionKind.swift
[29/71] Compiling ArgumentParser SequenceExtensions.swift
[30/71] Compiling ArgumentParser StringExtensions.swift
[31/71] Compiling ArgumentParser Tree.swift
[32/71] Emitting module ArgumentParser
[33/71] Compiling ArgumentParser BashCompletionsGenerator.swift
[34/71] Compiling ArgumentParser CompletionsGenerator.swift
[35/71] Compiling ArgumentParser FishCompletionsGenerator.swift
[36/71] Compiling ArgumentParser ZshCompletionsGenerator.swift
[37/71] Compiling ArgumentParser ExpressibleByArgument.swift
[38/71] Compiling ArgumentParser ParsableArguments.swift
[39/71] Compiling ArgumentParser ParsableArgumentsValidation.swift
[40/71] Compiling ArgumentParser ParsableCommand.swift
[41/71] Compiling ArgumentParser ArgumentDecoder.swift
[42/71] Compiling ArgumentParser ArgumentDefinition.swift
[43/71] Compiling ArgumentParser ArgumentSet.swift
[44/71] Compiling ArgumentParser CommandParser.swift
[45/71] Compiling Require Require.swift
[46/71] Emitting module Require
[49/71] Compiling Rainbow ControlCode.swift
[50/71] Compiling Rainbow ColorApproximation.swift
[51/71] Compiling Rainbow Color.swift
[52/71] Compiling Rainbow ModesExtractor.swift
[53/71] Compiling Rainbow OutputTarget.swift
[54/71] Compiling Rainbow Rainbow.swift
[55/71] Compiling ShellOut ShellOut.swift
[56/71] Emitting module ShellOut
[57/71] Compiling ArgumentParser ParserError.swift
[58/71] Compiling ArgumentParser SplitArguments.swift
[59/71] Compiling ArgumentParser DumpHelpGenerator.swift
[60/71] Compiling ArgumentParser HelpCommand.swift
[61/71] Compiling ArgumentParser Errors.swift
[62/71] Compiling ArgumentParser Flag.swift
[63/71] Compiling ArgumentParser NameSpecification.swift
[64/71] Compiling ArgumentParser Option.swift
[65/71] Compiling ArgumentParser HelpGenerator.swift
[66/71] Compiling ArgumentParser MessageInfo.swift
[67/71] Compiling ArgumentParser UsageGenerator.swift
[68/71] Compiling ArgumentParser CollectionExtensions.swift
[69/76] Compiling Releases ReleasesError.swift
[70/76] Compiling Releases Array+Version.swift
[71/76] Emitting module Releases
[72/76] Compiling Releases Releases.swift
[73/76] Compiling Releases Version.swift
[74/91] Compiling SwiftDependencyUpdaterLibrary SwiftPackageUpdate.swift
[75/92] 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: annotate 'configuration' 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
6 | commandName: "swift-dependency-updater",
7 | abstract: "A CLI tool to update Swift Pacakge Manager dependencies",
[76/92] 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: annotate 'configuration' 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 |
8 | @Argument(help: "Path of the swift package") var folder: String = "."
[77/92] 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)
[78/92] 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: annotate 'configuration' 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 |
8 | @Argument(help: "Path of the swift package") var folder: String = "."
/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: annotate 'configuration' 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 |
8 | @Argument(help: "Path of the swift package") var folder: String = "."
[79/92] 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: annotate 'configuration' 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 |
8 | @Argument(help: "Path of the swift package") var folder: String = "."
/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: annotate 'configuration' 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 |
8 | @Argument(help: "Path of the swift package") var folder: String = "."
[80/92] 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
[81/92] Compiling SwiftDependencyUpdaterLibrary String.swift
[82/92] Compiling SwiftDependencyUpdaterLibrary Version.swift
[83/92] Compiling SwiftDependencyUpdaterLibrary Dependency.swift
[84/92] Compiling SwiftDependencyUpdaterLibrary Collection.swift
[85/92] Compiling SwiftDependencyUpdaterLibrary Git.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDependencyUpdaterLibrary/Services/GitHub.swift:85:70: warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
82 |
83 | extension URLSession: URLSessionProvider {
84 | func myUploadTask(with request: URLRequest, from bodyData: Data?, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTaskProvider {
| `- note: parameter 'completionHandler' is implicitly non-sendable
85 | uploadTask(with: request, from: bodyData, completionHandler: completionHandler)
| `- warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
86 | }
87 | }
[86/92] Compiling SwiftDependencyUpdaterLibrary GitHub.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDependencyUpdaterLibrary/Services/GitHub.swift:85:70: warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
82 |
83 | extension URLSession: URLSessionProvider {
84 | func myUploadTask(with request: URLRequest, from bodyData: Data?, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTaskProvider {
| `- note: parameter 'completionHandler' is implicitly non-sendable
85 | uploadTask(with: request, from: bodyData, completionHandler: completionHandler)
| `- warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
86 | }
87 | }
[87/92] 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: annotate 'configuration' 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 |
8 | @Argument(help: "Path of the swift package") var folder: String = "."
/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: annotate 'configuration' 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 |
8 | @Argument(help: "Path of the swift package") var folder: String = "."
/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: annotate 'configuration' 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 |
8 | @Argument(help: "Path of the swift package") var folder: String = "."
/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: annotate 'configuration' 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
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
[88/92] Compiling SwiftDependencyUpdaterLibrary PackageDescription.swift
[89/92] Compiling SwiftDependencyUpdaterLibrary ResolvedPackage.swift
[90/94] Emitting module SwiftDependencyUpdater
[91/94] Compiling SwiftDependencyUpdater main.swift
[91/94] Write Objects.LinkFileList
[92/94] Linking swift-dependency-updater
[93/94] Applying swift-dependency-updater
Build complete! (12.75s)
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.1.1",
"upper_bound" : "1.2.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.0.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",
"ResolvedPackage.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.