The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of SwiftOutdated, reference main (6dbb22), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 22:40:48 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: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/kiliankoe/swift-outdated
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
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/apple/swift-log.git
Fetching https://github.com/mxcl/version.git
Fetching https://github.com/onevcat/rainbow.git
Fetching https://github.com/johnsundell/files.git
[1/929] Fetching swiftytexttable
[76/1217] Fetching swiftytexttable, version
[82/2343] Fetching swiftytexttable, version, rainbow
[117/3303] Fetching swiftytexttable, version, rainbow, shellout
[1464/6963] Fetching swiftytexttable, version, rainbow, shellout, swift-log
[1786/8194] Fetching swiftytexttable, version, rainbow, shellout, swift-log, files
Fetched https://github.com/scottrhoyt/swiftytexttable.git from cache (1.04s)
[3186/7265] Fetching version, rainbow, shellout, swift-log, files
[3223/19618] Fetching version, rainbow, shellout, swift-log, files, swift-argument-parser
Fetched https://github.com/johnsundell/shellout.git from cache (1.28s)
Fetched https://github.com/onevcat/rainbow.git from cache (1.28s)
Fetched https://github.com/apple/swift-log.git from cache (1.28s)
Fetched https://github.com/johnsundell/files.git from cache (1.28s)
Fetched https://github.com/mxcl/version.git from cache (1.28s)
[865/12353] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.76s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 3.2.0 (2.57s)
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.66s)
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.67s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.2 (0.66s)
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.68s)
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/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/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.79s)
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git from cache
Fetching https://github.com/onevcat/Rainbow.git from cache
Fetching https://github.com/mxcl/Version.git from cache
Fetching https://github.com/johnsundell/Files.git from cache
Fetching https://github.com/apple/swift-log.git from cache
Fetching https://github.com/johnsundell/ShellOut.git from cache
Fetching https://github.com/apple/swift-argument-parser.git from cache
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (0.57s)
Fetched https://github.com/mxcl/Version.git from cache (0.59s)
Fetched https://github.com/apple/swift-log.git from cache (0.63s)
Fetched https://github.com/johnsundell/Files.git from cache (0.63s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.63s)
Fetched https://github.com/johnsundell/ShellOut.git from cache (0.63s)
Fetched https://github.com/onevcat/Rainbow.git from cache (0.63s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (0.64s)
Computing version for https://github.com/johnsundell/ShellOut.git
Computed https://github.com/johnsundell/ShellOut.git at 2.3.0 (0.60s)
Computing version for https://github.com/mxcl/Version.git
Computed https://github.com/mxcl/Version.git at 2.1.0 (0.62s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.1 (0.45s)
Computing version for https://github.com/johnsundell/Files.git
Computed https://github.com/johnsundell/Files.git at 4.2.0 (0.62s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 3.2.0 (0.60s)
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.51s)
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/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/ShellOut.git
Working copy of https://github.com/johnsundell/ShellOut.git resolved at 2.3.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/scottrhoyt/SwiftyTextTable.git
Working copy of https://github.com/scottrhoyt/SwiftyTextTable.git resolved at 0.9.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
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/kiliankoe/swift-outdated.git
Working copy of https://github.com/kiliankoe/swift-outdated.git resolved at main (6dbb22f)
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
[4/16] Write swift-outdated-entitlement.plist
[5/16] Write sources
[12/16] Write swift-version--7754E27361AE5C74.txt
[14/46] Compiling ArgumentParserToolInfo ToolInfo.swift
[15/46] Emitting module ArgumentParserToolInfo
[16/83] Emitting module SwiftyTextTable
[17/83] Compiling Rainbow Color.swift
[18/84] Compiling Rainbow Style.swift
[19/84] Compiling Rainbow StringGenerator.swift
[20/84] Compiling Rainbow ModesExtractor.swift
[21/84] Compiling Rainbow ControlCode.swift
[22/84] Emitting module Rainbow
[23/84] Compiling Version Version+Range.swift
[24/84] Compiling Version Version.swift
[25/84] Compiling Rainbow XcodeColorsSupport.swift
[26/84] Compiling Rainbow String+Rainbow.swift
[27/84] Compiling Logging MetadataProvider.swift
[28/84] Compiling Logging Logging.swift
[29/84] Emitting module Logging
[30/84] Compiling Logging LogHandler.swift
[31/84] Compiling Logging Locks.swift
[32/84] Compiling ArgumentParser BashCompletionsGenerator.swift
[33/84] Compiling ArgumentParser CompletionsGenerator.swift
[34/84] Compiling ArgumentParser FishCompletionsGenerator.swift
[35/84] Compiling ArgumentParser ZshCompletionsGenerator.swift
[36/84] Emitting module ArgumentParser
[37/87] Compiling ArgumentParser SequenceExtensions.swift
[38/87] Compiling ArgumentParser StringExtensions.swift
[39/87] Compiling ArgumentParser Tree.swift
[40/87] Compiling Rainbow Rainbow.swift
[43/87] Compiling Rainbow OutputTarget.swift
[44/87] Compiling Version Version+Comparable.swift
[45/87] Compiling Version Version+Codable.swift
[46/87] Emitting module Version
[47/87] Compiling Version Version+Foundation.swift
[48/87] Emitting module ShellOut
[49/87] Compiling ShellOut ShellOut.swift
[50/87] Compiling SwiftyTextTable TextTable.swift
[51/87] Compiling ArgumentParser Argument.swift
[52/87] Compiling ArgumentParser ArgumentHelp.swift
[53/87] Compiling ArgumentParser ArgumentVisibility.swift
[54/87] Compiling ArgumentParser CompletionKind.swift
[55/87] Compiling ArgumentParser ParserError.swift
[56/87] Compiling ArgumentParser SplitArguments.swift
[57/87] Compiling ArgumentParser DumpHelpGenerator.swift
[58/87] Compiling ArgumentParser HelpCommand.swift
[59/87] Compiling ArgumentParser ArgumentDecoder.swift
[60/87] Compiling ArgumentParser ArgumentDefinition.swift
[61/87] Compiling ArgumentParser ArgumentSet.swift
[62/87] Compiling ArgumentParser CommandParser.swift
[63/87] Compiling ArgumentParser InputOrigin.swift
[64/87] Compiling ArgumentParser Name.swift
[65/87] Compiling ArgumentParser Parsed.swift
[66/87] Compiling ArgumentParser ParsedValues.swift
[67/87] Compiling ArgumentParser ExpressibleByArgument.swift
[68/87] Compiling ArgumentParser ParsableArguments.swift
[69/87] Compiling ArgumentParser ParsableArgumentsValidation.swift
[70/87] Compiling ArgumentParser ParsableCommand.swift
[71/87] Compiling ArgumentParser HelpGenerator.swift
[72/87] Compiling ArgumentParser MessageInfo.swift
[73/87] Compiling ArgumentParser UsageGenerator.swift
[74/87] Compiling ArgumentParser CollectionExtensions.swift
[75/87] Compiling ArgumentParser OptionGroup.swift
[76/87] Compiling ArgumentParser AsyncParsableCommand.swift
[77/87] Compiling ArgumentParser CommandConfiguration.swift
[78/87] Compiling ArgumentParser EnumerableFlag.swift
[79/87] Compiling ArgumentParser Errors.swift
[80/87] Compiling ArgumentParser Flag.swift
[81/87] Compiling ArgumentParser NameSpecification.swift
[82/87] Compiling ArgumentParser Option.swift
[83/87] Emitting module Files
[84/87] Compiling Files Files.swift
[85/94] Compiling Outdated Resolved.swift
[86/94] Compiling Outdated Pin.swift
[87/94] Compiling Outdated PackageCollection.swift
[88/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 |     }
[89/94] Compiling Outdated OutdatedPackage.swift
[90/94] Emitting module Outdated
[91/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)
[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! (21.48s)
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.