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

Failed to build OldMoofKit, reference 0.0.4 (50d88d), with Swift 6.0 for Linux on 4 Nov 2024 09:22:13 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Jegge/OldMoofKit.git
Reference: 0.0.4
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/Jegge/OldMoofKit
 * tag               0.0.4      -> FETCH_HEAD
HEAD is now at 50d88d4 Disabled web api test even more
Cloned https://github.com/Jegge/OldMoofKit.git
Revision (git rev-parse @):
50d88d4d354ebc84ace07a8a932bc94e208d63ff
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Jegge/OldMoofKit.git at 0.0.4
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/Jegge/OldMoofKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/36] Emitting module OldMoofKit
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:8:8: error: no such module 'CoreBluetooth'
  6 | //
  7 |
  8 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
  9 | import Combine
 10 | import OSLog
[4/40] Compiling OldMoofKit Bike.swift
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:81:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 79 |
 80 |     /// The current lock state of the bike. Can be set with ``set(lock:)``.
 81 |     private (set) public var lock: Lock = .locked {
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 82 |         didSet {
 83 |             self.lockPublisher.send(self.lock)
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:90:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 88 |     ///
 89 |     /// If your bike does not support an alarm, this value will be `nil`.
 90 |     private (set) public var alarm: Alarm? {
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 91 |         didSet {
 92 |             if let alarm = self.alarm {
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:99:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 97 |
 98 |     /// The current lighting mode of the bike. Can be set with ``set(lighting:)``.
 99 |     private (set) public var lighting: Lighting = .off {
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
100 |         didSet {
101 |             self.lightingPublisher.send(self.lighting)
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:108:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
106 |     ///
107 |     /// Refers to the motor battery in bikes that do have a motor, otherwise refers to the module battery.
108 |     private (set) public var batteryLevel: Int = 0 {
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
109 |         didSet {
110 |             self.batteryLevelPublisher.send(self.batteryLevel)
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:117:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
115 |     ///
116 |     /// Refers to the motor battery in bikes that do have a motor, otherwise refers to the module battery.
117 |     private (set) public var batteryState: BatteryState = .discharging {
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
118 |         didSet {
119 |             self.batteryStatePublisher.send(self.batteryState)
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:126:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
124 |     ///
125 |     /// If the bike is in standy, use ``wakeup()`` to wake it up.
126 |     private (set) public var moduleState: ModuleState = .off {
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
127 |         didSet {
128 |             self.moduleStatePublisher.send(self.moduleState)
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:133:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
131 |
132 |     /// The current error code of the bike.
133 |     private (set) public var errorCode: ErrorCode = ErrorCode() {
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
134 |         didSet {
135 |             self.errorCodePublisher.send(self.errorCode)
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:142:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
140 |     ///
141 |     /// If your bike does not have a motor, this value will be `nil`.
142 |     private (set) public var motorAssistance: MotorAssistance? {
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
143 |         didSet {
144 |             if let motorAssistance = self.motorAssistance {
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:153:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
151 |     ///
152 |     /// If your bike does not have a speaker, this value will always be empty.
153 |     private (set) public var mutedSounds: MutedSounds = [] {
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
154 |         didSet {
155 |             self.mutedSoundsPublisher.send(self.mutedSounds)
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:160:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
158 |
159 |     /// The current speed in km/h of the bike.
160 |     private (set) public var speed: Int = 0 {
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
161 |         didSet {
162 |             self.speedPublisher.send(self.speed)
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:167:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
165 |
166 |     /// The currently travelled distance in hectometers of the bike.
167 |     private (set) public var distance: Double = 0 {
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
168 |         didSet {
169 |             self.distancePublisher.send(self.distance)
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:179:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
177 |     /// country may be illegal in some jurisdictions. Use at your own risk.
178 |     /// If your bike does not have a motor, this value will be `nil`.
179 |     private (set) public var region: Region? {
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
180 |         didSet {
181 |             if let region = self.region {
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:190:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
188 |     ///
189 |     /// Defines wether speed and distance should be converted into mph.
190 |     private (set) public var unit: Unit? {
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
191 |         didSet {
192 |             if let unit = self.unit {
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:8:8: error: no such module 'CoreBluetooth'
  6 | //
  7 |
  8 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
  9 | import Combine
 10 | import OSLog
[5/40] Compiling OldMoofKit BikeDetails.swift
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:81:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 79 |
 80 |     /// The current lock state of the bike. Can be set with ``set(lock:)``.
 81 |     private (set) public var lock: Lock = .locked {
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 82 |         didSet {
 83 |             self.lockPublisher.send(self.lock)
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:90:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 88 |     ///
 89 |     /// If your bike does not support an alarm, this value will be `nil`.
 90 |     private (set) public var alarm: Alarm? {
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 91 |         didSet {
 92 |             if let alarm = self.alarm {
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:99:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 97 |
 98 |     /// The current lighting mode of the bike. Can be set with ``set(lighting:)``.
 99 |     private (set) public var lighting: Lighting = .off {
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
100 |         didSet {
101 |             self.lightingPublisher.send(self.lighting)
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:108:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
106 |     ///
107 |     /// Refers to the motor battery in bikes that do have a motor, otherwise refers to the module battery.
108 |     private (set) public var batteryLevel: Int = 0 {
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
109 |         didSet {
110 |             self.batteryLevelPublisher.send(self.batteryLevel)
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:117:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
115 |     ///
116 |     /// Refers to the motor battery in bikes that do have a motor, otherwise refers to the module battery.
117 |     private (set) public var batteryState: BatteryState = .discharging {
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
118 |         didSet {
119 |             self.batteryStatePublisher.send(self.batteryState)
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:126:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
124 |     ///
125 |     /// If the bike is in standy, use ``wakeup()`` to wake it up.
126 |     private (set) public var moduleState: ModuleState = .off {
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
127 |         didSet {
128 |             self.moduleStatePublisher.send(self.moduleState)
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:133:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
131 |
132 |     /// The current error code of the bike.
133 |     private (set) public var errorCode: ErrorCode = ErrorCode() {
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
134 |         didSet {
135 |             self.errorCodePublisher.send(self.errorCode)
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:142:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
140 |     ///
141 |     /// If your bike does not have a motor, this value will be `nil`.
142 |     private (set) public var motorAssistance: MotorAssistance? {
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
143 |         didSet {
144 |             if let motorAssistance = self.motorAssistance {
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:153:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
151 |     ///
152 |     /// If your bike does not have a speaker, this value will always be empty.
153 |     private (set) public var mutedSounds: MutedSounds = [] {
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
154 |         didSet {
155 |             self.mutedSoundsPublisher.send(self.mutedSounds)
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:160:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
158 |
159 |     /// The current speed in km/h of the bike.
160 |     private (set) public var speed: Int = 0 {
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
161 |         didSet {
162 |             self.speedPublisher.send(self.speed)
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:167:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
165 |
166 |     /// The currently travelled distance in hectometers of the bike.
167 |     private (set) public var distance: Double = 0 {
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
168 |         didSet {
169 |             self.distancePublisher.send(self.distance)
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:179:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
177 |     /// country may be illegal in some jurisdictions. Use at your own risk.
178 |     /// If your bike does not have a motor, this value will be `nil`.
179 |     private (set) public var region: Region? {
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
180 |         didSet {
181 |             if let region = self.region {
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:190:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
188 |     ///
189 |     /// Defines wether speed and distance should be converted into mph.
190 |     private (set) public var unit: Unit? {
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
191 |         didSet {
192 |             if let unit = self.unit {
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:8:8: error: no such module 'CoreBluetooth'
  6 | //
  7 |
  8 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
  9 | import Combine
 10 | import OSLog
[6/40] Compiling OldMoofKit BikeError.swift
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:81:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 79 |
 80 |     /// The current lock state of the bike. Can be set with ``set(lock:)``.
 81 |     private (set) public var lock: Lock = .locked {
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 82 |         didSet {
 83 |             self.lockPublisher.send(self.lock)
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:90:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 88 |     ///
 89 |     /// If your bike does not support an alarm, this value will be `nil`.
 90 |     private (set) public var alarm: Alarm? {
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 91 |         didSet {
 92 |             if let alarm = self.alarm {
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:99:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 97 |
 98 |     /// The current lighting mode of the bike. Can be set with ``set(lighting:)``.
 99 |     private (set) public var lighting: Lighting = .off {
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
100 |         didSet {
101 |             self.lightingPublisher.send(self.lighting)
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:108:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
106 |     ///
107 |     /// Refers to the motor battery in bikes that do have a motor, otherwise refers to the module battery.
108 |     private (set) public var batteryLevel: Int = 0 {
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
109 |         didSet {
110 |             self.batteryLevelPublisher.send(self.batteryLevel)
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:117:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
115 |     ///
116 |     /// Refers to the motor battery in bikes that do have a motor, otherwise refers to the module battery.
117 |     private (set) public var batteryState: BatteryState = .discharging {
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
118 |         didSet {
119 |             self.batteryStatePublisher.send(self.batteryState)
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:126:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
124 |     ///
125 |     /// If the bike is in standy, use ``wakeup()`` to wake it up.
126 |     private (set) public var moduleState: ModuleState = .off {
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
127 |         didSet {
128 |             self.moduleStatePublisher.send(self.moduleState)
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:133:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
131 |
132 |     /// The current error code of the bike.
133 |     private (set) public var errorCode: ErrorCode = ErrorCode() {
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
134 |         didSet {
135 |             self.errorCodePublisher.send(self.errorCode)
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:142:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
140 |     ///
141 |     /// If your bike does not have a motor, this value will be `nil`.
142 |     private (set) public var motorAssistance: MotorAssistance? {
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
143 |         didSet {
144 |             if let motorAssistance = self.motorAssistance {
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:153:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
151 |     ///
152 |     /// If your bike does not have a speaker, this value will always be empty.
153 |     private (set) public var mutedSounds: MutedSounds = [] {
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
154 |         didSet {
155 |             self.mutedSoundsPublisher.send(self.mutedSounds)
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:160:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
158 |
159 |     /// The current speed in km/h of the bike.
160 |     private (set) public var speed: Int = 0 {
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
161 |         didSet {
162 |             self.speedPublisher.send(self.speed)
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:167:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
165 |
166 |     /// The currently travelled distance in hectometers of the bike.
167 |     private (set) public var distance: Double = 0 {
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
168 |         didSet {
169 |             self.distancePublisher.send(self.distance)
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:179:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
177 |     /// country may be illegal in some jurisdictions. Use at your own risk.
178 |     /// If your bike does not have a motor, this value will be `nil`.
179 |     private (set) public var region: Region? {
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
180 |         didSet {
181 |             if let region = self.region {
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:190:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
188 |     ///
189 |     /// Defines wether speed and distance should be converted into mph.
190 |     private (set) public var unit: Unit? {
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
191 |         didSet {
192 |             if let unit = self.unit {
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:8:8: error: no such module 'CoreBluetooth'
  6 | //
  7 |
  8 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
  9 | import Combine
 10 | import OSLog
[7/40] Compiling OldMoofKit BikeHardware.swift
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:81:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 79 |
 80 |     /// The current lock state of the bike. Can be set with ``set(lock:)``.
 81 |     private (set) public var lock: Lock = .locked {
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 82 |         didSet {
 83 |             self.lockPublisher.send(self.lock)
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:90:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 88 |     ///
 89 |     /// If your bike does not support an alarm, this value will be `nil`.
 90 |     private (set) public var alarm: Alarm? {
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 91 |         didSet {
 92 |             if let alarm = self.alarm {
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:99:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 97 |
 98 |     /// The current lighting mode of the bike. Can be set with ``set(lighting:)``.
 99 |     private (set) public var lighting: Lighting = .off {
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
100 |         didSet {
101 |             self.lightingPublisher.send(self.lighting)
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:108:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
106 |     ///
107 |     /// Refers to the motor battery in bikes that do have a motor, otherwise refers to the module battery.
108 |     private (set) public var batteryLevel: Int = 0 {
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
109 |         didSet {
110 |             self.batteryLevelPublisher.send(self.batteryLevel)
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:117:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
115 |     ///
116 |     /// Refers to the motor battery in bikes that do have a motor, otherwise refers to the module battery.
117 |     private (set) public var batteryState: BatteryState = .discharging {
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
118 |         didSet {
119 |             self.batteryStatePublisher.send(self.batteryState)
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:126:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
124 |     ///
125 |     /// If the bike is in standy, use ``wakeup()`` to wake it up.
126 |     private (set) public var moduleState: ModuleState = .off {
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
127 |         didSet {
128 |             self.moduleStatePublisher.send(self.moduleState)
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:133:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
131 |
132 |     /// The current error code of the bike.
133 |     private (set) public var errorCode: ErrorCode = ErrorCode() {
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
134 |         didSet {
135 |             self.errorCodePublisher.send(self.errorCode)
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:142:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
140 |     ///
141 |     /// If your bike does not have a motor, this value will be `nil`.
142 |     private (set) public var motorAssistance: MotorAssistance? {
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
143 |         didSet {
144 |             if let motorAssistance = self.motorAssistance {
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:153:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
151 |     ///
152 |     /// If your bike does not have a speaker, this value will always be empty.
153 |     private (set) public var mutedSounds: MutedSounds = [] {
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
154 |         didSet {
155 |             self.mutedSoundsPublisher.send(self.mutedSounds)
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:160:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
158 |
159 |     /// The current speed in km/h of the bike.
160 |     private (set) public var speed: Int = 0 {
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
161 |         didSet {
162 |             self.speedPublisher.send(self.speed)
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:167:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
165 |
166 |     /// The currently travelled distance in hectometers of the bike.
167 |     private (set) public var distance: Double = 0 {
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
168 |         didSet {
169 |             self.distancePublisher.send(self.distance)
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:179:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
177 |     /// country may be illegal in some jurisdictions. Use at your own risk.
178 |     /// If your bike does not have a motor, this value will be `nil`.
179 |     private (set) public var region: Region? {
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
180 |         didSet {
181 |             if let region = self.region {
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:190:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
188 |     ///
189 |     /// Defines wether speed and distance should be converted into mph.
190 |     private (set) public var unit: Unit? {
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
191 |         didSet {
192 |             if let unit = self.unit {
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:8:8: error: no such module 'CoreBluetooth'
  6 | //
  7 |
  8 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
  9 | import Combine
 10 | import OSLog
[8/40] Compiling OldMoofKit BikeProfile.swift
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:81:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 79 |
 80 |     /// The current lock state of the bike. Can be set with ``set(lock:)``.
 81 |     private (set) public var lock: Lock = .locked {
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 82 |         didSet {
 83 |             self.lockPublisher.send(self.lock)
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:90:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 88 |     ///
 89 |     /// If your bike does not support an alarm, this value will be `nil`.
 90 |     private (set) public var alarm: Alarm? {
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 91 |         didSet {
 92 |             if let alarm = self.alarm {
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:99:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 97 |
 98 |     /// The current lighting mode of the bike. Can be set with ``set(lighting:)``.
 99 |     private (set) public var lighting: Lighting = .off {
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
100 |         didSet {
101 |             self.lightingPublisher.send(self.lighting)
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:108:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
106 |     ///
107 |     /// Refers to the motor battery in bikes that do have a motor, otherwise refers to the module battery.
108 |     private (set) public var batteryLevel: Int = 0 {
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
109 |         didSet {
110 |             self.batteryLevelPublisher.send(self.batteryLevel)
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:117:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
115 |     ///
116 |     /// Refers to the motor battery in bikes that do have a motor, otherwise refers to the module battery.
117 |     private (set) public var batteryState: BatteryState = .discharging {
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
118 |         didSet {
119 |             self.batteryStatePublisher.send(self.batteryState)
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:126:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
124 |     ///
125 |     /// If the bike is in standy, use ``wakeup()`` to wake it up.
126 |     private (set) public var moduleState: ModuleState = .off {
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
127 |         didSet {
128 |             self.moduleStatePublisher.send(self.moduleState)
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:133:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
131 |
132 |     /// The current error code of the bike.
133 |     private (set) public var errorCode: ErrorCode = ErrorCode() {
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
134 |         didSet {
135 |             self.errorCodePublisher.send(self.errorCode)
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:142:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
140 |     ///
141 |     /// If your bike does not have a motor, this value will be `nil`.
142 |     private (set) public var motorAssistance: MotorAssistance? {
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
143 |         didSet {
144 |             if let motorAssistance = self.motorAssistance {
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:153:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
151 |     ///
152 |     /// If your bike does not have a speaker, this value will always be empty.
153 |     private (set) public var mutedSounds: MutedSounds = [] {
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
154 |         didSet {
155 |             self.mutedSoundsPublisher.send(self.mutedSounds)
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:160:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
158 |
159 |     /// The current speed in km/h of the bike.
160 |     private (set) public var speed: Int = 0 {
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
161 |         didSet {
162 |             self.speedPublisher.send(self.speed)
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:167:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
165 |
166 |     /// The currently travelled distance in hectometers of the bike.
167 |     private (set) public var distance: Double = 0 {
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
168 |         didSet {
169 |             self.distancePublisher.send(self.distance)
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:179:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
177 |     /// country may be illegal in some jurisdictions. Use at your own risk.
178 |     /// If your bike does not have a motor, this value will be `nil`.
179 |     private (set) public var region: Region? {
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
180 |         didSet {
181 |             if let region = self.region {
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:190:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
188 |     ///
189 |     /// Defines wether speed and distance should be converted into mph.
190 |     private (set) public var unit: Unit? {
    |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
191 |         didSet {
192 |             if let unit = self.unit {
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:8:8: error: no such module 'CoreBluetooth'
  6 | //
  7 |
  8 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
  9 | import Combine
 10 | import OSLog
[9/40] Compiling OldMoofKit Parameters.swift
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:8:8: error: no such module 'CoreBluetooth'
  6 | //
  7 |
  8 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
  9 | import Combine
 10 | import OSLog
[10/40] Compiling OldMoofKit Region.swift
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:8:8: error: no such module 'CoreBluetooth'
  6 | //
  7 |
  8 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
  9 | import Combine
 10 | import OSLog
[11/40] Compiling OldMoofKit Sound.swift
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:8:8: error: no such module 'CoreBluetooth'
  6 | //
  7 |
  8 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
  9 | import Combine
 10 | import OSLog
[12/40] Compiling OldMoofKit Unit.swift
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:8:8: error: no such module 'CoreBluetooth'
  6 | //
  7 |
  8 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
  9 | import Combine
 10 | import OSLog
[13/40] Compiling OldMoofKit Electrified2017Profile.swift
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:8:8: error: no such module 'CoreBluetooth'
  6 | //
  7 |
  8 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
  9 | import Combine
 10 | import OSLog
[14/40] Compiling OldMoofKit String+Validation.swift
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:8:8: error: no such module 'CoreBluetooth'
  6 | //
  7 |
  8 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
  9 | import Combine
 10 | import OSLog
[15/40] Compiling OldMoofKit Logger.swift
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:8:8: error: no such module 'CoreBluetooth'
  6 | //
  7 |
  8 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
  9 | import Combine
 10 | import OSLog
[16/40] Compiling OldMoofKit VanMoof.swift
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:8:8: error: no such module 'CoreBluetooth'
  6 | //
  7 |
  8 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
  9 | import Combine
 10 | import OSLog
[17/40] Compiling OldMoofKit VanMoofError.swift
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:8:8: error: no such module 'CoreBluetooth'
  6 | //
  7 |
  8 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
  9 | import Combine
 10 | import OSLog
[18/40] Compiling OldMoofKit BikeProfileName.swift
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:8:8: error: no such module 'CoreBluetooth'
  6 | //
  7 |
  8 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
  9 | import Combine
 10 | import OSLog
[19/40] Compiling OldMoofKit Alarm.swift
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:8:8: error: no such module 'CoreBluetooth'
  6 | //
  7 |
  8 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
  9 | import Combine
 10 | import OSLog
[20/40] Compiling OldMoofKit BatteryState.swift
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:8:8: error: no such module 'CoreBluetooth'
  6 | //
  7 |
  8 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
  9 | import Combine
 10 | import OSLog
[21/40] Compiling OldMoofKit BikeState.swift
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:8:8: error: no such module 'CoreBluetooth'
  6 | //
  7 |
  8 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
  9 | import Combine
 10 | import OSLog
[22/40] Compiling OldMoofKit ErrorCode.swift
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:8:8: error: no such module 'CoreBluetooth'
  6 | //
  7 |
  8 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
  9 | import Combine
 10 | import OSLog
[23/40] Compiling OldMoofKit BluetoothConnection.swift
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:8:8: error: no such module 'CoreBluetooth'
  6 | //
  7 |
  8 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
  9 | import Combine
 10 | import OSLog
[24/40] Compiling OldMoofKit BluetoothError.swift
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:8:8: error: no such module 'CoreBluetooth'
  6 | //
  7 |
  8 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
  9 | import Combine
 10 | import OSLog
[25/40] Compiling OldMoofKit BluetoothNotification.swift
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:8:8: error: no such module 'CoreBluetooth'
  6 | //
  7 |
  8 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
  9 | import Combine
 10 | import OSLog
[26/40] Compiling OldMoofKit BluetoothScanner.swift
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:8:8: error: no such module 'CoreBluetooth'
  6 | //
  7 |
  8 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
  9 | import Combine
 10 | import OSLog
[27/40] Compiling OldMoofKit BluetoothState.swift
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:8:8: error: no such module 'CoreBluetooth'
  6 | //
  7 |
  8 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
  9 | import Combine
 10 | import OSLog
[28/40] Compiling OldMoofKit Data+Crypt.swift
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:8:8: error: no such module 'CoreBluetooth'
  6 | //
  7 |
  8 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
  9 | import Combine
 10 | import OSLog
[29/40] Compiling OldMoofKit Data+HexString.swift
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:8:8: error: no such module 'CoreBluetooth'
  6 | //
  7 |
  8 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
  9 | import Combine
 10 | import OSLog
[30/40] Compiling OldMoofKit Data+Numeric.swift
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:8:8: error: no such module 'CoreBluetooth'
  6 | //
  7 |
  8 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
  9 | import Combine
 10 | import OSLog
[31/40] Compiling OldMoofKit Electrified2018Profile.swift
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:8:8: error: no such module 'CoreBluetooth'
  6 | //
  7 |
  8 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
  9 | import Combine
 10 | import OSLog
[32/40] Compiling OldMoofKit SmartBike2016Profile.swift
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:8:8: error: no such module 'CoreBluetooth'
  6 | //
  7 |
  8 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
  9 | import Combine
 10 | import OSLog
[33/40] Compiling OldMoofKit SmartBike2018Profile.swift
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:8:8: error: no such module 'CoreBluetooth'
  6 | //
  7 |
  8 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
  9 | import Combine
 10 | import OSLog
[34/40] Compiling OldMoofKit ReadRequest.swift
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:8:8: error: no such module 'CoreBluetooth'
  6 | //
  7 |
  8 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
  9 | import Combine
 10 | import OSLog
[35/40] Compiling OldMoofKit WriteRequest.swift
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:8:8: error: no such module 'CoreBluetooth'
  6 | //
  7 |
  8 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
  9 | import Combine
 10 | import OSLog
[36/40] Compiling OldMoofKit Lighting.swift
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:8:8: error: no such module 'CoreBluetooth'
  6 | //
  7 |
  8 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
  9 | import Combine
 10 | import OSLog
[37/40] Compiling OldMoofKit Lock.swift
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:8:8: error: no such module 'CoreBluetooth'
  6 | //
  7 |
  8 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
  9 | import Combine
 10 | import OSLog
[38/40] Compiling OldMoofKit ModuleState.swift
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:8:8: error: no such module 'CoreBluetooth'
  6 | //
  7 |
  8 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
  9 | import Combine
 10 | import OSLog
[39/40] Compiling OldMoofKit MotorAssistance.swift
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:8:8: error: no such module 'CoreBluetooth'
  6 | //
  7 |
  8 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
  9 | import Combine
 10 | import OSLog
[40/40] Compiling OldMoofKit MutedSounds.swift
/host/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:8:8: error: no such module 'CoreBluetooth'
  6 | //
  7 |
  8 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
  9 | import Combine
 10 | import OSLog
BUILD FAILURE 6.0 linux