Build Information
Successful build of OldMoofKit, reference main (0e3635), with Swift 6.3 for macOS (SPM) on 21 Apr 2026 16:34:06 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Jegge/OldMoofKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Jegge/OldMoofKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 0e3635e Clarified documentation / fixed typos
Cloned https://github.com/Jegge/OldMoofKit.git
Revision (git rev-parse @):
0e3635e20756a03a8e95b5436c1a6597a0b5b6ff
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Jegge/OldMoofKit.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",
"traits": [
"default"
],
"dependencies": [
{
"identity": "oldmoofkit",
"name": "OldMoofKit",
"url": "https://github.com/Jegge/OldMoofKit.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/OldMoofKit",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
Fetching https://github.com/Jegge/OldMoofKit.git
[1/956] Fetching oldmoofkit
Fetched https://github.com/Jegge/OldMoofKit.git from cache (0.84s)
Creating working copy for https://github.com/Jegge/OldMoofKit.git
Working copy of https://github.com/Jegge/OldMoofKit.git resolved at main (0e3635e)
warning: '.resolve-product-dependencies': dependency 'oldmoofkit' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.3
Building package at path: $PWD
https://github.com/Jegge/OldMoofKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
[3/37] Emitting module OldMoofKit
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:81:12: 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)
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:90:12: 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 {
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:99:12: 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)
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:108:12: 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)
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:117:12: 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)
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:126:12: 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)
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:133:12: 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)
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:142:12: 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 {
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:153:12: 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)
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:160:12: 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)
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:167:12: 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)
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:179:12: 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 {
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:190:12: 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 {
[4/40] Compiling OldMoofKit Region.swift
[5/40] Compiling OldMoofKit Sound.swift
[6/40] Compiling OldMoofKit Unit.swift
[7/40] Compiling OldMoofKit Electrified2017Profile.swift
[8/40] Compiling OldMoofKit Electrified2018Profile.swift
[9/40] Compiling OldMoofKit SmartBike2016Profile.swift
[10/40] Compiling OldMoofKit SmartBike2018Profile.swift
[11/40] Compiling OldMoofKit ReadRequest.swift
[12/40] Compiling OldMoofKit ModuleState.swift
[13/40] Compiling OldMoofKit MotorAssistance.swift
[14/40] Compiling OldMoofKit MutedSounds.swift
[15/40] Compiling OldMoofKit Parameters.swift
[16/40] Compiling OldMoofKit BikeState.swift
[17/40] Compiling OldMoofKit ErrorCode.swift
[18/40] Compiling OldMoofKit Lighting.swift
[19/40] Compiling OldMoofKit Lock.swift
[20/40] Compiling OldMoofKit BluetoothScanner.swift
[21/40] Compiling OldMoofKit BluetoothState.swift
[22/40] Compiling OldMoofKit Data+Crypt.swift
[23/40] Compiling OldMoofKit WriteRequest.swift
[24/40] Compiling OldMoofKit BluetoothConnection.swift
[25/40] Compiling OldMoofKit BluetoothError.swift
[26/40] Compiling OldMoofKit BluetoothNotification.swift
[27/40] Compiling OldMoofKit Data+HexString.swift
[28/40] Compiling OldMoofKit Data+Numeric.swift
[29/40] Compiling OldMoofKit String+Validation.swift
[30/40] Compiling OldMoofKit BikeProfile.swift
[31/40] Compiling OldMoofKit BikeProfileName.swift
[32/40] Compiling OldMoofKit Alarm.swift
[33/40] Compiling OldMoofKit BatteryState.swift
[34/40] Compiling OldMoofKit Logger.swift
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:81:12: 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)
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:90:12: 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 {
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:99:12: 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)
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:108:12: 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)
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:117:12: 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)
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:126:12: 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)
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:133:12: 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)
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:142:12: 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 {
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:153:12: 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)
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:160:12: 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)
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:167:12: 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)
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:179:12: 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 {
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:190:12: 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 {
[35/40] Compiling OldMoofKit VanMoof.swift
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:81:12: 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)
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:90:12: 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 {
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:99:12: 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)
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:108:12: 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)
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:117:12: 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)
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:126:12: 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)
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:133:12: 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)
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:142:12: 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 {
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:153:12: 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)
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:160:12: 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)
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:167:12: 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)
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:179:12: 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 {
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:190:12: 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 {
[36/40] Compiling OldMoofKit VanMoofError.swift
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:81:12: 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)
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:90:12: 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 {
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:99:12: 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)
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:108:12: 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)
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:117:12: 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)
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:126:12: 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)
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:133:12: 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)
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:142:12: 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 {
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:153:12: 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)
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:160:12: 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)
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:167:12: 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)
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:179:12: 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 {
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:190:12: 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 {
[37/40] Compiling OldMoofKit Bike.swift
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:81:12: 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)
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:90:12: 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 {
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:99:12: 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)
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:108:12: 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)
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:117:12: 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)
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:126:12: 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)
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:133:12: 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)
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:142:12: 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 {
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:153:12: 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)
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:160:12: 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)
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:167:12: 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)
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:179:12: 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 {
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:190:12: 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 {
[38/40] Compiling OldMoofKit BikeDetails.swift
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:81:12: 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)
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:90:12: 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 {
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:99:12: 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)
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:108:12: 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)
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:117:12: 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)
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:126:12: 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)
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:133:12: 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)
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:142:12: 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 {
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:153:12: 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)
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:160:12: 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)
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:167:12: 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)
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:179:12: 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 {
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:190:12: 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 {
[39/40] Compiling OldMoofKit BikeError.swift
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:81:12: 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)
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:90:12: 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 {
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:99:12: 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)
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:108:12: 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)
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:117:12: 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)
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:126:12: 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)
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:133:12: 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)
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:142:12: 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 {
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:153:12: 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)
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:160:12: 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)
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:167:12: 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)
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:179:12: 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 {
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:190:12: 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 {
[40/40] Compiling OldMoofKit BikeHardware.swift
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:81:12: 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)
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:90:12: 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 {
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:99:12: 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)
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:108:12: 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)
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:117:12: 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)
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:126:12: 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)
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:133:12: 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)
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:142:12: 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 {
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:153:12: 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)
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:160:12: 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)
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:167:12: 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)
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:179:12: 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 {
/Users/admin/builder/spi-builder-workspace/Sources/OldMoofKit/Bike/Bike.swift:190:12: 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 {
Build complete! (4.93s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "OldMoofKit",
"name" : "OldMoofKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "11.0"
},
{
"name" : "ios",
"version" : "14.0"
}
],
"products" : [
{
"name" : "OldMoofKit",
"targets" : [
"OldMoofKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "OldMoofKitTests",
"module_type" : "SwiftTarget",
"name" : "OldMoofKitTests",
"path" : "Tests/OldMoofKitTests",
"sources" : [
"TestBike.swift",
"TestBikeDetails.swift",
"TestEncryption.swift",
"TestHexString.swift",
"TestStringValidation.swift",
"TestWebApi.swift"
],
"target_dependencies" : [
"OldMoofKit"
],
"type" : "test"
},
{
"c99name" : "OldMoofKit",
"module_type" : "SwiftTarget",
"name" : "OldMoofKit",
"path" : "Sources/OldMoofKit",
"product_memberships" : [
"OldMoofKit"
],
"sources" : [
"Bike/Bike.swift",
"Bike/BikeDetails.swift",
"Bike/BikeError.swift",
"Bike/BikeHardware.swift",
"Bike/BikeProfile.swift",
"Bike/BikeProfileName.swift",
"Bike/Data/Alarm.swift",
"Bike/Data/BatteryState.swift",
"Bike/Data/BikeState.swift",
"Bike/Data/ErrorCode.swift",
"Bike/Data/Lighting.swift",
"Bike/Data/Lock.swift",
"Bike/Data/ModuleState.swift",
"Bike/Data/MotorAssistance.swift",
"Bike/Data/MutedSounds.swift",
"Bike/Data/Parameters.swift",
"Bike/Data/Region.swift",
"Bike/Data/Sound.swift",
"Bike/Data/Unit.swift",
"Bike/Profiles/Electrified2017Profile.swift",
"Bike/Profiles/Electrified2018Profile.swift",
"Bike/Profiles/SmartBike2016Profile.swift",
"Bike/Profiles/SmartBike2018Profile.swift",
"Bike/ReadRequest.swift",
"Bike/WriteRequest.swift",
"Bluetooth/BluetoothConnection.swift",
"Bluetooth/BluetoothError.swift",
"Bluetooth/BluetoothNotification.swift",
"Bluetooth/BluetoothScanner.swift",
"Bluetooth/BluetoothState.swift",
"Extensions/Data+Crypt.swift",
"Extensions/Data+HexString.swift",
"Extensions/Data+Numeric.swift",
"Extensions/String+Validation.swift",
"Logger.swift",
"WebApi/VanMoof.swift",
"WebApi/VanMoofError.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
✅ Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path: $PWD/.docs/jegge/oldmoofkit/main
Repository: Jegge/OldMoofKit
Swift version used: 6.3
Target: OldMoofKit
Extracting symbol information for 'OldMoofKit'...
Finished extracting symbol information for 'OldMoofKit'. (29.35s)
Building documentation for 'OldMoofKit'...
warning: External name 'timeout' used to document parameter
--> Sources/OldMoofKit/Bike/Bike.swift:231:21-231:28
229 | ///
230 | /// - Parameter details: The details describe the bike we are looking for.
231 + /// - Parameter timeout: The timeout allows us to abort the bluetooth scan after a specified time period.
| ╰─suggestion: Replace 'timeout' with 'seconds'
232 | ///
233 | /// - Returns: A connectable bike.
warning: External name 'lock' used to document parameter
--> Sources/OldMoofKit/Bike/Bike.swift:475:21-475:25
473 | /// request, where some physical activity on the bike has to be performed to unlock it.
474 | ///
475 + /// - Parameter lock: The new value to set.
| ╰─suggestion: Replace 'lock' with 'value'
476 | ///
477 | /// - Throws: ``BikeError/notConnected`` if the bike currently not connected.
warning: External name 'lighting' used to document parameter
--> Sources/OldMoofKit/Bike/Bike.swift:488:21-488:29
486 | /// update upon receiving an appropriate bluetooth notification.
487 | ///
488 + /// - Parameter lighting: The new value to set.
| ╰─suggestion: Replace 'lighting' with 'value'
489 | ///
490 | /// - Throws: ``BikeError/notConnected`` if the bike currently not connected.
warning: External name 'alarm' used to document parameter
--> Sources/OldMoofKit/Bike/Bike.swift:501:21-501:26
499 | /// update upon receiving an appropriate bluetooth notification.
500 | ///
501 + /// - Parameter alarm: The new value to set.
| ╰─suggestion: Replace 'alarm' with 'value'
502 | ///
503 | /// - Throws: ``BikeError/notConnected`` if the bike currently not connected.
warning: External name 'motorAssistance' used to document parameter
--> Sources/OldMoofKit/Bike/Bike.swift:516:21-516:36
514 | /// Also sets the current ``region`` of the bike. If the current ``region`` is `nil`, this call gets ignored.
515 | ///
516 + /// - Parameter motorAssistance: The new value to set.
| ╰─suggestion: Replace 'motorAssistance' with 'value'
517 | ///
518 | /// - Throws: ``BikeError/notConnected`` if the bike currently not connected.
warning: External name 'region' used to document parameter
--> Sources/OldMoofKit/Bike/Bike.swift:533:21-533:27
531 | /// Also sets the current ``motorAssistance`` of the bike. If the current ``motorAssistance`` is `nil`, this call gets ignored.
532 | ///
533 + /// - Parameter region: The new value to set.
| ╰─suggestion: Replace 'region' with 'value'
534 | ///
535 | /// - Throws: ``BikeError/notConnected`` if the bike currently not connected.
warning: External name 'unit' used to document parameter
--> Sources/OldMoofKit/Bike/Bike.swift:548:21-548:25
546 | /// update upon receiving an appropriate bluetooth notification.
547 | ///
548 + /// - Parameter unit: The new value to set.
| ╰─suggestion: Replace 'unit' with 'value'
549 | ///
550 | /// - Throws: ``BikeError/notConnected`` if the bike currently not connected.
warning: External name 'mutedSounds' used to document parameter
--> Sources/OldMoofKit/Bike/Bike.swift:561:21-561:32
559 | /// update upon receiving an appropriate bluetooth notification.
560 | ///
561 + /// - Parameter mutedSounds: The new value to set.
| ╰─suggestion: Replace 'mutedSounds' with 'value'
562 | ///
563 | /// - Throws: ``BikeError/notConnected`` if the bike currently not connected.
warning: Parameter 'cound' not found in instance method declaration
--> Sources/OldMoofKit/Bike/Bike.swift:575:21-575:26
573 | ///
574 | /// - Parameter sound: The sound to play. Depending on your bike, this sound may not be heard.
575 + /// - Parameter cound: How often this sound is played.
| ├─suggestion: Replace 'cound' with 'count'
| ╰─suggestion: Replace 'cound' with 'sound'
576 | ///
577 | /// - Throws: ``BikeError/notConnected`` if the bike currently not connected.
warning: Parameter 'count' is missing documentation
--> Sources/OldMoofKit/Bike/Bike.swift:576:9-576:9
574 | /// - Parameter sound: The sound to play. Depending on your bike, this sound may not be heard.
575 | /// - Parameter cound: How often this sound is played.
576 + ///
| ╰─suggestion: Document 'count' parameter
577 | /// - Throws: ``BikeError/notConnected`` if the bike currently not connected.
578 | public func playSound (_ sound: Sound, repeat count: UInt8 = 1) async throws {
Finished building documentation for 'OldMoofKit' (0.79s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/jegge/oldmoofkit/main
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2277] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.09s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.6 (1.85s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3672] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.10s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.91s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.6
Building for debugging...
[0/8] Write sources
[1/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version--6988338F2F200930.txt
[6/53] Emitting module Snippets
[7/53] Compiling Snippets Snippet.swift
[8/53] Compiling Snippets SnippetParser.swift
[9/53] Emitting module SymbolKit
[10/57] Compiling SymbolKit DeclarationFragments.swift
[11/57] Compiling SymbolKit Fragment.swift
[12/57] Compiling SymbolKit FragmentKind.swift
[13/57] Compiling SymbolKit FunctionParameter.swift
[14/57] Compiling SymbolKit FunctionSignature.swift
[15/57] Compiling SymbolKit GenericConstraint.swift
[16/57] Compiling SymbolKit GenericParameter.swift
[17/57] Compiling SymbolKit Generics.swift
[18/57] Compiling SymbolKit Namespace.swift
[19/57] Compiling SymbolKit Identifier.swift
[20/57] Compiling SymbolKit KindIdentifier.swift
[21/57] Compiling SymbolKit Location.swift
[22/57] Compiling SymbolKit Mutability.swift
[23/57] Compiling SymbolKit Mixin+Equals.swift
[24/57] Compiling SymbolKit Mixin+Hash.swift
[25/57] Compiling SymbolKit Mixin.swift
[26/57] Compiling SymbolKit LineList.swift
[27/57] Compiling SymbolKit Position.swift
[28/57] Compiling SymbolKit Names.swift
[29/57] Compiling SymbolKit SPI.swift
[30/57] Compiling SymbolKit Snippet.swift
[31/57] Compiling SymbolKit Extension.swift
[32/57] Compiling SymbolKit SourceRange.swift
[33/57] Compiling SymbolKit Metadata.swift
[34/57] Compiling SymbolKit Module.swift
[35/57] Compiling SymbolKit OperatingSystem.swift
[36/57] Compiling SymbolKit Platform.swift
[37/57] Compiling SymbolKit Symbol.swift
[38/57] Compiling SymbolKit SymbolKind.swift
[39/57] Compiling SymbolKit SymbolGraph.swift
[40/57] Compiling SymbolKit GraphCollector.swift
[41/57] Compiling SymbolKit SemanticVersion.swift
[42/57] Compiling SymbolKit AccessControl.swift
[43/57] Compiling SymbolKit Availability.swift
[44/57] Compiling SymbolKit AvailabilityItem.swift
[45/57] Compiling SymbolKit Domain.swift
[46/57] Compiling SymbolKit Relationship.swift
[47/57] Compiling SymbolKit RelationshipKind.swift
[48/57] Compiling SymbolKit SourceOrigin.swift
[49/57] Compiling SymbolKit GenericConstraints.swift
[50/57] Compiling SymbolKit Swift.swift
[51/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[52/57] Compiling SymbolKit UnifiedSymbol.swift
[53/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[54/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Emitting module snippet_extract
[58/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (5.37s)
Building for debugging...
[0/1] Write swift-version--6988338F2F200930.txt
Build of target: 'OldMoofKit' complete! (0.22s)
724
5 /Users/admin/builder/spi-builder-workspace/.docs/jegge/oldmoofkit/main
✅ Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/jegge/oldmoofkit/main
File count: 724
Doc size: 5.0MB
Preparing doc bundle ...
Uploading prod-jegge-oldmoofkit-main-e8ff849f.zip to s3://spi-docs-inbox/prod-jegge-oldmoofkit-main-e8ff849f.zip
Copying... [12%]
Copying... [24%]
Copying... [30%]
Copying... [42%]
Copying... [55%]
Copying... [61%]
Copying... [73%]
Copying... [85%]
Copying... [91%]
Copying... [100%]
Done.