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 (04cca0), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 08:57:00 UTC.

Swift 6 data race errors: 2

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/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 04cca0c Merge pull request #83 from MaartenBorsje/MaartenBorsje-print-to-logger
Cloned https://github.com/AvdLee/Roadmap.git
Revision (git rev-parse @):
04cca0ceec2dda141421b88c7f789ac24000010e
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/1023] Fetching roadmap
Fetched https://github.com/AvdLee/Roadmap.git from cache (1.01s)
Creating working copy for https://github.com/AvdLee/Roadmap.git
Working copy of https://github.com/AvdLee/Roadmap.git resolved at main (04cca0c)
warning: '.resolve-product-dependencies': dependency 'roadmap' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/AvdLee/Roadmap.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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/21] Compiling Roadmap RoadmapVoteButton.swift
[4/21] Compiling Roadmap RoadmapStyle.swift
[5/22] Compiling Roadmap RoadmapView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Roadmap/RoadmapViewModel.swift:68:80: warning: non-sendable type '[RoadmapFeature]' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
66 |         Task { @MainActor in
67 |             if configuration.shuffledOrder {
68 |                 self.features = await FeaturesFetcher(featureRequest: request).fetch().shuffled()
   |                                                                                `- warning: non-sendable type '[RoadmapFeature]' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
69 |             } else if let sorting = configuration.sorting {
70 |                 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:70:80: warning: non-sendable type '[RoadmapFeature]' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
68 |                 self.features = await FeaturesFetcher(featureRequest: request).fetch().shuffled()
69 |             } else if let sorting = configuration.sorting {
70 |                 self.features = await FeaturesFetcher(featureRequest: request).fetch().sorted(by: sorting)
   |                                                                                `- warning: non-sendable type '[RoadmapFeature]' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
71 |             } else {
72 |                 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:72:80: warning: non-sendable type '[RoadmapFeature]' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
70 |                 self.features = await FeaturesFetcher(featureRequest: request).fetch().sorted(by: sorting)
71 |             } else {
72 |                 self.features = await FeaturesFetcher(featureRequest: request).fetch()
   |                                                                                `- warning: non-sendable type '[RoadmapFeature]' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
73 |             }
74 |
/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:68:71: warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
66 |         Task { @MainActor in
67 |             if configuration.shuffledOrder {
68 |                 self.features = await FeaturesFetcher(featureRequest: request).fetch().shuffled()
   |                                                                       |- warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
   |                                                                       `- note: task-isolated 'request' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
69 |             } else if let sorting = configuration.sorting {
70 |                 self.features = await FeaturesFetcher(featureRequest: request).fetch().sorted(by: sorting)
[6/22] Compiling Roadmap RoadmapViewModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/Roadmap/RoadmapViewModel.swift:68:80: warning: non-sendable type '[RoadmapFeature]' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
66 |         Task { @MainActor in
67 |             if configuration.shuffledOrder {
68 |                 self.features = await FeaturesFetcher(featureRequest: request).fetch().shuffled()
   |                                                                                `- warning: non-sendable type '[RoadmapFeature]' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
69 |             } else if let sorting = configuration.sorting {
70 |                 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:70:80: warning: non-sendable type '[RoadmapFeature]' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
68 |                 self.features = await FeaturesFetcher(featureRequest: request).fetch().shuffled()
69 |             } else if let sorting = configuration.sorting {
70 |                 self.features = await FeaturesFetcher(featureRequest: request).fetch().sorted(by: sorting)
   |                                                                                `- warning: non-sendable type '[RoadmapFeature]' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
71 |             } else {
72 |                 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:72:80: warning: non-sendable type '[RoadmapFeature]' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
70 |                 self.features = await FeaturesFetcher(featureRequest: request).fetch().sorted(by: sorting)
71 |             } else {
72 |                 self.features = await FeaturesFetcher(featureRequest: request).fetch()
   |                                                                                `- warning: non-sendable type '[RoadmapFeature]' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
73 |             }
74 |
/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:68:71: warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
66 |         Task { @MainActor in
67 |             if configuration.shuffledOrder {
68 |                 self.features = await FeaturesFetcher(featureRequest: request).fetch().shuffled()
   |                                                                       |- warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
   |                                                                       `- note: task-isolated 'request' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
69 |             } else if let sorting = configuration.sorting {
70 |                 self.features = await FeaturesFetcher(featureRequest: request).fetch().sorted(by: sorting)
[7/22] Compiling Roadmap RoadmapFeatureView.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
[8/22] 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
[9/22] Compiling Roadmap Language.swift
[10/22] Compiling Roadmap RoadmapFeature.swift
[11/22] 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: annotate 'subsystem' 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
14 |
15 |     /// Logs the view cycles like a view that appeared.
[12/22] Compiling Roadmap ViewExtensions.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: annotate 'subsystem' 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
14 |
15 |     /// Logs the view cycles like a view that appeared.
[13/22] Compiling Roadmap FeatureVoter.swift
[14/22] Compiling Roadmap FeatureVoterCountAPI.swift
[15/22] Compiling Roadmap ArrayExtensions.swift
[16/22] Compiling Roadmap ColorExtensions.swift
[17/22] 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: annotate 'urlSession' 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
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: annotate 'subsystem' 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
14 |
15 |     /// Logs the view cycles like a view that appeared.
[18/22] 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: annotate 'urlSession' 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
16 |         URLSession(configuration: .ephemeral)
17 |     }()
[19/22] 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: annotate 'urlSession' 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
16 |         URLSession(configuration: .ephemeral)
17 |     }()
[20/22] Compiling Roadmap RoadmapFeatureVotingCount.swift
[21/22] Compiling Roadmap RoadmapConfiguration.swift
[22/22] Compiling Roadmap RoadmapTemplates.swift
Build complete! (21.16s)
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"
    }
  ],
  "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/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.7"
}
Done.