Build Information
Successful build of SwiftDependencyUpdater, reference main (917c39
), with Swift 6.1 for Linux on 26 Apr 2025 23:06:18 UTC.
Swift 6 data race errors: 9
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-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.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Nef10/swift-dependency-updater.git
Reference: main
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
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 917c39b Bump swift-argument-parser from 1.4.0 to 1.5.0
Cloned https://github.com/Nef10/swift-dependency-updater.git
Revision (git rev-parse @):
917c39b55e102dda1da62f0d1bff7f8c5b0af13d
SUCCESS checkout https://github.com/Nef10/swift-dependency-updater.git at main
========================================
Build
========================================
Selected platform: linux
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
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.5.0",
"upper_bound" : "1.6.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"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-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.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/Nef10/Releases.git
Fetching https://github.com/Nef10/ShellOut.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/onevcat/Rainbow.git
[1/300] Fetching shellout
[301/1496] Fetching shellout, rainbow
[1031/1660] Fetching shellout, rainbow, releases
Fetched https://github.com/Nef10/ShellOut.git from cache (0.21s)
Fetched https://github.com/onevcat/Rainbow.git from cache (0.21s)
[154/15114] Fetching releases, swift-argument-parser
Fetched https://github.com/Nef10/Releases.git from cache (0.70s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.71s)
Computing version for https://github.com/Nef10/Releases.git
Computed https://github.com/Nef10/Releases.git at 5.0.1 (1.16s)
Fetching https://github.com/JohnSundell/Require.git
[1/152] Fetching require
Fetched https://github.com/JohnSundell/Require.git from cache (0.20s)
Computing version for https://github.com/Nef10/ShellOut.git
Computed https://github.com/Nef10/ShellOut.git at 2.3.1 (0.64s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.42s)
Computing version for https://github.com/JohnSundell/Require.git
Computed https://github.com/JohnSundell/Require.git at 2.0.1 (1.80s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 4.1.0 (0.45s)
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/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.0
Creating working copy for https://github.com/onevcat/Rainbow.git
Working copy of https://github.com/onevcat/Rainbow.git resolved at 4.1.0
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 GenerateManual
Building for debugging...
[1/20] Write sources
[9/20] Write swift-version-24593BA9C3E375BF.txt
[11/37] Compiling ArgumentParserToolInfo ToolInfo.swift
[12/37] Emitting module ArgumentParserToolInfo
[13/38] Compiling Rainbow BackgroundColor.swift
[14/38] Compiling Rainbow CodesParser.swift
[16/39] Compiling Rainbow String+Rainbow.swift
[17/39] Compiling Rainbow StringGenerator.swift
[18/39] Compiling Rainbow Style.swift
[18/39] Wrapping AST for ArgumentParserToolInfo for debugging
[20/77] Emitting module ArgumentParser
[21/82] Compiling ArgumentParser OptionGroup.swift
[22/82] Compiling ArgumentParser AsyncParsableCommand.swift
[23/82] Compiling ArgumentParser CommandConfiguration.swift
[24/82] Compiling ArgumentParser CommandGroup.swift
[25/82] Compiling ArgumentParser EnumerableFlag.swift
[26/82] Compiling ArgumentParser BashCompletionsGenerator.swift
[27/82] Compiling ArgumentParser CompletionsGenerator.swift
[28/82] Compiling ArgumentParser FishCompletionsGenerator.swift
[29/82] Compiling ArgumentParser ZshCompletionsGenerator.swift
[30/82] Compiling ArgumentParser Argument.swift
[31/82] Compiling ArgumentParser ArgumentHelp.swift
[32/82] Emitting module ShellOut
[33/82] Compiling ShellOut ShellOut.swift
[34/83] Compiling Rainbow OutputTarget.swift
[37/83] Compiling Rainbow Rainbow.swift
[38/83] Compiling ArgumentParser CollectionExtensions.swift
[39/83] Compiling ArgumentParser Platform.swift
[40/83] Compiling ArgumentParser SequenceExtensions.swift
[41/83] Compiling ArgumentParser StringExtensions.swift
[42/83] Compiling ArgumentParser Tree.swift
[45/83] Emitting module Rainbow
[46/84] Emitting module Require
[47/84] Compiling Require Require.swift
[50/85] Wrapping AST for ShellOut for debugging
[51/85] Wrapping AST for Rainbow for debugging
[52/85] Wrapping AST for Require for debugging
[54/90] Compiling Releases Releases.swift
[55/90] Compiling Releases Array+Version.swift
[56/90] Compiling ArgumentParser Name.swift
[57/90] Compiling ArgumentParser Parsed.swift
[58/90] Compiling ArgumentParser ParsedValues.swift
[59/90] Compiling ArgumentParser ParserError.swift
[60/90] Compiling ArgumentParser SplitArguments.swift
[61/90] Compiling ArgumentParser ArgumentDefinition.swift
[62/90] Compiling ArgumentParser ArgumentSet.swift
[63/90] Compiling ArgumentParser CommandParser.swift
[64/90] Compiling ArgumentParser InputKey.swift
[65/90] Compiling ArgumentParser InputOrigin.swift
[66/90] Compiling ArgumentParser DumpHelpGenerator.swift
[67/90] Compiling ArgumentParser HelpCommand.swift
[68/90] Compiling ArgumentParser HelpGenerator.swift
[69/90] Compiling ArgumentParser MessageInfo.swift
[70/90] Compiling ArgumentParser UsageGenerator.swift
[71/90] Compiling ArgumentParser ArgumentVisibility.swift
[72/90] Compiling ArgumentParser CompletionKind.swift
[73/90] Compiling ArgumentParser Errors.swift
[74/90] Compiling ArgumentParser Flag.swift
[75/90] Compiling ArgumentParser NameSpecification.swift
[76/90] Compiling ArgumentParser Option.swift
[77/90] Compiling ArgumentParser ExpressibleByArgument.swift
[78/90] Compiling ArgumentParser ParsableArguments.swift
[79/90] Compiling ArgumentParser ParsableArgumentsValidation.swift
[80/90] Compiling ArgumentParser ParsableCommand.swift
[81/90] Compiling ArgumentParser ArgumentDecoder.swift
[83/91] Compiling Releases ReleasesError.swift
[84/91] Emitting module Releases
[85/91] Compiling Releases Version.swift
[86/92] Wrapping AST for ArgumentParser for debugging
[87/92] Wrapping AST for Releases for debugging
[89/107] Compiling SwiftDependencyUpdaterLibrary String.swift
[90/107] Compiling SwiftDependencyUpdaterLibrary Version.swift
[91/108] Compiling SwiftDependencyUpdaterLibrary Dependency.swift
[92/108] Compiling SwiftDependencyUpdaterLibrary Collection.swift
[93/108] 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: 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")
/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: 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")
/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: 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")
/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: 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",
/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
[94/108] 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)
[95/108] 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)
[96/108] 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: 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")
/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: 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",
[97/108] 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: 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")
/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: 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",
[98/108] 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: 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")
/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: 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
/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: 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")
/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: 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
/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
[101/108] Compiling SwiftDependencyUpdaterLibrary PackageDescription.swift
[102/108] Compiling SwiftDependencyUpdaterLibrary ResolvedPackage.swift
[103/108] 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 | }
[104/108] 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 | }
[105/109] Wrapping AST for SwiftDependencyUpdaterLibrary for debugging
[107/111] Emitting module SwiftDependencyUpdater
[108/111] Compiling SwiftDependencyUpdater main.swift
[109/112] Wrapping AST for SwiftDependencyUpdater for debugging
[110/112] Write Objects.LinkFileList
[111/112] Linking swift-dependency-updater
Build complete! (15.98s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.5.0",
"upper_bound" : "1.6.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.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.