Build Information
Successful build of SwiftOutdated, reference 0.9.0 (6dbb22
), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 22:42:10 UTC.
Swift 6 data race errors: 1
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kiliankoe/swift-outdated.git
Reference: 0.9.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/kiliankoe/swift-outdated
* tag 0.9.0 -> FETCH_HEAD
HEAD is now at 6dbb22f bump version to 0.9.0
Cloned https://github.com/kiliankoe/swift-outdated.git
Revision (git rev-parse @):
6dbb22f79874b75b5c95daa0a21d66082f6aeefc
SUCCESS checkout https://github.com/kiliankoe/swift-outdated.git at 0.9.0
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/scottrhoyt/swiftytexttable.git
Fetching https://github.com/johnsundell/shellout.git
Fetching https://github.com/johnsundell/files.git
Fetching https://github.com/mxcl/version.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/onevcat/rainbow.git
[1/1126] Fetching rainbow
[137/2086] Fetching rainbow, shellout
[329/2374] Fetching rainbow, shellout, version
[407/3605] Fetching rainbow, shellout, version, files
[555/4534] Fetching rainbow, shellout, version, files, swiftytexttable
[1872/8194] Fetching rainbow, shellout, version, files, swiftytexttable, swift-log
[4160/20547] Fetching rainbow, shellout, version, files, swiftytexttable, swift-log, swift-argument-parser
Fetched https://github.com/johnsundell/files.git from cache (1.74s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.74s)
Fetched https://github.com/apple/swift-log.git from cache (1.73s)
Fetched https://github.com/scottrhoyt/swiftytexttable.git from cache (1.74s)
Fetched https://github.com/johnsundell/shellout.git from cache (1.74s)
Fetched https://github.com/mxcl/version.git from cache (1.74s)
Fetched https://github.com/onevcat/rainbow.git from cache (1.73s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 3.2.0 (2.62s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (0.66s)
Computing version for https://github.com/johnsundell/Files.git
Computed https://github.com/johnsundell/Files.git at 4.2.0 (0.65s)
Computing version for https://github.com/johnsundell/ShellOut.git
Computed https://github.com/johnsundell/ShellOut.git at 2.3.0 (2.52s)
Computing version for https://github.com/mxcl/Version.git
Computed https://github.com/mxcl/Version.git at 2.0.1 (0.66s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.2 (0.64s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.1.4 (0.65s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.5.2
Creating working copy for https://github.com/onevcat/rainbow.git
Working copy of https://github.com/onevcat/rainbow.git resolved at 3.2.0
Creating working copy for https://github.com/mxcl/version.git
Working copy of https://github.com/mxcl/version.git resolved at 2.0.1
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.1.4
Creating working copy for https://github.com/johnsundell/shellout.git
Working copy of https://github.com/johnsundell/shellout.git resolved at 2.3.0
Creating working copy for https://github.com/johnsundell/files.git
Working copy of https://github.com/johnsundell/files.git resolved at 4.2.0
Creating working copy for https://github.com/scottrhoyt/swiftytexttable.git
Working copy of https://github.com/scottrhoyt/swiftytexttable.git resolved at 0.9.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "swift-outdated",
"name": "SwiftOutdated",
"url": "https://github.com/kiliankoe/swift-outdated.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-outdated",
"dependencies": [
{
"identity": "swift-argument-parser",
"name": "swift-argument-parser",
"url": "https://github.com/apple/swift-argument-parser.git",
"version": "1.5.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
"dependencies": [
]
},
{
"identity": "swift-log",
"name": "swift-log",
"url": "https://github.com/apple/swift-log.git",
"version": "1.6.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
"dependencies": [
]
},
{
"identity": "version",
"name": "Version",
"url": "https://github.com/mxcl/Version.git",
"version": "2.1.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Version",
"dependencies": [
]
},
{
"identity": "shellout",
"name": "ShellOut",
"url": "https://github.com/johnsundell/ShellOut.git",
"version": "2.3.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ShellOut",
"dependencies": [
]
},
{
"identity": "files",
"name": "Files",
"url": "https://github.com/johnsundell/Files.git",
"version": "4.2.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Files",
"dependencies": [
]
},
{
"identity": "swiftytexttable",
"name": "SwiftyTextTable",
"url": "https://github.com/scottrhoyt/SwiftyTextTable.git",
"version": "0.9.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftyTextTable",
"dependencies": [
]
},
{
"identity": "rainbow",
"name": "Rainbow",
"url": "https://github.com/onevcat/Rainbow.git",
"version": "3.2.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Rainbow",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/kiliankoe/swift-outdated.git
[1/458] Fetching swift-outdated
Fetched https://github.com/kiliankoe/swift-outdated.git from cache (0.80s)
Fetching https://github.com/apple/swift-argument-parser.git from cache
Fetching https://github.com/mxcl/Version.git from cache
Fetching https://github.com/apple/swift-log.git from cache
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git from cache
Fetching https://github.com/onevcat/Rainbow.git from cache
Fetching https://github.com/johnsundell/ShellOut.git from cache
Fetching https://github.com/johnsundell/Files.git from cache
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (0.50s)
Fetched https://github.com/mxcl/Version.git from cache (0.51s)
Fetched https://github.com/johnsundell/Files.git from cache (0.66s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.66s)
Fetched https://github.com/apple/swift-log.git from cache (0.66s)
Fetched https://github.com/onevcat/Rainbow.git from cache (0.66s)
Fetched https://github.com/johnsundell/ShellOut.git from cache (0.66s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (0.69s)
Computing version for https://github.com/johnsundell/ShellOut.git
Computed https://github.com/johnsundell/ShellOut.git at 2.3.0 (0.67s)
Computing version for https://github.com/mxcl/Version.git
Computed https://github.com/mxcl/Version.git at 2.1.0 (0.68s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.1 (0.51s)
Computing version for https://github.com/johnsundell/Files.git
Computed https://github.com/johnsundell/Files.git at 4.2.0 (0.66s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 3.2.0 (0.62s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (0.50s)
Creating working copy for https://github.com/scottrhoyt/SwiftyTextTable.git
Working copy of https://github.com/scottrhoyt/SwiftyTextTable.git resolved at 0.9.0
Creating working copy for https://github.com/onevcat/Rainbow.git
Working copy of https://github.com/onevcat/Rainbow.git resolved at 3.2.0
Creating working copy for https://github.com/johnsundell/ShellOut.git
Working copy of https://github.com/johnsundell/ShellOut.git resolved at 2.3.0
Creating working copy for https://github.com/kiliankoe/swift-outdated.git
Working copy of https://github.com/kiliankoe/swift-outdated.git resolved at 0.9.0 (6dbb22f)
Creating working copy for https://github.com/mxcl/Version.git
Working copy of https://github.com/mxcl/Version.git resolved at 2.1.0
Creating working copy for https://github.com/johnsundell/Files.git
Working copy of https://github.com/johnsundell/Files.git resolved at 4.2.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.1
Found 7 product dependencies
- swift-argument-parser
- swift-log
- Version
- ShellOut
- Files
- SwiftyTextTable
- Rainbow
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/kiliankoe/swift-outdated.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
[1/1] Compiling plugin GenerateManualPlugin
Building for debugging...
[1/16] Write sources
[9/16] Write swift-outdated-entitlement.plist
[10/16] Write sources
[12/16] Write swift-version--7754E27361AE5C74.txt
[14/46] Emitting module ArgumentParserToolInfo
[15/46] Compiling ArgumentParserToolInfo ToolInfo.swift
[16/83] Emitting module ShellOut
[17/83] Compiling Rainbow Style.swift
[18/84] Emitting module Version
[19/84] Compiling ArgumentParser Argument.swift
[20/84] Compiling ArgumentParser ArgumentHelp.swift
[21/84] Compiling Rainbow Color.swift
[22/84] Compiling Rainbow ControlCode.swift
[23/84] Compiling Version Version+Codable.swift
[24/84] Compiling Rainbow StringGenerator.swift
[25/84] Compiling Version Version+Range.swift
[26/84] Compiling Version Version.swift
[27/84] Emitting module Rainbow
[28/84] Compiling Rainbow XcodeColorsSupport.swift
[29/84] Compiling Rainbow String+Rainbow.swift
[32/84] Compiling ArgumentParser ArgumentVisibility.swift
[33/84] Compiling ArgumentParser CompletionKind.swift
[34/87] Compiling ArgumentParser SequenceExtensions.swift
[35/87] Compiling ArgumentParser StringExtensions.swift
[36/87] Compiling ArgumentParser Tree.swift
[37/87] Compiling ArgumentParser ExpressibleByArgument.swift
[38/87] Compiling ArgumentParser ParsableArguments.swift
[39/87] Compiling ArgumentParser ParsableArgumentsValidation.swift
[40/87] Compiling ArgumentParser ParsableCommand.swift
[41/87] Compiling ArgumentParser Errors.swift
[42/87] Compiling ArgumentParser Flag.swift
[43/87] Compiling ArgumentParser NameSpecification.swift
[44/87] Compiling ArgumentParser Option.swift
[45/87] Emitting module ArgumentParser
[46/87] Compiling Logging MetadataProvider.swift
[47/87] Compiling Logging LogHandler.swift
[48/87] Compiling Logging Locks.swift
[49/87] Emitting module Logging
[50/87] Compiling Logging Logging.swift
[51/87] Compiling ArgumentParser OptionGroup.swift
[52/87] Compiling ArgumentParser AsyncParsableCommand.swift
[53/87] Compiling ArgumentParser CommandConfiguration.swift
[54/87] Compiling ArgumentParser EnumerableFlag.swift
[55/87] Compiling ArgumentParser ArgumentDecoder.swift
[56/87] Compiling ArgumentParser ArgumentDefinition.swift
[57/87] Compiling ArgumentParser ArgumentSet.swift
[58/87] Compiling ArgumentParser CommandParser.swift
[59/87] Compiling Version Version+Comparable.swift
[60/87] Compiling Version Version+Foundation.swift
[61/87] Compiling Rainbow OutputTarget.swift
[62/87] Compiling Rainbow ModesExtractor.swift
[63/87] Compiling Rainbow Rainbow.swift
[64/87] Compiling SwiftyTextTable TextTable.swift
[65/87] Emitting module SwiftyTextTable
[66/87] Compiling ShellOut ShellOut.swift
[67/87] Compiling ArgumentParser BashCompletionsGenerator.swift
[68/87] Compiling ArgumentParser CompletionsGenerator.swift
[69/87] Compiling ArgumentParser FishCompletionsGenerator.swift
[70/87] Compiling ArgumentParser ZshCompletionsGenerator.swift
[71/87] Compiling ArgumentParser ParserError.swift
[72/87] Compiling ArgumentParser SplitArguments.swift
[73/87] Compiling ArgumentParser DumpHelpGenerator.swift
[74/87] Compiling ArgumentParser HelpCommand.swift
[75/87] Compiling ArgumentParser HelpGenerator.swift
[76/87] Compiling ArgumentParser MessageInfo.swift
[77/87] Compiling ArgumentParser UsageGenerator.swift
[78/87] Compiling ArgumentParser CollectionExtensions.swift
[79/87] Compiling ArgumentParser InputOrigin.swift
[80/87] Compiling ArgumentParser Name.swift
[81/87] Compiling ArgumentParser Parsed.swift
[82/87] Compiling ArgumentParser ParsedValues.swift
[83/87] Emitting module Files
[84/87] Compiling Files Files.swift
[85/94] Compiling Outdated Resolved.swift
[86/94] Compiling Outdated ConcurrentDictionary.swift
/Users/admin/builder/spi-builder-workspace/Sources/Outdated/ConcurrentDictionary.swift:32:17: warning: capture of 'self' with non-sendable type 'ConcurrentDictionary<Key, Value>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | class ConcurrentDictionary<Key: Hashable, Value>: Collection {
| `- note: generic class 'ConcurrentDictionary' does not conform to the 'Sendable' protocol
4 | private var dictionary: [Key: Value]
5 | private let concurrentQueue = DispatchQueue(label: UUID().uuidString, attributes: .concurrent)
:
30 | set(newValue) {
31 | concurrentQueue.async(flags: .barrier) { [weak self] in
32 | self?.dictionary[key] = newValue
| `- warning: capture of 'self' with non-sendable type 'ConcurrentDictionary<Key, Value>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
33 | }
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/Outdated/ConcurrentDictionary.swift:32:34: warning: capture of 'key' with non-sendable type 'Key' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | class ConcurrentDictionary<Key: Hashable, Value>: Collection {
| `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
4 | private var dictionary: [Key: Value]
5 | private let concurrentQueue = DispatchQueue(label: UUID().uuidString, attributes: .concurrent)
:
30 | set(newValue) {
31 | concurrentQueue.async(flags: .barrier) { [weak self] in
32 | self?.dictionary[key] = newValue
| `- warning: capture of 'key' with non-sendable type 'Key' in a `@Sendable` closure; this is an error in the Swift 6 language mode
33 | }
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/Outdated/ConcurrentDictionary.swift:32:41: warning: capture of 'newValue' with non-sendable type 'Value?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | class ConcurrentDictionary<Key: Hashable, Value>: Collection {
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
4 | private var dictionary: [Key: Value]
5 | private let concurrentQueue = DispatchQueue(label: UUID().uuidString, attributes: .concurrent)
:
30 | set(newValue) {
31 | concurrentQueue.async(flags: .barrier) { [weak self] in
32 | self?.dictionary[key] = newValue
| `- warning: capture of 'newValue' with non-sendable type 'Value?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
33 | }
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/Outdated/ConcurrentDictionary.swift:50:13: warning: capture of 'self' with non-sendable type 'ConcurrentDictionary<Key, Value>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | class ConcurrentDictionary<Key: Hashable, Value>: Collection {
| `- note: generic class 'ConcurrentDictionary' does not conform to the 'Sendable' protocol
4 | private var dictionary: [Key: Value]
5 | private let concurrentQueue = DispatchQueue(label: UUID().uuidString, attributes: .concurrent)
:
48 | func removeValue(forKey key: Key) {
49 | concurrentQueue.async(flags: .barrier) { [weak self] in
50 | self?.dictionary.removeValue(forKey: key)
| `- warning: capture of 'self' with non-sendable type 'ConcurrentDictionary<Key, Value>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
51 | }
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/Outdated/ConcurrentDictionary.swift:50:50: warning: capture of 'key' with non-sendable type 'Key' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | class ConcurrentDictionary<Key: Hashable, Value>: Collection {
| `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
4 | private var dictionary: [Key: Value]
5 | private let concurrentQueue = DispatchQueue(label: UUID().uuidString, attributes: .concurrent)
:
48 | func removeValue(forKey key: Key) {
49 | concurrentQueue.async(flags: .barrier) { [weak self] in
50 | self?.dictionary.removeValue(forKey: key)
| `- warning: capture of 'key' with non-sendable type 'Key' in a `@Sendable` closure; this is an error in the Swift 6 language mode
51 | }
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/Outdated/ConcurrentDictionary.swift:56:13: warning: capture of 'self' with non-sendable type 'ConcurrentDictionary<Key, Value>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | class ConcurrentDictionary<Key: Hashable, Value>: Collection {
| `- note: generic class 'ConcurrentDictionary' does not conform to the 'Sendable' protocol
4 | private var dictionary: [Key: Value]
5 | private let concurrentQueue = DispatchQueue(label: UUID().uuidString, attributes: .concurrent)
:
54 | func removeAll() {
55 | concurrentQueue.async(flags: .barrier) { [weak self] in
56 | self?.dictionary.removeAll()
| `- warning: capture of 'self' with non-sendable type 'ConcurrentDictionary<Key, Value>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
57 | }
58 | }
[87/94] Compiling Outdated SwiftPackage.swift
/Users/admin/builder/spi-builder-workspace/Sources/Outdated/SwiftPackage.swift:127:30: warning: type 'SwiftPackage' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
8 | let log = Logger(label: "SwiftOutdated")
9 |
10 | public struct SwiftPackage: Hashable {
| `- note: consider making struct 'SwiftPackage' conform to the 'Sendable' protocol
11 | public let package: String
12 | public let repositoryURL: String
:
125 | public static func collectVersions(for packages: [SwiftPackage], ignoringPrerelease: Bool, onlyMajorUpdates: Bool) async -> PackageCollection {
126 | log.info("Collecting versions for \(packages.map { $0.package }.joined(separator: ", ")).")
127 | let versions = await withTaskGroup(of: (SwiftPackage, [Version]?).self) { group in
| `- warning: type 'SwiftPackage' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
128 | for package in packages where package.hasResolvedVersion {
129 | log.info("Package \(package.package) has resolved version, queueing version fetch.")
/Users/admin/builder/spi-builder-workspace/Sources/Outdated/SwiftPackage.swift:127:30: warning: type 'Version' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
125 | public static func collectVersions(for packages: [SwiftPackage], ignoringPrerelease: Bool, onlyMajorUpdates: Bool) async -> PackageCollection {
126 | log.info("Collecting versions for \(packages.map { $0.package }.joined(separator: ", ")).")
127 | let versions = await withTaskGroup(of: (SwiftPackage, [Version]?).self) { group in
| `- warning: type 'Version' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
128 | for package in packages where package.hasResolvedVersion {
129 | log.info("Package \(package.package) has resolved version, queueing version fetch.")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/version/Sources/Version.swift:18:15: note: struct 'Version' does not conform to the 'Sendable' protocol
16 | - SeeAlso: https://semver.org
17 | */
18 | public struct Version {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
19 | /// The major version.
20 | public let major: Int
/Users/admin/builder/spi-builder-workspace/Sources/Outdated/SwiftPackage.swift:5:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
3 | import Rainbow
4 | import ShellOut
5 | import Version
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
6 | import Logging
7 |
/Users/admin/builder/spi-builder-workspace/Sources/Outdated/SwiftPackage.swift:127:81: warning: type 'SwiftPackage' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
8 | let log = Logger(label: "SwiftOutdated")
9 |
10 | public struct SwiftPackage: Hashable {
| `- note: consider making struct 'SwiftPackage' conform to the 'Sendable' protocol
11 | public let package: String
12 | public let repositoryURL: String
:
125 | public static func collectVersions(for packages: [SwiftPackage], ignoringPrerelease: Bool, onlyMajorUpdates: Bool) async -> PackageCollection {
126 | log.info("Collecting versions for \(packages.map { $0.package }.joined(separator: ", ")).")
127 | let versions = await withTaskGroup(of: (SwiftPackage, [Version]?).self) { group in
| `- warning: type 'SwiftPackage' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
128 | for package in packages where package.hasResolvedVersion {
129 | log.info("Package \(package.package) has resolved version, queueing version fetch.")
/Users/admin/builder/spi-builder-workspace/Sources/Outdated/SwiftPackage.swift:127:81: warning: type 'Version' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
125 | public static func collectVersions(for packages: [SwiftPackage], ignoringPrerelease: Bool, onlyMajorUpdates: Bool) async -> PackageCollection {
126 | log.info("Collecting versions for \(packages.map { $0.package }.joined(separator: ", ")).")
127 | let versions = await withTaskGroup(of: (SwiftPackage, [Version]?).self) { group in
| `- warning: type 'Version' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
128 | for package in packages where package.hasResolvedVersion {
129 | log.info("Package \(package.package) has resolved version, queueing version fetch.")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/version/Sources/Version.swift:18:15: note: struct 'Version' does not conform to the 'Sendable' protocol
16 | - SeeAlso: https://semver.org
17 | */
18 | public struct Version {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
19 | /// The major version.
20 | public let major: Int
/Users/admin/builder/spi-builder-workspace/Sources/Outdated/SwiftPackage.swift:130:23: warning: type 'SwiftPackage' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
8 | let log = Logger(label: "SwiftOutdated")
9 |
10 | public struct SwiftPackage: Hashable {
| `- note: consider making struct 'SwiftPackage' conform to the 'Sendable' protocol
11 | public let package: String
12 | public let repositoryURL: String
:
128 | for package in packages where package.hasResolvedVersion {
129 | log.info("Package \(package.package) has resolved version, queueing version fetch.")
130 | group.addTask {
| `- warning: type 'SwiftPackage' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
131 | let availableVersions = package.availableVersions()
132 | log.info("Found \(availableVersions.count) versions for \(package.package).")
/Users/admin/builder/spi-builder-workspace/Sources/Outdated/SwiftPackage.swift:130:23: warning: type 'Version' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
128 | for package in packages where package.hasResolvedVersion {
129 | log.info("Package \(package.package) has resolved version, queueing version fetch.")
130 | group.addTask {
| `- warning: type 'Version' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
131 | let availableVersions = package.availableVersions()
132 | log.info("Found \(availableVersions.count) versions for \(package.package).")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/version/Sources/Version.swift:18:15: note: struct 'Version' does not conform to the 'Sendable' protocol
16 | - SeeAlso: https://semver.org
17 | */
18 | public struct Version {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
19 | /// The major version.
20 | public let major: Int
/Users/admin/builder/spi-builder-workspace/Sources/Outdated/SwiftPackage.swift:130:31: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
128 | for package in packages where package.hasResolvedVersion {
129 | log.info("Package \(package.package) has resolved version, queueing version fetch.")
130 | group.addTask {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
131 | let availableVersions = package.availableVersions()
| `- note: closure captures 'package' which is accessible to code in the current task
132 | log.info("Found \(availableVersions.count) versions for \(package.package).")
133 | return (package, availableVersions)
[88/94] Compiling Outdated Pin.swift
[89/94] Compiling Outdated OutdatedPackage.swift
[90/94] Compiling Outdated PackageCollection.swift
[91/94] Emitting module Outdated
[92/96] Emitting module SwiftOutdated
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOutdated/SwiftOutdated.swift:29:23: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
27 | var path: String = ""
28 |
29 | public static let configuration = CommandConfiguration(
| `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
30 | commandName: "swift-outdated",
31 | abstract: "Check for outdated dependencies.",
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
| `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 | /// The name of the command to use on the command line.
15 | ///
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOutdated/SwiftOutdated.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
1 | import ArgumentParser
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
2 | import Dispatch
3 | import Files
:
27 | var path: String = ""
28 |
29 | public static let configuration = CommandConfiguration(
| |- 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
30 | commandName: "swift-outdated",
31 | abstract: "Check for outdated dependencies.",
[93/96] Compiling SwiftOutdated SwiftOutdated.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOutdated/SwiftOutdated.swift:29:23: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
27 | var path: String = ""
28 |
29 | public static let configuration = CommandConfiguration(
| `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
30 | commandName: "swift-outdated",
31 | abstract: "Check for outdated dependencies.",
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
| `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 | /// The name of the command to use on the command line.
15 | ///
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOutdated/SwiftOutdated.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
1 | import ArgumentParser
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
2 | import Dispatch
3 | import Files
:
27 | var path: String = ""
28 |
29 | public static let configuration = CommandConfiguration(
| |- 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
30 | commandName: "swift-outdated",
31 | abstract: "Check for outdated dependencies.",
[93/96] Write Objects.LinkFileList
[94/96] Linking swift-outdated
[95/96] Applying swift-outdated
Build complete! (22.10s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.5.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
},
{
"identity" : "version",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/mxcl/Version.git"
},
{
"identity" : "shellout",
"requirement" : {
"range" : [
{
"lower_bound" : "2.3.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/johnsundell/ShellOut.git"
},
{
"identity" : "files",
"requirement" : {
"range" : [
{
"lower_bound" : "4.0.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/johnsundell/Files.git"
},
{
"identity" : "swiftytexttable",
"requirement" : {
"range" : [
{
"lower_bound" : "0.9.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/scottrhoyt/SwiftyTextTable.git"
},
{
"identity" : "rainbow",
"requirement" : {
"range" : [
{
"lower_bound" : "3.0.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/onevcat/Rainbow.git"
}
],
"manifest_display_name" : "SwiftOutdated",
"name" : "SwiftOutdated",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "swift-outdated",
"targets" : [
"SwiftOutdated"
],
"type" : {
"executable" : null
}
},
{
"name" : "Outdated",
"targets" : [
"Outdated"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftOutdated",
"module_type" : "SwiftTarget",
"name" : "SwiftOutdated",
"path" : "Sources/SwiftOutdated",
"product_dependencies" : [
"ArgumentParser",
"Logging"
],
"product_memberships" : [
"swift-outdated"
],
"sources" : [
"SwiftOutdated.swift"
],
"target_dependencies" : [
"Outdated"
],
"type" : "executable"
},
{
"c99name" : "Outdated",
"module_type" : "SwiftTarget",
"name" : "Outdated",
"path" : "Sources/Outdated",
"product_dependencies" : [
"Logging",
"Files",
"Rainbow",
"ShellOut",
"SwiftyTextTable",
"Version"
],
"product_memberships" : [
"swift-outdated",
"Outdated"
],
"sources" : [
"ConcurrentDictionary.swift",
"OutdatedPackage.swift",
"PackageCollection.swift",
"Pin.swift",
"Resolved.swift",
"SwiftPackage.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
Done.