Build Information
Successful build of SpeedManagerModule, reference main (4fd495
), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 13:34:42 UTC.
Swift 6 data race errors: 4
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/ezefranca/SpeedManagerModule.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ezefranca/SpeedManagerModule
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 4fd4958 Update README.md
Cloned https://github.com/ezefranca/SpeedManagerModule.git
Revision (git rev-parse @):
4fd4958736bc9bcd5c9a896e58ff1e88646d0148
SUCCESS checkout https://github.com/ezefranca/SpeedManagerModule.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": "speedmanagermodule",
"name": "SpeedManagerModule",
"url": "https://github.com/ezefranca/SpeedManagerModule.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SpeedManagerModule",
"dependencies": [
]
}
]
}
Fetching https://github.com/ezefranca/SpeedManagerModule.git
[1/233] Fetching speedmanagermodule
Fetched https://github.com/ezefranca/SpeedManagerModule.git from cache (1.48s)
Creating working copy for https://github.com/ezefranca/SpeedManagerModule.git
Working copy of https://github.com/ezefranca/SpeedManagerModule.git resolved at main (4fd4958)
warning: '.resolve-product-dependencies': dependency 'speedmanagermodule' 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/ezefranca/SpeedManagerModule.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/8] Compiling SpeedManagerModule SpeedManagerTrigger.swift
[4/8] Compiling SpeedManagerModule SpeedManagerDelegate.swift
[5/8] Compiling SpeedManagerModule SpeedManagerUnit.swift
[6/8] Compiling SpeedManagerModule SpeedManagerAuthorizationStatus.swift
[7/8] Emitting module SpeedManagerModule
/Users/admin/builder/spi-builder-workspace/Sources/SpeedManagerModule/SpeedManager.swift:28:17: warning: capture of 'self' with non-sendable type 'SpeedManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
3 |
4 | /// A class that manages the monitoring and updating of speed using CoreLocation.
5 | public class SpeedManager: NSObject, ObservableObject, SpeedManagerTrigger {
| `- note: class 'SpeedManager' does not conform to the 'Sendable' protocol
6 |
7 | // MARK: - Properties
:
26 | didSet {
27 | DispatchQueue.main.async {
28 | self.delegate?.speedManager(self, didUpdateAuthorizationStatus: self.authorizationStatus)
| `- warning: capture of 'self' with non-sendable type 'SpeedManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | }
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpeedManagerModule/SpeedManager.swift:37:17: warning: capture of 'self' with non-sendable type 'SpeedManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
3 |
4 | /// A class that manages the monitoring and updating of speed using CoreLocation.
5 | public class SpeedManager: NSObject, ObservableObject, SpeedManagerTrigger {
| `- note: class 'SpeedManager' does not conform to the 'Sendable' protocol
6 |
7 | // MARK: - Properties
:
35 | didSet {
36 | DispatchQueue.main.async {
37 | self.delegate?.speedManager(self, didUpdateSpeed: self.speed, speedAccuracy: self.speedAccuracy)
| `- warning: capture of 'self' with non-sendable type 'SpeedManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
38 | }
39 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpeedManagerModule/SpeedManager.swift:28:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
26 | didSet {
27 | DispatchQueue.main.async {
28 | self.delegate?.speedManager(self, didUpdateAuthorizationStatus: self.authorizationStatus)
| |- 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
29 | }
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpeedManagerModule/SpeedManager.swift:37:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
35 | didSet {
36 | DispatchQueue.main.async {
37 | self.delegate?.speedManager(self, didUpdateSpeed: self.speed, speedAccuracy: self.speedAccuracy)
| |- 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
38 | }
39 | }
[8/8] Compiling SpeedManagerModule SpeedManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpeedManagerModule/SpeedManager.swift:28:17: warning: capture of 'self' with non-sendable type 'SpeedManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
3 |
4 | /// A class that manages the monitoring and updating of speed using CoreLocation.
5 | public class SpeedManager: NSObject, ObservableObject, SpeedManagerTrigger {
| `- note: class 'SpeedManager' does not conform to the 'Sendable' protocol
6 |
7 | // MARK: - Properties
:
26 | didSet {
27 | DispatchQueue.main.async {
28 | self.delegate?.speedManager(self, didUpdateAuthorizationStatus: self.authorizationStatus)
| `- warning: capture of 'self' with non-sendable type 'SpeedManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | }
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpeedManagerModule/SpeedManager.swift:37:17: warning: capture of 'self' with non-sendable type 'SpeedManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
3 |
4 | /// A class that manages the monitoring and updating of speed using CoreLocation.
5 | public class SpeedManager: NSObject, ObservableObject, SpeedManagerTrigger {
| `- note: class 'SpeedManager' does not conform to the 'Sendable' protocol
6 |
7 | // MARK: - Properties
:
35 | didSet {
36 | DispatchQueue.main.async {
37 | self.delegate?.speedManager(self, didUpdateSpeed: self.speed, speedAccuracy: self.speedAccuracy)
| `- warning: capture of 'self' with non-sendable type 'SpeedManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
38 | }
39 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpeedManagerModule/SpeedManager.swift:87:17: warning: capture of 'self' with non-sendable type 'SpeedManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
3 |
4 | /// A class that manages the monitoring and updating of speed using CoreLocation.
5 | public class SpeedManager: NSObject, ObservableObject, SpeedManagerTrigger {
| `- note: class 'SpeedManager' does not conform to the 'Sendable' protocol
6 |
7 | // MARK: - Properties
:
85 | case .denied:
86 | DispatchQueue.main.async {
87 | self.delegate?.speedManagerDidFailWithLocationServicesUnavailable(self)
| `- warning: capture of 'self' with non-sendable type 'SpeedManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
88 | }
89 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpeedManagerModule/SpeedManager.swift:134:13: warning: capture of 'self' with non-sendable type 'SpeedManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
3 |
4 | /// A class that manages the monitoring and updating of speed using CoreLocation.
5 | public class SpeedManager: NSObject, ObservableObject, SpeedManagerTrigger {
| `- note: class 'SpeedManager' does not conform to the 'Sendable' protocol
6 |
7 | // MARK: - Properties
:
132 | public func locationManager(_ manager: CLLocationManager, didFailWithError error: Error) {
133 | DispatchQueue.main.async {
134 | self.delegate?.speedManager(self, didFailWithError: error)
| `- warning: capture of 'self' with non-sendable type 'SpeedManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
135 | }
136 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpeedManagerModule/SpeedManager.swift:28:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
26 | didSet {
27 | DispatchQueue.main.async {
28 | self.delegate?.speedManager(self, didUpdateAuthorizationStatus: self.authorizationStatus)
| |- 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
29 | }
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpeedManagerModule/SpeedManager.swift:37:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
35 | didSet {
36 | DispatchQueue.main.async {
37 | self.delegate?.speedManager(self, didUpdateSpeed: self.speed, speedAccuracy: self.speedAccuracy)
| |- 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
38 | }
39 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpeedManagerModule/SpeedManager.swift:87:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
85 | case .denied:
86 | DispatchQueue.main.async {
87 | self.delegate?.speedManagerDidFailWithLocationServicesUnavailable(self)
| |- 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
88 | }
89 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpeedManagerModule/SpeedManager.swift:134:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
132 | public func locationManager(_ manager: CLLocationManager, didFailWithError error: Error) {
133 | DispatchQueue.main.async {
134 | self.delegate?.speedManager(self, didFailWithError: error)
| |- 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
135 | }
136 | }
Build complete! (8.42s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SpeedManagerModule",
"name" : "SpeedManagerModule",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "watchos",
"version" : "8.0"
}
],
"products" : [
{
"name" : "SpeedManagerModule",
"targets" : [
"SpeedManagerModule"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "SpeedManagerModuleTests",
"module_type" : "SwiftTarget",
"name" : "SpeedManagerModuleTests",
"path" : "Tests/SpeedManagerModuleTests",
"sources" : [
"SpeedManagerModuleTests.swift"
],
"target_dependencies" : [
"SpeedManagerModule"
],
"type" : "test"
},
{
"c99name" : "SpeedManagerModule",
"module_type" : "SwiftTarget",
"name" : "SpeedManagerModule",
"path" : "Sources/SpeedManagerModule",
"product_memberships" : [
"SpeedManagerModule"
],
"sources" : [
"SpeedManager.swift",
"SpeedManagerAuthorizationStatus.swift",
"SpeedManagerDelegate.swift",
"SpeedManagerTrigger.swift",
"SpeedManagerUnit.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.