Build Information
Successful build of SwiftDependencyUpdater, reference main (cdfaf1), with Swift 6.1 for Linux on 24 Apr 2026 00:35:23 UTC.
Swift 6 data race errors: 9
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.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 cdfaf16 Bump release-drafter from 7.1.1 to 7.2.0 (#298)
Cloned https://github.com/Nef10/swift-dependency-updater.git
Revision (git rev-parse @):
cdfaf16793b996b1b33fe809a91e27bf9f05de95
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
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/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 swiftpackageindex/spi-images
Digest: sha256:a7bfd71e9384436264431030299dc8a2d42d0664a168cfa1a5dd84c9bc592ccf
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/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/1442] Fetching rainbow
[175/1606] Fetching rainbow, releases
[1607/19070] Fetching rainbow, releases, swift-argument-parser
Fetched https://github.com/Nef10/Releases.git from cache (0.29s)
[1792/18906] Fetching rainbow, swift-argument-parser
Fetched https://github.com/onevcat/Rainbow.git from cache (0.31s)
[699/17464] Fetching swift-argument-parser
[3669/17764] Fetching swift-argument-parser, shellout
Fetched https://github.com/Nef10/ShellOut.git from cache (1.01s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.02s)
Computing version for https://github.com/Nef10/Releases.git
Computed https://github.com/Nef10/Releases.git at 5.0.1 (2.04s)
Fetching https://github.com/JohnSundell/Require.git
[1/152] Fetching require
Fetched https://github.com/JohnSundell/Require.git from cache (0.48s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 4.2.1 (3.17s)
Computing version for https://github.com/Nef10/ShellOut.git
Computed https://github.com/Nef10/ShellOut.git at 2.3.1 (0.66s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.1 (0.60s)
Computing version for https://github.com/JohnSundell/Require.git
Computed https://github.com/JohnSundell/Require.git at 2.0.1 (0.68s)
Creating working copy for https://github.com/onevcat/Rainbow.git
Working copy of https://github.com/onevcat/Rainbow.git resolved at 4.2.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/Nef10/ShellOut.git
Working copy of https://github.com/Nef10/ShellOut.git resolved at 2.3.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.7.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
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/21] Write sources
[10/21] Write swift-version-24593BA9C3E375BF.txt
[12/42] Emitting module ShellOut
[13/42] Emitting module ArgumentParserToolInfo
[14/42] Compiling ArgumentParserToolInfo ToolInfo.swift
[15/43] Emitting module Rainbow
[16/43] Compiling Rainbow BackgroundColor.swift
[17/43] Compiling Rainbow CodesParser.swift
[19/44] Compiling Rainbow String+ConditionalStyling.swift
[20/44] Compiling Rainbow String+Rainbow.swift
[21/44] Compiling Rainbow StringGenerator.swift
[22/44] Compiling Rainbow Style.swift
[22/44] Wrapping AST for ArgumentParserToolInfo for debugging
[24/90] Compiling ArgumentParser Foundation.swift
[25/90] Compiling ArgumentParser Mutex.swift
[26/90] Compiling ArgumentParser Platform.swift
[27/90] Compiling ArgumentParser SequenceExtensions.swift
[28/90] Compiling ArgumentParser StringExtensions.swift
[29/90] Compiling ArgumentParser SwiftExtensions.swift
[30/96] Compiling ShellOut ShellOut.swift
[31/97] Compiling ArgumentParser CompletionsGenerator.swift
[32/97] Compiling ArgumentParser FishCompletionsGenerator.swift
[33/97] Compiling Require Require.swift
[34/97] Emitting module Require
[35/98] Compiling ArgumentParser Errors.swift
[36/98] Compiling ArgumentParser Flag.swift
[39/98] Compiling ArgumentParser OptionGroup.swift
[40/98] Compiling ArgumentParser BashCompletionsGenerator.swift
[41/98] Compiling ArgumentParser NameSpecification.swift
[42/98] Compiling ArgumentParser Option.swift
[42/98] Wrapping AST for ShellOut for debugging
[43/98] Wrapping AST for Require for debugging
[45/98] Compiling Rainbow StyledStringBuilder.swift
[46/104] Compiling ArgumentParser InputOrigin.swift
[47/104] Compiling ArgumentParser Name.swift
[48/104] Compiling ArgumentParser Parsed.swift
[49/104] Compiling ArgumentParser ParsedValues.swift
[50/104] Compiling ArgumentParser ParserError.swift
[51/104] Compiling ArgumentParser SplitArguments.swift
[53/104] Emitting module Releases
[54/104] Compiling Releases Array+Version.swift
[55/104] Compiling Releases Releases.swift
[55/104] Wrapping AST for Rainbow for debugging
[57/104] Compiling Releases ReleasesError.swift
[58/104] Compiling Releases Version.swift
[59/105] Compiling ArgumentParser Tree.swift
[60/105] Compiling ArgumentParser CodingKeyValidator.swift
[61/105] Compiling ArgumentParser NonsenseFlagsValidator.swift
[62/105] Compiling ArgumentParser ParsableArgumentsValidation.swift
[63/105] Compiling ArgumentParser PositionalArgumentsValidator.swift
[64/105] Compiling ArgumentParser UniqueNamesValidator.swift
[69/105] Compiling ArgumentParser ZshCompletionsGenerator.swift
[70/105] Compiling ArgumentParser Argument.swift
[71/105] Compiling ArgumentParser ArgumentDiscussion.swift
[72/105] Compiling ArgumentParser ArgumentHelp.swift
[73/105] Compiling ArgumentParser ArgumentVisibility.swift
[74/105] Compiling ArgumentParser CompletionKind.swift
[80/105] Emitting module ArgumentParser
[81/105] Compiling ArgumentParser DumpHelpGenerator.swift
[82/105] Compiling ArgumentParser HelpCommand.swift
[83/105] Compiling ArgumentParser HelpGenerator.swift
[84/105] Compiling ArgumentParser MessageInfo.swift
[85/105] Compiling ArgumentParser UsageGenerator.swift
[86/105] Compiling ArgumentParser CollectionExtensions.swift
[86/105] Wrapping AST for Releases for debugging
[88/105] Compiling ArgumentParser ParentCommand.swift
[89/105] Compiling ArgumentParser AsyncParsableCommand.swift
[90/105] Compiling ArgumentParser CommandConfiguration.swift
[91/105] Compiling ArgumentParser CommandGroup.swift
[92/105] Compiling ArgumentParser EnumerableFlag.swift
[93/105] Compiling ArgumentParser ExpressibleByArgument.swift
[94/105] Compiling ArgumentParser ParsableArguments.swift
[95/105] Compiling ArgumentParser ParsableCommand.swift
[96/105] Compiling ArgumentParser ArgumentDecoder.swift
[97/105] Compiling ArgumentParser ArgumentDefinition.swift
[98/105] Compiling ArgumentParser ArgumentSet.swift
[99/105] Compiling ArgumentParser CommandParser.swift
[100/105] Compiling ArgumentParser InputKey.swift
[101/106] Wrapping AST for ArgumentParser for debugging
[103/121] Compiling SwiftDependencyUpdaterLibrary Dependency.swift
[104/121] Compiling SwiftDependencyUpdaterLibrary Collection.swift
[105/121] Compiling SwiftDependencyUpdaterLibrary String.swift
[106/121] Compiling SwiftDependencyUpdaterLibrary Version.swift
[107/122] 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
[108/122] 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",
[109/122] 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",
[110/122] 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)
[111/122] 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)
[112/122] Compiling SwiftDependencyUpdaterLibrary Git.swift
/host/spi-builder-workspace/Sources/SwiftDependencyUpdaterLibrary/Services/GitHub.swift:58:13: warning: capture of 'self' with non-sendable type 'GitHub' in a '@Sendable' closure; this is an error in the Swift 6 language mode
26 | }
27 |
28 | class GitHub: GitHubProvider {
| `- note: class 'GitHub' does not conform to the 'Sendable' protocol
29 |
30 | private let git: GitProvider
:
56 | let parameters = try JSONSerialization.data(withJSONObject: parameterArray, options: [])
57 | let task = session.myUploadTask(with: request, from: parameters) { data, response, error in
58 | self.handleCreatePullRequestResponse(data: data, response: response, error: error)
| `- warning: capture of 'self' with non-sendable type 'GitHub' in a '@Sendable' closure; this is an error in the Swift 6 language mode
59 | group.leave()
60 | }
[113/122] Compiling SwiftDependencyUpdaterLibrary GitHub.swift
/host/spi-builder-workspace/Sources/SwiftDependencyUpdaterLibrary/Services/GitHub.swift:58:13: warning: capture of 'self' with non-sendable type 'GitHub' in a '@Sendable' closure; this is an error in the Swift 6 language mode
26 | }
27 |
28 | class GitHub: GitHubProvider {
| `- note: class 'GitHub' does not conform to the 'Sendable' protocol
29 |
30 | private let git: GitProvider
:
56 | let parameters = try JSONSerialization.data(withJSONObject: parameterArray, options: [])
57 | let task = session.myUploadTask(with: request, from: parameters) { data, response, error in
58 | self.handleCreatePullRequestResponse(data: data, response: response, error: error)
| `- warning: capture of 'self' with non-sendable type 'GitHub' in a '@Sendable' closure; this is an error in the Swift 6 language mode
59 | group.leave()
60 | }
[114/122] 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")
[115/122] 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")
[116/122] 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
[117/122] Compiling SwiftDependencyUpdaterLibrary PackageDescription.swift
[118/122] Compiling SwiftDependencyUpdaterLibrary ResolvedPackageParser.swift
[119/123] Wrapping AST for SwiftDependencyUpdaterLibrary for debugging
[121/125] Emitting module SwiftDependencyUpdater
[122/125] Compiling SwiftDependencyUpdater main.swift
[123/126] Wrapping AST for SwiftDependencyUpdater for debugging
[124/126] Write Objects.LinkFileList
[125/126] Linking swift-dependency-updater
Build complete! (43.99s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.7.0",
"upper_bound" : "1.8.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
},
{
"identity" : "shellout",
"requirement" : {
"range" : [
{
"lower_bound" : "2.3.1",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Nef10/ShellOut.git"
},
{
"identity" : "rainbow",
"requirement" : {
"range" : [
{
"lower_bound" : "4.2.1",
"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",
"ResolvedPackageParser.swift",
"Services/Git.swift",
"Services/GitHub.swift",
"SubCommands/GitHubCommand.swift",
"SubCommands/ListCommand.swift",
"SubCommands/UpdateCommand.swift",
"SwiftDependencyUpdater.swift",
"SwiftPackage.swift",
"SwiftPackageUpdate.swift",
"Update.swift"
],
"type" : "library"
},
{
"c99name" : "SwiftDependencyUpdater",
"module_type" : "SwiftTarget",
"name" : "SwiftDependencyUpdater",
"path" : "Sources/SwiftDependencyUpdater",
"product_memberships" : [
"swift-dependency-updater"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"SwiftDependencyUpdaterLibrary"
],
"type" : "executable"
}
],
"tools_version" : "5.2"
}
basic-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:a7bfd71e9384436264431030299dc8a2d42d0664a168cfa1a5dd84c9bc592ccf
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest
Done.