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 Roadmap, reference main (1512fa), with Swift 6.1 for macOS (SPM) on 1 May 2025 06:40:56 UTC.

Swift 6 data race errors: 2

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/AvdLee/Roadmap.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/AvdLee/Roadmap
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 1512fa9 Merge pull request #91 from zenopolis/patch-1
Cloned https://github.com/AvdLee/Roadmap.git
Revision (git rev-parse @):
1512fa908f33331b2a4bd21198dd29de16261196
SUCCESS checkout https://github.com/AvdLee/Roadmap.git at main
========================================
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": "roadmap",
      "name": "Roadmap",
      "url": "https://github.com/AvdLee/Roadmap.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Roadmap",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/AvdLee/Roadmap.git
[1/1059] Fetching roadmap
Fetched https://github.com/AvdLee/Roadmap.git from cache (0.91s)
Creating working copy for https://github.com/AvdLee/Roadmap.git
Working copy of https://github.com/AvdLee/Roadmap.git resolved at main (1512fa9)
warning: '.resolve-product-dependencies': dependency 'roadmap' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/AvdLee/Roadmap.git
https://github.com/AvdLee/Roadmap.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Roadmap",
  "name" : "Roadmap",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "Roadmap",
      "targets" : [
        "Roadmap"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "RoadmapTests",
      "module_type" : "SwiftTarget",
      "name" : "RoadmapTests",
      "path" : "Tests/RoadmapTests",
      "sources" : [
        "RoadmapTests.swift"
      ],
      "target_dependencies" : [
        "Roadmap"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Roadmap",
      "module_type" : "SwiftTarget",
      "name" : "Roadmap",
      "path" : "Sources/Roadmap",
      "product_memberships" : [
        "Roadmap"
      ],
      "sources" : [
        "DataProviders/FeatureVoter.swift",
        "DataProviders/FeatureVoterCountAPI.swift",
        "DataProviders/FeaturesFetcher.swift",
        "DataProviders/JSONDataFetcher.swift",
        "Extensions/ArrayExtensions.swift",
        "Extensions/ColorExtensions.swift",
        "Extensions/Logger.swift",
        "Extensions/MaterialExtensions.swift",
        "Extensions/ViewExtensions.swift",
        "Language.swift",
        "Models/RoadmapFeature.swift",
        "Models/RoadmapFeatureVotingCount.swift",
        "RoadmapConfiguration.swift",
        "RoadmapFeatureView.swift",
        "RoadmapFeatureViewModel.swift",
        "RoadmapView.swift",
        "RoadmapViewModel.swift",
        "RoadmapVoteButton.swift",
        "Styling/RoadmapStyle.swift",
        "Styling/RoadmapTemplates.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/21] Compiling Roadmap RoadmapFeature.swift
[4/21] Compiling Roadmap RoadmapFeatureVotingCount.swift
[5/23] Compiling Roadmap FeaturesFetcher.swift
/Users/admin/builder/spi-builder-workspace/Sources/Roadmap/DataProviders/JSONDataFetcher.swift:15:24: warning: static property 'urlSession' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |     }
14 |
15 |     private static var urlSession: URLSession = {
   |                        |- warning: static property 'urlSession' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'urlSession' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property 'urlSession' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |         URLSession(configuration: .ephemeral)
17 |     }()
[6/23] Compiling Roadmap JSONDataFetcher.swift
/Users/admin/builder/spi-builder-workspace/Sources/Roadmap/DataProviders/JSONDataFetcher.swift:15:24: warning: static property 'urlSession' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |     }
14 |
15 |     private static var urlSession: URLSession = {
   |                        |- warning: static property 'urlSession' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'urlSession' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property 'urlSession' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |         URLSession(configuration: .ephemeral)
17 |     }()
[7/23] Compiling Roadmap ArrayExtensions.swift
[8/23] Compiling Roadmap ColorExtensions.swift
[9/23] Emitting module Roadmap
/Users/admin/builder/spi-builder-workspace/Sources/Roadmap/DataProviders/JSONDataFetcher.swift:15:24: warning: static property 'urlSession' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |     }
14 |
15 |     private static var urlSession: URLSession = {
   |                        |- warning: static property 'urlSession' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'urlSession' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property 'urlSession' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |         URLSession(configuration: .ephemeral)
17 |     }()
/Users/admin/builder/spi-builder-workspace/Sources/Roadmap/Extensions/Logger.swift:13:24: warning: static property 'subsystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | extension Logger {
12 |     /// Using your bundle identifier is a great way to ensure a unique identifier.
13 |     private static var subsystem = Bundle.main.bundleIdentifier!
   |                        |- warning: static property 'subsystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'subsystem' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property 'subsystem' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 |     /// Logs the view cycles like a view that appeared.
[10/23] Compiling Roadmap FeatureVoter.swift
[11/23] Compiling Roadmap FeatureVoterCountAPI.swift
[12/23] Compiling Roadmap RoadmapStyle.swift
[13/23] Compiling Roadmap RoadmapTemplates.swift
[14/23] Compiling Roadmap RoadmapConfiguration.swift
[15/23] Compiling Roadmap RoadmapFeatureView.swift
[16/23] Compiling Roadmap RoadmapViewModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/Roadmap/RoadmapViewModel.swift:70:80: warning: non-sendable result type '[RoadmapFeature]' cannot be sent from nonisolated context in call to instance method 'fetch()'; this is an error in the Swift 6 language mode
68 |         Task { @MainActor in
69 |             if configuration.shuffledOrder {
70 |                 self.features = await FeaturesFetcher(featureRequest: request).fetch().shuffled()
   |                                                                                `- warning: non-sendable result type '[RoadmapFeature]' cannot be sent from nonisolated context in call to instance method 'fetch()'; this is an error in the Swift 6 language mode
71 |             } else if let sorting = configuration.sorting {
72 |                 self.features = await FeaturesFetcher(featureRequest: request).fetch().sorted(by: sorting)
/Users/admin/builder/spi-builder-workspace/Sources/Roadmap/Models/RoadmapFeature.swift:10:15: note: consider making struct 'RoadmapFeature' conform to the 'Sendable' protocol
 8 | import Foundation
 9 |
10 | public struct RoadmapFeature: Codable, Identifiable {
   |               `- note: consider making struct 'RoadmapFeature' conform to the 'Sendable' protocol
11 |     public let id: String
12 |     public let title: String?
/Users/admin/builder/spi-builder-workspace/Sources/Roadmap/RoadmapViewModel.swift:72:80: warning: non-sendable result type '[RoadmapFeature]' cannot be sent from nonisolated context in call to instance method 'fetch()'; this is an error in the Swift 6 language mode
70 |                 self.features = await FeaturesFetcher(featureRequest: request).fetch().shuffled()
71 |             } else if let sorting = configuration.sorting {
72 |                 self.features = await FeaturesFetcher(featureRequest: request).fetch().sorted(by: sorting)
   |                                                                                `- warning: non-sendable result type '[RoadmapFeature]' cannot be sent from nonisolated context in call to instance method 'fetch()'; this is an error in the Swift 6 language mode
73 |             } else {
74 |                 self.features = await FeaturesFetcher(featureRequest: request).fetch()
/Users/admin/builder/spi-builder-workspace/Sources/Roadmap/Models/RoadmapFeature.swift:10:15: note: consider making struct 'RoadmapFeature' conform to the 'Sendable' protocol
 8 | import Foundation
 9 |
10 | public struct RoadmapFeature: Codable, Identifiable {
   |               `- note: consider making struct 'RoadmapFeature' conform to the 'Sendable' protocol
11 |     public let id: String
12 |     public let title: String?
/Users/admin/builder/spi-builder-workspace/Sources/Roadmap/RoadmapViewModel.swift:74:80: warning: non-sendable result type '[RoadmapFeature]' cannot be sent from nonisolated context in call to instance method 'fetch()'; this is an error in the Swift 6 language mode
72 |                 self.features = await FeaturesFetcher(featureRequest: request).fetch().sorted(by: sorting)
73 |             } else {
74 |                 self.features = await FeaturesFetcher(featureRequest: request).fetch()
   |                                                                                `- warning: non-sendable result type '[RoadmapFeature]' cannot be sent from nonisolated context in call to instance method 'fetch()'; this is an error in the Swift 6 language mode
75 |             }
76 |
/Users/admin/builder/spi-builder-workspace/Sources/Roadmap/Models/RoadmapFeature.swift:10:15: note: consider making struct 'RoadmapFeature' conform to the 'Sendable' protocol
 8 | import Foundation
 9 |
10 | public struct RoadmapFeature: Codable, Identifiable {
   |               `- note: consider making struct 'RoadmapFeature' conform to the 'Sendable' protocol
11 |     public let id: String
12 |     public let title: String?
/Users/admin/builder/spi-builder-workspace/Sources/Roadmap/RoadmapViewModel.swift:69:16: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
67 |
68 |         Task { @MainActor in
69 |             if configuration.shuffledOrder {
   |                |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
   |                `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
70 |                 self.features = await FeaturesFetcher(featureRequest: request).fetch().shuffled()
71 |             } else if let sorting = configuration.sorting {
[17/23] Compiling Roadmap RoadmapVoteButton.swift
/Users/admin/builder/spi-builder-workspace/Sources/Roadmap/RoadmapViewModel.swift:70:80: warning: non-sendable result type '[RoadmapFeature]' cannot be sent from nonisolated context in call to instance method 'fetch()'; this is an error in the Swift 6 language mode
68 |         Task { @MainActor in
69 |             if configuration.shuffledOrder {
70 |                 self.features = await FeaturesFetcher(featureRequest: request).fetch().shuffled()
   |                                                                                `- warning: non-sendable result type '[RoadmapFeature]' cannot be sent from nonisolated context in call to instance method 'fetch()'; this is an error in the Swift 6 language mode
71 |             } else if let sorting = configuration.sorting {
72 |                 self.features = await FeaturesFetcher(featureRequest: request).fetch().sorted(by: sorting)
/Users/admin/builder/spi-builder-workspace/Sources/Roadmap/Models/RoadmapFeature.swift:10:15: note: consider making struct 'RoadmapFeature' conform to the 'Sendable' protocol
 8 | import Foundation
 9 |
10 | public struct RoadmapFeature: Codable, Identifiable {
   |               `- note: consider making struct 'RoadmapFeature' conform to the 'Sendable' protocol
11 |     public let id: String
12 |     public let title: String?
/Users/admin/builder/spi-builder-workspace/Sources/Roadmap/RoadmapViewModel.swift:72:80: warning: non-sendable result type '[RoadmapFeature]' cannot be sent from nonisolated context in call to instance method 'fetch()'; this is an error in the Swift 6 language mode
70 |                 self.features = await FeaturesFetcher(featureRequest: request).fetch().shuffled()
71 |             } else if let sorting = configuration.sorting {
72 |                 self.features = await FeaturesFetcher(featureRequest: request).fetch().sorted(by: sorting)
   |                                                                                `- warning: non-sendable result type '[RoadmapFeature]' cannot be sent from nonisolated context in call to instance method 'fetch()'; this is an error in the Swift 6 language mode
73 |             } else {
74 |                 self.features = await FeaturesFetcher(featureRequest: request).fetch()
/Users/admin/builder/spi-builder-workspace/Sources/Roadmap/Models/RoadmapFeature.swift:10:15: note: consider making struct 'RoadmapFeature' conform to the 'Sendable' protocol
 8 | import Foundation
 9 |
10 | public struct RoadmapFeature: Codable, Identifiable {
   |               `- note: consider making struct 'RoadmapFeature' conform to the 'Sendable' protocol
11 |     public let id: String
12 |     public let title: String?
/Users/admin/builder/spi-builder-workspace/Sources/Roadmap/RoadmapViewModel.swift:74:80: warning: non-sendable result type '[RoadmapFeature]' cannot be sent from nonisolated context in call to instance method 'fetch()'; this is an error in the Swift 6 language mode
72 |                 self.features = await FeaturesFetcher(featureRequest: request).fetch().sorted(by: sorting)
73 |             } else {
74 |                 self.features = await FeaturesFetcher(featureRequest: request).fetch()
   |                                                                                `- warning: non-sendable result type '[RoadmapFeature]' cannot be sent from nonisolated context in call to instance method 'fetch()'; this is an error in the Swift 6 language mode
75 |             }
76 |
/Users/admin/builder/spi-builder-workspace/Sources/Roadmap/Models/RoadmapFeature.swift:10:15: note: consider making struct 'RoadmapFeature' conform to the 'Sendable' protocol
 8 | import Foundation
 9 |
10 | public struct RoadmapFeature: Codable, Identifiable {
   |               `- note: consider making struct 'RoadmapFeature' conform to the 'Sendable' protocol
11 |     public let id: String
12 |     public let title: String?
/Users/admin/builder/spi-builder-workspace/Sources/Roadmap/RoadmapViewModel.swift:69:16: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
67 |
68 |         Task { @MainActor in
69 |             if configuration.shuffledOrder {
   |                |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
   |                `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
70 |                 self.features = await FeaturesFetcher(featureRequest: request).fetch().shuffled()
71 |             } else if let sorting = configuration.sorting {
[18/23] Compiling Roadmap ViewExtensions.swift
[19/23] Compiling Roadmap Language.swift
[20/23] Compiling Roadmap Logger.swift
/Users/admin/builder/spi-builder-workspace/Sources/Roadmap/Extensions/Logger.swift:13:24: warning: static property 'subsystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | extension Logger {
12 |     /// Using your bundle identifier is a great way to ensure a unique identifier.
13 |     private static var subsystem = Bundle.main.bundleIdentifier!
   |                        |- warning: static property 'subsystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'subsystem' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property 'subsystem' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 |     /// Logs the view cycles like a view that appeared.
[21/23] Compiling Roadmap MaterialExtensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Roadmap/Extensions/Logger.swift:13:24: warning: static property 'subsystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | extension Logger {
12 |     /// Using your bundle identifier is a great way to ensure a unique identifier.
13 |     private static var subsystem = Bundle.main.bundleIdentifier!
   |                        |- warning: static property 'subsystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'subsystem' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property 'subsystem' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 |     /// Logs the view cycles like a view that appeared.
[22/23] Compiling Roadmap RoadmapFeatureViewModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/Roadmap/RoadmapFeatureViewModel.swift:27:47: warning: sending 'self.feature' risks causing data races; this is an error in the Swift 6 language mode
25 |     @MainActor
26 |     func getCurrentVotes() async {
27 |         voteCount = await configuration.voter.fetch(for: feature)
   |                                               |- warning: sending 'self.feature' risks causing data races; this is an error in the Swift 6 language mode
   |                                               `- note: sending main actor-isolated 'self.feature' to nonisolated instance method 'fetch(for:)' risks causing data races between nonisolated and main actor-isolated uses
28 |     }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/Roadmap/RoadmapFeatureViewModel.swift:27:47: warning: sending 'self.configuration.voter' risks causing data races; this is an error in the Swift 6 language mode
25 |     @MainActor
26 |     func getCurrentVotes() async {
27 |         voteCount = await configuration.voter.fetch(for: feature)
   |                                               |- warning: sending 'self.configuration.voter' risks causing data races; this is an error in the Swift 6 language mode
   |                                               `- note: sending main actor-isolated 'self.configuration.voter' to nonisolated instance method 'fetch(for:)' risks causing data races between nonisolated and main actor-isolated uses
28 |     }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/Roadmap/RoadmapFeatureViewModel.swift:32:50: warning: sending 'self.feature' risks causing data races; this is an error in the Swift 6 language mode
30 |     @MainActor
31 |     func vote() async {
32 |         let newCount = await configuration.voter.vote(for: feature)
   |                                                  |- warning: sending 'self.feature' risks causing data races; this is an error in the Swift 6 language mode
   |                                                  `- note: sending main actor-isolated 'self.feature' to nonisolated instance method 'vote(for:)' risks causing data races between nonisolated and main actor-isolated uses
33 |         voteCount = newCount ?? (voteCount + 1)
34 |         feature.hasVoted = true
/Users/admin/builder/spi-builder-workspace/Sources/Roadmap/RoadmapFeatureViewModel.swift:32:50: warning: sending 'self.configuration.voter' risks causing data races; this is an error in the Swift 6 language mode
30 |     @MainActor
31 |     func vote() async {
32 |         let newCount = await configuration.voter.vote(for: feature)
   |                                                  |- warning: sending 'self.configuration.voter' risks causing data races; this is an error in the Swift 6 language mode
   |                                                  `- note: sending main actor-isolated 'self.configuration.voter' to nonisolated instance method 'vote(for:)' risks causing data races between nonisolated and main actor-isolated uses
33 |         voteCount = newCount ?? (voteCount + 1)
34 |         feature.hasVoted = true
/Users/admin/builder/spi-builder-workspace/Sources/Roadmap/RoadmapFeatureViewModel.swift:39:50: warning: sending 'self.feature' risks causing data races; this is an error in the Swift 6 language mode
37 |     @MainActor
38 |     func unvote() async {
39 |         let newCount = await configuration.voter.unvote(for: feature)
   |                                                  |- warning: sending 'self.feature' risks causing data races; this is an error in the Swift 6 language mode
   |                                                  `- note: sending main actor-isolated 'self.feature' to nonisolated instance method 'unvote(for:)' risks causing data races between nonisolated and main actor-isolated uses
40 |         voteCount = newCount ?? (voteCount - 1)
41 |         feature.hasVoted = false
/Users/admin/builder/spi-builder-workspace/Sources/Roadmap/RoadmapFeatureViewModel.swift:39:50: warning: sending 'self.configuration.voter' risks causing data races; this is an error in the Swift 6 language mode
37 |     @MainActor
38 |     func unvote() async {
39 |         let newCount = await configuration.voter.unvote(for: feature)
   |                                                  |- warning: sending 'self.configuration.voter' risks causing data races; this is an error in the Swift 6 language mode
   |                                                  `- note: sending main actor-isolated 'self.configuration.voter' to nonisolated instance method 'unvote(for:)' risks causing data races between nonisolated and main actor-isolated uses
40 |         voteCount = newCount ?? (voteCount - 1)
41 |         feature.hasVoted = false
[23/23] Compiling Roadmap RoadmapView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Roadmap/RoadmapFeatureViewModel.swift:27:47: warning: sending 'self.feature' risks causing data races; this is an error in the Swift 6 language mode
25 |     @MainActor
26 |     func getCurrentVotes() async {
27 |         voteCount = await configuration.voter.fetch(for: feature)
   |                                               |- warning: sending 'self.feature' risks causing data races; this is an error in the Swift 6 language mode
   |                                               `- note: sending main actor-isolated 'self.feature' to nonisolated instance method 'fetch(for:)' risks causing data races between nonisolated and main actor-isolated uses
28 |     }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/Roadmap/RoadmapFeatureViewModel.swift:27:47: warning: sending 'self.configuration.voter' risks causing data races; this is an error in the Swift 6 language mode
25 |     @MainActor
26 |     func getCurrentVotes() async {
27 |         voteCount = await configuration.voter.fetch(for: feature)
   |                                               |- warning: sending 'self.configuration.voter' risks causing data races; this is an error in the Swift 6 language mode
   |                                               `- note: sending main actor-isolated 'self.configuration.voter' to nonisolated instance method 'fetch(for:)' risks causing data races between nonisolated and main actor-isolated uses
28 |     }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/Roadmap/RoadmapFeatureViewModel.swift:32:50: warning: sending 'self.feature' risks causing data races; this is an error in the Swift 6 language mode
30 |     @MainActor
31 |     func vote() async {
32 |         let newCount = await configuration.voter.vote(for: feature)
   |                                                  |- warning: sending 'self.feature' risks causing data races; this is an error in the Swift 6 language mode
   |                                                  `- note: sending main actor-isolated 'self.feature' to nonisolated instance method 'vote(for:)' risks causing data races between nonisolated and main actor-isolated uses
33 |         voteCount = newCount ?? (voteCount + 1)
34 |         feature.hasVoted = true
/Users/admin/builder/spi-builder-workspace/Sources/Roadmap/RoadmapFeatureViewModel.swift:32:50: warning: sending 'self.configuration.voter' risks causing data races; this is an error in the Swift 6 language mode
30 |     @MainActor
31 |     func vote() async {
32 |         let newCount = await configuration.voter.vote(for: feature)
   |                                                  |- warning: sending 'self.configuration.voter' risks causing data races; this is an error in the Swift 6 language mode
   |                                                  `- note: sending main actor-isolated 'self.configuration.voter' to nonisolated instance method 'vote(for:)' risks causing data races between nonisolated and main actor-isolated uses
33 |         voteCount = newCount ?? (voteCount + 1)
34 |         feature.hasVoted = true
/Users/admin/builder/spi-builder-workspace/Sources/Roadmap/RoadmapFeatureViewModel.swift:39:50: warning: sending 'self.feature' risks causing data races; this is an error in the Swift 6 language mode
37 |     @MainActor
38 |     func unvote() async {
39 |         let newCount = await configuration.voter.unvote(for: feature)
   |                                                  |- warning: sending 'self.feature' risks causing data races; this is an error in the Swift 6 language mode
   |                                                  `- note: sending main actor-isolated 'self.feature' to nonisolated instance method 'unvote(for:)' risks causing data races between nonisolated and main actor-isolated uses
40 |         voteCount = newCount ?? (voteCount - 1)
41 |         feature.hasVoted = false
/Users/admin/builder/spi-builder-workspace/Sources/Roadmap/RoadmapFeatureViewModel.swift:39:50: warning: sending 'self.configuration.voter' risks causing data races; this is an error in the Swift 6 language mode
37 |     @MainActor
38 |     func unvote() async {
39 |         let newCount = await configuration.voter.unvote(for: feature)
   |                                                  |- warning: sending 'self.configuration.voter' risks causing data races; this is an error in the Swift 6 language mode
   |                                                  `- note: sending main actor-isolated 'self.configuration.voter' to nonisolated instance method 'unvote(for:)' risks causing data races between nonisolated and main actor-isolated uses
40 |         voteCount = newCount ?? (voteCount - 1)
41 |         feature.hasVoted = false
Build complete! (8.93s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Roadmap",
  "name" : "Roadmap",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "Roadmap",
      "targets" : [
        "Roadmap"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "RoadmapTests",
      "module_type" : "SwiftTarget",
      "name" : "RoadmapTests",
      "path" : "Tests/RoadmapTests",
      "sources" : [
        "RoadmapTests.swift"
      ],
      "target_dependencies" : [
        "Roadmap"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Roadmap",
      "module_type" : "SwiftTarget",
      "name" : "Roadmap",
      "path" : "Sources/Roadmap",
      "product_memberships" : [
        "Roadmap"
      ],
      "sources" : [
        "DataProviders/FeatureVoter.swift",
        "DataProviders/FeatureVoterCountAPI.swift",
        "DataProviders/FeaturesFetcher.swift",
        "DataProviders/JSONDataFetcher.swift",
        "Extensions/ArrayExtensions.swift",
        "Extensions/ColorExtensions.swift",
        "Extensions/Logger.swift",
        "Extensions/MaterialExtensions.swift",
        "Extensions/ViewExtensions.swift",
        "Language.swift",
        "Models/RoadmapFeature.swift",
        "Models/RoadmapFeatureVotingCount.swift",
        "RoadmapConfiguration.swift",
        "RoadmapFeatureView.swift",
        "RoadmapFeatureViewModel.swift",
        "RoadmapView.swift",
        "RoadmapViewModel.swift",
        "RoadmapVoteButton.swift",
        "Styling/RoadmapStyle.swift",
        "Styling/RoadmapTemplates.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.