Build Information
Successful build of SwiftDependencyUpdater, reference v0.0.7 (173013
), with Swift 6.0 for Linux on 28 Nov 2024 17:19:09 UTC.
Swift 6 data race errors: 9
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/Nef10/swift-dependency-updater.git
Reference: v0.0.7
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/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
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/Nef10/swift-dependency-updater.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/Nef10/Releases.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/Nef10/ShellOut.git
Fetching https://github.com/onevcat/Rainbow.git
[1/1126] Fetching rainbow
[1116/1426] Fetching rainbow, shellout
[1427/1590] Fetching rainbow, shellout, releases
Fetched https://github.com/Nef10/ShellOut.git from cache (0.24s)
[1/12395] Fetching swift-argument-parser
Fetched https://github.com/onevcat/Rainbow.git from cache (0.68s)
Fetched https://github.com/Nef10/Releases.git from cache (0.68s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.69s)
Computing version for https://github.com/Nef10/Releases.git
Computed https://github.com/Nef10/Releases.git at 5.0.1 (0.44s)
Fetching https://github.com/JohnSundell/Require.git
[1/152] Fetching require
Fetched https://github.com/JohnSundell/Require.git from cache (0.15s)
Computing version for https://github.com/Nef10/ShellOut.git
Computed https://github.com/Nef10/ShellOut.git at 2.3.1 (0.46s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 4.0.1 (1.86s)
Computing version for https://github.com/JohnSundell/Require.git
Computed https://github.com/JohnSundell/Require.git at 2.0.1 (0.48s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.1.4 (0.45s)
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
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/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/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.
[1/1] Compiling plugin GenerateManualPlugin
Building for debugging...
[1/20] Write sources
[9/20] Write swift-version-24593BA9C3E375BF.txt
[11/37] Emitting module ShellOut
[12/37] Emitting module ArgumentParserToolInfo
[13/37] Compiling ArgumentParserToolInfo ToolInfo.swift
[15/38] Compiling Rainbow StringGenerator.swift
[16/39] Compiling Rainbow String+Rainbow.swift
[16/39] Wrapping AST for ArgumentParserToolInfo for debugging
[18/40] Compiling Rainbow Style.swift
[19/75] Emitting module ArgumentParser
[20/79] Compiling ArgumentParser ArgumentHelp.swift
[21/79] Compiling ArgumentParser ArgumentVisibility.swift
[22/79] Compiling ArgumentParser CompletionKind.swift
[23/79] Compiling ArgumentParser Errors.swift
[24/79] Compiling ArgumentParser Flag.swift
[25/79] Compiling ArgumentParser BashCompletionsGenerator.swift
[26/79] Compiling ArgumentParser CompletionsGenerator.swift
[27/79] Compiling ArgumentParser FishCompletionsGenerator.swift
[28/79] Compiling ArgumentParser ZshCompletionsGenerator.swift
[29/79] Compiling ArgumentParser Argument.swift
[30/79] Compiling ArgumentParser CollectionExtensions.swift
[31/79] Compiling ArgumentParser SequenceExtensions.swift
[32/79] Compiling ArgumentParser StringExtensions.swift
[33/79] Compiling ArgumentParser Tree.swift
[34/79] Emitting module Require
[35/79] Emitting module Rainbow
[36/79] Compiling Require Require.swift
[39/80] Compiling ShellOut ShellOut.swift
[40/81] Compiling Rainbow OutputTarget.swift
[43/81] Compiling Rainbow Rainbow.swift
[49/82] Compiling ArgumentParser Name.swift
[50/82] Compiling ArgumentParser Parsed.swift
[51/82] Compiling ArgumentParser ParsedValues.swift
[52/82] Compiling ArgumentParser ParserError.swift
[53/82] Compiling ArgumentParser SplitArguments.swift
[54/82] Compiling ArgumentParser DumpHelpGenerator.swift
[55/82] Compiling ArgumentParser HelpCommand.swift
[56/82] Compiling ArgumentParser HelpGenerator.swift
[57/82] Compiling ArgumentParser MessageInfo.swift
[58/82] Compiling ArgumentParser UsageGenerator.swift
[58/82] Wrapping AST for ShellOut for debugging
[59/82] Wrapping AST for Require for debugging
[60/82] Wrapping AST for Rainbow for debugging
[62/87] Compiling ArgumentParser EnumerableFlag.swift
[63/87] Compiling ArgumentParser ExpressibleByArgument.swift
[64/87] Compiling ArgumentParser ParsableArguments.swift
[65/87] Compiling ArgumentParser ParsableArgumentsValidation.swift
[66/87] Compiling ArgumentParser ParsableCommand.swift
[67/87] Compiling ArgumentParser ArgumentDecoder.swift
[68/87] Compiling ArgumentParser ArgumentDefinition.swift
[69/87] Compiling ArgumentParser ArgumentSet.swift
[70/87] Compiling ArgumentParser CommandParser.swift
[71/87] Compiling ArgumentParser InputOrigin.swift
[72/87] Compiling ArgumentParser NameSpecification.swift
[73/87] Compiling ArgumentParser Option.swift
[74/87] Compiling ArgumentParser OptionGroup.swift
[75/87] Compiling ArgumentParser AsyncParsableCommand.swift
[76/87] Compiling ArgumentParser CommandConfiguration.swift
[77/88] Wrapping AST for ArgumentParser for debugging
[79/88] Compiling Releases ReleasesError.swift
[80/88] Compiling Releases Array+Version.swift
[81/88] Compiling Releases Releases.swift
[82/88] Emitting module Releases
[83/88] Compiling Releases Version.swift
[84/89] Wrapping AST for Releases for debugging
[86/104] Compiling SwiftDependencyUpdaterLibrary UpdateCommand.swift
/host/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 = "."
/host/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",
[87/104] Compiling SwiftDependencyUpdaterLibrary SwiftDependencyUpdater.swift
/host/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 = "."
/host/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",
[88/105] Compiling SwiftDependencyUpdaterLibrary GitHubCommand.swift
/host/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 = "."
/host/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 = "."
[89/105] Compiling SwiftDependencyUpdaterLibrary ListCommand.swift
/host/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 = "."
/host/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 = "."
[90/105] Compiling SwiftDependencyUpdaterLibrary SwiftPackage.swift
/host/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?])
/host/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)
[91/105] Compiling SwiftDependencyUpdaterLibrary SwiftPackageUpdate.swift
/host/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?])
/host/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)
[92/105] Compiling SwiftDependencyUpdaterLibrary Update.swift
/host/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 | }
/host/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
/host/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 |
/host/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 | }
/host/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
/host/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 |
/host/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
/host/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 |
/host/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
[93/105] Compiling SwiftDependencyUpdaterLibrary Git.swift
/host/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 | }
[94/105] Compiling SwiftDependencyUpdaterLibrary GitHub.swift
/host/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 | }
[95/105] Compiling SwiftDependencyUpdaterLibrary Dependency.swift
[96/105] Compiling SwiftDependencyUpdaterLibrary Collection.swift
[97/105] Compiling SwiftDependencyUpdaterLibrary String.swift
[98/105] Compiling SwiftDependencyUpdaterLibrary Version.swift
[99/105] Compiling SwiftDependencyUpdaterLibrary PackageDescription.swift
[100/105] Compiling SwiftDependencyUpdaterLibrary ResolvedPackage.swift
[101/105] Emitting module SwiftDependencyUpdaterLibrary
/host/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 = "."
/host/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 = "."
/host/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 = "."
/host/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",
/host/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?])
/host/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)
/host/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 | }
/host/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
/host/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 |
/host/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 | }
/host/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
/host/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 |
/host/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
/host/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 |
/host/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
[102/106] Wrapping AST for SwiftDependencyUpdaterLibrary for debugging
[104/108] Emitting module SwiftDependencyUpdater
[105/108] Compiling SwiftDependencyUpdater main.swift
[106/109] Wrapping AST for SwiftDependencyUpdater for debugging
[107/109] Write Objects.LinkFileList
[108/109] Linking swift-dependency-updater
Build complete! (22.89s)
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" : "/host/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"
}
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.